From 18c72f9c8a38c144271789d2cb29ee1581dc6bfa Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Sat, 22 Jun 2024 12:59:43 -0500 Subject: [PATCH 01/45] feat: SPR CLI tool added --- .gitignore | 7 +- AWSSDKSwiftCLI/Package.resolved | 95 +++++++++++++++++++ AWSSDKSwiftCLI/Package.swift | 5 +- .../AWSSDKSwiftCLI}/AWSSDKSwiftCLI.swift | 5 +- .../Subcommands}/GenerateDocIndex.swift | 0 .../GeneratePackageManifest.swift | 0 .../Subcommands}/PrepareRelease.swift | 0 .../Subcommands/SPRPublish/Process+SPR.swift | 39 ++++++++ .../Subcommands/SPRPublish/SPRPublish.swift | 66 +++++++++++++ .../Subcommands/SPRPublish/UpdateList.swift | 75 +++++++++++++++ .../SPRPublish/UploadArchive.swift | 59 ++++++++++++ .../SPRPublish/UploadManifest.swift | 48 ++++++++++ .../SPRPublish/UploadMetadata.swift | 55 +++++++++++ .../SPRPublish/VerifyPackage.swift | 25 +++++ .../SyncClientRuntimeVersion.swift | 0 .../Subcommands}/TestAWSSDK.swift | 0 .../Models/SPR/Describe/Describe.swift | 12 +++ .../Models/SPR/Info/Metadata.swift | 36 +++++++ .../Models/SPR/Info/PackageInfo.swift | 14 +++ .../Models/SPR/Info/Resource.swift | 19 ++++ .../Models/SPR/List/ListPackageReleases.swift | 27 ++++++ .../AWSSDKSwiftCLI/Utils/Process+Utils.swift | 2 +- 22 files changed, 583 insertions(+), 6 deletions(-) create mode 100644 AWSSDKSwiftCLI/Package.resolved rename AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/{ => Commands/AWSSDKSwiftCLI}/AWSSDKSwiftCLI.swift (81%) rename AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/{ => AWSSDKSwiftCLI/Subcommands}/GenerateDocIndex.swift (100%) rename AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/{ => AWSSDKSwiftCLI/Subcommands}/GeneratePackageManifest.swift (100%) rename AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/{ => AWSSDKSwiftCLI/Subcommands}/PrepareRelease.swift (100%) create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift rename AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/{ => AWSSDKSwiftCLI/Subcommands}/SyncClientRuntimeVersion.swift (100%) rename AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/{ => AWSSDKSwiftCLI/Subcommands}/TestAWSSDK.swift (100%) create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Describe/Describe.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Metadata.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/PackageInfo.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Resource.swift create mode 100644 AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/List/ListPackageReleases.swift diff --git a/.gitignore b/.gitignore index 204db90d638..35b2e3c77ae 100644 --- a/.gitignore +++ b/.gitignore @@ -18,11 +18,11 @@ workspace.xml # Gradle config & temp .gradle/ -/local.properties +local.properties # Swift/SPM config & temp .build/ -Package.resolved +/Package.resolved .swiftpm/ # Codegen build products @@ -35,3 +35,6 @@ codegen/protocol-test-codegen/smithy-build.json # VS Code config files .vscode/ + +# Allow the AWSSDKSwiftCLI Package.resolved +!/AWSSDKSwiftCLI/Package.resolved diff --git a/AWSSDKSwiftCLI/Package.resolved b/AWSSDKSwiftCLI/Package.resolved new file mode 100644 index 00000000000..5f97649aaa5 --- /dev/null +++ b/AWSSDKSwiftCLI/Package.resolved @@ -0,0 +1,95 @@ +{ + "pins" : [ + { + "identity" : "aws-crt-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/awslabs/aws-crt-swift", + "state" : { + "revision" : "b6380f683b31072d77b601c88674461c11bcad5a", + "version" : "0.30.0" + } + }, + { + "identity" : "aws-sdk-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/awslabs/aws-sdk-swift", + "state" : { + "revision" : "3c20e0be8c8246de8b8e04372404ef1f90be71b6", + "version" : "0.46.0" + } + }, + { + "identity" : "smithy-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/smithy-lang/smithy-swift", + "state" : { + "revision" : "b2322a067f85c230f17c80be8a67dd543454b081", + "version" : "0.51.0" + } + }, + { + "identity" : "swift-algorithms", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-algorithms", + "state" : { + "revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42", + "version" : "1.2.0" + } + }, + { + "identity" : "swift-argument-parser", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-argument-parser", + "state" : { + "revision" : "46989693916f56d1186bd59ac15124caef896560", + "version" : "1.3.1" + } + }, + { + "identity" : "swift-llbuild", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-llbuild.git", + "state" : { + "revision" : "fb7ebf0b06c0d7c45ca8e18b3371424503a38b5c", + "version" : "0.3.0" + } + }, + { + "identity" : "swift-log", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-log.git", + "state" : { + "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", + "version" : "1.5.4" + } + }, + { + "identity" : "swift-numerics", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-numerics.git", + "state" : { + "revision" : "0a5bc04095a675662cf24757cc0640aa2204253b", + "version" : "1.0.2" + } + }, + { + "identity" : "swift-package-manager", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-package-manager", + "state" : { + "revision" : "f5ea3972d7d6c574e8bb16a19b2a7bca98ea131b", + "version" : "0.6.0" + } + }, + { + "identity" : "swift-tools-support-core", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-tools-support-core.git", + "state" : { + "revision" : "98a5916a811fcaaed770f1ed812e9405be762945", + "version" : "0.1.0" + } + } + ], + "version" : 2 +} diff --git a/AWSSDKSwiftCLI/Package.swift b/AWSSDKSwiftCLI/Package.swift index 401e2cf5b2c..e7682a1d6c1 100644 --- a/AWSSDKSwiftCLI/Package.swift +++ b/AWSSDKSwiftCLI/Package.swift @@ -5,13 +5,14 @@ import PackageDescription let package = Package( name: "AWSSDKSwiftCLI", platforms: [ - .macOS(.v10_15) + .macOS(.v13) ], dependencies: [ .package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.0"), .package(url: "https://github.com/apple/swift-package-manager", from: "0.6.0"), .package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"), .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"), + .package(url: "https://github.com/awslabs/aws-sdk-swift", from: "0.46.0"), ], targets: [ .executableTarget( @@ -21,6 +22,8 @@ let package = Package( .product(name: "PackageDescription", package: "swift-package-manager"), .product(name: "Algorithms", package: "swift-algorithms"), .product(name: "Logging", package: "swift-log"), + .product(name: "AWSS3", package: "aws-sdk-swift"), + .product(name: "AWSCloudFront", package: "aws-sdk-swift"), ], resources: [ .process("Resources/Package.Base.swift"), diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift similarity index 81% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift rename to AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift index 6858269b5ab..bc88116f355 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift @@ -8,7 +8,7 @@ import ArgumentParser @main -struct AWSSDKSwiftCLI: ParsableCommand { +struct AWSSDKSwiftCLI: AsyncParsableCommand { static var configuration = CommandConfiguration( commandName: "AWSSDKSwiftCLI", abstract: "CLI for managing the AWS SDK for Swift", @@ -17,7 +17,8 @@ struct AWSSDKSwiftCLI: ParsableCommand { PrepareReleaseCommand.self, SyncClientRuntimeVersionCommand.self, TestAWSSDKCommand.self, - GenerateDocIndexCommand.self + GenerateDocIndexCommand.self, + SPRPublish.self, ] ) } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/GenerateDocIndex.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/GenerateDocIndex.swift rename to AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/GeneratePackageManifest.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/GeneratePackageManifest.swift rename to AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/PrepareRelease.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/PrepareRelease.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/PrepareRelease.swift rename to AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/PrepareRelease.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift new file mode 100644 index 00000000000..fb2fcd913c6 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift @@ -0,0 +1,39 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import PackageDescription + +extension Process { + + enum SPR { + /// Returns a process for executing `swift describe --type json` in a relative path + static func describe(packagePath: String) -> Process { + let process = sprProcess(["swift", "package", "describe", "--type", "json"]) + let packageURL = URL(fileURLWithPath: packagePath).standardizedFileURL + process.currentDirectoryURL = packageURL + log("package file URL: \(packageURL)") + return process + } + + static func archive(name: String, packagePath: String, archiveFileURL: URL) -> Process { + let process = sprProcess(["swift", "package", "archive-source", "--output", archiveFileURL.path()]) + let packageFileURL = URL(fileURLWithPath: packagePath).standardizedFileURL + process.currentDirectoryURL = packageFileURL + return process + } + + static func checksum(archiveFileURL: URL) -> Process { + sprProcess(["shasum", "-a", "256", archiveFileURL.path()]) + } + + /// Returns a process for executing SPR commands. + private static func sprProcess(_ args: [String]) -> Process { + Process(args) + } + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift new file mode 100644 index 00000000000..abbd3f19c26 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift @@ -0,0 +1,66 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import ArgumentParser +import ClientRuntime + +struct SPRPublish: AsyncParsableCommand { + + static var configuration = CommandConfiguration( + commandName: "spr-publish", + abstract: "Publishes a new version of a package to SPR." + ) + + @Option(help: "The ID of the package being published. Must meet the requirements of the Swift Package Registry spec.") + var id: String + + @Option(help: "The name of the package being published. Must match the name defined in the package's Package.swift.") + var name: String + + @Option(help: "The version of the package to be published, i.e. \"1.2.3\". The version must be valid per Semantic Versioning 2.0 (https://semver.org/).") + var version: String + + @Option(help: "The relative path to the Swift package being published.") + var packagePath: String + + @Option(help: "The AWS region in which the registry is located. Alternate to this option, the region may be obtained from environment var AWS_SDK_SPR_REGION. Defaults to us-east-1.") + var region: String = "" + + @Option(help: "The bucket name for the S3 bucket hosting the Registry. Alternate to this option, the bucket may be obtained from environment var AWS_SDK_SPR_BUCKET.") + var bucket: String? + + @Option(help: "The base URL for the registry.") + var url: String + + @Option(help: "The CloudFront distribution ID for the registry. Alternate to this option, the distribution ID may be obtained from environment var AWS_SDK_SPR_DISTRIBUTION_ID.") + var distributionID: String? + + @Option(help: "If true, any existing release matching this version will be replaced. If false and the selected version already exists, the publish command fails. Defaults to false.") + var replace = false + + var checksum = "" + + mutating func run() async throws { + await setOptions() + try verifyPackage() + try await uploadArchive() + try await uploadManifest() + try await uploadMetadata() + try await updateList() + } + + private mutating func setOptions() async { + await SDKLoggingSystem.initialize(logLevel: .error) + let env = ProcessInfo.processInfo.environment + bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] + if region.isEmpty { + region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" + } + distributionID = distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift new file mode 100644 index 00000000000..0752d7db5be --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift @@ -0,0 +1,75 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import AWSS3 +import AWSCloudFront +import Smithy +import SmithyStreams + +extension SPRPublish { + + func updateList() async throws { + let s3Client = try S3Client(region: region) + var list = try await verify(s3Client: s3Client) + list.releases[version] = try makeRelease() + try await upload(s3Client: s3Client, list: list) + let cloudFrontClient = try CloudFrontClient(region: region) + try await invalidate(cloudFrontClient: cloudFrontClient) + } + + private func verify(s3Client: S3Client) async throws -> ListPackageReleases { + let input = GetObjectInput(bucket: bucket, key: listKey) + let list: ListPackageReleases + do { + let output = try await s3Client.getObject(input: input) + guard let data = try await output.body?.readData() else { + throw Error("Could not get version list.") + } + list = try JSONDecoder().decode(ListPackageReleases.self, from: data) + } catch is NoSuchKey { + list = ListPackageReleases(releases: [:]) + } + guard !list.releases.keys.contains(version) || replace else { + throw Error("This version already exists in the list.") + } + return list + } + + private func makeRelease() throws -> ListPackageReleases.Release { + try ListPackageReleases.Release(url: releaseURL, problem: nil) + } + + private func upload(s3Client: S3Client, list: ListPackageReleases) async throws { + let data = try JSONEncoder().encode(list) + let body = ByteStream.data(data) + let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/json", key: listKey) + _ = try await s3Client.putObject(input: input) + } + + private func invalidate(cloudFrontClient: CloudFrontClient) async throws { + guard let distributionID, !distributionID.isEmpty else { + throw Error("CloudFront DistributionID not provided") + } + let invalidationBatch = CloudFrontClientTypes.InvalidationBatch(callerReference: UUID().uuidString, paths: CloudFrontClientTypes.Paths(items: ["/\(listKey)"], quantity: 1)) + let input = CreateInvalidationInput(distributionId: distributionID, invalidationBatch: invalidationBatch) + _ = try await cloudFrontClient.createInvalidation(input: input) + } + + private var listKey: String { + "\(id)/\(name)" + } + + private var releaseURL: URL { + get throws { + guard let baseURL = URL(string: url) else { + throw Error("URL is invalid") + } + return baseURL.appending(component: "\(id)/\(name)") + } + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift new file mode 100644 index 00000000000..116495ea389 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift @@ -0,0 +1,59 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import AWSS3 +import Smithy +import SmithyStreams + +extension SPRPublish { + + mutating func uploadArchive() async throws { + let tmpDirFileURL = FileManager.default.temporaryDirectory + let archiveFileURL = tmpDirFileURL.appending(component: "\(UUID().uuidString).zip") + let archiveProcess = Process.SPR.archive(name: name, packagePath: packagePath, archiveFileURL: archiveFileURL) + try _run(archiveProcess) + guard FileManager.default.fileExists(atPath: archiveFileURL.path()) else { + throw Error("Archive process succeeded but archive does not exist.") + } + let checksumProcess = Process.SPR.checksum(archiveFileURL: archiveFileURL) + let checksumStdout = try _runReturningStdOut(checksumProcess) + guard let checksum = checksumStdout?.split(separator: " ").first else { + throw Error("Checksum could not be parsed") + } + self.checksum = String(checksum) + let s3Client = try S3Client(region: region) + try await verify(s3Client: s3Client) + try await upload(s3Client: s3Client, archiveFileURL: archiveFileURL) + } + + private func verify(s3Client: S3Client) async throws { + do { + let input = GetObjectInput(bucket: bucket, key: archiveKey) + _ = try await s3Client.getObject(input: input) + // If getObject did not throw, the archive must already exist. + guard replace else { + throw Error("Archive for this version already exists.") + } + } catch is NoSuchKey { + // This is expected. Any other error is unexpected and should + // throw back to the caller. + } + } + + private func upload(s3Client: S3Client, archiveFileURL: URL) async throws { + let fileHandle = try FileHandle(forReadingFrom: archiveFileURL) + let stream = FileStream(fileHandle: fileHandle) + let body = ByteStream.stream(stream) + let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/zip", key: archiveKey) + _ = try await s3Client.putObject(input: input) + } + + private var archiveKey: String { + "\(id)/\(name)/\(version).zip" + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift new file mode 100644 index 00000000000..d7873a93e27 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift @@ -0,0 +1,48 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import AWSS3 +import Smithy +import SmithyStreams + +extension SPRPublish { + + func uploadManifest() async throws { + let packageFileURL = URL(fileURLWithPath: packagePath).standardizedFileURL + let manifestFileURL = packageFileURL.appending(component: "Package.swift") + let config = try await S3Client.Config(region: region) + let s3Client = try S3Client(region: region) + try await verify(s3Client: s3Client) + try await upload(s3Client: s3Client, manifestFileURL: manifestFileURL) + } + + private func verify(s3Client: S3Client) async throws { + do { + let input = GetObjectInput(bucket: bucket, key: manifestKey) + _ = try await s3Client.getObject(input: input) + guard replace else { + throw Error("Package.swift for this version already exists.") + } + } catch is NoSuchKey { + // This is expected. Any other error is unexpected and should + // throw back to the caller. + } + } + + private func upload(s3Client: S3Client, manifestFileURL: URL) async throws { + let fileHandle = try FileHandle(forReadingFrom: manifestFileURL) + let stream = FileStream(fileHandle: fileHandle) + let body = ByteStream.stream(stream) + let input = PutObjectInput(body: body, bucket: bucket, contentType: "text/x-swift", key: manifestKey) + _ = try await s3Client.putObject(input: input) + } + + private var manifestKey: String { + "\(id)/\(name)/\(version)/Package.swift" + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift new file mode 100644 index 00000000000..d18aa6f82f9 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift @@ -0,0 +1,55 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import AWSS3 +import Smithy +import SmithyStreams + +extension SPRPublish { + + func uploadMetadata() async throws { + let config = try await S3Client.Config(region: region) + let s3Client = try S3Client(region: region) + try await verify(s3Client: s3Client) + try await upload(s3Client: s3Client) + } + + private func verify(s3Client: S3Client) async throws { + do { + let input = GetObjectInput(bucket: bucket, key: metadataKey) + _ = try await s3Client.getObject(input: input) + guard replace else { + throw Error("Metadata for this version already exists.") + } + } catch is NoSuchKey { + // This is expected. Any other error is unexpected and should + // throw back to the caller. + } + } + + private func upload(s3Client: S3Client) async throws { + let metadata = createMetadata() + let data = try JSONEncoder().encode(metadata) + let body = ByteStream.data(data) + let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/json", key: metadataKey) + _ = try await s3Client.putObject(input: input) + } + + private var metadataKey: String { + "\(id)/\(name)/\(version)" + } + + private func createMetadata() -> PackageInfo { + let now = Date().ISO8601Format() + let organization = PackageInfo.Metadata.Author.Organization(name: "Amazon Web Services", email: nil, description: nil, url: URL(string: "https://aws.amazon.com/")!) + let author = PackageInfo.Metadata.Author(name: "AWS SDK for Swift Team", email: nil, description: nil, organization: organization, url: nil) + let resource = Resource(name: "source-archive", type: "application/zip", checksum: checksum, signing: nil) + let metadata = PackageInfo.Metadata(author: author, description: "A Swift package, what can I say?", licenseURL: nil, originalPublicationTime: now, readmeURL: nil, repositoryURLs: nil) + return PackageInfo(id: "\(id).\(name)", version: version, resources: [resource], metadata: metadata, publishedAt: now) + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift new file mode 100644 index 00000000000..fc60cbea3d6 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift @@ -0,0 +1,25 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation + +extension SPRPublish { + + func verifyPackage() throws { + let description = try getPackageDescription() + guard description.name == name else { + throw Error("Supplied name does not match package") + } + } + + private func getPackageDescription() throws -> Describe { + guard let stdout = try _runReturningStdOut(Process.SPR.describe(packagePath: packagePath)) else { + throw Error("no stdout from Describe command") + } + return try JSONDecoder().decode(Describe.self, from: Data(stdout.utf8)) + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/SyncClientRuntimeVersion.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SyncClientRuntimeVersion.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/SyncClientRuntimeVersion.swift rename to AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SyncClientRuntimeVersion.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/TestAWSSDK.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/TestAWSSDK.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/TestAWSSDK.swift rename to AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/TestAWSSDK.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Describe/Describe.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Describe/Describe.swift new file mode 100644 index 00000000000..d8c440fe731 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Describe/Describe.swift @@ -0,0 +1,12 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation + +public struct Describe: Codable { + public let name: String +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Metadata.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Metadata.swift new file mode 100644 index 00000000000..547593d5691 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Metadata.swift @@ -0,0 +1,36 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import struct Foundation.URL + +extension PackageInfo { + + public struct Metadata: Codable { + + public struct Author: Codable { + public let name: String + public let email: String? + public let description: String? + public let organization: Organization? + public let url: URL? + + public struct Organization: Codable { + public let name: String + public let email: String? + public let description: String? + public let url: URL? + } + } + + public let author: Author? + public let description: String? + public let licenseURL: URL? + public let originalPublicationTime: String? + public let readmeURL: URL? + public let repositoryURLs: [URL]? + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/PackageInfo.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/PackageInfo.swift new file mode 100644 index 00000000000..d1cac6ea8e9 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/PackageInfo.swift @@ -0,0 +1,14 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +public struct PackageInfo: Codable { + public let id: String + public let version: String + public let resources: [Resource] + public let metadata: Metadata + public let publishedAt: String? +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Resource.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Resource.swift new file mode 100644 index 00000000000..4cbbd09cfe5 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Resource.swift @@ -0,0 +1,19 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +public struct Resource: Codable { + + public struct Signing: Codable { + public let signatureBase64Encoded: String + public let signatureFormat: String + } + + public let name: String + public let type: String + public let checksum: String + public let signing: Signing? +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/List/ListPackageReleases.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/List/ListPackageReleases.swift new file mode 100644 index 00000000000..75bf4f463ef --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/List/ListPackageReleases.swift @@ -0,0 +1,27 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import struct Foundation.URL + +public struct ListPackageReleases: Codable { + + public struct Release: Codable { + + public struct Problem: Codable { + public let type: URL? + public let title: String? + public let status: Int? + public let detail: String? + public let instance: URL? + } + + public let url: URL? + public let problem: Problem? + } + + public var releases: [String: Release] +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift index 4f66da0d358..211b9afa21c 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift @@ -29,7 +29,7 @@ extension Process { /// Returns the executable and arguments combined as a string var commandString: String { - let items = [executableURL?.path] + (arguments ?? []) + let items = [executableURL?.path()] + (arguments ?? []) return items .compactMap { $0 } .joined(separator: " ") From a5bf6fb3fcf4f0451a20f6190d94d19296277dab Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 26 Jun 2024 16:05:48 -0500 Subject: [PATCH 02/45] Reorg project into Swift packages --- .gitignore | 2 +- .../Subcommands/SPRPublish/Process+SPR.swift | 2 +- .../Subcommands/SPRPublish/UpdateList.swift | 5 ++- Sources/Core/AWSClientRuntime/Package.swift | 45 +++++++++++++++++++ .../AWSClientConfigDefaultsProvider.swift | 0 .../AWSDefaultClientConfiguration.swift | 0 .../Config/AWSRegionClientConfiguration.swift | 0 .../Config/FieldResolver.swift | 0 .../Endpoints/AWSEndpoint.swift | 0 .../Endpoints/AWSPartitionDefinition.swift | 0 .../EndpointResolverMiddleware.swift | 0 .../Endpoints/Partition.swift | 0 .../ServiceEndpointMetadata+Extension.swift | 0 .../AWSClientRuntime}/Environment.swift | 0 .../Errors/AWSS3ServiceError.swift | 0 .../Errors/AWSServiceError.swift | 0 .../Candidates/InvalidAccessKeyId.swift | 0 .../UnknownAWSHTTPErrorCandidate.swift | 0 .../Errors/UnknownAWSHTTPServiceError.swift | 0 .../HTTP/HttpResponse+AWS.swift | 0 .../AWSClientRuntime}/IMDS/IMDSClient.swift | 0 .../AWSClientRuntime}/IMDS/IMDSConfig.swift | 0 ...AWSS3ErrorWith200StatusXMLMiddleware.swift | 0 .../FlexibleChecksumsRequestMiddleware.swift | 0 .../FlexibleChecksumsResponseMiddleware.swift | 0 .../Route53TrimHostedZoneMiddleware.swift | 0 .../Sha256TreeHashMiddleware.swift | 0 .../Middlewares/UserAgentMiddleware.swift | 0 .../Middlewares/XAmzTargetMiddleware.swift | 0 .../Plugins/DefaultAWSClientPlugin.swift | 0 .../Plugins/RegionPlugin.swift | 0 .../PrimitiveExtensions/Data+Extension.swift | 0 .../String+Extension.swift | 0 .../TimeInterval+Extension.swift | 0 .../Protocols/AWSJSON/AWSJSONError.swift | 0 .../Protocols/AWSQuery/AWSQueryError.swift | 0 .../Protocols/Ec2Query/EC2QueryError.swift | 0 .../Protocols/RestJSON/RestJSONError.swift | 0 .../Protocols/RestXML/RestXMLError.swift | 0 .../Regions/DefaultRegionResolver.swift | 0 .../Regions/EnvironmentRegionProvider.swift | 0 .../Regions/IMDSRegionProvider.swift | 0 .../Regions/ProfileRegionProvider.swift | 0 .../Regions/RegionProvider.swift | 0 .../Regions/RegionResolver.swift | 0 .../Retry/AWSRetryConfig.swift | 0 .../Retry/AWSRetryErrorInfoProvider.swift | 0 .../Retry/AWSRetryMode.swift | 0 .../UserAgent/APIMetadata.swift | 0 .../UserAgent/AWSUserAgentMetadata.swift | 0 .../UserAgent/AdditionalMetadata.swift | 0 .../UserAgent/AppIDConfig.swift | 0 .../UserAgent/AppIDMetadata.swift | 0 .../UserAgent/ConfigMetadata.swift | 0 .../UserAgent/ExecutionEnvMetadata.swift | 0 .../UserAgent/FeatureMetadata.swift | 0 .../UserAgent/FrameworkMetadata.swift | 0 .../UserAgent/InternalMetadata.swift | 0 .../UserAgent/LanguageMetadata.swift | 0 .../UserAgent/OSMetadata.swift | 0 .../UserAgent/SDKMetadata.swift | 0 .../UserAgent/UserAgentMetadata.swift | 0 .../AWSClientRuntime}/Utils.swift | 0 .../Config/FieldResolverTests.swift | 0 .../DataExtensionTests.swift | 0 .../Endpoints/EndpointsTests.swift | 0 .../FileBasedConfigurationTests.swift | 0 .../FlexibleChecksumsMiddlewareTests.swift | 0 .../Sha256TreeHashMiddlewareTests.swift | 0 .../Ec2Query/Ec2ErrorRequestIdTests.swift | 0 .../RestJSON/RestJSONErrorTests.swift | 0 .../Regions/DefaultRegionResolverTests.swift | 0 .../Regions/ProfileRegionProviderTests.swift | 0 .../Resources/app_id_config_tests | 0 .../Resources/field_resolver_tests | 0 .../Resources/file_based_config_tests | 0 .../Resources/profile_region_provider_tests | 0 .../Resources/retry_config_tests | 0 .../Retry/AWSRetryConfigTests.swift | 0 .../AWSRetryErrorInfoProviderTests.swift | 0 .../UserAgent/APIMetadataTests.swift | 0 .../UserAgent/AWSUserAgentMetadataTests.swift | 0 .../UserAgent/AppIDConfigTests.swift | 0 .../UserAgent/AppIDMetadataTests.swift | 0 .../UserAgent/ConfigMetadataTests.swift | 0 .../UserAgent/ExecutionEnvMetadataTests.swift | 0 .../UserAgent/FeatureMetadataTests.swift | 0 .../UserAgent/FrameworkMetadataTests.swift | 0 .../UserAgent/InternalMetadataTests.swift | 0 .../UserAgent/LanguageMetadataTests.swift | 0 .../UserAgent/OSMetadataTests.swift | 0 .../UserAgent/SDKMetadataTests.swift | 0 .../UserAgent/UserAgentMetadataTests.swift | 0 Sources/Core/AWSSDKChecksums/Package.swift | 35 +++++++++++++++ .../AWSSDKChecksums}/AWSChunkedUtil.swift | 0 Sources/Core/AWSSDKCommon/Package.swift | 27 +++++++++++ .../CRTFileBasedConfiguration.swift | 0 .../FileBasedConfiguration.swift | 0 .../FileBasedConfigurationKeys.swift | 0 .../Core/AWSSDKEventStreamsAuth/Package.swift | 39 ++++++++++++++++ .../AWSMessageSigner.swift | 0 .../AWSSigV4Signer+EventStreams.swift | 0 .../Context+AWSEventStreamsAuth.swift | 0 .../Context+Signing.swift | 0 .../String+hexaData.swift | 0 .../AWSMessageDecoderStreamTests.swift | 0 .../AWSMessageEncoderStreamTests.swift | 0 .../EventStreamTestData.swift | 0 Sources/Core/AWSSDKHTTPAuth/Package.swift | 43 ++++++++++++++++++ .../AWSSDKHTTPAuth}/AWSSigV4Signer.swift | 0 .../CustomSigningPropertiesSetter.swift | 0 .../AWSSDKHTTPAuth}/SigV4AAuthScheme.swift | 0 .../AWSSDKHTTPAuth}/SigV4AuthScheme.swift | 0 .../CustomSigningPropertiesSetterTests.swift | 0 .../SigV4AuthSchemeTests.swift | 0 .../SigV4SigningTests.swift | 0 Sources/Core/AWSSDKIdentity/Package.swift | 41 +++++++++++++++++ .../CachedAWSCredentialIdentityResolver.swift | 0 ...ltAWSCredentialIdentityResolverChain.swift | 0 .../ECSAWSCredentialIdentityResolver.swift | 0 ...ronmentAWSCredentialIdentityResolver.swift | 0 .../IMDSAWSCredentialIdentityResolver.swift | 0 ...ProcessAWSCredentialIdentityResolver.swift | 0 ...ProfileAWSCredentialIdentityResolver.swift | 0 .../SSOAWSCredentialIdentityResolver.swift | 0 ...umeRoleAWSCredentialIdentityResolver.swift | 0 ...dentityAWSCredentialIdentityResolver.swift | 0 .../AWSCredentialIdentityResolverTests.swift | 0 ...edAWSCredentialIdentityResolverTests.swift | 0 ...CredentialIdentityResolverChainTests.swift | 0 ...CSAWSCredentialIdentityResolverTests.swift | 0 ...ntAWSCredentialIdentityResolverTests.swift | 0 ...ssAWSCredentialIdentityResolverTests.swift | 0 ...leAWSCredentialIdentityResolverTests.swift | 0 ...SOAWSCredentialIdentityResolverTests.swift | 0 ...leAWSCredentialIdentityResolverTests.swift | 0 .../AWSCredentialIdentityTests.swift | 0 .../MockAWSCredentialIdentityResolver.swift | 0 .../AWSSDKIdentityTests/Resources/config | 0 .../AWSSDKIdentityTests/Resources/credentials | 0 .../AWSSDKIdentityTests/Resources/sso_tests | 0 codegen/sdk-codegen/build.gradle.kts | 2 +- .../aws/swift/codegen/AWSSwiftDependency.kt | 28 +++++++----- 143 files changed, 253 insertions(+), 16 deletions(-) create mode 100644 Sources/Core/AWSClientRuntime/Package.swift rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/AWSClientConfigDefaultsProvider.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Config/AWSDefaultClientConfiguration.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Config/AWSRegionClientConfiguration.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Config/FieldResolver.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Endpoints/AWSEndpoint.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Endpoints/AWSPartitionDefinition.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Endpoints/EndpointResolverMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Endpoints/Partition.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Endpoints/ServiceEndpointMetadata+Extension.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Environment.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Errors/AWSS3ServiceError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Errors/AWSServiceError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Errors/Candidates/InvalidAccessKeyId.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Errors/UnknownAWSHTTPServiceError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/HTTP/HttpResponse+AWS.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/IMDS/IMDSClient.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/IMDS/IMDSConfig.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/FlexibleChecksumsRequestMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/FlexibleChecksumsResponseMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/Route53TrimHostedZoneMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/Sha256TreeHashMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/UserAgentMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Middlewares/XAmzTargetMiddleware.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Plugins/DefaultAWSClientPlugin.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Plugins/RegionPlugin.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/PrimitiveExtensions/Data+Extension.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/PrimitiveExtensions/String+Extension.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/PrimitiveExtensions/TimeInterval+Extension.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Protocols/AWSJSON/AWSJSONError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Protocols/AWSQuery/AWSQueryError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Protocols/Ec2Query/EC2QueryError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Protocols/RestJSON/RestJSONError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Protocols/RestXML/RestXMLError.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Regions/DefaultRegionResolver.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Regions/EnvironmentRegionProvider.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Regions/IMDSRegionProvider.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Regions/ProfileRegionProvider.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Regions/RegionProvider.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Regions/RegionResolver.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Retry/AWSRetryConfig.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Retry/AWSRetryErrorInfoProvider.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Retry/AWSRetryMode.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/APIMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/AWSUserAgentMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/AdditionalMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/AppIDConfig.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/AppIDMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/ConfigMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/ExecutionEnvMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/FeatureMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/FrameworkMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/InternalMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/LanguageMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/OSMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/SDKMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/UserAgent/UserAgentMetadata.swift (100%) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime}/Utils.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Config/FieldResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/DataExtensionTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Resources/app_id_config_tests (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Resources/field_resolver_tests (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Resources/file_based_config_tests (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Resources/profile_region_provider_tests (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Resources/retry_config_tests (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift (100%) rename {Tests/Core => Sources/Core/AWSClientRuntime/Tests}/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift (100%) create mode 100644 Sources/Core/AWSSDKChecksums/Package.swift rename Sources/Core/AWSSDKChecksums/{ => Sources/AWSSDKChecksums}/AWSChunkedUtil.swift (100%) create mode 100644 Sources/Core/AWSSDKCommon/Package.swift rename Sources/Core/AWSSDKCommon/{ => Sources/AWSSDKCommon}/FileBasedConfiguration/CRTFileBasedConfiguration.swift (100%) rename Sources/Core/AWSSDKCommon/{ => Sources/AWSSDKCommon}/FileBasedConfiguration/FileBasedConfiguration.swift (100%) rename Sources/Core/AWSSDKCommon/{ => Sources/AWSSDKCommon}/FileBasedConfiguration/FileBasedConfigurationKeys.swift (100%) create mode 100644 Sources/Core/AWSSDKEventStreamsAuth/Package.swift rename Sources/Core/AWSSDKEventStreamsAuth/{ => Sources/AWSSSDKEventStreamsAuth}/AWSMessageSigner.swift (100%) rename Sources/Core/AWSSDKEventStreamsAuth/{ => Sources/AWSSSDKEventStreamsAuth}/AWSSigV4Signer+EventStreams.swift (100%) rename Sources/Core/AWSSDKEventStreamsAuth/{ => Sources/AWSSSDKEventStreamsAuth}/Context+AWSEventStreamsAuth.swift (100%) rename Sources/Core/AWSSDKEventStreamsAuth/{ => Sources/AWSSSDKEventStreamsAuth}/Context+Signing.swift (100%) rename Sources/Core/AWSSDKEventStreamsAuth/{ => Sources/AWSSSDKEventStreamsAuth}/String+hexaData.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKEventStreamsAuth/Tests}/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKEventStreamsAuth/Tests}/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKEventStreamsAuth/Tests}/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift (100%) create mode 100644 Sources/Core/AWSSDKHTTPAuth/Package.swift rename Sources/Core/AWSSDKHTTPAuth/{ => Sources/AWSSDKHTTPAuth}/AWSSigV4Signer.swift (100%) rename Sources/Core/AWSSDKHTTPAuth/{ => Sources/AWSSDKHTTPAuth}/CustomSigningPropertiesSetter.swift (100%) rename Sources/Core/AWSSDKHTTPAuth/{ => Sources/AWSSDKHTTPAuth}/SigV4AAuthScheme.swift (100%) rename Sources/Core/AWSSDKHTTPAuth/{ => Sources/AWSSDKHTTPAuth}/SigV4AuthScheme.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKHTTPAuth/Tests}/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKHTTPAuth/Tests}/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKHTTPAuth/Tests}/AWSSDKHTTPAuthTests/SigV4SigningTests.swift (100%) create mode 100644 Sources/Core/AWSSDKIdentity/Package.swift rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/CachedAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/DefaultAWSCredentialIdentityResolverChain.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/ECSAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/EnvironmentAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/IMDSAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/ProcessAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/ProfileAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/SSOAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/STSAssumeRoleAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/AWSSDKIdentity/{ => Sources/AWSSDKIdentity}/STSWebIdentityAWSCredentialIdentityResolver.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/Resources/config (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/Resources/credentials (100%) rename {Tests/Core => Sources/Core/AWSSDKIdentity/Tests}/AWSSDKIdentityTests/Resources/sso_tests (100%) diff --git a/.gitignore b/.gitignore index 35b2e3c77ae..d81f8a17512 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,7 @@ local.properties # Swift/SPM config & temp .build/ -/Package.resolved +Package.resolved .swiftpm/ # Codegen build products diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift index fb2fcd913c6..5eb84e488bb 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift @@ -28,7 +28,7 @@ extension Process { } static func checksum(archiveFileURL: URL) -> Process { - sprProcess(["shasum", "-a", "256", archiveFileURL.path()]) + sprProcess(["shasum", "-b", "-a", "256", archiveFileURL.path()]) } /// Returns a process for executing SPR commands. diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift index 0752d7db5be..d7d35229715 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift @@ -69,7 +69,10 @@ extension SPRPublish { guard let baseURL = URL(string: url) else { throw Error("URL is invalid") } - return baseURL.appending(component: "\(id)/\(name)") + return baseURL + .appending(component: id) + .appending(component: name) + .appending(component: version) } } } diff --git a/Sources/Core/AWSClientRuntime/Package.swift b/Sources/Core/AWSClientRuntime/Package.swift new file mode 100644 index 00000000000..64e8f78ab51 --- /dev/null +++ b/Sources/Core/AWSClientRuntime/Package.swift @@ -0,0 +1,45 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AWSClientRuntime", + platforms: [ + .macOS(.v10_15), + .iOS(.v13), + .tvOS(.v13), + .watchOS(.v6) + ], + products: [ + .library(name: "AWSClientRuntime", targets: ["AWSClientRuntime"]), + ], + dependencies: [ + .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), + .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), + .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + ], + targets: [ + .target( + name: "AWSClientRuntime", + dependencies: [ + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyRetriesAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyRetries", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyEventStreamsAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyEventStreamsAuthAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), + .product(name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth"), + .product(name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity"), + ] + ), + .testTarget(name: "AWSClientRuntimeTests", dependencies: [ + "AWSClientRuntime", + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), +// .product(name: "SmithyTestUtils", package: "smithy-swift"), + .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), + ]), + ] +) diff --git a/Sources/Core/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift diff --git a/Sources/Core/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift diff --git a/Sources/Core/AWSClientRuntime/Config/FieldResolver.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/FieldResolver.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Config/FieldResolver.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/FieldResolver.swift diff --git a/Sources/Core/AWSClientRuntime/Endpoints/AWSEndpoint.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Endpoints/AWSEndpoint.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift diff --git a/Sources/Core/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift diff --git a/Sources/Core/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Endpoints/Partition.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Partition.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Endpoints/Partition.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Partition.swift diff --git a/Sources/Core/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/Environment.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Environment.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Environment.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Environment.swift diff --git a/Sources/Core/AWSClientRuntime/Errors/AWSS3ServiceError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Errors/AWSS3ServiceError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift diff --git a/Sources/Core/AWSClientRuntime/Errors/AWSServiceError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSServiceError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Errors/AWSServiceError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSServiceError.swift diff --git a/Sources/Core/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift diff --git a/Sources/Core/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift diff --git a/Sources/Core/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift diff --git a/Sources/Core/AWSClientRuntime/HTTP/HttpResponse+AWS.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/HTTP/HttpResponse+AWS.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift diff --git a/Sources/Core/AWSClientRuntime/IMDS/IMDSClient.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSClient.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/IMDS/IMDSClient.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSClient.swift diff --git a/Sources/Core/AWSClientRuntime/IMDS/IMDSConfig.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/IMDS/IMDSConfig.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift diff --git a/Sources/Core/AWSClientRuntime/Plugins/RegionPlugin.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Plugins/RegionPlugin.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift diff --git a/Sources/Core/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift diff --git a/Sources/Core/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift diff --git a/Sources/Core/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift diff --git a/Sources/Core/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift diff --git a/Sources/Core/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift diff --git a/Sources/Core/AWSClientRuntime/Regions/DefaultRegionResolver.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Regions/DefaultRegionResolver.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift diff --git a/Sources/Core/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Regions/IMDSRegionProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Regions/IMDSRegionProvider.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Regions/ProfileRegionProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Regions/ProfileRegionProvider.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Regions/RegionProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Regions/RegionProvider.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Regions/RegionResolver.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionResolver.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Regions/RegionResolver.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionResolver.swift diff --git a/Sources/Core/AWSClientRuntime/Retry/AWSRetryConfig.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Retry/AWSRetryConfig.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift diff --git a/Sources/Core/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Retry/AWSRetryMode.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Retry/AWSRetryMode.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/APIMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/APIMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/AdditionalMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/AdditionalMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/AppIDConfig.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/AppIDConfig.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/AppIDMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/AppIDMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/ConfigMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/ConfigMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/FeatureMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/FeatureMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/FrameworkMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/FrameworkMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/InternalMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/InternalMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/LanguageMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/LanguageMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/OSMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/OSMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/SDKMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/SDKMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/UserAgent/UserAgentMetadata.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/UserAgent/UserAgentMetadata.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Utils.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Utils.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Utils.swift rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Utils.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Config/FieldResolverTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Config/FieldResolverTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/DataExtensionTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/DataExtensionTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/DataExtensionTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/DataExtensionTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Resources/app_id_config_tests b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Resources/app_id_config_tests rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests diff --git a/Tests/Core/AWSClientRuntimeTests/Resources/field_resolver_tests b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Resources/field_resolver_tests rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests diff --git a/Tests/Core/AWSClientRuntimeTests/Resources/file_based_config_tests b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Resources/file_based_config_tests rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests diff --git a/Tests/Core/AWSClientRuntimeTests/Resources/profile_region_provider_tests b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Resources/profile_region_provider_tests rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests diff --git a/Tests/Core/AWSClientRuntimeTests/Resources/retry_config_tests b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/retry_config_tests similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Resources/retry_config_tests rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/retry_config_tests diff --git a/Tests/Core/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift diff --git a/Tests/Core/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift similarity index 100% rename from Tests/Core/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift rename to Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift diff --git a/Sources/Core/AWSSDKChecksums/Package.swift b/Sources/Core/AWSSDKChecksums/Package.swift new file mode 100644 index 00000000000..3534f1430b6 --- /dev/null +++ b/Sources/Core/AWSSDKChecksums/Package.swift @@ -0,0 +1,35 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AWSSDKChecksums", + platforms: [ + .macOS(.v10_15), + .iOS(.v13), + .tvOS(.v13), + .watchOS(.v6) + ], + products: [ + .library(name: "AWSSDKChecksums", targets: ["AWSSDKChecksums"]), + ], + dependencies: [ + .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + ], + targets: [ + .target( + name: "AWSSDKChecksums", + dependencies: [ + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyHTTPAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyIdentityAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), + .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), + ] + ), + ] +) diff --git a/Sources/Core/AWSSDKChecksums/AWSChunkedUtil.swift b/Sources/Core/AWSSDKChecksums/Sources/AWSSDKChecksums/AWSChunkedUtil.swift similarity index 100% rename from Sources/Core/AWSSDKChecksums/AWSChunkedUtil.swift rename to Sources/Core/AWSSDKChecksums/Sources/AWSSDKChecksums/AWSChunkedUtil.swift diff --git a/Sources/Core/AWSSDKCommon/Package.swift b/Sources/Core/AWSSDKCommon/Package.swift new file mode 100644 index 00000000000..37e3a8b9101 --- /dev/null +++ b/Sources/Core/AWSSDKCommon/Package.swift @@ -0,0 +1,27 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AWSSDKCommon", + platforms: [ + .macOS(.v10_15), + .iOS(.v13), + .tvOS(.v13), + .watchOS(.v6) + ], + products: [ + .library(name: "AWSSDKCommon", targets: ["AWSSDKCommon"]), + ], + dependencies: [ + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + ], + targets: [ + .target( + name: "AWSSDKCommon", + dependencies: [ + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + ] + ), + ] +) diff --git a/Sources/Core/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift b/Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift rename to Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift diff --git a/Sources/Core/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift b/Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift rename to Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift diff --git a/Sources/Core/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift b/Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift rename to Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift new file mode 100644 index 00000000000..5d3c47b1b6b --- /dev/null +++ b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift @@ -0,0 +1,39 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AWSSDKEventStreamsAuth", + platforms: [ + .macOS(.v10_15), + .iOS(.v13), + .tvOS(.v13), + .watchOS(.v6) + ], + products: [ + .library(name: "AWSSDKEventStreamsAuth", targets: ["AWSSDKEventStreamsAuth"]), + ], + dependencies: [ + .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + ], + targets: [ + .target( + name: "AWSSDKEventStreamsAuth", + dependencies: [ + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyEventStreamsAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyEventStreamsAuthAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyEventStreams", package: "aws-sdk-swift.smithy-swift"), + .product(name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth"), + ] + ), + .testTarget(name: "AWSSDKEventStreamsAuthTests", dependencies: [ + "AWSSDKEventStreamsAuth", +// .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), + .product(name: "SmithyStreams", package: "aws-sdk-swift.smithy-swift"), + ]), + ] +) diff --git a/Sources/Core/AWSSDKEventStreamsAuth/AWSMessageSigner.swift b/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/AWSMessageSigner.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift b/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift b/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Context+Signing.swift b/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Context+Signing.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/String+hexaData.swift b/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/String+hexaData.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift diff --git a/Tests/Core/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift similarity index 100% rename from Tests/Core/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift diff --git a/Tests/Core/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift similarity index 100% rename from Tests/Core/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift diff --git a/Tests/Core/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift similarity index 100% rename from Tests/Core/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift b/Sources/Core/AWSSDKHTTPAuth/Package.swift new file mode 100644 index 00000000000..2b5f6290949 --- /dev/null +++ b/Sources/Core/AWSSDKHTTPAuth/Package.swift @@ -0,0 +1,43 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AWSSDKHTTPAuth", + platforms: [ + .macOS(.v10_15), + .iOS(.v13), + .tvOS(.v13), + .watchOS(.v6) + ], + products: [ + .library(name: "AWSSDKHTTPAuth", targets: ["AWSSDKHTTPAuth"]), + ], + dependencies: [ + .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), + .package(id: "aws-sdk-swift.AWSSDKChecksums", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + ], + targets: [ + .target( + name: "AWSSDKHTTPAuth", + dependencies: [ + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyHTTPAuth", package: "aws-sdk-swift.smithy-swift"), + .product(name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity"), + .product(name: "AWSSDKChecksums", package: "aws-sdk-swift.AWSSDKChecksums"), + ] + ), + .testTarget(name: "AWSSDKHTTPAuthTests", dependencies: [ + "AWSSDKHTTPAuth", + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), +// .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), +// .product(name: "AWSSDKEventStreamsAuth", package: "aws-sdk-swift.AWSSDKEventStreamsAuth"), +// .product(name: "SmithyTestUtils", package: "smithy-swift"), + ]), + ] +) diff --git a/Sources/Core/AWSSDKHTTPAuth/AWSSigV4Signer.swift b/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/AWSSigV4Signer.swift rename to Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift b/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift rename to Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/SigV4AAuthScheme.swift b/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/SigV4AAuthScheme.swift rename to Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/SigV4AuthScheme.swift b/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/SigV4AuthScheme.swift rename to Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift diff --git a/Tests/Core/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift similarity index 100% rename from Tests/Core/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift rename to Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift diff --git a/Tests/Core/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift similarity index 100% rename from Tests/Core/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift rename to Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift diff --git a/Tests/Core/AWSSDKHTTPAuthTests/SigV4SigningTests.swift b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift similarity index 100% rename from Tests/Core/AWSSDKHTTPAuthTests/SigV4SigningTests.swift rename to Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Package.swift b/Sources/Core/AWSSDKIdentity/Package.swift new file mode 100644 index 00000000000..bbae5413ac3 --- /dev/null +++ b/Sources/Core/AWSSDKIdentity/Package.swift @@ -0,0 +1,41 @@ +// swift-tools-version: 5.9 + +import PackageDescription + +let package = Package( + name: "AWSSDKIdentity", + platforms: [ + .macOS(.v10_15), + .iOS(.v13), + .tvOS(.v13), + .watchOS(.v6) + ], + products: [ + .library(name: "AWSSDKIdentity", targets: ["AWSSDKIdentity"]), + ], + dependencies: [ + .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + ], + targets: [ + .target( + name: "AWSSDKIdentity", + dependencies: [ + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyHTTPAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyIdentityAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), + .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), + ] + ), + .testTarget(name: "AWSSDKIdentityTests", dependencies: [ + "AWSSDKIdentity", + .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), +// .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), + ]), + ] +) diff --git a/Sources/Core/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift diff --git a/Sources/Core/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift diff --git a/Tests/Core/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift diff --git a/Tests/Core/AWSSDKIdentityTests/Resources/config b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/config similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/Resources/config rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/config diff --git a/Tests/Core/AWSSDKIdentityTests/Resources/credentials b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/credentials similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/Resources/credentials rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/credentials diff --git a/Tests/Core/AWSSDKIdentityTests/Resources/sso_tests b/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/sso_tests similarity index 100% rename from Tests/Core/AWSSDKIdentityTests/Resources/sso_tests rename to Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/sso_tests diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index ca2acb8656e..2575f5f1b7a 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -193,7 +193,7 @@ task("stageSdks") { copy { from("${it.outputDir}") into("${it.sourcesDir}") - exclude("Package.swift") +// exclude("Package.swift") } } } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt index 2d856817d82..0d1dcdcf80a 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt @@ -11,34 +11,38 @@ class AWSSwiftDependency { val AWS_SDK_IDENTITY = SwiftDependency( "AWSSDKIdentity", "main", - "0.1.0", - "https://github.com/awslabs/aws-sdk-swift", - "../../../aws-sdk-swift", + "0.0.1", "aws-sdk-swift", + "../../../aws-sdk-swift", + "AWSSDKIdentity", + SwiftDependency.DistributionMethod.SPR, ) val AWS_SDK_HTTP_AUTH = SwiftDependency( "AWSSDKHTTPAuth", "main", - "0.1.0", - "https://github.com/awslabs/aws-sdk-swift", - "../../../aws-sdk-swift", + "0.0.1", "aws-sdk-swift", + "../../../aws-sdk-swift", + "AWSSDKHTTPAuth", + SwiftDependency.DistributionMethod.SPR, ) val AWS_SDK_EVENT_STREAMS_AUTH = SwiftDependency( "AWSSDKEventStreamsAuth", "main", - "0.1.0", - "https://github.com/awslabs/aws-sdk-swift", - "../../../aws-sdk-swift", + "0.0.1", "aws-sdk-swift", + "../../../aws-sdk-swift", + "AWSSDKEventStreamsAuth", + SwiftDependency.DistributionMethod.SPR, ) val AWS_CLIENT_RUNTIME = SwiftDependency( "AWSClientRuntime", "main", - "0.1.0", - "https://github.com/awslabs/aws-sdk-swift", - "../../../aws-sdk-swift", + "0.0.1", "aws-sdk-swift", + "../../../aws-sdk-swift", + "AWSClientRuntime", + SwiftDependency.DistributionMethod.SPR, ) } } From ab350296e428f2776609e20d2884d58ef4dbb515 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 26 Jun 2024 20:34:29 -0500 Subject: [PATCH 03/45] Fix list issues --- .../AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift | 2 +- .../AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift index abbd3f19c26..1e100f0b2b6 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift @@ -55,7 +55,7 @@ struct SPRPublish: AsyncParsableCommand { } private mutating func setOptions() async { - await SDKLoggingSystem.initialize(logLevel: .error) + await SDKLoggingSystem.initialize(logLevel: .info) let env = ProcessInfo.processInfo.environment bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] if region.isEmpty { diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift index d7d35229715..aac8ea3c582 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift @@ -10,6 +10,7 @@ import AWSS3 import AWSCloudFront import Smithy import SmithyStreams +import ClientRuntime extension SPRPublish { @@ -31,7 +32,10 @@ extension SPRPublish { throw Error("Could not get version list.") } list = try JSONDecoder().decode(ListPackageReleases.self, from: data) + log("Version list found.") + log("Contents: \(String(data: data, encoding: .utf8) ?? "")") } catch is NoSuchKey { + log("Version list is not found, creating a new one.") list = ListPackageReleases(releases: [:]) } guard !list.releases.keys.contains(version) || replace else { From ff8ec993b07360076006b4dc59e41a5bb3beb375 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 26 Jun 2024 20:35:18 -0500 Subject: [PATCH 04/45] Fix Package.swift for runtime modules --- Sources/Core/AWSClientRuntime/Package.swift | 2 +- Sources/Core/AWSSDKChecksums/Package.swift | 2 +- Sources/Core/AWSSDKEventStreamsAuth/Package.swift | 2 +- Sources/Core/AWSSDKHTTPAuth/Package.swift | 2 +- Sources/Core/AWSSDKIdentity/Package.swift | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/Core/AWSClientRuntime/Package.swift b/Sources/Core/AWSClientRuntime/Package.swift index 64e8f78ab51..a4bcd767ba8 100644 --- a/Sources/Core/AWSClientRuntime/Package.swift +++ b/Sources/Core/AWSClientRuntime/Package.swift @@ -18,7 +18,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), ], targets: [ .target( diff --git a/Sources/Core/AWSSDKChecksums/Package.swift b/Sources/Core/AWSSDKChecksums/Package.swift index 3534f1430b6..999e4d8a110 100644 --- a/Sources/Core/AWSSDKChecksums/Package.swift +++ b/Sources/Core/AWSSDKChecksums/Package.swift @@ -16,7 +16,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), ], targets: [ .target( diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift index 5d3c47b1b6b..c9acb11f7a8 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift @@ -16,7 +16,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), ], targets: [ .target( diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift b/Sources/Core/AWSSDKHTTPAuth/Package.swift index 2b5f6290949..a86abbd25ce 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/AWSSDKHTTPAuth/Package.swift @@ -17,7 +17,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), .package(id: "aws-sdk-swift.AWSSDKChecksums", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), ], targets: [ .target( diff --git a/Sources/Core/AWSSDKIdentity/Package.swift b/Sources/Core/AWSSDKIdentity/Package.swift index bbae5413ac3..690694181c0 100644 --- a/Sources/Core/AWSSDKIdentity/Package.swift +++ b/Sources/Core/AWSSDKIdentity/Package.swift @@ -16,7 +16,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", exact: "0.0.1"), + .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), ], targets: [ .target( From 6e1197c6fa78e0e04ed06f49a46403fb0b2c57e2 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 27 Jun 2024 11:21:17 -0500 Subject: [PATCH 05/45] Fix tests in runtime modules --- Package.swift | 120 +----------------- Sources/Core/AWSClientRuntime/Package.swift | 16 ++- .../Core/AWSSDKEventStreamsAuth/Package.swift | 1 + .../AWSMessageDecoderStreamTests.swift | 2 +- .../AWSMessageEncoderStreamTests.swift | 25 ---- .../SigV4EventSigningTests.swift | 93 ++++++++++++++ ...tCustomAWSCredentialIdentityResolver.swift | 33 +++++ Sources/Core/AWSSDKHTTPAuth/Package.swift | 3 +- .../CustomSigningPropertiesSetterTests.swift | 2 +- .../SigV4SigningTests.swift | 69 ---------- 10 files changed, 142 insertions(+), 222 deletions(-) create mode 100644 Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift create mode 100644 Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift diff --git a/Package.swift b/Package.swift index 23ee49a71c8..00d84edf319 100644 --- a/Package.swift +++ b/Package.swift @@ -228,46 +228,6 @@ func addServiceUnitTestTarget(_ name: String) { ] } -func addIntegrationTestTarget(_ name: String) { - let integrationTestName = "\(name)IntegrationTests" - var additionalDependencies: [String] = [] - var exclusions: [String] = [] - switch name { - case "AWSEC2": - additionalDependencies = ["AWSIAM", "AWSSTS", "AWSCloudWatchLogs"] - exclusions = [ - "Resources/IMDSIntegTestApp" - ] - case "AWSECS": - additionalDependencies = ["AWSCloudWatchLogs", "AWSEC2", "AWSIAM", "AWSSTS"] - exclusions = [ - "README.md", - "Resources/ECSIntegTestApp/" - ] - case "AWSS3": - additionalDependencies = ["AWSSSOAdmin", "AWSS3Control", "AWSSTS"] - case "AWSEventBridge": - additionalDependencies = ["AWSRoute53"] - case "AWSCloudFrontKeyValueStore": - additionalDependencies = ["AWSCloudFront"] - case "AWSSTS": - additionalDependencies = ["AWSIAM", "AWSCognitoIdentity"] - default: - break - } - integrationTestServices.insert(name) - additionalDependencies.forEach { integrationTestServices.insert($0) } - package.targets += [ - .testTarget( - name: integrationTestName, - dependencies: [.crt, .clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils, .awsSDKIdentity, .smithyIdentity, .awsSDKCommon] + additionalDependencies.map { Target.Dependency.target(name: $0, condition: nil) }, - path: "./IntegrationTests/Services/\(integrationTestName)", - exclude: exclusions, - resources: [.process("Resources")] - ) - ] -} - var enabledServices = Set() var enabledServiceUnitTests = Set() @@ -276,12 +236,6 @@ func addAllServices() { enabledServiceUnitTests = Set(serviceTargets) } -var integrationTestServices = Set() - -func addIntegrationTests() { - servicesWithIntegrationTests.forEach { addIntegrationTestTarget($0) } -} - func excludeRuntimeUnitTests() { package.targets.removeAll { $0.name == "AWSClientRuntimeTests" || @@ -291,60 +245,8 @@ func excludeRuntimeUnitTests() { } } -func addProtocolTests() { - struct ProtocolTest { - let name: String - let sourcePath: String - let testPath: String? - let buildOnly: Bool - - init(name: String, sourcePath: String, testPath: String? = nil, buildOnly: Bool = false) { - self.name = name - self.sourcePath = sourcePath - self.testPath = testPath - self.buildOnly = buildOnly - } - } - - let baseDir = "codegen/protocol-test-codegen/build/smithyprojections/protocol-test-codegen" - let baseDirLocal = "codegen/protocol-test-codegen-local/build/smithyprojections/protocol-test-codegen-local" - - let protocolTests: [ProtocolTest] = [ - .init(name: "AWSRestJsonTestSDK", sourcePath: "\(baseDir)/aws-restjson"), - .init(name: "AWSRestJsonValidationTestSDK", sourcePath: "\(baseDir)/aws-restjson-validation"), - .init(name: "AWSJson1_0TestSDK", sourcePath: "\(baseDir)/aws-json-10"), - .init(name: "AWSJson1_1TestSDK", sourcePath: "\(baseDir)/aws-json-11"), - .init(name: "RestXmlTestSDK", sourcePath: "\(baseDir)/rest-xml"), - .init(name: "RestXmlWithNamespaceTestSDK", sourcePath: "\(baseDir)/rest-xml-xmlns"), - .init(name: "Ec2QueryTestSDK", sourcePath: "\(baseDir)/ec2-query"), - .init(name: "AWSQueryTestSDK", sourcePath: "\(baseDir)/aws-query"), - .init(name: "APIGatewayTestSDK", sourcePath: "\(baseDir)/apigateway"), - .init(name: "GlacierTestSDK", sourcePath: "\(baseDir)/glacier"), - .init(name: "MachineLearningTestSDK", sourcePath: "\(baseDir)/machinelearning"), - .init(name: "S3TestSDK", sourcePath: "\(baseDir)/s3"), - .init(name: "rest_json_extras", sourcePath: "\(baseDirLocal)/rest_json_extras"), - .init(name: "AwsQueryExtras", sourcePath: "\(baseDirLocal)/AwsQueryExtras"), - .init(name: "EventStream", sourcePath: "\(baseDirLocal)/EventStream", buildOnly: true), - .init(name: "RPCEventStream", sourcePath: "\(baseDirLocal)/RPCEventStream", buildOnly: true), - .init(name: "Waiters", sourcePath: "\(baseDirLocal)/Waiters", testPath: "codegen/protocol-test-codegen-local/Tests"), - ] - for protocolTest in protocolTests { - let target = Target.target( - name: protocolTest.name, - dependencies: serviceTargetDependencies, - path: "\(protocolTest.sourcePath)/swift-codegen/Sources/\(protocolTest.name)" - ) - let testTarget = protocolTest.buildOnly ? nil : Target.testTarget( - name: "\(protocolTest.name)Tests", - dependencies: [.smithyTestUtils, .smithyStreams, .smithyWaitersAPI, .byNameItem(name: protocolTest.name, condition: nil)], - path: "\(protocolTest.testPath ?? protocolTest.sourcePath)/swift-codegen/Tests/\(protocolTest.name)Tests" - ) - package.targets += [target, testTarget].compactMap { $0 } - } -} - func addResolvedTargets() { - enabledServices.union(integrationTestServices).forEach(addServiceTarget) + enabledServices.forEach(addServiceTarget) enabledServiceUnitTests.forEach(addServiceUnitTestTarget) } @@ -749,25 +651,5 @@ let serviceTargets: [String] = [ // Uncomment this line to enable all services addAllServices() -let servicesWithIntegrationTests: [String] = [ - "AWSCloudFrontKeyValueStore", - "AWSEC2", - "AWSECS", - "AWSEventBridge", - "AWSKinesis", - "AWSMediaConvert", - "AWSRoute53", - "AWSS3", - "AWSSQS", - "AWSSTS", - "AWSTranscribeStreaming", -] - -// Uncomment this line to enable integration tests -// addIntegrationTests() - -// Uncomment this line to enable protocol tests -// addProtocolTests() - addResolvedTargets() diff --git a/Sources/Core/AWSClientRuntime/Package.swift b/Sources/Core/AWSClientRuntime/Package.swift index a4bcd767ba8..2bfe0486fa4 100644 --- a/Sources/Core/AWSClientRuntime/Package.swift +++ b/Sources/Core/AWSClientRuntime/Package.swift @@ -35,11 +35,15 @@ let package = Package( .product(name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity"), ] ), - .testTarget(name: "AWSClientRuntimeTests", dependencies: [ - "AWSClientRuntime", - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), -// .product(name: "SmithyTestUtils", package: "smithy-swift"), - .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), - ]), + .testTarget( + name: "AWSClientRuntimeTests", + dependencies: [ + "AWSClientRuntime", + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), + .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), + ], + resources: [.process("Resources")] + ), ] ) diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift index c9acb11f7a8..863f2e5dca9 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift @@ -34,6 +34,7 @@ let package = Package( "AWSSDKEventStreamsAuth", // .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), .product(name: "SmithyStreams", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), ]), ] ) diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift index 02f9925b09b..5cf9ae3af95 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift +++ b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift @@ -9,7 +9,7 @@ import SmithyEventStreamsAPI import SmithyEventStreams import XCTest import ClientRuntime -import AWSClientRuntime +//import AWSClientRuntime import class SmithyStreams.BufferedStream final class AWSMessageDecoderStreamTests: XCTestCase { diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift index 583339f6fa3..8517cb9cce2 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift +++ b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift @@ -16,7 +16,6 @@ import AWSSDKEventStreamsAuth import XCTest import AwsCommonRuntimeKit import ClientRuntime -@testable import AWSClientRuntime final class AWSMessageEncoderStreamTests: XCTestCase { let baseStream = AsyncThrowingStream { continuation in @@ -170,27 +169,3 @@ final class AWSMessageEncoderStreamTests: XCTestCase { ) } } - -class TestCustomAWSCredentialIdentityResolver: AWSCredentialIdentityResolver { - let credentials: AWSCredentialIdentity - - init(credentials: AWSCredentialIdentity) { - self.credentials = credentials - } - - convenience init() { - self.init(credentials: AWSCredentialIdentity( - accessKey: "AKIDEXAMPLE", - secret: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", - expiration: .init(timeIntervalSinceNow: 30) - )) - } - - func getIdentity(identityProperties: Attributes?) async throws -> AWSCredentialIdentity { - return AWSCredentialIdentity( - accessKey: "AKIDEXAMPLE", - secret: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", - expiration: .init(timeIntervalSinceNow: 30) - ) - } -} diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift new file mode 100644 index 00000000000..45c7f4578b8 --- /dev/null +++ b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift @@ -0,0 +1,93 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Smithy +import XCTest +import SmithyHTTPAuthAPI +import SmithyHTTPAuth +import SmithyHTTPAPI +import SmithyIdentity +import SmithyTestUtil +import AwsCommonRuntimeKit +import SmithyTimestamps +import SmithyEventStreams +import SmithyEventStreamsAPI +import AWSSDKIdentity +import AWSSDKHTTPAuth + +class SigV4EventSigningTests: XCTestCase { + + override func setUp() { + CommonRuntimeKit.initialize() + } + + func testSignEvent() async { + let credentials = AWSCredentialIdentity(accessKey: "fake access key", secret: "fake secret key") + + let encoder = SmithyEventStreams.DefaultMessageEncoder() + + let message = Message( + headers: [ + .init(name: "some-header", value: .string("value")), + ], + payload: "test payload".data(using: .utf8)! + ) + + // create Date with fractional seconds + let formatter = ISO8601DateFormatter() + formatter.timeZone = TimeZone(identifier: "UTC") + formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds] + let epoch = formatter.date(from: "1973-11-29T21:33:09.000001234Z")! + + let staticAWSCredentialIdentityResolver = try! StaticAWSCredentialIdentityResolver( + credentials + ) + + let context = ContextBuilder() + .withSigningName(value: "testservice") + .withRegion(value: "us-east-1") + .withIdentityResolver( + value: staticAWSCredentialIdentityResolver, + schemeID: "aws.auth#sigv4" + ) + .withIdentityResolver( + value: staticAWSCredentialIdentityResolver, + schemeID: "aws.auth#sigv4a" + ) + .build() + + let signingConfig = try! await context.makeEventStreamSigningConfig(date: epoch.withoutFractionalSeconds()) + + let prevSignature = try! "last message sts".data(using: .utf8)!.computeSHA256().encodeToHexString() + + let messagePayload = try! encoder.encode(message: message) + + let result = try! await AWSSigV4Signer().signEvent(payload: messagePayload, + previousSignature: prevSignature, + signingConfig: signingConfig) + XCTAssertEqual(":date", result.output.headers[0].name) + + guard case let .timestamp(dateHeaderValue) = result.output.headers[0].value else { + XCTFail() + return + } + + XCTAssertEqual(epoch.timeIntervalSince1970, dateHeaderValue.timeIntervalSince1970) + + XCTAssertEqual(":chunk-signature", result.output.headers[1].name) + print(result.signature) + guard case let .byteArray(actualSignatureBuffer) = result.output.headers[1].value else { + XCTFail() + return + } + let actualSignature = actualSignatureBuffer.encodeToHexString() + XCTAssertEqual(result.signature, actualSignature) + + let expected = "1ea04a4f6becd85ae3e38e379ffaf4bb95042603f209512476cc6416868b31ee" + XCTAssertEqual(expected, actualSignature) + } +} diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift new file mode 100644 index 00000000000..4a67919cef5 --- /dev/null +++ b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift @@ -0,0 +1,33 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Smithy +import SmithyIdentity + +class TestCustomAWSCredentialIdentityResolver: AWSCredentialIdentityResolver { + let credentials: AWSCredentialIdentity + + init(credentials: AWSCredentialIdentity) { + self.credentials = credentials + } + + convenience init() { + self.init(credentials: AWSCredentialIdentity( + accessKey: "AKIDEXAMPLE", + secret: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", + expiration: .init(timeIntervalSinceNow: 30) + )) + } + + func getIdentity(identityProperties: Attributes?) async throws -> AWSCredentialIdentity { + return AWSCredentialIdentity( + accessKey: "AKIDEXAMPLE", + secret: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", + expiration: .init(timeIntervalSinceNow: 30) + ) + } +} diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift b/Sources/Core/AWSSDKHTTPAuth/Package.swift index a86abbd25ce..fd469b8edd4 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/AWSSDKHTTPAuth/Package.swift @@ -18,6 +18,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKChecksums", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), +// .package(id: "aws-sdk-swift.AWSSDKEventStreamsAuth", from: "0.0.1"), ], targets: [ .target( @@ -37,7 +38,7 @@ let package = Package( .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), // .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), // .product(name: "AWSSDKEventStreamsAuth", package: "aws-sdk-swift.AWSSDKEventStreamsAuth"), -// .product(name: "SmithyTestUtils", package: "smithy-swift"), + .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), ]), ] ) diff --git a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift index 8c5adfdadb8..70f1db55737 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift +++ b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift @@ -12,7 +12,7 @@ import AWSSDKHTTPAuth import XCTest import SmithyTestUtil import ClientRuntime -@testable import AWSClientRuntime +//@testable import AWSClientRuntime class CustomSigningPropertiesSetterTests: XCTestCase { private var customSetter: AWSSDKHTTPAuth.CustomSigningPropertiesSetter! diff --git a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift index b3b904f677a..fdbe4ee7696 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift +++ b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift @@ -17,11 +17,8 @@ import SmithyTimestamps import SmithyEventStreams import SmithyEventStreamsAPI import AWSSDKIdentity -import AWSSDKEventStreamsAuth import AWSSDKHTTPAuth -//@testable import AWSClientRuntime - class Sigv4SigningTests: XCTestCase { override func setUp() { CommonRuntimeKit.initialize() @@ -303,72 +300,6 @@ class Sigv4SigningTests: XCTestCase { } XCTAssertEqual("http://example.amazonaws.com:443?%E1%88%B4=bar&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=32dea9080047b41e56ee852fe3eba49dae1911b9c5e5728cc1691704f168c70f", url.absoluteString) } - - func testSignEvent() async { - let credentials = AWSCredentialIdentity(accessKey: "fake access key", secret: "fake secret key") - - let encoder = SmithyEventStreams.DefaultMessageEncoder() - - let message = Message( - headers: [ - .init(name: "some-header", value: .string("value")), - ], - payload: "test payload".data(using: .utf8)! - ) - - // create Date with fractional seconds - let formatter = ISO8601DateFormatter() - formatter.timeZone = TimeZone(identifier: "UTC") - formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds] - let epoch = formatter.date(from: "1973-11-29T21:33:09.000001234Z")! - - let staticAWSCredentialIdentityResolver = try! StaticAWSCredentialIdentityResolver( - credentials - ) - - let context = ContextBuilder() - .withSigningName(value: "testservice") - .withRegion(value: "us-east-1") - .withIdentityResolver( - value: staticAWSCredentialIdentityResolver, - schemeID: "aws.auth#sigv4" - ) - .withIdentityResolver( - value: staticAWSCredentialIdentityResolver, - schemeID: "aws.auth#sigv4a" - ) - .build() - - let signingConfig = try! await context.makeEventStreamSigningConfig(date: epoch.withoutFractionalSeconds()) - - let prevSignature = try! "last message sts".data(using: .utf8)!.computeSHA256().encodeToHexString() - - let messagePayload = try! encoder.encode(message: message) - - let result = try! await AWSSigV4Signer().signEvent(payload: messagePayload, - previousSignature: prevSignature, - signingConfig: signingConfig) - XCTAssertEqual(":date", result.output.headers[0].name) - - guard case let .timestamp(dateHeaderValue) = result.output.headers[0].value else { - XCTFail() - return - } - - XCTAssertEqual(epoch.timeIntervalSince1970, dateHeaderValue.timeIntervalSince1970) - - XCTAssertEqual(":chunk-signature", result.output.headers[1].name) - print(result.signature) - guard case let .byteArray(actualSignatureBuffer) = result.output.headers[1].value else { - XCTFail() - return - } - let actualSignature = actualSignatureBuffer.encodeToHexString() - XCTAssertEqual(result.signature, actualSignature) - - let expected = "1ea04a4f6becd85ae3e38e379ffaf4bb95042603f209512476cc6416868b31ee" - XCTAssertEqual(expected, actualSignature) - } } class TestCustomAWSCredentialIdentityResolver: AWSCredentialIdentityResolver { From abc6e16535c54522e021ca5dde23b0025352113c Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 27 Jun 2024 16:16:28 -0500 Subject: [PATCH 06/45] Separate common CLI modules & SPR commands out from CLI tools --- AWSSDKSwiftCLI/Package.swift | 38 +++++++- .../Models => AWSCLIUtils}/Error.swift | 10 +- .../FileManager+Utils.swift | 2 +- .../Models => AWSCLIUtils}/Logger.swift | 0 .../Utils => AWSCLIUtils}/Process+Git.swift | 14 +-- .../Utils => AWSCLIUtils}/Process+Swift.swift | 4 +- .../Utils => AWSCLIUtils}/Process+Utils.swift | 19 ++-- .../Utils => AWSCLIUtils}/String+Utils.swift | 2 +- .../Utils => AWSCLIUtils}/Version+Utils.swift | 4 +- .../AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift | 1 - .../Subcommands/GenerateDocIndex.swift | 1 + .../Subcommands/GeneratePackageManifest.swift | 1 + .../Subcommands/PrepareRelease.swift | 1 + .../SyncClientRuntimeVersion.swift | 1 + .../Subcommands/TestAWSSDK.swift | 1 + .../Models/DocIndexBuilder.swift | 1 + .../AWSSDKSwiftCLI/Models/LazyValue.swift | 1 + .../Models/PackageManifestBuilder.swift | 1 + .../Models/ReleaseNotesBuilder.swift | 1 + .../Models}/Describe/Describe.swift | 0 .../SPR => SPR/Models}/Info/Metadata.swift | 0 .../SPR => SPR/Models}/Info/PackageInfo.swift | 0 .../SPR => SPR/Models}/Info/Resource.swift | 0 .../Models}/List/ListPackageReleases.swift | 0 .../SPRPublish => SPR}/Process+SPR.swift | 1 + AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift | 65 +++++++++++++ .../SPRPublish => SPR}/UpdateList.swift | 7 +- .../SPRPublish => SPR}/UploadArchive.swift | 7 +- .../SPRPublish => SPR}/UploadManifest.swift | 8 +- .../SPRPublish => SPR}/UploadMetadata.swift | 8 +- .../SPRPublish => SPR}/VerifyPackage.swift | 5 +- .../spr-multi-publish/SPRMultiPublish.swift | 95 +++++++++++++++++++ .../SPRPublish.swift | 44 ++++----- .../AWSSDKSwiftCLITests/CLITestCase.swift | 1 + .../GeneratePackageManifestTests.swift | 2 - .../Commands/PrepareReleaseTests.swift | 1 + .../Commands/TestAWSSDKTests.swift | 1 + .../Models/PackageManifestBuilderTests.swift | 4 - .../Utils/ProcessUtilsTests.swift | 1 + 39 files changed, 278 insertions(+), 75 deletions(-) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models => AWSCLIUtils}/Error.swift (52%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Utils => AWSCLIUtils}/FileManager+Utils.swift (98%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models => AWSCLIUtils}/Logger.swift (100%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Utils => AWSCLIUtils}/Process+Git.swift (91%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Utils => AWSCLIUtils}/Process+Swift.swift (88%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Utils => AWSCLIUtils}/Process+Utils.swift (85%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Utils => AWSCLIUtils}/String+Utils.swift (97%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Utils => AWSCLIUtils}/Version+Utils.swift (98%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models/SPR => SPR/Models}/Describe/Describe.swift (100%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models/SPR => SPR/Models}/Info/Metadata.swift (100%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models/SPR => SPR/Models}/Info/PackageInfo.swift (100%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models/SPR => SPR/Models}/Info/Resource.swift (100%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Models/SPR => SPR/Models}/List/ListPackageReleases.swift (100%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => SPR}/Process+SPR.swift (98%) create mode 100644 AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => SPR}/UpdateList.swift (96%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => SPR}/UploadArchive.swift (94%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => SPR}/UploadManifest.swift (87%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => SPR}/UploadMetadata.swift (89%) rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => SPR}/VerifyPackage.swift (88%) create mode 100644 AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift rename AWSSDKSwiftCLI/Sources/{AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish => spr-publish}/SPRPublish.swift (70%) diff --git a/AWSSDKSwiftCLI/Package.swift b/AWSSDKSwiftCLI/Package.swift index e7682a1d6c1..aac80645a88 100644 --- a/AWSSDKSwiftCLI/Package.swift +++ b/AWSSDKSwiftCLI/Package.swift @@ -18,18 +18,48 @@ let package = Package( .executableTarget( name: "AWSSDKSwiftCLI", dependencies: [ + "AWSCLIUtils", .product(name: "ArgumentParser", package: "swift-argument-parser"), - .product(name: "PackageDescription", package: "swift-package-manager"), .product(name: "Algorithms", package: "swift-algorithms"), - .product(name: "Logging", package: "swift-log"), - .product(name: "AWSS3", package: "aws-sdk-swift"), - .product(name: "AWSCloudFront", package: "aws-sdk-swift"), ], resources: [ .process("Resources/Package.Base.swift"), .process("Resources/DocIndex.Base.md") ] ), + .executableTarget( + name: "spr-publish", + dependencies: [ + "SPR", + "AWSCLIUtils", + .product(name: "ArgumentParser", package: "swift-argument-parser"), + ] + ), + .executableTarget( + name: "spr-multi-publish", + dependencies: [ + "SPR", + "AWSCLIUtils", + "spr-publish", + ] + ), + .target( + name: "SPR", + dependencies: [ + "AWSCLIUtils", + .product(name: "ArgumentParser", package: "swift-argument-parser"), + .product(name: "AWSS3", package: "aws-sdk-swift"), + .product(name: "AWSCloudFront", package: "aws-sdk-swift"), + ] + ), + .target( + name: "AWSCLIUtils", + dependencies: [ + .product(name: "ArgumentParser", package: "swift-argument-parser"), + .product(name: "Logging", package: "swift-log"), + .product(name: "PackageDescription", package: "swift-package-manager"), + ] + ), .testTarget( name: "AWSSDKSwiftCLITests", dependencies: ["AWSSDKSwiftCLI"] diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/Error.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Error.swift similarity index 52% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/Error.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/Error.swift index 55cd245a140..0512b780dae 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/Error.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Error.swift @@ -7,11 +7,11 @@ import Foundation -struct Error: LocalizedError { - var message: String - var errorDescription: String? { message } - - init(_ message: String) { +public struct Error: LocalizedError { + public var message: String + public var errorDescription: String? { message } + + public init(_ message: String) { self.message = message } } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/FileManager+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/FileManager+Utils.swift similarity index 98% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/FileManager+Utils.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/FileManager+Utils.swift index c5599bf51a0..b55e800854e 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/FileManager+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/FileManager+Utils.swift @@ -7,7 +7,7 @@ import Foundation -extension FileManager { +public extension FileManager { /// Changes the working directory to the provided path func changeWorkingDirectory(_ path: String) throws { log("Changing working directory to: \(path)") diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/Logger.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Logger.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/Logger.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/Logger.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Git.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Git.swift similarity index 91% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Git.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Git.swift index cd51df61459..a8aaa603fae 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Git.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Git.swift @@ -9,7 +9,7 @@ import Foundation import PackageDescription import struct ArgumentParser.ExitCode -extension Process { +public extension Process { /// A struct to create processes for executing git commands. struct Git { /// Returns a process for executing git commands. @@ -18,31 +18,31 @@ extension Process { } /// Returns a process for executing `git status` - func status() -> Process { + public func status() -> Process { gitProcess(["status"]) } /// Returns a process for executing `git diff .. --quiet` /// This is used for determining if `` is different from `` and therefore - func diff(_ a: String, _ b: String) -> Process { + public func diff(_ a: String, _ b: String) -> Process { gitProcess(["diff", "\(a)..\(b)", "--quiet"]) } /// Returns a process for executing `git add ` /// This is used for staging specific files. - func add(_ files: [String]) -> Process { + public func add(_ files: [String]) -> Process { gitProcess(["add"] + files) } /// Returns a process for executing `git commit -m ` /// This is used for committing changes with the provided message - func commit(_ message: String) -> Process { + public func commit(_ message: String) -> Process { gitProcess(["commit", "-m", message]) } /// Returns a process for executing `git tag -a -m ` /// This is used for creating a tag with the provided version and message. - func tag(_ version: Version, _ message: String) -> Process { + public func tag(_ version: Version, _ message: String) -> Process { gitProcess(["tag", "-a", "\(version)", "-m", message]) } @@ -69,7 +69,7 @@ extension Process { static var git: Git { Git() } } -extension Process.Git { +public extension Process.Git { /// Returns true if the provided commits/branches/trees are different, otherwise returns false func diffHasChanges(_ a: String, _ b: String) throws -> Bool { let task = diff(a, b) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Swift.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Swift.swift similarity index 88% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Swift.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Swift.swift index b8b96cf9465..6d452578c40 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Swift.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Swift.swift @@ -8,7 +8,7 @@ import Foundation import PackageDescription -extension Process { +public extension Process { struct Swift { /// Returns a process for executing swift commands. private func swiftProcess(_ args: [String]) -> Process { @@ -16,7 +16,7 @@ extension Process { } /// Returns a process for executing `swift test` - func test() -> Process { + public func test() -> Process { swiftProcess(["test"]) } } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift similarity index 85% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift index 211b9afa21c..00dd1a4019b 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Process+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift @@ -8,7 +8,7 @@ import Foundation import ArgumentParser -extension Process { +public extension Process { /// Creates a process using `/usr/bin/env` as the executable /// This makes it easy to create a process for any command, as long as the corresponding executable exists in the PATH. /// @@ -36,7 +36,7 @@ extension Process { } } -func _run(_ process: Process) throws { +public func _run(_ process: Process) throws { // If debug and we have a non-nil test runner, then use that // This allows developers to intercept processes when they run to assert that it is the expected process #if DEBUG @@ -48,7 +48,7 @@ func _run(_ process: Process) throws { try ProcessRunner.standard.run(process) } -func _runReturningStdOut(_ process: Process) throws -> String? { +public func _runReturningStdOut(_ process: Process) throws -> String? { let stdOut = Pipe() process.standardOutput = stdOut @@ -64,13 +64,18 @@ func _runReturningStdOut(_ process: Process) throws -> String? { } /// A simple struct that runs a process -struct ProcessRunner { - let run: (Process) throws -> Void +public struct ProcessRunner { + + public init(_ run: @escaping (Process) throws -> Void) { + self.run = run + } + + public let run: (Process) throws -> Void /// Creates the standard runner to be used by the release version of this CLI /// /// Runs the process and prints out the process's full command. - static let standard = ProcessRunner { process in + public static let standard = ProcessRunner { process in log("Running process: \(process.commandString)") try process.run() process.waitUntilExit() @@ -82,6 +87,6 @@ struct ProcessRunner { #if DEBUG // Set this to a non-nil value in tests to intercept when a process is run - static var testRunner: ProcessRunner? = nil + public static var testRunner: ProcessRunner? = nil #endif } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/String+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift similarity index 97% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/String+Utils.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift index 19dae1c6f15..ca37d7a6031 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/String+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift @@ -7,7 +7,7 @@ import Foundation -extension String { +public extension String { /// Returns the receiver wrapped in the provided string /// /// ```swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Version+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version+Utils.swift similarity index 98% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Version+Utils.swift rename to AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version+Utils.swift index e931990ea99..c82099e650e 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/Version+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version+Utils.swift @@ -21,7 +21,7 @@ extension Version: Decodable { // MARK: - Loading from File -extension Version { +public extension Version { /// Returns a version loaded from the provided file. /// The file's contents must only contain the version and nothing else. /// This is used to load a Version from a `Package.version` file. @@ -47,7 +47,7 @@ extension Version { // MARK: - Incrementing versions -extension Version { +public extension Version { /// Returns a new version by incrementing the major version of the receiver /// /// - Returns: A new version by incrementing the major version of the receiver diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift index bc88116f355..be99f460bbb 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift @@ -18,7 +18,6 @@ struct AWSSDKSwiftCLI: AsyncParsableCommand { SyncClientRuntimeVersionCommand.self, TestAWSSDKCommand.self, GenerateDocIndexCommand.self, - SPRPublish.self, ] ) } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift index 1f4509dc2da..ff1cdab4c61 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift @@ -7,6 +7,7 @@ import ArgumentParser import Foundation +import AWSCLIUtils // MARK: - Command diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift index 5e9ff625517..e25e1f812d6 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift @@ -8,6 +8,7 @@ import ArgumentParser import Foundation import PackageDescription +import AWSCLIUtils // MARK: - Command diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/PrepareRelease.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/PrepareRelease.swift index 04e2a47b693..2aee189d19e 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/PrepareRelease.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/PrepareRelease.swift @@ -8,6 +8,7 @@ import ArgumentParser import Foundation import PackageDescription +import AWSCLIUtils // MARK: - Command diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SyncClientRuntimeVersion.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SyncClientRuntimeVersion.swift index 0dc3211cbc5..2d08594d12d 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SyncClientRuntimeVersion.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SyncClientRuntimeVersion.swift @@ -8,6 +8,7 @@ import ArgumentParser import Foundation import PackageDescription +import AWSCLIUtils // MARK: - Command diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/TestAWSSDK.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/TestAWSSDK.swift index 49563838fa7..efa47b3d1b2 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/TestAWSSDK.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/TestAWSSDK.swift @@ -9,6 +9,7 @@ import Algorithms import ArgumentParser import Foundation import PackageDescription +import AWSCLIUtils // MARK: - Command diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/DocIndexBuilder.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/DocIndexBuilder.swift index e678ae31797..c70d560fdc4 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/DocIndexBuilder.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/DocIndexBuilder.swift @@ -7,6 +7,7 @@ import Foundation import PackageDescription +import AWSCLIUtils /// Builds the contents of the package manifest file. struct DocIndexBuilder { diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/LazyValue.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/LazyValue.swift index 59362e45d0a..95cd9e733f2 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/LazyValue.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/LazyValue.swift @@ -6,6 +6,7 @@ // import Foundation +import AWSCLIUtils /// A class that enables lazy loading a value. /// This is useful when you want to lazy load a value within a local scope. diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift index 7f015759c1f..dad382bdbbb 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift @@ -7,6 +7,7 @@ import Foundation import PackageDescription +import AWSCLIUtils /// Builds the contents of the package manifest file. struct PackageManifestBuilder { diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/ReleaseNotesBuilder.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/ReleaseNotesBuilder.swift index e35ab256e14..eaaca9be4b6 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/ReleaseNotesBuilder.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/ReleaseNotesBuilder.swift @@ -7,6 +7,7 @@ import Foundation import PackageDescription +import AWSCLIUtils // Builds the release notes struct ReleaseNotesBuilder { diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Describe/Describe.swift b/AWSSDKSwiftCLI/Sources/SPR/Models/Describe/Describe.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Describe/Describe.swift rename to AWSSDKSwiftCLI/Sources/SPR/Models/Describe/Describe.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Metadata.swift b/AWSSDKSwiftCLI/Sources/SPR/Models/Info/Metadata.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Metadata.swift rename to AWSSDKSwiftCLI/Sources/SPR/Models/Info/Metadata.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/PackageInfo.swift b/AWSSDKSwiftCLI/Sources/SPR/Models/Info/PackageInfo.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/PackageInfo.swift rename to AWSSDKSwiftCLI/Sources/SPR/Models/Info/PackageInfo.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Resource.swift b/AWSSDKSwiftCLI/Sources/SPR/Models/Info/Resource.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/Info/Resource.swift rename to AWSSDKSwiftCLI/Sources/SPR/Models/Info/Resource.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/List/ListPackageReleases.swift b/AWSSDKSwiftCLI/Sources/SPR/Models/List/ListPackageReleases.swift similarity index 100% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/SPR/List/ListPackageReleases.swift rename to AWSSDKSwiftCLI/Sources/SPR/Models/List/ListPackageReleases.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift b/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift similarity index 98% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift rename to AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift index 5eb84e488bb..4346bc4ea52 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/Process+SPR.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift @@ -7,6 +7,7 @@ import Foundation import PackageDescription +import AWSCLIUtils extension Process { diff --git a/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift b/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift new file mode 100644 index 00000000000..5fae5608d0f --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift @@ -0,0 +1,65 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import ClientRuntime + +public struct SPRPublisher { + + public var scope: String + public var name: String + public var version: String + public var path: String + public var region: String = "" + public var bucket: String? + public var url: String + public var distributionID: String? + public var replace = false + + var checksum = "" + + public init( + scope: String, + name: String, + version: String, + path: String, + region: String, + bucket: String?, + url: String, + distributionID: String?, + replace: Bool + ) { + self.scope = scope + self.name = name + self.version = version + self.path = path + self.region = region + self.bucket = bucket + self.url = url + self.distributionID = distributionID + self.replace = replace + } + + public mutating func run() async throws { + await setOptions() + try verifyPackage() + try await uploadArchive() + try await uploadManifest() + try await uploadMetadata() + try await updateList() + } + + private mutating func setOptions() async { + await SDKLoggingSystem.initialize(logLevel: .info) + let env = ProcessInfo.processInfo.environment + bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] + if region.isEmpty { + region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" + } + distributionID = distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift b/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift similarity index 96% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift rename to AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift index aac8ea3c582..1d94f391eb6 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UpdateList.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift @@ -11,8 +11,9 @@ import AWSCloudFront import Smithy import SmithyStreams import ClientRuntime +import AWSCLIUtils -extension SPRPublish { +extension SPRPublisher { func updateList() async throws { let s3Client = try S3Client(region: region) @@ -65,7 +66,7 @@ extension SPRPublish { } private var listKey: String { - "\(id)/\(name)" + "\(scope)/\(name)" } private var releaseURL: URL { @@ -74,7 +75,7 @@ extension SPRPublish { throw Error("URL is invalid") } return baseURL - .appending(component: id) + .appending(component: scope) .appending(component: name) .appending(component: version) } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift similarity index 94% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift rename to AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift index 116495ea389..a7808fd0a08 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadArchive.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift @@ -9,13 +9,14 @@ import Foundation import AWSS3 import Smithy import SmithyStreams +import AWSCLIUtils -extension SPRPublish { +extension SPRPublisher { mutating func uploadArchive() async throws { let tmpDirFileURL = FileManager.default.temporaryDirectory let archiveFileURL = tmpDirFileURL.appending(component: "\(UUID().uuidString).zip") - let archiveProcess = Process.SPR.archive(name: name, packagePath: packagePath, archiveFileURL: archiveFileURL) + let archiveProcess = Process.SPR.archive(name: name, packagePath: path, archiveFileURL: archiveFileURL) try _run(archiveProcess) guard FileManager.default.fileExists(atPath: archiveFileURL.path()) else { throw Error("Archive process succeeded but archive does not exist.") @@ -54,6 +55,6 @@ extension SPRPublish { } private var archiveKey: String { - "\(id)/\(name)/\(version).zip" + "\(scope)/\(name)/\(version).zip" } } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift similarity index 87% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift rename to AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift index d7873a93e27..99e54001700 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadManifest.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift @@ -9,13 +9,13 @@ import Foundation import AWSS3 import Smithy import SmithyStreams +import AWSCLIUtils -extension SPRPublish { +extension SPRPublisher { func uploadManifest() async throws { - let packageFileURL = URL(fileURLWithPath: packagePath).standardizedFileURL + let packageFileURL = URL(fileURLWithPath: path).standardizedFileURL let manifestFileURL = packageFileURL.appending(component: "Package.swift") - let config = try await S3Client.Config(region: region) let s3Client = try S3Client(region: region) try await verify(s3Client: s3Client) try await upload(s3Client: s3Client, manifestFileURL: manifestFileURL) @@ -43,6 +43,6 @@ extension SPRPublish { } private var manifestKey: String { - "\(id)/\(name)/\(version)/Package.swift" + "\(scope)/\(name)/\(version)/Package.swift" } } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift similarity index 89% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift rename to AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift index d18aa6f82f9..e93788566db 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/UploadMetadata.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift @@ -9,11 +9,11 @@ import Foundation import AWSS3 import Smithy import SmithyStreams +import AWSCLIUtils -extension SPRPublish { +extension SPRPublisher { func uploadMetadata() async throws { - let config = try await S3Client.Config(region: region) let s3Client = try S3Client(region: region) try await verify(s3Client: s3Client) try await upload(s3Client: s3Client) @@ -41,7 +41,7 @@ extension SPRPublish { } private var metadataKey: String { - "\(id)/\(name)/\(version)" + "\(scope)/\(name)/\(version)" } private func createMetadata() -> PackageInfo { @@ -50,6 +50,6 @@ extension SPRPublish { let author = PackageInfo.Metadata.Author(name: "AWS SDK for Swift Team", email: nil, description: nil, organization: organization, url: nil) let resource = Resource(name: "source-archive", type: "application/zip", checksum: checksum, signing: nil) let metadata = PackageInfo.Metadata(author: author, description: "A Swift package, what can I say?", licenseURL: nil, originalPublicationTime: now, readmeURL: nil, repositoryURLs: nil) - return PackageInfo(id: "\(id).\(name)", version: version, resources: [resource], metadata: metadata, publishedAt: now) + return PackageInfo(id: "\(scope).\(name)", version: version, resources: [resource], metadata: metadata, publishedAt: now) } } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift b/AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift similarity index 88% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift rename to AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift index fc60cbea3d6..86b6e6e54ee 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/VerifyPackage.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift @@ -6,8 +6,9 @@ // import Foundation +import AWSCLIUtils -extension SPRPublish { +extension SPRPublisher { func verifyPackage() throws { let description = try getPackageDescription() @@ -17,7 +18,7 @@ extension SPRPublish { } private func getPackageDescription() throws -> Describe { - guard let stdout = try _runReturningStdOut(Process.SPR.describe(packagePath: packagePath)) else { + guard let stdout = try _runReturningStdOut(Process.SPR.describe(packagePath: path)) else { throw Error("no stdout from Describe command") } return try JSONDecoder().decode(Describe.self, from: Data(stdout.utf8)) diff --git a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift new file mode 100644 index 00000000000..5ecef25cac6 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift @@ -0,0 +1,95 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import ArgumentParser +import SPR +import AWSCLIUtils + +@main +struct SPRMultiPublish: AsyncParsableCommand { + + static var configuration = CommandConfiguration( + commandName: "spr-multi-publish", + abstract: "Publishes a new version of all aws-sdk-swift & smithy-swift packages to SPR." + ) + + @Option(help: "The scope of the package being published. Must meet the requirements of the Swift Package Registry spec.") + var scope: String + + @Option(help: "The version of the package to be published, i.e. \"1.2.3\". The version must be valid per Semantic Versioning 2.0 (https://semver.org/).") + var version: String + + @Option(help: "The AWS region in which the registry is located. Alternate to this option, the region may be obtained from environment var AWS_SDK_SPR_REGION. Defaults to us-east-1.") + var region: String = "" + + @Option(help: "The bucket name for the S3 bucket hosting the Registry. Alternate to this option, the bucket may be obtained from environment var AWS_SDK_SPR_BUCKET.") + var bucket: String? + + @Option(help: "The base URL for the registry.") + var url: String + + @Option(help: "The CloudFront distribution ID for the registry. Alternate to this option, the distribution ID may be obtained from environment var AWS_SDK_SPR_DISTRIBUTION_ID.") + var distributionID: String? + + @Option(help: "If true, any existing release matching this version will be replaced. If false and the selected version already exists, the publish command fails. Defaults to false.") + var replace = false + + mutating func run() async throws { + let allPackages = try runtimePackages + serviceClientPackages + for (name, path) in allPackages { + log("Package: \(name)") + log(" Path: \(path)") + let manifestURL = URL(fileURLWithPath: path).standardizedFileURL + guard FileManager.default.fileExists(atPath: manifestURL.path) else { + throw Error("File does not exist at \(manifestURL)") + } +// var publisher = SPRPublisher( +// scope: scope, +// name: name, +// version: version, +// path: path, +// region: region, +// bucket: bucket, +// url: url, +// distributionID: distributionID, +// replace: replace +// ) +// try await publisher.run() + } + } + + private var runtimePackages: [(String, String)] { + return [ + ("smithy-swift", "../../smithy-swift/"), + runtimePackage("AWSClientRuntime"), + runtimePackage("AWSSDKChecksums"), + runtimePackage("AWSSDKCommon"), + runtimePackage("AWSSDKEventStreamsAuth"), + runtimePackage("AWSSDKHTTPAuth"), + runtimePackage("AWSSDKIdentity"), + ] + } + + private var serviceClientPackages: [(String, String)] { + get throws { + try FileManager.default + .contentsOfDirectory(atPath: "../Sources/Services") + .sorted() + .filter { !$0.hasPrefix(".") } + .map { serviceClientPackage($0) } + } + } + + private func runtimePackage(_ name: String) -> (String, String) { + return (name, "../Sources/Core/\(name)/") + } + + private func serviceClientPackage(_ name: String) -> (String, String) { + return (name, "../Sources/Services/\(name)/") + } +} diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift similarity index 70% rename from AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift rename to AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift index 1e100f0b2b6..04c8a3468a7 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/SPRPublish/SPRPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift @@ -7,17 +7,19 @@ import Foundation import ArgumentParser -import ClientRuntime +import SPR +@main struct SPRPublish: AsyncParsableCommand { - + static var configuration = CommandConfiguration( commandName: "spr-publish", - abstract: "Publishes a new version of a package to SPR." + abstract: "Publishes a new version of a package to SPR.", + version: "1.0.0" ) @Option(help: "The ID of the package being published. Must meet the requirements of the Swift Package Registry spec.") - var id: String + var scope: String @Option(help: "The name of the package being published. Must match the name defined in the package's Package.swift.") var name: String @@ -25,14 +27,14 @@ struct SPRPublish: AsyncParsableCommand { @Option(help: "The version of the package to be published, i.e. \"1.2.3\". The version must be valid per Semantic Versioning 2.0 (https://semver.org/).") var version: String - @Option(help: "The relative path to the Swift package being published.") - var packagePath: String + @Option(help: "The path to the Swift package being published.") + var path: String @Option(help: "The AWS region in which the registry is located. Alternate to this option, the region may be obtained from environment var AWS_SDK_SPR_REGION. Defaults to us-east-1.") var region: String = "" @Option(help: "The bucket name for the S3 bucket hosting the Registry. Alternate to this option, the bucket may be obtained from environment var AWS_SDK_SPR_BUCKET.") - var bucket: String? + public var bucket: String? @Option(help: "The base URL for the registry.") var url: String @@ -46,21 +48,17 @@ struct SPRPublish: AsyncParsableCommand { var checksum = "" mutating func run() async throws { - await setOptions() - try verifyPackage() - try await uploadArchive() - try await uploadManifest() - try await uploadMetadata() - try await updateList() - } - - private mutating func setOptions() async { - await SDKLoggingSystem.initialize(logLevel: .info) - let env = ProcessInfo.processInfo.environment - bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] - if region.isEmpty { - region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" - } - distributionID = distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] + var publisher = SPRPublisher( + scope: scope, + name: name, + version: version, + path: path, + region: region, + bucket: bucket, + url: url, + distributionID: distributionID, + replace: replace + ) + try await publisher.run() } } diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/CLITestCase.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/CLITestCase.swift index 949ed32fa74..c5a6698db4c 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/CLITestCase.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/CLITestCase.swift @@ -7,6 +7,7 @@ @testable import AWSSDKSwiftCLI import XCTest +import AWSCLIUtils class CLITestCase: XCTestCase { let tmpPath = "tmp" diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift index 1f8a0953dae..77aa1c0e67a 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift @@ -114,7 +114,6 @@ extension GeneratePackageManifest { clientRuntimeVersion: Version? = nil, crtVersion: Version? = nil, services: [String]? = nil, - includeProtocolTests: Bool = false, excludeAWSServices: Bool = false, excludeRuntimeTests: Bool = false, buildPackageManifest: @escaping BuildPackageManifest = { (_,_,_) throws -> String in "" } @@ -125,7 +124,6 @@ extension GeneratePackageManifest { clientRuntimeVersion: clientRuntimeVersion, crtVersion: crtVersion, services: services, - includeProtocolTests: includeProtocolTests, excludeAWSServices: excludeAWSServices, excludeRuntimeTests: excludeRuntimeTests, buildPackageManifest: buildPackageManifest diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/PrepareReleaseTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/PrepareReleaseTests.swift index f9b1a9cb4d6..59aa1539581 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/PrepareReleaseTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/PrepareReleaseTests.swift @@ -8,6 +8,7 @@ @testable import AWSSDKSwiftCLI import PackageDescription import XCTest +import AWSCLIUtils class PrepareReleaseTests: CLITestCase { diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/TestAWSSDKTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/TestAWSSDKTests.swift index 222db5f73da..1b17a84d9d4 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/TestAWSSDKTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/TestAWSSDKTests.swift @@ -9,6 +9,7 @@ import Algorithms import PackageDescription import XCTest +import AWSCLIUtils class TestAWSSDKTests: CLITestCase { diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift index 8c3afba0c4c..e06039553be 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift @@ -34,9 +34,6 @@ let serviceTargets: [String] = [ // Uncomment this line to enable all services addAllServices() -// Uncomment this line to enable protocol tests -// addProtocolTests() - addResolvedTargets() @@ -47,7 +44,6 @@ addResolvedTargets() clientRuntimeVersion: .init("1.2.3"), crtVersion: .init("4.5.6"), services: ["A","B","C","D","E"].map { PackageManifestBuilder.Service(name: $0) }, - includeProtocolTests: false, excludeAWSServices: false, excludeRuntimeTests: false, basePackageContents: { "" } diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/ProcessUtilsTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/ProcessUtilsTests.swift index d2124be186b..fc81690d763 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/ProcessUtilsTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/ProcessUtilsTests.swift @@ -9,6 +9,7 @@ import PackageDescription import ArgumentParser import XCTest +import AWSCLIUtils class ProcessUtilsTests: XCTestCase { From 71f8a11bdd73cde73eaef300969ca760dbf927a8 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 14:34:22 -0500 Subject: [PATCH 07/45] Multi-publish implemented --- .../Sources/AWSCLIUtils/Logger.swift | 6 +- .../Sources/AWSCLIUtils/Process+Utils.swift | 8 +-- .../Sources/AWSCLIUtils/String+Utils.swift | 6 ++ AWSSDKSwiftCLI/Sources/SPR/Invalidate.swift | 25 +++++++ AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift | 18 ++--- AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift | 20 +++++- AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift | 24 ++----- .../Sources/SPR/UploadArchive.swift | 4 +- .../Sources/SPR/UploadMetadata.swift | 4 +- .../Sources/SPR/VerifyPackage.swift | 7 +- .../spr-multi-publish/SPRMultiPublish.swift | 67 ++++++++++++------- .../Sources/spr-publish/SPRPublish.swift | 8 ++- codegen/sdk-codegen/build.gradle.kts | 3 +- .../RegistryConfigIntegration.kt | 37 ++++++++++ ...swift.codegen.integration.SwiftIntegration | 1 + 15 files changed, 168 insertions(+), 70 deletions(-) create mode 100644 AWSSDKSwiftCLI/Sources/SPR/Invalidate.swift create mode 100644 codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Logger.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Logger.swift index a011762888f..4e06afebc60 100644 --- a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Logger.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Logger.swift @@ -10,7 +10,11 @@ import Logging struct Logger { static let standard = Logging.Logger( label: "com.aws.sdk.swift.cli", - factory: { StreamLogHandler.standardOutput(label: $0) } + factory: { + var logger = StreamLogHandler.standardOutput(label: $0) + logger.logLevel = .info + return logger + } ) } diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift index 00dd1a4019b..4c2636e59a5 100644 --- a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift @@ -52,14 +52,10 @@ public func _runReturningStdOut(_ process: Process) throws -> String? { let stdOut = Pipe() process.standardOutput = stdOut - var data = Data() - stdOut.fileHandleForReading.readabilityHandler = { handle in - data += handle.availableData - } - try _run(process) process.waitUntilExit() + let data = try stdOut.fileHandleForReading.readToEnd() ?? Data() return String(data: data, encoding: .utf8) } @@ -76,7 +72,7 @@ public struct ProcessRunner { /// /// Runs the process and prints out the process's full command. public static let standard = ProcessRunner { process in - log("Running process: \(process.commandString)") + log(level: .debug, "Running process: \(process.commandString)") try process.run() process.waitUntilExit() let exitCode = ExitCode(process.terminationStatus) diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift index ca37d7a6031..409ab988dc0 100644 --- a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/String+Utils.swift @@ -37,3 +37,9 @@ public extension String { /// Returns the string that represents a newline static var newline: Self { "\n" } } + +public func printError(_ items: Any..., separator: String = " ", terminator: String = "\n") throws { + var s = "" + print(items, separator: separator, terminator: terminator, to: &s) + try FileHandle.standardError.write(contentsOf: Data(s.utf8)) +} diff --git a/AWSSDKSwiftCLI/Sources/SPR/Invalidate.swift b/AWSSDKSwiftCLI/Sources/SPR/Invalidate.swift new file mode 100644 index 00000000000..6c3be477e3c --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/SPR/Invalidate.swift @@ -0,0 +1,25 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import AWSCLIUtils +import AWSCloudFront + +extension SPRPublisher { + + public static func invalidate(region: String, distributionID: String?, invalidations: [String]) async throws { + let cloudFrontClient = try CloudFrontClient(region: region) + let resolvedDistributionID = resolvedDistributionID(from: distributionID) + guard let resolvedDistributionID, !resolvedDistributionID.isEmpty else { + throw Error("CloudFront DistributionID not provided") + } + let invalidationPaths = invalidations.map { "/\($0)" } + let invalidationBatch = CloudFrontClientTypes.InvalidationBatch(callerReference: UUID().uuidString, paths: CloudFrontClientTypes.Paths(items: invalidationPaths, quantity: invalidationPaths.count)) + let input = CreateInvalidationInput(distributionId: distributionID, invalidationBatch: invalidationBatch) + _ = try await cloudFrontClient.createInvalidation(input: input) + } +} diff --git a/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift b/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift index 4346bc4ea52..48bceb31958 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift @@ -14,27 +14,23 @@ extension Process { enum SPR { /// Returns a process for executing `swift describe --type json` in a relative path static func describe(packagePath: String) -> Process { - let process = sprProcess(["swift", "package", "describe", "--type", "json"]) - let packageURL = URL(fileURLWithPath: packagePath).standardizedFileURL - process.currentDirectoryURL = packageURL - log("package file URL: \(packageURL)") + let process = Process(["swift", "package", "describe", "--type", "json"]) + process.currentDirectoryURL = packageFileURL(packagePath: packagePath) return process } static func archive(name: String, packagePath: String, archiveFileURL: URL) -> Process { - let process = sprProcess(["swift", "package", "archive-source", "--output", archiveFileURL.path()]) - let packageFileURL = URL(fileURLWithPath: packagePath).standardizedFileURL - process.currentDirectoryURL = packageFileURL + let process = Process(["swift", "package", "archive-source", "--output", archiveFileURL.path()]) + process.currentDirectoryURL = packageFileURL(packagePath: packagePath) return process } static func checksum(archiveFileURL: URL) -> Process { - sprProcess(["shasum", "-b", "-a", "256", archiveFileURL.path()]) + Process(["shasum", "-b", "-a", "256", archiveFileURL.path()]) } - /// Returns a process for executing SPR commands. - private static func sprProcess(_ args: [String]) -> Process { - Process(args) + private static func packageFileURL(packagePath: String) -> URL { + URL(fileURLWithPath: packagePath).standardizedFileURL } } } diff --git a/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift b/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift index 5fae5608d0f..681b0875b34 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift @@ -21,6 +21,7 @@ public struct SPRPublisher { public var replace = false var checksum = "" + public var invalidations = [String]() public init( scope: String, @@ -46,20 +47,35 @@ public struct SPRPublisher { public mutating func run() async throws { await setOptions() + print(" Verifying package... ", terminator: "") try verifyPackage() + print("[done]") + print(" Generating & uploading archive... ", terminator: "") try await uploadArchive() + print("[done]") + print(" Uploading Package.swift... ", terminator: "") try await uploadManifest() + print("[done]") + print(" Uploading package metadata... ", terminator: "") try await uploadMetadata() + print("[done]") + print(" Updating package list... ", terminator: "") try await updateList() + print("[done]") } private mutating func setOptions() async { - await SDKLoggingSystem.initialize(logLevel: .info) + await SDKLoggingSystem.initialize(logLevel: .error) let env = ProcessInfo.processInfo.environment bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] if region.isEmpty { region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" } - distributionID = distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] + distributionID = Self.resolvedDistributionID(from: distributionID) + } + + static func resolvedDistributionID(from distributionID: String?) -> String? { + let env = ProcessInfo.processInfo.environment + return distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] } } diff --git a/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift b/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift index 1d94f391eb6..1e6aa876b3b 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift @@ -7,7 +7,6 @@ import Foundation import AWSS3 -import AWSCloudFront import Smithy import SmithyStreams import ClientRuntime @@ -15,13 +14,12 @@ import AWSCLIUtils extension SPRPublisher { - func updateList() async throws { + mutating func updateList() async throws { let s3Client = try S3Client(region: region) var list = try await verify(s3Client: s3Client) list.releases[version] = try makeRelease() try await upload(s3Client: s3Client, list: list) - let cloudFrontClient = try CloudFrontClient(region: region) - try await invalidate(cloudFrontClient: cloudFrontClient) + invalidations.append(listKey) } private func verify(s3Client: S3Client) async throws -> ListPackageReleases { @@ -33,10 +31,7 @@ extension SPRPublisher { throw Error("Could not get version list.") } list = try JSONDecoder().decode(ListPackageReleases.self, from: data) - log("Version list found.") - log("Contents: \(String(data: data, encoding: .utf8) ?? "")") } catch is NoSuchKey { - log("Version list is not found, creating a new one.") list = ListPackageReleases(releases: [:]) } guard !list.releases.keys.contains(version) || replace else { @@ -50,22 +45,15 @@ extension SPRPublisher { } private func upload(s3Client: S3Client, list: ListPackageReleases) async throws { - let data = try JSONEncoder().encode(list) + let jsonEncoder = JSONEncoder() + jsonEncoder.outputFormatting = [.prettyPrinted, .sortedKeys] + let data = try jsonEncoder.encode(list) let body = ByteStream.data(data) let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/json", key: listKey) _ = try await s3Client.putObject(input: input) } - private func invalidate(cloudFrontClient: CloudFrontClient) async throws { - guard let distributionID, !distributionID.isEmpty else { - throw Error("CloudFront DistributionID not provided") - } - let invalidationBatch = CloudFrontClientTypes.InvalidationBatch(callerReference: UUID().uuidString, paths: CloudFrontClientTypes.Paths(items: ["/\(listKey)"], quantity: 1)) - let input = CreateInvalidationInput(distributionId: distributionID, invalidationBatch: invalidationBatch) - _ = try await cloudFrontClient.createInvalidation(input: input) - } - - private var listKey: String { + var listKey: String { "\(scope)/\(name)" } diff --git a/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift index a7808fd0a08..a2ca537e8f8 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift @@ -17,14 +17,14 @@ extension SPRPublisher { let tmpDirFileURL = FileManager.default.temporaryDirectory let archiveFileURL = tmpDirFileURL.appending(component: "\(UUID().uuidString).zip") let archiveProcess = Process.SPR.archive(name: name, packagePath: path, archiveFileURL: archiveFileURL) - try _run(archiveProcess) + _ = try _runReturningStdOut(archiveProcess) guard FileManager.default.fileExists(atPath: archiveFileURL.path()) else { throw Error("Archive process succeeded but archive does not exist.") } let checksumProcess = Process.SPR.checksum(archiveFileURL: archiveFileURL) let checksumStdout = try _runReturningStdOut(checksumProcess) guard let checksum = checksumStdout?.split(separator: " ").first else { - throw Error("Checksum could not be parsed") + throw Error("Checksum could not be parsed. Output: \(checksumStdout ?? "")") } self.checksum = String(checksum) let s3Client = try S3Client(region: region) diff --git a/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift index e93788566db..f1af783de45 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift @@ -34,7 +34,9 @@ extension SPRPublisher { private func upload(s3Client: S3Client) async throws { let metadata = createMetadata() - let data = try JSONEncoder().encode(metadata) + let jsonEncoder = JSONEncoder() + jsonEncoder.outputFormatting = [.prettyPrinted, .sortedKeys] + let data = try jsonEncoder.encode(metadata) let body = ByteStream.data(data) let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/json", key: metadataKey) _ = try await s3Client.putObject(input: input) diff --git a/AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift b/AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift index 86b6e6e54ee..1f28a8a60d3 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/VerifyPackage.swift @@ -21,6 +21,11 @@ extension SPRPublisher { guard let stdout = try _runReturningStdOut(Process.SPR.describe(packagePath: path)) else { throw Error("no stdout from Describe command") } - return try JSONDecoder().decode(Describe.self, from: Data(stdout.utf8)) + do { + return try JSONDecoder().decode(Describe.self, from: Data(stdout.utf8)) + } catch { + try printError("Error occurred while parsing JSON package description.") + throw error + } } } diff --git a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift index 5ecef25cac6..60ac67f8805 100644 --- a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift @@ -15,7 +15,8 @@ struct SPRMultiPublish: AsyncParsableCommand { static var configuration = CommandConfiguration( commandName: "spr-multi-publish", - abstract: "Publishes a new version of all aws-sdk-swift & smithy-swift packages to SPR." + abstract: "Publishes a new version of all aws-sdk-swift & smithy-swift packages to SPR.", + version: "0.0.1" ) @Option(help: "The scope of the package being published. Must meet the requirements of the Swift Package Registry spec.") @@ -40,38 +41,52 @@ struct SPRMultiPublish: AsyncParsableCommand { var replace = false mutating func run() async throws { + let start = Date() let allPackages = try runtimePackages + serviceClientPackages - for (name, path) in allPackages { - log("Package: \(name)") - log(" Path: \(path)") - let manifestURL = URL(fileURLWithPath: path).standardizedFileURL - guard FileManager.default.fileExists(atPath: manifestURL.path) else { - throw Error("File does not exist at \(manifestURL)") + var allInvalidations = [String]() + do { + for (name, path) in allPackages { + print("Package: \(name)") + var publisher = SPRPublisher( + scope: scope, + name: name, + version: version, + path: path, + region: region, + bucket: bucket, + url: url, + distributionID: distributionID, + replace: replace + ) + try await publisher.run() + allInvalidations.append(contentsOf: publisher.invalidations) + print("") } -// var publisher = SPRPublisher( -// scope: scope, -// name: name, -// version: version, -// path: path, -// region: region, -// bucket: bucket, -// url: url, -// distributionID: distributionID, -// replace: replace -// ) -// try await publisher.run() + try await invalidate(allInvalidations) + } catch { + try printError("Error caught while publishing.") + try await invalidate(allInvalidations) + throw error } + + let elapsed = Date().timeIntervalSince(start) + print("Time elapsed: \(String(format: "%.2f", elapsed)) sec") + } + + private func invalidate(_ invalidations: [String]) async throws { + print("Finishing & invalidating \(invalidations.count) package lists.") + try await SPRPublisher.invalidate(region: region, distributionID: distributionID, invalidations: invalidations) } private var runtimePackages: [(String, String)] { return [ ("smithy-swift", "../../smithy-swift/"), - runtimePackage("AWSClientRuntime"), - runtimePackage("AWSSDKChecksums"), - runtimePackage("AWSSDKCommon"), - runtimePackage("AWSSDKEventStreamsAuth"), - runtimePackage("AWSSDKHTTPAuth"), - runtimePackage("AWSSDKIdentity"), + awsRuntimePackage("AWSClientRuntime"), + awsRuntimePackage("AWSSDKChecksums"), + awsRuntimePackage("AWSSDKCommon"), + awsRuntimePackage("AWSSDKEventStreamsAuth"), + awsRuntimePackage("AWSSDKHTTPAuth"), + awsRuntimePackage("AWSSDKIdentity"), ] } @@ -85,7 +100,7 @@ struct SPRMultiPublish: AsyncParsableCommand { } } - private func runtimePackage(_ name: String) -> (String, String) { + private func awsRuntimePackage(_ name: String) -> (String, String) { return (name, "../Sources/Core/\(name)/") } diff --git a/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift index 04c8a3468a7..36fa1d4f5dd 100644 --- a/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift @@ -15,7 +15,7 @@ struct SPRPublish: AsyncParsableCommand { static var configuration = CommandConfiguration( commandName: "spr-publish", abstract: "Publishes a new version of a package to SPR.", - version: "1.0.0" + version: "0.0.1" ) @Option(help: "The ID of the package being published. Must meet the requirements of the Swift Package Registry spec.") @@ -48,6 +48,8 @@ struct SPRPublish: AsyncParsableCommand { var checksum = "" mutating func run() async throws { + let start = Date() + print("Package: \(name)") var publisher = SPRPublisher( scope: scope, name: name, @@ -60,5 +62,9 @@ struct SPRPublish: AsyncParsableCommand { replace: replace ) try await publisher.run() + try await SPRPublisher.invalidate(region: region, distributionID: distributionID, invalidations: publisher.invalidations) + + let elapsed = Date().timeIntervalSince(start) + print("Time elapsed: \(String(format: "%.2f", elapsed)) sec") } } diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index 2575f5f1b7a..876f63af38e 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -115,7 +115,8 @@ fun generateSmithyBuild(services: List): String { "rootProject": $buildStandaloneSdk }, "useInterceptors": ${interceptorsServices.contains(service.packageName)}, - "mergeModels": true + "mergeModels": true, + "registries": { "scope": "aws-sdk-swift", "url": "https://d1b0xmm48lrxf5.cloudfront.net/" } } } } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt new file mode 100644 index 00000000000..80877d55c20 --- /dev/null +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt @@ -0,0 +1,37 @@ +package software.amazon.smithy.aws.swift.codegen.swiftintegrations + +import software.amazon.smithy.model.Model +import software.amazon.smithy.swift.codegen.SwiftDelegator +import software.amazon.smithy.swift.codegen.SwiftSettings +import software.amazon.smithy.swift.codegen.core.SwiftCodegenContext +import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator +import software.amazon.smithy.swift.codegen.integration.SwiftIntegration + +class RegistryConfigIntegration: SwiftIntegration { + + override fun enabledForService(model: Model, settings: SwiftSettings): Boolean = true + + override fun writeAdditionalFiles( + ctx: SwiftCodegenContext, + protocolGenerationContext: ProtocolGenerator.GenerationContext, + delegator: SwiftDelegator + ) { + protocolGenerationContext.delegator.useFileWriter(".swiftpm/configuration/registries.json") { writer -> + val json = """ + { + "authentication" : { + + }, + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + } + }, + "version" : 1 + } + """.trimIndent() + writer.write(json) + } + } +} \ No newline at end of file diff --git a/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration b/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration index 5be00c33f94..b46a35096ce 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration +++ b/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration @@ -23,3 +23,4 @@ software.amazon.smithy.aws.swift.codegen.model.AWSEndpointTraitTransformer software.amazon.smithy.aws.swift.codegen.model.AWSDeprecatedShapeRemover software.amazon.smithy.aws.swift.codegen.AWSClientConfigurationIntegration software.amazon.smithy.swift.codegen.swiftintegrations.InitialRequestIntegration +software.amazon.smithy.aws.swift.codegen.swiftintegrations.RegistryConfigIntegration From 071e733966729b9f63e1fd7d596d3342646df37c Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 16:24:50 -0500 Subject: [PATCH 08/45] Add per-service versioning --- ServiceClientVersions.json | 4 ++++ codegen/sdk-codegen/build.gradle.kts | 8 ++++++- .../PackageVersionIntegration.kt | 24 +++++++++++++++++++ .../RegistryConfigIntegration.kt | 12 +++++++--- ...swift.codegen.integration.SwiftIntegration | 1 + 5 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 ServiceClientVersions.json create mode 100644 codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt diff --git a/ServiceClientVersions.json b/ServiceClientVersions.json new file mode 100644 index 00000000000..b35b25b6f74 --- /dev/null +++ b/ServiceClientVersions.json @@ -0,0 +1,4 @@ +{ + "sdk": "0.6.9", + "s3": "3.2.1" +} diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index 876f63af38e..a2df9c50063 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -6,9 +6,12 @@ // This build file has been adapted from the Go v2 SDK, here: // https://github.com/aws/aws-sdk-go-v2/blob/master/codegen/sdk-codegen/build.gradle.kts +import org.jetbrains.kotlin.com.google.common.primitives.Chars import software.amazon.smithy.gradle.tasks.SmithyBuild import software.amazon.smithy.model.Model +import software.amazon.smithy.model.node.Node import software.amazon.smithy.model.shapes.ServiceShape +import java.nio.charset.Charset import java.util.Properties import kotlin.streams.toList @@ -162,13 +165,16 @@ fun discoverServices(): List { val serviceApi = service.getTrait(software.amazon.smithy.aws.traits.ServiceTrait::class.java).orNull() ?: error { "Expected aws.api#service trait attached to model ${file.absolutePath}" } val (name, version, _) = file.name.split(".") + val serviceClientVersions = Node.parse(rootProject.file("ServiceClientVersions.json").readText(Charset.forName("UTF-8"))) + val packageVersion = serviceClientVersions.expectObjectNode().getStringMember(name).orNull()?.value ?: + serviceClientVersions.expectObjectNode().getStringMember("sdk").get().value logger.info("discovered service: ${serviceApi.sdkId}") AwsService( name = service.id.toString(), packageName = "AWS${serviceApi.sdkId.filterNot { it.isWhitespace() }.capitalize()}", - packageVersion = "1.0", + packageVersion = packageVersion, modelFile = file, projectionName = name + "." + version.toLowerCase(), sdkId = serviceApi.sdkId, diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt new file mode 100644 index 00000000000..88e70921c5f --- /dev/null +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt @@ -0,0 +1,24 @@ +package software.amazon.smithy.aws.swift.codegen.swiftintegrations + +import software.amazon.smithy.model.Model +import software.amazon.smithy.swift.codegen.SwiftDelegator +import software.amazon.smithy.swift.codegen.SwiftSettings +import software.amazon.smithy.swift.codegen.core.SwiftCodegenContext +import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator +import software.amazon.smithy.swift.codegen.integration.SwiftIntegration + +class PackageVersionIntegration: SwiftIntegration { + + override fun enabledForService(model: Model, settings: SwiftSettings): Boolean = true + + override fun writeAdditionalFiles( + ctx: SwiftCodegenContext, + protocolGenerationContext: ProtocolGenerator.GenerationContext, + delegator: SwiftDelegator + ) { + val path = "Sources/${ctx.settings.moduleName}/Resources/Package.version" + protocolGenerationContext.delegator.useFileWriter(path) { writer -> + writer.writeInline(ctx.settings.moduleVersion) + } + } +} \ No newline at end of file diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt index 80877d55c20..c034db7374e 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt @@ -19,15 +19,21 @@ class RegistryConfigIntegration: SwiftIntegration { protocolGenerationContext.delegator.useFileWriter(".swiftpm/configuration/registries.json") { writer -> val json = """ { - "authentication" : { - - }, "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" } }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, "version" : 1 } """.trimIndent() diff --git a/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration b/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration index b46a35096ce..d3caedc2d82 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration +++ b/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration @@ -24,3 +24,4 @@ software.amazon.smithy.aws.swift.codegen.model.AWSDeprecatedShapeRemover software.amazon.smithy.aws.swift.codegen.AWSClientConfigurationIntegration software.amazon.smithy.swift.codegen.swiftintegrations.InitialRequestIntegration software.amazon.smithy.aws.swift.codegen.swiftintegrations.RegistryConfigIntegration +software.amazon.smithy.aws.swift.codegen.swiftintegrations.PackageVersionIntegration \ No newline at end of file From 73333697af004c860f608c880f8c2b533ebfe9ab Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 16:48:54 -0500 Subject: [PATCH 09/45] Fix main Package.swift so it builds --- .../Resources/Package.Base.swift | 22 +++++++++---------- Package.swift | 22 +++++++++---------- Sources/Core/AWSClientRuntime/Package.swift | 3 ++- .../Resources}/PrivacyInfo.xcprivacy | 0 4 files changed, 24 insertions(+), 23 deletions(-) rename Sources/Core/AWSClientRuntime/{ => Sources/AWSClientRuntime/Resources}/PrivacyInfo.xcprivacy (100%) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift index c81a58090e5..b7f353a50b8 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift @@ -83,56 +83,56 @@ let package = Package( .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "./Sources/Core/AWSClientRuntime", + path: "Sources/Core/AWSClientRuntime/Sources", resources: [ - .copy("PrivacyInfo.xcprivacy") + .process("AWSClientRuntime/Resources") ] ), .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "./Sources/Core/AWSSDKCommon" + path: "Sources/Core/AWSSDKCommon/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "./Sources/Core/AWSSDKEventStreamsAuth" + path: "Sources/Core/AWSSDKEventStreamsAuth/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "./Sources/Core/AWSSDKHTTPAuth" + path: "Sources/Core/AWSSDKHTTPAuth/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "./Sources/Core/AWSSDKIdentity" + path: "Sources/Core/AWSSDKIdentity/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "./Sources/Core/AWSSDKChecksums" + path: "Sources/Core/AWSSDKChecksums/Sources" ), .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "./Tests/Core/AWSClientRuntimeTests", + path: "Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams], - path: "./Tests/Core/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "./Tests/Core/AWSSDKHTTPAuthTests" + path: "Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "./Tests/Core/AWSSDKIdentityTests", + path: "Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ) ] diff --git a/Package.swift b/Package.swift index 00d84edf319..de55f64c8a0 100644 --- a/Package.swift +++ b/Package.swift @@ -83,56 +83,56 @@ let package = Package( .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "./Sources/Core/AWSClientRuntime", + path: "Sources/Core/AWSClientRuntime/Sources", resources: [ - .copy("PrivacyInfo.xcprivacy") + .process("AWSClientRuntime/Resources/PrivacyInfo.xcprivacy") ] ), .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "./Sources/Core/AWSSDKCommon" + path: "Sources/Core/AWSSDKCommon/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "./Sources/Core/AWSSDKEventStreamsAuth" + path: "Sources/Core/AWSSDKEventStreamsAuth/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "./Sources/Core/AWSSDKHTTPAuth" + path: "Sources/Core/AWSSDKHTTPAuth/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "./Sources/Core/AWSSDKIdentity" + path: "Sources/Core/AWSSDKIdentity/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "./Sources/Core/AWSSDKChecksums" + path: "Sources/Core/AWSSDKChecksums/Sources" ), .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "./Tests/Core/AWSClientRuntimeTests", + path: "Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams], - path: "./Tests/Core/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "./Tests/Core/AWSSDKHTTPAuthTests" + path: "Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "./Tests/Core/AWSSDKIdentityTests", + path: "Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ) ] diff --git a/Sources/Core/AWSClientRuntime/Package.swift b/Sources/Core/AWSClientRuntime/Package.swift index 2bfe0486fa4..6ff028b3ac0 100644 --- a/Sources/Core/AWSClientRuntime/Package.swift +++ b/Sources/Core/AWSClientRuntime/Package.swift @@ -33,7 +33,8 @@ let package = Package( .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), .product(name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth"), .product(name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity"), - ] + ], + resources: [.process("Resources")] ), .testTarget( name: "AWSClientRuntimeTests", diff --git a/Sources/Core/AWSClientRuntime/PrivacyInfo.xcprivacy b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from Sources/Core/AWSClientRuntime/PrivacyInfo.xcprivacy rename to Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy From 70d5f309bed089fb840b4936606ceb9193907451 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 16:55:48 -0500 Subject: [PATCH 10/45] Correct AWSClientRuntime Resource location --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index de55f64c8a0..9951c23f467 100644 --- a/Package.swift +++ b/Package.swift @@ -85,7 +85,7 @@ let package = Package( ], path: "Sources/Core/AWSClientRuntime/Sources", resources: [ - .process("AWSClientRuntime/Resources/PrivacyInfo.xcprivacy") + .process("AWSClientRuntime/Resources") ] ), .target( From 91220cb78506e1f7a6f26040d118642deff7b344 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 17:26:11 -0500 Subject: [PATCH 11/45] Add resources to target in main Package.swift --- .../Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift | 3 ++- Package.swift | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift index b7f353a50b8..e2bb3d6fad4 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift @@ -223,7 +223,8 @@ func addServiceUnitTestTarget(_ name: String) { .testTarget( name: "\(testName)", dependencies: [.crt, .clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils], - path: "./Sources/Services/\(name)/Tests/\(testName)" + path: "Sources/Services/\(name)/Sources/\(name)", + resources: [.process("Resources")] ) ] } diff --git a/Package.swift b/Package.swift index 9951c23f467..87cb7ca7191 100644 --- a/Package.swift +++ b/Package.swift @@ -212,7 +212,8 @@ func addServiceTarget(_ name: String) { .target( name: name, dependencies: serviceTargetDependencies, - path: "./Sources/Services/\(name)/Sources/\(name)" + path: "Sources/Services/\(name)/Sources/\(name)", + resources: [.process("Resources")] ) ] } From ddc9cc4062a527d6b8643625c8c6dcb7bb5d93cb Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 19:29:14 -0500 Subject: [PATCH 12/45] Fix lint, fix CI failure --- .swiftlint.yml | 7 ++++++- .../Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift | 2 +- .../codegen/swiftintegrations/PackageVersionIntegration.kt | 4 ++-- .../codegen/swiftintegrations/RegistryConfigIntegration.kt | 4 ++-- scripts/ci_steps/codegen_sdk.sh | 1 + scripts/ci_steps/prepare_integration_tests.sh | 1 + scripts/ci_steps/prepare_protocol_and_unit_tests.sh | 1 + scripts/codegen.sh | 1 + 8 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 16596878fa2..987cb705e38 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,5 +1,10 @@ included: - - Sources/Core + - Sources/Core/AWSClientRuntime/Sources + - Sources/Core/AWSSDKChecksums/Sources + - Sources/Core/AWSSDKCommon/Sources + - Sources/Core/AWSSDKEventStreamsAuth/Sources + - Sources/Core/AWSSDKHTTPAuth/Sources + - Sources/Core/AWSSDKIdentity/Sources analyzer_rules: - unused_import diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift index 087f0913b53..a579135a0ea 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift @@ -47,7 +47,7 @@ public struct AWSS3ErrorWith200StatusXMLMiddleware") } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt index 88e70921c5f..fb16f7820b7 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt @@ -7,7 +7,7 @@ import software.amazon.smithy.swift.codegen.core.SwiftCodegenContext import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator import software.amazon.smithy.swift.codegen.integration.SwiftIntegration -class PackageVersionIntegration: SwiftIntegration { +class PackageVersionIntegration : SwiftIntegration { override fun enabledForService(model: Model, settings: SwiftSettings): Boolean = true @@ -21,4 +21,4 @@ class PackageVersionIntegration: SwiftIntegration { writer.writeInline(ctx.settings.moduleVersion) } } -} \ No newline at end of file +} diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt index c034db7374e..2c49b72c557 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt @@ -7,7 +7,7 @@ import software.amazon.smithy.swift.codegen.core.SwiftCodegenContext import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator import software.amazon.smithy.swift.codegen.integration.SwiftIntegration -class RegistryConfigIntegration: SwiftIntegration { +class RegistryConfigIntegration : SwiftIntegration { override fun enabledForService(model: Model, settings: SwiftSettings): Boolean = true @@ -40,4 +40,4 @@ class RegistryConfigIntegration: SwiftIntegration { writer.write(json) } } -} \ No newline at end of file +} diff --git a/scripts/ci_steps/codegen_sdk.sh b/scripts/ci_steps/codegen_sdk.sh index e58c957808a..bcc3edbf418 100755 --- a/scripts/ci_steps/codegen_sdk.sh +++ b/scripts/ci_steps/codegen_sdk.sh @@ -12,6 +12,7 @@ rm -rf Tests/Services/* ./gradlew --stop # Regenerate the SDK Package.swift with all services +unset AWS_SWIFT_SDK_USE_LOCAL_DEPS cd AWSSDKSwiftCLI swift run AWSSDKSwiftCLI generate-package-manifest .. cd .. diff --git a/scripts/ci_steps/prepare_integration_tests.sh b/scripts/ci_steps/prepare_integration_tests.sh index bbcee456878..86476aa7ed0 100755 --- a/scripts/ci_steps/prepare_integration_tests.sh +++ b/scripts/ci_steps/prepare_integration_tests.sh @@ -15,6 +15,7 @@ rm -rf Sources/Services/* # Regenerate the SDK Package.swift to run only integration tests cd AWSSDKSwiftCLI +unset AWS_SWIFT_SDK_USE_LOCAL_DEPS swift run AWSSDKSwiftCLI generate-package-manifest --exclude-runtime-tests .. cd .. diff --git a/scripts/ci_steps/prepare_protocol_and_unit_tests.sh b/scripts/ci_steps/prepare_protocol_and_unit_tests.sh index f25745227fb..b2641ab0c21 100755 --- a/scripts/ci_steps/prepare_protocol_and_unit_tests.sh +++ b/scripts/ci_steps/prepare_protocol_and_unit_tests.sh @@ -3,6 +3,7 @@ set -e cd AWSSDKSwiftCLI +unset AWS_SWIFT_SDK_USE_LOCAL_DEPS swift run AWSSDKSwiftCLI generate-package-manifest --exclude-aws-services .. cd .. diff --git a/scripts/codegen.sh b/scripts/codegen.sh index 506fbbbc4ae..e04596ab867 100755 --- a/scripts/codegen.sh +++ b/scripts/codegen.sh @@ -32,6 +32,7 @@ rm -rf Tests/Services/* # Regenerate the package manifest and doc index, with args passed into this script cd AWSSDKSwiftCLI +unset AWS_SWIFT_SDK_USE_LOCAL_DEPS swift run AWSSDKSwiftCLI generate-package-manifest "$@" .. swift run AWSSDKSwiftCLI generate-doc-index .. cd .. From eb409a08ae41f938edc524bbcf69cf395548e2ab Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 20:51:46 -0500 Subject: [PATCH 13/45] Wrap URL.path() to be platform dependent --- .../Sources/AWSCLIUtils/URL+Path.swift | 22 +++++++++++++++++++ AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift | 4 ++-- .../Sources/SPR/UploadArchive.swift | 2 +- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 AWSSDKSwiftCLI/Sources/AWSCLIUtils/URL+Path.swift diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/URL+Path.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/URL+Path.swift new file mode 100644 index 00000000000..a3803cfac48 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/URL+Path.swift @@ -0,0 +1,22 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation + +@_disfavoredOverload +public func urlPath(_ url: URL?) -> String? { + guard let url else { return nil } + return urlPath(url) +} + +public func urlPath(_ url: URL) -> String { + #if os(Linux) + return url.path + #else + return url.path() + #endif +} diff --git a/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift b/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift index 48bceb31958..513c162a3cc 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/Process+SPR.swift @@ -20,13 +20,13 @@ extension Process { } static func archive(name: String, packagePath: String, archiveFileURL: URL) -> Process { - let process = Process(["swift", "package", "archive-source", "--output", archiveFileURL.path()]) + let process = Process(["swift", "package", "archive-source", "--output", urlPath(archiveFileURL)]) process.currentDirectoryURL = packageFileURL(packagePath: packagePath) return process } static func checksum(archiveFileURL: URL) -> Process { - Process(["shasum", "-b", "-a", "256", archiveFileURL.path()]) + Process(["shasum", "-b", "-a", "256", urlPath(archiveFileURL)]) } private static func packageFileURL(packagePath: String) -> URL { diff --git a/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift index a2ca537e8f8..4298d47f6ba 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift @@ -18,7 +18,7 @@ extension SPRPublisher { let archiveFileURL = tmpDirFileURL.appending(component: "\(UUID().uuidString).zip") let archiveProcess = Process.SPR.archive(name: name, packagePath: path, archiveFileURL: archiveFileURL) _ = try _runReturningStdOut(archiveProcess) - guard FileManager.default.fileExists(atPath: archiveFileURL.path()) else { + guard FileManager.default.fileExists(atPath: urlPath(archiveFileURL)) else { throw Error("Archive process succeeded but archive does not exist.") } let checksumProcess = Process.SPR.checksum(archiveFileURL: archiveFileURL) From 52660776434a8293bc0904ac6b84170951a7e887 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 20:59:28 -0500 Subject: [PATCH 14/45] Fix one more path() --- AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift index 4c2636e59a5..25a76634b58 100644 --- a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift @@ -29,7 +29,7 @@ public extension Process { /// Returns the executable and arguments combined as a string var commandString: String { - let items = [executableURL?.path()] + (arguments ?? []) + let items = [urlPath(executableURL)] + (arguments ?? []) return items .compactMap { $0 } .joined(separator: " ") From 4db4cef67d9659d8a3feddc41b230950544eac7f Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 21:18:24 -0500 Subject: [PATCH 15/45] Fix paths in Package.swift --- .../Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift | 6 +++--- Package.swift | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift index e2bb3d6fad4..df346cdb2e1 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift @@ -212,7 +212,8 @@ func addServiceTarget(_ name: String) { .target( name: name, dependencies: serviceTargetDependencies, - path: "./Sources/Services/\(name)/Sources/\(name)" + path: "Sources/Services/\(name)/Sources/\(name)", + resources: [.process("Resources")] ) ] } @@ -223,8 +224,7 @@ func addServiceUnitTestTarget(_ name: String) { .testTarget( name: "\(testName)", dependencies: [.crt, .clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils], - path: "Sources/Services/\(name)/Sources/\(name)", - resources: [.process("Resources")] + path: "Sources/Services/\(name)/Tests/\(testName)" ) ] } diff --git a/Package.swift b/Package.swift index 87cb7ca7191..7c84a5c93cb 100644 --- a/Package.swift +++ b/Package.swift @@ -212,7 +212,7 @@ func addServiceTarget(_ name: String) { .target( name: name, dependencies: serviceTargetDependencies, - path: "Sources/Services/\(name)/Sources/\(name)", + path: "./Sources/Services/\(name)/Sources/\(name)", resources: [.process("Resources")] ) ] @@ -224,7 +224,7 @@ func addServiceUnitTestTarget(_ name: String) { .testTarget( name: "\(testName)", dependencies: [.crt, .clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils], - path: "./Sources/Services/\(name)/Tests/\(testName)" + path: "Sources/Services/\(name)/Tests/\(testName)" ) ] } From 29a476dc1b3a07fe7880ea18d46503dcea4ddaec Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 22:58:01 -0500 Subject: [PATCH 16/45] Code cleanup --- .gitignore | 3 ++- .../AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift | 4 ++-- .../Sources/spr-publish/SPRPublish.swift | 2 -- ServiceClientVersions.json | 4 ++-- .../Core/AWSSDKEventStreamsAuth/Package.swift | 1 - .../AWSMessageDecoderStreamTests.swift | 2 +- Sources/Core/AWSSDKHTTPAuth/Package.swift | 18 +++++++++--------- .../CustomSigningPropertiesSetterTests.swift | 1 - Sources/Core/AWSSDKIdentity/Package.swift | 14 ++++++++------ codegen/sdk-codegen/build.gradle.kts | 4 +--- 10 files changed, 25 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index d81f8a17512..e1f7d79c4e2 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ workspace.xml # Gradle config & temp .gradle/ -local.properties +/local.properties # Swift/SPM config & temp .build/ @@ -37,4 +37,5 @@ codegen/protocol-test-codegen/smithy-build.json .vscode/ # Allow the AWSSDKSwiftCLI Package.resolved +# while excluding all other Package.resolved files !/AWSSDKSwiftCLI/Package.resolved diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift index be99f460bbb..6858269b5ab 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/AWSSDKSwiftCLI.swift @@ -8,7 +8,7 @@ import ArgumentParser @main -struct AWSSDKSwiftCLI: AsyncParsableCommand { +struct AWSSDKSwiftCLI: ParsableCommand { static var configuration = CommandConfiguration( commandName: "AWSSDKSwiftCLI", abstract: "CLI for managing the AWS SDK for Swift", @@ -17,7 +17,7 @@ struct AWSSDKSwiftCLI: AsyncParsableCommand { PrepareReleaseCommand.self, SyncClientRuntimeVersionCommand.self, TestAWSSDKCommand.self, - GenerateDocIndexCommand.self, + GenerateDocIndexCommand.self ] ) } diff --git a/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift index 36fa1d4f5dd..e19c4c49e8a 100644 --- a/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift @@ -45,8 +45,6 @@ struct SPRPublish: AsyncParsableCommand { @Option(help: "If true, any existing release matching this version will be replaced. If false and the selected version already exists, the publish command fails. Defaults to false.") var replace = false - var checksum = "" - mutating func run() async throws { let start = Date() print("Package: \(name)") diff --git a/ServiceClientVersions.json b/ServiceClientVersions.json index b35b25b6f74..ad020bfaace 100644 --- a/ServiceClientVersions.json +++ b/ServiceClientVersions.json @@ -1,4 +1,4 @@ { - "sdk": "0.6.9", - "s3": "3.2.1" + "sdk": "0.15.0", + "s3": "0.15.0" } diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift index 863f2e5dca9..e112cd9014b 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift @@ -32,7 +32,6 @@ let package = Package( ), .testTarget(name: "AWSSDKEventStreamsAuthTests", dependencies: [ "AWSSDKEventStreamsAuth", -// .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), .product(name: "SmithyStreams", package: "aws-sdk-swift.smithy-swift"), .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), ]), diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift index 5cf9ae3af95..e7d60438c46 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift +++ b/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift @@ -9,10 +9,10 @@ import SmithyEventStreamsAPI import SmithyEventStreams import XCTest import ClientRuntime -//import AWSClientRuntime import class SmithyStreams.BufferedStream final class AWSMessageDecoderStreamTests: XCTestCase { + func testIterator() async throws { let bufferedStream = BufferedStream( data: validMessageDataWithAllHeaders + validMessageDataEmptyPayload + validMessageDataNoHeaders, diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift b/Sources/Core/AWSSDKHTTPAuth/Package.swift index fd469b8edd4..76728defcc9 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/AWSSDKHTTPAuth/Package.swift @@ -18,7 +18,6 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKChecksums", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), -// .package(id: "aws-sdk-swift.AWSSDKEventStreamsAuth", from: "0.0.1"), ], targets: [ .target( @@ -32,13 +31,14 @@ let package = Package( .product(name: "AWSSDKChecksums", package: "aws-sdk-swift.AWSSDKChecksums"), ] ), - .testTarget(name: "AWSSDKHTTPAuthTests", dependencies: [ - "AWSSDKHTTPAuth", - .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), -// .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), -// .product(name: "AWSSDKEventStreamsAuth", package: "aws-sdk-swift.AWSSDKEventStreamsAuth"), - .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), - ]), + .testTarget( + name: "AWSSDKHTTPAuthTests", + dependencies: [ + "AWSSDKHTTPAuth", + .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), + .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), + ] + ), ] ) diff --git a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift index 70f1db55737..0a422706f8c 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift +++ b/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift @@ -12,7 +12,6 @@ import AWSSDKHTTPAuth import XCTest import SmithyTestUtil import ClientRuntime -//@testable import AWSClientRuntime class CustomSigningPropertiesSetterTests: XCTestCase { private var customSetter: AWSSDKHTTPAuth.CustomSigningPropertiesSetter! diff --git a/Sources/Core/AWSSDKIdentity/Package.swift b/Sources/Core/AWSSDKIdentity/Package.swift index 690694181c0..0a7f692819e 100644 --- a/Sources/Core/AWSSDKIdentity/Package.swift +++ b/Sources/Core/AWSSDKIdentity/Package.swift @@ -31,11 +31,13 @@ let package = Package( .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), ] ), - .testTarget(name: "AWSSDKIdentityTests", dependencies: [ - "AWSSDKIdentity", - .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), -// .product(name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime"), - ]), + .testTarget( + name: "AWSSDKIdentityTests", + dependencies: [ + "AWSSDKIdentity", + .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), + ] + ), ] ) diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index a2df9c50063..b1206c92fca 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -118,8 +118,7 @@ fun generateSmithyBuild(services: List): String { "rootProject": $buildStandaloneSdk }, "useInterceptors": ${interceptorsServices.contains(service.packageName)}, - "mergeModels": true, - "registries": { "scope": "aws-sdk-swift", "url": "https://d1b0xmm48lrxf5.cloudfront.net/" } + "mergeModels": true } } } @@ -200,7 +199,6 @@ task("stageSdks") { copy { from("${it.outputDir}") into("${it.sourcesDir}") -// exclude("Package.swift") } } } From 9bd23a94abb29802e6edc6a806acca5634bd8963 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 23:38:51 -0500 Subject: [PATCH 17/45] Update Package.swift to match base --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 7c84a5c93cb..84b32ac20bd 100644 --- a/Package.swift +++ b/Package.swift @@ -212,7 +212,7 @@ func addServiceTarget(_ name: String) { .target( name: name, dependencies: serviceTargetDependencies, - path: "./Sources/Services/\(name)/Sources/\(name)", + path: "Sources/Services/\(name)/Sources/\(name)", resources: [.process("Resources")] ) ] From a559104da60a77aa5efe97e41ceaaa0b249e68f0 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 23:39:14 -0500 Subject: [PATCH 18/45] Rename runtime manifests --- .../Core/AWSClientRuntime/{Package.swift => Package.swift.txt} | 0 Sources/Core/AWSSDKChecksums/{Package.swift => Package.swift.txt} | 0 Sources/Core/AWSSDKCommon/{Package.swift => Package.swift.txt} | 0 .../AWSSDKEventStreamsAuth/{Package.swift => Package.swift.txt} | 0 Sources/Core/AWSSDKHTTPAuth/{Package.swift => Package.swift.txt} | 0 Sources/Core/AWSSDKIdentity/{Package.swift => Package.swift.txt} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename Sources/Core/AWSClientRuntime/{Package.swift => Package.swift.txt} (100%) rename Sources/Core/AWSSDKChecksums/{Package.swift => Package.swift.txt} (100%) rename Sources/Core/AWSSDKCommon/{Package.swift => Package.swift.txt} (100%) rename Sources/Core/AWSSDKEventStreamsAuth/{Package.swift => Package.swift.txt} (100%) rename Sources/Core/AWSSDKHTTPAuth/{Package.swift => Package.swift.txt} (100%) rename Sources/Core/AWSSDKIdentity/{Package.swift => Package.swift.txt} (100%) diff --git a/Sources/Core/AWSClientRuntime/Package.swift b/Sources/Core/AWSClientRuntime/Package.swift.txt similarity index 100% rename from Sources/Core/AWSClientRuntime/Package.swift rename to Sources/Core/AWSClientRuntime/Package.swift.txt diff --git a/Sources/Core/AWSSDKChecksums/Package.swift b/Sources/Core/AWSSDKChecksums/Package.swift.txt similarity index 100% rename from Sources/Core/AWSSDKChecksums/Package.swift rename to Sources/Core/AWSSDKChecksums/Package.swift.txt diff --git a/Sources/Core/AWSSDKCommon/Package.swift b/Sources/Core/AWSSDKCommon/Package.swift.txt similarity index 100% rename from Sources/Core/AWSSDKCommon/Package.swift rename to Sources/Core/AWSSDKCommon/Package.swift.txt diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift.txt similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Package.swift rename to Sources/Core/AWSSDKEventStreamsAuth/Package.swift.txt diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift b/Sources/Core/AWSSDKHTTPAuth/Package.swift.txt similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Package.swift rename to Sources/Core/AWSSDKHTTPAuth/Package.swift.txt diff --git a/Sources/Core/AWSSDKIdentity/Package.swift b/Sources/Core/AWSSDKIdentity/Package.swift.txt similarity index 100% rename from Sources/Core/AWSSDKIdentity/Package.swift rename to Sources/Core/AWSSDKIdentity/Package.swift.txt From e0708bc5e2093c1e5b576f7c4306ebaa8b05eda9 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 28 Jun 2024 23:39:54 -0500 Subject: [PATCH 19/45] Revert "Rename runtime manifests" This reverts commit a559104da60a77aa5efe97e41ceaaa0b249e68f0. --- .../Core/AWSClientRuntime/{Package.swift.txt => Package.swift} | 0 Sources/Core/AWSSDKChecksums/{Package.swift.txt => Package.swift} | 0 Sources/Core/AWSSDKCommon/{Package.swift.txt => Package.swift} | 0 .../AWSSDKEventStreamsAuth/{Package.swift.txt => Package.swift} | 0 Sources/Core/AWSSDKHTTPAuth/{Package.swift.txt => Package.swift} | 0 Sources/Core/AWSSDKIdentity/{Package.swift.txt => Package.swift} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename Sources/Core/AWSClientRuntime/{Package.swift.txt => Package.swift} (100%) rename Sources/Core/AWSSDKChecksums/{Package.swift.txt => Package.swift} (100%) rename Sources/Core/AWSSDKCommon/{Package.swift.txt => Package.swift} (100%) rename Sources/Core/AWSSDKEventStreamsAuth/{Package.swift.txt => Package.swift} (100%) rename Sources/Core/AWSSDKHTTPAuth/{Package.swift.txt => Package.swift} (100%) rename Sources/Core/AWSSDKIdentity/{Package.swift.txt => Package.swift} (100%) diff --git a/Sources/Core/AWSClientRuntime/Package.swift.txt b/Sources/Core/AWSClientRuntime/Package.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Package.swift.txt rename to Sources/Core/AWSClientRuntime/Package.swift diff --git a/Sources/Core/AWSSDKChecksums/Package.swift.txt b/Sources/Core/AWSSDKChecksums/Package.swift similarity index 100% rename from Sources/Core/AWSSDKChecksums/Package.swift.txt rename to Sources/Core/AWSSDKChecksums/Package.swift diff --git a/Sources/Core/AWSSDKCommon/Package.swift.txt b/Sources/Core/AWSSDKCommon/Package.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/Package.swift.txt rename to Sources/Core/AWSSDKCommon/Package.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift.txt b/Sources/Core/AWSSDKEventStreamsAuth/Package.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Package.swift.txt rename to Sources/Core/AWSSDKEventStreamsAuth/Package.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift.txt b/Sources/Core/AWSSDKHTTPAuth/Package.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Package.swift.txt rename to Sources/Core/AWSSDKHTTPAuth/Package.swift diff --git a/Sources/Core/AWSSDKIdentity/Package.swift.txt b/Sources/Core/AWSSDKIdentity/Package.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Package.swift.txt rename to Sources/Core/AWSSDKIdentity/Package.swift From 6e0c8227d457f7a1bd30bce3ee626acbfbef9989 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Sun, 30 Jun 2024 14:37:30 -0500 Subject: [PATCH 20/45] Ignore changes in generated code --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e1f7d79c4e2..76118c59373 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,5 @@ codegen/protocol-test-codegen/smithy-build.json # Allow the AWSSDKSwiftCLI Package.resolved # while excluding all other Package.resolved files !/AWSSDKSwiftCLI/Package.resolved + +/Sources/Services/* From 326115a82453c4151878009df1139304f1db8ccf Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Tue, 2 Jul 2024 16:34:11 -0500 Subject: [PATCH 21/45] Use version var in user agent middleware --- .../aws/swift/codegen/middleware/UserAgentMiddleware.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/UserAgentMiddleware.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/UserAgentMiddleware.kt index 84a46a527e9..79c3364e6c5 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/UserAgentMiddleware.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/UserAgentMiddleware.kt @@ -28,7 +28,7 @@ class UserAgentMiddleware(val settings: SwiftSettings) : MiddlewareRenderable { writer: SwiftWriter, op: OperationShape ) { - val params = middlewareParamsString(writer) + val params = middlewareParamsString(ctx, writer) val input = MiddlewareShapeUtils.inputSymbol(ctx.symbolProvider, ctx.model, op) val output = MiddlewareShapeUtils.outputSymbol(ctx.symbolProvider, ctx.model, op) writer.write( @@ -39,11 +39,11 @@ class UserAgentMiddleware(val settings: SwiftSettings) : MiddlewareRenderable { ) } - private fun middlewareParamsString(writer: SwiftWriter): String { + private fun middlewareParamsString(ctx: ProtocolGenerator.GenerationContext, writer: SwiftWriter): String { return writer.format( - "metadata: \$N.fromConfig(serviceID: serviceName, version: \$S, config: config)", + "metadata: \$N.fromConfig(serviceID: serviceName, version: \$L.version, config: config)", AWSClientRuntimeTypes.Core.AWSUserAgentMetadata, - settings.moduleVersion, + ctx.symbolProvider.toSymbol(ctx.service).name, ) } } From 2402c8042cfc283e3f63d426c5056b436f014e47 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 3 Jul 2024 18:12:20 -0500 Subject: [PATCH 22/45] Rearrange files to support Xcode edit mode --- .../Resources/Package.Base.swift | 20 +++++++++---------- Package.swift | 20 +++++++++---------- .../Package.swift | 16 +++++++-------- .../AWSClientConfigDefaultsProvider.swift | 0 .../AWSDefaultClientConfiguration.swift | 0 .../Config/AWSRegionClientConfiguration.swift | 0 .../Config/FieldResolver.swift | 0 .../Endpoints/AWSEndpoint.swift | 0 .../Endpoints/AWSPartitionDefinition.swift | 0 .../EndpointResolverMiddleware.swift | 0 .../Endpoints/Partition.swift | 0 .../ServiceEndpointMetadata+Extension.swift | 0 .../AWSClientRuntime/Environment.swift | 0 .../Errors/AWSS3ServiceError.swift | 0 .../Errors/AWSServiceError.swift | 0 .../Candidates/InvalidAccessKeyId.swift | 0 .../UnknownAWSHTTPErrorCandidate.swift | 0 .../Errors/UnknownAWSHTTPServiceError.swift | 0 .../HTTP/HttpResponse+AWS.swift | 0 .../AWSClientRuntime/IMDS/IMDSClient.swift | 0 .../AWSClientRuntime/IMDS/IMDSConfig.swift | 0 ...AWSS3ErrorWith200StatusXMLMiddleware.swift | 0 .../FlexibleChecksumsRequestMiddleware.swift | 0 .../FlexibleChecksumsResponseMiddleware.swift | 0 .../Route53TrimHostedZoneMiddleware.swift | 0 .../Sha256TreeHashMiddleware.swift | 0 .../Middlewares/UserAgentMiddleware.swift | 0 .../Middlewares/XAmzTargetMiddleware.swift | 0 .../Plugins/DefaultAWSClientPlugin.swift | 0 .../Plugins/RegionPlugin.swift | 0 .../PrimitiveExtensions/Data+Extension.swift | 0 .../String+Extension.swift | 0 .../TimeInterval+Extension.swift | 0 .../Protocols/AWSJSON/AWSJSONError.swift | 0 .../Protocols/AWSQuery/AWSQueryError.swift | 0 .../Protocols/Ec2Query/EC2QueryError.swift | 0 .../Protocols/RestJSON/RestJSONError.swift | 0 .../Protocols/RestXML/RestXMLError.swift | 0 .../Regions/DefaultRegionResolver.swift | 0 .../Regions/EnvironmentRegionProvider.swift | 0 .../Regions/IMDSRegionProvider.swift | 0 .../Regions/ProfileRegionProvider.swift | 0 .../Regions/RegionProvider.swift | 0 .../Regions/RegionResolver.swift | 0 .../Resources/PrivacyInfo.xcprivacy | 0 .../Retry/AWSRetryConfig.swift | 0 .../Retry/AWSRetryErrorInfoProvider.swift | 0 .../AWSClientRuntime/Retry/AWSRetryMode.swift | 0 .../UserAgent/APIMetadata.swift | 0 .../UserAgent/AWSUserAgentMetadata.swift | 0 .../UserAgent/AdditionalMetadata.swift | 0 .../UserAgent/AppIDConfig.swift | 0 .../UserAgent/AppIDMetadata.swift | 0 .../UserAgent/ConfigMetadata.swift | 0 .../UserAgent/ExecutionEnvMetadata.swift | 0 .../UserAgent/FeatureMetadata.swift | 0 .../UserAgent/FrameworkMetadata.swift | 0 .../UserAgent/InternalMetadata.swift | 0 .../UserAgent/LanguageMetadata.swift | 0 .../UserAgent/OSMetadata.swift | 0 .../UserAgent/SDKMetadata.swift | 0 .../UserAgent/UserAgentMetadata.swift | 0 .../Sources/AWSClientRuntime/Utils.swift | 0 .../Config/FieldResolverTests.swift | 0 .../DataExtensionTests.swift | 0 .../Endpoints/EndpointsTests.swift | 0 .../FileBasedConfigurationTests.swift | 0 .../FlexibleChecksumsMiddlewareTests.swift | 0 .../Sha256TreeHashMiddlewareTests.swift | 0 .../Ec2Query/Ec2ErrorRequestIdTests.swift | 0 .../RestJSON/RestJSONErrorTests.swift | 0 .../Regions/DefaultRegionResolverTests.swift | 0 .../Regions/ProfileRegionProviderTests.swift | 0 .../Resources/app_id_config_tests | 0 .../Resources/field_resolver_tests | 0 .../Resources/file_based_config_tests | 0 .../Resources/profile_region_provider_tests | 0 .../Resources/retry_config_tests | 0 .../Retry/AWSRetryConfigTests.swift | 0 .../AWSRetryErrorInfoProviderTests.swift | 0 .../UserAgent/APIMetadataTests.swift | 0 .../UserAgent/AWSUserAgentMetadataTests.swift | 0 .../UserAgent/AppIDConfigTests.swift | 0 .../UserAgent/AppIDMetadataTests.swift | 0 .../UserAgent/ConfigMetadataTests.swift | 0 .../UserAgent/ExecutionEnvMetadataTests.swift | 0 .../UserAgent/FeatureMetadataTests.swift | 0 .../UserAgent/FrameworkMetadataTests.swift | 0 .../UserAgent/InternalMetadataTests.swift | 0 .../UserAgent/LanguageMetadataTests.swift | 0 .../UserAgent/OSMetadataTests.swift | 0 .../UserAgent/SDKMetadataTests.swift | 0 .../UserAgent/UserAgentMetadataTests.swift | 0 .../Package.swift | 12 +++++------ .../AWSSDKChecksums/AWSChunkedUtil.swift | 0 .../Package.swift | 2 +- .../CRTFileBasedConfiguration.swift | 0 .../FileBasedConfiguration.swift | 0 .../FileBasedConfigurationKeys.swift | 0 .../Package.swift | 16 +++++++-------- .../AWSMessageSigner.swift | 0 .../AWSSigV4Signer+EventStreams.swift | 0 .../Context+AWSEventStreamsAuth.swift | 0 .../Context+Signing.swift | 0 .../String+hexaData.swift | 0 .../AWSMessageDecoderStreamTests.swift | 0 .../AWSMessageEncoderStreamTests.swift | 0 .../EventStreamTestData.swift | 0 .../SigV4EventSigningTests.swift | 0 ...tCustomAWSCredentialIdentityResolver.swift | 0 .../Package.swift | 14 ++++++------- .../AWSSDKHTTPAuth/AWSSigV4Signer.swift | 0 .../CustomSigningPropertiesSetter.swift | 0 .../AWSSDKHTTPAuth/SigV4AAuthScheme.swift | 0 .../AWSSDKHTTPAuth/SigV4AuthScheme.swift | 0 .../CustomSigningPropertiesSetterTests.swift | 0 .../SigV4AuthSchemeTests.swift | 0 .../SigV4SigningTests.swift | 0 .../Package.swift | 18 ++++++++--------- .../CachedAWSCredentialIdentityResolver.swift | 0 ...ltAWSCredentialIdentityResolverChain.swift | 0 .../ECSAWSCredentialIdentityResolver.swift | 0 ...ronmentAWSCredentialIdentityResolver.swift | 0 .../IMDSAWSCredentialIdentityResolver.swift | 0 ...ProcessAWSCredentialIdentityResolver.swift | 0 ...ProfileAWSCredentialIdentityResolver.swift | 0 .../SSOAWSCredentialIdentityResolver.swift | 0 ...umeRoleAWSCredentialIdentityResolver.swift | 0 ...dentityAWSCredentialIdentityResolver.swift | 0 .../AWSCredentialIdentityResolverTests.swift | 0 ...edAWSCredentialIdentityResolverTests.swift | 0 ...CredentialIdentityResolverChainTests.swift | 0 ...CSAWSCredentialIdentityResolverTests.swift | 0 ...ntAWSCredentialIdentityResolverTests.swift | 0 ...ssAWSCredentialIdentityResolverTests.swift | 0 ...leAWSCredentialIdentityResolverTests.swift | 0 ...SOAWSCredentialIdentityResolverTests.swift | 0 ...leAWSCredentialIdentityResolverTests.swift | 0 .../AWSCredentialIdentityTests.swift | 0 .../MockAWSCredentialIdentityResolver.swift | 0 .../AWSSDKIdentityTests/Resources/config | 0 .../AWSSDKIdentityTests/Resources/credentials | 0 .../AWSSDKIdentityTests/Resources/sso_tests | 0 .../swift/codegen/EndpointTestGenerator.kt | 4 ++-- 144 files changed, 61 insertions(+), 61 deletions(-) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Package.swift (73%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Config/FieldResolver.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Endpoints/Partition.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Environment.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Errors/AWSServiceError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/IMDS/IMDSClient.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Regions/RegionProvider.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Regions/RegionResolver.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Sources/AWSClientRuntime/Utils.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/DataExtensionTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Resources/retry_config_tests (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift (100%) rename Sources/Core/{AWSClientRuntime => aws-sdk-swift.AWSClientRuntime}/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift (100%) rename Sources/Core/{AWSSDKChecksums => aws-sdk-swift.AWSSDKChecksums}/Package.swift (61%) rename Sources/Core/{AWSSDKChecksums => aws-sdk-swift.AWSSDKChecksums}/Sources/AWSSDKChecksums/AWSChunkedUtil.swift (100%) rename Sources/Core/{AWSSDKCommon => aws-sdk-swift.AWSSDKCommon}/Package.swift (96%) rename Sources/Core/{AWSSDKCommon => aws-sdk-swift.AWSSDKCommon}/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift (100%) rename Sources/Core/{AWSSDKCommon => aws-sdk-swift.AWSSDKCommon}/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift (100%) rename Sources/Core/{AWSSDKCommon => aws-sdk-swift.AWSSDKCommon}/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Package.swift (67%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift (100%) rename Sources/Core/{AWSSDKEventStreamsAuth => aws-sdk-swift.AWSSDKEventStreamsAuth}/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Package.swift (69%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift (100%) rename Sources/Core/{AWSSDKHTTPAuth => aws-sdk-swift.AWSSDKHTTPAuth}/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Package.swift (57%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/Resources/config (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/Resources/credentials (100%) rename Sources/Core/{AWSSDKIdentity => aws-sdk-swift.AWSSDKIdentity}/Tests/AWSSDKIdentityTests/Resources/sso_tests (100%) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift index df346cdb2e1..bc7f35a3293 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift @@ -83,7 +83,7 @@ let package = Package( .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "Sources/Core/AWSClientRuntime/Sources", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources", resources: [ .process("AWSClientRuntime/Resources") ] @@ -91,48 +91,48 @@ let package = Package( .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "Sources/Core/AWSSDKCommon/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "Sources/Core/AWSSDKEventStreamsAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "Sources/Core/AWSSDKHTTPAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "Sources/Core/AWSSDKIdentity/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "Sources/Core/AWSSDKChecksums/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources" ), .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams], - path: "Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests", + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ) ] diff --git a/Package.swift b/Package.swift index e9ff4f24d19..11868829516 100644 --- a/Package.swift +++ b/Package.swift @@ -83,7 +83,7 @@ let package = Package( .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "Sources/Core/AWSClientRuntime/Sources", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources", resources: [ .process("AWSClientRuntime/Resources") ] @@ -91,48 +91,48 @@ let package = Package( .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "Sources/Core/AWSSDKCommon/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "Sources/Core/AWSSDKEventStreamsAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "Sources/Core/AWSSDKHTTPAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "Sources/Core/AWSSDKIdentity/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "Sources/Core/AWSSDKChecksums/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources" ), .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams], - path: "Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests", + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ) ] diff --git a/Sources/Core/AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift similarity index 73% rename from Sources/Core/AWSClientRuntime/Package.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index 6ff028b3ac0..09129ebb7f2 100644 --- a/Sources/Core/AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -18,18 +18,18 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), ], targets: [ .target( name: "AWSClientRuntime", dependencies: [ .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyRetriesAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyRetries", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyEventStreamsAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyEventStreamsAuthAPI", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "SmithyRetriesAPI", package: "smithy-swift"), + .product(name: "SmithyRetries", package: "smithy-swift"), + .product(name: "SmithyEventStreamsAPI", package: "smithy-swift"), + .product(name: "SmithyEventStreamsAuthAPI", package: "smithy-swift"), .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), .product(name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth"), .product(name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity"), @@ -40,8 +40,8 @@ let package = Package( name: "AWSClientRuntimeTests", dependencies: [ "AWSClientRuntime", - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "SmithyTestUtil", package: "smithy-swift"), .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), ], resources: [.process("Resources")] diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSDefaultClientConfiguration.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Config/AWSRegionClientConfiguration.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/FieldResolver.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Config/FieldResolver.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Config/FieldResolver.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Config/FieldResolver.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpoint.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSPartitionDefinition.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Partition.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Partition.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Partition.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Partition.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/ServiceEndpointMetadata+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Environment.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Environment.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Environment.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Environment.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSS3ServiceError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSServiceError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSServiceError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSServiceError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/AWSServiceError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/InvalidAccessKeyId.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/Candidates/UnknownAWSHTTPErrorCandidate.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Errors/UnknownAWSHTTPServiceError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/HTTP/HttpResponse+AWS.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSClient.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSClient.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSClient.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSClient.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/IMDS/IMDSConfig.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/AWSS3ErrorWith200StatusXMLMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsRequestMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/FlexibleChecksumsResponseMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Route53TrimHostedZoneMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/Sha256TreeHashMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/UserAgentMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Middlewares/XAmzTargetMiddleware.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Plugins/DefaultAWSClientPlugin.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Plugins/RegionPlugin.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/Data+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/String+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/PrimitiveExtensions/TimeInterval+Extension.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSJSON/AWSJSONError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/AWSQuery/AWSQueryError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/Ec2Query/EC2QueryError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestJSON/RestJSONError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Protocols/RestXML/RestXMLError.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/DefaultRegionResolver.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/EnvironmentRegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/IMDSRegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/ProfileRegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionProvider.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionProvider.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionResolver.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionResolver.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionResolver.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Regions/RegionResolver.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Resources/PrivacyInfo.xcprivacy diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryConfig.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryErrorInfoProvider.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Retry/AWSRetryMode.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/APIMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AWSUserAgentMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AdditionalMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDConfig.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/AppIDMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ConfigMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/ExecutionEnvMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FeatureMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/FrameworkMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/InternalMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/LanguageMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/OSMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/SDKMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/UserAgentMetadata.swift diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Utils.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Utils.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Utils.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime/Utils.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Config/FieldResolverTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/DataExtensionTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/DataExtensionTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/DataExtensionTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/DataExtensionTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/EndpointsTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/FileBasedConfiguration/FileBasedConfigurationTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/FlexibleChecksumsMiddlewareTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Middlewares/Sha256TreeHashMiddlewareTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/Ec2Query/Ec2ErrorRequestIdTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Protocols/RestJSON/RestJSONErrorTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/DefaultRegionResolverTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Regions/ProfileRegionProviderTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/app_id_config_tests diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/field_resolver_tests diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/file_based_config_tests diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/profile_region_provider_tests diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/retry_config_tests b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/retry_config_tests similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/retry_config_tests rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/retry_config_tests diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryConfigTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/Retry/AWSRetryErrorInfoProviderTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/APIMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AWSUserAgentMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDConfigTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/AppIDMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ConfigMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/ExecutionEnvMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FeatureMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/FrameworkMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/InternalMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/LanguageMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/OSMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/SDKMetadataTests.swift diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift similarity index 100% rename from Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift rename to Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/UserAgentMetadataTests.swift diff --git a/Sources/Core/AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift similarity index 61% rename from Sources/Core/AWSSDKChecksums/Package.swift rename to Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index 999e4d8a110..7630d2b16e8 100644 --- a/Sources/Core/AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -16,18 +16,18 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), ], targets: [ .target( name: "AWSSDKChecksums", dependencies: [ .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyHTTPAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyIdentityAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "Smithy", package: "smithy-swift"), + .product(name: "SmithyHTTPAPI", package: "smithy-swift"), + .product(name: "SmithyIdentityAPI", package: "smithy-swift"), + .product(name: "SmithyIdentity", package: "smithy-swift"), .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), ] ), diff --git a/Sources/Core/AWSSDKChecksums/Sources/AWSSDKChecksums/AWSChunkedUtil.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources/AWSSDKChecksums/AWSChunkedUtil.swift similarity index 100% rename from Sources/Core/AWSSDKChecksums/Sources/AWSSDKChecksums/AWSChunkedUtil.swift rename to Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources/AWSSDKChecksums/AWSChunkedUtil.swift diff --git a/Sources/Core/AWSSDKCommon/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift similarity index 96% rename from Sources/Core/AWSSDKCommon/Package.swift rename to Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift index 37e3a8b9101..36246e834c1 100644 --- a/Sources/Core/AWSSDKCommon/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift @@ -14,7 +14,7 @@ let package = Package( .library(name: "AWSSDKCommon", targets: ["AWSSDKCommon"]), ], dependencies: [ - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), ], targets: [ .target( diff --git a/Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift rename to Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/CRTFileBasedConfiguration.swift diff --git a/Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift rename to Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfiguration.swift diff --git a/Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift similarity index 100% rename from Sources/Core/AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift rename to Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources/AWSSDKCommon/FileBasedConfiguration/FileBasedConfigurationKeys.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift similarity index 67% rename from Sources/Core/AWSSDKEventStreamsAuth/Package.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index e112cd9014b..dd2dbd182f7 100644 --- a/Sources/Core/AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -15,25 +15,25 @@ let package = Package( ], dependencies: [ .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), ], targets: [ .target( name: "AWSSDKEventStreamsAuth", dependencies: [ .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyEventStreamsAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyEventStreamsAuthAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyEventStreams", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "SmithyEventStreamsAPI", package: "smithy-swift"), + .product(name: "SmithyEventStreamsAuthAPI", package: "smithy-swift"), + .product(name: "SmithyEventStreams", package: "smithy-swift"), .product(name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth"), ] ), .testTarget(name: "AWSSDKEventStreamsAuthTests", dependencies: [ "AWSSDKEventStreamsAuth", - .product(name: "SmithyStreams", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), + .product(name: "SmithyStreams", package: "smithy-swift"), + .product(name: "SmithyTestUtil", package: "smithy-swift"), ]), ] ) diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSMessageSigner.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/AWSSigV4Signer+EventStreams.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+AWSEventStreamsAuth.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/Context+Signing.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources/AWSSSDKEventStreamsAuth/String+hexaData.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageDecoderStreamTests.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/AWSMessageEncoderStreamTests.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/EventStreamTestData.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/SigV4EventSigningTests.swift diff --git a/Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests/TestCustomAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift similarity index 69% rename from Sources/Core/AWSSDKHTTPAuth/Package.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index 76728defcc9..4ec471befa7 100644 --- a/Sources/Core/AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -16,17 +16,17 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), .package(id: "aws-sdk-swift.AWSSDKChecksums", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), ], targets: [ .target( name: "AWSSDKHTTPAuth", dependencies: [ .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyHTTPAuth", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "Smithy", package: "smithy-swift"), + .product(name: "SmithyHTTPAuth", package: "smithy-swift"), .product(name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity"), .product(name: "AWSSDKChecksums", package: "aws-sdk-swift.AWSSDKChecksums"), ] @@ -36,8 +36,8 @@ let package = Package( dependencies: [ "AWSSDKHTTPAuth", .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyTestUtil", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "SmithyTestUtil", package: "smithy-swift"), ] ), ] diff --git a/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/AWSSigV4Signer.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/CustomSigningPropertiesSetter.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AAuthScheme.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources/AWSSDKHTTPAuth/SigV4AuthScheme.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/CustomSigningPropertiesSetterTests.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4AuthSchemeTests.swift diff --git a/Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift similarity index 100% rename from Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests/SigV4SigningTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift similarity index 57% rename from Sources/Core/AWSSDKIdentity/Package.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index 0a7f692819e..646269b2b46 100644 --- a/Sources/Core/AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -15,19 +15,19 @@ let package = Package( ], dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(id: "aws-sdk-swift.smithy-swift", from: "0.0.1"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), ], targets: [ .target( name: "AWSSDKIdentity", dependencies: [ .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), - .product(name: "ClientRuntime", package: "aws-sdk-swift.smithy-swift"), - .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyHTTPAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyIdentityAPI", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), + .product(name: "ClientRuntime", package: "smithy-swift"), + .product(name: "Smithy", package: "smithy-swift"), + .product(name: "SmithyHTTPAPI", package: "smithy-swift"), + .product(name: "SmithyIdentityAPI", package: "smithy-swift"), + .product(name: "SmithyIdentity", package: "smithy-swift"), .product(name: "AWSSDKCommon", package: "aws-sdk-swift.AWSSDKCommon"), ] ), @@ -35,8 +35,8 @@ let package = Package( name: "AWSSDKIdentityTests", dependencies: [ "AWSSDKIdentity", - .product(name: "Smithy", package: "aws-sdk-swift.smithy-swift"), - .product(name: "SmithyIdentity", package: "aws-sdk-swift.smithy-swift"), + .product(name: "Smithy", package: "smithy-swift"), + .product(name: "SmithyIdentity", package: "smithy-swift"), ] ), ] diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/CachedAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/DefaultAWSCredentialIdentityResolverChain.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/ECSAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/EnvironmentAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/IMDSAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/ProcessAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/ProfileAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/SSOAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/STSAssumeRoleAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/STSWebIdentityAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/CachedAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/DefaultAWSCredentialIdentityResolverChainTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ECSAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/EnvironmentAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProcessAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/ProfileAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/SSOAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityResolverTests/STSAssumeRoleAWSCredentialIdentityResolverTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/AWSCredentialIdentityTests.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Mocks/MockAWSCredentialIdentityResolver.swift diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/config b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/config similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/config rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/config diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/credentials b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/credentials similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/credentials rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/credentials diff --git a/Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/sso_tests b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/sso_tests similarity index 100% rename from Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/sso_tests rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/Resources/sso_tests diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt index 16f0cb4eaad..97044aa7269 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt @@ -20,9 +20,9 @@ import software.amazon.smithy.swift.codegen.SwiftDependency import software.amazon.smithy.swift.codegen.SwiftWriter import software.amazon.smithy.swift.codegen.endpoints.EndpointTypes import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator -import software.amazon.smithy.swift.codegen.swiftmodules.CRT import software.amazon.smithy.swift.codegen.swiftmodules.ClientRuntimeTypes import software.amazon.smithy.swift.codegen.swiftmodules.SmithyHTTPAPITypes +import software.amazon.smithy.swift.codegen.swiftmodules.SmithyTestUtilTypes import software.amazon.smithy.swift.codegen.swiftmodules.XCTestTypes import software.amazon.smithy.swift.codegen.utils.toLowerCamelCase @@ -47,7 +47,7 @@ class EndpointTestGenerator( writer.openBlock("class EndpointResolverTest: \$N {", "}", XCTestTypes.XCTestCase) { writer.write("") writer.openBlock("override class func setUp() {", "}") { - writer.write("\$N.initialize()", CRT.CommonRuntimeKit) + writer.write("\$N.initialize()", SmithyTestUtilTypes.TestInitializer) } writer.write("") From bc0c5a9adbe1257c60cd4cdc27de8d49447bc76d Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 5 Jul 2024 19:35:14 -0500 Subject: [PATCH 23/45] Pin to exact versions; extract versions to vars --- .../Package.swift | 14 +++-- .../Package.swift | 10 ++-- .../aws-sdk-swift.AWSSDKCommon/Package.swift | 6 ++- .../Package.swift | 10 ++-- .../Package.swift | 12 +++-- .../Package.swift | 10 ++-- .../aws/swift/codegen/AWSSwiftDependency.kt | 53 ++++++------------- .../swift/codegen/EndpointTestGenerator.kt | 3 +- 8 files changed, 62 insertions(+), 56 deletions(-) diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index 09129ebb7f2..cd5208b8975 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -2,6 +2,10 @@ import PackageDescription +let sdkVersion: Version = "0.0.12" +let smithySwiftVersion: Version = "0.51.0" +let crtVersion: Version = "0.32.0" + let package = Package( name: "AWSClientRuntime", platforms: [ @@ -14,11 +18,11 @@ let package = Package( .library(name: "AWSClientRuntime", targets: ["AWSClientRuntime"]), ], dependencies: [ - .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), - .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), - .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), + .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), + .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: sdkVersion), + .package(id: "aws-sdk-swift.AWSSDKIdentity", exact: sdkVersion), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index 7630d2b16e8..36dadb5381d 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -2,6 +2,10 @@ import PackageDescription +let sdkVersion: Version = "0.0.12" +let smithySwiftVersion: Version = "0.51.0" +let crtVersion: Version = "0.32.0" + let package = Package( name: "AWSSDKChecksums", platforms: [ @@ -14,9 +18,9 @@ let package = Package( .library(name: "AWSSDKChecksums", targets: ["AWSSDKChecksums"]), ], dependencies: [ - .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.30.0"), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), + .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift index 36246e834c1..52058e1977c 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift @@ -2,6 +2,10 @@ import PackageDescription +let sdkVersion: Version = "0.0.12" +let smithySwiftVersion: Version = "0.51.0" +let crtVersion: Version = "0.32.0" + let package = Package( name: "AWSSDKCommon", platforms: [ @@ -14,7 +18,7 @@ let package = Package( .library(name: "AWSSDKCommon", targets: ["AWSSDKCommon"]), ], dependencies: [ - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index dd2dbd182f7..d9055a2a50c 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -2,6 +2,10 @@ import PackageDescription +let sdkVersion: Version = "0.0.12" +let smithySwiftVersion: Version = "0.51.0" +let crtVersion: Version = "0.32.0" + let package = Package( name: "AWSSDKEventStreamsAuth", platforms: [ @@ -14,9 +18,9 @@ let package = Package( .library(name: "AWSSDKEventStreamsAuth", targets: ["AWSSDKEventStreamsAuth"]), ], dependencies: [ - .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), + .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: sdkVersion), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index 4ec471befa7..7d9dd395879 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -2,6 +2,10 @@ import PackageDescription +let sdkVersion: Version = "0.0.12" +let smithySwiftVersion: Version = "0.51.0" +let crtVersion: Version = "0.32.0" + let package = Package( name: "AWSSDKHTTPAuth", platforms: [ @@ -14,10 +18,10 @@ let package = Package( .library(name: "AWSSDKHTTPAuth", targets: ["AWSSDKHTTPAuth"]), ], dependencies: [ - .package(id: "aws-sdk-swift.AWSSDKIdentity", from: "0.0.1"), - .package(id: "aws-sdk-swift.AWSSDKChecksums", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), + .package(id: "aws-sdk-swift.AWSSDKIdentity", exact: sdkVersion), + .package(id: "aws-sdk-swift.AWSSDKChecksums", exact: sdkVersion), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index 646269b2b46..dd285bd8108 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -2,6 +2,10 @@ import PackageDescription +let sdkVersion: Version = "0.0.12" +let smithySwiftVersion: Version = "0.51.0" +let crtVersion: Version = "0.32.0" + let package = Package( name: "AWSSDKIdentity", platforms: [ @@ -14,9 +18,9 @@ let package = Package( .library(name: "AWSSDKIdentity", targets: ["AWSSDKIdentity"]), ], dependencies: [ - .package(id: "aws-sdk-swift.AWSSDKCommon", from: "0.0.1"), - .package(url: "https://github.com/awslabs/aws-crt-swift", exact: "0.32.0"), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: "0.51.0"), + .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), + .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), + .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt index 0d1dcdcf80a..1546093382e 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt @@ -4,45 +4,26 @@ */ package software.amazon.smithy.aws.swift.codegen import software.amazon.smithy.swift.codegen.SwiftDependency +import software.amazon.smithy.swift.codegen.SwiftDependency.DistributionMethod class AWSSwiftDependency { companion object { - val AWS_SDK_IDENTITY = SwiftDependency( - "AWSSDKIdentity", - "main", - "0.0.1", - "aws-sdk-swift", - "../../../aws-sdk-swift", - "AWSSDKIdentity", - SwiftDependency.DistributionMethod.SPR, - ) - val AWS_SDK_HTTP_AUTH = SwiftDependency( - "AWSSDKHTTPAuth", - "main", - "0.0.1", - "aws-sdk-swift", - "../../../aws-sdk-swift", - "AWSSDKHTTPAuth", - SwiftDependency.DistributionMethod.SPR, - ) - val AWS_SDK_EVENT_STREAMS_AUTH = SwiftDependency( - "AWSSDKEventStreamsAuth", - "main", - "0.0.1", - "aws-sdk-swift", - "../../../aws-sdk-swift", - "AWSSDKEventStreamsAuth", - SwiftDependency.DistributionMethod.SPR, - ) - val AWS_CLIENT_RUNTIME = SwiftDependency( - "AWSClientRuntime", - "main", - "0.0.1", - "aws-sdk-swift", - "../../../aws-sdk-swift", - "AWSClientRuntime", - SwiftDependency.DistributionMethod.SPR, - ) + val AWS_SDK_IDENTITY = awsTargetNamed("AWSSDKIdentity") + val AWS_SDK_HTTP_AUTH = awsTargetNamed("AWSSDKHTTPAuth") + val AWS_SDK_EVENT_STREAMS_AUTH = awsTargetNamed("AWSSDKEventStreamsAuth") + val AWS_CLIENT_RUNTIME = awsTargetNamed("AWSClientRuntime") + + private fun awsTargetNamed(name: String): SwiftDependency { + return SwiftDependency( + name, + "main", + "0.0.12", + "aws-sdk-swift", + "../../../aws-sdk-swift", + name, + DistributionMethod.SPR, + ) + } } } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt index 97044aa7269..a1f6ec39af2 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt @@ -20,6 +20,7 @@ import software.amazon.smithy.swift.codegen.SwiftDependency import software.amazon.smithy.swift.codegen.SwiftWriter import software.amazon.smithy.swift.codegen.endpoints.EndpointTypes import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator +import software.amazon.smithy.swift.codegen.swiftmodules.CRT import software.amazon.smithy.swift.codegen.swiftmodules.ClientRuntimeTypes import software.amazon.smithy.swift.codegen.swiftmodules.SmithyHTTPAPITypes import software.amazon.smithy.swift.codegen.swiftmodules.SmithyTestUtilTypes @@ -47,7 +48,7 @@ class EndpointTestGenerator( writer.openBlock("class EndpointResolverTest: \$N {", "}", XCTestTypes.XCTestCase) { writer.write("") writer.openBlock("override class func setUp() {", "}") { - writer.write("\$N.initialize()", SmithyTestUtilTypes.TestInitializer) + writer.write("\$N.initialize()", CRT.CommonRuntimeKit) } writer.write("") From 3d7c2b5516150a17cdc3920ffe02b5e66441bff3 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Sat, 6 Jul 2024 00:47:55 -0500 Subject: [PATCH 24/45] Shift to smithy-swift fork --- .../spr-multi-publish/SPRMultiPublish.swift | 22 +- .../Documentation.docc/AWSSDKForSwift.md | 768 +++++++++--------- .../Package.swift | 4 +- .../Package.swift | 4 +- .../aws-sdk-swift.AWSSDKCommon/Package.swift | 2 +- .../Package.swift | 4 +- .../Package.swift | 4 +- .../Package.swift | 4 +- codegen/sdk-codegen/build.gradle.kts | 5 +- 9 files changed, 409 insertions(+), 408 deletions(-) diff --git a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift index 60ac67f8805..d34b22ea5dc 100644 --- a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift @@ -80,13 +80,13 @@ struct SPRMultiPublish: AsyncParsableCommand { private var runtimePackages: [(String, String)] { return [ - ("smithy-swift", "../../smithy-swift/"), - awsRuntimePackage("AWSClientRuntime"), - awsRuntimePackage("AWSSDKChecksums"), - awsRuntimePackage("AWSSDKCommon"), - awsRuntimePackage("AWSSDKEventStreamsAuth"), - awsRuntimePackage("AWSSDKHTTPAuth"), - awsRuntimePackage("AWSSDKIdentity"), +// ("smithy-swift", "../../smithy-swift/"), + awsRuntimePackage("aws-sdk-swift.AWSClientRuntime"), + awsRuntimePackage("aws-sdk-swift.AWSSDKChecksums"), + awsRuntimePackage("aws-sdk-swift.AWSSDKCommon"), + awsRuntimePackage("aws-sdk-swift.AWSSDKEventStreamsAuth"), + awsRuntimePackage("aws-sdk-swift.AWSSDKHTTPAuth"), + awsRuntimePackage("aws-sdk-swift.AWSSDKIdentity"), ] } @@ -100,11 +100,11 @@ struct SPRMultiPublish: AsyncParsableCommand { } } - private func awsRuntimePackage(_ name: String) -> (String, String) { - return (name, "../Sources/Core/\(name)/") + private func awsRuntimePackage(_ directory: String) -> (String, String) { + return (directory.removePrefix("\(scope)."), "../Sources/Core/\(directory)/") } - private func serviceClientPackage(_ name: String) -> (String, String) { - return (name, "../Sources/Services/\(name)/") + private func serviceClientPackage(_ directory: String) -> (String, String) { + return (directory.removePrefix("\(scope)."), "../Sources/Services/\(directory)/") } } diff --git a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md index 0df5cab4fda..eb89403c733 100644 --- a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md +++ b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md @@ -11,771 +11,771 @@ This SDK is open-source. Code is available on Github [here](https://github.com/ ## Service Documentation -[AWSACM](../../../../../swift/api/awsacm/latest) +[aws-sdk-swift.AWSACM](../../../../../swift/api/aws-sdk-swift.awsacm/latest) -[AWSACMPCA](../../../../../swift/api/awsacmpca/latest) +[aws-sdk-swift.AWSACMPCA](../../../../../swift/api/aws-sdk-swift.awsacmpca/latest) -[AWSAPIGateway](../../../../../swift/api/awsapigateway/latest) +[aws-sdk-swift.AWSAPIGateway](../../../../../swift/api/aws-sdk-swift.awsapigateway/latest) -[AWSARCZonalShift](../../../../../swift/api/awsarczonalshift/latest) +[aws-sdk-swift.AWSARCZonalShift](../../../../../swift/api/aws-sdk-swift.awsarczonalshift/latest) -[AWSAccessAnalyzer](../../../../../swift/api/awsaccessanalyzer/latest) +[aws-sdk-swift.AWSAccessAnalyzer](../../../../../swift/api/aws-sdk-swift.awsaccessanalyzer/latest) -[AWSAccount](../../../../../swift/api/awsaccount/latest) +[aws-sdk-swift.AWSAccount](../../../../../swift/api/aws-sdk-swift.awsaccount/latest) -[AWSAmp](../../../../../swift/api/awsamp/latest) +[aws-sdk-swift.AWSAmp](../../../../../swift/api/aws-sdk-swift.awsamp/latest) -[AWSAmplify](../../../../../swift/api/awsamplify/latest) +[aws-sdk-swift.AWSAmplify](../../../../../swift/api/aws-sdk-swift.awsamplify/latest) -[AWSAmplifyBackend](../../../../../swift/api/awsamplifybackend/latest) +[aws-sdk-swift.AWSAmplifyBackend](../../../../../swift/api/aws-sdk-swift.awsamplifybackend/latest) -[AWSAmplifyUIBuilder](../../../../../swift/api/awsamplifyuibuilder/latest) +[aws-sdk-swift.AWSAmplifyUIBuilder](../../../../../swift/api/aws-sdk-swift.awsamplifyuibuilder/latest) -[AWSApiGatewayManagementApi](../../../../../swift/api/awsapigatewaymanagementapi/latest) +[aws-sdk-swift.AWSApiGatewayManagementApi](../../../../../swift/api/aws-sdk-swift.awsapigatewaymanagementapi/latest) -[AWSApiGatewayV2](../../../../../swift/api/awsapigatewayv2/latest) +[aws-sdk-swift.AWSApiGatewayV2](../../../../../swift/api/aws-sdk-swift.awsapigatewayv2/latest) -[AWSAppConfig](../../../../../swift/api/awsappconfig/latest) +[aws-sdk-swift.AWSAppConfig](../../../../../swift/api/aws-sdk-swift.awsappconfig/latest) -[AWSAppConfigData](../../../../../swift/api/awsappconfigdata/latest) +[aws-sdk-swift.AWSAppConfigData](../../../../../swift/api/aws-sdk-swift.awsappconfigdata/latest) -[AWSAppFabric](../../../../../swift/api/awsappfabric/latest) +[aws-sdk-swift.AWSAppFabric](../../../../../swift/api/aws-sdk-swift.awsappfabric/latest) -[AWSAppIntegrations](../../../../../swift/api/awsappintegrations/latest) +[aws-sdk-swift.AWSAppIntegrations](../../../../../swift/api/aws-sdk-swift.awsappintegrations/latest) -[AWSAppMesh](../../../../../swift/api/awsappmesh/latest) +[aws-sdk-swift.AWSAppMesh](../../../../../swift/api/aws-sdk-swift.awsappmesh/latest) -[AWSAppRunner](../../../../../swift/api/awsapprunner/latest) +[aws-sdk-swift.AWSAppRunner](../../../../../swift/api/aws-sdk-swift.awsapprunner/latest) -[AWSAppStream](../../../../../swift/api/awsappstream/latest) +[aws-sdk-swift.AWSAppStream](../../../../../swift/api/aws-sdk-swift.awsappstream/latest) -[AWSAppSync](../../../../../swift/api/awsappsync/latest) +[aws-sdk-swift.AWSAppSync](../../../../../swift/api/aws-sdk-swift.awsappsync/latest) -[AWSAppTest](../../../../../swift/api/awsapptest/latest) +[aws-sdk-swift.AWSAppTest](../../../../../swift/api/aws-sdk-swift.awsapptest/latest) -[AWSAppflow](../../../../../swift/api/awsappflow/latest) +[aws-sdk-swift.AWSAppflow](../../../../../swift/api/aws-sdk-swift.awsappflow/latest) -[AWSApplicationAutoScaling](../../../../../swift/api/awsapplicationautoscaling/latest) +[aws-sdk-swift.AWSApplicationAutoScaling](../../../../../swift/api/aws-sdk-swift.awsapplicationautoscaling/latest) -[AWSApplicationCostProfiler](../../../../../swift/api/awsapplicationcostprofiler/latest) +[aws-sdk-swift.AWSApplicationCostProfiler](../../../../../swift/api/aws-sdk-swift.awsapplicationcostprofiler/latest) -[AWSApplicationDiscoveryService](../../../../../swift/api/awsapplicationdiscoveryservice/latest) +[aws-sdk-swift.AWSApplicationDiscoveryService](../../../../../swift/api/aws-sdk-swift.awsapplicationdiscoveryservice/latest) -[AWSApplicationInsights](../../../../../swift/api/awsapplicationinsights/latest) +[aws-sdk-swift.AWSApplicationInsights](../../../../../swift/api/aws-sdk-swift.awsapplicationinsights/latest) -[AWSApplicationSignals](../../../../../swift/api/awsapplicationsignals/latest) +[aws-sdk-swift.AWSApplicationSignals](../../../../../swift/api/aws-sdk-swift.awsapplicationsignals/latest) -[AWSArtifact](../../../../../swift/api/awsartifact/latest) +[aws-sdk-swift.AWSArtifact](../../../../../swift/api/aws-sdk-swift.awsartifact/latest) -[AWSAthena](../../../../../swift/api/awsathena/latest) +[aws-sdk-swift.AWSAthena](../../../../../swift/api/aws-sdk-swift.awsathena/latest) -[AWSAuditManager](../../../../../swift/api/awsauditmanager/latest) +[aws-sdk-swift.AWSAuditManager](../../../../../swift/api/aws-sdk-swift.awsauditmanager/latest) -[AWSAutoScaling](../../../../../swift/api/awsautoscaling/latest) +[aws-sdk-swift.AWSAutoScaling](../../../../../swift/api/aws-sdk-swift.awsautoscaling/latest) -[AWSAutoScalingPlans](../../../../../swift/api/awsautoscalingplans/latest) +[aws-sdk-swift.AWSAutoScalingPlans](../../../../../swift/api/aws-sdk-swift.awsautoscalingplans/latest) -[AWSB2bi](../../../../../swift/api/awsb2bi/latest) +[aws-sdk-swift.AWSB2bi](../../../../../swift/api/aws-sdk-swift.awsb2bi/latest) -[AWSBCMDataExports](../../../../../swift/api/awsbcmdataexports/latest) +[aws-sdk-swift.AWSBCMDataExports](../../../../../swift/api/aws-sdk-swift.awsbcmdataexports/latest) -[AWSBackup](../../../../../swift/api/awsbackup/latest) +[aws-sdk-swift.AWSBackup](../../../../../swift/api/aws-sdk-swift.awsbackup/latest) -[AWSBackupGateway](../../../../../swift/api/awsbackupgateway/latest) +[aws-sdk-swift.AWSBackupGateway](../../../../../swift/api/aws-sdk-swift.awsbackupgateway/latest) -[AWSBatch](../../../../../swift/api/awsbatch/latest) +[aws-sdk-swift.AWSBatch](../../../../../swift/api/aws-sdk-swift.awsbatch/latest) -[AWSBedrock](../../../../../swift/api/awsbedrock/latest) +[aws-sdk-swift.AWSBedrock](../../../../../swift/api/aws-sdk-swift.awsbedrock/latest) -[AWSBedrockAgent](../../../../../swift/api/awsbedrockagent/latest) +[aws-sdk-swift.AWSBedrockAgent](../../../../../swift/api/aws-sdk-swift.awsbedrockagent/latest) -[AWSBedrockAgentRuntime](../../../../../swift/api/awsbedrockagentruntime/latest) +[aws-sdk-swift.AWSBedrockAgentRuntime](../../../../../swift/api/aws-sdk-swift.awsbedrockagentruntime/latest) -[AWSBedrockRuntime](../../../../../swift/api/awsbedrockruntime/latest) +[aws-sdk-swift.AWSBedrockRuntime](../../../../../swift/api/aws-sdk-swift.awsbedrockruntime/latest) -[AWSBillingconductor](../../../../../swift/api/awsbillingconductor/latest) +[aws-sdk-swift.AWSBillingconductor](../../../../../swift/api/aws-sdk-swift.awsbillingconductor/latest) -[AWSBraket](../../../../../swift/api/awsbraket/latest) +[aws-sdk-swift.AWSBraket](../../../../../swift/api/aws-sdk-swift.awsbraket/latest) -[AWSBudgets](../../../../../swift/api/awsbudgets/latest) +[aws-sdk-swift.AWSBudgets](../../../../../swift/api/aws-sdk-swift.awsbudgets/latest) -[AWSChatbot](../../../../../swift/api/awschatbot/latest) +[aws-sdk-swift.AWSChatbot](../../../../../swift/api/aws-sdk-swift.awschatbot/latest) -[AWSChime](../../../../../swift/api/awschime/latest) +[aws-sdk-swift.AWSChime](../../../../../swift/api/aws-sdk-swift.awschime/latest) -[AWSChimeSDKIdentity](../../../../../swift/api/awschimesdkidentity/latest) +[aws-sdk-swift.AWSChimeSDKIdentity](../../../../../swift/api/aws-sdk-swift.awschimesdkidentity/latest) -[AWSChimeSDKMediaPipelines](../../../../../swift/api/awschimesdkmediapipelines/latest) +[aws-sdk-swift.AWSChimeSDKMediaPipelines](../../../../../swift/api/aws-sdk-swift.awschimesdkmediapipelines/latest) -[AWSChimeSDKMeetings](../../../../../swift/api/awschimesdkmeetings/latest) +[aws-sdk-swift.AWSChimeSDKMeetings](../../../../../swift/api/aws-sdk-swift.awschimesdkmeetings/latest) -[AWSChimeSDKMessaging](../../../../../swift/api/awschimesdkmessaging/latest) +[aws-sdk-swift.AWSChimeSDKMessaging](../../../../../swift/api/aws-sdk-swift.awschimesdkmessaging/latest) -[AWSChimeSDKVoice](../../../../../swift/api/awschimesdkvoice/latest) +[aws-sdk-swift.AWSChimeSDKVoice](../../../../../swift/api/aws-sdk-swift.awschimesdkvoice/latest) -[AWSCleanRooms](../../../../../swift/api/awscleanrooms/latest) +[aws-sdk-swift.AWSCleanRooms](../../../../../swift/api/aws-sdk-swift.awscleanrooms/latest) -[AWSCleanRoomsML](../../../../../swift/api/awscleanroomsml/latest) +[aws-sdk-swift.AWSCleanRoomsML](../../../../../swift/api/aws-sdk-swift.awscleanroomsml/latest) -[AWSCloud9](../../../../../swift/api/awscloud9/latest) +[aws-sdk-swift.AWSCloud9](../../../../../swift/api/aws-sdk-swift.awscloud9/latest) -[AWSCloudControl](../../../../../swift/api/awscloudcontrol/latest) +[aws-sdk-swift.AWSCloudControl](../../../../../swift/api/aws-sdk-swift.awscloudcontrol/latest) -[AWSCloudDirectory](../../../../../swift/api/awsclouddirectory/latest) +[aws-sdk-swift.AWSCloudDirectory](../../../../../swift/api/aws-sdk-swift.awsclouddirectory/latest) -[AWSCloudFormation](../../../../../swift/api/awscloudformation/latest) +[aws-sdk-swift.AWSCloudFormation](../../../../../swift/api/aws-sdk-swift.awscloudformation/latest) -[AWSCloudFront](../../../../../swift/api/awscloudfront/latest) +[aws-sdk-swift.AWSCloudFront](../../../../../swift/api/aws-sdk-swift.awscloudfront/latest) -[AWSCloudFrontKeyValueStore](../../../../../swift/api/awscloudfrontkeyvaluestore/latest) +[aws-sdk-swift.AWSCloudFrontKeyValueStore](../../../../../swift/api/aws-sdk-swift.awscloudfrontkeyvaluestore/latest) -[AWSCloudHSM](../../../../../swift/api/awscloudhsm/latest) +[aws-sdk-swift.AWSCloudHSM](../../../../../swift/api/aws-sdk-swift.awscloudhsm/latest) -[AWSCloudHSMV2](../../../../../swift/api/awscloudhsmv2/latest) +[aws-sdk-swift.AWSCloudHSMV2](../../../../../swift/api/aws-sdk-swift.awscloudhsmv2/latest) -[AWSCloudSearch](../../../../../swift/api/awscloudsearch/latest) +[aws-sdk-swift.AWSCloudSearch](../../../../../swift/api/aws-sdk-swift.awscloudsearch/latest) -[AWSCloudSearchDomain](../../../../../swift/api/awscloudsearchdomain/latest) +[aws-sdk-swift.AWSCloudSearchDomain](../../../../../swift/api/aws-sdk-swift.awscloudsearchdomain/latest) -[AWSCloudTrail](../../../../../swift/api/awscloudtrail/latest) +[aws-sdk-swift.AWSCloudTrail](../../../../../swift/api/aws-sdk-swift.awscloudtrail/latest) -[AWSCloudTrailData](../../../../../swift/api/awscloudtraildata/latest) +[aws-sdk-swift.AWSCloudTrailData](../../../../../swift/api/aws-sdk-swift.awscloudtraildata/latest) -[AWSCloudWatch](../../../../../swift/api/awscloudwatch/latest) +[aws-sdk-swift.AWSCloudWatch](../../../../../swift/api/aws-sdk-swift.awscloudwatch/latest) -[AWSCloudWatchEvents](../../../../../swift/api/awscloudwatchevents/latest) +[aws-sdk-swift.AWSCloudWatchEvents](../../../../../swift/api/aws-sdk-swift.awscloudwatchevents/latest) -[AWSCloudWatchLogs](../../../../../swift/api/awscloudwatchlogs/latest) +[aws-sdk-swift.AWSCloudWatchLogs](../../../../../swift/api/aws-sdk-swift.awscloudwatchlogs/latest) -[AWSCodeBuild](../../../../../swift/api/awscodebuild/latest) +[aws-sdk-swift.AWSCodeBuild](../../../../../swift/api/aws-sdk-swift.awscodebuild/latest) -[AWSCodeCatalyst](../../../../../swift/api/awscodecatalyst/latest) +[aws-sdk-swift.AWSCodeCatalyst](../../../../../swift/api/aws-sdk-swift.awscodecatalyst/latest) -[AWSCodeCommit](../../../../../swift/api/awscodecommit/latest) +[aws-sdk-swift.AWSCodeCommit](../../../../../swift/api/aws-sdk-swift.awscodecommit/latest) -[AWSCodeConnections](../../../../../swift/api/awscodeconnections/latest) +[aws-sdk-swift.AWSCodeConnections](../../../../../swift/api/aws-sdk-swift.awscodeconnections/latest) -[AWSCodeDeploy](../../../../../swift/api/awscodedeploy/latest) +[aws-sdk-swift.AWSCodeDeploy](../../../../../swift/api/aws-sdk-swift.awscodedeploy/latest) -[AWSCodeGuruProfiler](../../../../../swift/api/awscodeguruprofiler/latest) +[aws-sdk-swift.AWSCodeGuruProfiler](../../../../../swift/api/aws-sdk-swift.awscodeguruprofiler/latest) -[AWSCodeGuruReviewer](../../../../../swift/api/awscodegurureviewer/latest) +[aws-sdk-swift.AWSCodeGuruReviewer](../../../../../swift/api/aws-sdk-swift.awscodegurureviewer/latest) -[AWSCodeGuruSecurity](../../../../../swift/api/awscodegurusecurity/latest) +[aws-sdk-swift.AWSCodeGuruSecurity](../../../../../swift/api/aws-sdk-swift.awscodegurusecurity/latest) -[AWSCodePipeline](../../../../../swift/api/awscodepipeline/latest) +[aws-sdk-swift.AWSCodePipeline](../../../../../swift/api/aws-sdk-swift.awscodepipeline/latest) -[AWSCodeStar](../../../../../swift/api/awscodestar/latest) +[aws-sdk-swift.AWSCodeStar](../../../../../swift/api/aws-sdk-swift.awscodestar/latest) -[AWSCodeStarconnections](../../../../../swift/api/awscodestarconnections/latest) +[aws-sdk-swift.AWSCodeStarconnections](../../../../../swift/api/aws-sdk-swift.awscodestarconnections/latest) -[AWSCodeartifact](../../../../../swift/api/awscodeartifact/latest) +[aws-sdk-swift.AWSCodeartifact](../../../../../swift/api/aws-sdk-swift.awscodeartifact/latest) -[AWSCodestarnotifications](../../../../../swift/api/awscodestarnotifications/latest) +[aws-sdk-swift.AWSCodestarnotifications](../../../../../swift/api/aws-sdk-swift.awscodestarnotifications/latest) -[AWSCognitoIdentity](../../../../../swift/api/awscognitoidentity/latest) +[aws-sdk-swift.AWSCognitoIdentity](../../../../../swift/api/aws-sdk-swift.awscognitoidentity/latest) -[AWSCognitoIdentityProvider](../../../../../swift/api/awscognitoidentityprovider/latest) +[aws-sdk-swift.AWSCognitoIdentityProvider](../../../../../swift/api/aws-sdk-swift.awscognitoidentityprovider/latest) -[AWSCognitoSync](../../../../../swift/api/awscognitosync/latest) +[aws-sdk-swift.AWSCognitoSync](../../../../../swift/api/aws-sdk-swift.awscognitosync/latest) -[AWSComprehend](../../../../../swift/api/awscomprehend/latest) +[aws-sdk-swift.AWSComprehend](../../../../../swift/api/aws-sdk-swift.awscomprehend/latest) -[AWSComprehendMedical](../../../../../swift/api/awscomprehendmedical/latest) +[aws-sdk-swift.AWSComprehendMedical](../../../../../swift/api/aws-sdk-swift.awscomprehendmedical/latest) -[AWSComputeOptimizer](../../../../../swift/api/awscomputeoptimizer/latest) +[aws-sdk-swift.AWSComputeOptimizer](../../../../../swift/api/aws-sdk-swift.awscomputeoptimizer/latest) -[AWSConfigService](../../../../../swift/api/awsconfigservice/latest) +[aws-sdk-swift.AWSConfigService](../../../../../swift/api/aws-sdk-swift.awsconfigservice/latest) -[AWSConnect](../../../../../swift/api/awsconnect/latest) +[aws-sdk-swift.AWSConnect](../../../../../swift/api/aws-sdk-swift.awsconnect/latest) -[AWSConnectCampaigns](../../../../../swift/api/awsconnectcampaigns/latest) +[aws-sdk-swift.AWSConnectCampaigns](../../../../../swift/api/aws-sdk-swift.awsconnectcampaigns/latest) -[AWSConnectCases](../../../../../swift/api/awsconnectcases/latest) +[aws-sdk-swift.AWSConnectCases](../../../../../swift/api/aws-sdk-swift.awsconnectcases/latest) -[AWSConnectContactLens](../../../../../swift/api/awsconnectcontactlens/latest) +[aws-sdk-swift.AWSConnectContactLens](../../../../../swift/api/aws-sdk-swift.awsconnectcontactlens/latest) -[AWSConnectParticipant](../../../../../swift/api/awsconnectparticipant/latest) +[aws-sdk-swift.AWSConnectParticipant](../../../../../swift/api/aws-sdk-swift.awsconnectparticipant/latest) -[AWSControlCatalog](../../../../../swift/api/awscontrolcatalog/latest) +[aws-sdk-swift.AWSControlCatalog](../../../../../swift/api/aws-sdk-swift.awscontrolcatalog/latest) -[AWSControlTower](../../../../../swift/api/awscontroltower/latest) +[aws-sdk-swift.AWSControlTower](../../../../../swift/api/aws-sdk-swift.awscontroltower/latest) -[AWSCostExplorer](../../../../../swift/api/awscostexplorer/latest) +[aws-sdk-swift.AWSCostExplorer](../../../../../swift/api/aws-sdk-swift.awscostexplorer/latest) -[AWSCostOptimizationHub](../../../../../swift/api/awscostoptimizationhub/latest) +[aws-sdk-swift.AWSCostOptimizationHub](../../../../../swift/api/aws-sdk-swift.awscostoptimizationhub/latest) -[AWSCostandUsageReportService](../../../../../swift/api/awscostandusagereportservice/latest) +[aws-sdk-swift.AWSCostandUsageReportService](../../../../../swift/api/aws-sdk-swift.awscostandusagereportservice/latest) -[AWSCustomerProfiles](../../../../../swift/api/awscustomerprofiles/latest) +[aws-sdk-swift.AWSCustomerProfiles](../../../../../swift/api/aws-sdk-swift.awscustomerprofiles/latest) -[AWSDAX](../../../../../swift/api/awsdax/latest) +[aws-sdk-swift.AWSDAX](../../../../../swift/api/aws-sdk-swift.awsdax/latest) -[AWSDLM](../../../../../swift/api/awsdlm/latest) +[aws-sdk-swift.AWSDLM](../../../../../swift/api/aws-sdk-swift.awsdlm/latest) -[AWSDataBrew](../../../../../swift/api/awsdatabrew/latest) +[aws-sdk-swift.AWSDataBrew](../../../../../swift/api/aws-sdk-swift.awsdatabrew/latest) -[AWSDataExchange](../../../../../swift/api/awsdataexchange/latest) +[aws-sdk-swift.AWSDataExchange](../../../../../swift/api/aws-sdk-swift.awsdataexchange/latest) -[AWSDataPipeline](../../../../../swift/api/awsdatapipeline/latest) +[aws-sdk-swift.AWSDataPipeline](../../../../../swift/api/aws-sdk-swift.awsdatapipeline/latest) -[AWSDataSync](../../../../../swift/api/awsdatasync/latest) +[aws-sdk-swift.AWSDataSync](../../../../../swift/api/aws-sdk-swift.awsdatasync/latest) -[AWSDataZone](../../../../../swift/api/awsdatazone/latest) +[aws-sdk-swift.AWSDataZone](../../../../../swift/api/aws-sdk-swift.awsdatazone/latest) -[AWSDatabaseMigrationService](../../../../../swift/api/awsdatabasemigrationservice/latest) +[aws-sdk-swift.AWSDatabaseMigrationService](../../../../../swift/api/aws-sdk-swift.awsdatabasemigrationservice/latest) -[AWSDeadline](../../../../../swift/api/awsdeadline/latest) +[aws-sdk-swift.AWSDeadline](../../../../../swift/api/aws-sdk-swift.awsdeadline/latest) -[AWSDetective](../../../../../swift/api/awsdetective/latest) +[aws-sdk-swift.AWSDetective](../../../../../swift/api/aws-sdk-swift.awsdetective/latest) -[AWSDevOpsGuru](../../../../../swift/api/awsdevopsguru/latest) +[aws-sdk-swift.AWSDevOpsGuru](../../../../../swift/api/aws-sdk-swift.awsdevopsguru/latest) -[AWSDeviceFarm](../../../../../swift/api/awsdevicefarm/latest) +[aws-sdk-swift.AWSDeviceFarm](../../../../../swift/api/aws-sdk-swift.awsdevicefarm/latest) -[AWSDirectConnect](../../../../../swift/api/awsdirectconnect/latest) +[aws-sdk-swift.AWSDirectConnect](../../../../../swift/api/aws-sdk-swift.awsdirectconnect/latest) -[AWSDirectoryService](../../../../../swift/api/awsdirectoryservice/latest) +[aws-sdk-swift.AWSDirectoryService](../../../../../swift/api/aws-sdk-swift.awsdirectoryservice/latest) -[AWSDocDB](../../../../../swift/api/awsdocdb/latest) +[aws-sdk-swift.AWSDocDB](../../../../../swift/api/aws-sdk-swift.awsdocdb/latest) -[AWSDocDBElastic](../../../../../swift/api/awsdocdbelastic/latest) +[aws-sdk-swift.AWSDocDBElastic](../../../../../swift/api/aws-sdk-swift.awsdocdbelastic/latest) -[AWSDrs](../../../../../swift/api/awsdrs/latest) +[aws-sdk-swift.AWSDrs](../../../../../swift/api/aws-sdk-swift.awsdrs/latest) -[AWSDynamoDB](../../../../../swift/api/awsdynamodb/latest) +[aws-sdk-swift.AWSDynamoDB](../../../../../swift/api/aws-sdk-swift.awsdynamodb/latest) -[AWSDynamoDBStreams](../../../../../swift/api/awsdynamodbstreams/latest) +[aws-sdk-swift.AWSDynamoDBStreams](../../../../../swift/api/aws-sdk-swift.awsdynamodbstreams/latest) -[AWSEBS](../../../../../swift/api/awsebs/latest) +[aws-sdk-swift.AWSEBS](../../../../../swift/api/aws-sdk-swift.awsebs/latest) -[AWSEC2](../../../../../swift/api/awsec2/latest) +[aws-sdk-swift.AWSEC2](../../../../../swift/api/aws-sdk-swift.awsec2/latest) -[AWSEC2InstanceConnect](../../../../../swift/api/awsec2instanceconnect/latest) +[aws-sdk-swift.AWSEC2InstanceConnect](../../../../../swift/api/aws-sdk-swift.awsec2instanceconnect/latest) -[AWSECR](../../../../../swift/api/awsecr/latest) +[aws-sdk-swift.AWSECR](../../../../../swift/api/aws-sdk-swift.awsecr/latest) -[AWSECRPUBLIC](../../../../../swift/api/awsecrpublic/latest) +[aws-sdk-swift.AWSECRPUBLIC](../../../../../swift/api/aws-sdk-swift.awsecrpublic/latest) -[AWSECS](../../../../../swift/api/awsecs/latest) +[aws-sdk-swift.AWSECS](../../../../../swift/api/aws-sdk-swift.awsecs/latest) -[AWSEFS](../../../../../swift/api/awsefs/latest) +[aws-sdk-swift.AWSEFS](../../../../../swift/api/aws-sdk-swift.awsefs/latest) -[AWSEKS](../../../../../swift/api/awseks/latest) +[aws-sdk-swift.AWSEKS](../../../../../swift/api/aws-sdk-swift.awseks/latest) -[AWSEKSAuth](../../../../../swift/api/awseksauth/latest) +[aws-sdk-swift.AWSEKSAuth](../../../../../swift/api/aws-sdk-swift.awseksauth/latest) -[AWSEMR](../../../../../swift/api/awsemr/latest) +[aws-sdk-swift.AWSEMR](../../../../../swift/api/aws-sdk-swift.awsemr/latest) -[AWSEMRServerless](../../../../../swift/api/awsemrserverless/latest) +[aws-sdk-swift.AWSEMRServerless](../../../../../swift/api/aws-sdk-swift.awsemrserverless/latest) -[AWSEMRcontainers](../../../../../swift/api/awsemrcontainers/latest) +[aws-sdk-swift.AWSEMRcontainers](../../../../../swift/api/aws-sdk-swift.awsemrcontainers/latest) -[AWSElastiCache](../../../../../swift/api/awselasticache/latest) +[aws-sdk-swift.AWSElastiCache](../../../../../swift/api/aws-sdk-swift.awselasticache/latest) -[AWSElasticBeanstalk](../../../../../swift/api/awselasticbeanstalk/latest) +[aws-sdk-swift.AWSElasticBeanstalk](../../../../../swift/api/aws-sdk-swift.awselasticbeanstalk/latest) -[AWSElasticInference](../../../../../swift/api/awselasticinference/latest) +[aws-sdk-swift.AWSElasticInference](../../../../../swift/api/aws-sdk-swift.awselasticinference/latest) -[AWSElasticLoadBalancing](../../../../../swift/api/awselasticloadbalancing/latest) +[aws-sdk-swift.AWSElasticLoadBalancing](../../../../../swift/api/aws-sdk-swift.awselasticloadbalancing/latest) -[AWSElasticLoadBalancingv2](../../../../../swift/api/awselasticloadbalancingv2/latest) +[aws-sdk-swift.AWSElasticLoadBalancingv2](../../../../../swift/api/aws-sdk-swift.awselasticloadbalancingv2/latest) -[AWSElasticTranscoder](../../../../../swift/api/awselastictranscoder/latest) +[aws-sdk-swift.AWSElasticTranscoder](../../../../../swift/api/aws-sdk-swift.awselastictranscoder/latest) -[AWSElasticsearchService](../../../../../swift/api/awselasticsearchservice/latest) +[aws-sdk-swift.AWSElasticsearchService](../../../../../swift/api/aws-sdk-swift.awselasticsearchservice/latest) -[AWSEntityResolution](../../../../../swift/api/awsentityresolution/latest) +[aws-sdk-swift.AWSEntityResolution](../../../../../swift/api/aws-sdk-swift.awsentityresolution/latest) -[AWSEventBridge](../../../../../swift/api/awseventbridge/latest) +[aws-sdk-swift.AWSEventBridge](../../../../../swift/api/aws-sdk-swift.awseventbridge/latest) -[AWSEvidently](../../../../../swift/api/awsevidently/latest) +[aws-sdk-swift.AWSEvidently](../../../../../swift/api/aws-sdk-swift.awsevidently/latest) -[AWSFMS](../../../../../swift/api/awsfms/latest) +[aws-sdk-swift.AWSFMS](../../../../../swift/api/aws-sdk-swift.awsfms/latest) -[AWSFSx](../../../../../swift/api/awsfsx/latest) +[aws-sdk-swift.AWSFSx](../../../../../swift/api/aws-sdk-swift.awsfsx/latest) -[AWSFinspace](../../../../../swift/api/awsfinspace/latest) +[aws-sdk-swift.AWSFinspace](../../../../../swift/api/aws-sdk-swift.awsfinspace/latest) -[AWSFinspacedata](../../../../../swift/api/awsfinspacedata/latest) +[aws-sdk-swift.AWSFinspacedata](../../../../../swift/api/aws-sdk-swift.awsfinspacedata/latest) -[AWSFirehose](../../../../../swift/api/awsfirehose/latest) +[aws-sdk-swift.AWSFirehose](../../../../../swift/api/aws-sdk-swift.awsfirehose/latest) -[AWSFis](../../../../../swift/api/awsfis/latest) +[aws-sdk-swift.AWSFis](../../../../../swift/api/aws-sdk-swift.awsfis/latest) -[AWSForecast](../../../../../swift/api/awsforecast/latest) +[aws-sdk-swift.AWSForecast](../../../../../swift/api/aws-sdk-swift.awsforecast/latest) -[AWSForecastquery](../../../../../swift/api/awsforecastquery/latest) +[aws-sdk-swift.AWSForecastquery](../../../../../swift/api/aws-sdk-swift.awsforecastquery/latest) -[AWSFraudDetector](../../../../../swift/api/awsfrauddetector/latest) +[aws-sdk-swift.AWSFraudDetector](../../../../../swift/api/aws-sdk-swift.awsfrauddetector/latest) -[AWSFreeTier](../../../../../swift/api/awsfreetier/latest) +[aws-sdk-swift.AWSFreeTier](../../../../../swift/api/aws-sdk-swift.awsfreetier/latest) -[AWSGameLift](../../../../../swift/api/awsgamelift/latest) +[aws-sdk-swift.AWSGameLift](../../../../../swift/api/aws-sdk-swift.awsgamelift/latest) -[AWSGlacier](../../../../../swift/api/awsglacier/latest) +[aws-sdk-swift.AWSGlacier](../../../../../swift/api/aws-sdk-swift.awsglacier/latest) -[AWSGlobalAccelerator](../../../../../swift/api/awsglobalaccelerator/latest) +[aws-sdk-swift.AWSGlobalAccelerator](../../../../../swift/api/aws-sdk-swift.awsglobalaccelerator/latest) -[AWSGlue](../../../../../swift/api/awsglue/latest) +[aws-sdk-swift.AWSGlue](../../../../../swift/api/aws-sdk-swift.awsglue/latest) -[AWSGrafana](../../../../../swift/api/awsgrafana/latest) +[aws-sdk-swift.AWSGrafana](../../../../../swift/api/aws-sdk-swift.awsgrafana/latest) -[AWSGreengrass](../../../../../swift/api/awsgreengrass/latest) +[aws-sdk-swift.AWSGreengrass](../../../../../swift/api/aws-sdk-swift.awsgreengrass/latest) -[AWSGreengrassV2](../../../../../swift/api/awsgreengrassv2/latest) +[aws-sdk-swift.AWSGreengrassV2](../../../../../swift/api/aws-sdk-swift.awsgreengrassv2/latest) -[AWSGroundStation](../../../../../swift/api/awsgroundstation/latest) +[aws-sdk-swift.AWSGroundStation](../../../../../swift/api/aws-sdk-swift.awsgroundstation/latest) -[AWSGuardDuty](../../../../../swift/api/awsguardduty/latest) +[aws-sdk-swift.AWSGuardDuty](../../../../../swift/api/aws-sdk-swift.awsguardduty/latest) -[AWSHealth](../../../../../swift/api/awshealth/latest) +[aws-sdk-swift.AWSHealth](../../../../../swift/api/aws-sdk-swift.awshealth/latest) -[AWSHealthLake](../../../../../swift/api/awshealthlake/latest) +[aws-sdk-swift.AWSHealthLake](../../../../../swift/api/aws-sdk-swift.awshealthlake/latest) -[AWSIAM](../../../../../swift/api/awsiam/latest) +[aws-sdk-swift.AWSIAM](../../../../../swift/api/aws-sdk-swift.awsiam/latest) -[AWSIVSRealTime](../../../../../swift/api/awsivsrealtime/latest) +[aws-sdk-swift.AWSIVSRealTime](../../../../../swift/api/aws-sdk-swift.awsivsrealtime/latest) -[AWSIdentitystore](../../../../../swift/api/awsidentitystore/latest) +[aws-sdk-swift.AWSIdentitystore](../../../../../swift/api/aws-sdk-swift.awsidentitystore/latest) -[AWSImagebuilder](../../../../../swift/api/awsimagebuilder/latest) +[aws-sdk-swift.AWSImagebuilder](../../../../../swift/api/aws-sdk-swift.awsimagebuilder/latest) -[AWSInspector](../../../../../swift/api/awsinspector/latest) +[aws-sdk-swift.AWSInspector](../../../../../swift/api/aws-sdk-swift.awsinspector/latest) -[AWSInspector2](../../../../../swift/api/awsinspector2/latest) +[aws-sdk-swift.AWSInspector2](../../../../../swift/api/aws-sdk-swift.awsinspector2/latest) -[AWSInspectorScan](../../../../../swift/api/awsinspectorscan/latest) +[aws-sdk-swift.AWSInspectorScan](../../../../../swift/api/aws-sdk-swift.awsinspectorscan/latest) -[AWSInternetMonitor](../../../../../swift/api/awsinternetmonitor/latest) +[aws-sdk-swift.AWSInternetMonitor](../../../../../swift/api/aws-sdk-swift.awsinternetmonitor/latest) -[AWSIoT](../../../../../swift/api/awsiot/latest) +[aws-sdk-swift.AWSIoT](../../../../../swift/api/aws-sdk-swift.awsiot/latest) -[AWSIoT1ClickDevicesService](../../../../../swift/api/awsiot1clickdevicesservice/latest) +[aws-sdk-swift.AWSIoT1ClickDevicesService](../../../../../swift/api/aws-sdk-swift.awsiot1clickdevicesservice/latest) -[AWSIoT1ClickProjects](../../../../../swift/api/awsiot1clickprojects/latest) +[aws-sdk-swift.AWSIoT1ClickProjects](../../../../../swift/api/aws-sdk-swift.awsiot1clickprojects/latest) -[AWSIoTAnalytics](../../../../../swift/api/awsiotanalytics/latest) +[aws-sdk-swift.AWSIoTAnalytics](../../../../../swift/api/aws-sdk-swift.awsiotanalytics/latest) -[AWSIoTDataPlane](../../../../../swift/api/awsiotdataplane/latest) +[aws-sdk-swift.AWSIoTDataPlane](../../../../../swift/api/aws-sdk-swift.awsiotdataplane/latest) -[AWSIoTEvents](../../../../../swift/api/awsiotevents/latest) +[aws-sdk-swift.AWSIoTEvents](../../../../../swift/api/aws-sdk-swift.awsiotevents/latest) -[AWSIoTEventsData](../../../../../swift/api/awsioteventsdata/latest) +[aws-sdk-swift.AWSIoTEventsData](../../../../../swift/api/aws-sdk-swift.awsioteventsdata/latest) -[AWSIoTFleetHub](../../../../../swift/api/awsiotfleethub/latest) +[aws-sdk-swift.AWSIoTFleetHub](../../../../../swift/api/aws-sdk-swift.awsiotfleethub/latest) -[AWSIoTFleetWise](../../../../../swift/api/awsiotfleetwise/latest) +[aws-sdk-swift.AWSIoTFleetWise](../../../../../swift/api/aws-sdk-swift.awsiotfleetwise/latest) -[AWSIoTJobsDataPlane](../../../../../swift/api/awsiotjobsdataplane/latest) +[aws-sdk-swift.AWSIoTJobsDataPlane](../../../../../swift/api/aws-sdk-swift.awsiotjobsdataplane/latest) -[AWSIoTSecureTunneling](../../../../../swift/api/awsiotsecuretunneling/latest) +[aws-sdk-swift.AWSIoTSecureTunneling](../../../../../swift/api/aws-sdk-swift.awsiotsecuretunneling/latest) -[AWSIoTSiteWise](../../../../../swift/api/awsiotsitewise/latest) +[aws-sdk-swift.AWSIoTSiteWise](../../../../../swift/api/aws-sdk-swift.awsiotsitewise/latest) -[AWSIoTThingsGraph](../../../../../swift/api/awsiotthingsgraph/latest) +[aws-sdk-swift.AWSIoTThingsGraph](../../../../../swift/api/aws-sdk-swift.awsiotthingsgraph/latest) -[AWSIoTTwinMaker](../../../../../swift/api/awsiottwinmaker/latest) +[aws-sdk-swift.AWSIoTTwinMaker](../../../../../swift/api/aws-sdk-swift.awsiottwinmaker/latest) -[AWSIoTWireless](../../../../../swift/api/awsiotwireless/latest) +[aws-sdk-swift.AWSIoTWireless](../../../../../swift/api/aws-sdk-swift.awsiotwireless/latest) -[AWSIotDeviceAdvisor](../../../../../swift/api/awsiotdeviceadvisor/latest) +[aws-sdk-swift.AWSIotDeviceAdvisor](../../../../../swift/api/aws-sdk-swift.awsiotdeviceadvisor/latest) -[AWSIvs](../../../../../swift/api/awsivs/latest) +[aws-sdk-swift.AWSIvs](../../../../../swift/api/aws-sdk-swift.awsivs/latest) -[AWSIvschat](../../../../../swift/api/awsivschat/latest) +[aws-sdk-swift.AWSIvschat](../../../../../swift/api/aws-sdk-swift.awsivschat/latest) -[AWSKMS](../../../../../swift/api/awskms/latest) +[aws-sdk-swift.AWSKMS](../../../../../swift/api/aws-sdk-swift.awskms/latest) -[AWSKafka](../../../../../swift/api/awskafka/latest) +[aws-sdk-swift.AWSKafka](../../../../../swift/api/aws-sdk-swift.awskafka/latest) -[AWSKafkaConnect](../../../../../swift/api/awskafkaconnect/latest) +[aws-sdk-swift.AWSKafkaConnect](../../../../../swift/api/aws-sdk-swift.awskafkaconnect/latest) -[AWSKendra](../../../../../swift/api/awskendra/latest) +[aws-sdk-swift.AWSKendra](../../../../../swift/api/aws-sdk-swift.awskendra/latest) -[AWSKendraRanking](../../../../../swift/api/awskendraranking/latest) +[aws-sdk-swift.AWSKendraRanking](../../../../../swift/api/aws-sdk-swift.awskendraranking/latest) -[AWSKeyspaces](../../../../../swift/api/awskeyspaces/latest) +[aws-sdk-swift.AWSKeyspaces](../../../../../swift/api/aws-sdk-swift.awskeyspaces/latest) -[AWSKinesis](../../../../../swift/api/awskinesis/latest) +[aws-sdk-swift.AWSKinesis](../../../../../swift/api/aws-sdk-swift.awskinesis/latest) -[AWSKinesisAnalytics](../../../../../swift/api/awskinesisanalytics/latest) +[aws-sdk-swift.AWSKinesisAnalytics](../../../../../swift/api/aws-sdk-swift.awskinesisanalytics/latest) -[AWSKinesisAnalyticsV2](../../../../../swift/api/awskinesisanalyticsv2/latest) +[aws-sdk-swift.AWSKinesisAnalyticsV2](../../../../../swift/api/aws-sdk-swift.awskinesisanalyticsv2/latest) -[AWSKinesisVideo](../../../../../swift/api/awskinesisvideo/latest) +[aws-sdk-swift.AWSKinesisVideo](../../../../../swift/api/aws-sdk-swift.awskinesisvideo/latest) -[AWSKinesisVideoArchivedMedia](../../../../../swift/api/awskinesisvideoarchivedmedia/latest) +[aws-sdk-swift.AWSKinesisVideoArchivedMedia](../../../../../swift/api/aws-sdk-swift.awskinesisvideoarchivedmedia/latest) -[AWSKinesisVideoMedia](../../../../../swift/api/awskinesisvideomedia/latest) +[aws-sdk-swift.AWSKinesisVideoMedia](../../../../../swift/api/aws-sdk-swift.awskinesisvideomedia/latest) -[AWSKinesisVideoSignaling](../../../../../swift/api/awskinesisvideosignaling/latest) +[aws-sdk-swift.AWSKinesisVideoSignaling](../../../../../swift/api/aws-sdk-swift.awskinesisvideosignaling/latest) -[AWSKinesisVideoWebRTCStorage](../../../../../swift/api/awskinesisvideowebrtcstorage/latest) +[aws-sdk-swift.AWSKinesisVideoWebRTCStorage](../../../../../swift/api/aws-sdk-swift.awskinesisvideowebrtcstorage/latest) -[AWSLakeFormation](../../../../../swift/api/awslakeformation/latest) +[aws-sdk-swift.AWSLakeFormation](../../../../../swift/api/aws-sdk-swift.awslakeformation/latest) -[AWSLambda](../../../../../swift/api/awslambda/latest) +[aws-sdk-swift.AWSLambda](../../../../../swift/api/aws-sdk-swift.awslambda/latest) -[AWSLaunchWizard](../../../../../swift/api/awslaunchwizard/latest) +[aws-sdk-swift.AWSLaunchWizard](../../../../../swift/api/aws-sdk-swift.awslaunchwizard/latest) -[AWSLexModelBuildingService](../../../../../swift/api/awslexmodelbuildingservice/latest) +[aws-sdk-swift.AWSLexModelBuildingService](../../../../../swift/api/aws-sdk-swift.awslexmodelbuildingservice/latest) -[AWSLexModelsV2](../../../../../swift/api/awslexmodelsv2/latest) +[aws-sdk-swift.AWSLexModelsV2](../../../../../swift/api/aws-sdk-swift.awslexmodelsv2/latest) -[AWSLexRuntimeService](../../../../../swift/api/awslexruntimeservice/latest) +[aws-sdk-swift.AWSLexRuntimeService](../../../../../swift/api/aws-sdk-swift.awslexruntimeservice/latest) -[AWSLexRuntimeV2](../../../../../swift/api/awslexruntimev2/latest) +[aws-sdk-swift.AWSLexRuntimeV2](../../../../../swift/api/aws-sdk-swift.awslexruntimev2/latest) -[AWSLicenseManager](../../../../../swift/api/awslicensemanager/latest) +[aws-sdk-swift.AWSLicenseManager](../../../../../swift/api/aws-sdk-swift.awslicensemanager/latest) -[AWSLicenseManagerLinuxSubscriptions](../../../../../swift/api/awslicensemanagerlinuxsubscriptions/latest) +[aws-sdk-swift.AWSLicenseManagerLinuxSubscriptions](../../../../../swift/api/aws-sdk-swift.awslicensemanagerlinuxsubscriptions/latest) -[AWSLicenseManagerUserSubscriptions](../../../../../swift/api/awslicensemanagerusersubscriptions/latest) +[aws-sdk-swift.AWSLicenseManagerUserSubscriptions](../../../../../swift/api/aws-sdk-swift.awslicensemanagerusersubscriptions/latest) -[AWSLightsail](../../../../../swift/api/awslightsail/latest) +[aws-sdk-swift.AWSLightsail](../../../../../swift/api/aws-sdk-swift.awslightsail/latest) -[AWSLocation](../../../../../swift/api/awslocation/latest) +[aws-sdk-swift.AWSLocation](../../../../../swift/api/aws-sdk-swift.awslocation/latest) -[AWSLookoutEquipment](../../../../../swift/api/awslookoutequipment/latest) +[aws-sdk-swift.AWSLookoutEquipment](../../../../../swift/api/aws-sdk-swift.awslookoutequipment/latest) -[AWSLookoutMetrics](../../../../../swift/api/awslookoutmetrics/latest) +[aws-sdk-swift.AWSLookoutMetrics](../../../../../swift/api/aws-sdk-swift.awslookoutmetrics/latest) -[AWSLookoutVision](../../../../../swift/api/awslookoutvision/latest) +[aws-sdk-swift.AWSLookoutVision](../../../../../swift/api/aws-sdk-swift.awslookoutvision/latest) -[AWSM2](../../../../../swift/api/awsm2/latest) +[aws-sdk-swift.AWSM2](../../../../../swift/api/aws-sdk-swift.awsm2/latest) -[AWSMTurk](../../../../../swift/api/awsmturk/latest) +[aws-sdk-swift.AWSMTurk](../../../../../swift/api/aws-sdk-swift.awsmturk/latest) -[AWSMWAA](../../../../../swift/api/awsmwaa/latest) +[aws-sdk-swift.AWSMWAA](../../../../../swift/api/aws-sdk-swift.awsmwaa/latest) -[AWSMachineLearning](../../../../../swift/api/awsmachinelearning/latest) +[aws-sdk-swift.AWSMachineLearning](../../../../../swift/api/aws-sdk-swift.awsmachinelearning/latest) -[AWSMacie2](../../../../../swift/api/awsmacie2/latest) +[aws-sdk-swift.AWSMacie2](../../../../../swift/api/aws-sdk-swift.awsmacie2/latest) -[AWSMailManager](../../../../../swift/api/awsmailmanager/latest) +[aws-sdk-swift.AWSMailManager](../../../../../swift/api/aws-sdk-swift.awsmailmanager/latest) -[AWSManagedBlockchain](../../../../../swift/api/awsmanagedblockchain/latest) +[aws-sdk-swift.AWSManagedBlockchain](../../../../../swift/api/aws-sdk-swift.awsmanagedblockchain/latest) -[AWSManagedBlockchainQuery](../../../../../swift/api/awsmanagedblockchainquery/latest) +[aws-sdk-swift.AWSManagedBlockchainQuery](../../../../../swift/api/aws-sdk-swift.awsmanagedblockchainquery/latest) -[AWSMarketplaceAgreement](../../../../../swift/api/awsmarketplaceagreement/latest) +[aws-sdk-swift.AWSMarketplaceAgreement](../../../../../swift/api/aws-sdk-swift.awsmarketplaceagreement/latest) -[AWSMarketplaceCatalog](../../../../../swift/api/awsmarketplacecatalog/latest) +[aws-sdk-swift.AWSMarketplaceCatalog](../../../../../swift/api/aws-sdk-swift.awsmarketplacecatalog/latest) -[AWSMarketplaceCommerceAnalytics](../../../../../swift/api/awsmarketplacecommerceanalytics/latest) +[aws-sdk-swift.AWSMarketplaceCommerceAnalytics](../../../../../swift/api/aws-sdk-swift.awsmarketplacecommerceanalytics/latest) -[AWSMarketplaceDeployment](../../../../../swift/api/awsmarketplacedeployment/latest) +[aws-sdk-swift.AWSMarketplaceDeployment](../../../../../swift/api/aws-sdk-swift.awsmarketplacedeployment/latest) -[AWSMarketplaceEntitlementService](../../../../../swift/api/awsmarketplaceentitlementservice/latest) +[aws-sdk-swift.AWSMarketplaceEntitlementService](../../../../../swift/api/aws-sdk-swift.awsmarketplaceentitlementservice/latest) -[AWSMarketplaceMetering](../../../../../swift/api/awsmarketplacemetering/latest) +[aws-sdk-swift.AWSMarketplaceMetering](../../../../../swift/api/aws-sdk-swift.awsmarketplacemetering/latest) -[AWSMediaConnect](../../../../../swift/api/awsmediaconnect/latest) +[aws-sdk-swift.AWSMediaConnect](../../../../../swift/api/aws-sdk-swift.awsmediaconnect/latest) -[AWSMediaConvert](../../../../../swift/api/awsmediaconvert/latest) +[aws-sdk-swift.AWSMediaConvert](../../../../../swift/api/aws-sdk-swift.awsmediaconvert/latest) -[AWSMediaLive](../../../../../swift/api/awsmedialive/latest) +[aws-sdk-swift.AWSMediaLive](../../../../../swift/api/aws-sdk-swift.awsmedialive/latest) -[AWSMediaPackage](../../../../../swift/api/awsmediapackage/latest) +[aws-sdk-swift.AWSMediaPackage](../../../../../swift/api/aws-sdk-swift.awsmediapackage/latest) -[AWSMediaPackageV2](../../../../../swift/api/awsmediapackagev2/latest) +[aws-sdk-swift.AWSMediaPackageV2](../../../../../swift/api/aws-sdk-swift.awsmediapackagev2/latest) -[AWSMediaPackageVod](../../../../../swift/api/awsmediapackagevod/latest) +[aws-sdk-swift.AWSMediaPackageVod](../../../../../swift/api/aws-sdk-swift.awsmediapackagevod/latest) -[AWSMediaStore](../../../../../swift/api/awsmediastore/latest) +[aws-sdk-swift.AWSMediaStore](../../../../../swift/api/aws-sdk-swift.awsmediastore/latest) -[AWSMediaStoreData](../../../../../swift/api/awsmediastoredata/latest) +[aws-sdk-swift.AWSMediaStoreData](../../../../../swift/api/aws-sdk-swift.awsmediastoredata/latest) -[AWSMediaTailor](../../../../../swift/api/awsmediatailor/latest) +[aws-sdk-swift.AWSMediaTailor](../../../../../swift/api/aws-sdk-swift.awsmediatailor/latest) -[AWSMedicalImaging](../../../../../swift/api/awsmedicalimaging/latest) +[aws-sdk-swift.AWSMedicalImaging](../../../../../swift/api/aws-sdk-swift.awsmedicalimaging/latest) -[AWSMemoryDB](../../../../../swift/api/awsmemorydb/latest) +[aws-sdk-swift.AWSMemoryDB](../../../../../swift/api/aws-sdk-swift.awsmemorydb/latest) -[AWSMgn](../../../../../swift/api/awsmgn/latest) +[aws-sdk-swift.AWSMgn](../../../../../swift/api/aws-sdk-swift.awsmgn/latest) -[AWSMigrationHub](../../../../../swift/api/awsmigrationhub/latest) +[aws-sdk-swift.AWSMigrationHub](../../../../../swift/api/aws-sdk-swift.awsmigrationhub/latest) -[AWSMigrationHubConfig](../../../../../swift/api/awsmigrationhubconfig/latest) +[aws-sdk-swift.AWSMigrationHubConfig](../../../../../swift/api/aws-sdk-swift.awsmigrationhubconfig/latest) -[AWSMigrationHubOrchestrator](../../../../../swift/api/awsmigrationhuborchestrator/latest) +[aws-sdk-swift.AWSMigrationHubOrchestrator](../../../../../swift/api/aws-sdk-swift.awsmigrationhuborchestrator/latest) -[AWSMigrationHubRefactorSpaces](../../../../../swift/api/awsmigrationhubrefactorspaces/latest) +[aws-sdk-swift.AWSMigrationHubRefactorSpaces](../../../../../swift/api/aws-sdk-swift.awsmigrationhubrefactorspaces/latest) -[AWSMigrationHubStrategy](../../../../../swift/api/awsmigrationhubstrategy/latest) +[aws-sdk-swift.AWSMigrationHubStrategy](../../../../../swift/api/aws-sdk-swift.awsmigrationhubstrategy/latest) -[AWSMobile](../../../../../swift/api/awsmobile/latest) +[aws-sdk-swift.AWSMobile](../../../../../swift/api/aws-sdk-swift.awsmobile/latest) -[AWSMq](../../../../../swift/api/awsmq/latest) +[aws-sdk-swift.AWSMq](../../../../../swift/api/aws-sdk-swift.awsmq/latest) -[AWSNeptune](../../../../../swift/api/awsneptune/latest) +[aws-sdk-swift.AWSNeptune](../../../../../swift/api/aws-sdk-swift.awsneptune/latest) -[AWSNeptuneGraph](../../../../../swift/api/awsneptunegraph/latest) +[aws-sdk-swift.AWSNeptuneGraph](../../../../../swift/api/aws-sdk-swift.awsneptunegraph/latest) -[AWSNeptunedata](../../../../../swift/api/awsneptunedata/latest) +[aws-sdk-swift.AWSNeptunedata](../../../../../swift/api/aws-sdk-swift.awsneptunedata/latest) -[AWSNetworkFirewall](../../../../../swift/api/awsnetworkfirewall/latest) +[aws-sdk-swift.AWSNetworkFirewall](../../../../../swift/api/aws-sdk-swift.awsnetworkfirewall/latest) -[AWSNetworkManager](../../../../../swift/api/awsnetworkmanager/latest) +[aws-sdk-swift.AWSNetworkManager](../../../../../swift/api/aws-sdk-swift.awsnetworkmanager/latest) -[AWSNetworkMonitor](../../../../../swift/api/awsnetworkmonitor/latest) +[aws-sdk-swift.AWSNetworkMonitor](../../../../../swift/api/aws-sdk-swift.awsnetworkmonitor/latest) -[AWSNimble](../../../../../swift/api/awsnimble/latest) +[aws-sdk-swift.AWSNimble](../../../../../swift/api/aws-sdk-swift.awsnimble/latest) -[AWSOAM](../../../../../swift/api/awsoam/latest) +[aws-sdk-swift.AWSOAM](../../../../../swift/api/aws-sdk-swift.awsoam/latest) -[AWSOSIS](../../../../../swift/api/awsosis/latest) +[aws-sdk-swift.AWSOSIS](../../../../../swift/api/aws-sdk-swift.awsosis/latest) -[AWSOmics](../../../../../swift/api/awsomics/latest) +[aws-sdk-swift.AWSOmics](../../../../../swift/api/aws-sdk-swift.awsomics/latest) -[AWSOpenSearch](../../../../../swift/api/awsopensearch/latest) +[aws-sdk-swift.AWSOpenSearch](../../../../../swift/api/aws-sdk-swift.awsopensearch/latest) -[AWSOpenSearchServerless](../../../../../swift/api/awsopensearchserverless/latest) +[aws-sdk-swift.AWSOpenSearchServerless](../../../../../swift/api/aws-sdk-swift.awsopensearchserverless/latest) -[AWSOpsWorks](../../../../../swift/api/awsopsworks/latest) +[aws-sdk-swift.AWSOpsWorks](../../../../../swift/api/aws-sdk-swift.awsopsworks/latest) -[AWSOpsWorksCM](../../../../../swift/api/awsopsworkscm/latest) +[aws-sdk-swift.AWSOpsWorksCM](../../../../../swift/api/aws-sdk-swift.awsopsworkscm/latest) -[AWSOrganizations](../../../../../swift/api/awsorganizations/latest) +[aws-sdk-swift.AWSOrganizations](../../../../../swift/api/aws-sdk-swift.awsorganizations/latest) -[AWSOutposts](../../../../../swift/api/awsoutposts/latest) +[aws-sdk-swift.AWSOutposts](../../../../../swift/api/aws-sdk-swift.awsoutposts/latest) -[AWSPI](../../../../../swift/api/awspi/latest) +[aws-sdk-swift.AWSPI](../../../../../swift/api/aws-sdk-swift.awspi/latest) -[AWSPanorama](../../../../../swift/api/awspanorama/latest) +[aws-sdk-swift.AWSPanorama](../../../../../swift/api/aws-sdk-swift.awspanorama/latest) -[AWSPaymentCryptography](../../../../../swift/api/awspaymentcryptography/latest) +[aws-sdk-swift.AWSPaymentCryptography](../../../../../swift/api/aws-sdk-swift.awspaymentcryptography/latest) -[AWSPaymentCryptographyData](../../../../../swift/api/awspaymentcryptographydata/latest) +[aws-sdk-swift.AWSPaymentCryptographyData](../../../../../swift/api/aws-sdk-swift.awspaymentcryptographydata/latest) -[AWSPcaConnectorAd](../../../../../swift/api/awspcaconnectorad/latest) +[aws-sdk-swift.AWSPcaConnectorAd](../../../../../swift/api/aws-sdk-swift.awspcaconnectorad/latest) -[AWSPcaConnectorScep](../../../../../swift/api/awspcaconnectorscep/latest) +[aws-sdk-swift.AWSPcaConnectorScep](../../../../../swift/api/aws-sdk-swift.awspcaconnectorscep/latest) -[AWSPersonalize](../../../../../swift/api/awspersonalize/latest) +[aws-sdk-swift.AWSPersonalize](../../../../../swift/api/aws-sdk-swift.awspersonalize/latest) -[AWSPersonalizeEvents](../../../../../swift/api/awspersonalizeevents/latest) +[aws-sdk-swift.AWSPersonalizeEvents](../../../../../swift/api/aws-sdk-swift.awspersonalizeevents/latest) -[AWSPersonalizeRuntime](../../../../../swift/api/awspersonalizeruntime/latest) +[aws-sdk-swift.AWSPersonalizeRuntime](../../../../../swift/api/aws-sdk-swift.awspersonalizeruntime/latest) -[AWSPinpoint](../../../../../swift/api/awspinpoint/latest) +[aws-sdk-swift.AWSPinpoint](../../../../../swift/api/aws-sdk-swift.awspinpoint/latest) -[AWSPinpointEmail](../../../../../swift/api/awspinpointemail/latest) +[aws-sdk-swift.AWSPinpointEmail](../../../../../swift/api/aws-sdk-swift.awspinpointemail/latest) -[AWSPinpointSMSVoice](../../../../../swift/api/awspinpointsmsvoice/latest) +[aws-sdk-swift.AWSPinpointSMSVoice](../../../../../swift/api/aws-sdk-swift.awspinpointsmsvoice/latest) -[AWSPinpointSMSVoiceV2](../../../../../swift/api/awspinpointsmsvoicev2/latest) +[aws-sdk-swift.AWSPinpointSMSVoiceV2](../../../../../swift/api/aws-sdk-swift.awspinpointsmsvoicev2/latest) -[AWSPipes](../../../../../swift/api/awspipes/latest) +[aws-sdk-swift.AWSPipes](../../../../../swift/api/aws-sdk-swift.awspipes/latest) -[AWSPolly](../../../../../swift/api/awspolly/latest) +[aws-sdk-swift.AWSPolly](../../../../../swift/api/aws-sdk-swift.awspolly/latest) -[AWSPricing](../../../../../swift/api/awspricing/latest) +[aws-sdk-swift.AWSPricing](../../../../../swift/api/aws-sdk-swift.awspricing/latest) -[AWSPrivateNetworks](../../../../../swift/api/awsprivatenetworks/latest) +[aws-sdk-swift.AWSPrivateNetworks](../../../../../swift/api/aws-sdk-swift.awsprivatenetworks/latest) -[AWSProton](../../../../../swift/api/awsproton/latest) +[aws-sdk-swift.AWSProton](../../../../../swift/api/aws-sdk-swift.awsproton/latest) -[AWSQBusiness](../../../../../swift/api/awsqbusiness/latest) +[aws-sdk-swift.AWSQBusiness](../../../../../swift/api/aws-sdk-swift.awsqbusiness/latest) -[AWSQConnect](../../../../../swift/api/awsqconnect/latest) +[aws-sdk-swift.AWSQConnect](../../../../../swift/api/aws-sdk-swift.awsqconnect/latest) -[AWSQLDB](../../../../../swift/api/awsqldb/latest) +[aws-sdk-swift.AWSQLDB](../../../../../swift/api/aws-sdk-swift.awsqldb/latest) -[AWSQLDBSession](../../../../../swift/api/awsqldbsession/latest) +[aws-sdk-swift.AWSQLDBSession](../../../../../swift/api/aws-sdk-swift.awsqldbsession/latest) -[AWSQuickSight](../../../../../swift/api/awsquicksight/latest) +[aws-sdk-swift.AWSQuickSight](../../../../../swift/api/aws-sdk-swift.awsquicksight/latest) -[AWSRAM](../../../../../swift/api/awsram/latest) +[aws-sdk-swift.AWSRAM](../../../../../swift/api/aws-sdk-swift.awsram/latest) -[AWSRDS](../../../../../swift/api/awsrds/latest) +[aws-sdk-swift.AWSRDS](../../../../../swift/api/aws-sdk-swift.awsrds/latest) -[AWSRDSData](../../../../../swift/api/awsrdsdata/latest) +[aws-sdk-swift.AWSRDSData](../../../../../swift/api/aws-sdk-swift.awsrdsdata/latest) -[AWSRUM](../../../../../swift/api/awsrum/latest) +[aws-sdk-swift.AWSRUM](../../../../../swift/api/aws-sdk-swift.awsrum/latest) -[AWSRbin](../../../../../swift/api/awsrbin/latest) +[aws-sdk-swift.AWSRbin](../../../../../swift/api/aws-sdk-swift.awsrbin/latest) -[AWSRedshift](../../../../../swift/api/awsredshift/latest) +[aws-sdk-swift.AWSRedshift](../../../../../swift/api/aws-sdk-swift.awsredshift/latest) -[AWSRedshiftData](../../../../../swift/api/awsredshiftdata/latest) +[aws-sdk-swift.AWSRedshiftData](../../../../../swift/api/aws-sdk-swift.awsredshiftdata/latest) -[AWSRedshiftServerless](../../../../../swift/api/awsredshiftserverless/latest) +[aws-sdk-swift.AWSRedshiftServerless](../../../../../swift/api/aws-sdk-swift.awsredshiftserverless/latest) -[AWSRekognition](../../../../../swift/api/awsrekognition/latest) +[aws-sdk-swift.AWSRekognition](../../../../../swift/api/aws-sdk-swift.awsrekognition/latest) -[AWSRepostspace](../../../../../swift/api/awsrepostspace/latest) +[aws-sdk-swift.AWSRepostspace](../../../../../swift/api/aws-sdk-swift.awsrepostspace/latest) -[AWSResiliencehub](../../../../../swift/api/awsresiliencehub/latest) +[aws-sdk-swift.AWSResiliencehub](../../../../../swift/api/aws-sdk-swift.awsresiliencehub/latest) -[AWSResourceExplorer2](../../../../../swift/api/awsresourceexplorer2/latest) +[aws-sdk-swift.AWSResourceExplorer2](../../../../../swift/api/aws-sdk-swift.awsresourceexplorer2/latest) -[AWSResourceGroups](../../../../../swift/api/awsresourcegroups/latest) +[aws-sdk-swift.AWSResourceGroups](../../../../../swift/api/aws-sdk-swift.awsresourcegroups/latest) -[AWSResourceGroupsTaggingAPI](../../../../../swift/api/awsresourcegroupstaggingapi/latest) +[aws-sdk-swift.AWSResourceGroupsTaggingAPI](../../../../../swift/api/aws-sdk-swift.awsresourcegroupstaggingapi/latest) -[AWSRoboMaker](../../../../../swift/api/awsrobomaker/latest) +[aws-sdk-swift.AWSRoboMaker](../../../../../swift/api/aws-sdk-swift.awsrobomaker/latest) -[AWSRolesAnywhere](../../../../../swift/api/awsrolesanywhere/latest) +[aws-sdk-swift.AWSRolesAnywhere](../../../../../swift/api/aws-sdk-swift.awsrolesanywhere/latest) -[AWSRoute53](../../../../../swift/api/awsroute53/latest) +[aws-sdk-swift.AWSRoute53](../../../../../swift/api/aws-sdk-swift.awsroute53/latest) -[AWSRoute53Domains](../../../../../swift/api/awsroute53domains/latest) +[aws-sdk-swift.AWSRoute53Domains](../../../../../swift/api/aws-sdk-swift.awsroute53domains/latest) -[AWSRoute53Profiles](../../../../../swift/api/awsroute53profiles/latest) +[aws-sdk-swift.AWSRoute53Profiles](../../../../../swift/api/aws-sdk-swift.awsroute53profiles/latest) -[AWSRoute53RecoveryCluster](../../../../../swift/api/awsroute53recoverycluster/latest) +[aws-sdk-swift.AWSRoute53RecoveryCluster](../../../../../swift/api/aws-sdk-swift.awsroute53recoverycluster/latest) -[AWSRoute53RecoveryControlConfig](../../../../../swift/api/awsroute53recoverycontrolconfig/latest) +[aws-sdk-swift.AWSRoute53RecoveryControlConfig](../../../../../swift/api/aws-sdk-swift.awsroute53recoverycontrolconfig/latest) -[AWSRoute53RecoveryReadiness](../../../../../swift/api/awsroute53recoveryreadiness/latest) +[aws-sdk-swift.AWSRoute53RecoveryReadiness](../../../../../swift/api/aws-sdk-swift.awsroute53recoveryreadiness/latest) -[AWSRoute53Resolver](../../../../../swift/api/awsroute53resolver/latest) +[aws-sdk-swift.AWSRoute53Resolver](../../../../../swift/api/aws-sdk-swift.awsroute53resolver/latest) -[AWSS3](../../../../../swift/api/awss3/latest) +[aws-sdk-swift.AWSS3](../../../../../swift/api/aws-sdk-swift.awss3/latest) -[AWSS3Control](../../../../../swift/api/awss3control/latest) +[aws-sdk-swift.AWSS3Control](../../../../../swift/api/aws-sdk-swift.awss3control/latest) -[AWSS3Outposts](../../../../../swift/api/awss3outposts/latest) +[aws-sdk-swift.AWSS3Outposts](../../../../../swift/api/aws-sdk-swift.awss3outposts/latest) -[AWSSES](../../../../../swift/api/awsses/latest) +[aws-sdk-swift.AWSSES](../../../../../swift/api/aws-sdk-swift.awsses/latest) -[AWSSESv2](../../../../../swift/api/awssesv2/latest) +[aws-sdk-swift.AWSSESv2](../../../../../swift/api/aws-sdk-swift.awssesv2/latest) -[AWSSFN](../../../../../swift/api/awssfn/latest) +[aws-sdk-swift.AWSSFN](../../../../../swift/api/aws-sdk-swift.awssfn/latest) -[AWSSMS](../../../../../swift/api/awssms/latest) +[aws-sdk-swift.AWSSMS](../../../../../swift/api/aws-sdk-swift.awssms/latest) -[AWSSNS](../../../../../swift/api/awssns/latest) +[aws-sdk-swift.AWSSNS](../../../../../swift/api/aws-sdk-swift.awssns/latest) -[AWSSQS](../../../../../swift/api/awssqs/latest) +[aws-sdk-swift.AWSSQS](../../../../../swift/api/aws-sdk-swift.awssqs/latest) -[AWSSSM](../../../../../swift/api/awsssm/latest) +[aws-sdk-swift.AWSSSM](../../../../../swift/api/aws-sdk-swift.awsssm/latest) -[AWSSSMContacts](../../../../../swift/api/awsssmcontacts/latest) +[aws-sdk-swift.AWSSSMContacts](../../../../../swift/api/aws-sdk-swift.awsssmcontacts/latest) -[AWSSSMIncidents](../../../../../swift/api/awsssmincidents/latest) +[aws-sdk-swift.AWSSSMIncidents](../../../../../swift/api/aws-sdk-swift.awsssmincidents/latest) -[AWSSSO](../../../../../swift/api/awssso/latest) +[aws-sdk-swift.AWSSSO](../../../../../swift/api/aws-sdk-swift.awssso/latest) -[AWSSSOAdmin](../../../../../swift/api/awsssoadmin/latest) +[aws-sdk-swift.AWSSSOAdmin](../../../../../swift/api/aws-sdk-swift.awsssoadmin/latest) -[AWSSSOOIDC](../../../../../swift/api/awsssooidc/latest) +[aws-sdk-swift.AWSSSOOIDC](../../../../../swift/api/aws-sdk-swift.awsssooidc/latest) -[AWSSTS](../../../../../swift/api/awssts/latest) +[aws-sdk-swift.AWSSTS](../../../../../swift/api/aws-sdk-swift.awssts/latest) -[AWSSWF](../../../../../swift/api/awsswf/latest) +[aws-sdk-swift.AWSSWF](../../../../../swift/api/aws-sdk-swift.awsswf/latest) -[AWSSageMaker](../../../../../swift/api/awssagemaker/latest) +[aws-sdk-swift.AWSSageMaker](../../../../../swift/api/aws-sdk-swift.awssagemaker/latest) -[AWSSageMakerA2IRuntime](../../../../../swift/api/awssagemakera2iruntime/latest) +[aws-sdk-swift.AWSSageMakerA2IRuntime](../../../../../swift/api/aws-sdk-swift.awssagemakera2iruntime/latest) -[AWSSageMakerFeatureStoreRuntime](../../../../../swift/api/awssagemakerfeaturestoreruntime/latest) +[aws-sdk-swift.AWSSageMakerFeatureStoreRuntime](../../../../../swift/api/aws-sdk-swift.awssagemakerfeaturestoreruntime/latest) -[AWSSageMakerGeospatial](../../../../../swift/api/awssagemakergeospatial/latest) +[aws-sdk-swift.AWSSageMakerGeospatial](../../../../../swift/api/aws-sdk-swift.awssagemakergeospatial/latest) -[AWSSageMakerMetrics](../../../../../swift/api/awssagemakermetrics/latest) +[aws-sdk-swift.AWSSageMakerMetrics](../../../../../swift/api/aws-sdk-swift.awssagemakermetrics/latest) -[AWSSageMakerRuntime](../../../../../swift/api/awssagemakerruntime/latest) +[aws-sdk-swift.AWSSageMakerRuntime](../../../../../swift/api/aws-sdk-swift.awssagemakerruntime/latest) -[AWSSagemakerEdge](../../../../../swift/api/awssagemakeredge/latest) +[aws-sdk-swift.AWSSagemakerEdge](../../../../../swift/api/aws-sdk-swift.awssagemakeredge/latest) -[AWSSavingsplans](../../../../../swift/api/awssavingsplans/latest) +[aws-sdk-swift.AWSSavingsplans](../../../../../swift/api/aws-sdk-swift.awssavingsplans/latest) -[AWSScheduler](../../../../../swift/api/awsscheduler/latest) +[aws-sdk-swift.AWSScheduler](../../../../../swift/api/aws-sdk-swift.awsscheduler/latest) -[AWSSchemas](../../../../../swift/api/awsschemas/latest) +[aws-sdk-swift.AWSSchemas](../../../../../swift/api/aws-sdk-swift.awsschemas/latest) -[AWSSecretsManager](../../../../../swift/api/awssecretsmanager/latest) +[aws-sdk-swift.AWSSecretsManager](../../../../../swift/api/aws-sdk-swift.awssecretsmanager/latest) -[AWSSecurityHub](../../../../../swift/api/awssecurityhub/latest) +[aws-sdk-swift.AWSSecurityHub](../../../../../swift/api/aws-sdk-swift.awssecurityhub/latest) -[AWSSecurityLake](../../../../../swift/api/awssecuritylake/latest) +[aws-sdk-swift.AWSSecurityLake](../../../../../swift/api/aws-sdk-swift.awssecuritylake/latest) -[AWSServerlessApplicationRepository](../../../../../swift/api/awsserverlessapplicationrepository/latest) +[aws-sdk-swift.AWSServerlessApplicationRepository](../../../../../swift/api/aws-sdk-swift.awsserverlessapplicationrepository/latest) -[AWSServiceCatalog](../../../../../swift/api/awsservicecatalog/latest) +[aws-sdk-swift.AWSServiceCatalog](../../../../../swift/api/aws-sdk-swift.awsservicecatalog/latest) -[AWSServiceCatalogAppRegistry](../../../../../swift/api/awsservicecatalogappregistry/latest) +[aws-sdk-swift.AWSServiceCatalogAppRegistry](../../../../../swift/api/aws-sdk-swift.awsservicecatalogappregistry/latest) -[AWSServiceDiscovery](../../../../../swift/api/awsservicediscovery/latest) +[aws-sdk-swift.AWSServiceDiscovery](../../../../../swift/api/aws-sdk-swift.awsservicediscovery/latest) -[AWSServiceQuotas](../../../../../swift/api/awsservicequotas/latest) +[aws-sdk-swift.AWSServiceQuotas](../../../../../swift/api/aws-sdk-swift.awsservicequotas/latest) -[AWSShield](../../../../../swift/api/awsshield/latest) +[aws-sdk-swift.AWSShield](../../../../../swift/api/aws-sdk-swift.awsshield/latest) -[AWSSigner](../../../../../swift/api/awssigner/latest) +[aws-sdk-swift.AWSSigner](../../../../../swift/api/aws-sdk-swift.awssigner/latest) -[AWSSimSpaceWeaver](../../../../../swift/api/awssimspaceweaver/latest) +[aws-sdk-swift.AWSSimSpaceWeaver](../../../../../swift/api/aws-sdk-swift.awssimspaceweaver/latest) -[AWSSnowDeviceManagement](../../../../../swift/api/awssnowdevicemanagement/latest) +[aws-sdk-swift.AWSSnowDeviceManagement](../../../../../swift/api/aws-sdk-swift.awssnowdevicemanagement/latest) -[AWSSnowball](../../../../../swift/api/awssnowball/latest) +[aws-sdk-swift.AWSSnowball](../../../../../swift/api/aws-sdk-swift.awssnowball/latest) -[AWSSsmSap](../../../../../swift/api/awsssmsap/latest) +[aws-sdk-swift.AWSSsmSap](../../../../../swift/api/aws-sdk-swift.awsssmsap/latest) -[AWSStorageGateway](../../../../../swift/api/awsstoragegateway/latest) +[aws-sdk-swift.AWSStorageGateway](../../../../../swift/api/aws-sdk-swift.awsstoragegateway/latest) -[AWSSupplyChain](../../../../../swift/api/awssupplychain/latest) +[aws-sdk-swift.AWSSupplyChain](../../../../../swift/api/aws-sdk-swift.awssupplychain/latest) -[AWSSupport](../../../../../swift/api/awssupport/latest) +[aws-sdk-swift.AWSSupport](../../../../../swift/api/aws-sdk-swift.awssupport/latest) -[AWSSupportApp](../../../../../swift/api/awssupportapp/latest) +[aws-sdk-swift.AWSSupportApp](../../../../../swift/api/aws-sdk-swift.awssupportapp/latest) -[AWSSynthetics](../../../../../swift/api/awssynthetics/latest) +[aws-sdk-swift.AWSSynthetics](../../../../../swift/api/aws-sdk-swift.awssynthetics/latest) -[AWSTaxSettings](../../../../../swift/api/awstaxsettings/latest) +[aws-sdk-swift.AWSTaxSettings](../../../../../swift/api/aws-sdk-swift.awstaxsettings/latest) -[AWSTextract](../../../../../swift/api/awstextract/latest) +[aws-sdk-swift.AWSTextract](../../../../../swift/api/aws-sdk-swift.awstextract/latest) -[AWSTimestreamInfluxDB](../../../../../swift/api/awstimestreaminfluxdb/latest) +[aws-sdk-swift.AWSTimestreamInfluxDB](../../../../../swift/api/aws-sdk-swift.awstimestreaminfluxdb/latest) -[AWSTimestreamQuery](../../../../../swift/api/awstimestreamquery/latest) +[aws-sdk-swift.AWSTimestreamQuery](../../../../../swift/api/aws-sdk-swift.awstimestreamquery/latest) -[AWSTimestreamWrite](../../../../../swift/api/awstimestreamwrite/latest) +[aws-sdk-swift.AWSTimestreamWrite](../../../../../swift/api/aws-sdk-swift.awstimestreamwrite/latest) -[AWSTnb](../../../../../swift/api/awstnb/latest) +[aws-sdk-swift.AWSTnb](../../../../../swift/api/aws-sdk-swift.awstnb/latest) -[AWSTranscribe](../../../../../swift/api/awstranscribe/latest) +[aws-sdk-swift.AWSTranscribe](../../../../../swift/api/aws-sdk-swift.awstranscribe/latest) -[AWSTranscribeStreaming](../../../../../swift/api/awstranscribestreaming/latest) +[aws-sdk-swift.AWSTranscribeStreaming](../../../../../swift/api/aws-sdk-swift.awstranscribestreaming/latest) -[AWSTransfer](../../../../../swift/api/awstransfer/latest) +[aws-sdk-swift.AWSTransfer](../../../../../swift/api/aws-sdk-swift.awstransfer/latest) -[AWSTranslate](../../../../../swift/api/awstranslate/latest) +[aws-sdk-swift.AWSTranslate](../../../../../swift/api/aws-sdk-swift.awstranslate/latest) -[AWSTrustedAdvisor](../../../../../swift/api/awstrustedadvisor/latest) +[aws-sdk-swift.AWSTrustedAdvisor](../../../../../swift/api/aws-sdk-swift.awstrustedadvisor/latest) -[AWSVPCLattice](../../../../../swift/api/awsvpclattice/latest) +[aws-sdk-swift.AWSVPCLattice](../../../../../swift/api/aws-sdk-swift.awsvpclattice/latest) -[AWSVerifiedPermissions](../../../../../swift/api/awsverifiedpermissions/latest) +[aws-sdk-swift.AWSVerifiedPermissions](../../../../../swift/api/aws-sdk-swift.awsverifiedpermissions/latest) -[AWSVoiceID](../../../../../swift/api/awsvoiceid/latest) +[aws-sdk-swift.AWSVoiceID](../../../../../swift/api/aws-sdk-swift.awsvoiceid/latest) -[AWSWAF](../../../../../swift/api/awswaf/latest) +[aws-sdk-swift.AWSWAF](../../../../../swift/api/aws-sdk-swift.awswaf/latest) -[AWSWAFRegional](../../../../../swift/api/awswafregional/latest) +[aws-sdk-swift.AWSWAFRegional](../../../../../swift/api/aws-sdk-swift.awswafregional/latest) -[AWSWAFV2](../../../../../swift/api/awswafv2/latest) +[aws-sdk-swift.AWSWAFV2](../../../../../swift/api/aws-sdk-swift.awswafv2/latest) -[AWSWellArchitected](../../../../../swift/api/awswellarchitected/latest) +[aws-sdk-swift.AWSWellArchitected](../../../../../swift/api/aws-sdk-swift.awswellarchitected/latest) -[AWSWisdom](../../../../../swift/api/awswisdom/latest) +[aws-sdk-swift.AWSWisdom](../../../../../swift/api/aws-sdk-swift.awswisdom/latest) -[AWSWorkDocs](../../../../../swift/api/awsworkdocs/latest) +[aws-sdk-swift.AWSWorkDocs](../../../../../swift/api/aws-sdk-swift.awsworkdocs/latest) -[AWSWorkLink](../../../../../swift/api/awsworklink/latest) +[aws-sdk-swift.AWSWorkLink](../../../../../swift/api/aws-sdk-swift.awsworklink/latest) -[AWSWorkMail](../../../../../swift/api/awsworkmail/latest) +[aws-sdk-swift.AWSWorkMail](../../../../../swift/api/aws-sdk-swift.awsworkmail/latest) -[AWSWorkMailMessageFlow](../../../../../swift/api/awsworkmailmessageflow/latest) +[aws-sdk-swift.AWSWorkMailMessageFlow](../../../../../swift/api/aws-sdk-swift.awsworkmailmessageflow/latest) -[AWSWorkSpaces](../../../../../swift/api/awsworkspaces/latest) +[aws-sdk-swift.AWSWorkSpaces](../../../../../swift/api/aws-sdk-swift.awsworkspaces/latest) -[AWSWorkSpacesThinClient](../../../../../swift/api/awsworkspacesthinclient/latest) +[aws-sdk-swift.AWSWorkSpacesThinClient](../../../../../swift/api/aws-sdk-swift.awsworkspacesthinclient/latest) -[AWSWorkSpacesWeb](../../../../../swift/api/awsworkspacesweb/latest) +[aws-sdk-swift.AWSWorkSpacesWeb](../../../../../swift/api/aws-sdk-swift.awsworkspacesweb/latest) -[AWSXRay](../../../../../swift/api/awsxray/latest) +[aws-sdk-swift.AWSXRay](../../../../../swift/api/aws-sdk-swift.awsxray/latest) diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index cd5208b8975..1cc4becec96 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let sdkVersion: Version = "0.0.12" -let smithySwiftVersion: Version = "0.51.0" +let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" let package = Package( @@ -22,7 +22,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: sdkVersion), .package(id: "aws-sdk-swift.AWSSDKIdentity", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index 36dadb5381d..ef42b0bb06e 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let sdkVersion: Version = "0.0.12" -let smithySwiftVersion: Version = "0.51.0" +let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" let package = Package( @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift index 52058e1977c..2aeafb6b074 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let sdkVersion: Version = "0.0.12" -let smithySwiftVersion: Version = "0.51.0" +let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index d9055a2a50c..c311b13224e 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let sdkVersion: Version = "0.0.12" -let smithySwiftVersion: Version = "0.51.0" +let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" let package = Package( @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index 7d9dd395879..49e6277c1ec 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let sdkVersion: Version = "0.0.12" -let smithySwiftVersion: Version = "0.51.0" +let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" let package = Package( @@ -21,7 +21,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKIdentity", exact: sdkVersion), .package(id: "aws-sdk-swift.AWSSDKChecksums", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index dd285bd8108..d7e0703c936 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let sdkVersion: Version = "0.0.12" -let smithySwiftVersion: Version = "0.51.0" +let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" let package = Package( @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/smithy-lang/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index eca9f6b4649..1d79fd086eb 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -124,7 +124,8 @@ fun generateSmithyBuild(services: List): String { }, "useInterceptors": ${interceptorsServices.contains(service.packageName)}, "mergeModels": true, - "copyrightNotice": "//\n// Copyright Amazon.com Inc. or its affiliates.\n// All Rights Reserved.\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n\n// Code generated by smithy-swift-codegen. DO NOT EDIT!\n\n" + "copyrightNotice": "//\n// Copyright Amazon.com Inc. or its affiliates.\n// All Rights Reserved.\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n\n// Code generated by smithy-swift-codegen. DO NOT EDIT!\n\n", + "registryScope": "aws-sdk-swift" } } } @@ -193,7 +194,7 @@ val AwsService.outputDir: String val AwsService.sourcesDir: String get(){ - return rootProject.file("Sources/Services/$packageName").absolutePath + return rootProject.file("Sources/Services/aws-sdk-swift.$packageName").absolutePath } /** From f35f3b67fa3ff15f5e52a9b462cd77dae3a9fcbe Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Sat, 6 Jul 2024 13:07:01 -0500 Subject: [PATCH 25/45] Configure SDK 0.0.14, cache control --- .gitignore | 1 - .../Sources/AWSCLIUtils/Process+Utils.swift | 3 + AWSSDKSwiftCLI/Sources/SPR/Configurable.swift | 39 + AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift | 25 +- AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift | 2 +- .../Sources/SPR/UploadArchive.swift | 2 +- .../Sources/SPR/UploadManifest.swift | 2 +- .../Sources/SPR/UploadMetadata.swift | 2 +- .../spr-multi-publish/SPRMultiPublish.swift | 5 +- .../Sources/spr-publish/SPRPublish.swift | 5 +- Package.swift | 768 +++++++++--------- .../.swiftpm/configuration/registries.json | 18 + .../Package.swift | 2 +- .../.swiftpm/configuration/registries.json | 18 + .../Package.swift | 2 +- .../aws-sdk-swift.AWSSDKCommon/Package.swift | 2 +- .../.swiftpm/configuration/registries.json | 18 + .../Package.swift | 2 +- .../.swiftpm/configuration/registries.json | 18 + .../Package.swift | 2 +- .../.swiftpm/configuration/registries.json | 18 + .../Package.swift | 2 +- .../aws/swift/codegen/AWSSwiftDependency.kt | 2 +- 23 files changed, 536 insertions(+), 422 deletions(-) create mode 100644 AWSSDKSwiftCLI/Sources/SPR/Configurable.swift create mode 100644 Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json create mode 100644 Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json create mode 100644 Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json create mode 100644 Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json create mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json diff --git a/.gitignore b/.gitignore index 76118c59373..32d8dff407a 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,3 @@ codegen/protocol-test-codegen/smithy-build.json # while excluding all other Package.resolved files !/AWSSDKSwiftCLI/Package.resolved -/Sources/Services/* diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift index 25a76634b58..3c5a4d62c84 100644 --- a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Process+Utils.swift @@ -42,6 +42,9 @@ public func _run(_ process: Process) throws { #if DEBUG if let testRunner = ProcessRunner.testRunner { try testRunner.run(process) + if let pipe = process.standardOutput as? Pipe { + try pipe.fileHandleForWriting.close() + } return } #endif diff --git a/AWSSDKSwiftCLI/Sources/SPR/Configurable.swift b/AWSSDKSwiftCLI/Sources/SPR/Configurable.swift new file mode 100644 index 00000000000..fea69570061 --- /dev/null +++ b/AWSSDKSwiftCLI/Sources/SPR/Configurable.swift @@ -0,0 +1,39 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import ClientRuntime +import Foundation +import AWSCLIUtils + +public protocol Configurable { + var bucket: String { get set } + var region: String { get set } + var distributionID: String? { get set } +} + +public extension Configurable { + + mutating func setOptions() async throws { + await SDKLoggingSystem.initialize(logLevel: .error) + let env = ProcessInfo.processInfo.environment + if bucket.isEmpty { + bucket = env["AWS_SDK_SPR_BUCKET"] ?? "" + } + if bucket.isEmpty { + throw Error("Bucket is not set") + } + if region.isEmpty { + region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" + } + distributionID = resolvedDistributionID(from: distributionID) + } +} + +func resolvedDistributionID(from distributionID: String?) -> String? { + let env = ProcessInfo.processInfo.environment + return distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] +} diff --git a/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift b/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift index 681b0875b34..ccf0fc5867b 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/SPRPublisher.swift @@ -5,17 +5,14 @@ // SPDX-License-Identifier: Apache-2.0 // -import Foundation -import ClientRuntime - public struct SPRPublisher { public var scope: String public var name: String public var version: String public var path: String - public var region: String = "" - public var bucket: String? + public var region: String + public var bucket: String public var url: String public var distributionID: String? public var replace = false @@ -29,7 +26,7 @@ public struct SPRPublisher { version: String, path: String, region: String, - bucket: String?, + bucket: String, url: String, distributionID: String?, replace: Bool @@ -46,7 +43,6 @@ public struct SPRPublisher { } public mutating func run() async throws { - await setOptions() print(" Verifying package... ", terminator: "") try verifyPackage() print("[done]") @@ -63,19 +59,4 @@ public struct SPRPublisher { try await updateList() print("[done]") } - - private mutating func setOptions() async { - await SDKLoggingSystem.initialize(logLevel: .error) - let env = ProcessInfo.processInfo.environment - bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] - if region.isEmpty { - region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" - } - distributionID = Self.resolvedDistributionID(from: distributionID) - } - - static func resolvedDistributionID(from distributionID: String?) -> String? { - let env = ProcessInfo.processInfo.environment - return distributionID ?? env["AWS_SDK_SPR_DISTRIBUTION_ID"] - } } diff --git a/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift b/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift index 1e6aa876b3b..0705523fa62 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UpdateList.swift @@ -49,7 +49,7 @@ extension SPRPublisher { jsonEncoder.outputFormatting = [.prettyPrinted, .sortedKeys] let data = try jsonEncoder.encode(list) let body = ByteStream.data(data) - let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/json", key: listKey) + let input = PutObjectInput(body: body, bucket: bucket, cacheControl: "public, no-cache", contentType: "application/json", key: listKey) _ = try await s3Client.putObject(input: input) } diff --git a/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift index 4298d47f6ba..a047d4fbfb2 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadArchive.swift @@ -50,7 +50,7 @@ extension SPRPublisher { let fileHandle = try FileHandle(forReadingFrom: archiveFileURL) let stream = FileStream(fileHandle: fileHandle) let body = ByteStream.stream(stream) - let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/zip", key: archiveKey) + let input = PutObjectInput(body: body, bucket: bucket, cacheControl: "public, immutable", contentType: "application/zip", key: archiveKey) _ = try await s3Client.putObject(input: input) } diff --git a/AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift index 99e54001700..e504e2eb989 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadManifest.swift @@ -38,7 +38,7 @@ extension SPRPublisher { let fileHandle = try FileHandle(forReadingFrom: manifestFileURL) let stream = FileStream(fileHandle: fileHandle) let body = ByteStream.stream(stream) - let input = PutObjectInput(body: body, bucket: bucket, contentType: "text/x-swift", key: manifestKey) + let input = PutObjectInput(body: body, bucket: bucket, cacheControl: "public, immutable", contentType: "text/x-swift", key: manifestKey) _ = try await s3Client.putObject(input: input) } diff --git a/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift b/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift index f1af783de45..9fd58970d66 100644 --- a/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift +++ b/AWSSDKSwiftCLI/Sources/SPR/UploadMetadata.swift @@ -38,7 +38,7 @@ extension SPRPublisher { jsonEncoder.outputFormatting = [.prettyPrinted, .sortedKeys] let data = try jsonEncoder.encode(metadata) let body = ByteStream.data(data) - let input = PutObjectInput(body: body, bucket: bucket, contentType: "application/json", key: metadataKey) + let input = PutObjectInput(body: body, bucket: bucket, cacheControl: "public, max-age=3600, immutable", contentType: "application/json", key: metadataKey) _ = try await s3Client.putObject(input: input) } diff --git a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift index d34b22ea5dc..d676fc58813 100644 --- a/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-multi-publish/SPRMultiPublish.swift @@ -11,7 +11,7 @@ import SPR import AWSCLIUtils @main -struct SPRMultiPublish: AsyncParsableCommand { +struct SPRMultiPublish: AsyncParsableCommand, Configurable { static var configuration = CommandConfiguration( commandName: "spr-multi-publish", @@ -29,7 +29,7 @@ struct SPRMultiPublish: AsyncParsableCommand { var region: String = "" @Option(help: "The bucket name for the S3 bucket hosting the Registry. Alternate to this option, the bucket may be obtained from environment var AWS_SDK_SPR_BUCKET.") - var bucket: String? + var bucket: String = "" @Option(help: "The base URL for the registry.") var url: String @@ -41,6 +41,7 @@ struct SPRMultiPublish: AsyncParsableCommand { var replace = false mutating func run() async throws { + try await setOptions() let start = Date() let allPackages = try runtimePackages + serviceClientPackages var allInvalidations = [String]() diff --git a/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift index e19c4c49e8a..b94ae9ac72b 100644 --- a/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift +++ b/AWSSDKSwiftCLI/Sources/spr-publish/SPRPublish.swift @@ -10,7 +10,7 @@ import ArgumentParser import SPR @main -struct SPRPublish: AsyncParsableCommand { +struct SPRPublish: AsyncParsableCommand, Configurable { static var configuration = CommandConfiguration( commandName: "spr-publish", @@ -34,7 +34,7 @@ struct SPRPublish: AsyncParsableCommand { var region: String = "" @Option(help: "The bucket name for the S3 bucket hosting the Registry. Alternate to this option, the bucket may be obtained from environment var AWS_SDK_SPR_BUCKET.") - public var bucket: String? + public var bucket: String = "" @Option(help: "The base URL for the registry.") var url: String @@ -46,6 +46,7 @@ struct SPRPublish: AsyncParsableCommand { var replace = false mutating func run() async throws { + try await setOptions() let start = Date() print("Package: \(name)") var publisher = SPRPublisher( diff --git a/Package.swift b/Package.swift index 11868829516..548687f1ddc 100644 --- a/Package.swift +++ b/Package.swift @@ -263,390 +263,390 @@ addDependencies( // excludeRuntimeUnitTests() let serviceTargets: [String] = [ - "AWSACM", - "AWSACMPCA", - "AWSAPIGateway", - "AWSARCZonalShift", - "AWSAccessAnalyzer", - "AWSAccount", - "AWSAmp", - "AWSAmplify", - "AWSAmplifyBackend", - "AWSAmplifyUIBuilder", - "AWSApiGatewayManagementApi", - "AWSApiGatewayV2", - "AWSAppConfig", - "AWSAppConfigData", - "AWSAppFabric", - "AWSAppIntegrations", - "AWSAppMesh", - "AWSAppRunner", - "AWSAppStream", - "AWSAppSync", - "AWSAppTest", - "AWSAppflow", - "AWSApplicationAutoScaling", - "AWSApplicationCostProfiler", - "AWSApplicationDiscoveryService", - "AWSApplicationInsights", - "AWSApplicationSignals", - "AWSArtifact", - "AWSAthena", - "AWSAuditManager", - "AWSAutoScaling", - "AWSAutoScalingPlans", - "AWSB2bi", - "AWSBCMDataExports", - "AWSBackup", - "AWSBackupGateway", - "AWSBatch", - "AWSBedrock", - "AWSBedrockAgent", - "AWSBedrockAgentRuntime", - "AWSBedrockRuntime", - "AWSBillingconductor", - "AWSBraket", - "AWSBudgets", - "AWSChatbot", - "AWSChime", - "AWSChimeSDKIdentity", - "AWSChimeSDKMediaPipelines", - "AWSChimeSDKMeetings", - "AWSChimeSDKMessaging", - "AWSChimeSDKVoice", - "AWSCleanRooms", - "AWSCleanRoomsML", - "AWSCloud9", - "AWSCloudControl", - "AWSCloudDirectory", - "AWSCloudFormation", - "AWSCloudFront", - "AWSCloudFrontKeyValueStore", - "AWSCloudHSM", - "AWSCloudHSMV2", - "AWSCloudSearch", - "AWSCloudSearchDomain", - "AWSCloudTrail", - "AWSCloudTrailData", - "AWSCloudWatch", - "AWSCloudWatchEvents", - "AWSCloudWatchLogs", - "AWSCodeBuild", - "AWSCodeCatalyst", - "AWSCodeCommit", - "AWSCodeConnections", - "AWSCodeDeploy", - "AWSCodeGuruProfiler", - "AWSCodeGuruReviewer", - "AWSCodeGuruSecurity", - "AWSCodePipeline", - "AWSCodeStar", - "AWSCodeStarconnections", - "AWSCodeartifact", - "AWSCodestarnotifications", - "AWSCognitoIdentity", - "AWSCognitoIdentityProvider", - "AWSCognitoSync", - "AWSComprehend", - "AWSComprehendMedical", - "AWSComputeOptimizer", - "AWSConfigService", - "AWSConnect", - "AWSConnectCampaigns", - "AWSConnectCases", - "AWSConnectContactLens", - "AWSConnectParticipant", - "AWSControlCatalog", - "AWSControlTower", - "AWSCostExplorer", - "AWSCostOptimizationHub", - "AWSCostandUsageReportService", - "AWSCustomerProfiles", - "AWSDAX", - "AWSDLM", - "AWSDataBrew", - "AWSDataExchange", - "AWSDataPipeline", - "AWSDataSync", - "AWSDataZone", - "AWSDatabaseMigrationService", - "AWSDeadline", - "AWSDetective", - "AWSDevOpsGuru", - "AWSDeviceFarm", - "AWSDirectConnect", - "AWSDirectoryService", - "AWSDocDB", - "AWSDocDBElastic", - "AWSDrs", - "AWSDynamoDB", - "AWSDynamoDBStreams", - "AWSEBS", - "AWSEC2", - "AWSEC2InstanceConnect", - "AWSECR", - "AWSECRPUBLIC", - "AWSECS", - "AWSEFS", - "AWSEKS", - "AWSEKSAuth", - "AWSEMR", - "AWSEMRServerless", - "AWSEMRcontainers", - "AWSElastiCache", - "AWSElasticBeanstalk", - "AWSElasticInference", - "AWSElasticLoadBalancing", - "AWSElasticLoadBalancingv2", - "AWSElasticTranscoder", - "AWSElasticsearchService", - "AWSEntityResolution", - "AWSEventBridge", - "AWSEvidently", - "AWSFMS", - "AWSFSx", - "AWSFinspace", - "AWSFinspacedata", - "AWSFirehose", - "AWSFis", - "AWSForecast", - "AWSForecastquery", - "AWSFraudDetector", - "AWSFreeTier", - "AWSGameLift", - "AWSGlacier", - "AWSGlobalAccelerator", - "AWSGlue", - "AWSGrafana", - "AWSGreengrass", - "AWSGreengrassV2", - "AWSGroundStation", - "AWSGuardDuty", - "AWSHealth", - "AWSHealthLake", - "AWSIAM", - "AWSIVSRealTime", - "AWSIdentitystore", - "AWSImagebuilder", - "AWSInspector", - "AWSInspector2", - "AWSInspectorScan", - "AWSInternetMonitor", - "AWSIoT", - "AWSIoT1ClickDevicesService", - "AWSIoT1ClickProjects", - "AWSIoTAnalytics", - "AWSIoTDataPlane", - "AWSIoTEvents", - "AWSIoTEventsData", - "AWSIoTFleetHub", - "AWSIoTFleetWise", - "AWSIoTJobsDataPlane", - "AWSIoTSecureTunneling", - "AWSIoTSiteWise", - "AWSIoTThingsGraph", - "AWSIoTTwinMaker", - "AWSIoTWireless", - "AWSIotDeviceAdvisor", - "AWSIvs", - "AWSIvschat", - "AWSKMS", - "AWSKafka", - "AWSKafkaConnect", - "AWSKendra", - "AWSKendraRanking", - "AWSKeyspaces", - "AWSKinesis", - "AWSKinesisAnalytics", - "AWSKinesisAnalyticsV2", - "AWSKinesisVideo", - "AWSKinesisVideoArchivedMedia", - "AWSKinesisVideoMedia", - "AWSKinesisVideoSignaling", - "AWSKinesisVideoWebRTCStorage", - "AWSLakeFormation", - "AWSLambda", - "AWSLaunchWizard", - "AWSLexModelBuildingService", - "AWSLexModelsV2", - "AWSLexRuntimeService", - "AWSLexRuntimeV2", - "AWSLicenseManager", - "AWSLicenseManagerLinuxSubscriptions", - "AWSLicenseManagerUserSubscriptions", - "AWSLightsail", - "AWSLocation", - "AWSLookoutEquipment", - "AWSLookoutMetrics", - "AWSLookoutVision", - "AWSM2", - "AWSMTurk", - "AWSMWAA", - "AWSMachineLearning", - "AWSMacie2", - "AWSMailManager", - "AWSManagedBlockchain", - "AWSManagedBlockchainQuery", - "AWSMarketplaceAgreement", - "AWSMarketplaceCatalog", - "AWSMarketplaceCommerceAnalytics", - "AWSMarketplaceDeployment", - "AWSMarketplaceEntitlementService", - "AWSMarketplaceMetering", - "AWSMediaConnect", - "AWSMediaConvert", - "AWSMediaLive", - "AWSMediaPackage", - "AWSMediaPackageV2", - "AWSMediaPackageVod", - "AWSMediaStore", - "AWSMediaStoreData", - "AWSMediaTailor", - "AWSMedicalImaging", - "AWSMemoryDB", - "AWSMgn", - "AWSMigrationHub", - "AWSMigrationHubConfig", - "AWSMigrationHubOrchestrator", - "AWSMigrationHubRefactorSpaces", - "AWSMigrationHubStrategy", - "AWSMobile", - "AWSMq", - "AWSNeptune", - "AWSNeptuneGraph", - "AWSNeptunedata", - "AWSNetworkFirewall", - "AWSNetworkManager", - "AWSNetworkMonitor", - "AWSNimble", - "AWSOAM", - "AWSOSIS", - "AWSOmics", - "AWSOpenSearch", - "AWSOpenSearchServerless", - "AWSOpsWorks", - "AWSOpsWorksCM", - "AWSOrganizations", - "AWSOutposts", - "AWSPI", - "AWSPanorama", - "AWSPaymentCryptography", - "AWSPaymentCryptographyData", - "AWSPcaConnectorAd", - "AWSPcaConnectorScep", - "AWSPersonalize", - "AWSPersonalizeEvents", - "AWSPersonalizeRuntime", - "AWSPinpoint", - "AWSPinpointEmail", - "AWSPinpointSMSVoice", - "AWSPinpointSMSVoiceV2", - "AWSPipes", - "AWSPolly", - "AWSPricing", - "AWSPrivateNetworks", - "AWSProton", - "AWSQBusiness", - "AWSQConnect", - "AWSQLDB", - "AWSQLDBSession", - "AWSQuickSight", - "AWSRAM", - "AWSRDS", - "AWSRDSData", - "AWSRUM", - "AWSRbin", - "AWSRedshift", - "AWSRedshiftData", - "AWSRedshiftServerless", - "AWSRekognition", - "AWSRepostspace", - "AWSResiliencehub", - "AWSResourceExplorer2", - "AWSResourceGroups", - "AWSResourceGroupsTaggingAPI", - "AWSRoboMaker", - "AWSRolesAnywhere", - "AWSRoute53", - "AWSRoute53Domains", - "AWSRoute53Profiles", - "AWSRoute53RecoveryCluster", - "AWSRoute53RecoveryControlConfig", - "AWSRoute53RecoveryReadiness", - "AWSRoute53Resolver", - "AWSS3", - "AWSS3Control", - "AWSS3Outposts", - "AWSSES", - "AWSSESv2", - "AWSSFN", - "AWSSMS", - "AWSSNS", - "AWSSQS", - "AWSSSM", - "AWSSSMContacts", - "AWSSSMIncidents", - "AWSSSO", - "AWSSSOAdmin", - "AWSSSOOIDC", - "AWSSTS", - "AWSSWF", - "AWSSageMaker", - "AWSSageMakerA2IRuntime", - "AWSSageMakerFeatureStoreRuntime", - "AWSSageMakerGeospatial", - "AWSSageMakerMetrics", - "AWSSageMakerRuntime", - "AWSSagemakerEdge", - "AWSSavingsplans", - "AWSScheduler", - "AWSSchemas", - "AWSSecretsManager", - "AWSSecurityHub", - "AWSSecurityLake", - "AWSServerlessApplicationRepository", - "AWSServiceCatalog", - "AWSServiceCatalogAppRegistry", - "AWSServiceDiscovery", - "AWSServiceQuotas", - "AWSShield", - "AWSSigner", - "AWSSimSpaceWeaver", - "AWSSnowDeviceManagement", - "AWSSnowball", - "AWSSsmSap", - "AWSStorageGateway", - "AWSSupplyChain", - "AWSSupport", - "AWSSupportApp", - "AWSSynthetics", - "AWSTaxSettings", - "AWSTextract", - "AWSTimestreamInfluxDB", - "AWSTimestreamQuery", - "AWSTimestreamWrite", - "AWSTnb", - "AWSTranscribe", - "AWSTranscribeStreaming", - "AWSTransfer", - "AWSTranslate", - "AWSTrustedAdvisor", - "AWSVPCLattice", - "AWSVerifiedPermissions", - "AWSVoiceID", - "AWSWAF", - "AWSWAFRegional", - "AWSWAFV2", - "AWSWellArchitected", - "AWSWisdom", - "AWSWorkDocs", - "AWSWorkLink", - "AWSWorkMail", - "AWSWorkMailMessageFlow", - "AWSWorkSpaces", - "AWSWorkSpacesThinClient", - "AWSWorkSpacesWeb", - "AWSXRay", + "aws-sdk-swift.AWSACM", + "aws-sdk-swift.AWSACMPCA", + "aws-sdk-swift.AWSAPIGateway", + "aws-sdk-swift.AWSARCZonalShift", + "aws-sdk-swift.AWSAccessAnalyzer", + "aws-sdk-swift.AWSAccount", + "aws-sdk-swift.AWSAmp", + "aws-sdk-swift.AWSAmplify", + "aws-sdk-swift.AWSAmplifyBackend", + "aws-sdk-swift.AWSAmplifyUIBuilder", + "aws-sdk-swift.AWSApiGatewayManagementApi", + "aws-sdk-swift.AWSApiGatewayV2", + "aws-sdk-swift.AWSAppConfig", + "aws-sdk-swift.AWSAppConfigData", + "aws-sdk-swift.AWSAppFabric", + "aws-sdk-swift.AWSAppIntegrations", + "aws-sdk-swift.AWSAppMesh", + "aws-sdk-swift.AWSAppRunner", + "aws-sdk-swift.AWSAppStream", + "aws-sdk-swift.AWSAppSync", + "aws-sdk-swift.AWSAppTest", + "aws-sdk-swift.AWSAppflow", + "aws-sdk-swift.AWSApplicationAutoScaling", + "aws-sdk-swift.AWSApplicationCostProfiler", + "aws-sdk-swift.AWSApplicationDiscoveryService", + "aws-sdk-swift.AWSApplicationInsights", + "aws-sdk-swift.AWSApplicationSignals", + "aws-sdk-swift.AWSArtifact", + "aws-sdk-swift.AWSAthena", + "aws-sdk-swift.AWSAuditManager", + "aws-sdk-swift.AWSAutoScaling", + "aws-sdk-swift.AWSAutoScalingPlans", + "aws-sdk-swift.AWSB2bi", + "aws-sdk-swift.AWSBCMDataExports", + "aws-sdk-swift.AWSBackup", + "aws-sdk-swift.AWSBackupGateway", + "aws-sdk-swift.AWSBatch", + "aws-sdk-swift.AWSBedrock", + "aws-sdk-swift.AWSBedrockAgent", + "aws-sdk-swift.AWSBedrockAgentRuntime", + "aws-sdk-swift.AWSBedrockRuntime", + "aws-sdk-swift.AWSBillingconductor", + "aws-sdk-swift.AWSBraket", + "aws-sdk-swift.AWSBudgets", + "aws-sdk-swift.AWSChatbot", + "aws-sdk-swift.AWSChime", + "aws-sdk-swift.AWSChimeSDKIdentity", + "aws-sdk-swift.AWSChimeSDKMediaPipelines", + "aws-sdk-swift.AWSChimeSDKMeetings", + "aws-sdk-swift.AWSChimeSDKMessaging", + "aws-sdk-swift.AWSChimeSDKVoice", + "aws-sdk-swift.AWSCleanRooms", + "aws-sdk-swift.AWSCleanRoomsML", + "aws-sdk-swift.AWSCloud9", + "aws-sdk-swift.AWSCloudControl", + "aws-sdk-swift.AWSCloudDirectory", + "aws-sdk-swift.AWSCloudFormation", + "aws-sdk-swift.AWSCloudFront", + "aws-sdk-swift.AWSCloudFrontKeyValueStore", + "aws-sdk-swift.AWSCloudHSM", + "aws-sdk-swift.AWSCloudHSMV2", + "aws-sdk-swift.AWSCloudSearch", + "aws-sdk-swift.AWSCloudSearchDomain", + "aws-sdk-swift.AWSCloudTrail", + "aws-sdk-swift.AWSCloudTrailData", + "aws-sdk-swift.AWSCloudWatch", + "aws-sdk-swift.AWSCloudWatchEvents", + "aws-sdk-swift.AWSCloudWatchLogs", + "aws-sdk-swift.AWSCodeBuild", + "aws-sdk-swift.AWSCodeCatalyst", + "aws-sdk-swift.AWSCodeCommit", + "aws-sdk-swift.AWSCodeConnections", + "aws-sdk-swift.AWSCodeDeploy", + "aws-sdk-swift.AWSCodeGuruProfiler", + "aws-sdk-swift.AWSCodeGuruReviewer", + "aws-sdk-swift.AWSCodeGuruSecurity", + "aws-sdk-swift.AWSCodePipeline", + "aws-sdk-swift.AWSCodeStar", + "aws-sdk-swift.AWSCodeStarconnections", + "aws-sdk-swift.AWSCodeartifact", + "aws-sdk-swift.AWSCodestarnotifications", + "aws-sdk-swift.AWSCognitoIdentity", + "aws-sdk-swift.AWSCognitoIdentityProvider", + "aws-sdk-swift.AWSCognitoSync", + "aws-sdk-swift.AWSComprehend", + "aws-sdk-swift.AWSComprehendMedical", + "aws-sdk-swift.AWSComputeOptimizer", + "aws-sdk-swift.AWSConfigService", + "aws-sdk-swift.AWSConnect", + "aws-sdk-swift.AWSConnectCampaigns", + "aws-sdk-swift.AWSConnectCases", + "aws-sdk-swift.AWSConnectContactLens", + "aws-sdk-swift.AWSConnectParticipant", + "aws-sdk-swift.AWSControlCatalog", + "aws-sdk-swift.AWSControlTower", + "aws-sdk-swift.AWSCostExplorer", + "aws-sdk-swift.AWSCostOptimizationHub", + "aws-sdk-swift.AWSCostandUsageReportService", + "aws-sdk-swift.AWSCustomerProfiles", + "aws-sdk-swift.AWSDAX", + "aws-sdk-swift.AWSDLM", + "aws-sdk-swift.AWSDataBrew", + "aws-sdk-swift.AWSDataExchange", + "aws-sdk-swift.AWSDataPipeline", + "aws-sdk-swift.AWSDataSync", + "aws-sdk-swift.AWSDataZone", + "aws-sdk-swift.AWSDatabaseMigrationService", + "aws-sdk-swift.AWSDeadline", + "aws-sdk-swift.AWSDetective", + "aws-sdk-swift.AWSDevOpsGuru", + "aws-sdk-swift.AWSDeviceFarm", + "aws-sdk-swift.AWSDirectConnect", + "aws-sdk-swift.AWSDirectoryService", + "aws-sdk-swift.AWSDocDB", + "aws-sdk-swift.AWSDocDBElastic", + "aws-sdk-swift.AWSDrs", + "aws-sdk-swift.AWSDynamoDB", + "aws-sdk-swift.AWSDynamoDBStreams", + "aws-sdk-swift.AWSEBS", + "aws-sdk-swift.AWSEC2", + "aws-sdk-swift.AWSEC2InstanceConnect", + "aws-sdk-swift.AWSECR", + "aws-sdk-swift.AWSECRPUBLIC", + "aws-sdk-swift.AWSECS", + "aws-sdk-swift.AWSEFS", + "aws-sdk-swift.AWSEKS", + "aws-sdk-swift.AWSEKSAuth", + "aws-sdk-swift.AWSEMR", + "aws-sdk-swift.AWSEMRServerless", + "aws-sdk-swift.AWSEMRcontainers", + "aws-sdk-swift.AWSElastiCache", + "aws-sdk-swift.AWSElasticBeanstalk", + "aws-sdk-swift.AWSElasticInference", + "aws-sdk-swift.AWSElasticLoadBalancing", + "aws-sdk-swift.AWSElasticLoadBalancingv2", + "aws-sdk-swift.AWSElasticTranscoder", + "aws-sdk-swift.AWSElasticsearchService", + "aws-sdk-swift.AWSEntityResolution", + "aws-sdk-swift.AWSEventBridge", + "aws-sdk-swift.AWSEvidently", + "aws-sdk-swift.AWSFMS", + "aws-sdk-swift.AWSFSx", + "aws-sdk-swift.AWSFinspace", + "aws-sdk-swift.AWSFinspacedata", + "aws-sdk-swift.AWSFirehose", + "aws-sdk-swift.AWSFis", + "aws-sdk-swift.AWSForecast", + "aws-sdk-swift.AWSForecastquery", + "aws-sdk-swift.AWSFraudDetector", + "aws-sdk-swift.AWSFreeTier", + "aws-sdk-swift.AWSGameLift", + "aws-sdk-swift.AWSGlacier", + "aws-sdk-swift.AWSGlobalAccelerator", + "aws-sdk-swift.AWSGlue", + "aws-sdk-swift.AWSGrafana", + "aws-sdk-swift.AWSGreengrass", + "aws-sdk-swift.AWSGreengrassV2", + "aws-sdk-swift.AWSGroundStation", + "aws-sdk-swift.AWSGuardDuty", + "aws-sdk-swift.AWSHealth", + "aws-sdk-swift.AWSHealthLake", + "aws-sdk-swift.AWSIAM", + "aws-sdk-swift.AWSIVSRealTime", + "aws-sdk-swift.AWSIdentitystore", + "aws-sdk-swift.AWSImagebuilder", + "aws-sdk-swift.AWSInspector", + "aws-sdk-swift.AWSInspector2", + "aws-sdk-swift.AWSInspectorScan", + "aws-sdk-swift.AWSInternetMonitor", + "aws-sdk-swift.AWSIoT", + "aws-sdk-swift.AWSIoT1ClickDevicesService", + "aws-sdk-swift.AWSIoT1ClickProjects", + "aws-sdk-swift.AWSIoTAnalytics", + "aws-sdk-swift.AWSIoTDataPlane", + "aws-sdk-swift.AWSIoTEvents", + "aws-sdk-swift.AWSIoTEventsData", + "aws-sdk-swift.AWSIoTFleetHub", + "aws-sdk-swift.AWSIoTFleetWise", + "aws-sdk-swift.AWSIoTJobsDataPlane", + "aws-sdk-swift.AWSIoTSecureTunneling", + "aws-sdk-swift.AWSIoTSiteWise", + "aws-sdk-swift.AWSIoTThingsGraph", + "aws-sdk-swift.AWSIoTTwinMaker", + "aws-sdk-swift.AWSIoTWireless", + "aws-sdk-swift.AWSIotDeviceAdvisor", + "aws-sdk-swift.AWSIvs", + "aws-sdk-swift.AWSIvschat", + "aws-sdk-swift.AWSKMS", + "aws-sdk-swift.AWSKafka", + "aws-sdk-swift.AWSKafkaConnect", + "aws-sdk-swift.AWSKendra", + "aws-sdk-swift.AWSKendraRanking", + "aws-sdk-swift.AWSKeyspaces", + "aws-sdk-swift.AWSKinesis", + "aws-sdk-swift.AWSKinesisAnalytics", + "aws-sdk-swift.AWSKinesisAnalyticsV2", + "aws-sdk-swift.AWSKinesisVideo", + "aws-sdk-swift.AWSKinesisVideoArchivedMedia", + "aws-sdk-swift.AWSKinesisVideoMedia", + "aws-sdk-swift.AWSKinesisVideoSignaling", + "aws-sdk-swift.AWSKinesisVideoWebRTCStorage", + "aws-sdk-swift.AWSLakeFormation", + "aws-sdk-swift.AWSLambda", + "aws-sdk-swift.AWSLaunchWizard", + "aws-sdk-swift.AWSLexModelBuildingService", + "aws-sdk-swift.AWSLexModelsV2", + "aws-sdk-swift.AWSLexRuntimeService", + "aws-sdk-swift.AWSLexRuntimeV2", + "aws-sdk-swift.AWSLicenseManager", + "aws-sdk-swift.AWSLicenseManagerLinuxSubscriptions", + "aws-sdk-swift.AWSLicenseManagerUserSubscriptions", + "aws-sdk-swift.AWSLightsail", + "aws-sdk-swift.AWSLocation", + "aws-sdk-swift.AWSLookoutEquipment", + "aws-sdk-swift.AWSLookoutMetrics", + "aws-sdk-swift.AWSLookoutVision", + "aws-sdk-swift.AWSM2", + "aws-sdk-swift.AWSMTurk", + "aws-sdk-swift.AWSMWAA", + "aws-sdk-swift.AWSMachineLearning", + "aws-sdk-swift.AWSMacie2", + "aws-sdk-swift.AWSMailManager", + "aws-sdk-swift.AWSManagedBlockchain", + "aws-sdk-swift.AWSManagedBlockchainQuery", + "aws-sdk-swift.AWSMarketplaceAgreement", + "aws-sdk-swift.AWSMarketplaceCatalog", + "aws-sdk-swift.AWSMarketplaceCommerceAnalytics", + "aws-sdk-swift.AWSMarketplaceDeployment", + "aws-sdk-swift.AWSMarketplaceEntitlementService", + "aws-sdk-swift.AWSMarketplaceMetering", + "aws-sdk-swift.AWSMediaConnect", + "aws-sdk-swift.AWSMediaConvert", + "aws-sdk-swift.AWSMediaLive", + "aws-sdk-swift.AWSMediaPackage", + "aws-sdk-swift.AWSMediaPackageV2", + "aws-sdk-swift.AWSMediaPackageVod", + "aws-sdk-swift.AWSMediaStore", + "aws-sdk-swift.AWSMediaStoreData", + "aws-sdk-swift.AWSMediaTailor", + "aws-sdk-swift.AWSMedicalImaging", + "aws-sdk-swift.AWSMemoryDB", + "aws-sdk-swift.AWSMgn", + "aws-sdk-swift.AWSMigrationHub", + "aws-sdk-swift.AWSMigrationHubConfig", + "aws-sdk-swift.AWSMigrationHubOrchestrator", + "aws-sdk-swift.AWSMigrationHubRefactorSpaces", + "aws-sdk-swift.AWSMigrationHubStrategy", + "aws-sdk-swift.AWSMobile", + "aws-sdk-swift.AWSMq", + "aws-sdk-swift.AWSNeptune", + "aws-sdk-swift.AWSNeptuneGraph", + "aws-sdk-swift.AWSNeptunedata", + "aws-sdk-swift.AWSNetworkFirewall", + "aws-sdk-swift.AWSNetworkManager", + "aws-sdk-swift.AWSNetworkMonitor", + "aws-sdk-swift.AWSNimble", + "aws-sdk-swift.AWSOAM", + "aws-sdk-swift.AWSOSIS", + "aws-sdk-swift.AWSOmics", + "aws-sdk-swift.AWSOpenSearch", + "aws-sdk-swift.AWSOpenSearchServerless", + "aws-sdk-swift.AWSOpsWorks", + "aws-sdk-swift.AWSOpsWorksCM", + "aws-sdk-swift.AWSOrganizations", + "aws-sdk-swift.AWSOutposts", + "aws-sdk-swift.AWSPI", + "aws-sdk-swift.AWSPanorama", + "aws-sdk-swift.AWSPaymentCryptography", + "aws-sdk-swift.AWSPaymentCryptographyData", + "aws-sdk-swift.AWSPcaConnectorAd", + "aws-sdk-swift.AWSPcaConnectorScep", + "aws-sdk-swift.AWSPersonalize", + "aws-sdk-swift.AWSPersonalizeEvents", + "aws-sdk-swift.AWSPersonalizeRuntime", + "aws-sdk-swift.AWSPinpoint", + "aws-sdk-swift.AWSPinpointEmail", + "aws-sdk-swift.AWSPinpointSMSVoice", + "aws-sdk-swift.AWSPinpointSMSVoiceV2", + "aws-sdk-swift.AWSPipes", + "aws-sdk-swift.AWSPolly", + "aws-sdk-swift.AWSPricing", + "aws-sdk-swift.AWSPrivateNetworks", + "aws-sdk-swift.AWSProton", + "aws-sdk-swift.AWSQBusiness", + "aws-sdk-swift.AWSQConnect", + "aws-sdk-swift.AWSQLDB", + "aws-sdk-swift.AWSQLDBSession", + "aws-sdk-swift.AWSQuickSight", + "aws-sdk-swift.AWSRAM", + "aws-sdk-swift.AWSRDS", + "aws-sdk-swift.AWSRDSData", + "aws-sdk-swift.AWSRUM", + "aws-sdk-swift.AWSRbin", + "aws-sdk-swift.AWSRedshift", + "aws-sdk-swift.AWSRedshiftData", + "aws-sdk-swift.AWSRedshiftServerless", + "aws-sdk-swift.AWSRekognition", + "aws-sdk-swift.AWSRepostspace", + "aws-sdk-swift.AWSResiliencehub", + "aws-sdk-swift.AWSResourceExplorer2", + "aws-sdk-swift.AWSResourceGroups", + "aws-sdk-swift.AWSResourceGroupsTaggingAPI", + "aws-sdk-swift.AWSRoboMaker", + "aws-sdk-swift.AWSRolesAnywhere", + "aws-sdk-swift.AWSRoute53", + "aws-sdk-swift.AWSRoute53Domains", + "aws-sdk-swift.AWSRoute53Profiles", + "aws-sdk-swift.AWSRoute53RecoveryCluster", + "aws-sdk-swift.AWSRoute53RecoveryControlConfig", + "aws-sdk-swift.AWSRoute53RecoveryReadiness", + "aws-sdk-swift.AWSRoute53Resolver", + "aws-sdk-swift.AWSS3", + "aws-sdk-swift.AWSS3Control", + "aws-sdk-swift.AWSS3Outposts", + "aws-sdk-swift.AWSSES", + "aws-sdk-swift.AWSSESv2", + "aws-sdk-swift.AWSSFN", + "aws-sdk-swift.AWSSMS", + "aws-sdk-swift.AWSSNS", + "aws-sdk-swift.AWSSQS", + "aws-sdk-swift.AWSSSM", + "aws-sdk-swift.AWSSSMContacts", + "aws-sdk-swift.AWSSSMIncidents", + "aws-sdk-swift.AWSSSO", + "aws-sdk-swift.AWSSSOAdmin", + "aws-sdk-swift.AWSSSOOIDC", + "aws-sdk-swift.AWSSTS", + "aws-sdk-swift.AWSSWF", + "aws-sdk-swift.AWSSageMaker", + "aws-sdk-swift.AWSSageMakerA2IRuntime", + "aws-sdk-swift.AWSSageMakerFeatureStoreRuntime", + "aws-sdk-swift.AWSSageMakerGeospatial", + "aws-sdk-swift.AWSSageMakerMetrics", + "aws-sdk-swift.AWSSageMakerRuntime", + "aws-sdk-swift.AWSSagemakerEdge", + "aws-sdk-swift.AWSSavingsplans", + "aws-sdk-swift.AWSScheduler", + "aws-sdk-swift.AWSSchemas", + "aws-sdk-swift.AWSSecretsManager", + "aws-sdk-swift.AWSSecurityHub", + "aws-sdk-swift.AWSSecurityLake", + "aws-sdk-swift.AWSServerlessApplicationRepository", + "aws-sdk-swift.AWSServiceCatalog", + "aws-sdk-swift.AWSServiceCatalogAppRegistry", + "aws-sdk-swift.AWSServiceDiscovery", + "aws-sdk-swift.AWSServiceQuotas", + "aws-sdk-swift.AWSShield", + "aws-sdk-swift.AWSSigner", + "aws-sdk-swift.AWSSimSpaceWeaver", + "aws-sdk-swift.AWSSnowDeviceManagement", + "aws-sdk-swift.AWSSnowball", + "aws-sdk-swift.AWSSsmSap", + "aws-sdk-swift.AWSStorageGateway", + "aws-sdk-swift.AWSSupplyChain", + "aws-sdk-swift.AWSSupport", + "aws-sdk-swift.AWSSupportApp", + "aws-sdk-swift.AWSSynthetics", + "aws-sdk-swift.AWSTaxSettings", + "aws-sdk-swift.AWSTextract", + "aws-sdk-swift.AWSTimestreamInfluxDB", + "aws-sdk-swift.AWSTimestreamQuery", + "aws-sdk-swift.AWSTimestreamWrite", + "aws-sdk-swift.AWSTnb", + "aws-sdk-swift.AWSTranscribe", + "aws-sdk-swift.AWSTranscribeStreaming", + "aws-sdk-swift.AWSTransfer", + "aws-sdk-swift.AWSTranslate", + "aws-sdk-swift.AWSTrustedAdvisor", + "aws-sdk-swift.AWSVPCLattice", + "aws-sdk-swift.AWSVerifiedPermissions", + "aws-sdk-swift.AWSVoiceID", + "aws-sdk-swift.AWSWAF", + "aws-sdk-swift.AWSWAFRegional", + "aws-sdk-swift.AWSWAFV2", + "aws-sdk-swift.AWSWellArchitected", + "aws-sdk-swift.AWSWisdom", + "aws-sdk-swift.AWSWorkDocs", + "aws-sdk-swift.AWSWorkLink", + "aws-sdk-swift.AWSWorkMail", + "aws-sdk-swift.AWSWorkMailMessageFlow", + "aws-sdk-swift.AWSWorkSpaces", + "aws-sdk-swift.AWSWorkSpacesThinClient", + "aws-sdk-swift.AWSWorkSpacesWeb", + "aws-sdk-swift.AWSXRay", ] // Uncomment this line to enable all services diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json new file mode 100644 index 00000000000..4e5869e2122 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json @@ -0,0 +1,18 @@ +{ + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + } + }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, + "version" : 1 +} diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index 1cc4becec96..73302880425 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.12" +let sdkVersion: Version = "0.0.14" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json new file mode 100644 index 00000000000..4e5869e2122 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json @@ -0,0 +1,18 @@ +{ + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + } + }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, + "version" : 1 +} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index ef42b0bb06e..ae18fc66416 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.12" +let sdkVersion: Version = "0.0.14" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift index 2aeafb6b074..7c3c3b8ebdc 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.12" +let sdkVersion: Version = "0.0.14" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json new file mode 100644 index 00000000000..4e5869e2122 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json @@ -0,0 +1,18 @@ +{ + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + } + }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, + "version" : 1 +} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index c311b13224e..6b08d24c1a4 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.12" +let sdkVersion: Version = "0.0.14" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json new file mode 100644 index 00000000000..4e5869e2122 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json @@ -0,0 +1,18 @@ +{ + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + } + }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, + "version" : 1 +} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index 49e6277c1ec..94123eb13f4 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.12" +let sdkVersion: Version = "0.0.14" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json new file mode 100644 index 00000000000..4e5869e2122 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json @@ -0,0 +1,18 @@ +{ + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + } + }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, + "version" : 1 +} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index d7e0703c936..b587b4b14b0 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.12" +let sdkVersion: Version = "0.0.14" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt index 1546093382e..ce4009325a6 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt @@ -18,7 +18,7 @@ class AWSSwiftDependency { return SwiftDependency( name, "main", - "0.0.12", + "0.0.14", "aws-sdk-swift", "../../../aws-sdk-swift", name, From a4048ded8d970f2cb8dfbadb9fff4f3c14d6c3b1 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Sat, 6 Jul 2024 14:59:34 -0500 Subject: [PATCH 26/45] Update to SDK 0.0.15 --- Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift | 2 +- .../amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index 73302880425..fc68645ded1 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.14" +let sdkVersion: Version = "0.0.15" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index ae18fc66416..1cfd0d094b6 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.14" +let sdkVersion: Version = "0.0.15" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift index 7c3c3b8ebdc..5c333a43ddd 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.14" +let sdkVersion: Version = "0.0.15" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index 6b08d24c1a4..0269de2fa6e 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.14" +let sdkVersion: Version = "0.0.15" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index 94123eb13f4..99c0e70546d 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.14" +let sdkVersion: Version = "0.0.15" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index b587b4b14b0..01c5789f5aa 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -2,7 +2,7 @@ import PackageDescription -let sdkVersion: Version = "0.0.14" +let sdkVersion: Version = "0.0.15" let smithySwiftVersion: Version = "0.100.0" let crtVersion: Version = "0.32.0" diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt index ce4009325a6..48e726a89ae 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt @@ -18,7 +18,7 @@ class AWSSwiftDependency { return SwiftDependency( name, "main", - "0.0.14", + "0.0.15", "aws-sdk-swift", "../../../aws-sdk-swift", name, From 61ef710ce55942a2889023319ca95e6eb4e1ec0b Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 10 Jul 2024 21:29:45 -0500 Subject: [PATCH 27/45] Correct SDK paths, use TestInitializer in endpoint tests --- Package.swift | 4 ++-- .../amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index 548687f1ddc..5243dcffe0d 100644 --- a/Package.swift +++ b/Package.swift @@ -212,14 +212,14 @@ func addServiceTarget(_ name: String) { .target( name: name, dependencies: serviceTargetDependencies, - path: "Sources/Services/\(name)/Sources/\(name)", + path: "Sources/Services/\(name)/Sources/\(name.trimmingPrefix("aws-sdk-swift."))", resources: [.process("Resources")] ) ] } func addServiceUnitTestTarget(_ name: String) { - let testName = "\(name)Tests" + let testName = "\(name)Tests".trimmingPrefix("aws-sdk-swift.") package.targets += [ .testTarget( name: "\(testName)", diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt index a1f6ec39af2..97044aa7269 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/EndpointTestGenerator.kt @@ -20,7 +20,6 @@ import software.amazon.smithy.swift.codegen.SwiftDependency import software.amazon.smithy.swift.codegen.SwiftWriter import software.amazon.smithy.swift.codegen.endpoints.EndpointTypes import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator -import software.amazon.smithy.swift.codegen.swiftmodules.CRT import software.amazon.smithy.swift.codegen.swiftmodules.ClientRuntimeTypes import software.amazon.smithy.swift.codegen.swiftmodules.SmithyHTTPAPITypes import software.amazon.smithy.swift.codegen.swiftmodules.SmithyTestUtilTypes @@ -48,7 +47,7 @@ class EndpointTestGenerator( writer.openBlock("class EndpointResolverTest: \$N {", "}", XCTestTypes.XCTestCase) { writer.write("") writer.openBlock("override class func setUp() {", "}") { - writer.write("\$N.initialize()", CRT.CommonRuntimeKit) + writer.write("\$N.initialize()", SmithyTestUtilTypes.TestInitializer) } writer.write("") From f7afc109c732893f9cd35edf9c2254eb9fb64c4d Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 11 Jul 2024 14:45:24 -0500 Subject: [PATCH 28/45] Adapt main Package.swift for new directories --- .../AWSSDKSwiftCLI/Resources/Package.Base.swift | 12 +++++++----- Package.swift | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift index 6eb183d27f8..abfd7f100b7 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.swift @@ -205,25 +205,27 @@ let serviceTargetDependencies: [Target.Dependency] = [ ] func addServiceTarget(_ name: String) { + let targetName = "\(name.trimmingPrefix("aws-sdk-swift."))" package.products += [ - .library(name: name, targets: [name]), + .library(name: targetName, targets: [targetName]), ] package.targets += [ .target( - name: name, + name: targetName, dependencies: serviceTargetDependencies, - path: "Sources/Services/\(name)/Sources/\(name)", + path: "Sources/Services/\(name)/Sources/\(targetName)", resources: [.process("Resources")] ) ] } func addServiceUnitTestTarget(_ name: String) { - let testName = "\(name)Tests" + let targetName = "\(name.trimmingPrefix("aws-sdk-swift."))" + let testName = "\(targetName)Tests" package.targets += [ .testTarget( name: "\(testName)", - dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils], + dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: targetName), .smithyTestUtils], path: "Sources/Services/\(name)/Tests/\(testName)" ) ] diff --git a/Package.swift b/Package.swift index b3396bd38a7..4744db7417f 100644 --- a/Package.swift +++ b/Package.swift @@ -205,25 +205,27 @@ let serviceTargetDependencies: [Target.Dependency] = [ ] func addServiceTarget(_ name: String) { + let targetName = "\(name.trimmingPrefix("aws-sdk-swift."))" package.products += [ - .library(name: name, targets: [name]), + .library(name: targetName, targets: [targetName]), ] package.targets += [ .target( - name: name, + name: targetName, dependencies: serviceTargetDependencies, - path: "Sources/Services/\(name)/Sources/\(name.trimmingPrefix("aws-sdk-swift."))", + path: "Sources/Services/\(name)/Sources/\(targetName)", resources: [.process("Resources")] ) ] } func addServiceUnitTestTarget(_ name: String) { - let testName = "\(name)Tests".trimmingPrefix("aws-sdk-swift.") + let targetName = "\(name.trimmingPrefix("aws-sdk-swift."))" + let testName = "\(targetName)Tests" package.targets += [ .testTarget( name: "\(testName)", - dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils], + dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: targetName), .smithyTestUtils], path: "Sources/Services/\(name)/Tests/\(testName)" ) ] From 0c71deacfed42b181cd837d4bccc55a41ce75449 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 11 Jul 2024 14:59:07 -0500 Subject: [PATCH 29/45] Fix codegen tests, swiftlint config --- .swiftlint.yml | 12 ++++++------ .../aws/swift/codegen/PresignerGeneratorTests.kt | 8 ++++---- .../codegen/awsquery/AWSQueryOperationStackTest.kt | 2 +- .../AWSRestJson1ProtocolGeneratorTests.kt | 1 + 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 987cb705e38..11d5a49e387 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,10 +1,10 @@ included: - - Sources/Core/AWSClientRuntime/Sources - - Sources/Core/AWSSDKChecksums/Sources - - Sources/Core/AWSSDKCommon/Sources - - Sources/Core/AWSSDKEventStreamsAuth/Sources - - Sources/Core/AWSSDKHTTPAuth/Sources - - Sources/Core/AWSSDKIdentity/Sources + - Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources + - Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources + - Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources + - Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources + - Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources + - Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources analyzer_rules: - unused_import diff --git a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGeneratorTests.kt b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGeneratorTests.kt index f112e81d8cd..81c302b5b99 100644 --- a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGeneratorTests.kt +++ b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGeneratorTests.kt @@ -40,7 +40,7 @@ extension GetFooInput { operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams() operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: ExampleClient.version, config: config))) operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) @@ -90,7 +90,7 @@ extension PostFooInput { operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams() operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: ExampleClient.version, config: config))) operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PostFooInput.write(value:to:))) @@ -143,7 +143,7 @@ extension PutFooInput { operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams() operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: ExampleClient.version, config: config))) operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutFooInput.write(value:to:))) @@ -197,7 +197,7 @@ extension PutObjectInput { let endpointParams = EndpointParams() context.attributes.set(key: Smithy.AttributeKey(name: "EndpointParams"), value: endpointParams) operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: S3Client.version, config: config))) operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "PutObjectInput", inputWritingClosure: PutObjectInput.write(value:to:))) diff --git a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery/AWSQueryOperationStackTest.kt b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery/AWSQueryOperationStackTest.kt index d3de643f2b7..21cf8a83eb2 100644 --- a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery/AWSQueryOperationStackTest.kt +++ b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery/AWSQueryOperationStackTest.kt @@ -26,7 +26,7 @@ class AWSQueryOperationStackTest { operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams() operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: QueryProtocolClient.version, config: config))) operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: NoInputAndOutputInput.write(value:to:))) operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-www-form-urlencoded")) diff --git a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsrestjson/AWSRestJson1ProtocolGeneratorTests.kt b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsrestjson/AWSRestJson1ProtocolGeneratorTests.kt index 3d05223ea78..f0c401fc716 100644 --- a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsrestjson/AWSRestJson1ProtocolGeneratorTests.kt +++ b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/awsrestjson/AWSRestJson1ProtocolGeneratorTests.kt @@ -61,6 +61,7 @@ extension ExplicitBlobInput { val expectedContents = """ public class ExampleClient: ClientRuntime.Client { public static let clientName = "ExampleClient" + public static let version = "1.0.0" let client: ClientRuntime.SdkHttpClient let config: ExampleClient.ExampleClientConfiguration let serviceName = "Example" From 37ac8e8c106d3f68bedaab7c5ff7761fd1a78fae Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 11 Jul 2024 16:15:52 -0500 Subject: [PATCH 30/45] Adjust docs index for new directory name --- .../Subcommands/GenerateDocIndex.swift | 4 +- .../Documentation.docc/AWSSDKForSwift.md | 768 +++++++++--------- 2 files changed, 387 insertions(+), 385 deletions(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift index ff1cdab4c61..5670a59f37e 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GenerateDocIndex.swift @@ -64,7 +64,9 @@ struct GenerateDocIndexCommand: ParsableCommand { log("Resolving services...") let resolvedServices: [String] log("Using list of services that exist within Sources/Services") - resolvedServices = try FileManager.default.enabledServices() + resolvedServices = try FileManager.default + .enabledServices() + .map { "\($0.trimmingPrefix("aws-sdk-swift."))" } log("Resolved list of services: \(resolvedServices.count)") return resolvedServices } diff --git a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md index eb89403c733..0df5cab4fda 100644 --- a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md +++ b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md @@ -11,771 +11,771 @@ This SDK is open-source. Code is available on Github [here](https://github.com/ ## Service Documentation -[aws-sdk-swift.AWSACM](../../../../../swift/api/aws-sdk-swift.awsacm/latest) +[AWSACM](../../../../../swift/api/awsacm/latest) -[aws-sdk-swift.AWSACMPCA](../../../../../swift/api/aws-sdk-swift.awsacmpca/latest) +[AWSACMPCA](../../../../../swift/api/awsacmpca/latest) -[aws-sdk-swift.AWSAPIGateway](../../../../../swift/api/aws-sdk-swift.awsapigateway/latest) +[AWSAPIGateway](../../../../../swift/api/awsapigateway/latest) -[aws-sdk-swift.AWSARCZonalShift](../../../../../swift/api/aws-sdk-swift.awsarczonalshift/latest) +[AWSARCZonalShift](../../../../../swift/api/awsarczonalshift/latest) -[aws-sdk-swift.AWSAccessAnalyzer](../../../../../swift/api/aws-sdk-swift.awsaccessanalyzer/latest) +[AWSAccessAnalyzer](../../../../../swift/api/awsaccessanalyzer/latest) -[aws-sdk-swift.AWSAccount](../../../../../swift/api/aws-sdk-swift.awsaccount/latest) +[AWSAccount](../../../../../swift/api/awsaccount/latest) -[aws-sdk-swift.AWSAmp](../../../../../swift/api/aws-sdk-swift.awsamp/latest) +[AWSAmp](../../../../../swift/api/awsamp/latest) -[aws-sdk-swift.AWSAmplify](../../../../../swift/api/aws-sdk-swift.awsamplify/latest) +[AWSAmplify](../../../../../swift/api/awsamplify/latest) -[aws-sdk-swift.AWSAmplifyBackend](../../../../../swift/api/aws-sdk-swift.awsamplifybackend/latest) +[AWSAmplifyBackend](../../../../../swift/api/awsamplifybackend/latest) -[aws-sdk-swift.AWSAmplifyUIBuilder](../../../../../swift/api/aws-sdk-swift.awsamplifyuibuilder/latest) +[AWSAmplifyUIBuilder](../../../../../swift/api/awsamplifyuibuilder/latest) -[aws-sdk-swift.AWSApiGatewayManagementApi](../../../../../swift/api/aws-sdk-swift.awsapigatewaymanagementapi/latest) +[AWSApiGatewayManagementApi](../../../../../swift/api/awsapigatewaymanagementapi/latest) -[aws-sdk-swift.AWSApiGatewayV2](../../../../../swift/api/aws-sdk-swift.awsapigatewayv2/latest) +[AWSApiGatewayV2](../../../../../swift/api/awsapigatewayv2/latest) -[aws-sdk-swift.AWSAppConfig](../../../../../swift/api/aws-sdk-swift.awsappconfig/latest) +[AWSAppConfig](../../../../../swift/api/awsappconfig/latest) -[aws-sdk-swift.AWSAppConfigData](../../../../../swift/api/aws-sdk-swift.awsappconfigdata/latest) +[AWSAppConfigData](../../../../../swift/api/awsappconfigdata/latest) -[aws-sdk-swift.AWSAppFabric](../../../../../swift/api/aws-sdk-swift.awsappfabric/latest) +[AWSAppFabric](../../../../../swift/api/awsappfabric/latest) -[aws-sdk-swift.AWSAppIntegrations](../../../../../swift/api/aws-sdk-swift.awsappintegrations/latest) +[AWSAppIntegrations](../../../../../swift/api/awsappintegrations/latest) -[aws-sdk-swift.AWSAppMesh](../../../../../swift/api/aws-sdk-swift.awsappmesh/latest) +[AWSAppMesh](../../../../../swift/api/awsappmesh/latest) -[aws-sdk-swift.AWSAppRunner](../../../../../swift/api/aws-sdk-swift.awsapprunner/latest) +[AWSAppRunner](../../../../../swift/api/awsapprunner/latest) -[aws-sdk-swift.AWSAppStream](../../../../../swift/api/aws-sdk-swift.awsappstream/latest) +[AWSAppStream](../../../../../swift/api/awsappstream/latest) -[aws-sdk-swift.AWSAppSync](../../../../../swift/api/aws-sdk-swift.awsappsync/latest) +[AWSAppSync](../../../../../swift/api/awsappsync/latest) -[aws-sdk-swift.AWSAppTest](../../../../../swift/api/aws-sdk-swift.awsapptest/latest) +[AWSAppTest](../../../../../swift/api/awsapptest/latest) -[aws-sdk-swift.AWSAppflow](../../../../../swift/api/aws-sdk-swift.awsappflow/latest) +[AWSAppflow](../../../../../swift/api/awsappflow/latest) -[aws-sdk-swift.AWSApplicationAutoScaling](../../../../../swift/api/aws-sdk-swift.awsapplicationautoscaling/latest) +[AWSApplicationAutoScaling](../../../../../swift/api/awsapplicationautoscaling/latest) -[aws-sdk-swift.AWSApplicationCostProfiler](../../../../../swift/api/aws-sdk-swift.awsapplicationcostprofiler/latest) +[AWSApplicationCostProfiler](../../../../../swift/api/awsapplicationcostprofiler/latest) -[aws-sdk-swift.AWSApplicationDiscoveryService](../../../../../swift/api/aws-sdk-swift.awsapplicationdiscoveryservice/latest) +[AWSApplicationDiscoveryService](../../../../../swift/api/awsapplicationdiscoveryservice/latest) -[aws-sdk-swift.AWSApplicationInsights](../../../../../swift/api/aws-sdk-swift.awsapplicationinsights/latest) +[AWSApplicationInsights](../../../../../swift/api/awsapplicationinsights/latest) -[aws-sdk-swift.AWSApplicationSignals](../../../../../swift/api/aws-sdk-swift.awsapplicationsignals/latest) +[AWSApplicationSignals](../../../../../swift/api/awsapplicationsignals/latest) -[aws-sdk-swift.AWSArtifact](../../../../../swift/api/aws-sdk-swift.awsartifact/latest) +[AWSArtifact](../../../../../swift/api/awsartifact/latest) -[aws-sdk-swift.AWSAthena](../../../../../swift/api/aws-sdk-swift.awsathena/latest) +[AWSAthena](../../../../../swift/api/awsathena/latest) -[aws-sdk-swift.AWSAuditManager](../../../../../swift/api/aws-sdk-swift.awsauditmanager/latest) +[AWSAuditManager](../../../../../swift/api/awsauditmanager/latest) -[aws-sdk-swift.AWSAutoScaling](../../../../../swift/api/aws-sdk-swift.awsautoscaling/latest) +[AWSAutoScaling](../../../../../swift/api/awsautoscaling/latest) -[aws-sdk-swift.AWSAutoScalingPlans](../../../../../swift/api/aws-sdk-swift.awsautoscalingplans/latest) +[AWSAutoScalingPlans](../../../../../swift/api/awsautoscalingplans/latest) -[aws-sdk-swift.AWSB2bi](../../../../../swift/api/aws-sdk-swift.awsb2bi/latest) +[AWSB2bi](../../../../../swift/api/awsb2bi/latest) -[aws-sdk-swift.AWSBCMDataExports](../../../../../swift/api/aws-sdk-swift.awsbcmdataexports/latest) +[AWSBCMDataExports](../../../../../swift/api/awsbcmdataexports/latest) -[aws-sdk-swift.AWSBackup](../../../../../swift/api/aws-sdk-swift.awsbackup/latest) +[AWSBackup](../../../../../swift/api/awsbackup/latest) -[aws-sdk-swift.AWSBackupGateway](../../../../../swift/api/aws-sdk-swift.awsbackupgateway/latest) +[AWSBackupGateway](../../../../../swift/api/awsbackupgateway/latest) -[aws-sdk-swift.AWSBatch](../../../../../swift/api/aws-sdk-swift.awsbatch/latest) +[AWSBatch](../../../../../swift/api/awsbatch/latest) -[aws-sdk-swift.AWSBedrock](../../../../../swift/api/aws-sdk-swift.awsbedrock/latest) +[AWSBedrock](../../../../../swift/api/awsbedrock/latest) -[aws-sdk-swift.AWSBedrockAgent](../../../../../swift/api/aws-sdk-swift.awsbedrockagent/latest) +[AWSBedrockAgent](../../../../../swift/api/awsbedrockagent/latest) -[aws-sdk-swift.AWSBedrockAgentRuntime](../../../../../swift/api/aws-sdk-swift.awsbedrockagentruntime/latest) +[AWSBedrockAgentRuntime](../../../../../swift/api/awsbedrockagentruntime/latest) -[aws-sdk-swift.AWSBedrockRuntime](../../../../../swift/api/aws-sdk-swift.awsbedrockruntime/latest) +[AWSBedrockRuntime](../../../../../swift/api/awsbedrockruntime/latest) -[aws-sdk-swift.AWSBillingconductor](../../../../../swift/api/aws-sdk-swift.awsbillingconductor/latest) +[AWSBillingconductor](../../../../../swift/api/awsbillingconductor/latest) -[aws-sdk-swift.AWSBraket](../../../../../swift/api/aws-sdk-swift.awsbraket/latest) +[AWSBraket](../../../../../swift/api/awsbraket/latest) -[aws-sdk-swift.AWSBudgets](../../../../../swift/api/aws-sdk-swift.awsbudgets/latest) +[AWSBudgets](../../../../../swift/api/awsbudgets/latest) -[aws-sdk-swift.AWSChatbot](../../../../../swift/api/aws-sdk-swift.awschatbot/latest) +[AWSChatbot](../../../../../swift/api/awschatbot/latest) -[aws-sdk-swift.AWSChime](../../../../../swift/api/aws-sdk-swift.awschime/latest) +[AWSChime](../../../../../swift/api/awschime/latest) -[aws-sdk-swift.AWSChimeSDKIdentity](../../../../../swift/api/aws-sdk-swift.awschimesdkidentity/latest) +[AWSChimeSDKIdentity](../../../../../swift/api/awschimesdkidentity/latest) -[aws-sdk-swift.AWSChimeSDKMediaPipelines](../../../../../swift/api/aws-sdk-swift.awschimesdkmediapipelines/latest) +[AWSChimeSDKMediaPipelines](../../../../../swift/api/awschimesdkmediapipelines/latest) -[aws-sdk-swift.AWSChimeSDKMeetings](../../../../../swift/api/aws-sdk-swift.awschimesdkmeetings/latest) +[AWSChimeSDKMeetings](../../../../../swift/api/awschimesdkmeetings/latest) -[aws-sdk-swift.AWSChimeSDKMessaging](../../../../../swift/api/aws-sdk-swift.awschimesdkmessaging/latest) +[AWSChimeSDKMessaging](../../../../../swift/api/awschimesdkmessaging/latest) -[aws-sdk-swift.AWSChimeSDKVoice](../../../../../swift/api/aws-sdk-swift.awschimesdkvoice/latest) +[AWSChimeSDKVoice](../../../../../swift/api/awschimesdkvoice/latest) -[aws-sdk-swift.AWSCleanRooms](../../../../../swift/api/aws-sdk-swift.awscleanrooms/latest) +[AWSCleanRooms](../../../../../swift/api/awscleanrooms/latest) -[aws-sdk-swift.AWSCleanRoomsML](../../../../../swift/api/aws-sdk-swift.awscleanroomsml/latest) +[AWSCleanRoomsML](../../../../../swift/api/awscleanroomsml/latest) -[aws-sdk-swift.AWSCloud9](../../../../../swift/api/aws-sdk-swift.awscloud9/latest) +[AWSCloud9](../../../../../swift/api/awscloud9/latest) -[aws-sdk-swift.AWSCloudControl](../../../../../swift/api/aws-sdk-swift.awscloudcontrol/latest) +[AWSCloudControl](../../../../../swift/api/awscloudcontrol/latest) -[aws-sdk-swift.AWSCloudDirectory](../../../../../swift/api/aws-sdk-swift.awsclouddirectory/latest) +[AWSCloudDirectory](../../../../../swift/api/awsclouddirectory/latest) -[aws-sdk-swift.AWSCloudFormation](../../../../../swift/api/aws-sdk-swift.awscloudformation/latest) +[AWSCloudFormation](../../../../../swift/api/awscloudformation/latest) -[aws-sdk-swift.AWSCloudFront](../../../../../swift/api/aws-sdk-swift.awscloudfront/latest) +[AWSCloudFront](../../../../../swift/api/awscloudfront/latest) -[aws-sdk-swift.AWSCloudFrontKeyValueStore](../../../../../swift/api/aws-sdk-swift.awscloudfrontkeyvaluestore/latest) +[AWSCloudFrontKeyValueStore](../../../../../swift/api/awscloudfrontkeyvaluestore/latest) -[aws-sdk-swift.AWSCloudHSM](../../../../../swift/api/aws-sdk-swift.awscloudhsm/latest) +[AWSCloudHSM](../../../../../swift/api/awscloudhsm/latest) -[aws-sdk-swift.AWSCloudHSMV2](../../../../../swift/api/aws-sdk-swift.awscloudhsmv2/latest) +[AWSCloudHSMV2](../../../../../swift/api/awscloudhsmv2/latest) -[aws-sdk-swift.AWSCloudSearch](../../../../../swift/api/aws-sdk-swift.awscloudsearch/latest) +[AWSCloudSearch](../../../../../swift/api/awscloudsearch/latest) -[aws-sdk-swift.AWSCloudSearchDomain](../../../../../swift/api/aws-sdk-swift.awscloudsearchdomain/latest) +[AWSCloudSearchDomain](../../../../../swift/api/awscloudsearchdomain/latest) -[aws-sdk-swift.AWSCloudTrail](../../../../../swift/api/aws-sdk-swift.awscloudtrail/latest) +[AWSCloudTrail](../../../../../swift/api/awscloudtrail/latest) -[aws-sdk-swift.AWSCloudTrailData](../../../../../swift/api/aws-sdk-swift.awscloudtraildata/latest) +[AWSCloudTrailData](../../../../../swift/api/awscloudtraildata/latest) -[aws-sdk-swift.AWSCloudWatch](../../../../../swift/api/aws-sdk-swift.awscloudwatch/latest) +[AWSCloudWatch](../../../../../swift/api/awscloudwatch/latest) -[aws-sdk-swift.AWSCloudWatchEvents](../../../../../swift/api/aws-sdk-swift.awscloudwatchevents/latest) +[AWSCloudWatchEvents](../../../../../swift/api/awscloudwatchevents/latest) -[aws-sdk-swift.AWSCloudWatchLogs](../../../../../swift/api/aws-sdk-swift.awscloudwatchlogs/latest) +[AWSCloudWatchLogs](../../../../../swift/api/awscloudwatchlogs/latest) -[aws-sdk-swift.AWSCodeBuild](../../../../../swift/api/aws-sdk-swift.awscodebuild/latest) +[AWSCodeBuild](../../../../../swift/api/awscodebuild/latest) -[aws-sdk-swift.AWSCodeCatalyst](../../../../../swift/api/aws-sdk-swift.awscodecatalyst/latest) +[AWSCodeCatalyst](../../../../../swift/api/awscodecatalyst/latest) -[aws-sdk-swift.AWSCodeCommit](../../../../../swift/api/aws-sdk-swift.awscodecommit/latest) +[AWSCodeCommit](../../../../../swift/api/awscodecommit/latest) -[aws-sdk-swift.AWSCodeConnections](../../../../../swift/api/aws-sdk-swift.awscodeconnections/latest) +[AWSCodeConnections](../../../../../swift/api/awscodeconnections/latest) -[aws-sdk-swift.AWSCodeDeploy](../../../../../swift/api/aws-sdk-swift.awscodedeploy/latest) +[AWSCodeDeploy](../../../../../swift/api/awscodedeploy/latest) -[aws-sdk-swift.AWSCodeGuruProfiler](../../../../../swift/api/aws-sdk-swift.awscodeguruprofiler/latest) +[AWSCodeGuruProfiler](../../../../../swift/api/awscodeguruprofiler/latest) -[aws-sdk-swift.AWSCodeGuruReviewer](../../../../../swift/api/aws-sdk-swift.awscodegurureviewer/latest) +[AWSCodeGuruReviewer](../../../../../swift/api/awscodegurureviewer/latest) -[aws-sdk-swift.AWSCodeGuruSecurity](../../../../../swift/api/aws-sdk-swift.awscodegurusecurity/latest) +[AWSCodeGuruSecurity](../../../../../swift/api/awscodegurusecurity/latest) -[aws-sdk-swift.AWSCodePipeline](../../../../../swift/api/aws-sdk-swift.awscodepipeline/latest) +[AWSCodePipeline](../../../../../swift/api/awscodepipeline/latest) -[aws-sdk-swift.AWSCodeStar](../../../../../swift/api/aws-sdk-swift.awscodestar/latest) +[AWSCodeStar](../../../../../swift/api/awscodestar/latest) -[aws-sdk-swift.AWSCodeStarconnections](../../../../../swift/api/aws-sdk-swift.awscodestarconnections/latest) +[AWSCodeStarconnections](../../../../../swift/api/awscodestarconnections/latest) -[aws-sdk-swift.AWSCodeartifact](../../../../../swift/api/aws-sdk-swift.awscodeartifact/latest) +[AWSCodeartifact](../../../../../swift/api/awscodeartifact/latest) -[aws-sdk-swift.AWSCodestarnotifications](../../../../../swift/api/aws-sdk-swift.awscodestarnotifications/latest) +[AWSCodestarnotifications](../../../../../swift/api/awscodestarnotifications/latest) -[aws-sdk-swift.AWSCognitoIdentity](../../../../../swift/api/aws-sdk-swift.awscognitoidentity/latest) +[AWSCognitoIdentity](../../../../../swift/api/awscognitoidentity/latest) -[aws-sdk-swift.AWSCognitoIdentityProvider](../../../../../swift/api/aws-sdk-swift.awscognitoidentityprovider/latest) +[AWSCognitoIdentityProvider](../../../../../swift/api/awscognitoidentityprovider/latest) -[aws-sdk-swift.AWSCognitoSync](../../../../../swift/api/aws-sdk-swift.awscognitosync/latest) +[AWSCognitoSync](../../../../../swift/api/awscognitosync/latest) -[aws-sdk-swift.AWSComprehend](../../../../../swift/api/aws-sdk-swift.awscomprehend/latest) +[AWSComprehend](../../../../../swift/api/awscomprehend/latest) -[aws-sdk-swift.AWSComprehendMedical](../../../../../swift/api/aws-sdk-swift.awscomprehendmedical/latest) +[AWSComprehendMedical](../../../../../swift/api/awscomprehendmedical/latest) -[aws-sdk-swift.AWSComputeOptimizer](../../../../../swift/api/aws-sdk-swift.awscomputeoptimizer/latest) +[AWSComputeOptimizer](../../../../../swift/api/awscomputeoptimizer/latest) -[aws-sdk-swift.AWSConfigService](../../../../../swift/api/aws-sdk-swift.awsconfigservice/latest) +[AWSConfigService](../../../../../swift/api/awsconfigservice/latest) -[aws-sdk-swift.AWSConnect](../../../../../swift/api/aws-sdk-swift.awsconnect/latest) +[AWSConnect](../../../../../swift/api/awsconnect/latest) -[aws-sdk-swift.AWSConnectCampaigns](../../../../../swift/api/aws-sdk-swift.awsconnectcampaigns/latest) +[AWSConnectCampaigns](../../../../../swift/api/awsconnectcampaigns/latest) -[aws-sdk-swift.AWSConnectCases](../../../../../swift/api/aws-sdk-swift.awsconnectcases/latest) +[AWSConnectCases](../../../../../swift/api/awsconnectcases/latest) -[aws-sdk-swift.AWSConnectContactLens](../../../../../swift/api/aws-sdk-swift.awsconnectcontactlens/latest) +[AWSConnectContactLens](../../../../../swift/api/awsconnectcontactlens/latest) -[aws-sdk-swift.AWSConnectParticipant](../../../../../swift/api/aws-sdk-swift.awsconnectparticipant/latest) +[AWSConnectParticipant](../../../../../swift/api/awsconnectparticipant/latest) -[aws-sdk-swift.AWSControlCatalog](../../../../../swift/api/aws-sdk-swift.awscontrolcatalog/latest) +[AWSControlCatalog](../../../../../swift/api/awscontrolcatalog/latest) -[aws-sdk-swift.AWSControlTower](../../../../../swift/api/aws-sdk-swift.awscontroltower/latest) +[AWSControlTower](../../../../../swift/api/awscontroltower/latest) -[aws-sdk-swift.AWSCostExplorer](../../../../../swift/api/aws-sdk-swift.awscostexplorer/latest) +[AWSCostExplorer](../../../../../swift/api/awscostexplorer/latest) -[aws-sdk-swift.AWSCostOptimizationHub](../../../../../swift/api/aws-sdk-swift.awscostoptimizationhub/latest) +[AWSCostOptimizationHub](../../../../../swift/api/awscostoptimizationhub/latest) -[aws-sdk-swift.AWSCostandUsageReportService](../../../../../swift/api/aws-sdk-swift.awscostandusagereportservice/latest) +[AWSCostandUsageReportService](../../../../../swift/api/awscostandusagereportservice/latest) -[aws-sdk-swift.AWSCustomerProfiles](../../../../../swift/api/aws-sdk-swift.awscustomerprofiles/latest) +[AWSCustomerProfiles](../../../../../swift/api/awscustomerprofiles/latest) -[aws-sdk-swift.AWSDAX](../../../../../swift/api/aws-sdk-swift.awsdax/latest) +[AWSDAX](../../../../../swift/api/awsdax/latest) -[aws-sdk-swift.AWSDLM](../../../../../swift/api/aws-sdk-swift.awsdlm/latest) +[AWSDLM](../../../../../swift/api/awsdlm/latest) -[aws-sdk-swift.AWSDataBrew](../../../../../swift/api/aws-sdk-swift.awsdatabrew/latest) +[AWSDataBrew](../../../../../swift/api/awsdatabrew/latest) -[aws-sdk-swift.AWSDataExchange](../../../../../swift/api/aws-sdk-swift.awsdataexchange/latest) +[AWSDataExchange](../../../../../swift/api/awsdataexchange/latest) -[aws-sdk-swift.AWSDataPipeline](../../../../../swift/api/aws-sdk-swift.awsdatapipeline/latest) +[AWSDataPipeline](../../../../../swift/api/awsdatapipeline/latest) -[aws-sdk-swift.AWSDataSync](../../../../../swift/api/aws-sdk-swift.awsdatasync/latest) +[AWSDataSync](../../../../../swift/api/awsdatasync/latest) -[aws-sdk-swift.AWSDataZone](../../../../../swift/api/aws-sdk-swift.awsdatazone/latest) +[AWSDataZone](../../../../../swift/api/awsdatazone/latest) -[aws-sdk-swift.AWSDatabaseMigrationService](../../../../../swift/api/aws-sdk-swift.awsdatabasemigrationservice/latest) +[AWSDatabaseMigrationService](../../../../../swift/api/awsdatabasemigrationservice/latest) -[aws-sdk-swift.AWSDeadline](../../../../../swift/api/aws-sdk-swift.awsdeadline/latest) +[AWSDeadline](../../../../../swift/api/awsdeadline/latest) -[aws-sdk-swift.AWSDetective](../../../../../swift/api/aws-sdk-swift.awsdetective/latest) +[AWSDetective](../../../../../swift/api/awsdetective/latest) -[aws-sdk-swift.AWSDevOpsGuru](../../../../../swift/api/aws-sdk-swift.awsdevopsguru/latest) +[AWSDevOpsGuru](../../../../../swift/api/awsdevopsguru/latest) -[aws-sdk-swift.AWSDeviceFarm](../../../../../swift/api/aws-sdk-swift.awsdevicefarm/latest) +[AWSDeviceFarm](../../../../../swift/api/awsdevicefarm/latest) -[aws-sdk-swift.AWSDirectConnect](../../../../../swift/api/aws-sdk-swift.awsdirectconnect/latest) +[AWSDirectConnect](../../../../../swift/api/awsdirectconnect/latest) -[aws-sdk-swift.AWSDirectoryService](../../../../../swift/api/aws-sdk-swift.awsdirectoryservice/latest) +[AWSDirectoryService](../../../../../swift/api/awsdirectoryservice/latest) -[aws-sdk-swift.AWSDocDB](../../../../../swift/api/aws-sdk-swift.awsdocdb/latest) +[AWSDocDB](../../../../../swift/api/awsdocdb/latest) -[aws-sdk-swift.AWSDocDBElastic](../../../../../swift/api/aws-sdk-swift.awsdocdbelastic/latest) +[AWSDocDBElastic](../../../../../swift/api/awsdocdbelastic/latest) -[aws-sdk-swift.AWSDrs](../../../../../swift/api/aws-sdk-swift.awsdrs/latest) +[AWSDrs](../../../../../swift/api/awsdrs/latest) -[aws-sdk-swift.AWSDynamoDB](../../../../../swift/api/aws-sdk-swift.awsdynamodb/latest) +[AWSDynamoDB](../../../../../swift/api/awsdynamodb/latest) -[aws-sdk-swift.AWSDynamoDBStreams](../../../../../swift/api/aws-sdk-swift.awsdynamodbstreams/latest) +[AWSDynamoDBStreams](../../../../../swift/api/awsdynamodbstreams/latest) -[aws-sdk-swift.AWSEBS](../../../../../swift/api/aws-sdk-swift.awsebs/latest) +[AWSEBS](../../../../../swift/api/awsebs/latest) -[aws-sdk-swift.AWSEC2](../../../../../swift/api/aws-sdk-swift.awsec2/latest) +[AWSEC2](../../../../../swift/api/awsec2/latest) -[aws-sdk-swift.AWSEC2InstanceConnect](../../../../../swift/api/aws-sdk-swift.awsec2instanceconnect/latest) +[AWSEC2InstanceConnect](../../../../../swift/api/awsec2instanceconnect/latest) -[aws-sdk-swift.AWSECR](../../../../../swift/api/aws-sdk-swift.awsecr/latest) +[AWSECR](../../../../../swift/api/awsecr/latest) -[aws-sdk-swift.AWSECRPUBLIC](../../../../../swift/api/aws-sdk-swift.awsecrpublic/latest) +[AWSECRPUBLIC](../../../../../swift/api/awsecrpublic/latest) -[aws-sdk-swift.AWSECS](../../../../../swift/api/aws-sdk-swift.awsecs/latest) +[AWSECS](../../../../../swift/api/awsecs/latest) -[aws-sdk-swift.AWSEFS](../../../../../swift/api/aws-sdk-swift.awsefs/latest) +[AWSEFS](../../../../../swift/api/awsefs/latest) -[aws-sdk-swift.AWSEKS](../../../../../swift/api/aws-sdk-swift.awseks/latest) +[AWSEKS](../../../../../swift/api/awseks/latest) -[aws-sdk-swift.AWSEKSAuth](../../../../../swift/api/aws-sdk-swift.awseksauth/latest) +[AWSEKSAuth](../../../../../swift/api/awseksauth/latest) -[aws-sdk-swift.AWSEMR](../../../../../swift/api/aws-sdk-swift.awsemr/latest) +[AWSEMR](../../../../../swift/api/awsemr/latest) -[aws-sdk-swift.AWSEMRServerless](../../../../../swift/api/aws-sdk-swift.awsemrserverless/latest) +[AWSEMRServerless](../../../../../swift/api/awsemrserverless/latest) -[aws-sdk-swift.AWSEMRcontainers](../../../../../swift/api/aws-sdk-swift.awsemrcontainers/latest) +[AWSEMRcontainers](../../../../../swift/api/awsemrcontainers/latest) -[aws-sdk-swift.AWSElastiCache](../../../../../swift/api/aws-sdk-swift.awselasticache/latest) +[AWSElastiCache](../../../../../swift/api/awselasticache/latest) -[aws-sdk-swift.AWSElasticBeanstalk](../../../../../swift/api/aws-sdk-swift.awselasticbeanstalk/latest) +[AWSElasticBeanstalk](../../../../../swift/api/awselasticbeanstalk/latest) -[aws-sdk-swift.AWSElasticInference](../../../../../swift/api/aws-sdk-swift.awselasticinference/latest) +[AWSElasticInference](../../../../../swift/api/awselasticinference/latest) -[aws-sdk-swift.AWSElasticLoadBalancing](../../../../../swift/api/aws-sdk-swift.awselasticloadbalancing/latest) +[AWSElasticLoadBalancing](../../../../../swift/api/awselasticloadbalancing/latest) -[aws-sdk-swift.AWSElasticLoadBalancingv2](../../../../../swift/api/aws-sdk-swift.awselasticloadbalancingv2/latest) +[AWSElasticLoadBalancingv2](../../../../../swift/api/awselasticloadbalancingv2/latest) -[aws-sdk-swift.AWSElasticTranscoder](../../../../../swift/api/aws-sdk-swift.awselastictranscoder/latest) +[AWSElasticTranscoder](../../../../../swift/api/awselastictranscoder/latest) -[aws-sdk-swift.AWSElasticsearchService](../../../../../swift/api/aws-sdk-swift.awselasticsearchservice/latest) +[AWSElasticsearchService](../../../../../swift/api/awselasticsearchservice/latest) -[aws-sdk-swift.AWSEntityResolution](../../../../../swift/api/aws-sdk-swift.awsentityresolution/latest) +[AWSEntityResolution](../../../../../swift/api/awsentityresolution/latest) -[aws-sdk-swift.AWSEventBridge](../../../../../swift/api/aws-sdk-swift.awseventbridge/latest) +[AWSEventBridge](../../../../../swift/api/awseventbridge/latest) -[aws-sdk-swift.AWSEvidently](../../../../../swift/api/aws-sdk-swift.awsevidently/latest) +[AWSEvidently](../../../../../swift/api/awsevidently/latest) -[aws-sdk-swift.AWSFMS](../../../../../swift/api/aws-sdk-swift.awsfms/latest) +[AWSFMS](../../../../../swift/api/awsfms/latest) -[aws-sdk-swift.AWSFSx](../../../../../swift/api/aws-sdk-swift.awsfsx/latest) +[AWSFSx](../../../../../swift/api/awsfsx/latest) -[aws-sdk-swift.AWSFinspace](../../../../../swift/api/aws-sdk-swift.awsfinspace/latest) +[AWSFinspace](../../../../../swift/api/awsfinspace/latest) -[aws-sdk-swift.AWSFinspacedata](../../../../../swift/api/aws-sdk-swift.awsfinspacedata/latest) +[AWSFinspacedata](../../../../../swift/api/awsfinspacedata/latest) -[aws-sdk-swift.AWSFirehose](../../../../../swift/api/aws-sdk-swift.awsfirehose/latest) +[AWSFirehose](../../../../../swift/api/awsfirehose/latest) -[aws-sdk-swift.AWSFis](../../../../../swift/api/aws-sdk-swift.awsfis/latest) +[AWSFis](../../../../../swift/api/awsfis/latest) -[aws-sdk-swift.AWSForecast](../../../../../swift/api/aws-sdk-swift.awsforecast/latest) +[AWSForecast](../../../../../swift/api/awsforecast/latest) -[aws-sdk-swift.AWSForecastquery](../../../../../swift/api/aws-sdk-swift.awsforecastquery/latest) +[AWSForecastquery](../../../../../swift/api/awsforecastquery/latest) -[aws-sdk-swift.AWSFraudDetector](../../../../../swift/api/aws-sdk-swift.awsfrauddetector/latest) +[AWSFraudDetector](../../../../../swift/api/awsfrauddetector/latest) -[aws-sdk-swift.AWSFreeTier](../../../../../swift/api/aws-sdk-swift.awsfreetier/latest) +[AWSFreeTier](../../../../../swift/api/awsfreetier/latest) -[aws-sdk-swift.AWSGameLift](../../../../../swift/api/aws-sdk-swift.awsgamelift/latest) +[AWSGameLift](../../../../../swift/api/awsgamelift/latest) -[aws-sdk-swift.AWSGlacier](../../../../../swift/api/aws-sdk-swift.awsglacier/latest) +[AWSGlacier](../../../../../swift/api/awsglacier/latest) -[aws-sdk-swift.AWSGlobalAccelerator](../../../../../swift/api/aws-sdk-swift.awsglobalaccelerator/latest) +[AWSGlobalAccelerator](../../../../../swift/api/awsglobalaccelerator/latest) -[aws-sdk-swift.AWSGlue](../../../../../swift/api/aws-sdk-swift.awsglue/latest) +[AWSGlue](../../../../../swift/api/awsglue/latest) -[aws-sdk-swift.AWSGrafana](../../../../../swift/api/aws-sdk-swift.awsgrafana/latest) +[AWSGrafana](../../../../../swift/api/awsgrafana/latest) -[aws-sdk-swift.AWSGreengrass](../../../../../swift/api/aws-sdk-swift.awsgreengrass/latest) +[AWSGreengrass](../../../../../swift/api/awsgreengrass/latest) -[aws-sdk-swift.AWSGreengrassV2](../../../../../swift/api/aws-sdk-swift.awsgreengrassv2/latest) +[AWSGreengrassV2](../../../../../swift/api/awsgreengrassv2/latest) -[aws-sdk-swift.AWSGroundStation](../../../../../swift/api/aws-sdk-swift.awsgroundstation/latest) +[AWSGroundStation](../../../../../swift/api/awsgroundstation/latest) -[aws-sdk-swift.AWSGuardDuty](../../../../../swift/api/aws-sdk-swift.awsguardduty/latest) +[AWSGuardDuty](../../../../../swift/api/awsguardduty/latest) -[aws-sdk-swift.AWSHealth](../../../../../swift/api/aws-sdk-swift.awshealth/latest) +[AWSHealth](../../../../../swift/api/awshealth/latest) -[aws-sdk-swift.AWSHealthLake](../../../../../swift/api/aws-sdk-swift.awshealthlake/latest) +[AWSHealthLake](../../../../../swift/api/awshealthlake/latest) -[aws-sdk-swift.AWSIAM](../../../../../swift/api/aws-sdk-swift.awsiam/latest) +[AWSIAM](../../../../../swift/api/awsiam/latest) -[aws-sdk-swift.AWSIVSRealTime](../../../../../swift/api/aws-sdk-swift.awsivsrealtime/latest) +[AWSIVSRealTime](../../../../../swift/api/awsivsrealtime/latest) -[aws-sdk-swift.AWSIdentitystore](../../../../../swift/api/aws-sdk-swift.awsidentitystore/latest) +[AWSIdentitystore](../../../../../swift/api/awsidentitystore/latest) -[aws-sdk-swift.AWSImagebuilder](../../../../../swift/api/aws-sdk-swift.awsimagebuilder/latest) +[AWSImagebuilder](../../../../../swift/api/awsimagebuilder/latest) -[aws-sdk-swift.AWSInspector](../../../../../swift/api/aws-sdk-swift.awsinspector/latest) +[AWSInspector](../../../../../swift/api/awsinspector/latest) -[aws-sdk-swift.AWSInspector2](../../../../../swift/api/aws-sdk-swift.awsinspector2/latest) +[AWSInspector2](../../../../../swift/api/awsinspector2/latest) -[aws-sdk-swift.AWSInspectorScan](../../../../../swift/api/aws-sdk-swift.awsinspectorscan/latest) +[AWSInspectorScan](../../../../../swift/api/awsinspectorscan/latest) -[aws-sdk-swift.AWSInternetMonitor](../../../../../swift/api/aws-sdk-swift.awsinternetmonitor/latest) +[AWSInternetMonitor](../../../../../swift/api/awsinternetmonitor/latest) -[aws-sdk-swift.AWSIoT](../../../../../swift/api/aws-sdk-swift.awsiot/latest) +[AWSIoT](../../../../../swift/api/awsiot/latest) -[aws-sdk-swift.AWSIoT1ClickDevicesService](../../../../../swift/api/aws-sdk-swift.awsiot1clickdevicesservice/latest) +[AWSIoT1ClickDevicesService](../../../../../swift/api/awsiot1clickdevicesservice/latest) -[aws-sdk-swift.AWSIoT1ClickProjects](../../../../../swift/api/aws-sdk-swift.awsiot1clickprojects/latest) +[AWSIoT1ClickProjects](../../../../../swift/api/awsiot1clickprojects/latest) -[aws-sdk-swift.AWSIoTAnalytics](../../../../../swift/api/aws-sdk-swift.awsiotanalytics/latest) +[AWSIoTAnalytics](../../../../../swift/api/awsiotanalytics/latest) -[aws-sdk-swift.AWSIoTDataPlane](../../../../../swift/api/aws-sdk-swift.awsiotdataplane/latest) +[AWSIoTDataPlane](../../../../../swift/api/awsiotdataplane/latest) -[aws-sdk-swift.AWSIoTEvents](../../../../../swift/api/aws-sdk-swift.awsiotevents/latest) +[AWSIoTEvents](../../../../../swift/api/awsiotevents/latest) -[aws-sdk-swift.AWSIoTEventsData](../../../../../swift/api/aws-sdk-swift.awsioteventsdata/latest) +[AWSIoTEventsData](../../../../../swift/api/awsioteventsdata/latest) -[aws-sdk-swift.AWSIoTFleetHub](../../../../../swift/api/aws-sdk-swift.awsiotfleethub/latest) +[AWSIoTFleetHub](../../../../../swift/api/awsiotfleethub/latest) -[aws-sdk-swift.AWSIoTFleetWise](../../../../../swift/api/aws-sdk-swift.awsiotfleetwise/latest) +[AWSIoTFleetWise](../../../../../swift/api/awsiotfleetwise/latest) -[aws-sdk-swift.AWSIoTJobsDataPlane](../../../../../swift/api/aws-sdk-swift.awsiotjobsdataplane/latest) +[AWSIoTJobsDataPlane](../../../../../swift/api/awsiotjobsdataplane/latest) -[aws-sdk-swift.AWSIoTSecureTunneling](../../../../../swift/api/aws-sdk-swift.awsiotsecuretunneling/latest) +[AWSIoTSecureTunneling](../../../../../swift/api/awsiotsecuretunneling/latest) -[aws-sdk-swift.AWSIoTSiteWise](../../../../../swift/api/aws-sdk-swift.awsiotsitewise/latest) +[AWSIoTSiteWise](../../../../../swift/api/awsiotsitewise/latest) -[aws-sdk-swift.AWSIoTThingsGraph](../../../../../swift/api/aws-sdk-swift.awsiotthingsgraph/latest) +[AWSIoTThingsGraph](../../../../../swift/api/awsiotthingsgraph/latest) -[aws-sdk-swift.AWSIoTTwinMaker](../../../../../swift/api/aws-sdk-swift.awsiottwinmaker/latest) +[AWSIoTTwinMaker](../../../../../swift/api/awsiottwinmaker/latest) -[aws-sdk-swift.AWSIoTWireless](../../../../../swift/api/aws-sdk-swift.awsiotwireless/latest) +[AWSIoTWireless](../../../../../swift/api/awsiotwireless/latest) -[aws-sdk-swift.AWSIotDeviceAdvisor](../../../../../swift/api/aws-sdk-swift.awsiotdeviceadvisor/latest) +[AWSIotDeviceAdvisor](../../../../../swift/api/awsiotdeviceadvisor/latest) -[aws-sdk-swift.AWSIvs](../../../../../swift/api/aws-sdk-swift.awsivs/latest) +[AWSIvs](../../../../../swift/api/awsivs/latest) -[aws-sdk-swift.AWSIvschat](../../../../../swift/api/aws-sdk-swift.awsivschat/latest) +[AWSIvschat](../../../../../swift/api/awsivschat/latest) -[aws-sdk-swift.AWSKMS](../../../../../swift/api/aws-sdk-swift.awskms/latest) +[AWSKMS](../../../../../swift/api/awskms/latest) -[aws-sdk-swift.AWSKafka](../../../../../swift/api/aws-sdk-swift.awskafka/latest) +[AWSKafka](../../../../../swift/api/awskafka/latest) -[aws-sdk-swift.AWSKafkaConnect](../../../../../swift/api/aws-sdk-swift.awskafkaconnect/latest) +[AWSKafkaConnect](../../../../../swift/api/awskafkaconnect/latest) -[aws-sdk-swift.AWSKendra](../../../../../swift/api/aws-sdk-swift.awskendra/latest) +[AWSKendra](../../../../../swift/api/awskendra/latest) -[aws-sdk-swift.AWSKendraRanking](../../../../../swift/api/aws-sdk-swift.awskendraranking/latest) +[AWSKendraRanking](../../../../../swift/api/awskendraranking/latest) -[aws-sdk-swift.AWSKeyspaces](../../../../../swift/api/aws-sdk-swift.awskeyspaces/latest) +[AWSKeyspaces](../../../../../swift/api/awskeyspaces/latest) -[aws-sdk-swift.AWSKinesis](../../../../../swift/api/aws-sdk-swift.awskinesis/latest) +[AWSKinesis](../../../../../swift/api/awskinesis/latest) -[aws-sdk-swift.AWSKinesisAnalytics](../../../../../swift/api/aws-sdk-swift.awskinesisanalytics/latest) +[AWSKinesisAnalytics](../../../../../swift/api/awskinesisanalytics/latest) -[aws-sdk-swift.AWSKinesisAnalyticsV2](../../../../../swift/api/aws-sdk-swift.awskinesisanalyticsv2/latest) +[AWSKinesisAnalyticsV2](../../../../../swift/api/awskinesisanalyticsv2/latest) -[aws-sdk-swift.AWSKinesisVideo](../../../../../swift/api/aws-sdk-swift.awskinesisvideo/latest) +[AWSKinesisVideo](../../../../../swift/api/awskinesisvideo/latest) -[aws-sdk-swift.AWSKinesisVideoArchivedMedia](../../../../../swift/api/aws-sdk-swift.awskinesisvideoarchivedmedia/latest) +[AWSKinesisVideoArchivedMedia](../../../../../swift/api/awskinesisvideoarchivedmedia/latest) -[aws-sdk-swift.AWSKinesisVideoMedia](../../../../../swift/api/aws-sdk-swift.awskinesisvideomedia/latest) +[AWSKinesisVideoMedia](../../../../../swift/api/awskinesisvideomedia/latest) -[aws-sdk-swift.AWSKinesisVideoSignaling](../../../../../swift/api/aws-sdk-swift.awskinesisvideosignaling/latest) +[AWSKinesisVideoSignaling](../../../../../swift/api/awskinesisvideosignaling/latest) -[aws-sdk-swift.AWSKinesisVideoWebRTCStorage](../../../../../swift/api/aws-sdk-swift.awskinesisvideowebrtcstorage/latest) +[AWSKinesisVideoWebRTCStorage](../../../../../swift/api/awskinesisvideowebrtcstorage/latest) -[aws-sdk-swift.AWSLakeFormation](../../../../../swift/api/aws-sdk-swift.awslakeformation/latest) +[AWSLakeFormation](../../../../../swift/api/awslakeformation/latest) -[aws-sdk-swift.AWSLambda](../../../../../swift/api/aws-sdk-swift.awslambda/latest) +[AWSLambda](../../../../../swift/api/awslambda/latest) -[aws-sdk-swift.AWSLaunchWizard](../../../../../swift/api/aws-sdk-swift.awslaunchwizard/latest) +[AWSLaunchWizard](../../../../../swift/api/awslaunchwizard/latest) -[aws-sdk-swift.AWSLexModelBuildingService](../../../../../swift/api/aws-sdk-swift.awslexmodelbuildingservice/latest) +[AWSLexModelBuildingService](../../../../../swift/api/awslexmodelbuildingservice/latest) -[aws-sdk-swift.AWSLexModelsV2](../../../../../swift/api/aws-sdk-swift.awslexmodelsv2/latest) +[AWSLexModelsV2](../../../../../swift/api/awslexmodelsv2/latest) -[aws-sdk-swift.AWSLexRuntimeService](../../../../../swift/api/aws-sdk-swift.awslexruntimeservice/latest) +[AWSLexRuntimeService](../../../../../swift/api/awslexruntimeservice/latest) -[aws-sdk-swift.AWSLexRuntimeV2](../../../../../swift/api/aws-sdk-swift.awslexruntimev2/latest) +[AWSLexRuntimeV2](../../../../../swift/api/awslexruntimev2/latest) -[aws-sdk-swift.AWSLicenseManager](../../../../../swift/api/aws-sdk-swift.awslicensemanager/latest) +[AWSLicenseManager](../../../../../swift/api/awslicensemanager/latest) -[aws-sdk-swift.AWSLicenseManagerLinuxSubscriptions](../../../../../swift/api/aws-sdk-swift.awslicensemanagerlinuxsubscriptions/latest) +[AWSLicenseManagerLinuxSubscriptions](../../../../../swift/api/awslicensemanagerlinuxsubscriptions/latest) -[aws-sdk-swift.AWSLicenseManagerUserSubscriptions](../../../../../swift/api/aws-sdk-swift.awslicensemanagerusersubscriptions/latest) +[AWSLicenseManagerUserSubscriptions](../../../../../swift/api/awslicensemanagerusersubscriptions/latest) -[aws-sdk-swift.AWSLightsail](../../../../../swift/api/aws-sdk-swift.awslightsail/latest) +[AWSLightsail](../../../../../swift/api/awslightsail/latest) -[aws-sdk-swift.AWSLocation](../../../../../swift/api/aws-sdk-swift.awslocation/latest) +[AWSLocation](../../../../../swift/api/awslocation/latest) -[aws-sdk-swift.AWSLookoutEquipment](../../../../../swift/api/aws-sdk-swift.awslookoutequipment/latest) +[AWSLookoutEquipment](../../../../../swift/api/awslookoutequipment/latest) -[aws-sdk-swift.AWSLookoutMetrics](../../../../../swift/api/aws-sdk-swift.awslookoutmetrics/latest) +[AWSLookoutMetrics](../../../../../swift/api/awslookoutmetrics/latest) -[aws-sdk-swift.AWSLookoutVision](../../../../../swift/api/aws-sdk-swift.awslookoutvision/latest) +[AWSLookoutVision](../../../../../swift/api/awslookoutvision/latest) -[aws-sdk-swift.AWSM2](../../../../../swift/api/aws-sdk-swift.awsm2/latest) +[AWSM2](../../../../../swift/api/awsm2/latest) -[aws-sdk-swift.AWSMTurk](../../../../../swift/api/aws-sdk-swift.awsmturk/latest) +[AWSMTurk](../../../../../swift/api/awsmturk/latest) -[aws-sdk-swift.AWSMWAA](../../../../../swift/api/aws-sdk-swift.awsmwaa/latest) +[AWSMWAA](../../../../../swift/api/awsmwaa/latest) -[aws-sdk-swift.AWSMachineLearning](../../../../../swift/api/aws-sdk-swift.awsmachinelearning/latest) +[AWSMachineLearning](../../../../../swift/api/awsmachinelearning/latest) -[aws-sdk-swift.AWSMacie2](../../../../../swift/api/aws-sdk-swift.awsmacie2/latest) +[AWSMacie2](../../../../../swift/api/awsmacie2/latest) -[aws-sdk-swift.AWSMailManager](../../../../../swift/api/aws-sdk-swift.awsmailmanager/latest) +[AWSMailManager](../../../../../swift/api/awsmailmanager/latest) -[aws-sdk-swift.AWSManagedBlockchain](../../../../../swift/api/aws-sdk-swift.awsmanagedblockchain/latest) +[AWSManagedBlockchain](../../../../../swift/api/awsmanagedblockchain/latest) -[aws-sdk-swift.AWSManagedBlockchainQuery](../../../../../swift/api/aws-sdk-swift.awsmanagedblockchainquery/latest) +[AWSManagedBlockchainQuery](../../../../../swift/api/awsmanagedblockchainquery/latest) -[aws-sdk-swift.AWSMarketplaceAgreement](../../../../../swift/api/aws-sdk-swift.awsmarketplaceagreement/latest) +[AWSMarketplaceAgreement](../../../../../swift/api/awsmarketplaceagreement/latest) -[aws-sdk-swift.AWSMarketplaceCatalog](../../../../../swift/api/aws-sdk-swift.awsmarketplacecatalog/latest) +[AWSMarketplaceCatalog](../../../../../swift/api/awsmarketplacecatalog/latest) -[aws-sdk-swift.AWSMarketplaceCommerceAnalytics](../../../../../swift/api/aws-sdk-swift.awsmarketplacecommerceanalytics/latest) +[AWSMarketplaceCommerceAnalytics](../../../../../swift/api/awsmarketplacecommerceanalytics/latest) -[aws-sdk-swift.AWSMarketplaceDeployment](../../../../../swift/api/aws-sdk-swift.awsmarketplacedeployment/latest) +[AWSMarketplaceDeployment](../../../../../swift/api/awsmarketplacedeployment/latest) -[aws-sdk-swift.AWSMarketplaceEntitlementService](../../../../../swift/api/aws-sdk-swift.awsmarketplaceentitlementservice/latest) +[AWSMarketplaceEntitlementService](../../../../../swift/api/awsmarketplaceentitlementservice/latest) -[aws-sdk-swift.AWSMarketplaceMetering](../../../../../swift/api/aws-sdk-swift.awsmarketplacemetering/latest) +[AWSMarketplaceMetering](../../../../../swift/api/awsmarketplacemetering/latest) -[aws-sdk-swift.AWSMediaConnect](../../../../../swift/api/aws-sdk-swift.awsmediaconnect/latest) +[AWSMediaConnect](../../../../../swift/api/awsmediaconnect/latest) -[aws-sdk-swift.AWSMediaConvert](../../../../../swift/api/aws-sdk-swift.awsmediaconvert/latest) +[AWSMediaConvert](../../../../../swift/api/awsmediaconvert/latest) -[aws-sdk-swift.AWSMediaLive](../../../../../swift/api/aws-sdk-swift.awsmedialive/latest) +[AWSMediaLive](../../../../../swift/api/awsmedialive/latest) -[aws-sdk-swift.AWSMediaPackage](../../../../../swift/api/aws-sdk-swift.awsmediapackage/latest) +[AWSMediaPackage](../../../../../swift/api/awsmediapackage/latest) -[aws-sdk-swift.AWSMediaPackageV2](../../../../../swift/api/aws-sdk-swift.awsmediapackagev2/latest) +[AWSMediaPackageV2](../../../../../swift/api/awsmediapackagev2/latest) -[aws-sdk-swift.AWSMediaPackageVod](../../../../../swift/api/aws-sdk-swift.awsmediapackagevod/latest) +[AWSMediaPackageVod](../../../../../swift/api/awsmediapackagevod/latest) -[aws-sdk-swift.AWSMediaStore](../../../../../swift/api/aws-sdk-swift.awsmediastore/latest) +[AWSMediaStore](../../../../../swift/api/awsmediastore/latest) -[aws-sdk-swift.AWSMediaStoreData](../../../../../swift/api/aws-sdk-swift.awsmediastoredata/latest) +[AWSMediaStoreData](../../../../../swift/api/awsmediastoredata/latest) -[aws-sdk-swift.AWSMediaTailor](../../../../../swift/api/aws-sdk-swift.awsmediatailor/latest) +[AWSMediaTailor](../../../../../swift/api/awsmediatailor/latest) -[aws-sdk-swift.AWSMedicalImaging](../../../../../swift/api/aws-sdk-swift.awsmedicalimaging/latest) +[AWSMedicalImaging](../../../../../swift/api/awsmedicalimaging/latest) -[aws-sdk-swift.AWSMemoryDB](../../../../../swift/api/aws-sdk-swift.awsmemorydb/latest) +[AWSMemoryDB](../../../../../swift/api/awsmemorydb/latest) -[aws-sdk-swift.AWSMgn](../../../../../swift/api/aws-sdk-swift.awsmgn/latest) +[AWSMgn](../../../../../swift/api/awsmgn/latest) -[aws-sdk-swift.AWSMigrationHub](../../../../../swift/api/aws-sdk-swift.awsmigrationhub/latest) +[AWSMigrationHub](../../../../../swift/api/awsmigrationhub/latest) -[aws-sdk-swift.AWSMigrationHubConfig](../../../../../swift/api/aws-sdk-swift.awsmigrationhubconfig/latest) +[AWSMigrationHubConfig](../../../../../swift/api/awsmigrationhubconfig/latest) -[aws-sdk-swift.AWSMigrationHubOrchestrator](../../../../../swift/api/aws-sdk-swift.awsmigrationhuborchestrator/latest) +[AWSMigrationHubOrchestrator](../../../../../swift/api/awsmigrationhuborchestrator/latest) -[aws-sdk-swift.AWSMigrationHubRefactorSpaces](../../../../../swift/api/aws-sdk-swift.awsmigrationhubrefactorspaces/latest) +[AWSMigrationHubRefactorSpaces](../../../../../swift/api/awsmigrationhubrefactorspaces/latest) -[aws-sdk-swift.AWSMigrationHubStrategy](../../../../../swift/api/aws-sdk-swift.awsmigrationhubstrategy/latest) +[AWSMigrationHubStrategy](../../../../../swift/api/awsmigrationhubstrategy/latest) -[aws-sdk-swift.AWSMobile](../../../../../swift/api/aws-sdk-swift.awsmobile/latest) +[AWSMobile](../../../../../swift/api/awsmobile/latest) -[aws-sdk-swift.AWSMq](../../../../../swift/api/aws-sdk-swift.awsmq/latest) +[AWSMq](../../../../../swift/api/awsmq/latest) -[aws-sdk-swift.AWSNeptune](../../../../../swift/api/aws-sdk-swift.awsneptune/latest) +[AWSNeptune](../../../../../swift/api/awsneptune/latest) -[aws-sdk-swift.AWSNeptuneGraph](../../../../../swift/api/aws-sdk-swift.awsneptunegraph/latest) +[AWSNeptuneGraph](../../../../../swift/api/awsneptunegraph/latest) -[aws-sdk-swift.AWSNeptunedata](../../../../../swift/api/aws-sdk-swift.awsneptunedata/latest) +[AWSNeptunedata](../../../../../swift/api/awsneptunedata/latest) -[aws-sdk-swift.AWSNetworkFirewall](../../../../../swift/api/aws-sdk-swift.awsnetworkfirewall/latest) +[AWSNetworkFirewall](../../../../../swift/api/awsnetworkfirewall/latest) -[aws-sdk-swift.AWSNetworkManager](../../../../../swift/api/aws-sdk-swift.awsnetworkmanager/latest) +[AWSNetworkManager](../../../../../swift/api/awsnetworkmanager/latest) -[aws-sdk-swift.AWSNetworkMonitor](../../../../../swift/api/aws-sdk-swift.awsnetworkmonitor/latest) +[AWSNetworkMonitor](../../../../../swift/api/awsnetworkmonitor/latest) -[aws-sdk-swift.AWSNimble](../../../../../swift/api/aws-sdk-swift.awsnimble/latest) +[AWSNimble](../../../../../swift/api/awsnimble/latest) -[aws-sdk-swift.AWSOAM](../../../../../swift/api/aws-sdk-swift.awsoam/latest) +[AWSOAM](../../../../../swift/api/awsoam/latest) -[aws-sdk-swift.AWSOSIS](../../../../../swift/api/aws-sdk-swift.awsosis/latest) +[AWSOSIS](../../../../../swift/api/awsosis/latest) -[aws-sdk-swift.AWSOmics](../../../../../swift/api/aws-sdk-swift.awsomics/latest) +[AWSOmics](../../../../../swift/api/awsomics/latest) -[aws-sdk-swift.AWSOpenSearch](../../../../../swift/api/aws-sdk-swift.awsopensearch/latest) +[AWSOpenSearch](../../../../../swift/api/awsopensearch/latest) -[aws-sdk-swift.AWSOpenSearchServerless](../../../../../swift/api/aws-sdk-swift.awsopensearchserverless/latest) +[AWSOpenSearchServerless](../../../../../swift/api/awsopensearchserverless/latest) -[aws-sdk-swift.AWSOpsWorks](../../../../../swift/api/aws-sdk-swift.awsopsworks/latest) +[AWSOpsWorks](../../../../../swift/api/awsopsworks/latest) -[aws-sdk-swift.AWSOpsWorksCM](../../../../../swift/api/aws-sdk-swift.awsopsworkscm/latest) +[AWSOpsWorksCM](../../../../../swift/api/awsopsworkscm/latest) -[aws-sdk-swift.AWSOrganizations](../../../../../swift/api/aws-sdk-swift.awsorganizations/latest) +[AWSOrganizations](../../../../../swift/api/awsorganizations/latest) -[aws-sdk-swift.AWSOutposts](../../../../../swift/api/aws-sdk-swift.awsoutposts/latest) +[AWSOutposts](../../../../../swift/api/awsoutposts/latest) -[aws-sdk-swift.AWSPI](../../../../../swift/api/aws-sdk-swift.awspi/latest) +[AWSPI](../../../../../swift/api/awspi/latest) -[aws-sdk-swift.AWSPanorama](../../../../../swift/api/aws-sdk-swift.awspanorama/latest) +[AWSPanorama](../../../../../swift/api/awspanorama/latest) -[aws-sdk-swift.AWSPaymentCryptography](../../../../../swift/api/aws-sdk-swift.awspaymentcryptography/latest) +[AWSPaymentCryptography](../../../../../swift/api/awspaymentcryptography/latest) -[aws-sdk-swift.AWSPaymentCryptographyData](../../../../../swift/api/aws-sdk-swift.awspaymentcryptographydata/latest) +[AWSPaymentCryptographyData](../../../../../swift/api/awspaymentcryptographydata/latest) -[aws-sdk-swift.AWSPcaConnectorAd](../../../../../swift/api/aws-sdk-swift.awspcaconnectorad/latest) +[AWSPcaConnectorAd](../../../../../swift/api/awspcaconnectorad/latest) -[aws-sdk-swift.AWSPcaConnectorScep](../../../../../swift/api/aws-sdk-swift.awspcaconnectorscep/latest) +[AWSPcaConnectorScep](../../../../../swift/api/awspcaconnectorscep/latest) -[aws-sdk-swift.AWSPersonalize](../../../../../swift/api/aws-sdk-swift.awspersonalize/latest) +[AWSPersonalize](../../../../../swift/api/awspersonalize/latest) -[aws-sdk-swift.AWSPersonalizeEvents](../../../../../swift/api/aws-sdk-swift.awspersonalizeevents/latest) +[AWSPersonalizeEvents](../../../../../swift/api/awspersonalizeevents/latest) -[aws-sdk-swift.AWSPersonalizeRuntime](../../../../../swift/api/aws-sdk-swift.awspersonalizeruntime/latest) +[AWSPersonalizeRuntime](../../../../../swift/api/awspersonalizeruntime/latest) -[aws-sdk-swift.AWSPinpoint](../../../../../swift/api/aws-sdk-swift.awspinpoint/latest) +[AWSPinpoint](../../../../../swift/api/awspinpoint/latest) -[aws-sdk-swift.AWSPinpointEmail](../../../../../swift/api/aws-sdk-swift.awspinpointemail/latest) +[AWSPinpointEmail](../../../../../swift/api/awspinpointemail/latest) -[aws-sdk-swift.AWSPinpointSMSVoice](../../../../../swift/api/aws-sdk-swift.awspinpointsmsvoice/latest) +[AWSPinpointSMSVoice](../../../../../swift/api/awspinpointsmsvoice/latest) -[aws-sdk-swift.AWSPinpointSMSVoiceV2](../../../../../swift/api/aws-sdk-swift.awspinpointsmsvoicev2/latest) +[AWSPinpointSMSVoiceV2](../../../../../swift/api/awspinpointsmsvoicev2/latest) -[aws-sdk-swift.AWSPipes](../../../../../swift/api/aws-sdk-swift.awspipes/latest) +[AWSPipes](../../../../../swift/api/awspipes/latest) -[aws-sdk-swift.AWSPolly](../../../../../swift/api/aws-sdk-swift.awspolly/latest) +[AWSPolly](../../../../../swift/api/awspolly/latest) -[aws-sdk-swift.AWSPricing](../../../../../swift/api/aws-sdk-swift.awspricing/latest) +[AWSPricing](../../../../../swift/api/awspricing/latest) -[aws-sdk-swift.AWSPrivateNetworks](../../../../../swift/api/aws-sdk-swift.awsprivatenetworks/latest) +[AWSPrivateNetworks](../../../../../swift/api/awsprivatenetworks/latest) -[aws-sdk-swift.AWSProton](../../../../../swift/api/aws-sdk-swift.awsproton/latest) +[AWSProton](../../../../../swift/api/awsproton/latest) -[aws-sdk-swift.AWSQBusiness](../../../../../swift/api/aws-sdk-swift.awsqbusiness/latest) +[AWSQBusiness](../../../../../swift/api/awsqbusiness/latest) -[aws-sdk-swift.AWSQConnect](../../../../../swift/api/aws-sdk-swift.awsqconnect/latest) +[AWSQConnect](../../../../../swift/api/awsqconnect/latest) -[aws-sdk-swift.AWSQLDB](../../../../../swift/api/aws-sdk-swift.awsqldb/latest) +[AWSQLDB](../../../../../swift/api/awsqldb/latest) -[aws-sdk-swift.AWSQLDBSession](../../../../../swift/api/aws-sdk-swift.awsqldbsession/latest) +[AWSQLDBSession](../../../../../swift/api/awsqldbsession/latest) -[aws-sdk-swift.AWSQuickSight](../../../../../swift/api/aws-sdk-swift.awsquicksight/latest) +[AWSQuickSight](../../../../../swift/api/awsquicksight/latest) -[aws-sdk-swift.AWSRAM](../../../../../swift/api/aws-sdk-swift.awsram/latest) +[AWSRAM](../../../../../swift/api/awsram/latest) -[aws-sdk-swift.AWSRDS](../../../../../swift/api/aws-sdk-swift.awsrds/latest) +[AWSRDS](../../../../../swift/api/awsrds/latest) -[aws-sdk-swift.AWSRDSData](../../../../../swift/api/aws-sdk-swift.awsrdsdata/latest) +[AWSRDSData](../../../../../swift/api/awsrdsdata/latest) -[aws-sdk-swift.AWSRUM](../../../../../swift/api/aws-sdk-swift.awsrum/latest) +[AWSRUM](../../../../../swift/api/awsrum/latest) -[aws-sdk-swift.AWSRbin](../../../../../swift/api/aws-sdk-swift.awsrbin/latest) +[AWSRbin](../../../../../swift/api/awsrbin/latest) -[aws-sdk-swift.AWSRedshift](../../../../../swift/api/aws-sdk-swift.awsredshift/latest) +[AWSRedshift](../../../../../swift/api/awsredshift/latest) -[aws-sdk-swift.AWSRedshiftData](../../../../../swift/api/aws-sdk-swift.awsredshiftdata/latest) +[AWSRedshiftData](../../../../../swift/api/awsredshiftdata/latest) -[aws-sdk-swift.AWSRedshiftServerless](../../../../../swift/api/aws-sdk-swift.awsredshiftserverless/latest) +[AWSRedshiftServerless](../../../../../swift/api/awsredshiftserverless/latest) -[aws-sdk-swift.AWSRekognition](../../../../../swift/api/aws-sdk-swift.awsrekognition/latest) +[AWSRekognition](../../../../../swift/api/awsrekognition/latest) -[aws-sdk-swift.AWSRepostspace](../../../../../swift/api/aws-sdk-swift.awsrepostspace/latest) +[AWSRepostspace](../../../../../swift/api/awsrepostspace/latest) -[aws-sdk-swift.AWSResiliencehub](../../../../../swift/api/aws-sdk-swift.awsresiliencehub/latest) +[AWSResiliencehub](../../../../../swift/api/awsresiliencehub/latest) -[aws-sdk-swift.AWSResourceExplorer2](../../../../../swift/api/aws-sdk-swift.awsresourceexplorer2/latest) +[AWSResourceExplorer2](../../../../../swift/api/awsresourceexplorer2/latest) -[aws-sdk-swift.AWSResourceGroups](../../../../../swift/api/aws-sdk-swift.awsresourcegroups/latest) +[AWSResourceGroups](../../../../../swift/api/awsresourcegroups/latest) -[aws-sdk-swift.AWSResourceGroupsTaggingAPI](../../../../../swift/api/aws-sdk-swift.awsresourcegroupstaggingapi/latest) +[AWSResourceGroupsTaggingAPI](../../../../../swift/api/awsresourcegroupstaggingapi/latest) -[aws-sdk-swift.AWSRoboMaker](../../../../../swift/api/aws-sdk-swift.awsrobomaker/latest) +[AWSRoboMaker](../../../../../swift/api/awsrobomaker/latest) -[aws-sdk-swift.AWSRolesAnywhere](../../../../../swift/api/aws-sdk-swift.awsrolesanywhere/latest) +[AWSRolesAnywhere](../../../../../swift/api/awsrolesanywhere/latest) -[aws-sdk-swift.AWSRoute53](../../../../../swift/api/aws-sdk-swift.awsroute53/latest) +[AWSRoute53](../../../../../swift/api/awsroute53/latest) -[aws-sdk-swift.AWSRoute53Domains](../../../../../swift/api/aws-sdk-swift.awsroute53domains/latest) +[AWSRoute53Domains](../../../../../swift/api/awsroute53domains/latest) -[aws-sdk-swift.AWSRoute53Profiles](../../../../../swift/api/aws-sdk-swift.awsroute53profiles/latest) +[AWSRoute53Profiles](../../../../../swift/api/awsroute53profiles/latest) -[aws-sdk-swift.AWSRoute53RecoveryCluster](../../../../../swift/api/aws-sdk-swift.awsroute53recoverycluster/latest) +[AWSRoute53RecoveryCluster](../../../../../swift/api/awsroute53recoverycluster/latest) -[aws-sdk-swift.AWSRoute53RecoveryControlConfig](../../../../../swift/api/aws-sdk-swift.awsroute53recoverycontrolconfig/latest) +[AWSRoute53RecoveryControlConfig](../../../../../swift/api/awsroute53recoverycontrolconfig/latest) -[aws-sdk-swift.AWSRoute53RecoveryReadiness](../../../../../swift/api/aws-sdk-swift.awsroute53recoveryreadiness/latest) +[AWSRoute53RecoveryReadiness](../../../../../swift/api/awsroute53recoveryreadiness/latest) -[aws-sdk-swift.AWSRoute53Resolver](../../../../../swift/api/aws-sdk-swift.awsroute53resolver/latest) +[AWSRoute53Resolver](../../../../../swift/api/awsroute53resolver/latest) -[aws-sdk-swift.AWSS3](../../../../../swift/api/aws-sdk-swift.awss3/latest) +[AWSS3](../../../../../swift/api/awss3/latest) -[aws-sdk-swift.AWSS3Control](../../../../../swift/api/aws-sdk-swift.awss3control/latest) +[AWSS3Control](../../../../../swift/api/awss3control/latest) -[aws-sdk-swift.AWSS3Outposts](../../../../../swift/api/aws-sdk-swift.awss3outposts/latest) +[AWSS3Outposts](../../../../../swift/api/awss3outposts/latest) -[aws-sdk-swift.AWSSES](../../../../../swift/api/aws-sdk-swift.awsses/latest) +[AWSSES](../../../../../swift/api/awsses/latest) -[aws-sdk-swift.AWSSESv2](../../../../../swift/api/aws-sdk-swift.awssesv2/latest) +[AWSSESv2](../../../../../swift/api/awssesv2/latest) -[aws-sdk-swift.AWSSFN](../../../../../swift/api/aws-sdk-swift.awssfn/latest) +[AWSSFN](../../../../../swift/api/awssfn/latest) -[aws-sdk-swift.AWSSMS](../../../../../swift/api/aws-sdk-swift.awssms/latest) +[AWSSMS](../../../../../swift/api/awssms/latest) -[aws-sdk-swift.AWSSNS](../../../../../swift/api/aws-sdk-swift.awssns/latest) +[AWSSNS](../../../../../swift/api/awssns/latest) -[aws-sdk-swift.AWSSQS](../../../../../swift/api/aws-sdk-swift.awssqs/latest) +[AWSSQS](../../../../../swift/api/awssqs/latest) -[aws-sdk-swift.AWSSSM](../../../../../swift/api/aws-sdk-swift.awsssm/latest) +[AWSSSM](../../../../../swift/api/awsssm/latest) -[aws-sdk-swift.AWSSSMContacts](../../../../../swift/api/aws-sdk-swift.awsssmcontacts/latest) +[AWSSSMContacts](../../../../../swift/api/awsssmcontacts/latest) -[aws-sdk-swift.AWSSSMIncidents](../../../../../swift/api/aws-sdk-swift.awsssmincidents/latest) +[AWSSSMIncidents](../../../../../swift/api/awsssmincidents/latest) -[aws-sdk-swift.AWSSSO](../../../../../swift/api/aws-sdk-swift.awssso/latest) +[AWSSSO](../../../../../swift/api/awssso/latest) -[aws-sdk-swift.AWSSSOAdmin](../../../../../swift/api/aws-sdk-swift.awsssoadmin/latest) +[AWSSSOAdmin](../../../../../swift/api/awsssoadmin/latest) -[aws-sdk-swift.AWSSSOOIDC](../../../../../swift/api/aws-sdk-swift.awsssooidc/latest) +[AWSSSOOIDC](../../../../../swift/api/awsssooidc/latest) -[aws-sdk-swift.AWSSTS](../../../../../swift/api/aws-sdk-swift.awssts/latest) +[AWSSTS](../../../../../swift/api/awssts/latest) -[aws-sdk-swift.AWSSWF](../../../../../swift/api/aws-sdk-swift.awsswf/latest) +[AWSSWF](../../../../../swift/api/awsswf/latest) -[aws-sdk-swift.AWSSageMaker](../../../../../swift/api/aws-sdk-swift.awssagemaker/latest) +[AWSSageMaker](../../../../../swift/api/awssagemaker/latest) -[aws-sdk-swift.AWSSageMakerA2IRuntime](../../../../../swift/api/aws-sdk-swift.awssagemakera2iruntime/latest) +[AWSSageMakerA2IRuntime](../../../../../swift/api/awssagemakera2iruntime/latest) -[aws-sdk-swift.AWSSageMakerFeatureStoreRuntime](../../../../../swift/api/aws-sdk-swift.awssagemakerfeaturestoreruntime/latest) +[AWSSageMakerFeatureStoreRuntime](../../../../../swift/api/awssagemakerfeaturestoreruntime/latest) -[aws-sdk-swift.AWSSageMakerGeospatial](../../../../../swift/api/aws-sdk-swift.awssagemakergeospatial/latest) +[AWSSageMakerGeospatial](../../../../../swift/api/awssagemakergeospatial/latest) -[aws-sdk-swift.AWSSageMakerMetrics](../../../../../swift/api/aws-sdk-swift.awssagemakermetrics/latest) +[AWSSageMakerMetrics](../../../../../swift/api/awssagemakermetrics/latest) -[aws-sdk-swift.AWSSageMakerRuntime](../../../../../swift/api/aws-sdk-swift.awssagemakerruntime/latest) +[AWSSageMakerRuntime](../../../../../swift/api/awssagemakerruntime/latest) -[aws-sdk-swift.AWSSagemakerEdge](../../../../../swift/api/aws-sdk-swift.awssagemakeredge/latest) +[AWSSagemakerEdge](../../../../../swift/api/awssagemakeredge/latest) -[aws-sdk-swift.AWSSavingsplans](../../../../../swift/api/aws-sdk-swift.awssavingsplans/latest) +[AWSSavingsplans](../../../../../swift/api/awssavingsplans/latest) -[aws-sdk-swift.AWSScheduler](../../../../../swift/api/aws-sdk-swift.awsscheduler/latest) +[AWSScheduler](../../../../../swift/api/awsscheduler/latest) -[aws-sdk-swift.AWSSchemas](../../../../../swift/api/aws-sdk-swift.awsschemas/latest) +[AWSSchemas](../../../../../swift/api/awsschemas/latest) -[aws-sdk-swift.AWSSecretsManager](../../../../../swift/api/aws-sdk-swift.awssecretsmanager/latest) +[AWSSecretsManager](../../../../../swift/api/awssecretsmanager/latest) -[aws-sdk-swift.AWSSecurityHub](../../../../../swift/api/aws-sdk-swift.awssecurityhub/latest) +[AWSSecurityHub](../../../../../swift/api/awssecurityhub/latest) -[aws-sdk-swift.AWSSecurityLake](../../../../../swift/api/aws-sdk-swift.awssecuritylake/latest) +[AWSSecurityLake](../../../../../swift/api/awssecuritylake/latest) -[aws-sdk-swift.AWSServerlessApplicationRepository](../../../../../swift/api/aws-sdk-swift.awsserverlessapplicationrepository/latest) +[AWSServerlessApplicationRepository](../../../../../swift/api/awsserverlessapplicationrepository/latest) -[aws-sdk-swift.AWSServiceCatalog](../../../../../swift/api/aws-sdk-swift.awsservicecatalog/latest) +[AWSServiceCatalog](../../../../../swift/api/awsservicecatalog/latest) -[aws-sdk-swift.AWSServiceCatalogAppRegistry](../../../../../swift/api/aws-sdk-swift.awsservicecatalogappregistry/latest) +[AWSServiceCatalogAppRegistry](../../../../../swift/api/awsservicecatalogappregistry/latest) -[aws-sdk-swift.AWSServiceDiscovery](../../../../../swift/api/aws-sdk-swift.awsservicediscovery/latest) +[AWSServiceDiscovery](../../../../../swift/api/awsservicediscovery/latest) -[aws-sdk-swift.AWSServiceQuotas](../../../../../swift/api/aws-sdk-swift.awsservicequotas/latest) +[AWSServiceQuotas](../../../../../swift/api/awsservicequotas/latest) -[aws-sdk-swift.AWSShield](../../../../../swift/api/aws-sdk-swift.awsshield/latest) +[AWSShield](../../../../../swift/api/awsshield/latest) -[aws-sdk-swift.AWSSigner](../../../../../swift/api/aws-sdk-swift.awssigner/latest) +[AWSSigner](../../../../../swift/api/awssigner/latest) -[aws-sdk-swift.AWSSimSpaceWeaver](../../../../../swift/api/aws-sdk-swift.awssimspaceweaver/latest) +[AWSSimSpaceWeaver](../../../../../swift/api/awssimspaceweaver/latest) -[aws-sdk-swift.AWSSnowDeviceManagement](../../../../../swift/api/aws-sdk-swift.awssnowdevicemanagement/latest) +[AWSSnowDeviceManagement](../../../../../swift/api/awssnowdevicemanagement/latest) -[aws-sdk-swift.AWSSnowball](../../../../../swift/api/aws-sdk-swift.awssnowball/latest) +[AWSSnowball](../../../../../swift/api/awssnowball/latest) -[aws-sdk-swift.AWSSsmSap](../../../../../swift/api/aws-sdk-swift.awsssmsap/latest) +[AWSSsmSap](../../../../../swift/api/awsssmsap/latest) -[aws-sdk-swift.AWSStorageGateway](../../../../../swift/api/aws-sdk-swift.awsstoragegateway/latest) +[AWSStorageGateway](../../../../../swift/api/awsstoragegateway/latest) -[aws-sdk-swift.AWSSupplyChain](../../../../../swift/api/aws-sdk-swift.awssupplychain/latest) +[AWSSupplyChain](../../../../../swift/api/awssupplychain/latest) -[aws-sdk-swift.AWSSupport](../../../../../swift/api/aws-sdk-swift.awssupport/latest) +[AWSSupport](../../../../../swift/api/awssupport/latest) -[aws-sdk-swift.AWSSupportApp](../../../../../swift/api/aws-sdk-swift.awssupportapp/latest) +[AWSSupportApp](../../../../../swift/api/awssupportapp/latest) -[aws-sdk-swift.AWSSynthetics](../../../../../swift/api/aws-sdk-swift.awssynthetics/latest) +[AWSSynthetics](../../../../../swift/api/awssynthetics/latest) -[aws-sdk-swift.AWSTaxSettings](../../../../../swift/api/aws-sdk-swift.awstaxsettings/latest) +[AWSTaxSettings](../../../../../swift/api/awstaxsettings/latest) -[aws-sdk-swift.AWSTextract](../../../../../swift/api/aws-sdk-swift.awstextract/latest) +[AWSTextract](../../../../../swift/api/awstextract/latest) -[aws-sdk-swift.AWSTimestreamInfluxDB](../../../../../swift/api/aws-sdk-swift.awstimestreaminfluxdb/latest) +[AWSTimestreamInfluxDB](../../../../../swift/api/awstimestreaminfluxdb/latest) -[aws-sdk-swift.AWSTimestreamQuery](../../../../../swift/api/aws-sdk-swift.awstimestreamquery/latest) +[AWSTimestreamQuery](../../../../../swift/api/awstimestreamquery/latest) -[aws-sdk-swift.AWSTimestreamWrite](../../../../../swift/api/aws-sdk-swift.awstimestreamwrite/latest) +[AWSTimestreamWrite](../../../../../swift/api/awstimestreamwrite/latest) -[aws-sdk-swift.AWSTnb](../../../../../swift/api/aws-sdk-swift.awstnb/latest) +[AWSTnb](../../../../../swift/api/awstnb/latest) -[aws-sdk-swift.AWSTranscribe](../../../../../swift/api/aws-sdk-swift.awstranscribe/latest) +[AWSTranscribe](../../../../../swift/api/awstranscribe/latest) -[aws-sdk-swift.AWSTranscribeStreaming](../../../../../swift/api/aws-sdk-swift.awstranscribestreaming/latest) +[AWSTranscribeStreaming](../../../../../swift/api/awstranscribestreaming/latest) -[aws-sdk-swift.AWSTransfer](../../../../../swift/api/aws-sdk-swift.awstransfer/latest) +[AWSTransfer](../../../../../swift/api/awstransfer/latest) -[aws-sdk-swift.AWSTranslate](../../../../../swift/api/aws-sdk-swift.awstranslate/latest) +[AWSTranslate](../../../../../swift/api/awstranslate/latest) -[aws-sdk-swift.AWSTrustedAdvisor](../../../../../swift/api/aws-sdk-swift.awstrustedadvisor/latest) +[AWSTrustedAdvisor](../../../../../swift/api/awstrustedadvisor/latest) -[aws-sdk-swift.AWSVPCLattice](../../../../../swift/api/aws-sdk-swift.awsvpclattice/latest) +[AWSVPCLattice](../../../../../swift/api/awsvpclattice/latest) -[aws-sdk-swift.AWSVerifiedPermissions](../../../../../swift/api/aws-sdk-swift.awsverifiedpermissions/latest) +[AWSVerifiedPermissions](../../../../../swift/api/awsverifiedpermissions/latest) -[aws-sdk-swift.AWSVoiceID](../../../../../swift/api/aws-sdk-swift.awsvoiceid/latest) +[AWSVoiceID](../../../../../swift/api/awsvoiceid/latest) -[aws-sdk-swift.AWSWAF](../../../../../swift/api/aws-sdk-swift.awswaf/latest) +[AWSWAF](../../../../../swift/api/awswaf/latest) -[aws-sdk-swift.AWSWAFRegional](../../../../../swift/api/aws-sdk-swift.awswafregional/latest) +[AWSWAFRegional](../../../../../swift/api/awswafregional/latest) -[aws-sdk-swift.AWSWAFV2](../../../../../swift/api/aws-sdk-swift.awswafv2/latest) +[AWSWAFV2](../../../../../swift/api/awswafv2/latest) -[aws-sdk-swift.AWSWellArchitected](../../../../../swift/api/aws-sdk-swift.awswellarchitected/latest) +[AWSWellArchitected](../../../../../swift/api/awswellarchitected/latest) -[aws-sdk-swift.AWSWisdom](../../../../../swift/api/aws-sdk-swift.awswisdom/latest) +[AWSWisdom](../../../../../swift/api/awswisdom/latest) -[aws-sdk-swift.AWSWorkDocs](../../../../../swift/api/aws-sdk-swift.awsworkdocs/latest) +[AWSWorkDocs](../../../../../swift/api/awsworkdocs/latest) -[aws-sdk-swift.AWSWorkLink](../../../../../swift/api/aws-sdk-swift.awsworklink/latest) +[AWSWorkLink](../../../../../swift/api/awsworklink/latest) -[aws-sdk-swift.AWSWorkMail](../../../../../swift/api/aws-sdk-swift.awsworkmail/latest) +[AWSWorkMail](../../../../../swift/api/awsworkmail/latest) -[aws-sdk-swift.AWSWorkMailMessageFlow](../../../../../swift/api/aws-sdk-swift.awsworkmailmessageflow/latest) +[AWSWorkMailMessageFlow](../../../../../swift/api/awsworkmailmessageflow/latest) -[aws-sdk-swift.AWSWorkSpaces](../../../../../swift/api/aws-sdk-swift.awsworkspaces/latest) +[AWSWorkSpaces](../../../../../swift/api/awsworkspaces/latest) -[aws-sdk-swift.AWSWorkSpacesThinClient](../../../../../swift/api/aws-sdk-swift.awsworkspacesthinclient/latest) +[AWSWorkSpacesThinClient](../../../../../swift/api/awsworkspacesthinclient/latest) -[aws-sdk-swift.AWSWorkSpacesWeb](../../../../../swift/api/aws-sdk-swift.awsworkspacesweb/latest) +[AWSWorkSpacesWeb](../../../../../swift/api/awsworkspacesweb/latest) -[aws-sdk-swift.AWSXRay](../../../../../swift/api/aws-sdk-swift.awsxray/latest) +[AWSXRay](../../../../../swift/api/awsxray/latest) From f293050fef0a233171ec1225ca60be6c08dcc6e6 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 11 Jul 2024 17:02:31 -0500 Subject: [PATCH 31/45] Code cleanup --- .gitignore | 4 +- Package.swift | 384 ------------------ SPRCLI/Package.resolved | 77 ++++ .../spr-multi-publish/SPRMultiPublish.swift | 1 - 4 files changed, 79 insertions(+), 387 deletions(-) create mode 100644 SPRCLI/Package.resolved diff --git a/.gitignore b/.gitignore index 32d8dff407a..6c381468233 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,7 @@ codegen/protocol-test-codegen/smithy-build.json # VS Code config files .vscode/ -# Allow the AWSSDKSwiftCLI Package.resolved +# Allow the AWSSDKSwiftCLI & SPRCLI Package.resolved # while excluding all other Package.resolved files !/AWSSDKSwiftCLI/Package.resolved - +!/SPRCLI/Package.resolved diff --git a/Package.swift b/Package.swift index 3282dee06a0..4930ee20151 100644 --- a/Package.swift +++ b/Package.swift @@ -265,390 +265,6 @@ addDependencies( // excludeRuntimeUnitTests() let serviceTargets: [String] = [ - "AWSACM", - "AWSACMPCA", - "AWSAPIGateway", - "AWSARCZonalShift", - "AWSAccessAnalyzer", - "AWSAccount", - "AWSAmp", - "AWSAmplify", - "AWSAmplifyBackend", - "AWSAmplifyUIBuilder", - "AWSApiGatewayManagementApi", - "AWSApiGatewayV2", - "AWSAppConfig", - "AWSAppConfigData", - "AWSAppFabric", - "AWSAppIntegrations", - "AWSAppMesh", - "AWSAppRunner", - "AWSAppStream", - "AWSAppSync", - "AWSAppTest", - "AWSAppflow", - "AWSApplicationAutoScaling", - "AWSApplicationCostProfiler", - "AWSApplicationDiscoveryService", - "AWSApplicationInsights", - "AWSApplicationSignals", - "AWSArtifact", - "AWSAthena", - "AWSAuditManager", - "AWSAutoScaling", - "AWSAutoScalingPlans", - "AWSB2bi", - "AWSBCMDataExports", - "AWSBackup", - "AWSBackupGateway", - "AWSBatch", - "AWSBedrock", - "AWSBedrockAgent", - "AWSBedrockAgentRuntime", - "AWSBedrockRuntime", - "AWSBillingconductor", - "AWSBraket", - "AWSBudgets", - "AWSChatbot", - "AWSChime", - "AWSChimeSDKIdentity", - "AWSChimeSDKMediaPipelines", - "AWSChimeSDKMeetings", - "AWSChimeSDKMessaging", - "AWSChimeSDKVoice", - "AWSCleanRooms", - "AWSCleanRoomsML", - "AWSCloud9", - "AWSCloudControl", - "AWSCloudDirectory", - "AWSCloudFormation", - "AWSCloudFront", - "AWSCloudFrontKeyValueStore", - "AWSCloudHSM", - "AWSCloudHSMV2", - "AWSCloudSearch", - "AWSCloudSearchDomain", - "AWSCloudTrail", - "AWSCloudTrailData", - "AWSCloudWatch", - "AWSCloudWatchEvents", - "AWSCloudWatchLogs", - "AWSCodeBuild", - "AWSCodeCatalyst", - "AWSCodeCommit", - "AWSCodeConnections", - "AWSCodeDeploy", - "AWSCodeGuruProfiler", - "AWSCodeGuruReviewer", - "AWSCodeGuruSecurity", - "AWSCodePipeline", - "AWSCodeStar", - "AWSCodeStarconnections", - "AWSCodeartifact", - "AWSCodestarnotifications", - "AWSCognitoIdentity", - "AWSCognitoIdentityProvider", - "AWSCognitoSync", - "AWSComprehend", - "AWSComprehendMedical", - "AWSComputeOptimizer", - "AWSConfigService", - "AWSConnect", - "AWSConnectCampaigns", - "AWSConnectCases", - "AWSConnectContactLens", - "AWSConnectParticipant", - "AWSControlCatalog", - "AWSControlTower", - "AWSCostExplorer", - "AWSCostOptimizationHub", - "AWSCostandUsageReportService", - "AWSCustomerProfiles", - "AWSDAX", - "AWSDLM", - "AWSDataBrew", - "AWSDataExchange", - "AWSDataPipeline", - "AWSDataSync", - "AWSDataZone", - "AWSDatabaseMigrationService", - "AWSDeadline", - "AWSDetective", - "AWSDevOpsGuru", - "AWSDeviceFarm", - "AWSDirectConnect", - "AWSDirectoryService", - "AWSDocDB", - "AWSDocDBElastic", - "AWSDrs", - "AWSDynamoDB", - "AWSDynamoDBStreams", - "AWSEBS", - "AWSEC2", - "AWSEC2InstanceConnect", - "AWSECR", - "AWSECRPUBLIC", - "AWSECS", - "AWSEFS", - "AWSEKS", - "AWSEKSAuth", - "AWSEMR", - "AWSEMRServerless", - "AWSEMRcontainers", - "AWSElastiCache", - "AWSElasticBeanstalk", - "AWSElasticInference", - "AWSElasticLoadBalancing", - "AWSElasticLoadBalancingv2", - "AWSElasticTranscoder", - "AWSElasticsearchService", - "AWSEntityResolution", - "AWSEventBridge", - "AWSEvidently", - "AWSFMS", - "AWSFSx", - "AWSFinspace", - "AWSFinspacedata", - "AWSFirehose", - "AWSFis", - "AWSForecast", - "AWSForecastquery", - "AWSFraudDetector", - "AWSFreeTier", - "AWSGameLift", - "AWSGlacier", - "AWSGlobalAccelerator", - "AWSGlue", - "AWSGrafana", - "AWSGreengrass", - "AWSGreengrassV2", - "AWSGroundStation", - "AWSGuardDuty", - "AWSHealth", - "AWSHealthLake", - "AWSIAM", - "AWSIVSRealTime", - "AWSIdentitystore", - "AWSImagebuilder", - "AWSInspector", - "AWSInspector2", - "AWSInspectorScan", - "AWSInternetMonitor", - "AWSIoT", - "AWSIoT1ClickDevicesService", - "AWSIoT1ClickProjects", - "AWSIoTAnalytics", - "AWSIoTDataPlane", - "AWSIoTEvents", - "AWSIoTEventsData", - "AWSIoTFleetHub", - "AWSIoTFleetWise", - "AWSIoTJobsDataPlane", - "AWSIoTSecureTunneling", - "AWSIoTSiteWise", - "AWSIoTThingsGraph", - "AWSIoTTwinMaker", - "AWSIoTWireless", - "AWSIotDeviceAdvisor", - "AWSIvs", - "AWSIvschat", - "AWSKMS", - "AWSKafka", - "AWSKafkaConnect", - "AWSKendra", - "AWSKendraRanking", - "AWSKeyspaces", - "AWSKinesis", - "AWSKinesisAnalytics", - "AWSKinesisAnalyticsV2", - "AWSKinesisVideo", - "AWSKinesisVideoArchivedMedia", - "AWSKinesisVideoMedia", - "AWSKinesisVideoSignaling", - "AWSKinesisVideoWebRTCStorage", - "AWSLakeFormation", - "AWSLambda", - "AWSLaunchWizard", - "AWSLexModelBuildingService", - "AWSLexModelsV2", - "AWSLexRuntimeService", - "AWSLexRuntimeV2", - "AWSLicenseManager", - "AWSLicenseManagerLinuxSubscriptions", - "AWSLicenseManagerUserSubscriptions", - "AWSLightsail", - "AWSLocation", - "AWSLookoutEquipment", - "AWSLookoutMetrics", - "AWSLookoutVision", - "AWSM2", - "AWSMTurk", - "AWSMWAA", - "AWSMachineLearning", - "AWSMacie2", - "AWSMailManager", - "AWSManagedBlockchain", - "AWSManagedBlockchainQuery", - "AWSMarketplaceAgreement", - "AWSMarketplaceCatalog", - "AWSMarketplaceCommerceAnalytics", - "AWSMarketplaceDeployment", - "AWSMarketplaceEntitlementService", - "AWSMarketplaceMetering", - "AWSMediaConnect", - "AWSMediaConvert", - "AWSMediaLive", - "AWSMediaPackage", - "AWSMediaPackageV2", - "AWSMediaPackageVod", - "AWSMediaStore", - "AWSMediaStoreData", - "AWSMediaTailor", - "AWSMedicalImaging", - "AWSMemoryDB", - "AWSMgn", - "AWSMigrationHub", - "AWSMigrationHubConfig", - "AWSMigrationHubOrchestrator", - "AWSMigrationHubRefactorSpaces", - "AWSMigrationHubStrategy", - "AWSMobile", - "AWSMq", - "AWSNeptune", - "AWSNeptuneGraph", - "AWSNeptunedata", - "AWSNetworkFirewall", - "AWSNetworkManager", - "AWSNetworkMonitor", - "AWSNimble", - "AWSOAM", - "AWSOSIS", - "AWSOmics", - "AWSOpenSearch", - "AWSOpenSearchServerless", - "AWSOpsWorks", - "AWSOpsWorksCM", - "AWSOrganizations", - "AWSOutposts", - "AWSPI", - "AWSPanorama", - "AWSPaymentCryptography", - "AWSPaymentCryptographyData", - "AWSPcaConnectorAd", - "AWSPcaConnectorScep", - "AWSPersonalize", - "AWSPersonalizeEvents", - "AWSPersonalizeRuntime", - "AWSPinpoint", - "AWSPinpointEmail", - "AWSPinpointSMSVoice", - "AWSPinpointSMSVoiceV2", - "AWSPipes", - "AWSPolly", - "AWSPricing", - "AWSPrivateNetworks", - "AWSProton", - "AWSQBusiness", - "AWSQConnect", - "AWSQLDB", - "AWSQLDBSession", - "AWSQuickSight", - "AWSRAM", - "AWSRDS", - "AWSRDSData", - "AWSRUM", - "AWSRbin", - "AWSRedshift", - "AWSRedshiftData", - "AWSRedshiftServerless", - "AWSRekognition", - "AWSRepostspace", - "AWSResiliencehub", - "AWSResourceExplorer2", - "AWSResourceGroups", - "AWSResourceGroupsTaggingAPI", - "AWSRoboMaker", - "AWSRolesAnywhere", - "AWSRoute53", - "AWSRoute53Domains", - "AWSRoute53Profiles", - "AWSRoute53RecoveryCluster", - "AWSRoute53RecoveryControlConfig", - "AWSRoute53RecoveryReadiness", - "AWSRoute53Resolver", - "AWSS3", - "AWSS3Control", - "AWSS3Outposts", - "AWSSES", - "AWSSESv2", - "AWSSFN", - "AWSSMS", - "AWSSNS", - "AWSSQS", - "AWSSSM", - "AWSSSMContacts", - "AWSSSMIncidents", - "AWSSSO", - "AWSSSOAdmin", - "AWSSSOOIDC", - "AWSSTS", - "AWSSWF", - "AWSSageMaker", - "AWSSageMakerA2IRuntime", - "AWSSageMakerFeatureStoreRuntime", - "AWSSageMakerGeospatial", - "AWSSageMakerMetrics", - "AWSSageMakerRuntime", - "AWSSagemakerEdge", - "AWSSavingsplans", - "AWSScheduler", - "AWSSchemas", - "AWSSecretsManager", - "AWSSecurityHub", - "AWSSecurityLake", - "AWSServerlessApplicationRepository", - "AWSServiceCatalog", - "AWSServiceCatalogAppRegistry", - "AWSServiceDiscovery", - "AWSServiceQuotas", - "AWSShield", - "AWSSigner", - "AWSSimSpaceWeaver", - "AWSSnowDeviceManagement", - "AWSSnowball", - "AWSSsmSap", - "AWSStorageGateway", - "AWSSupplyChain", - "AWSSupport", - "AWSSupportApp", - "AWSSynthetics", - "AWSTaxSettings", - "AWSTextract", - "AWSTimestreamInfluxDB", - "AWSTimestreamQuery", - "AWSTimestreamWrite", - "AWSTnb", - "AWSTranscribe", - "AWSTranscribeStreaming", - "AWSTransfer", - "AWSTranslate", - "AWSTrustedAdvisor", - "AWSVPCLattice", - "AWSVerifiedPermissions", - "AWSVoiceID", - "AWSWAF", - "AWSWAFRegional", - "AWSWAFV2", - "AWSWellArchitected", - "AWSWisdom", - "AWSWorkDocs", - "AWSWorkLink", - "AWSWorkMail", - "AWSWorkMailMessageFlow", - "AWSWorkSpaces", - "AWSWorkSpacesThinClient", - "AWSWorkSpacesWeb", - "AWSXRay", "aws-sdk-swift.AWSACM", "aws-sdk-swift.AWSACMPCA", "aws-sdk-swift.AWSAPIGateway", diff --git a/SPRCLI/Package.resolved b/SPRCLI/Package.resolved new file mode 100644 index 00000000000..755a667afcb --- /dev/null +++ b/SPRCLI/Package.resolved @@ -0,0 +1,77 @@ +{ + "pins" : [ + { + "identity" : "aws-crt-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/awslabs/aws-crt-swift", + "state" : { + "revision" : "b6380f683b31072d77b601c88674461c11bcad5a", + "version" : "0.30.0" + } + }, + { + "identity" : "aws-sdk-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/awslabs/aws-sdk-swift", + "state" : { + "revision" : "3c20e0be8c8246de8b8e04372404ef1f90be71b6", + "version" : "0.46.0" + } + }, + { + "identity" : "smithy-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/smithy-lang/smithy-swift", + "state" : { + "revision" : "b2322a067f85c230f17c80be8a67dd543454b081", + "version" : "0.51.0" + } + }, + { + "identity" : "swift-argument-parser", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-argument-parser", + "state" : { + "revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b", + "version" : "1.4.0" + } + }, + { + "identity" : "swift-llbuild", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-llbuild.git", + "state" : { + "revision" : "fb7ebf0b06c0d7c45ca8e18b3371424503a38b5c", + "version" : "0.3.0" + } + }, + { + "identity" : "swift-log", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-log.git", + "state" : { + "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", + "version" : "1.6.1" + } + }, + { + "identity" : "swift-package-manager", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-package-manager", + "state" : { + "revision" : "f5ea3972d7d6c574e8bb16a19b2a7bca98ea131b", + "version" : "0.6.0" + } + }, + { + "identity" : "swift-tools-support-core", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-tools-support-core.git", + "state" : { + "revision" : "98a5916a811fcaaed770f1ed812e9405be762945", + "version" : "0.1.0" + } + } + ], + "version" : 2 +} diff --git a/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift b/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift index d676fc58813..1bd1d0e8358 100644 --- a/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift +++ b/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift @@ -81,7 +81,6 @@ struct SPRMultiPublish: AsyncParsableCommand, Configurable { private var runtimePackages: [(String, String)] { return [ -// ("smithy-swift", "../../smithy-swift/"), awsRuntimePackage("aws-sdk-swift.AWSClientRuntime"), awsRuntimePackage("aws-sdk-swift.AWSSDKChecksums"), awsRuntimePackage("aws-sdk-swift.AWSSDKCommon"), From 380239d51d676b79ade9a5083f8c8e6f4957274e Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 12 Jul 2024 14:13:46 -0500 Subject: [PATCH 32/45] Add Gradle property for including service client manifests --- codegen/sdk-codegen/build.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index 1d79fd086eb..79dfeb5c5c5 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -6,14 +6,12 @@ // This build file has been adapted from the Go v2 SDK, here: // https://github.com/aws/aws-sdk-go-v2/blob/master/codegen/sdk-codegen/build.gradle.kts -import org.jetbrains.kotlin.com.google.common.primitives.Chars import software.amazon.smithy.gradle.tasks.SmithyBuild import software.amazon.smithy.model.Model import software.amazon.smithy.model.node.Node import software.amazon.smithy.model.shapes.ServiceShape import java.nio.charset.Charset import java.util.Properties -import kotlin.streams.toList plugins { id("software.amazon.smithy") version "0.5.3" @@ -207,11 +205,15 @@ task("stageSdks") { group = "codegen" description = "relocate generated SDK(s) from build directory to Sources and Tests directories" doLast { + val withManifests = project.properties["withManifests"] != null discoveredServices.forEach { logger.info("copying ${it.outputDir} source to ${it.sourcesDir}") copy { from("${it.outputDir}") into("${it.sourcesDir}") + if (!withManifests) { + exclude("Package.swift") + } } } } From 4f7dead88e190f5894a8cb986f627539b3e3f69a Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 12 Jul 2024 14:19:58 -0500 Subject: [PATCH 33/45] Fix Gradle build script --- codegen/sdk-codegen/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index 79dfeb5c5c5..b6f6ca9fe49 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -12,6 +12,7 @@ import software.amazon.smithy.model.node.Node import software.amazon.smithy.model.shapes.ServiceShape import java.nio.charset.Charset import java.util.Properties +import kotlin.streams.toList plugins { id("software.amazon.smithy") version "0.5.3" From 1cb42126df1056c3049bc1be2a99d6e9677bdadc Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 12 Jul 2024 17:35:36 -0500 Subject: [PATCH 34/45] Build script cleanup --- codegen/sdk-codegen/build.gradle.kts | 33 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index b6f6ca9fe49..48d834de218 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -9,6 +9,7 @@ import software.amazon.smithy.gradle.tasks.SmithyBuild import software.amazon.smithy.model.Model import software.amazon.smithy.model.node.Node +import software.amazon.smithy.model.node.ObjectNode import software.amazon.smithy.model.shapes.ServiceShape import java.nio.charset.Charset import java.util.Properties @@ -96,7 +97,6 @@ fun generateSmithyBuild(services: List): String { require(services.isNotEmpty()) { "No services discovered. Verify aws.services and aws.protocols properties in local.build. Aborting." } - val buildStandaloneSdk = getProperty("buildStandaloneSdk")?.toBoolean() ?: false val projections = services.joinToString(",") { service -> // escape windows paths for valid json val absModelPath = service.modelFile.absolutePath.replace("\\", "\\\\") @@ -118,13 +118,9 @@ fun generateSmithyBuild(services: List): String { "author": "Amazon Web Services", "gitRepo": "${service.gitRepo}", "swiftVersion": "5.9.0", - "build": { - "rootProject": $buildStandaloneSdk - }, "useInterceptors": ${interceptorsServices.contains(service.packageName)}, "mergeModels": true, - "copyrightNotice": "//\n// Copyright Amazon.com Inc. or its affiliates.\n// All Rights Reserved.\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n\n// Code generated by smithy-swift-codegen. DO NOT EDIT!\n\n", - "registryScope": "aws-sdk-swift" + "copyrightNotice": "//\n// Copyright Amazon.com Inc. or its affiliates.\n// All Rights Reserved.\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n\n// Code generated by smithy-swift-codegen. DO NOT EDIT!\n\n" } } } @@ -161,24 +157,24 @@ fun discoverServices(): List { return filteredModels .map { file -> - val model = Model.assembler().addImport(file.absolutePath).assemble().result.get() - val services: List = model.shapes(ServiceShape::class.java).sorted().toList() - require(services.size == 1) { "Expected one service per aws model, but found ${services.size} in ${file.absolutePath}: ${services.map { it.id }}" } - val service = services.first() - file to service - }.map{ (file, service) -> + val model = Model.assembler().addImport(file.absolutePath).assemble().result.get() + val services: List = model.shapes(ServiceShape::class.java).sorted().toList() + require(services.size == 1) { "Expected one service per aws model, but found ${services.size} in ${file.absolutePath}: ${services.map { it.id }}" } + val service = services.first() + file to service + }.map { (file, service) -> val serviceApi = service.getTrait(software.amazon.smithy.aws.traits.ServiceTrait::class.java).orNull() ?: error { "Expected aws.api#service trait attached to model ${file.absolutePath}" } val (name, version, _) = file.name.split(".") - val serviceClientVersions = Node.parse(rootProject.file("ServiceClientVersions.json").readText(Charset.forName("UTF-8"))) - val packageVersion = serviceClientVersions.expectObjectNode().getStringMember(name).orNull()?.value ?: - serviceClientVersions.expectObjectNode().getStringMember("sdk").get().value + val packageName = "AWS${serviceApi.sdkId.filterNot { it.isWhitespace() }.capitalize()}" + val packageVersion = serviceClientVersions.getStringMember(name).orNull()?.value ?: + serviceClientVersions.getStringMember("sdk").get().value logger.info("discovered service: ${serviceApi.sdkId}") AwsService( name = service.id.toString(), - packageName = "AWS${serviceApi.sdkId.filterNot { it.isWhitespace() }.capitalize()}", + packageName = packageName, packageVersion = packageVersion, modelFile = file, projectionName = name + "." + version.toLowerCase(), @@ -188,6 +184,11 @@ fun discoverServices(): List { } val discoveredServices: List by lazy { discoverServices() } +val serviceClientVersions: ObjectNode by lazy { + val json = rootProject.file("ServiceClientVersions.json").readText(Charset.forName("UTF-8")) + Node.parse(json).expectObjectNode() +} + val AwsService.outputDir: String get() = project.file("${project.buildDir}/smithyprojections/${project.name}/${projectionName}/swift-codegen").absolutePath From 6cbeaa3d4b131188dfdaf1cfb5967bfb4e780fd6 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 17 Jul 2024 16:51:03 -0500 Subject: [PATCH 35/45] Revert generated code --- .../AWSACM/Sources/AWSACM/ACMClient.swift | 8 +- .../AWSACM/Sources/AWSACM/Models.swift | 109 +- .../Sources/AWSACMPCA/ACMPCAClient.swift | 33 +- .../AWSACMPCA/Sources/AWSACMPCA/Models.swift | 145 +- .../Sources/AWSAPIGateway/Models.swift | 496 +- .../ARCZonalShiftClient.swift | 106 +- .../Sources/AWSARCZonalShift/Models.swift | 270 +- .../Sources/AWSAccessAnalyzer/Models.swift | 160 +- .../Sources/AWSAccount/Models.swift | 62 +- .../AWSAmp/Sources/AWSAmp/Models.swift | 120 +- .../Sources/AWSAmplify/Models.swift | 164 +- .../Sources/AWSAmplifyBackend/Models.swift | 134 +- .../Sources/AWSAmplifyUIBuilder/Models.swift | 128 +- .../AWSApiGatewayManagementApi/Models.swift | 22 +- .../Sources/AWSApiGatewayV2/Models.swift | 300 +- .../Sources/AWSAppConfig/Models.swift | 186 +- .../Sources/AWSAppConfigData/Models.swift | 18 +- .../Sources/AWSAppFabric/Models.swift | 120 +- .../Sources/AWSAppIntegrations/Models.swift | 102 +- .../Sources/AWSAppMesh/Models.swift | 174 +- .../Sources/AWSAppRunner/Models.swift | 164 +- .../Sources/AWSAppStream/Models.swift | 330 +- .../Sources/AWSAppSync/Models.swift | 280 +- .../Sources/AWSAppTest/Models.swift | 112 +- .../Sources/AWSAppflow/Models.swift | 127 +- .../ApplicationAutoScalingClient.swift | 6 +- .../AWSApplicationAutoScaling/Models.swift | 303 +- .../AWSApplicationCostProfiler/Models.swift | 36 +- .../Models.swift | 139 +- .../AWSApplicationInsights/Models.swift | 150 +- .../AWSApplicationSignals/Models.swift | 74 +- .../Sources/AWSArtifact/Models.swift | 40 +- .../AWSAthena/Sources/AWSAthena/Models.swift | 286 +- .../Sources/AWSAuditManager/Models.swift | 270 +- .../AWSAutoScaling/AutoScalingClient.swift | 30 +- .../Sources/AWSAutoScaling/Models.swift | 395 +- .../Sources/AWSAutoScalingPlans/Models.swift | 38 +- .../AWSB2bi/Sources/AWSB2bi/Models.swift | 124 +- .../Sources/AWSBCMDataExports/Models.swift | 60 +- .../AWSBackup/Sources/AWSBackup/Models.swift | 386 +- .../Sources/AWSBackupGateway/Models.swift | 114 +- .../AWSBatch/Sources/AWSBatch/Models.swift | 170 +- .../Sources/AWSBedrock/BedrockClient.swift | 33 +- .../Sources/AWSBedrock/Models.swift | 455 +- .../AWSBedrockAgent/BedrockAgentClient.swift | 1353 +- .../Sources/AWSBedrockAgent/Models.swift | 12525 ++++++++++++---- .../AWSBedrockAgentRuntime/Package.swift.txt | 4 +- .../BedrockAgentRuntimeClient.swift | 167 +- .../AWSBedrockAgentRuntime/Models.swift | 1992 ++- .../AWSBedrockRuntime/Package.swift.txt | 6 +- .../BedrockRuntimeClient.swift | 53 + .../Sources/AWSBedrockRuntime/Models.swift | 4251 +++--- .../Sources/AWSBillingconductor/Models.swift | 149 +- .../AWSBraket/Sources/AWSBraket/Models.swift | 72 +- .../Sources/AWSBudgets/Models.swift | 128 +- .../Sources/AWSChatbot/Models.swift | 168 +- .../AWSChime/Sources/AWSChime/Models.swift | 859 +- .../Sources/AWSChimeSDKIdentity/Models.swift | 145 +- .../ChimeSDKMediaPipelinesClient.swift | 6 +- .../AWSChimeSDKMediaPipelines/Models.swift | 177 +- .../Sources/AWSChimeSDKMeetings/Models.swift | 90 +- .../Sources/AWSChimeSDKMessaging/Models.swift | 242 +- .../Sources/AWSChimeSDKVoice/Models.swift | 451 +- .../Sources/AWSCleanRooms/Models.swift | 274 +- .../Sources/AWSCleanRoomsML/Models.swift | 112 +- .../AWSCloud9/Sources/AWSCloud9/Models.swift | 70 +- .../Sources/AWSCloudControl/Models.swift | 76 +- .../Sources/AWSCloudDirectory/Models.swift | 336 +- .../Sources/AWSCloudFormation/Models.swift | 384 +- .../AWSCloudFront/CloudFrontClient.swift | 6 +- .../Sources/AWSCloudFront/Models.swift | 748 +- .../CloudFrontKeyValueStoreClient.swift | 16 +- .../AWSCloudFrontKeyValueStore/Models.swift | 38 +- .../Sources/AWSCloudHSM/Models.swift | 88 +- .../AWSCloudHSMV2/CloudHSMV2Client.swift | 224 +- .../Sources/AWSCloudHSMV2/Models.swift | 324 +- .../Sources/AWSCloudHSMV2/Paginators.swift | 1 + .../Sources/AWSCloudSearch/Models.swift | 122 +- .../Sources/AWSCloudSearchDomain/Models.swift | 18 +- .../Sources/AWSCloudTrail/Models.swift | 364 +- .../Sources/AWSCloudTrailData/Models.swift | 18 +- .../Sources/AWSCloudWatch/Models.swift | 180 +- .../CloudWatchEventsClient.swift | 2 +- .../Sources/AWSCloudWatchEvents/Models.swift | 228 +- .../Sources/AWSCloudWatchLogs/Models.swift | 340 +- .../Sources/AWSCodeBuild/Models.swift | 212 +- .../Sources/AWSCodeCatalyst/Models.swift | 166 +- .../Sources/AWSCodeCommit/Models.swift | 694 +- .../Sources/AWSCodeConnections/Models.swift | 144 +- .../Sources/AWSCodeDeploy/Models.swift | 410 +- .../Sources/AWSCodeGuruProfiler/Models.swift | 106 +- .../Sources/AWSCodeGuruReviewer/Models.swift | 72 +- .../Sources/AWSCodeGuruSecurity/Models.swift | 66 +- .../Sources/AWSCodePipeline/Models.swift | 240 +- .../Sources/AWSCodeStar/Models.swift | 105 +- .../AWSCodeStarconnections/Models.swift | 144 +- .../Sources/AWSCodeartifact/Models.swift | 208 +- .../AWSCodestarnotifications/Models.swift | 70 +- .../Sources/AWSCognitoIdentity/Models.swift | 116 +- .../AWSCognitoIdentityProvider/Models.swift | 498 +- .../Sources/AWSCognitoSync/Models.swift | 96 +- .../Sources/AWSComprehend/Models.swift | 374 +- .../Sources/AWSComprehendMedical/Models.swift | 122 +- .../Sources/AWSComputeOptimizer/Models.swift | 124 +- .../Sources/AWSConfigService/Models.swift | 478 +- .../Sources/AWSConnect/ConnectClient.swift | 167 +- .../Sources/AWSConnect/Models.swift | 1533 +- .../Sources/AWSConnect/Paginators.swift | 31 + .../Sources/AWSConnectCampaigns/Models.swift | 108 +- .../Sources/AWSConnectCases/Models.swift | 152 +- .../AWSConnectContactLens/Models.swift | 16 +- .../AWSConnectParticipant/Models.swift | 54 +- .../Sources/AWSControlCatalog/Models.swift | 22 +- .../AWSControlTower/ControlTowerClient.swift | 73 +- .../Sources/AWSControlTower/Models.swift | 908 +- .../Sources/AWSCostExplorer/Models.swift | 192 +- .../AWSCostOptimizationHub/Models.swift | 40 +- .../AWSCostandUsageReportService/Models.swift | 40 +- .../CustomerProfilesClient.swift | 2 +- .../Sources/AWSCustomerProfiles/Models.swift | 267 +- .../AWSDAX/Sources/AWSDAX/Models.swift | 140 +- .../AWSDLM/Sources/AWSDLM/Models.swift | 42 +- .../Sources/AWSDataBrew/Models.swift | 190 +- .../Sources/AWSDataExchange/Models.swift | 136 +- .../Sources/AWSDataPipeline/Models.swift | 88 +- .../Sources/AWSDataSync/Models.swift | 246 +- .../Services/AWSDataZone/Package.swift.txt | 4 +- .../Sources/AWSDataZone/DataZoneClient.swift | 161 + .../Sources/AWSDataZone/Models.swift | 1145 +- .../Sources/AWSDataZone/Paginators.swift | 36 + .../AWSDatabaseMigrationService/Models.swift | 476 +- .../Sources/AWSDeadline/Models.swift | 457 +- .../Sources/AWSDetective/Models.swift | 132 +- .../Sources/AWSDevOpsGuru/Models.swift | 140 +- .../Sources/AWSDeviceFarm/Models.swift | 334 +- .../DirectConnectClient.swift | 8 +- .../Sources/AWSDirectConnect/Models.swift | 312 +- .../Sources/AWSDirectoryService/Models.swift | 344 +- .../AWSDocDB/Sources/AWSDocDB/Models.swift | 332 +- .../Sources/AWSDocDBElastic/Models.swift | 80 +- .../AWSDrs/Sources/AWSDrs/Models.swift | 218 +- .../Sources/AWSDynamoDB/Models.swift | 296 +- .../Sources/AWSDynamoDBStreams/Models.swift | 28 +- .../AWSEBS/Sources/AWSEBS/Models.swift | 47 +- .../AWSEC2/Sources/AWSEC2/EC2Client.swift | 1248 +- .../AWSEC2/Sources/AWSEC2/Models.swift | 2643 ++-- .../AWSEC2InstanceConnect/Models.swift | 34 +- .../AWSECR/Sources/AWSECR/Models.swift | 250 +- .../Sources/AWSECRPUBLIC/Models.swift | 142 +- .../AWSECS/Sources/AWSECS/ECSClient.swift | 116 +- .../AWSECS/Sources/AWSECS/Models.swift | 278 +- .../AWSEFS/Sources/AWSEFS/Models.swift | 190 +- .../AWSEKS/Sources/AWSEKS/Models.swift | 260 +- .../Sources/AWSEKSAuth/Models.swift | 24 +- .../AWSEMR/Sources/AWSEMR/Models.swift | 254 +- .../Sources/AWSEMRServerless/Models.swift | 78 +- .../Sources/AWSEMRcontainers/Models.swift | 106 +- .../Sources/AWSElastiCache/Models.swift | 454 +- .../Sources/AWSElasticBeanstalk/Models.swift | 228 +- .../Sources/AWSElasticInference/Models.swift | 32 +- .../AWSElasticLoadBalancing/Models.swift | 162 +- .../AWSElasticLoadBalancingv2/Models.swift | 274 +- .../Sources/AWSElasticTranscoder/Models.swift | 84 +- .../AWSElasticsearchService/Models.swift | 228 +- .../Sources/AWSEntityResolution/Models.swift | 164 +- .../AWSEventBridge/EventBridgeClient.swift | 118 +- .../Sources/AWSEventBridge/Models.swift | 252 +- .../Sources/AWSEvidently/Models.swift | 170 +- .../AWSFMS/Sources/AWSFMS/Models.swift | 182 +- .../AWSFSx/Sources/AWSFSx/Models.swift | 360 +- .../Sources/AWSFinspace/Models.swift | 222 +- .../Sources/AWSFinspacedata/Models.swift | 140 +- .../Sources/AWSFirehose/Models.swift | 66 +- .../AWSFis/Sources/AWSFis/Models.swift | 106 +- .../Sources/AWSForecast/Models.swift | 271 +- .../Sources/AWSForecastquery/Models.swift | 20 +- .../Sources/AWSFraudDetector/Models.swift | 340 +- .../Sources/AWSFreeTier/Models.swift | 12 +- .../Sources/AWSGameLift/Models.swift | 466 +- .../Sources/AWSGlacier/Models.swift | 150 +- .../GlobalAcceleratorClient.swift | 14 + .../Sources/AWSGlobalAccelerator/Models.swift | 280 +- .../AWSGlue/Sources/AWSGlue/Models.swift | 1107 +- .../AWSGlue/Sources/AWSGlue/Paginators.swift | 1 + .../Sources/AWSGrafana/Models.swift | 116 +- .../Sources/AWSGreengrass/Models.swift | 374 +- .../Sources/AWSGreengrassV2/Models.swift | 134 +- .../Sources/AWSGroundStation/Models.swift | 146 +- .../Sources/AWSGuardDuty/Models.swift | 308 +- .../AWSHealth/Sources/AWSHealth/Models.swift | 64 +- .../Sources/AWSHealthLake/Models.swift | 66 +- .../AWSIAM/Sources/AWSIAM/Models.swift | 694 +- .../AWSIVSRealTime/IVSRealTimeClient.swift | 203 + .../Sources/AWSIVSRealTime/Models.swift | 555 +- .../Sources/AWSIVSRealTime/Paginators.swift | 30 + .../Sources/AWSIdentitystore/Models.swift | 92 +- .../Sources/AWSImagebuilder/Models.swift | 328 +- .../Sources/AWSInspector/Models.swift | 172 +- .../Sources/AWSInspector2/Models.swift | 254 +- .../Sources/AWSInspectorScan/Models.swift | 14 +- .../Sources/AWSInternetMonitor/Models.swift | 88 +- .../AWSIoT/Sources/AWSIoT/Models.swift | 1088 +- .../AWSIoT1ClickDevicesService/Models.swift | 68 +- .../Sources/AWSIoT1ClickProjects/Models.swift | 76 +- .../Sources/AWSIoTAnalytics/Models.swift | 152 +- .../Sources/AWSIoTDataPlane/Models.swift | 50 +- .../Sources/AWSIoTEvents/Models.swift | 124 +- .../Sources/AWSIoTEventsData/Models.swift | 60 +- .../Sources/AWSIoTFleetHub/Models.swift | 46 +- .../Sources/AWSIoTFleetWise/Models.swift | 230 +- .../Sources/AWSIoTJobsDataPlane/Models.swift | 32 +- .../AWSIoTSecureTunneling/Models.swift | 38 +- .../Sources/AWSIoTSiteWise/Models.swift | 364 +- .../Sources/AWSIoTThingsGraph/Models.swift | 156 +- .../Sources/AWSIoTTwinMaker/Models.swift | 184 +- .../Sources/AWSIoTWireless/Models.swift | 464 +- .../Sources/AWSIotDeviceAdvisor/Models.swift | 66 +- .../AWSIvs/Sources/AWSIvs/Models.swift | 162 +- .../Sources/AWSIvschat/Models.swift | 86 +- .../AWSKMS/Sources/AWSKMS/Models.swift | 310 +- .../AWSKafka/Sources/AWSKafka/Models.swift | 226 +- .../Sources/AWSKafkaConnect/Models.swift | 82 +- .../AWSKendra/Sources/AWSKendra/Models.swift | 290 +- .../Sources/AWSKendraRanking/Models.swift | 54 +- .../Sources/AWSKeyspaces/Models.swift | 70 +- .../Sources/AWSKinesis/KinesisClient.swift | 68 +- .../Sources/AWSKinesis/Models.swift | 166 +- .../Sources/AWSKinesisAnalytics/Models.swift | 106 +- .../KinesisAnalyticsV2Client.swift | 104 +- .../AWSKinesisAnalyticsV2/Models.swift | 734 +- .../AWSKinesisAnalyticsV2/Paginators.swift | 137 + .../Sources/AWSKinesisVideo/Models.swift | 152 +- .../AWSKinesisVideoArchivedMedia/Models.swift | 44 +- .../Sources/AWSKinesisVideoMedia/Models.swift | 18 +- .../AWSKinesisVideoSignaling/Models.swift | 22 +- .../AWSKinesisVideoWebRTCStorage/Models.swift | 14 +- .../Sources/AWSLakeFormation/Models.swift | 258 +- .../AWSLambda/Sources/AWSLambda/Models.swift | 346 +- .../Sources/AWSLaunchWizard/Models.swift | 58 +- .../AWSLexModelBuildingService/Models.swift | 186 +- .../Sources/AWSLexModelsV2/Models.swift | 424 +- .../Sources/AWSLexRuntimeService/Models.swift | 49 +- .../Sources/AWSLexRuntimeV2/Models.swift | 51 +- .../Sources/AWSLicenseManager/Models.swift | 236 +- .../Package.swift.txt | 4 +- ...censeManagerLinuxSubscriptionsClient.swift | 349 +- .../Models.swift | 866 +- .../Paginators.swift | 31 + .../Models.swift | 60 +- .../Sources/AWSLightsail/Models.swift | 660 +- .../Sources/AWSLocation/Models.swift | 277 +- .../Sources/AWSLookoutEquipment/Models.swift | 212 +- .../Sources/AWSLookoutMetrics/Models.swift | 136 +- .../Sources/AWSLookoutVision/Models.swift | 104 +- .../Services/AWSM2/Sources/AWSM2/Models.swift | 156 +- .../AWSMTurk/Sources/AWSMTurk/Models.swift | 162 +- .../AWSMWAA/Sources/AWSMWAA/Models.swift | 54 +- .../Sources/AWSMachineLearning/Models.swift | 130 +- .../AWSMacie2/Sources/AWSMacie2/Models.swift | 342 +- .../Sources/AWSMailManager/Models.swift | 212 +- .../Sources/AWSManagedBlockchain/Models.swift | 130 +- .../AWSManagedBlockchainQuery/Models.swift | 50 +- .../AWSMarketplaceAgreement/Models.swift | 24 +- .../AWSMarketplaceCatalog/Models.swift | 70 +- .../Models.swift | 12 +- .../AWSMarketplaceDeployment/Models.swift | 32 +- .../Models.swift | 12 +- .../AWSMarketplaceMetering/Models.swift | 52 +- .../Sources/AWSMediaConnect/Models.swift | 274 +- .../AWSMediaConvert/MediaConvertClient.swift | 62 +- .../Sources/AWSMediaConvert/Models.swift | 130 +- .../Sources/AWSMediaLive/Models.swift | 388 +- .../Sources/AWSMediaPackage/Models.swift | 90 +- .../Sources/AWSMediaPackageV2/Models.swift | 112 +- .../Sources/AWSMediaPackageVod/Models.swift | 82 +- .../Sources/AWSMediaStore/Models.swift | 98 +- .../Sources/AWSMediaStoreData/Models.swift | 30 +- .../Sources/AWSMediaTailor/Models.swift | 180 +- .../Sources/AWSMedicalImaging/Models.swift | 88 +- .../Sources/AWSMemoryDB/Models.swift | 260 +- .../AWSMgn/Sources/AWSMgn/Models.swift | 298 +- .../Sources/AWSMigrationHub/Models.swift | 90 +- .../AWSMigrationHubConfig/Models.swift | 30 +- .../AWSMigrationHubOrchestrator/Models.swift | 138 +- .../Models.swift | 114 +- .../AWSMigrationHubStrategy/Models.swift | 108 +- .../AWSMobile/Sources/AWSMobile/Models.swift | 54 +- .../Services/AWSMq/Sources/AWSMq/Models.swift | 133 +- .../Sources/AWSNeptune/Models.swift | 412 +- .../Sources/AWSNeptuneGraph/Models.swift | 130 +- .../Sources/AWSNeptunedata/Models.swift | 242 +- .../Sources/AWSNetworkFirewall/Models.swift | 176 +- .../Sources/AWSNetworkManager/Models.swift | 656 +- .../Sources/AWSNetworkMonitor/Models.swift | 64 +- .../AWSNimble/Sources/AWSNimble/Models.swift | 212 +- .../AWSOAM/Sources/AWSOAM/Models.swift | 78 +- .../AWSOSIS/Sources/AWSOSIS/Models.swift | 76 +- .../AWSOmics/Sources/AWSOmics/Models.swift | 350 +- .../Sources/AWSOpenSearch/Models.swift | 517 +- .../AWSOpenSearchServerless/Models.swift | 162 +- .../Sources/AWSOpsWorks/Models.swift | 302 +- .../Sources/AWSOpsWorksCM/Models.swift | 90 +- .../Sources/AWSOrganizations/Models.swift | 321 +- .../OrganizationsClient.swift | 56 +- .../Sources/AWSOutposts/Models.swift | 138 +- .../Services/AWSPI/Sources/AWSPI/Models.swift | 66 +- .../Sources/AWSPanorama/Models.swift | 160 +- .../AWSPaymentCryptography/Models.swift | 108 +- .../AWSPaymentCryptographyData/Models.swift | 305 +- .../PaymentCryptographyDataClient.swift | 2 +- .../Sources/AWSPcaConnectorAd/Models.swift | 116 +- .../Sources/AWSPcaConnectorScep/Models.swift | 66 +- .../Sources/AWSPersonalize/Models.swift | 298 +- .../Sources/AWSPersonalizeEvents/Models.swift | 32 +- .../AWSPersonalizeRuntime/Models.swift | 38 +- .../Sources/AWSPinpoint/Models.swift | 506 +- .../Sources/AWSPinpointEmail/Models.swift | 190 +- .../Sources/AWSPinpointSMSVoice/Models.swift | 46 +- .../AWSPinpointSMSVoiceV2/Models.swift | 344 +- .../AWSPipes/Sources/AWSPipes/Models.swift | 92 +- .../AWSPolly/Sources/AWSPolly/Models.swift | 90 +- .../Sources/AWSPolly/PollyClient.swift | 4 +- .../Sources/AWSPricing/Models.swift | 38 +- .../Sources/AWSPrivateNetworks/Models.swift | 118 +- .../AWSProton/Sources/AWSProton/Models.swift | 386 +- Sources/Services/AWSQApps/Package.swift.txt | 95 + .../Sources/AWSQApps/AuthSchemeResolver.swift | 56 + .../AWSQApps/Sources/AWSQApps/Endpoints.swift | 73 + .../AWSQApps/Sources/AWSQApps/Models.swift | 4359 ++++++ .../Sources/AWSQApps/Paginators.swift | 75 + .../AWSQApps/Sources/AWSQApps/Plugins.swift | 73 + .../Sources/AWSQApps/QAppsClient.swift | 1417 ++ .../AWSQApps/Resources/Package.version | 1 + .../AWSQAppsTests/EndpointResolverTest.swift | 516 + .../Sources/AWSQBusiness/Models.swift | 404 +- .../AWSQBusiness/QBusinessClient.swift | 2 +- .../Sources/AWSQConnect/Models.swift | 842 +- .../Sources/AWSQConnect/QConnectClient.swift | 203 + .../AWSQLDB/Sources/AWSQLDB/Models.swift | 94 +- .../Sources/AWSQLDBSession/Models.swift | 18 +- .../Sources/AWSQuickSight/Models.swift | 4300 ++++-- .../AWSQuickSight/QuickSightClient.swift | 154 + .../AWSRAM/Sources/AWSRAM/Models.swift | 194 +- .../AWSRDS/Sources/AWSRDS/Models.swift | 952 +- .../AWSRDS/Sources/AWSRDS/RDSClient.swift | 2 +- .../Sources/AWSRDSData/Models.swift | 52 +- .../AWSRUM/Sources/AWSRUM/Models.swift | 84 +- .../AWSRbin/Sources/AWSRbin/Models.swift | 52 +- .../Sources/AWSRedshift/Models.swift | 806 +- .../Sources/AWSRedshiftData/Models.swift | 56 +- .../AWSRedshiftServerless/Models.swift | 242 +- .../Sources/AWSRekognition/Models.swift | 364 +- .../AWSRekognition/RekognitionClient.swift | 2 +- .../Sources/AWSRepostspace/Models.swift | 60 +- .../Sources/AWSResiliencehub/Models.swift | 236 +- .../Sources/AWSResourceExplorer2/Models.swift | 102 +- .../Sources/AWSResourceGroups/Models.swift | 88 +- .../AWSResourceGroupsTaggingAPI/Models.swift | 46 +- .../Sources/AWSRoboMaker/Models.swift | 248 +- .../Sources/AWSRolesAnywhere/Models.swift | 135 +- .../Sources/AWSRoute53/Models.swift | 420 +- .../Sources/AWSRoute53/Route53Client.swift | 144 +- .../Sources/AWSRoute53Domains/Models.swift | 152 +- .../Sources/AWSRoute53Profiles/Models.swift | 86 +- .../AWSRoute53RecoveryCluster/Models.swift | 34 +- .../Models.swift | 112 +- .../AWSRoute53RecoveryReadiness/Models.swift | 142 +- .../Sources/AWSRoute53Resolver/Models.swift | 308 +- .../Services/AWSS3/Sources/AWSS3/Models.swift | 524 +- .../AWSS3/Sources/AWSS3/S3Client.swift | 208 +- .../Sources/AWSS3Control/Endpoints.swift | 2 +- .../Sources/AWSS3Control/Models.swift | 394 +- .../EndpointResolverTest.swift | 366 +- .../Sources/AWSS3Outposts/Models.swift | 36 +- .../AWSSES/Sources/AWSSES/Models.swift | 354 +- .../AWSSESv2/Sources/AWSSESv2/Models.swift | 401 +- .../AWSSFN/Sources/AWSSFN/Models.swift | 206 +- .../AWSSMS/Sources/AWSSMS/Models.swift | 166 +- .../AWSSNS/Sources/AWSSNS/Models.swift | 243 +- .../AWSSQS/Sources/AWSSQS/Models.swift | 150 +- .../AWSSQS/Sources/AWSSQS/SQSClient.swift | 50 +- .../AWSSSM/Sources/AWSSSM/Models.swift | 838 +- .../Sources/AWSSSMContacts/Models.swift | 174 +- .../Sources/AWSSSMIncidents/Models.swift | 140 +- .../AWSSSO/Sources/AWSSSO/Models.swift | 26 +- .../Sources/AWSSSOAdmin/Models.swift | 308 +- .../Sources/AWSSSOOIDC/Models.swift | 46 +- .../AWSSTS/Sources/AWSSTS/Models.swift | 54 +- .../AWSSTS/Sources/AWSSTS/STSClient.swift | 4 +- .../AWSSWF/Sources/AWSSWF/Models.swift | 180 +- .../Sources/AWSSageMaker/Models.swift | 2936 +++- .../Sources/AWSSageMaker/Paginators.swift | 39 + .../AWSSageMaker/SageMakerClient.swift | 241 + .../AWSSageMakerA2IRuntime/Models.swift | 34 +- .../Models.swift | 28 +- .../AWSSageMakerGeospatial/Models.swift | 107 +- .../Sources/AWSSageMakerMetrics/Models.swift | 6 +- .../Sources/AWSSageMakerRuntime/Models.swift | 34 +- .../Sources/AWSSagemakerEdge/Models.swift | 16 +- .../Sources/AWSSavingsplans/Models.swift | 50 +- .../Sources/AWSScheduler/Models.swift | 62 +- .../Sources/AWSSchemas/Models.swift | 146 +- .../Sources/AWSSecretsManager/Models.swift | 118 +- .../Sources/AWSSecurityHub/Models.swift | 334 +- .../Sources/AWSSecurityLake/Models.swift | 138 +- .../Models.swift | 70 +- .../Sources/AWSServiceCatalog/Models.swift | 378 +- .../AWSServiceCatalogAppRegistry/Models.swift | 110 +- .../Sources/AWSServiceDiscovery/Models.swift | 138 +- .../Sources/AWSServiceQuotas/Models.swift | 112 +- .../AWSShield/Sources/AWSShield/Models.swift | 172 +- .../AWSSigner/Sources/AWSSigner/Models.swift | 98 +- .../Sources/AWSSimSpaceWeaver/Models.swift | 80 +- .../AWSSnowDeviceManagement/Models.swift | 66 +- .../Sources/AWSSnowball/Models.swift | 132 +- .../AWSSsmSap/Sources/AWSSsmSap/Models.swift | 96 +- .../Sources/AWSStorageGateway/Models.swift | 373 +- .../Sources/AWSSupplyChain/Models.swift | 28 +- .../Sources/AWSSupport/Models.swift | 86 +- .../Sources/AWSSupportApp/Models.swift | 54 +- .../Sources/AWSSynthetics/Models.swift | 106 +- .../Sources/AWSTaxSettings/Models.swift | 43 +- .../Sources/AWSTextract/Models.swift | 138 +- .../AWSTimestreamInfluxDB/Models.swift | 60 +- .../Sources/AWSTimestreamQuery/Models.swift | 80 +- .../Sources/AWSTimestreamWrite/Models.swift | 96 +- .../AWSTnb/Sources/AWSTnb/Models.swift | 146 +- .../Sources/AWSTranscribe/Models.swift | 184 +- .../AWSTranscribeStreaming/Models.swift | 36 +- .../TranscribeStreamingClient.swift | 10 +- .../Sources/AWSTransfer/Models.swift | 260 +- .../Sources/AWSTranslate/Models.swift | 108 +- .../Sources/AWSTrustedAdvisor/Models.swift | 58 +- .../Sources/AWSVPCLattice/Models.swift | 224 +- .../AWSVerifiedPermissions/Models.swift | 185 +- .../Sources/AWSVoiceID/Models.swift | 137 +- .../AWSWAF/Sources/AWSWAF/Models.swift | 348 +- .../Sources/AWSWAFRegional/Models.swift | 366 +- .../AWSWAFV2/Sources/AWSWAFV2/Models.swift | 266 +- .../Sources/AWSWellArchitected/Models.swift | 304 +- .../AWSWisdom/Sources/AWSWisdom/Models.swift | 206 +- .../Sources/AWSWorkDocs/Models.swift | 230 +- .../Sources/AWSWorkLink/Models.swift | 146 +- .../Sources/AWSWorkMail/Models.swift | 382 +- .../AWSWorkMailMessageFlow/Models.swift | 18 +- .../Sources/AWSWorkSpaces/Models.swift | 2320 ++- .../Sources/AWSWorkSpaces/Paginators.swift | 3 +- .../AWSWorkSpaces/WorkSpacesClient.swift | 481 + .../AWSWorkSpacesThinClient/Models.swift | 101 +- .../Sources/AWSWorkSpacesWeb/Models.swift | 332 +- .../WorkSpacesWebClient.swift | 7 + .../AWSXRay/Sources/AWSXRay/Models.swift | 142 +- 452 files changed, 75355 insertions(+), 45047 deletions(-) create mode 100644 Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Paginators.swift create mode 100644 Sources/Services/AWSQApps/Package.swift.txt create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/AuthSchemeResolver.swift create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/Endpoints.swift create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/Models.swift create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/Paginators.swift create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/Plugins.swift create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift create mode 100644 Sources/Services/AWSQApps/Sources/AWSQApps/Resources/Package.version create mode 100644 Sources/Services/AWSQApps/Tests/AWSQAppsTests/EndpointResolverTest.swift diff --git a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift index fd6c43ebd6b..79015dac0f1 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift @@ -441,7 +441,7 @@ extension ACMClient { /// Performs the `GetCertificate` operation on the `CertificateManager` service. /// - /// Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use [OpenSSL](https://wiki.openssl.org/index.php/Command_Line_Utilities) to decode the certificates and inspect individual fields. + /// Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM RequestCertificate action, or a certificate imported into ACM using the ImportCertificate action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use [OpenSSL](https://wiki.openssl.org/index.php/Command_Line_Utilities) to decode the certificates and inspect individual fields. /// /// - Parameter GetCertificateInput : [no documentation found] /// @@ -500,10 +500,6 @@ extension ACMClient { /// /// * The private key must be no larger than 5 KB (5,120 bytes). /// - /// * If the certificate you are importing is not self-signed, you must enter its certificate chain. - /// - /// * If a certificate chain is included, the issuer must be the subject of one of the certificates in the chain. - /// /// * The certificate, private key, and certificate chain must be PEM-encoded. /// /// * The current time must be between the Not Before and Not After certificate fields. @@ -576,7 +572,7 @@ extension ACMClient { /// Performs the `ListCertificates` operation on the `CertificateManager` service. /// - /// Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048 certificates. For more information, see [Filters]. + /// Retrieves a list of certificate ARNs and domain names. By default, the API returns RSA_2048 certificates. To return all certificates in the account, include the keyType filter with the values [RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, EC_secp521r1]. In addition to keyType, you can also filter by the CertificateStatuses, keyUsage, and extendedKeyUsage attributes on the certificate. For more information, see [Filters]. /// /// - Parameter ListCertificatesInput : [no documentation found] /// diff --git a/Sources/Services/AWSACM/Sources/AWSACM/Models.swift b/Sources/Services/AWSACM/Sources/AWSACM/Models.swift index badacaebe5c..24473b8208a 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/Models.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -75,7 +75,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct InvalidArnException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -123,7 +123,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -147,7 +147,7 @@ public struct InvalidTagException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -195,7 +195,7 @@ public struct TagPolicyException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -219,7 +219,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -243,7 +243,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1135,7 +1135,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1159,7 +1159,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1221,7 +1221,7 @@ public struct RequestInProgressException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1350,7 +1350,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1421,7 +1421,7 @@ public struct InvalidArgsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1445,7 +1445,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1581,7 +1581,7 @@ extension ACMClientTypes { public var exported: Swift.Bool? /// Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID). public var extendedKeyUsages: [ACMClientTypes.ExtendedKeyUsageName]? - /// When called by [ListCertificates](https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html), indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use [DescribeCertificate](https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html). + /// When called by [ListCertificates], indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use [DescribeCertificate]. public var hasAdditionalSubjectAlternativeNames: Swift.Bool? /// The date and time when the certificate was imported. This value exists only when the certificate type is IMPORTED. public var importedAt: Foundation.Date? @@ -1603,7 +1603,7 @@ extension ACMClientTypes { public var revokedAt: Foundation.Date? /// The status of the certificate. A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic [Certificate request fails](https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html). ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with [DNS validation](https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html) or [Email validation](https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html), and try again. If validation succeeds, the certificate enters status ISSUED. public var status: ACMClientTypes.CertificateStatus? - /// One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. When called by [ListCertificates](https://docs.aws.amazon.com/acm/latestAPIReference/API_ListCertificates.html), this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use [DescribeCertificate](https://docs.aws.amazon.com/acm/latestAPIReference/API_DescribeCertificate.html). + /// One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. When called by [ListCertificates], this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use [DescribeCertificate]. public var subjectAlternativeNameSummaries: [Swift.String]? /// The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED. For certificates that you imported with [ImportCertificate], this value is IMPORTED. ACM does not provide [managed renewal](https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see [Importing Certificates](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the Certificate Manager User Guide. public var type: ACMClientTypes.CertificateType? @@ -1753,7 +1753,7 @@ public struct InvalidDomainValidationOptionsException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1807,7 +1807,16 @@ public struct RequestCertificateInput { public var domainValidationOptions: [ACMClientTypes.DomainValidationOption]? /// Customer chosen string that can be used to distinguish between calls to RequestCertificate. Idempotency tokens time out after one hour. Therefore, if you call RequestCertificate multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates. public var idempotencyToken: Swift.String? - /// Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some AWS services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the AWS service where you plan to deploy your certificate. Default: RSA_2048 + /// Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see [Key algorithms](https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms). Algorithms supported for an ACM certificate request include: + /// + /// * RSA_2048 + /// + /// * EC_prime256v1 + /// + /// * EC_secp384r1 + /// + /// + /// Other listed algorithms are for imported certificates only. When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. Default: RSA_2048 public var keyAlgorithm: ACMClientTypes.KeyAlgorithm? /// Currently, you can use this parameter to specify whether to add the certificate to a certificate transparency log. Certificate transparency makes it possible to detect SSL/TLS certificates that have been mistakenly or maliciously issued. Certificates that have not been logged typically produce an error message in a browser. For more information, see [Opting Out of Certificate Transparency Logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency). public var options: ACMClientTypes.CertificateOptions? @@ -1872,7 +1881,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2186,21 +2195,21 @@ extension UpdateCertificateOptionsInput { extension AddTagsToCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToCertificateOutput { return AddTagsToCertificateOutput() } } extension DeleteCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateOutput { return DeleteCertificateOutput() } } extension DescribeCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2212,7 +2221,7 @@ extension DescribeCertificateOutput { extension ExportCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2226,7 +2235,7 @@ extension ExportCertificateOutput { extension GetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2238,7 +2247,7 @@ extension GetAccountConfigurationOutput { extension GetCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2251,7 +2260,7 @@ extension GetCertificateOutput { extension ImportCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2263,7 +2272,7 @@ extension ImportCertificateOutput { extension ListCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2276,7 +2285,7 @@ extension ListCertificatesOutput { extension ListTagsForCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2288,28 +2297,28 @@ extension ListTagsForCertificateOutput { extension PutAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountConfigurationOutput { return PutAccountConfigurationOutput() } } extension RemoveTagsFromCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromCertificateOutput { return RemoveTagsFromCertificateOutput() } } extension RenewCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RenewCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RenewCertificateOutput { return RenewCertificateOutput() } } extension RequestCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2321,21 +2330,21 @@ extension RequestCertificateOutput { extension ResendValidationEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResendValidationEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResendValidationEmailOutput { return ResendValidationEmailOutput() } } extension UpdateCertificateOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCertificateOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCertificateOptionsOutput { return UpdateCertificateOptionsOutput() } } enum AddTagsToCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2355,7 +2364,7 @@ enum AddTagsToCertificateOutputError { enum DeleteCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2374,7 +2383,7 @@ enum DeleteCertificateOutputError { enum DescribeCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2389,7 +2398,7 @@ enum DescribeCertificateOutputError { enum ExportCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2405,7 +2414,7 @@ enum ExportCertificateOutputError { enum GetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2420,7 +2429,7 @@ enum GetAccountConfigurationOutputError { enum GetCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2436,7 +2445,7 @@ enum GetCertificateOutputError { enum ImportCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2456,7 +2465,7 @@ enum ImportCertificateOutputError { enum ListCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2471,7 +2480,7 @@ enum ListCertificatesOutputError { enum ListTagsForCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2486,7 +2495,7 @@ enum ListTagsForCertificateOutputError { enum PutAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2503,7 +2512,7 @@ enum PutAccountConfigurationOutputError { enum RemoveTagsFromCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2522,7 +2531,7 @@ enum RemoveTagsFromCertificateOutputError { enum RenewCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2537,7 +2546,7 @@ enum RenewCertificateOutputError { enum RequestCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2557,7 +2566,7 @@ enum RequestCertificateOutputError { enum ResendValidationEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2574,7 +2583,7 @@ enum ResendValidationEmailOutputError { enum UpdateCertificateOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift index 3be44316da9..36bd2a559e1 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift @@ -890,45 +890,44 @@ extension ACMPCAClient { /// /// Enforcement of Critical Constraints Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain. /// - /// * Authority key identifier - /// /// * Basic constraints (must be marked critical) /// - /// * Certificate policies + /// * Subject alternative names + /// + /// * Key usage /// /// * Extended key usage /// - /// * Inhibit anyPolicy + /// * Authority key identifier + /// + /// * Subject key identifier /// /// * Issuer alternative name /// - /// * Key usage + /// * Subject directory attributes /// - /// * Name constraints + /// * Subject information access + /// + /// * Certificate policies /// /// * Policy mappings /// - /// * Subject alternative name + /// * Inhibit anyPolicy /// - /// * Subject directory attributes /// - /// * Subject key identifier + /// Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain. /// - /// * Subject information access + /// * Name constraints /// + /// * Policy constraints /// - /// Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain. + /// * CRL distribution points /// /// * Authority information access /// - /// * CRL distribution points - /// /// * Freshest CRL /// - /// * Policy constraints - /// - /// - /// Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions. + /// * Any other extension /// /// - Parameter ImportCertificateAuthorityCertificateInput : [no documentation found] /// diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/Models.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/Models.swift index e36ca743f18..65a26a3b197 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/Models.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -343,7 +343,7 @@ public struct InvalidArgsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -367,7 +367,7 @@ public struct InvalidPolicyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -391,7 +391,7 @@ public struct InvalidTagException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -415,7 +415,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -502,6 +502,7 @@ extension ACMPCAClientTypes { case ecSecp384r1 case rsa2048 case rsa4096 + case sm2 case sdkUnknown(Swift.String) public static var allCases: [KeyAlgorithm] { @@ -509,7 +510,8 @@ extension ACMPCAClientTypes { .ecPrime256v1, .ecSecp384r1, .rsa2048, - .rsa4096 + .rsa4096, + .sm2 ] } @@ -524,6 +526,7 @@ extension ACMPCAClientTypes { case .ecSecp384r1: return "EC_secp384r1" case .rsa2048: return "RSA_2048" case .rsa4096: return "RSA_4096" + case .sm2: return "SM2" case let .sdkUnknown(s): return s } } @@ -539,6 +542,7 @@ extension ACMPCAClientTypes { case sha384withrsa case sha512withecdsa case sha512withrsa + case sm3withsm2 case sdkUnknown(Swift.String) public static var allCases: [SigningAlgorithm] { @@ -548,7 +552,8 @@ extension ACMPCAClientTypes { .sha384withecdsa, .sha384withrsa, .sha512withecdsa, - .sha512withrsa + .sha512withrsa, + .sm3withsm2 ] } @@ -565,6 +570,7 @@ extension ACMPCAClientTypes { case .sha384withrsa: return "SHA384WITHRSA" case .sha512withecdsa: return "SHA512WITHECDSA" case .sha512withrsa: return "SHA512WITHRSA" + case .sm3withsm2: return "SM3WITHSM2" case let .sdkUnknown(s): return s } } @@ -634,12 +640,14 @@ extension ACMPCAClientTypes { extension ACMPCAClientTypes { public enum KeyStorageSecurityStandard: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case ccpcLevel1OrHigher case fips1402Level2OrHigher case fips1402Level3OrHigher case sdkUnknown(Swift.String) public static var allCases: [KeyStorageSecurityStandard] { return [ + .ccpcLevel1OrHigher, .fips1402Level2OrHigher, .fips1402Level3OrHigher ] @@ -652,6 +660,7 @@ extension ACMPCAClientTypes { public var rawValue: Swift.String { switch self { + case .ccpcLevel1OrHigher: return "CCPC_LEVEL_1_OR_HIGHER" case .fips1402Level2OrHigher: return "FIPS_140_2_LEVEL_2_OR_HIGHER" case .fips1402Level3OrHigher: return "FIPS_140_2_LEVEL_3_OR_HIGHER" case let .sdkUnknown(s): return s @@ -949,7 +958,7 @@ public struct InvalidArnException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -973,7 +982,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -997,7 +1006,7 @@ public struct RequestFailedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1021,7 +1030,7 @@ public struct RequestInProgressException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1045,7 +1054,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1137,7 +1146,7 @@ public struct PermissionAlreadyExistsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1220,7 +1229,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1283,7 +1292,7 @@ public struct LockoutPreventedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1680,7 +1689,7 @@ public struct CertificateMismatchException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1704,7 +1713,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1728,7 +1737,7 @@ public struct MalformedCertificateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1774,7 +1783,7 @@ public struct MalformedCSRException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2169,7 +2178,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2399,7 +2408,7 @@ public struct RequestAlreadyProcessedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2493,7 +2502,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2955,7 +2964,7 @@ extension UpdateCertificateAuthorityInput { extension CreateCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCertificateAuthorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2967,7 +2976,7 @@ extension CreateCertificateAuthorityOutput { extension CreateCertificateAuthorityAuditReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCertificateAuthorityAuditReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCertificateAuthorityAuditReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2980,35 +2989,35 @@ extension CreateCertificateAuthorityAuditReportOutput { extension CreatePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePermissionOutput { return CreatePermissionOutput() } } extension DeleteCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateAuthorityOutput { return DeleteCertificateAuthorityOutput() } } extension DeletePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionOutput { return DeletePermissionOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DescribeCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateAuthorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3020,7 +3029,7 @@ extension DescribeCertificateAuthorityOutput { extension DescribeCertificateAuthorityAuditReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateAuthorityAuditReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateAuthorityAuditReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3035,7 +3044,7 @@ extension DescribeCertificateAuthorityAuditReportOutput { extension GetCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3048,7 +3057,7 @@ extension GetCertificateOutput { extension GetCertificateAuthorityCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCertificateAuthorityCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCertificateAuthorityCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3061,7 +3070,7 @@ extension GetCertificateAuthorityCertificateOutput { extension GetCertificateAuthorityCsrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCertificateAuthorityCsrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCertificateAuthorityCsrOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3073,7 +3082,7 @@ extension GetCertificateAuthorityCsrOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3085,14 +3094,14 @@ extension GetPolicyOutput { extension ImportCertificateAuthorityCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportCertificateAuthorityCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportCertificateAuthorityCertificateOutput { return ImportCertificateAuthorityCertificateOutput() } } extension IssueCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IssueCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IssueCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3104,7 +3113,7 @@ extension IssueCertificateOutput { extension ListCertificateAuthoritiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificateAuthoritiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificateAuthoritiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3117,7 +3126,7 @@ extension ListCertificateAuthoritiesOutput { extension ListPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3130,7 +3139,7 @@ extension ListPermissionsOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3143,49 +3152,49 @@ extension ListTagsOutput { extension PutPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPolicyOutput { return PutPolicyOutput() } } extension RestoreCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreCertificateAuthorityOutput { return RestoreCertificateAuthorityOutput() } } extension RevokeCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeCertificateOutput { return RevokeCertificateOutput() } } extension TagCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagCertificateAuthorityOutput { return TagCertificateAuthorityOutput() } } extension UntagCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagCertificateAuthorityOutput { return UntagCertificateAuthorityOutput() } } extension UpdateCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCertificateAuthorityOutput { return UpdateCertificateAuthorityOutput() } } enum CreateCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3202,7 +3211,7 @@ enum CreateCertificateAuthorityOutputError { enum CreateCertificateAuthorityAuditReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3221,7 +3230,7 @@ enum CreateCertificateAuthorityAuditReportOutputError { enum CreatePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3240,7 +3249,7 @@ enum CreatePermissionOutputError { enum DeleteCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3257,7 +3266,7 @@ enum DeleteCertificateAuthorityOutputError { enum DeletePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3274,7 +3283,7 @@ enum DeletePermissionOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3293,7 +3302,7 @@ enum DeletePolicyOutputError { enum DescribeCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3308,7 +3317,7 @@ enum DescribeCertificateAuthorityOutputError { enum DescribeCertificateAuthorityAuditReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3324,7 +3333,7 @@ enum DescribeCertificateAuthorityAuditReportOutputError { enum GetCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3342,7 +3351,7 @@ enum GetCertificateOutputError { enum GetCertificateAuthorityCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3358,7 +3367,7 @@ enum GetCertificateAuthorityCertificateOutputError { enum GetCertificateAuthorityCsrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3376,7 +3385,7 @@ enum GetCertificateAuthorityCsrOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3393,7 +3402,7 @@ enum GetPolicyOutputError { enum ImportCertificateAuthorityCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3415,7 +3424,7 @@ enum ImportCertificateAuthorityCertificateOutputError { enum IssueCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3434,7 +3443,7 @@ enum IssueCertificateOutputError { enum ListCertificateAuthoritiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3448,7 +3457,7 @@ enum ListCertificateAuthoritiesOutputError { enum ListPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3466,7 +3475,7 @@ enum ListPermissionsOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3491,7 @@ enum ListTagsOutputError { enum PutPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3502,7 +3511,7 @@ enum PutPolicyOutputError { enum RestoreCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3518,7 +3527,7 @@ enum RestoreCertificateAuthorityOutputError { enum RevokeCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3540,7 +3549,7 @@ enum RevokeCertificateOutputError { enum TagCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3558,7 +3567,7 @@ enum TagCertificateAuthorityOutputError { enum UntagCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3575,7 +3584,7 @@ enum UntagCertificateAuthorityOutputError { enum UpdateCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift index 71c31b5c879..fa23604e76f 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -423,7 +423,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -447,7 +447,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -472,7 +472,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -498,7 +498,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -523,7 +523,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -549,7 +549,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -833,7 +833,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10997,7 +10997,7 @@ extension UpdateVpcLinkInput { extension CreateApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11018,7 +11018,7 @@ extension CreateApiKeyOutput { extension CreateAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11039,7 +11039,7 @@ extension CreateAuthorizerOutput { extension CreateBasePathMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBasePathMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBasePathMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11053,7 +11053,7 @@ extension CreateBasePathMappingOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11068,7 +11068,7 @@ extension CreateDeploymentOutput { extension CreateDocumentationPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDocumentationPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDocumentationPartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11082,7 +11082,7 @@ extension CreateDocumentationPartOutput { extension CreateDocumentationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDocumentationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDocumentationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11096,7 +11096,7 @@ extension CreateDocumentationVersionOutput { extension CreateDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11124,7 +11124,7 @@ extension CreateDomainNameOutput { extension CreateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11140,7 +11140,7 @@ extension CreateModelOutput { extension CreateRequestValidatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRequestValidatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRequestValidatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11155,7 +11155,7 @@ extension CreateRequestValidatorOutput { extension CreateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11171,7 +11171,7 @@ extension CreateResourceOutput { extension CreateRestApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRestApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRestApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11196,7 +11196,7 @@ extension CreateRestApiOutput { extension CreateStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11224,7 +11224,7 @@ extension CreateStageOutput { extension CreateUsagePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUsagePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUsagePlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11243,7 +11243,7 @@ extension CreateUsagePlanOutput { extension CreateUsagePlanKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUsagePlanKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUsagePlanKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11258,7 +11258,7 @@ extension CreateUsagePlanKeyOutput { extension CreateVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11276,168 +11276,168 @@ extension CreateVpcLinkOutput { extension DeleteApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiKeyOutput { return DeleteApiKeyOutput() } } extension DeleteAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAuthorizerOutput { return DeleteAuthorizerOutput() } } extension DeleteBasePathMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBasePathMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBasePathMappingOutput { return DeleteBasePathMappingOutput() } } extension DeleteClientCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClientCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClientCertificateOutput { return DeleteClientCertificateOutput() } } extension DeleteDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentOutput { return DeleteDeploymentOutput() } } extension DeleteDocumentationPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDocumentationPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDocumentationPartOutput { return DeleteDocumentationPartOutput() } } extension DeleteDocumentationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDocumentationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDocumentationVersionOutput { return DeleteDocumentationVersionOutput() } } extension DeleteDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainNameOutput { return DeleteDomainNameOutput() } } extension DeleteGatewayResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGatewayResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGatewayResponseOutput { return DeleteGatewayResponseOutput() } } extension DeleteIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationOutput { return DeleteIntegrationOutput() } } extension DeleteIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationResponseOutput { return DeleteIntegrationResponseOutput() } } extension DeleteMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMethodOutput { return DeleteMethodOutput() } } extension DeleteMethodResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMethodResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMethodResponseOutput { return DeleteMethodResponseOutput() } } extension DeleteModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelOutput { return DeleteModelOutput() } } extension DeleteRequestValidatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRequestValidatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRequestValidatorOutput { return DeleteRequestValidatorOutput() } } extension DeleteResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceOutput { return DeleteResourceOutput() } } extension DeleteRestApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRestApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRestApiOutput { return DeleteRestApiOutput() } } extension DeleteStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStageOutput { return DeleteStageOutput() } } extension DeleteUsagePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUsagePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUsagePlanOutput { return DeleteUsagePlanOutput() } } extension DeleteUsagePlanKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUsagePlanKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUsagePlanKeyOutput { return DeleteUsagePlanKeyOutput() } } extension DeleteVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcLinkOutput { return DeleteVpcLinkOutput() } } extension FlushStageAuthorizersCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FlushStageAuthorizersCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FlushStageAuthorizersCacheOutput { return FlushStageAuthorizersCacheOutput() } } extension FlushStageCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FlushStageCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FlushStageCacheOutput { return FlushStageCacheOutput() } } extension GenerateClientCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateClientCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateClientCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11454,7 +11454,7 @@ extension GenerateClientCertificateOutput { extension GetAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11469,7 +11469,7 @@ extension GetAccountOutput { extension GetApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11490,7 +11490,7 @@ extension GetApiKeyOutput { extension GetApiKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11504,7 +11504,7 @@ extension GetApiKeysOutput { extension GetAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11525,7 +11525,7 @@ extension GetAuthorizerOutput { extension GetAuthorizersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11538,7 +11538,7 @@ extension GetAuthorizersOutput { extension GetBasePathMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBasePathMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBasePathMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11552,7 +11552,7 @@ extension GetBasePathMappingOutput { extension GetBasePathMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBasePathMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBasePathMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11565,7 +11565,7 @@ extension GetBasePathMappingsOutput { extension GetClientCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClientCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClientCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11582,7 +11582,7 @@ extension GetClientCertificateOutput { extension GetClientCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClientCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClientCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11595,7 +11595,7 @@ extension GetClientCertificatesOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11610,7 +11610,7 @@ extension GetDeploymentOutput { extension GetDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11623,7 +11623,7 @@ extension GetDeploymentsOutput { extension GetDocumentationPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentationPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentationPartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11637,7 +11637,7 @@ extension GetDocumentationPartOutput { extension GetDocumentationPartsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentationPartsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentationPartsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11650,7 +11650,7 @@ extension GetDocumentationPartsOutput { extension GetDocumentationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11664,7 +11664,7 @@ extension GetDocumentationVersionOutput { extension GetDocumentationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11677,7 +11677,7 @@ extension GetDocumentationVersionsOutput { extension GetDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11705,7 +11705,7 @@ extension GetDomainNameOutput { extension GetDomainNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11718,7 +11718,7 @@ extension GetDomainNamesOutput { extension GetExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportOutput { var value = GetExportOutput() if let contentDispositionHeaderValue = httpResponse.headers.value(for: "Content-Disposition") { value.contentDisposition = contentDispositionHeaderValue @@ -11740,7 +11740,7 @@ extension GetExportOutput { extension GetGatewayResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGatewayResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGatewayResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11756,7 +11756,7 @@ extension GetGatewayResponseOutput { extension GetGatewayResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGatewayResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGatewayResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11769,7 +11769,7 @@ extension GetGatewayResponsesOutput { extension GetIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11795,7 +11795,7 @@ extension GetIntegrationOutput { extension GetIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11811,7 +11811,7 @@ extension GetIntegrationResponseOutput { extension GetMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11833,7 +11833,7 @@ extension GetMethodOutput { extension GetMethodResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMethodResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMethodResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11847,7 +11847,7 @@ extension GetMethodResponseOutput { extension GetModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11863,7 +11863,7 @@ extension GetModelOutput { extension GetModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11876,7 +11876,7 @@ extension GetModelsOutput { extension GetModelTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11888,7 +11888,7 @@ extension GetModelTemplateOutput { extension GetRequestValidatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRequestValidatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRequestValidatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11903,7 +11903,7 @@ extension GetRequestValidatorOutput { extension GetRequestValidatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRequestValidatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRequestValidatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11916,7 +11916,7 @@ extension GetRequestValidatorsOutput { extension GetResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11932,7 +11932,7 @@ extension GetResourceOutput { extension GetResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11945,7 +11945,7 @@ extension GetResourcesOutput { extension GetRestApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRestApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRestApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11970,7 +11970,7 @@ extension GetRestApiOutput { extension GetRestApisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRestApisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRestApisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11983,7 +11983,7 @@ extension GetRestApisOutput { extension GetSdkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSdkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSdkOutput { var value = GetSdkOutput() if let contentDispositionHeaderValue = httpResponse.headers.value(for: "Content-Disposition") { value.contentDisposition = contentDispositionHeaderValue @@ -12005,7 +12005,7 @@ extension GetSdkOutput { extension GetSdkTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSdkTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSdkTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12020,7 +12020,7 @@ extension GetSdkTypeOutput { extension GetSdkTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSdkTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSdkTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12032,7 +12032,7 @@ extension GetSdkTypesOutput { extension GetStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12060,7 +12060,7 @@ extension GetStageOutput { extension GetStagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12072,7 +12072,7 @@ extension GetStagesOutput { extension GetTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12084,7 +12084,7 @@ extension GetTagsOutput { extension GetUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12100,7 +12100,7 @@ extension GetUsageOutput { extension GetUsagePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsagePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsagePlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12119,7 +12119,7 @@ extension GetUsagePlanOutput { extension GetUsagePlanKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsagePlanKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsagePlanKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12134,7 +12134,7 @@ extension GetUsagePlanKeyOutput { extension GetUsagePlanKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsagePlanKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsagePlanKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12147,7 +12147,7 @@ extension GetUsagePlanKeysOutput { extension GetUsagePlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsagePlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsagePlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12160,7 +12160,7 @@ extension GetUsagePlansOutput { extension GetVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpcLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12178,7 +12178,7 @@ extension GetVpcLinkOutput { extension GetVpcLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpcLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpcLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12191,7 +12191,7 @@ extension GetVpcLinksOutput { extension ImportApiKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportApiKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportApiKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12204,7 +12204,7 @@ extension ImportApiKeysOutput { extension ImportDocumentationPartsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportDocumentationPartsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportDocumentationPartsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12217,7 +12217,7 @@ extension ImportDocumentationPartsOutput { extension ImportRestApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportRestApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportRestApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12242,7 +12242,7 @@ extension ImportRestApiOutput { extension PutGatewayResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutGatewayResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutGatewayResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12258,7 +12258,7 @@ extension PutGatewayResponseOutput { extension PutIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12284,7 +12284,7 @@ extension PutIntegrationOutput { extension PutIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutIntegrationResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12300,7 +12300,7 @@ extension PutIntegrationResponseOutput { extension PutMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12322,7 +12322,7 @@ extension PutMethodOutput { extension PutMethodResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMethodResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMethodResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12336,7 +12336,7 @@ extension PutMethodResponseOutput { extension PutRestApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRestApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRestApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12361,14 +12361,14 @@ extension PutRestApiOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestInvokeAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestInvokeAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestInvokeAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12386,7 +12386,7 @@ extension TestInvokeAuthorizerOutput { extension TestInvokeMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestInvokeMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestInvokeMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12403,14 +12403,14 @@ extension TestInvokeMethodOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12425,7 +12425,7 @@ extension UpdateAccountOutput { extension UpdateApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12446,7 +12446,7 @@ extension UpdateApiKeyOutput { extension UpdateAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12467,7 +12467,7 @@ extension UpdateAuthorizerOutput { extension UpdateBasePathMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBasePathMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBasePathMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12481,7 +12481,7 @@ extension UpdateBasePathMappingOutput { extension UpdateClientCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClientCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClientCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12498,7 +12498,7 @@ extension UpdateClientCertificateOutput { extension UpdateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12513,7 +12513,7 @@ extension UpdateDeploymentOutput { extension UpdateDocumentationPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentationPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentationPartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12527,7 +12527,7 @@ extension UpdateDocumentationPartOutput { extension UpdateDocumentationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12541,7 +12541,7 @@ extension UpdateDocumentationVersionOutput { extension UpdateDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12569,7 +12569,7 @@ extension UpdateDomainNameOutput { extension UpdateGatewayResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12585,7 +12585,7 @@ extension UpdateGatewayResponseOutput { extension UpdateIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12611,7 +12611,7 @@ extension UpdateIntegrationOutput { extension UpdateIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIntegrationResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12627,7 +12627,7 @@ extension UpdateIntegrationResponseOutput { extension UpdateMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12649,7 +12649,7 @@ extension UpdateMethodOutput { extension UpdateMethodResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMethodResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMethodResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12663,7 +12663,7 @@ extension UpdateMethodResponseOutput { extension UpdateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12679,7 +12679,7 @@ extension UpdateModelOutput { extension UpdateRequestValidatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRequestValidatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRequestValidatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12694,7 +12694,7 @@ extension UpdateRequestValidatorOutput { extension UpdateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12710,7 +12710,7 @@ extension UpdateResourceOutput { extension UpdateRestApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRestApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRestApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12735,7 +12735,7 @@ extension UpdateRestApiOutput { extension UpdateStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12763,7 +12763,7 @@ extension UpdateStageOutput { extension UpdateUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12779,7 +12779,7 @@ extension UpdateUsageOutput { extension UpdateUsagePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUsagePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUsagePlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12798,7 +12798,7 @@ extension UpdateUsagePlanOutput { extension UpdateVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12816,7 +12816,7 @@ extension UpdateVpcLinkOutput { enum CreateApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12835,7 +12835,7 @@ enum CreateApiKeyOutputError { enum CreateAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12854,7 +12854,7 @@ enum CreateAuthorizerOutputError { enum CreateBasePathMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12873,7 +12873,7 @@ enum CreateBasePathMappingOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12893,7 +12893,7 @@ enum CreateDeploymentOutputError { enum CreateDocumentationPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12912,7 +12912,7 @@ enum CreateDocumentationPartOutputError { enum CreateDocumentationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12931,7 +12931,7 @@ enum CreateDocumentationVersionOutputError { enum CreateDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12949,7 +12949,7 @@ enum CreateDomainNameOutputError { enum CreateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12968,7 +12968,7 @@ enum CreateModelOutputError { enum CreateRequestValidatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12987,7 +12987,7 @@ enum CreateRequestValidatorOutputError { enum CreateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13006,7 +13006,7 @@ enum CreateResourceOutputError { enum CreateRestApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13024,7 +13024,7 @@ enum CreateRestApiOutputError { enum CreateStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13043,7 +13043,7 @@ enum CreateStageOutputError { enum CreateUsagePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13062,7 +13062,7 @@ enum CreateUsagePlanOutputError { enum CreateUsagePlanKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13081,7 +13081,7 @@ enum CreateUsagePlanKeyOutputError { enum CreateVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13099,7 +13099,7 @@ enum CreateVpcLinkOutputError { enum DeleteApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13117,7 +13117,7 @@ enum DeleteApiKeyOutputError { enum DeleteAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13135,7 +13135,7 @@ enum DeleteAuthorizerOutputError { enum DeleteBasePathMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13153,7 +13153,7 @@ enum DeleteBasePathMappingOutputError { enum DeleteClientCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13171,7 +13171,7 @@ enum DeleteClientCertificateOutputError { enum DeleteDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13190,7 +13190,7 @@ enum DeleteDeploymentOutputError { enum DeleteDocumentationPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13208,7 +13208,7 @@ enum DeleteDocumentationPartOutputError { enum DeleteDocumentationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13226,7 +13226,7 @@ enum DeleteDocumentationVersionOutputError { enum DeleteDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13244,7 +13244,7 @@ enum DeleteDomainNameOutputError { enum DeleteGatewayResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13262,7 +13262,7 @@ enum DeleteGatewayResponseOutputError { enum DeleteIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13280,7 +13280,7 @@ enum DeleteIntegrationOutputError { enum DeleteIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13298,7 +13298,7 @@ enum DeleteIntegrationResponseOutputError { enum DeleteMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13315,7 +13315,7 @@ enum DeleteMethodOutputError { enum DeleteMethodResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13333,7 +13333,7 @@ enum DeleteMethodResponseOutputError { enum DeleteModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13351,7 +13351,7 @@ enum DeleteModelOutputError { enum DeleteRequestValidatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13369,7 +13369,7 @@ enum DeleteRequestValidatorOutputError { enum DeleteResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13387,7 +13387,7 @@ enum DeleteResourceOutputError { enum DeleteRestApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13405,7 +13405,7 @@ enum DeleteRestApiOutputError { enum DeleteStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13424,7 +13424,7 @@ enum DeleteStageOutputError { enum DeleteUsagePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13442,7 +13442,7 @@ enum DeleteUsagePlanOutputError { enum DeleteUsagePlanKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13460,7 +13460,7 @@ enum DeleteUsagePlanKeyOutputError { enum DeleteVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13478,7 +13478,7 @@ enum DeleteVpcLinkOutputError { enum FlushStageAuthorizersCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13497,7 +13497,7 @@ enum FlushStageAuthorizersCacheOutputError { enum FlushStageCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13516,7 +13516,7 @@ enum FlushStageCacheOutputError { enum GenerateClientCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13534,7 +13534,7 @@ enum GenerateClientCertificateOutputError { enum GetAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13551,7 +13551,7 @@ enum GetAccountOutputError { enum GetApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13568,7 +13568,7 @@ enum GetApiKeyOutputError { enum GetApiKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13585,7 +13585,7 @@ enum GetApiKeysOutputError { enum GetAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13602,7 +13602,7 @@ enum GetAuthorizerOutputError { enum GetAuthorizersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13619,7 +13619,7 @@ enum GetAuthorizersOutputError { enum GetBasePathMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13636,7 +13636,7 @@ enum GetBasePathMappingOutputError { enum GetBasePathMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13653,7 +13653,7 @@ enum GetBasePathMappingsOutputError { enum GetClientCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13670,7 +13670,7 @@ enum GetClientCertificateOutputError { enum GetClientCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13687,7 +13687,7 @@ enum GetClientCertificatesOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13705,7 +13705,7 @@ enum GetDeploymentOutputError { enum GetDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13723,7 +13723,7 @@ enum GetDeploymentsOutputError { enum GetDocumentationPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13740,7 +13740,7 @@ enum GetDocumentationPartOutputError { enum GetDocumentationPartsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13757,7 +13757,7 @@ enum GetDocumentationPartsOutputError { enum GetDocumentationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13773,7 +13773,7 @@ enum GetDocumentationVersionOutputError { enum GetDocumentationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13790,7 +13790,7 @@ enum GetDocumentationVersionsOutputError { enum GetDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13807,7 +13807,7 @@ enum GetDomainNameOutputError { enum GetDomainNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13824,7 +13824,7 @@ enum GetDomainNamesOutputError { enum GetExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13843,7 +13843,7 @@ enum GetExportOutputError { enum GetGatewayResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13860,7 +13860,7 @@ enum GetGatewayResponseOutputError { enum GetGatewayResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13877,7 +13877,7 @@ enum GetGatewayResponsesOutputError { enum GetIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13894,7 +13894,7 @@ enum GetIntegrationOutputError { enum GetIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13911,7 +13911,7 @@ enum GetIntegrationResponseOutputError { enum GetMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13927,7 +13927,7 @@ enum GetMethodOutputError { enum GetMethodResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13943,7 +13943,7 @@ enum GetMethodResponseOutputError { enum GetModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13960,7 +13960,7 @@ enum GetModelOutputError { enum GetModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13977,7 +13977,7 @@ enum GetModelsOutputError { enum GetModelTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13994,7 +13994,7 @@ enum GetModelTemplateOutputError { enum GetRequestValidatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14011,7 +14011,7 @@ enum GetRequestValidatorOutputError { enum GetRequestValidatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14028,7 +14028,7 @@ enum GetRequestValidatorsOutputError { enum GetResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14044,7 +14044,7 @@ enum GetResourceOutputError { enum GetResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14061,7 +14061,7 @@ enum GetResourcesOutputError { enum GetRestApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14078,7 +14078,7 @@ enum GetRestApiOutputError { enum GetRestApisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14095,7 +14095,7 @@ enum GetRestApisOutputError { enum GetSdkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14114,7 +14114,7 @@ enum GetSdkOutputError { enum GetSdkTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14131,7 +14131,7 @@ enum GetSdkTypeOutputError { enum GetSdkTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14148,7 +14148,7 @@ enum GetSdkTypesOutputError { enum GetStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14167,7 +14167,7 @@ enum GetStageOutputError { enum GetStagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14186,7 +14186,7 @@ enum GetStagesOutputError { enum GetTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14203,7 +14203,7 @@ enum GetTagsOutputError { enum GetUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14220,7 +14220,7 @@ enum GetUsageOutputError { enum GetUsagePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14237,7 +14237,7 @@ enum GetUsagePlanOutputError { enum GetUsagePlanKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14254,7 +14254,7 @@ enum GetUsagePlanKeyOutputError { enum GetUsagePlanKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14271,7 +14271,7 @@ enum GetUsagePlanKeysOutputError { enum GetUsagePlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14288,7 +14288,7 @@ enum GetUsagePlansOutputError { enum GetVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14305,7 +14305,7 @@ enum GetVpcLinkOutputError { enum GetVpcLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14322,7 +14322,7 @@ enum GetVpcLinksOutputError { enum ImportApiKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14341,7 +14341,7 @@ enum ImportApiKeysOutputError { enum ImportDocumentationPartsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14360,7 +14360,7 @@ enum ImportDocumentationPartsOutputError { enum ImportRestApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14379,7 +14379,7 @@ enum ImportRestApiOutputError { enum PutGatewayResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14398,7 +14398,7 @@ enum PutGatewayResponseOutputError { enum PutIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14417,7 +14417,7 @@ enum PutIntegrationOutputError { enum PutIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14436,7 +14436,7 @@ enum PutIntegrationResponseOutputError { enum PutMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14455,7 +14455,7 @@ enum PutMethodOutputError { enum PutMethodResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14474,7 +14474,7 @@ enum PutMethodResponseOutputError { enum PutRestApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14493,7 +14493,7 @@ enum PutRestApiOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14512,7 +14512,7 @@ enum TagResourceOutputError { enum TestInvokeAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14529,7 +14529,7 @@ enum TestInvokeAuthorizerOutputError { enum TestInvokeMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14546,7 +14546,7 @@ enum TestInvokeMethodOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14565,7 +14565,7 @@ enum UntagResourceOutputError { enum UpdateAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14584,7 +14584,7 @@ enum UpdateAccountOutputError { enum UpdateApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14603,7 +14603,7 @@ enum UpdateApiKeyOutputError { enum UpdateAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14622,7 +14622,7 @@ enum UpdateAuthorizerOutputError { enum UpdateBasePathMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14641,7 +14641,7 @@ enum UpdateBasePathMappingOutputError { enum UpdateClientCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14660,7 +14660,7 @@ enum UpdateClientCertificateOutputError { enum UpdateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14680,7 +14680,7 @@ enum UpdateDeploymentOutputError { enum UpdateDocumentationPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14699,7 +14699,7 @@ enum UpdateDocumentationPartOutputError { enum UpdateDocumentationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14718,7 +14718,7 @@ enum UpdateDocumentationVersionOutputError { enum UpdateDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14737,7 +14737,7 @@ enum UpdateDomainNameOutputError { enum UpdateGatewayResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14756,7 +14756,7 @@ enum UpdateGatewayResponseOutputError { enum UpdateIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14775,7 +14775,7 @@ enum UpdateIntegrationOutputError { enum UpdateIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14794,7 +14794,7 @@ enum UpdateIntegrationResponseOutputError { enum UpdateMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14812,7 +14812,7 @@ enum UpdateMethodOutputError { enum UpdateMethodResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14831,7 +14831,7 @@ enum UpdateMethodResponseOutputError { enum UpdateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14850,7 +14850,7 @@ enum UpdateModelOutputError { enum UpdateRequestValidatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14869,7 +14869,7 @@ enum UpdateRequestValidatorOutputError { enum UpdateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14887,7 +14887,7 @@ enum UpdateResourceOutputError { enum UpdateRestApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14906,7 +14906,7 @@ enum UpdateRestApiOutputError { enum UpdateStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14925,7 +14925,7 @@ enum UpdateStageOutputError { enum UpdateUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14944,7 +14944,7 @@ enum UpdateUsageOutputError { enum UpdateUsagePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14963,7 +14963,7 @@ enum UpdateUsagePlanOutputError { enum UpdateVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift index f2b2fbd5636..59df835fd50 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift @@ -231,7 +231,7 @@ extension ARCZonalShiftClient { /// Performs the `CreatePracticeRunConfiguration` operation on the `PercDataPlane` service. /// - /// A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting. For more information, see [ Considerations when you configure zonal autoshift](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. + /// A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting. When a resource has a practice run configuration, Route 53 ARC starts zonal shifts for the resource weekly, to shift traffic for practice runs. Practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application. For more information, see [ Considerations when you configure zonal autoshift](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. /// /// - Parameter CreatePracticeRunConfigurationInput : [no documentation found] /// @@ -332,6 +332,53 @@ extension ARCZonalShiftClient { return result } + /// Performs the `GetAutoshiftObserverNotificationStatus` operation on the `PercDataPlane` service. + /// + /// Returns the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift. For more information, see [ Notifications for practice runs and autoshifts](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification) in the Amazon Route 53 Application Recovery Controller Developer Guide. + /// + /// - Parameter GetAutoshiftObserverNotificationStatusInput : [no documentation found] + /// + /// - Returns: `GetAutoshiftObserverNotificationStatusOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : There was an internal server error. + /// - `ThrottlingException` : The request was denied due to request throttling. + public func getAutoshiftObserverNotificationStatus(input: GetAutoshiftObserverNotificationStatusInput) async throws -> GetAutoshiftObserverNotificationStatusOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getAutoshiftObserverNotificationStatus") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "arc-zonal-shift") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getAutoshiftObserverNotificationStatus") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetAutoshiftObserverNotificationStatusInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetAutoshiftObserverNotificationStatusOutput.httpOutput(from:), GetAutoshiftObserverNotificationStatusOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `GetManagedResource` operation on the `PercDataPlane` service. /// /// Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. You can start zonal shifts and configure zonal autoshift for managed resources. At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. @@ -383,7 +430,7 @@ extension ARCZonalShiftClient { /// Performs the `ListAutoshifts` operation on the `PercDataPlane` service. /// - /// Returns the active autoshifts for a specified resource. + /// Returns a list of autoshifts for an Amazon Web Services Region. By default, the call returns only ACTIVE autoshifts. Optionally, you can specify the status parameter to return COMPLETED autoshifts. /// /// - Parameter ListAutoshiftsInput : [no documentation found] /// @@ -481,7 +528,7 @@ extension ARCZonalShiftClient { /// Performs the `ListZonalShifts` operation on the `PercDataPlane` service. /// - /// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-started zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift. The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see [">ListAutoshifts](https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html). + /// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-initiated zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift. The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see [">ListAutoshifts](https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html). /// /// - Parameter ListZonalShiftsInput : [no documentation found] /// @@ -581,6 +628,57 @@ extension ARCZonalShiftClient { return result } + /// Performs the `UpdateAutoshiftObserverNotificationStatus` operation on the `PercDataPlane` service. + /// + /// Update the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift. For more information, see [ Notifications for practice runs and autoshifts](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification) in the Amazon Route 53 Application Recovery Controller Developer Guide. + /// + /// - Parameter UpdateAutoshiftObserverNotificationStatusInput : [no documentation found] + /// + /// - Returns: `UpdateAutoshiftObserverNotificationStatusOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : There was an internal server error. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an Amazon Web Services service. + public func updateAutoshiftObserverNotificationStatus(input: UpdateAutoshiftObserverNotificationStatusInput) async throws -> UpdateAutoshiftObserverNotificationStatusOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateAutoshiftObserverNotificationStatus") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "arc-zonal-shift") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateAutoshiftObserverNotificationStatus") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateAutoshiftObserverNotificationStatusInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateAutoshiftObserverNotificationStatusInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateAutoshiftObserverNotificationStatusOutput.httpOutput(from:), UpdateAutoshiftObserverNotificationStatusOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `UpdatePracticeRunConfiguration` operation on the `PercDataPlane` service. /// /// Update a practice run configuration to change one or more of the following: add, change, or remove the blocking alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows. @@ -636,7 +734,7 @@ extension ARCZonalShiftClient { /// Performs the `UpdateZonalAutoshiftConfiguration` operation on the `PercDataPlane` service. /// - /// You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift. When zonal autoshift is ENABLED, Amazon Web Services shifts away resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. + /// The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation, Route 53 ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone. You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is ENABLED, you authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs. /// /// - Parameter UpdateZonalAutoshiftConfigurationInput : [no documentation found] /// diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/Models.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/Models.swift index 77cec8178c5..556eb7aef56 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/Models.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -258,7 +258,7 @@ public struct ListAutoshiftsInput { extension ARCZonalShiftClientTypes { /// Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in Route 53 ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with Route 53 ARC. Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region. You can stop an autoshift for a resource by disabling zonal autoshift. public struct AutoshiftSummary { - /// The Availability Zone that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource. + /// The Availability Zone (for example, use1-az1) that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource. /// This member is required. public var awayFrom: Swift.String? /// The time (in UTC) when the autoshift ended. @@ -335,10 +335,10 @@ extension ARCZonalShiftClientTypes { extension ARCZonalShiftClientTypes { /// A complex structure that lists an autoshift that is currently active for a managed resource and information about the autoshift. For more information, see [How zonal autoshift and practice runs work](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. public struct AutoshiftInResource { - /// The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus field for an autoshift for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED. The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts. For more information, see [How zonal autoshift and practice runs work](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. + /// The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one active traffic shift. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The appliedStatus field for a shift that is in progress for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an appliedStatus set to APPLIED. The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts. For more information, see [How zonal autoshift and practice runs work](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. /// This member is required. public var appliedStatus: ARCZonalShiftClientTypes.AutoshiftAppliedStatus? - /// The Availability Zone that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource. + /// The Availability Zone (for example, use1-az1) that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource. /// This member is required. public var awayFrom: Swift.String? /// The time (UTC) when the autoshift started. @@ -359,6 +359,79 @@ extension ARCZonalShiftClientTypes { } +public struct GetAutoshiftObserverNotificationStatusInput { + + public init() { } +} + +extension ARCZonalShiftClientTypes { + + public enum AutoshiftObserverNotificationStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [AutoshiftObserverNotificationStatus] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct GetAutoshiftObserverNotificationStatusOutput { + /// The status of autoshift observer notification. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift. + /// This member is required. + public var status: ARCZonalShiftClientTypes.AutoshiftObserverNotificationStatus? + + public init( + status: ARCZonalShiftClientTypes.AutoshiftObserverNotificationStatus? = nil + ) + { + self.status = status + } +} + +public struct UpdateAutoshiftObserverNotificationStatusInput { + /// The status to set for autoshift observer notification. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift. + /// This member is required. + public var status: ARCZonalShiftClientTypes.AutoshiftObserverNotificationStatus? + + public init( + status: ARCZonalShiftClientTypes.AutoshiftObserverNotificationStatus? = nil + ) + { + self.status = status + } +} + +public struct UpdateAutoshiftObserverNotificationStatusOutput { + /// The status for autoshift observer notification. + /// This member is required. + public var status: ARCZonalShiftClientTypes.AutoshiftObserverNotificationStatus? + + public init( + status: ARCZonalShiftClientTypes.AutoshiftObserverNotificationStatus? = nil + ) + { + self.status = status + } +} + extension ARCZonalShiftClientTypes { public enum ConflictExceptionReason: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -418,7 +491,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -447,7 +520,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -505,16 +578,16 @@ extension ARCZonalShiftClientTypes { } public struct CancelZonalShiftOutput { - /// The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. + /// The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. /// This member is required. public var awayFrom: Swift.String? /// A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string. /// This member is required. public var comment: Swift.String? - /// The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. + /// The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. /// This member is required. public var expiryTime: Foundation.Date? - /// The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. + /// The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. /// This member is required. public var resourceIdentifier: Swift.String? /// The time (UTC) when the zonal shift starts. @@ -580,12 +653,12 @@ extension ARCZonalShiftClientTypes { } extension ARCZonalShiftClientTypes { - /// A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting. Control condition alarms do not apply for autoshifts. For more information, see [ Considerations when you configure zonal autoshift](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. + /// A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting or to interrupt a practice run in progress. Control condition alarms do not apply for autoshifts. For more information, see [ Considerations when you configure zonal autoshift](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. public struct ControlCondition { - /// The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you specify as a control condition for a practice run. + /// The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run. /// This member is required. public var alarmIdentifier: Swift.String? - /// The type of alarm specified for a practice run. The only valid value is CLOUDWATCH. + /// The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH. /// This member is required. public var type: ARCZonalShiftClientTypes.ControlConditionType? @@ -611,7 +684,7 @@ public struct CreatePracticeRunConfigurationInput { /// The outcome alarm for practice runs is a required Amazon CloudWatch alarm that you specify that ends a practice run when the alarm is in an ALARM state. Configure the alarm to monitor the health of your application when traffic is shifted away from an Availability Zone during each weekly practice run. You should configure the alarm to go into an ALARM state if your application is impacted by the zonal shift, and you want to stop the zonal shift, to let traffic for the resource return to the Availability Zone. /// This member is required. public var outcomeAlarms: [ARCZonalShiftClientTypes.ControlCondition]? - /// The identifier of the resource to shift away traffic for when a practice run starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. + /// The identifier of the resource that Amazon Web Services shifts traffic for with a practice run zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. /// This member is required. public var resourceIdentifier: Swift.String? @@ -632,7 +705,7 @@ public struct CreatePracticeRunConfigurationInput { } extension ARCZonalShiftClientTypes { - /// A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled. + /// A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, Route 53 ARC shifts traffic for the resource weekly for practice runs. Practice runs are required for zonal autoshift. The zonal shifts that Route 53 ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application. You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled. public struct PracticeRunConfiguration { /// An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource. Specify blocked dates, in UTC, in the format YYYY-MM-DD, separated by spaces. public var blockedDates: [Swift.String]? @@ -699,7 +772,7 @@ public struct CreatePracticeRunConfigurationOutput { /// A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows. /// This member is required. public var practiceRunConfiguration: ARCZonalShiftClientTypes.PracticeRunConfiguration? - /// The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. When you enable zonal autoshift, you must also configure practice runs for the resource. + /// The status for zonal autoshift for a resource. When you specify ENABLED for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact customers. When you enable zonal autoshift, you must also configure practice runs for the resource. /// This member is required. public var zonalAutoshiftStatus: ARCZonalShiftClientTypes.ZonalAutoshiftStatus? @@ -754,7 +827,7 @@ public struct DeletePracticeRunConfigurationOutput { } public struct GetManagedResourceInput { - /// The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. + /// The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. /// This member is required. public var resourceIdentifier: Swift.String? @@ -804,16 +877,16 @@ extension ARCZonalShiftClientTypes { extension ARCZonalShiftClientTypes { /// A complex structure that lists the zonal shifts for a managed resource and their statuses for the resource. public struct ZonalShiftInResource { - /// The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus field for an autoshift for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED. The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts. For more information, see [How zonal autoshift and practice runs work](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. + /// The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one active traffic shift. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The appliedStatus field for a shift that is in progress for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an appliedStatus set to APPLIED. The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts. For more information, see [How zonal autoshift and practice runs work](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html) in the Amazon Route 53 Application Recovery Controller Developer Guide. /// This member is required. public var appliedStatus: ARCZonalShiftClientTypes.AppliedStatus? - /// The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. + /// The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. /// This member is required. public var awayFrom: Swift.String? - /// A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string. + /// A comment that you enter for a customer-initiated zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string. /// This member is required. public var comment: Swift.String? - /// The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. + /// The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. /// This member is required. public var expiryTime: Foundation.Date? /// The outcome, or end state, returned for a practice run. The following values can be returned: @@ -1010,15 +1083,15 @@ public struct ListZonalShiftsInput { } extension ARCZonalShiftClientTypes { - /// Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift. Zonal shifts are temporary, including customer-started zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration. + /// Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift. Zonal shifts are temporary, including customer-initiated zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration. public struct ZonalShiftSummary { - /// The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. + /// The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. /// This member is required. public var awayFrom: Swift.String? /// A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string. /// This member is required. public var comment: Swift.String? - /// The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. + /// The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. /// This member is required. public var expiryTime: Foundation.Date? /// The outcome, or end state, of a practice run. The following values can be returned: @@ -1097,7 +1170,7 @@ public struct UpdateZonalAutoshiftConfigurationInput { /// The identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource. /// This member is required. public var resourceIdentifier: Swift.String? - /// The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for. + /// The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for. Choose ENABLED to authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. /// This member is required. public var zonalAutoshiftStatus: ARCZonalShiftClientTypes.ZonalAutoshiftStatus? @@ -1115,7 +1188,7 @@ public struct UpdateZonalAutoshiftConfigurationOutput { /// The identifier for the resource that you updated the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource. /// This member is required. public var resourceIdentifier: Swift.String? - /// The zonal autoshift status for the resource that you updated the zonal autoshift configuration for. + /// The updated zonal autoshift status for the resource. /// This member is required. public var zonalAutoshiftStatus: ARCZonalShiftClientTypes.ZonalAutoshiftStatus? @@ -1215,16 +1288,16 @@ public struct UpdateZonalShiftInput { } public struct UpdateZonalShiftOutput { - /// The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. + /// The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. /// This member is required. public var awayFrom: Swift.String? /// A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string. /// This member is required. public var comment: Swift.String? - /// The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. + /// The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. /// This member is required. public var expiryTime: Foundation.Date? - /// The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. + /// The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. /// This member is required. public var resourceIdentifier: Swift.String? /// The time (UTC) when the zonal shift starts. @@ -1264,7 +1337,7 @@ public struct UpdateZonalShiftOutput { } public struct StartZonalShiftInput { - /// The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. + /// The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. /// This member is required. public var awayFrom: Swift.String? /// A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string. @@ -1280,7 +1353,7 @@ public struct StartZonalShiftInput { /// For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours). /// This member is required. public var expiresIn: Swift.String? - /// The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. + /// The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. /// This member is required. public var resourceIdentifier: Swift.String? @@ -1299,16 +1372,16 @@ public struct StartZonalShiftInput { } public struct StartZonalShiftOutput { - /// The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. + /// The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region. /// This member is required. public var awayFrom: Swift.String? /// A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. A new comment overwrites any existing comment string. /// This member is required. public var comment: Swift.String? - /// The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. + /// The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time. When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in. /// This member is required. public var expiryTime: Foundation.Date? - /// The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. + /// The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. /// This member is required. public var resourceIdentifier: Swift.String? /// The time (UTC) when the zonal shift starts. @@ -1374,6 +1447,13 @@ extension DeletePracticeRunConfigurationInput { } } +extension GetAutoshiftObserverNotificationStatusInput { + + static func urlPathProvider(_ value: GetAutoshiftObserverNotificationStatusInput) -> Swift.String? { + return "/autoshift-observer-notification" + } +} + extension GetManagedResourceInput { static func urlPathProvider(_ value: GetManagedResourceInput) -> Swift.String? { @@ -1472,6 +1552,13 @@ extension StartZonalShiftInput { } } +extension UpdateAutoshiftObserverNotificationStatusInput { + + static func urlPathProvider(_ value: UpdateAutoshiftObserverNotificationStatusInput) -> Swift.String? { + return "/autoshift-observer-notification" + } +} + extension UpdatePracticeRunConfigurationInput { static func urlPathProvider(_ value: UpdatePracticeRunConfigurationInput) -> Swift.String? { @@ -1525,6 +1612,14 @@ extension StartZonalShiftInput { } } +extension UpdateAutoshiftObserverNotificationStatusInput { + + static func write(value: UpdateAutoshiftObserverNotificationStatusInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["status"].write(value.status) + } +} + extension UpdatePracticeRunConfigurationInput { static func write(value: UpdatePracticeRunConfigurationInput?, to writer: SmithyJSON.Writer) throws { @@ -1555,7 +1650,7 @@ extension UpdateZonalShiftInput { extension CancelZonalShiftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelZonalShiftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelZonalShiftOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1573,7 +1668,7 @@ extension CancelZonalShiftOutput { extension CreatePracticeRunConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePracticeRunConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePracticeRunConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1588,7 +1683,7 @@ extension CreatePracticeRunConfigurationOutput { extension DeletePracticeRunConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePracticeRunConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePracticeRunConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1600,9 +1695,21 @@ extension DeletePracticeRunConfigurationOutput { } } +extension GetAutoshiftObserverNotificationStatusOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutoshiftObserverNotificationStatusOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAutoshiftObserverNotificationStatusOutput() + value.status = try reader["status"].readIfPresent() + return value + } +} + extension GetManagedResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetManagedResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetManagedResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1620,7 +1727,7 @@ extension GetManagedResourceOutput { extension ListAutoshiftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAutoshiftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAutoshiftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1633,7 +1740,7 @@ extension ListAutoshiftsOutput { extension ListManagedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1646,7 +1753,7 @@ extension ListManagedResourcesOutput { extension ListZonalShiftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListZonalShiftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListZonalShiftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1659,7 +1766,7 @@ extension ListZonalShiftsOutput { extension StartZonalShiftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartZonalShiftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartZonalShiftOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1675,9 +1782,21 @@ extension StartZonalShiftOutput { } } +extension UpdateAutoshiftObserverNotificationStatusOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAutoshiftObserverNotificationStatusOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateAutoshiftObserverNotificationStatusOutput() + value.status = try reader["status"].readIfPresent() + return value + } +} + extension UpdatePracticeRunConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePracticeRunConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePracticeRunConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1692,7 +1811,7 @@ extension UpdatePracticeRunConfigurationOutput { extension UpdateZonalAutoshiftConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateZonalAutoshiftConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateZonalAutoshiftConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1705,7 +1824,7 @@ extension UpdateZonalAutoshiftConfigurationOutput { extension UpdateZonalShiftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateZonalShiftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateZonalShiftOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1723,7 +1842,7 @@ extension UpdateZonalShiftOutput { enum CancelZonalShiftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1742,7 +1861,7 @@ enum CancelZonalShiftOutputError { enum CreatePracticeRunConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1761,7 +1880,7 @@ enum CreatePracticeRunConfigurationOutputError { enum DeletePracticeRunConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1778,9 +1897,25 @@ enum DeletePracticeRunConfigurationOutputError { } } +enum GetAutoshiftObserverNotificationStatusOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetManagedResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1798,7 +1933,7 @@ enum GetManagedResourceOutputError { enum ListAutoshiftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1815,7 +1950,7 @@ enum ListAutoshiftsOutputError { enum ListManagedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1832,7 +1967,7 @@ enum ListManagedResourcesOutputError { enum ListZonalShiftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1849,7 +1984,7 @@ enum ListZonalShiftsOutputError { enum StartZonalShiftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1866,9 +2001,26 @@ enum StartZonalShiftOutputError { } } +enum UpdateAutoshiftObserverNotificationStatusOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdatePracticeRunConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1887,7 +2039,7 @@ enum UpdatePracticeRunConfigurationOutputError { enum UpdateZonalAutoshiftConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1906,7 +2058,7 @@ enum UpdateZonalAutoshiftConfigurationOutputError { enum UpdateZonalShiftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/Models.swift b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/Models.swift index d76f9c2c487..6f6d5be4ee9 100644 --- a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/Models.swift +++ b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -98,7 +98,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -193,7 +193,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -228,7 +228,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -351,7 +351,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -993,7 +993,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1018,7 +1018,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5443,21 +5443,21 @@ extension ValidatePolicyInput { extension ApplyArchiveRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplyArchiveRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyArchiveRuleOutput { return ApplyArchiveRuleOutput() } } extension CancelPolicyGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelPolicyGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelPolicyGenerationOutput { return CancelPolicyGenerationOutput() } } extension CheckAccessNotGrantedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckAccessNotGrantedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckAccessNotGrantedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5471,7 +5471,7 @@ extension CheckAccessNotGrantedOutput { extension CheckNoNewAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckNoNewAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckNoNewAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5485,7 +5485,7 @@ extension CheckNoNewAccessOutput { extension CheckNoPublicAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckNoPublicAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckNoPublicAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5499,7 +5499,7 @@ extension CheckNoPublicAccessOutput { extension CreateAccessPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5511,7 +5511,7 @@ extension CreateAccessPreviewOutput { extension CreateAnalyzerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnalyzerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnalyzerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5523,35 +5523,35 @@ extension CreateAnalyzerOutput { extension CreateArchiveRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateArchiveRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateArchiveRuleOutput { return CreateArchiveRuleOutput() } } extension DeleteAnalyzerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnalyzerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnalyzerOutput { return DeleteAnalyzerOutput() } } extension DeleteArchiveRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteArchiveRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteArchiveRuleOutput { return DeleteArchiveRuleOutput() } } extension GenerateFindingRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateFindingRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateFindingRecommendationOutput { return GenerateFindingRecommendationOutput() } } extension GetAccessPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5563,7 +5563,7 @@ extension GetAccessPreviewOutput { extension GetAnalyzedResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnalyzedResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnalyzedResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5575,7 +5575,7 @@ extension GetAnalyzedResourceOutput { extension GetAnalyzerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnalyzerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnalyzerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5587,7 +5587,7 @@ extension GetAnalyzerOutput { extension GetArchiveRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5599,7 +5599,7 @@ extension GetArchiveRuleOutput { extension GetFindingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5611,7 +5611,7 @@ extension GetFindingOutput { extension GetFindingRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5630,7 +5630,7 @@ extension GetFindingRecommendationOutput { extension GetFindingV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5653,7 +5653,7 @@ extension GetFindingV2Output { extension GetGeneratedPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGeneratedPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGeneratedPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5666,7 +5666,7 @@ extension GetGeneratedPolicyOutput { extension ListAccessPreviewFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPreviewFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPreviewFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5679,7 +5679,7 @@ extension ListAccessPreviewFindingsOutput { extension ListAccessPreviewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPreviewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPreviewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5692,7 +5692,7 @@ extension ListAccessPreviewsOutput { extension ListAnalyzedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnalyzedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnalyzedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5705,7 +5705,7 @@ extension ListAnalyzedResourcesOutput { extension ListAnalyzersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnalyzersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnalyzersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5718,7 +5718,7 @@ extension ListAnalyzersOutput { extension ListArchiveRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArchiveRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArchiveRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5731,7 +5731,7 @@ extension ListArchiveRulesOutput { extension ListFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5744,7 +5744,7 @@ extension ListFindingsOutput { extension ListFindingsV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5757,7 +5757,7 @@ extension ListFindingsV2Output { extension ListPolicyGenerationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyGenerationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyGenerationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5770,7 +5770,7 @@ extension ListPolicyGenerationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5782,7 +5782,7 @@ extension ListTagsForResourceOutput { extension StartPolicyGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPolicyGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPolicyGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5794,42 +5794,42 @@ extension StartPolicyGenerationOutput { extension StartResourceScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartResourceScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartResourceScanOutput { return StartResourceScanOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateArchiveRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateArchiveRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateArchiveRuleOutput { return UpdateArchiveRuleOutput() } } extension UpdateFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFindingsOutput { return UpdateFindingsOutput() } } extension ValidatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5842,7 +5842,7 @@ extension ValidatePolicyOutput { enum ApplyArchiveRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5860,7 +5860,7 @@ enum ApplyArchiveRuleOutputError { enum CancelPolicyGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5877,7 +5877,7 @@ enum CancelPolicyGenerationOutputError { enum CheckAccessNotGrantedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5896,7 +5896,7 @@ enum CheckAccessNotGrantedOutputError { enum CheckNoNewAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5915,7 +5915,7 @@ enum CheckNoNewAccessOutputError { enum CheckNoPublicAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5934,7 +5934,7 @@ enum CheckNoPublicAccessOutputError { enum CreateAccessPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5954,7 +5954,7 @@ enum CreateAccessPreviewOutputError { enum CreateAnalyzerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5973,7 +5973,7 @@ enum CreateAnalyzerOutputError { enum CreateArchiveRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5993,7 +5993,7 @@ enum CreateArchiveRuleOutputError { enum DeleteAnalyzerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6011,7 +6011,7 @@ enum DeleteAnalyzerOutputError { enum DeleteArchiveRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6029,7 +6029,7 @@ enum DeleteArchiveRuleOutputError { enum GenerateFindingRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6046,7 +6046,7 @@ enum GenerateFindingRecommendationOutputError { enum GetAccessPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6064,7 +6064,7 @@ enum GetAccessPreviewOutputError { enum GetAnalyzedResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6082,7 +6082,7 @@ enum GetAnalyzedResourceOutputError { enum GetAnalyzerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6100,7 +6100,7 @@ enum GetAnalyzerOutputError { enum GetArchiveRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6118,7 +6118,7 @@ enum GetArchiveRuleOutputError { enum GetFindingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6136,7 +6136,7 @@ enum GetFindingOutputError { enum GetFindingRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6154,7 +6154,7 @@ enum GetFindingRecommendationOutputError { enum GetFindingV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6172,7 +6172,7 @@ enum GetFindingV2OutputError { enum GetGeneratedPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6189,7 +6189,7 @@ enum GetGeneratedPolicyOutputError { enum ListAccessPreviewFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6208,7 +6208,7 @@ enum ListAccessPreviewFindingsOutputError { enum ListAccessPreviewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6226,7 +6226,7 @@ enum ListAccessPreviewsOutputError { enum ListAnalyzedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6244,7 +6244,7 @@ enum ListAnalyzedResourcesOutputError { enum ListAnalyzersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6261,7 +6261,7 @@ enum ListAnalyzersOutputError { enum ListArchiveRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6278,7 +6278,7 @@ enum ListArchiveRulesOutputError { enum ListFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6296,7 +6296,7 @@ enum ListFindingsOutputError { enum ListFindingsV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6314,7 +6314,7 @@ enum ListFindingsV2OutputError { enum ListPolicyGenerationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6331,7 +6331,7 @@ enum ListPolicyGenerationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6349,7 +6349,7 @@ enum ListTagsForResourceOutputError { enum StartPolicyGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6368,7 +6368,7 @@ enum StartPolicyGenerationOutputError { enum StartResourceScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6386,7 +6386,7 @@ enum StartResourceScanOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6404,7 +6404,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6422,7 +6422,7 @@ enum UntagResourceOutputError { enum UpdateArchiveRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6440,7 +6440,7 @@ enum UpdateArchiveRuleOutputError { enum UpdateFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6458,7 +6458,7 @@ enum UpdateFindingsOutputError { enum ValidatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAccount/Sources/AWSAccount/Models.swift b/Sources/Services/AWSAccount/Sources/AWSAccount/Models.swift index e39e32e96d2..b3f5156ed6d 100644 --- a/Sources/Services/AWSAccount/Sources/AWSAccount/Models.swift +++ b/Sources/Services/AWSAccount/Sources/AWSAccount/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -57,7 +57,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -132,7 +132,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -243,7 +243,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1031,7 +1031,7 @@ extension StartPrimaryEmailUpdateInput { extension AcceptPrimaryEmailUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptPrimaryEmailUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptPrimaryEmailUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1043,28 +1043,28 @@ extension AcceptPrimaryEmailUpdateOutput { extension DeleteAlternateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlternateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlternateContactOutput { return DeleteAlternateContactOutput() } } extension DisableRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableRegionOutput { return DisableRegionOutput() } } extension EnableRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableRegionOutput { return EnableRegionOutput() } } extension GetAlternateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAlternateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAlternateContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1076,7 +1076,7 @@ extension GetAlternateContactOutput { extension GetContactInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1088,7 +1088,7 @@ extension GetContactInformationOutput { extension GetPrimaryEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPrimaryEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPrimaryEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1100,7 +1100,7 @@ extension GetPrimaryEmailOutput { extension GetRegionOptStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegionOptStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegionOptStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1113,7 +1113,7 @@ extension GetRegionOptStatusOutput { extension ListRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1126,21 +1126,21 @@ extension ListRegionsOutput { extension PutAlternateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAlternateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAlternateContactOutput { return PutAlternateContactOutput() } } extension PutContactInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutContactInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutContactInformationOutput { return PutContactInformationOutput() } } extension StartPrimaryEmailUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPrimaryEmailUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPrimaryEmailUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1152,7 +1152,7 @@ extension StartPrimaryEmailUpdateOutput { enum AcceptPrimaryEmailUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1171,7 +1171,7 @@ enum AcceptPrimaryEmailUpdateOutputError { enum DeleteAlternateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1189,7 +1189,7 @@ enum DeleteAlternateContactOutputError { enum DisableRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1207,7 +1207,7 @@ enum DisableRegionOutputError { enum EnableRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1225,7 +1225,7 @@ enum EnableRegionOutputError { enum GetAlternateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1243,7 +1243,7 @@ enum GetAlternateContactOutputError { enum GetContactInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1261,7 +1261,7 @@ enum GetContactInformationOutputError { enum GetPrimaryEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1279,7 +1279,7 @@ enum GetPrimaryEmailOutputError { enum GetRegionOptStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1296,7 +1296,7 @@ enum GetRegionOptStatusOutputError { enum ListRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1313,7 +1313,7 @@ enum ListRegionsOutputError { enum PutAlternateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1330,7 +1330,7 @@ enum PutAlternateContactOutputError { enum PutContactInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1347,7 +1347,7 @@ enum PutContactInformationOutputError { enum StartPrimaryEmailUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift b/Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift index 05429587fc4..3e6aea8d9ec 100644 --- a/Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift +++ b/Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -62,7 +62,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -94,7 +94,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -202,7 +202,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -242,7 +242,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -337,7 +337,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2511,7 +2511,7 @@ extension UpdateWorkspaceAliasInput { extension CreateAlertManagerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAlertManagerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAlertManagerDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2523,7 +2523,7 @@ extension CreateAlertManagerDefinitionOutput { extension CreateLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2535,7 +2535,7 @@ extension CreateLoggingConfigurationOutput { extension CreateRuleGroupsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleGroupsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleGroupsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2550,7 +2550,7 @@ extension CreateRuleGroupsNamespaceOutput { extension CreateScraperOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScraperOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScraperOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2565,7 +2565,7 @@ extension CreateScraperOutput { extension CreateWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2581,28 +2581,28 @@ extension CreateWorkspaceOutput { extension DeleteAlertManagerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlertManagerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlertManagerDefinitionOutput { return DeleteAlertManagerDefinitionOutput() } } extension DeleteLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoggingConfigurationOutput { return DeleteLoggingConfigurationOutput() } } extension DeleteRuleGroupsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleGroupsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleGroupsNamespaceOutput { return DeleteRuleGroupsNamespaceOutput() } } extension DeleteScraperOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScraperOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScraperOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2615,14 +2615,14 @@ extension DeleteScraperOutput { extension DeleteWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceOutput { return DeleteWorkspaceOutput() } } extension DescribeAlertManagerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlertManagerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlertManagerDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2634,7 +2634,7 @@ extension DescribeAlertManagerDefinitionOutput { extension DescribeLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2646,7 +2646,7 @@ extension DescribeLoggingConfigurationOutput { extension DescribeRuleGroupsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuleGroupsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuleGroupsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2658,7 +2658,7 @@ extension DescribeRuleGroupsNamespaceOutput { extension DescribeScraperOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScraperOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScraperOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2670,7 +2670,7 @@ extension DescribeScraperOutput { extension DescribeWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2682,7 +2682,7 @@ extension DescribeWorkspaceOutput { extension GetDefaultScraperConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDefaultScraperConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDefaultScraperConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2694,7 +2694,7 @@ extension GetDefaultScraperConfigurationOutput { extension ListRuleGroupsNamespacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleGroupsNamespacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleGroupsNamespacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2707,7 +2707,7 @@ extension ListRuleGroupsNamespacesOutput { extension ListScrapersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScrapersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScrapersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2720,7 +2720,7 @@ extension ListScrapersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2732,7 +2732,7 @@ extension ListTagsForResourceOutput { extension ListWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2745,7 +2745,7 @@ extension ListWorkspacesOutput { extension PutAlertManagerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAlertManagerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAlertManagerDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2757,7 +2757,7 @@ extension PutAlertManagerDefinitionOutput { extension PutRuleGroupsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRuleGroupsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRuleGroupsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2772,21 +2772,21 @@ extension PutRuleGroupsNamespaceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2798,14 +2798,14 @@ extension UpdateLoggingConfigurationOutput { extension UpdateWorkspaceAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceAliasOutput { return UpdateWorkspaceAliasOutput() } } enum CreateAlertManagerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2825,7 +2825,7 @@ enum CreateAlertManagerDefinitionOutputError { enum CreateLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2842,7 +2842,7 @@ enum CreateLoggingConfigurationOutputError { enum CreateRuleGroupsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2862,7 +2862,7 @@ enum CreateRuleGroupsNamespaceOutputError { enum CreateScraperOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2882,7 +2882,7 @@ enum CreateScraperOutputError { enum CreateWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2901,7 +2901,7 @@ enum CreateWorkspaceOutputError { enum DeleteAlertManagerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2920,7 +2920,7 @@ enum DeleteAlertManagerDefinitionOutputError { enum DeleteLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2938,7 +2938,7 @@ enum DeleteLoggingConfigurationOutputError { enum DeleteRuleGroupsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2957,7 +2957,7 @@ enum DeleteRuleGroupsNamespaceOutputError { enum DeleteScraperOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2976,7 +2976,7 @@ enum DeleteScraperOutputError { enum DeleteWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2995,7 +2995,7 @@ enum DeleteWorkspaceOutputError { enum DescribeAlertManagerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3013,7 +3013,7 @@ enum DescribeAlertManagerDefinitionOutputError { enum DescribeLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum DescribeLoggingConfigurationOutputError { enum DescribeRuleGroupsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3048,7 +3048,7 @@ enum DescribeRuleGroupsNamespaceOutputError { enum DescribeScraperOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3066,7 +3066,7 @@ enum DescribeScraperOutputError { enum DescribeWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3084,7 +3084,7 @@ enum DescribeWorkspaceOutputError { enum GetDefaultScraperConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3100,7 +3100,7 @@ enum GetDefaultScraperConfigurationOutputError { enum ListRuleGroupsNamespacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3118,7 +3118,7 @@ enum ListRuleGroupsNamespacesOutputError { enum ListScrapersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3135,7 +3135,7 @@ enum ListScrapersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3153,7 +3153,7 @@ enum ListTagsForResourceOutputError { enum ListWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3170,7 +3170,7 @@ enum ListWorkspacesOutputError { enum PutAlertManagerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3190,7 +3190,7 @@ enum PutAlertManagerDefinitionOutputError { enum PutRuleGroupsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3210,7 +3210,7 @@ enum PutRuleGroupsNamespaceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3228,7 +3228,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3246,7 +3246,7 @@ enum UntagResourceOutputError { enum UpdateLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3264,7 +3264,7 @@ enum UpdateLoggingConfigurationOutputError { enum UpdateWorkspaceAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAmplify/Sources/AWSAmplify/Models.swift b/Sources/Services/AWSAmplify/Sources/AWSAmplify/Models.swift index bbb100dc076..1564119d25a 100644 --- a/Sources/Services/AWSAmplify/Sources/AWSAmplify/Models.swift +++ b/Sources/Services/AWSAmplify/Sources/AWSAmplify/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct DependentServiceFailureException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -601,7 +601,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2392,7 +2392,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3714,7 +3714,7 @@ extension UpdateWebhookInput { extension CreateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3726,7 +3726,7 @@ extension CreateAppOutput { extension CreateBackendEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackendEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackendEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3738,7 +3738,7 @@ extension CreateBackendEnvironmentOutput { extension CreateBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3750,7 +3750,7 @@ extension CreateBranchOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3764,7 +3764,7 @@ extension CreateDeploymentOutput { extension CreateDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3776,7 +3776,7 @@ extension CreateDomainAssociationOutput { extension CreateWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3788,7 +3788,7 @@ extension CreateWebhookOutput { extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3800,7 +3800,7 @@ extension DeleteAppOutput { extension DeleteBackendEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackendEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackendEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3812,7 +3812,7 @@ extension DeleteBackendEnvironmentOutput { extension DeleteBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3824,7 +3824,7 @@ extension DeleteBranchOutput { extension DeleteDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3836,7 +3836,7 @@ extension DeleteDomainAssociationOutput { extension DeleteJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3848,7 +3848,7 @@ extension DeleteJobOutput { extension DeleteWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3860,7 +3860,7 @@ extension DeleteWebhookOutput { extension GenerateAccessLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateAccessLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateAccessLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3872,7 +3872,7 @@ extension GenerateAccessLogsOutput { extension GetAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3884,7 +3884,7 @@ extension GetAppOutput { extension GetArtifactUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArtifactUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArtifactUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3897,7 +3897,7 @@ extension GetArtifactUrlOutput { extension GetBackendEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3909,7 +3909,7 @@ extension GetBackendEnvironmentOutput { extension GetBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3921,7 +3921,7 @@ extension GetBranchOutput { extension GetDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3933,7 +3933,7 @@ extension GetDomainAssociationOutput { extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3945,7 +3945,7 @@ extension GetJobOutput { extension GetWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3957,7 +3957,7 @@ extension GetWebhookOutput { extension ListAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3970,7 +3970,7 @@ extension ListAppsOutput { extension ListArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3983,7 +3983,7 @@ extension ListArtifactsOutput { extension ListBackendEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackendEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackendEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3996,7 +3996,7 @@ extension ListBackendEnvironmentsOutput { extension ListBranchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBranchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBranchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4009,7 +4009,7 @@ extension ListBranchesOutput { extension ListDomainAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4022,7 +4022,7 @@ extension ListDomainAssociationsOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4035,7 +4035,7 @@ extension ListJobsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4047,7 +4047,7 @@ extension ListTagsForResourceOutput { extension ListWebhooksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebhooksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebhooksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4060,7 +4060,7 @@ extension ListWebhooksOutput { extension StartDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4072,7 +4072,7 @@ extension StartDeploymentOutput { extension StartJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4084,7 +4084,7 @@ extension StartJobOutput { extension StopJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4096,21 +4096,21 @@ extension StopJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4122,7 +4122,7 @@ extension UpdateAppOutput { extension UpdateBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4134,7 +4134,7 @@ extension UpdateBranchOutput { extension UpdateDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4146,7 +4146,7 @@ extension UpdateDomainAssociationOutput { extension UpdateWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4158,7 +4158,7 @@ extension UpdateWebhookOutput { enum CreateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4176,7 +4176,7 @@ enum CreateAppOutputError { enum CreateBackendEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4194,7 +4194,7 @@ enum CreateBackendEnvironmentOutputError { enum CreateBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4213,7 +4213,7 @@ enum CreateBranchOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4230,7 +4230,7 @@ enum CreateDeploymentOutputError { enum CreateDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4249,7 +4249,7 @@ enum CreateDomainAssociationOutputError { enum CreateWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4268,7 +4268,7 @@ enum CreateWebhookOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4286,7 +4286,7 @@ enum DeleteAppOutputError { enum DeleteBackendEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4304,7 +4304,7 @@ enum DeleteBackendEnvironmentOutputError { enum DeleteBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4322,7 +4322,7 @@ enum DeleteBranchOutputError { enum DeleteDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4340,7 +4340,7 @@ enum DeleteDomainAssociationOutputError { enum DeleteJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4358,7 +4358,7 @@ enum DeleteJobOutputError { enum DeleteWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4376,7 +4376,7 @@ enum DeleteWebhookOutputError { enum GenerateAccessLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4393,7 +4393,7 @@ enum GenerateAccessLogsOutputError { enum GetAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4410,7 +4410,7 @@ enum GetAppOutputError { enum GetArtifactUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4428,7 +4428,7 @@ enum GetArtifactUrlOutputError { enum GetBackendEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4445,7 +4445,7 @@ enum GetBackendEnvironmentOutputError { enum GetBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4462,7 +4462,7 @@ enum GetBranchOutputError { enum GetDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4479,7 +4479,7 @@ enum GetDomainAssociationOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4497,7 +4497,7 @@ enum GetJobOutputError { enum GetWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4515,7 +4515,7 @@ enum GetWebhookOutputError { enum ListAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4531,7 +4531,7 @@ enum ListAppsOutputError { enum ListArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4548,7 +4548,7 @@ enum ListArtifactsOutputError { enum ListBackendEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4564,7 +4564,7 @@ enum ListBackendEnvironmentsOutputError { enum ListBranchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4580,7 +4580,7 @@ enum ListBranchesOutputError { enum ListDomainAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4596,7 +4596,7 @@ enum ListDomainAssociationsOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4613,7 +4613,7 @@ enum ListJobsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4629,7 +4629,7 @@ enum ListTagsForResourceOutputError { enum ListWebhooksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4646,7 +4646,7 @@ enum ListWebhooksOutputError { enum StartDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4664,7 +4664,7 @@ enum StartDeploymentOutputError { enum StartJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4682,7 +4682,7 @@ enum StartJobOutputError { enum StopJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4700,7 +4700,7 @@ enum StopJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4716,7 +4716,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4732,7 +4732,7 @@ enum UntagResourceOutputError { enum UpdateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4749,7 +4749,7 @@ enum UpdateAppOutputError { enum UpdateBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4767,7 +4767,7 @@ enum UpdateBranchOutputError { enum UpdateDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4785,7 +4785,7 @@ enum UpdateDomainAssociationOutputError { enum UpdateWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/Models.swift b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/Models.swift index fa9002e8129..1c3b097a693 100644 --- a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/Models.swift +++ b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -70,7 +70,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct GatewayTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -122,7 +122,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3811,7 +3811,7 @@ extension UpdateBackendStorageInput { extension CloneBackendOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CloneBackendOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CloneBackendOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3828,7 +3828,7 @@ extension CloneBackendOutput { extension CreateBackendOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackendOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackendOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3845,7 +3845,7 @@ extension CreateBackendOutput { extension CreateBackendAPIOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackendAPIOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackendAPIOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3862,7 +3862,7 @@ extension CreateBackendAPIOutput { extension CreateBackendAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackendAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackendAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3879,7 +3879,7 @@ extension CreateBackendAuthOutput { extension CreateBackendConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackendConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackendConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3894,7 +3894,7 @@ extension CreateBackendConfigOutput { extension CreateBackendStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackendStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackendStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3909,7 +3909,7 @@ extension CreateBackendStorageOutput { extension CreateTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3924,7 +3924,7 @@ extension CreateTokenOutput { extension DeleteBackendOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackendOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackendOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3941,7 +3941,7 @@ extension DeleteBackendOutput { extension DeleteBackendAPIOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackendAPIOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackendAPIOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3958,7 +3958,7 @@ extension DeleteBackendAPIOutput { extension DeleteBackendAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackendAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackendAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3975,7 +3975,7 @@ extension DeleteBackendAuthOutput { extension DeleteBackendStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackendStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackendStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3990,7 +3990,7 @@ extension DeleteBackendStorageOutput { extension DeleteTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4002,7 +4002,7 @@ extension DeleteTokenOutput { extension GenerateBackendAPIModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateBackendAPIModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateBackendAPIModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4019,7 +4019,7 @@ extension GenerateBackendAPIModelsOutput { extension GetBackendOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4037,7 +4037,7 @@ extension GetBackendOutput { extension GetBackendAPIOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendAPIOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendAPIOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4053,7 +4053,7 @@ extension GetBackendAPIOutput { extension GetBackendAPIModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendAPIModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendAPIModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4067,7 +4067,7 @@ extension GetBackendAPIModelsOutput { extension GetBackendAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4083,7 +4083,7 @@ extension GetBackendAuthOutput { extension GetBackendJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4102,7 +4102,7 @@ extension GetBackendJobOutput { extension GetBackendStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackendStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackendStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4117,7 +4117,7 @@ extension GetBackendStorageOutput { extension GetTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4132,7 +4132,7 @@ extension GetTokenOutput { extension ImportBackendAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportBackendAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportBackendAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4149,7 +4149,7 @@ extension ImportBackendAuthOutput { extension ImportBackendStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportBackendStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportBackendStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4164,7 +4164,7 @@ extension ImportBackendStorageOutput { extension ListBackendJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackendJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackendJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4177,7 +4177,7 @@ extension ListBackendJobsOutput { extension ListS3BucketsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListS3BucketsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListS3BucketsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4190,7 +4190,7 @@ extension ListS3BucketsOutput { extension RemoveAllBackendsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAllBackendsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAllBackendsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4206,7 +4206,7 @@ extension RemoveAllBackendsOutput { extension RemoveBackendConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveBackendConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveBackendConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4218,7 +4218,7 @@ extension RemoveBackendConfigOutput { extension UpdateBackendAPIOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBackendAPIOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBackendAPIOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4235,7 +4235,7 @@ extension UpdateBackendAPIOutput { extension UpdateBackendAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBackendAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBackendAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4252,7 +4252,7 @@ extension UpdateBackendAuthOutput { extension UpdateBackendConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBackendConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBackendConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4267,7 +4267,7 @@ extension UpdateBackendConfigOutput { extension UpdateBackendJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBackendJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBackendJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4286,7 +4286,7 @@ extension UpdateBackendJobOutput { extension UpdateBackendStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBackendStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBackendStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4301,7 +4301,7 @@ extension UpdateBackendStorageOutput { enum CloneBackendOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4318,7 +4318,7 @@ enum CloneBackendOutputError { enum CreateBackendOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4335,7 +4335,7 @@ enum CreateBackendOutputError { enum CreateBackendAPIOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4352,7 +4352,7 @@ enum CreateBackendAPIOutputError { enum CreateBackendAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4369,7 +4369,7 @@ enum CreateBackendAuthOutputError { enum CreateBackendConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4386,7 +4386,7 @@ enum CreateBackendConfigOutputError { enum CreateBackendStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4403,7 +4403,7 @@ enum CreateBackendStorageOutputError { enum CreateTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4420,7 +4420,7 @@ enum CreateTokenOutputError { enum DeleteBackendOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4437,7 +4437,7 @@ enum DeleteBackendOutputError { enum DeleteBackendAPIOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4454,7 +4454,7 @@ enum DeleteBackendAPIOutputError { enum DeleteBackendAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4471,7 +4471,7 @@ enum DeleteBackendAuthOutputError { enum DeleteBackendStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4488,7 +4488,7 @@ enum DeleteBackendStorageOutputError { enum DeleteTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4505,7 +4505,7 @@ enum DeleteTokenOutputError { enum GenerateBackendAPIModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4522,7 +4522,7 @@ enum GenerateBackendAPIModelsOutputError { enum GetBackendOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4539,7 +4539,7 @@ enum GetBackendOutputError { enum GetBackendAPIOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4556,7 +4556,7 @@ enum GetBackendAPIOutputError { enum GetBackendAPIModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4573,7 +4573,7 @@ enum GetBackendAPIModelsOutputError { enum GetBackendAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4590,7 +4590,7 @@ enum GetBackendAuthOutputError { enum GetBackendJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4607,7 +4607,7 @@ enum GetBackendJobOutputError { enum GetBackendStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4624,7 +4624,7 @@ enum GetBackendStorageOutputError { enum GetTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4641,7 +4641,7 @@ enum GetTokenOutputError { enum ImportBackendAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4658,7 +4658,7 @@ enum ImportBackendAuthOutputError { enum ImportBackendStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4675,7 +4675,7 @@ enum ImportBackendStorageOutputError { enum ListBackendJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4692,7 +4692,7 @@ enum ListBackendJobsOutputError { enum ListS3BucketsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4709,7 +4709,7 @@ enum ListS3BucketsOutputError { enum RemoveAllBackendsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4726,7 +4726,7 @@ enum RemoveAllBackendsOutputError { enum RemoveBackendConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4743,7 +4743,7 @@ enum RemoveBackendConfigOutputError { enum UpdateBackendAPIOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4760,7 +4760,7 @@ enum UpdateBackendAPIOutputError { enum UpdateBackendAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4777,7 +4777,7 @@ enum UpdateBackendAuthOutputError { enum UpdateBackendConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4794,7 +4794,7 @@ enum UpdateBackendConfigOutputError { enum UpdateBackendJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4811,7 +4811,7 @@ enum UpdateBackendJobOutputError { enum UpdateBackendStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/Models.swift b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/Models.swift index 29b5db24317..dbc945f5988 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/Models.swift +++ b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/Models.swift @@ -9,7 +9,7 @@ import Foundation import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -101,7 +101,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -173,7 +173,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1073,7 +1073,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1097,7 +1097,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2064,7 +2064,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4550,7 +4550,7 @@ extension UpdateThemeInput { extension CreateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4562,7 +4562,7 @@ extension CreateComponentOutput { extension CreateFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4574,7 +4574,7 @@ extension CreateFormOutput { extension CreateThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4586,28 +4586,28 @@ extension CreateThemeOutput { extension DeleteComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComponentOutput { return DeleteComponentOutput() } } extension DeleteFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFormOutput { return DeleteFormOutput() } } extension DeleteThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThemeOutput { return DeleteThemeOutput() } } extension ExchangeCodeForTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExchangeCodeForTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExchangeCodeForTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4621,7 +4621,7 @@ extension ExchangeCodeForTokenOutput { extension ExportComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4634,7 +4634,7 @@ extension ExportComponentsOutput { extension ExportFormsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportFormsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportFormsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4647,7 +4647,7 @@ extension ExportFormsOutput { extension ExportThemesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportThemesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportThemesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4660,7 +4660,7 @@ extension ExportThemesOutput { extension GetCodegenJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCodegenJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCodegenJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4672,7 +4672,7 @@ extension GetCodegenJobOutput { extension GetComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4684,7 +4684,7 @@ extension GetComponentOutput { extension GetFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4696,7 +4696,7 @@ extension GetFormOutput { extension GetMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4708,7 +4708,7 @@ extension GetMetadataOutput { extension GetThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4720,7 +4720,7 @@ extension GetThemeOutput { extension ListCodegenJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCodegenJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCodegenJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4733,7 +4733,7 @@ extension ListCodegenJobsOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4746,7 +4746,7 @@ extension ListComponentsOutput { extension ListFormsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFormsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFormsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4759,7 +4759,7 @@ extension ListFormsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4771,7 +4771,7 @@ extension ListTagsForResourceOutput { extension ListThemesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThemesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThemesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4784,14 +4784,14 @@ extension ListThemesOutput { extension PutMetadataFlagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetadataFlagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetadataFlagOutput { return PutMetadataFlagOutput() } } extension RefreshTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RefreshTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RefreshTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4804,7 +4804,7 @@ extension RefreshTokenOutput { extension StartCodegenJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCodegenJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCodegenJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4816,21 +4816,21 @@ extension StartCodegenJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4842,7 +4842,7 @@ extension UpdateComponentOutput { extension UpdateFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4854,7 +4854,7 @@ extension UpdateFormOutput { extension UpdateThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4866,7 +4866,7 @@ extension UpdateThemeOutput { enum CreateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4883,7 +4883,7 @@ enum CreateComponentOutputError { enum CreateFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4900,7 +4900,7 @@ enum CreateFormOutputError { enum CreateThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4917,7 +4917,7 @@ enum CreateThemeOutputError { enum DeleteComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4933,7 +4933,7 @@ enum DeleteComponentOutputError { enum DeleteFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4949,7 +4949,7 @@ enum DeleteFormOutputError { enum DeleteThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4965,7 +4965,7 @@ enum DeleteThemeOutputError { enum ExchangeCodeForTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4979,7 +4979,7 @@ enum ExchangeCodeForTokenOutputError { enum ExportComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4994,7 +4994,7 @@ enum ExportComponentsOutputError { enum ExportFormsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5009,7 +5009,7 @@ enum ExportFormsOutputError { enum ExportThemesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5024,7 +5024,7 @@ enum ExportThemesOutputError { enum GetCodegenJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5041,7 +5041,7 @@ enum GetCodegenJobOutputError { enum GetComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5057,7 +5057,7 @@ enum GetComponentOutputError { enum GetFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5073,7 +5073,7 @@ enum GetFormOutputError { enum GetMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5088,7 +5088,7 @@ enum GetMetadataOutputError { enum GetThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5104,7 +5104,7 @@ enum GetThemeOutputError { enum ListCodegenJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5120,7 +5120,7 @@ enum ListCodegenJobsOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5135,7 +5135,7 @@ enum ListComponentsOutputError { enum ListFormsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5150,7 +5150,7 @@ enum ListFormsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5168,7 +5168,7 @@ enum ListTagsForResourceOutputError { enum ListThemesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5183,7 +5183,7 @@ enum ListThemesOutputError { enum PutMetadataFlagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5198,7 +5198,7 @@ enum PutMetadataFlagOutputError { enum RefreshTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5212,7 +5212,7 @@ enum RefreshTokenOutputError { enum StartCodegenJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5228,7 +5228,7 @@ enum StartCodegenJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5246,7 +5246,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5264,7 +5264,7 @@ enum UntagResourceOutputError { enum UpdateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5280,7 +5280,7 @@ enum UpdateComponentOutputError { enum UpdateFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5296,7 +5296,7 @@ enum UpdateFormOutputError { enum UpdateThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/Models.swift b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/Models.swift index 3a6062c1601..27d90a80fcf 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/Models.swift +++ b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -48,7 +48,7 @@ public struct GoneException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct PayloadTooLargeException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -214,14 +214,14 @@ extension PostToConnectionInput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { return DeleteConnectionOutput() } } extension GetConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -235,14 +235,14 @@ extension GetConnectionOutput { extension PostToConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostToConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostToConnectionOutput { return PostToConnectionOutput() } } enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -258,7 +258,7 @@ enum DeleteConnectionOutputError { enum GetConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -274,7 +274,7 @@ enum GetConnectionOutputError { enum PostToConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/Models.swift b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/Models.swift index 4594283a744..5636312215e 100644 --- a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/Models.swift +++ b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1408,7 +1408,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1433,7 +1433,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1458,7 +1458,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1485,7 +1485,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1514,7 +1514,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7034,7 +7034,7 @@ extension UpdateVpcLinkInput { extension CreateApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7061,7 +7061,7 @@ extension CreateApiOutput { extension CreateApiMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7076,7 +7076,7 @@ extension CreateApiMappingOutput { extension CreateAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7098,7 +7098,7 @@ extension CreateAuthorizerOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7115,7 +7115,7 @@ extension CreateDeploymentOutput { extension CreateDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7131,7 +7131,7 @@ extension CreateDomainNameOutput { extension CreateIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7162,7 +7162,7 @@ extension CreateIntegrationOutput { extension CreateIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntegrationResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7179,7 +7179,7 @@ extension CreateIntegrationResponseOutput { extension CreateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7195,7 +7195,7 @@ extension CreateModelOutput { extension CreateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7219,7 +7219,7 @@ extension CreateRouteOutput { extension CreateRouteResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7235,7 +7235,7 @@ extension CreateRouteResponseOutput { extension CreateStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7260,7 +7260,7 @@ extension CreateStageOutput { extension CreateVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7280,119 +7280,119 @@ extension CreateVpcLinkOutput { extension DeleteAccessLogSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessLogSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessLogSettingsOutput { return DeleteAccessLogSettingsOutput() } } extension DeleteApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiOutput { return DeleteApiOutput() } } extension DeleteApiMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiMappingOutput { return DeleteApiMappingOutput() } } extension DeleteAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAuthorizerOutput { return DeleteAuthorizerOutput() } } extension DeleteCorsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCorsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCorsConfigurationOutput { return DeleteCorsConfigurationOutput() } } extension DeleteDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentOutput { return DeleteDeploymentOutput() } } extension DeleteDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainNameOutput { return DeleteDomainNameOutput() } } extension DeleteIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationOutput { return DeleteIntegrationOutput() } } extension DeleteIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationResponseOutput { return DeleteIntegrationResponseOutput() } } extension DeleteModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelOutput { return DeleteModelOutput() } } extension DeleteRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteOutput { return DeleteRouteOutput() } } extension DeleteRouteRequestParameterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteRequestParameterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteRequestParameterOutput { return DeleteRouteRequestParameterOutput() } } extension DeleteRouteResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteResponseOutput { return DeleteRouteResponseOutput() } } extension DeleteRouteSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteSettingsOutput { return DeleteRouteSettingsOutput() } } extension DeleteStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStageOutput { return DeleteStageOutput() } } extension DeleteVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcLinkOutput { return DeleteVpcLinkOutput() } } extension ExportApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportApiOutput { var value = ExportApiOutput() switch httpResponse.body { case .data(let data): @@ -7408,7 +7408,7 @@ extension ExportApiOutput { extension GetApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7435,7 +7435,7 @@ extension GetApiOutput { extension GetApiMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7450,7 +7450,7 @@ extension GetApiMappingOutput { extension GetApiMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7463,7 +7463,7 @@ extension GetApiMappingsOutput { extension GetApisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7476,7 +7476,7 @@ extension GetApisOutput { extension GetAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7498,7 +7498,7 @@ extension GetAuthorizerOutput { extension GetAuthorizersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7511,7 +7511,7 @@ extension GetAuthorizersOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7528,7 +7528,7 @@ extension GetDeploymentOutput { extension GetDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7541,7 +7541,7 @@ extension GetDeploymentsOutput { extension GetDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7557,7 +7557,7 @@ extension GetDomainNameOutput { extension GetDomainNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7570,7 +7570,7 @@ extension GetDomainNamesOutput { extension GetIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7601,7 +7601,7 @@ extension GetIntegrationOutput { extension GetIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7618,7 +7618,7 @@ extension GetIntegrationResponseOutput { extension GetIntegrationResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7631,7 +7631,7 @@ extension GetIntegrationResponsesOutput { extension GetIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7644,7 +7644,7 @@ extension GetIntegrationsOutput { extension GetModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7660,7 +7660,7 @@ extension GetModelOutput { extension GetModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7673,7 +7673,7 @@ extension GetModelsOutput { extension GetModelTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7685,7 +7685,7 @@ extension GetModelTemplateOutput { extension GetRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7709,7 +7709,7 @@ extension GetRouteOutput { extension GetRouteResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRouteResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRouteResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7725,7 +7725,7 @@ extension GetRouteResponseOutput { extension GetRouteResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRouteResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRouteResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7738,7 +7738,7 @@ extension GetRouteResponsesOutput { extension GetRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7751,7 +7751,7 @@ extension GetRoutesOutput { extension GetStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7776,7 +7776,7 @@ extension GetStageOutput { extension GetStagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7789,7 +7789,7 @@ extension GetStagesOutput { extension GetTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7801,7 +7801,7 @@ extension GetTagsOutput { extension GetVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpcLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7821,7 +7821,7 @@ extension GetVpcLinkOutput { extension GetVpcLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpcLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpcLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7834,7 +7834,7 @@ extension GetVpcLinksOutput { extension ImportApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7861,7 +7861,7 @@ extension ImportApiOutput { extension ReimportApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReimportApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReimportApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7888,28 +7888,28 @@ extension ReimportApiOutput { extension ResetAuthorizersCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetAuthorizersCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetAuthorizersCacheOutput { return ResetAuthorizersCacheOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7936,7 +7936,7 @@ extension UpdateApiOutput { extension UpdateApiMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7951,7 +7951,7 @@ extension UpdateApiMappingOutput { extension UpdateAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7973,7 +7973,7 @@ extension UpdateAuthorizerOutput { extension UpdateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7990,7 +7990,7 @@ extension UpdateDeploymentOutput { extension UpdateDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8006,7 +8006,7 @@ extension UpdateDomainNameOutput { extension UpdateIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8037,7 +8037,7 @@ extension UpdateIntegrationOutput { extension UpdateIntegrationResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIntegrationResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIntegrationResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8054,7 +8054,7 @@ extension UpdateIntegrationResponseOutput { extension UpdateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8070,7 +8070,7 @@ extension UpdateModelOutput { extension UpdateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8094,7 +8094,7 @@ extension UpdateRouteOutput { extension UpdateRouteResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRouteResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRouteResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8110,7 +8110,7 @@ extension UpdateRouteResponseOutput { extension UpdateStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8135,7 +8135,7 @@ extension UpdateStageOutput { extension UpdateVpcLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8155,7 +8155,7 @@ extension UpdateVpcLinkOutput { enum CreateApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8172,7 +8172,7 @@ enum CreateApiOutputError { enum CreateApiMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8189,7 +8189,7 @@ enum CreateApiMappingOutputError { enum CreateAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8206,7 +8206,7 @@ enum CreateAuthorizerOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8223,7 +8223,7 @@ enum CreateDeploymentOutputError { enum CreateDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8241,7 +8241,7 @@ enum CreateDomainNameOutputError { enum CreateIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8258,7 +8258,7 @@ enum CreateIntegrationOutputError { enum CreateIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8275,7 +8275,7 @@ enum CreateIntegrationResponseOutputError { enum CreateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8292,7 +8292,7 @@ enum CreateModelOutputError { enum CreateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8309,7 +8309,7 @@ enum CreateRouteOutputError { enum CreateRouteResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8326,7 +8326,7 @@ enum CreateRouteResponseOutputError { enum CreateStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8343,7 +8343,7 @@ enum CreateStageOutputError { enum CreateVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8358,7 +8358,7 @@ enum CreateVpcLinkOutputError { enum DeleteAccessLogSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8373,7 +8373,7 @@ enum DeleteAccessLogSettingsOutputError { enum DeleteApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8388,7 +8388,7 @@ enum DeleteApiOutputError { enum DeleteApiMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8404,7 +8404,7 @@ enum DeleteApiMappingOutputError { enum DeleteAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8419,7 +8419,7 @@ enum DeleteAuthorizerOutputError { enum DeleteCorsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8434,7 +8434,7 @@ enum DeleteCorsConfigurationOutputError { enum DeleteDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8449,7 +8449,7 @@ enum DeleteDeploymentOutputError { enum DeleteDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8464,7 +8464,7 @@ enum DeleteDomainNameOutputError { enum DeleteIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8479,7 +8479,7 @@ enum DeleteIntegrationOutputError { enum DeleteIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8494,7 +8494,7 @@ enum DeleteIntegrationResponseOutputError { enum DeleteModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8509,7 +8509,7 @@ enum DeleteModelOutputError { enum DeleteRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8524,7 +8524,7 @@ enum DeleteRouteOutputError { enum DeleteRouteRequestParameterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8539,7 +8539,7 @@ enum DeleteRouteRequestParameterOutputError { enum DeleteRouteResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8554,7 +8554,7 @@ enum DeleteRouteResponseOutputError { enum DeleteRouteSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8569,7 +8569,7 @@ enum DeleteRouteSettingsOutputError { enum DeleteStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8584,7 +8584,7 @@ enum DeleteStageOutputError { enum DeleteVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8599,7 +8599,7 @@ enum DeleteVpcLinkOutputError { enum ExportApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8615,7 +8615,7 @@ enum ExportApiOutputError { enum GetApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8630,7 +8630,7 @@ enum GetApiOutputError { enum GetApiMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8646,7 +8646,7 @@ enum GetApiMappingOutputError { enum GetApiMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8662,7 +8662,7 @@ enum GetApiMappingsOutputError { enum GetApisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8678,7 +8678,7 @@ enum GetApisOutputError { enum GetAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8693,7 +8693,7 @@ enum GetAuthorizerOutputError { enum GetAuthorizersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8709,7 +8709,7 @@ enum GetAuthorizersOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8724,7 +8724,7 @@ enum GetDeploymentOutputError { enum GetDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8740,7 +8740,7 @@ enum GetDeploymentsOutputError { enum GetDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8755,7 +8755,7 @@ enum GetDomainNameOutputError { enum GetDomainNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8771,7 +8771,7 @@ enum GetDomainNamesOutputError { enum GetIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8786,7 +8786,7 @@ enum GetIntegrationOutputError { enum GetIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8801,7 +8801,7 @@ enum GetIntegrationResponseOutputError { enum GetIntegrationResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8817,7 +8817,7 @@ enum GetIntegrationResponsesOutputError { enum GetIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8833,7 +8833,7 @@ enum GetIntegrationsOutputError { enum GetModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8848,7 +8848,7 @@ enum GetModelOutputError { enum GetModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8864,7 +8864,7 @@ enum GetModelsOutputError { enum GetModelTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8879,7 +8879,7 @@ enum GetModelTemplateOutputError { enum GetRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8894,7 +8894,7 @@ enum GetRouteOutputError { enum GetRouteResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8909,7 +8909,7 @@ enum GetRouteResponseOutputError { enum GetRouteResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8925,7 +8925,7 @@ enum GetRouteResponsesOutputError { enum GetRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8941,7 +8941,7 @@ enum GetRoutesOutputError { enum GetStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8956,7 +8956,7 @@ enum GetStageOutputError { enum GetStagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8972,7 +8972,7 @@ enum GetStagesOutputError { enum GetTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8989,7 +8989,7 @@ enum GetTagsOutputError { enum GetVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9004,7 +9004,7 @@ enum GetVpcLinkOutputError { enum GetVpcLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9019,7 +9019,7 @@ enum GetVpcLinksOutputError { enum ImportApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9036,7 +9036,7 @@ enum ImportApiOutputError { enum ReimportApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9053,7 +9053,7 @@ enum ReimportApiOutputError { enum ResetAuthorizersCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9068,7 +9068,7 @@ enum ResetAuthorizersCacheOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9085,7 +9085,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9102,7 +9102,7 @@ enum UntagResourceOutputError { enum UpdateApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9119,7 +9119,7 @@ enum UpdateApiOutputError { enum UpdateApiMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9136,7 +9136,7 @@ enum UpdateApiMappingOutputError { enum UpdateAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9153,7 +9153,7 @@ enum UpdateAuthorizerOutputError { enum UpdateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9170,7 +9170,7 @@ enum UpdateDeploymentOutputError { enum UpdateDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9187,7 +9187,7 @@ enum UpdateDomainNameOutputError { enum UpdateIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9204,7 +9204,7 @@ enum UpdateIntegrationOutputError { enum UpdateIntegrationResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9221,7 +9221,7 @@ enum UpdateIntegrationResponseOutputError { enum UpdateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9238,7 +9238,7 @@ enum UpdateModelOutputError { enum UpdateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9255,7 +9255,7 @@ enum UpdateRouteOutputError { enum UpdateRouteResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9272,7 +9272,7 @@ enum UpdateRouteResponseOutputError { enum UpdateStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9289,7 +9289,7 @@ enum UpdateStageOutputError { enum UpdateVpcLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/Models.swift b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/Models.swift index f04db4adc90..94b8d8c70ee 100644 --- a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/Models.swift +++ b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -287,7 +287,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -315,7 +315,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -405,7 +405,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -858,7 +858,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1067,7 +1067,7 @@ public struct PayloadTooLargeException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4243,7 +4243,7 @@ extension UpdateExtensionAssociationInput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4257,7 +4257,7 @@ extension CreateApplicationOutput { extension CreateConfigurationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4278,7 +4278,7 @@ extension CreateConfigurationProfileOutput { extension CreateDeploymentStrategyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentStrategyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentStrategyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4297,7 +4297,7 @@ extension CreateDeploymentStrategyOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4314,7 +4314,7 @@ extension CreateEnvironmentOutput { extension CreateExtensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExtensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExtensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4332,7 +4332,7 @@ extension CreateExtensionOutput { extension CreateExtensionAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExtensionAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExtensionAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4349,7 +4349,7 @@ extension CreateExtensionAssociationOutput { extension CreateHostedConfigurationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHostedConfigurationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHostedConfigurationVersionOutput { var value = CreateHostedConfigurationVersionOutput() if let applicationIdHeaderValue = httpResponse.headers.value(for: "Application-Id") { value.applicationId = applicationIdHeaderValue @@ -4386,56 +4386,56 @@ extension CreateHostedConfigurationVersionOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteConfigurationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationProfileOutput { return DeleteConfigurationProfileOutput() } } extension DeleteDeploymentStrategyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentStrategyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentStrategyOutput { return DeleteDeploymentStrategyOutput() } } extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension DeleteExtensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExtensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExtensionOutput { return DeleteExtensionOutput() } } extension DeleteExtensionAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExtensionAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExtensionAssociationOutput { return DeleteExtensionAssociationOutput() } } extension DeleteHostedConfigurationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHostedConfigurationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHostedConfigurationVersionOutput { return DeleteHostedConfigurationVersionOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4449,7 +4449,7 @@ extension GetApplicationOutput { extension GetConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationOutput { var value = GetConfigurationOutput() if let configurationVersionHeaderValue = httpResponse.headers.value(for: "Configuration-Version") { value.configurationVersion = configurationVersionHeaderValue @@ -4471,7 +4471,7 @@ extension GetConfigurationOutput { extension GetConfigurationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4492,7 +4492,7 @@ extension GetConfigurationProfileOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4525,7 +4525,7 @@ extension GetDeploymentOutput { extension GetDeploymentStrategyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentStrategyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentStrategyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4544,7 +4544,7 @@ extension GetDeploymentStrategyOutput { extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4561,7 +4561,7 @@ extension GetEnvironmentOutput { extension GetExtensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExtensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExtensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4579,7 +4579,7 @@ extension GetExtensionOutput { extension GetExtensionAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExtensionAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExtensionAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4596,7 +4596,7 @@ extension GetExtensionAssociationOutput { extension GetHostedConfigurationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostedConfigurationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostedConfigurationVersionOutput { var value = GetHostedConfigurationVersionOutput() if let applicationIdHeaderValue = httpResponse.headers.value(for: "Application-Id") { value.applicationId = applicationIdHeaderValue @@ -4633,7 +4633,7 @@ extension GetHostedConfigurationVersionOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4646,7 +4646,7 @@ extension ListApplicationsOutput { extension ListConfigurationProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4659,7 +4659,7 @@ extension ListConfigurationProfilesOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4672,7 +4672,7 @@ extension ListDeploymentsOutput { extension ListDeploymentStrategiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentStrategiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentStrategiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4685,7 +4685,7 @@ extension ListDeploymentStrategiesOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4698,7 +4698,7 @@ extension ListEnvironmentsOutput { extension ListExtensionAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExtensionAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExtensionAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4711,7 +4711,7 @@ extension ListExtensionAssociationsOutput { extension ListExtensionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExtensionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExtensionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4724,7 +4724,7 @@ extension ListExtensionsOutput { extension ListHostedConfigurationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostedConfigurationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostedConfigurationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4737,7 +4737,7 @@ extension ListHostedConfigurationVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4749,7 +4749,7 @@ extension ListTagsForResourceOutput { extension StartDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4782,7 +4782,7 @@ extension StartDeploymentOutput { extension StopDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4815,21 +4815,21 @@ extension StopDeploymentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4843,7 +4843,7 @@ extension UpdateApplicationOutput { extension UpdateConfigurationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4864,7 +4864,7 @@ extension UpdateConfigurationProfileOutput { extension UpdateDeploymentStrategyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeploymentStrategyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeploymentStrategyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4883,7 +4883,7 @@ extension UpdateDeploymentStrategyOutput { extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4900,7 +4900,7 @@ extension UpdateEnvironmentOutput { extension UpdateExtensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExtensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExtensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4918,7 +4918,7 @@ extension UpdateExtensionOutput { extension UpdateExtensionAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExtensionAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExtensionAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4935,14 +4935,14 @@ extension UpdateExtensionAssociationOutput { extension ValidateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateConfigurationOutput { return ValidateConfigurationOutput() } } enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4958,7 +4958,7 @@ enum CreateApplicationOutputError { enum CreateConfigurationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4975,7 +4975,7 @@ enum CreateConfigurationProfileOutputError { enum CreateDeploymentStrategyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4991,7 +4991,7 @@ enum CreateDeploymentStrategyOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5008,7 +5008,7 @@ enum CreateEnvironmentOutputError { enum CreateExtensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5025,7 +5025,7 @@ enum CreateExtensionOutputError { enum CreateExtensionAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5042,7 +5042,7 @@ enum CreateExtensionAssociationOutputError { enum CreateHostedConfigurationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5061,7 +5061,7 @@ enum CreateHostedConfigurationVersionOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5077,7 +5077,7 @@ enum DeleteApplicationOutputError { enum DeleteConfigurationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5094,7 +5094,7 @@ enum DeleteConfigurationProfileOutputError { enum DeleteDeploymentStrategyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5110,7 +5110,7 @@ enum DeleteDeploymentStrategyOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5127,7 +5127,7 @@ enum DeleteEnvironmentOutputError { enum DeleteExtensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5143,7 +5143,7 @@ enum DeleteExtensionOutputError { enum DeleteExtensionAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5159,7 +5159,7 @@ enum DeleteExtensionAssociationOutputError { enum DeleteHostedConfigurationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5175,7 +5175,7 @@ enum DeleteHostedConfigurationVersionOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5191,7 +5191,7 @@ enum GetApplicationOutputError { enum GetConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5207,7 +5207,7 @@ enum GetConfigurationOutputError { enum GetConfigurationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5223,7 +5223,7 @@ enum GetConfigurationProfileOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5239,7 +5239,7 @@ enum GetDeploymentOutputError { enum GetDeploymentStrategyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5255,7 +5255,7 @@ enum GetDeploymentStrategyOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5271,7 +5271,7 @@ enum GetEnvironmentOutputError { enum GetExtensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5287,7 +5287,7 @@ enum GetExtensionOutputError { enum GetExtensionAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5303,7 +5303,7 @@ enum GetExtensionAssociationOutputError { enum GetHostedConfigurationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5319,7 +5319,7 @@ enum GetHostedConfigurationVersionOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5334,7 +5334,7 @@ enum ListApplicationsOutputError { enum ListConfigurationProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5350,7 +5350,7 @@ enum ListConfigurationProfilesOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5366,7 +5366,7 @@ enum ListDeploymentsOutputError { enum ListDeploymentStrategiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5381,7 +5381,7 @@ enum ListDeploymentStrategiesOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5397,7 +5397,7 @@ enum ListEnvironmentsOutputError { enum ListExtensionAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5412,7 +5412,7 @@ enum ListExtensionAssociationsOutputError { enum ListExtensionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5427,7 +5427,7 @@ enum ListExtensionsOutputError { enum ListHostedConfigurationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5443,7 +5443,7 @@ enum ListHostedConfigurationVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5459,7 +5459,7 @@ enum ListTagsForResourceOutputError { enum StartDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5476,7 +5476,7 @@ enum StartDeploymentOutputError { enum StopDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5492,7 +5492,7 @@ enum StopDeploymentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5508,7 +5508,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5524,7 +5524,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5540,7 +5540,7 @@ enum UpdateApplicationOutputError { enum UpdateConfigurationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5556,7 +5556,7 @@ enum UpdateConfigurationProfileOutputError { enum UpdateDeploymentStrategyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5572,7 +5572,7 @@ enum UpdateDeploymentStrategyOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5588,7 +5588,7 @@ enum UpdateEnvironmentOutputError { enum UpdateExtensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5605,7 +5605,7 @@ enum UpdateExtensionOutputError { enum UpdateExtensionAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5621,7 +5621,7 @@ enum UpdateExtensionAssociationOutputError { enum ValidateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/Models.swift b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/Models.swift index 023c286ffbf..4fce3e9fa46 100644 --- a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/Models.swift +++ b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -126,7 +126,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -225,7 +225,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -253,7 +253,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -391,7 +391,7 @@ extension StartConfigurationSessionInput { extension GetLatestConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLatestConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLatestConfigurationOutput { var value = GetLatestConfigurationOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -419,7 +419,7 @@ extension GetLatestConfigurationOutput { extension StartConfigurationSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConfigurationSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConfigurationSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -431,7 +431,7 @@ extension StartConfigurationSessionOutput { enum GetLatestConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -448,7 +448,7 @@ enum GetLatestConfigurationOutputError { enum StartConfigurationSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/Models.swift b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/Models.swift index ca5f1f000bf..b9d50e1c584 100644 --- a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/Models.swift +++ b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -529,7 +529,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -562,7 +562,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -597,7 +597,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -690,7 +690,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -883,7 +883,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -959,7 +959,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2635,7 +2635,7 @@ extension UpdateIngestionDestinationInput { extension BatchGetUserAccessTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetUserAccessTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetUserAccessTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2647,7 +2647,7 @@ extension BatchGetUserAccessTasksOutput { extension ConnectAppAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConnectAppAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConnectAppAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2659,7 +2659,7 @@ extension ConnectAppAuthorizationOutput { extension CreateAppAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2671,7 +2671,7 @@ extension CreateAppAuthorizationOutput { extension CreateAppBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2683,7 +2683,7 @@ extension CreateAppBundleOutput { extension CreateIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIngestionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2695,7 +2695,7 @@ extension CreateIngestionOutput { extension CreateIngestionDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIngestionDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIngestionDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2707,35 +2707,35 @@ extension CreateIngestionDestinationOutput { extension DeleteAppAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppAuthorizationOutput { return DeleteAppAuthorizationOutput() } } extension DeleteAppBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppBundleOutput { return DeleteAppBundleOutput() } } extension DeleteIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIngestionOutput { return DeleteIngestionOutput() } } extension DeleteIngestionDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIngestionDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIngestionDestinationOutput { return DeleteIngestionDestinationOutput() } } extension GetAppAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2747,7 +2747,7 @@ extension GetAppAuthorizationOutput { extension GetAppBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2759,7 +2759,7 @@ extension GetAppBundleOutput { extension GetIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIngestionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2771,7 +2771,7 @@ extension GetIngestionOutput { extension GetIngestionDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIngestionDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIngestionDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2783,7 +2783,7 @@ extension GetIngestionDestinationOutput { extension ListAppAuthorizationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppAuthorizationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppAuthorizationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2796,7 +2796,7 @@ extension ListAppAuthorizationsOutput { extension ListAppBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2809,7 +2809,7 @@ extension ListAppBundlesOutput { extension ListIngestionDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIngestionDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIngestionDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2822,7 +2822,7 @@ extension ListIngestionDestinationsOutput { extension ListIngestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIngestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIngestionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2835,7 +2835,7 @@ extension ListIngestionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2847,14 +2847,14 @@ extension ListTagsForResourceOutput { extension StartIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartIngestionOutput { return StartIngestionOutput() } } extension StartUserAccessTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartUserAccessTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartUserAccessTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2866,28 +2866,28 @@ extension StartUserAccessTasksOutput { extension StopIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopIngestionOutput { return StopIngestionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2899,7 +2899,7 @@ extension UpdateAppAuthorizationOutput { extension UpdateIngestionDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIngestionDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIngestionDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2911,7 +2911,7 @@ extension UpdateIngestionDestinationOutput { enum BatchGetUserAccessTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2929,7 +2929,7 @@ enum BatchGetUserAccessTasksOutputError { enum ConnectAppAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2947,7 +2947,7 @@ enum ConnectAppAuthorizationOutputError { enum CreateAppAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2967,7 +2967,7 @@ enum CreateAppAuthorizationOutputError { enum CreateAppBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2986,7 +2986,7 @@ enum CreateAppBundleOutputError { enum CreateIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3005,7 +3005,7 @@ enum CreateIngestionOutputError { enum CreateIngestionDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3024,7 +3024,7 @@ enum CreateIngestionDestinationOutputError { enum DeleteAppAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3042,7 +3042,7 @@ enum DeleteAppAuthorizationOutputError { enum DeleteAppBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3060,7 +3060,7 @@ enum DeleteAppBundleOutputError { enum DeleteIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3078,7 +3078,7 @@ enum DeleteIngestionOutputError { enum DeleteIngestionDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3096,7 +3096,7 @@ enum DeleteIngestionDestinationOutputError { enum GetAppAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3114,7 +3114,7 @@ enum GetAppAuthorizationOutputError { enum GetAppBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3132,7 +3132,7 @@ enum GetAppBundleOutputError { enum GetIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3150,7 +3150,7 @@ enum GetIngestionOutputError { enum GetIngestionDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3168,7 +3168,7 @@ enum GetIngestionDestinationOutputError { enum ListAppAuthorizationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3186,7 +3186,7 @@ enum ListAppAuthorizationsOutputError { enum ListAppBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3203,7 +3203,7 @@ enum ListAppBundlesOutputError { enum ListIngestionDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3221,7 +3221,7 @@ enum ListIngestionDestinationsOutputError { enum ListIngestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3239,7 +3239,7 @@ enum ListIngestionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3257,7 +3257,7 @@ enum ListTagsForResourceOutputError { enum StartIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3276,7 +3276,7 @@ enum StartIngestionOutputError { enum StartUserAccessTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3294,7 +3294,7 @@ enum StartUserAccessTasksOutputError { enum StopIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3313,7 +3313,7 @@ enum StopIngestionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3331,7 +3331,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3349,7 +3349,7 @@ enum UntagResourceOutputError { enum UpdateAppAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3367,7 +3367,7 @@ enum UpdateAppAuthorizationOutputError { enum UpdateIngestionDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/Models.swift b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/Models.swift index 8034e1ee4e2..65460943142 100644 --- a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/Models.swift +++ b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct DuplicateResourceException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct InternalServiceError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -135,7 +135,7 @@ public struct ResourceQuotaExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,7 +159,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -183,7 +183,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -565,7 +565,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1747,7 +1747,7 @@ extension UpdateEventIntegrationInput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1760,7 +1760,7 @@ extension CreateApplicationOutput { extension CreateDataIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1782,7 +1782,7 @@ extension CreateDataIntegrationOutput { extension CreateEventIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1794,28 +1794,28 @@ extension CreateEventIntegrationOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteDataIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataIntegrationOutput { return DeleteDataIntegrationOutput() } } extension DeleteEventIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventIntegrationOutput { return DeleteEventIntegrationOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1838,7 +1838,7 @@ extension GetApplicationOutput { extension GetDataIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1859,7 +1859,7 @@ extension GetDataIntegrationOutput { extension GetEventIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1876,7 +1876,7 @@ extension GetEventIntegrationOutput { extension ListApplicationAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1889,7 +1889,7 @@ extension ListApplicationAssociationsOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1902,7 +1902,7 @@ extension ListApplicationsOutput { extension ListDataIntegrationAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataIntegrationAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataIntegrationAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1915,7 +1915,7 @@ extension ListDataIntegrationAssociationsOutput { extension ListDataIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1928,7 +1928,7 @@ extension ListDataIntegrationsOutput { extension ListEventIntegrationAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventIntegrationAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventIntegrationAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1941,7 +1941,7 @@ extension ListEventIntegrationAssociationsOutput { extension ListEventIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1954,7 +1954,7 @@ extension ListEventIntegrationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1966,42 +1966,42 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } extension UpdateDataIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataIntegrationOutput { return UpdateDataIntegrationOutput() } } extension UpdateEventIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventIntegrationOutput { return UpdateEventIntegrationOutput() } } enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2021,7 +2021,7 @@ enum CreateApplicationOutputError { enum CreateDataIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2040,7 +2040,7 @@ enum CreateDataIntegrationOutputError { enum CreateEventIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2059,7 +2059,7 @@ enum CreateEventIntegrationOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2077,7 +2077,7 @@ enum DeleteApplicationOutputError { enum DeleteDataIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2095,7 +2095,7 @@ enum DeleteDataIntegrationOutputError { enum DeleteEventIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2113,7 +2113,7 @@ enum DeleteEventIntegrationOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2131,7 +2131,7 @@ enum GetApplicationOutputError { enum GetDataIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2149,7 +2149,7 @@ enum GetDataIntegrationOutputError { enum GetEventIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2167,7 +2167,7 @@ enum GetEventIntegrationOutputError { enum ListApplicationAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2185,7 +2185,7 @@ enum ListApplicationAssociationsOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2202,7 +2202,7 @@ enum ListApplicationsOutputError { enum ListDataIntegrationAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2220,7 +2220,7 @@ enum ListDataIntegrationAssociationsOutputError { enum ListDataIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2237,7 +2237,7 @@ enum ListDataIntegrationsOutputError { enum ListEventIntegrationAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2255,7 +2255,7 @@ enum ListEventIntegrationAssociationsOutputError { enum ListEventIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2272,7 +2272,7 @@ enum ListEventIntegrationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2289,7 +2289,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2306,7 +2306,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2323,7 +2323,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2342,7 +2342,7 @@ enum UpdateApplicationOutputError { enum UpdateDataIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2360,7 +2360,7 @@ enum UpdateDataIntegrationOutputError { enum UpdateEventIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/Models.swift b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/Models.swift index 0af7282f4f1..0a57be1526b 100644 --- a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/Models.swift +++ b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -102,7 +102,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -308,7 +308,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -332,7 +332,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -640,7 +640,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5726,7 +5726,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6881,7 +6881,7 @@ extension UpdateVirtualServiceInput { extension CreateGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6893,7 +6893,7 @@ extension CreateGatewayRouteOutput { extension CreateMeshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMeshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMeshOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6905,7 +6905,7 @@ extension CreateMeshOutput { extension CreateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6917,7 +6917,7 @@ extension CreateRouteOutput { extension CreateVirtualGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVirtualGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVirtualGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6929,7 +6929,7 @@ extension CreateVirtualGatewayOutput { extension CreateVirtualNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVirtualNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVirtualNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6941,7 +6941,7 @@ extension CreateVirtualNodeOutput { extension CreateVirtualRouterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVirtualRouterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVirtualRouterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6953,7 +6953,7 @@ extension CreateVirtualRouterOutput { extension CreateVirtualServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVirtualServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVirtualServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6965,7 +6965,7 @@ extension CreateVirtualServiceOutput { extension DeleteGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6977,7 +6977,7 @@ extension DeleteGatewayRouteOutput { extension DeleteMeshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMeshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMeshOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6989,7 +6989,7 @@ extension DeleteMeshOutput { extension DeleteRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7001,7 +7001,7 @@ extension DeleteRouteOutput { extension DeleteVirtualGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7013,7 +7013,7 @@ extension DeleteVirtualGatewayOutput { extension DeleteVirtualNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7025,7 +7025,7 @@ extension DeleteVirtualNodeOutput { extension DeleteVirtualRouterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualRouterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualRouterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7037,7 +7037,7 @@ extension DeleteVirtualRouterOutput { extension DeleteVirtualServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7049,7 +7049,7 @@ extension DeleteVirtualServiceOutput { extension DescribeGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7061,7 +7061,7 @@ extension DescribeGatewayRouteOutput { extension DescribeMeshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMeshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMeshOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7073,7 +7073,7 @@ extension DescribeMeshOutput { extension DescribeRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7085,7 +7085,7 @@ extension DescribeRouteOutput { extension DescribeVirtualGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7097,7 +7097,7 @@ extension DescribeVirtualGatewayOutput { extension DescribeVirtualNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7109,7 +7109,7 @@ extension DescribeVirtualNodeOutput { extension DescribeVirtualRouterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualRouterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualRouterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7121,7 +7121,7 @@ extension DescribeVirtualRouterOutput { extension DescribeVirtualServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7133,7 +7133,7 @@ extension DescribeVirtualServiceOutput { extension ListGatewayRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGatewayRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGatewayRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7146,7 +7146,7 @@ extension ListGatewayRoutesOutput { extension ListMeshesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMeshesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMeshesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7159,7 +7159,7 @@ extension ListMeshesOutput { extension ListRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7172,7 +7172,7 @@ extension ListRoutesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7185,7 +7185,7 @@ extension ListTagsForResourceOutput { extension ListVirtualGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7198,7 +7198,7 @@ extension ListVirtualGatewaysOutput { extension ListVirtualNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7211,7 +7211,7 @@ extension ListVirtualNodesOutput { extension ListVirtualRoutersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualRoutersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualRoutersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7224,7 +7224,7 @@ extension ListVirtualRoutersOutput { extension ListVirtualServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7237,21 +7237,21 @@ extension ListVirtualServicesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7263,7 +7263,7 @@ extension UpdateGatewayRouteOutput { extension UpdateMeshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMeshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMeshOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7275,7 +7275,7 @@ extension UpdateMeshOutput { extension UpdateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7287,7 +7287,7 @@ extension UpdateRouteOutput { extension UpdateVirtualGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVirtualGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVirtualGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7299,7 +7299,7 @@ extension UpdateVirtualGatewayOutput { extension UpdateVirtualNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVirtualNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVirtualNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7311,7 +7311,7 @@ extension UpdateVirtualNodeOutput { extension UpdateVirtualRouterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVirtualRouterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVirtualRouterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7323,7 +7323,7 @@ extension UpdateVirtualRouterOutput { extension UpdateVirtualServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVirtualServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVirtualServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7335,7 +7335,7 @@ extension UpdateVirtualServiceOutput { enum CreateGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7356,7 +7356,7 @@ enum CreateGatewayRouteOutputError { enum CreateMeshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7377,7 +7377,7 @@ enum CreateMeshOutputError { enum CreateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7398,7 +7398,7 @@ enum CreateRouteOutputError { enum CreateVirtualGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7419,7 +7419,7 @@ enum CreateVirtualGatewayOutputError { enum CreateVirtualNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7440,7 +7440,7 @@ enum CreateVirtualNodeOutputError { enum CreateVirtualRouterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7461,7 +7461,7 @@ enum CreateVirtualRouterOutputError { enum CreateVirtualServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7482,7 +7482,7 @@ enum CreateVirtualServiceOutputError { enum DeleteGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7502,7 +7502,7 @@ enum DeleteGatewayRouteOutputError { enum DeleteMeshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7522,7 +7522,7 @@ enum DeleteMeshOutputError { enum DeleteRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7542,7 +7542,7 @@ enum DeleteRouteOutputError { enum DeleteVirtualGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7562,7 +7562,7 @@ enum DeleteVirtualGatewayOutputError { enum DeleteVirtualNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7582,7 +7582,7 @@ enum DeleteVirtualNodeOutputError { enum DeleteVirtualRouterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7602,7 +7602,7 @@ enum DeleteVirtualRouterOutputError { enum DeleteVirtualServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7622,7 +7622,7 @@ enum DeleteVirtualServiceOutputError { enum DescribeGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7641,7 +7641,7 @@ enum DescribeGatewayRouteOutputError { enum DescribeMeshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7660,7 +7660,7 @@ enum DescribeMeshOutputError { enum DescribeRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7679,7 +7679,7 @@ enum DescribeRouteOutputError { enum DescribeVirtualGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7698,7 +7698,7 @@ enum DescribeVirtualGatewayOutputError { enum DescribeVirtualNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7717,7 +7717,7 @@ enum DescribeVirtualNodeOutputError { enum DescribeVirtualRouterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7736,7 +7736,7 @@ enum DescribeVirtualRouterOutputError { enum DescribeVirtualServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7755,7 +7755,7 @@ enum DescribeVirtualServiceOutputError { enum ListGatewayRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7774,7 +7774,7 @@ enum ListGatewayRoutesOutputError { enum ListMeshesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7793,7 +7793,7 @@ enum ListMeshesOutputError { enum ListRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7812,7 +7812,7 @@ enum ListRoutesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7831,7 +7831,7 @@ enum ListTagsForResourceOutputError { enum ListVirtualGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7850,7 +7850,7 @@ enum ListVirtualGatewaysOutputError { enum ListVirtualNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7869,7 +7869,7 @@ enum ListVirtualNodesOutputError { enum ListVirtualRoutersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7888,7 +7888,7 @@ enum ListVirtualRoutersOutputError { enum ListVirtualServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7907,7 +7907,7 @@ enum ListVirtualServicesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7927,7 +7927,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7946,7 +7946,7 @@ enum UntagResourceOutputError { enum UpdateGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7967,7 +7967,7 @@ enum UpdateGatewayRouteOutputError { enum UpdateMeshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7987,7 +7987,7 @@ enum UpdateMeshOutputError { enum UpdateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8008,7 +8008,7 @@ enum UpdateRouteOutputError { enum UpdateVirtualGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8029,7 +8029,7 @@ enum UpdateVirtualGatewayOutputError { enum UpdateVirtualNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8050,7 +8050,7 @@ enum UpdateVirtualNodeOutputError { enum UpdateVirtualRouterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8071,7 +8071,7 @@ enum UpdateVirtualRouterOutputError { enum UpdateVirtualServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/Models.swift b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/Models.swift index f86638fa661..67081719330 100644 --- a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/Models.swift +++ b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -57,7 +57,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -314,7 +314,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1133,7 +1133,7 @@ extension AppRunnerClientTypes { extension AppRunnerClientTypes.CodeConfigurationValues: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CodeConfigurationValues(port: \(Swift.String(describing: port)), runtime: \(Swift.String(describing: runtime)), runtimeEnvironmentSecrets: \(Swift.String(describing: runtimeEnvironmentSecrets)), runtimeEnvironmentVariables: \(Swift.String(describing: runtimeEnvironmentVariables)), buildCommand: \"CONTENT_REDACTED\", startCommand: \"CONTENT_REDACTED\")"} + "CodeConfigurationValues(port: \(Swift.String(describing: port)), runtime: \(Swift.String(describing: runtime)), buildCommand: \"CONTENT_REDACTED\", runtimeEnvironmentSecrets: \"CONTENT_REDACTED\", runtimeEnvironmentVariables: \"CONTENT_REDACTED\", startCommand: \"CONTENT_REDACTED\")"} } extension AppRunnerClientTypes { @@ -1302,7 +1302,7 @@ extension AppRunnerClientTypes { extension AppRunnerClientTypes.ImageConfiguration: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ImageConfiguration(port: \(Swift.String(describing: port)), runtimeEnvironmentSecrets: \(Swift.String(describing: runtimeEnvironmentSecrets)), runtimeEnvironmentVariables: \(Swift.String(describing: runtimeEnvironmentVariables)), startCommand: \"CONTENT_REDACTED\")"} + "ImageConfiguration(port: \(Swift.String(describing: port)), runtimeEnvironmentSecrets: \"CONTENT_REDACTED\", runtimeEnvironmentVariables: \"CONTENT_REDACTED\", startCommand: \"CONTENT_REDACTED\")"} } extension AppRunnerClientTypes { @@ -1906,7 +1906,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3752,7 +3752,7 @@ extension UpdateVpcIngressConnectionInput { extension AssociateCustomDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateCustomDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateCustomDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3767,7 +3767,7 @@ extension AssociateCustomDomainOutput { extension CreateAutoScalingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAutoScalingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAutoScalingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3779,7 +3779,7 @@ extension CreateAutoScalingConfigurationOutput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3791,7 +3791,7 @@ extension CreateConnectionOutput { extension CreateObservabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateObservabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateObservabilityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3803,7 +3803,7 @@ extension CreateObservabilityConfigurationOutput { extension CreateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3816,7 +3816,7 @@ extension CreateServiceOutput { extension CreateVpcConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3828,7 +3828,7 @@ extension CreateVpcConnectorOutput { extension CreateVpcIngressConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcIngressConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcIngressConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3840,7 +3840,7 @@ extension CreateVpcIngressConnectionOutput { extension DeleteAutoScalingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAutoScalingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAutoScalingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3852,7 +3852,7 @@ extension DeleteAutoScalingConfigurationOutput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3864,7 +3864,7 @@ extension DeleteConnectionOutput { extension DeleteObservabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObservabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObservabilityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3876,7 +3876,7 @@ extension DeleteObservabilityConfigurationOutput { extension DeleteServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3889,7 +3889,7 @@ extension DeleteServiceOutput { extension DeleteVpcConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3901,7 +3901,7 @@ extension DeleteVpcConnectorOutput { extension DeleteVpcIngressConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcIngressConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcIngressConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3913,7 +3913,7 @@ extension DeleteVpcIngressConnectionOutput { extension DescribeAutoScalingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoScalingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoScalingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3925,7 +3925,7 @@ extension DescribeAutoScalingConfigurationOutput { extension DescribeCustomDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3941,7 +3941,7 @@ extension DescribeCustomDomainsOutput { extension DescribeObservabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeObservabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeObservabilityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3953,7 +3953,7 @@ extension DescribeObservabilityConfigurationOutput { extension DescribeServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3965,7 +3965,7 @@ extension DescribeServiceOutput { extension DescribeVpcConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3977,7 +3977,7 @@ extension DescribeVpcConnectorOutput { extension DescribeVpcIngressConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcIngressConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcIngressConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3989,7 +3989,7 @@ extension DescribeVpcIngressConnectionOutput { extension DisassociateCustomDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateCustomDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateCustomDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4004,7 +4004,7 @@ extension DisassociateCustomDomainOutput { extension ListAutoScalingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAutoScalingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAutoScalingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4017,7 +4017,7 @@ extension ListAutoScalingConfigurationsOutput { extension ListConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4030,7 +4030,7 @@ extension ListConnectionsOutput { extension ListObservabilityConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObservabilityConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObservabilityConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4043,7 +4043,7 @@ extension ListObservabilityConfigurationsOutput { extension ListOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4056,7 +4056,7 @@ extension ListOperationsOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4069,7 +4069,7 @@ extension ListServicesOutput { extension ListServicesForAutoScalingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesForAutoScalingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesForAutoScalingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4082,7 +4082,7 @@ extension ListServicesForAutoScalingConfigurationOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4094,7 +4094,7 @@ extension ListTagsForResourceOutput { extension ListVpcConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4107,7 +4107,7 @@ extension ListVpcConnectorsOutput { extension ListVpcIngressConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcIngressConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcIngressConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4120,7 +4120,7 @@ extension ListVpcIngressConnectionsOutput { extension PauseServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PauseServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4133,7 +4133,7 @@ extension PauseServiceOutput { extension ResumeServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4146,7 +4146,7 @@ extension ResumeServiceOutput { extension StartDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4158,21 +4158,21 @@ extension StartDeploymentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDefaultAutoScalingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDefaultAutoScalingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDefaultAutoScalingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4184,7 +4184,7 @@ extension UpdateDefaultAutoScalingConfigurationOutput { extension UpdateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4197,7 +4197,7 @@ extension UpdateServiceOutput { extension UpdateVpcIngressConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcIngressConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcIngressConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4209,7 +4209,7 @@ extension UpdateVpcIngressConnectionOutput { enum AssociateCustomDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4225,7 +4225,7 @@ enum AssociateCustomDomainOutputError { enum CreateAutoScalingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4241,7 +4241,7 @@ enum CreateAutoScalingConfigurationOutputError { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4257,7 +4257,7 @@ enum CreateConnectionOutputError { enum CreateObservabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4273,7 +4273,7 @@ enum CreateObservabilityConfigurationOutputError { enum CreateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4289,7 +4289,7 @@ enum CreateServiceOutputError { enum CreateVpcConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4305,7 +4305,7 @@ enum CreateVpcConnectorOutputError { enum CreateVpcIngressConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4322,7 +4322,7 @@ enum CreateVpcIngressConnectionOutputError { enum DeleteAutoScalingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4338,7 +4338,7 @@ enum DeleteAutoScalingConfigurationOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4354,7 +4354,7 @@ enum DeleteConnectionOutputError { enum DeleteObservabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4370,7 +4370,7 @@ enum DeleteObservabilityConfigurationOutputError { enum DeleteServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4387,7 +4387,7 @@ enum DeleteServiceOutputError { enum DeleteVpcConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4403,7 +4403,7 @@ enum DeleteVpcConnectorOutputError { enum DeleteVpcIngressConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4420,7 +4420,7 @@ enum DeleteVpcIngressConnectionOutputError { enum DescribeAutoScalingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4436,7 +4436,7 @@ enum DescribeAutoScalingConfigurationOutputError { enum DescribeCustomDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4452,7 +4452,7 @@ enum DescribeCustomDomainsOutputError { enum DescribeObservabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4468,7 +4468,7 @@ enum DescribeObservabilityConfigurationOutputError { enum DescribeServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4484,7 +4484,7 @@ enum DescribeServiceOutputError { enum DescribeVpcConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4500,7 +4500,7 @@ enum DescribeVpcConnectorOutputError { enum DescribeVpcIngressConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4516,7 +4516,7 @@ enum DescribeVpcIngressConnectionOutputError { enum DisassociateCustomDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4533,7 +4533,7 @@ enum DisassociateCustomDomainOutputError { enum ListAutoScalingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4548,7 +4548,7 @@ enum ListAutoScalingConfigurationsOutputError { enum ListConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4563,7 +4563,7 @@ enum ListConnectionsOutputError { enum ListObservabilityConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4578,7 +4578,7 @@ enum ListObservabilityConfigurationsOutputError { enum ListOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4594,7 +4594,7 @@ enum ListOperationsOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4609,7 +4609,7 @@ enum ListServicesOutputError { enum ListServicesForAutoScalingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4625,7 +4625,7 @@ enum ListServicesForAutoScalingConfigurationOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4642,7 +4642,7 @@ enum ListTagsForResourceOutputError { enum ListVpcConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4657,7 +4657,7 @@ enum ListVpcConnectorsOutputError { enum ListVpcIngressConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4672,7 +4672,7 @@ enum ListVpcIngressConnectionsOutputError { enum PauseServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4689,7 +4689,7 @@ enum PauseServiceOutputError { enum ResumeServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4706,7 +4706,7 @@ enum ResumeServiceOutputError { enum StartDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4722,7 +4722,7 @@ enum StartDeploymentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4739,7 +4739,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4756,7 +4756,7 @@ enum UntagResourceOutputError { enum UpdateDefaultAutoScalingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4772,7 +4772,7 @@ enum UpdateDefaultAutoScalingConfigurationOutputError { enum UpdateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4789,7 +4789,7 @@ enum UpdateServiceOutputError { enum UpdateVpcIngressConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppStream/Sources/AWSAppStream/Models.swift b/Sources/Services/AWSAppStream/Sources/AWSAppStream/Models.swift index 4dd414ff84c..af830e0c473 100644 --- a/Sources/Services/AWSAppStream/Sources/AWSAppStream/Models.swift +++ b/Sources/Services/AWSAppStream/Sources/AWSAppStream/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -952,7 +952,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -977,7 +977,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1002,7 +1002,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1027,7 +1027,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1052,7 +1052,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1137,7 +1137,7 @@ public struct EntitlementNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1190,7 +1190,7 @@ public struct IncompatibleImageException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1215,7 +1215,7 @@ public struct InvalidAccountStatusException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1560,7 +1560,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1585,7 +1585,7 @@ public struct ResourceNotAvailableException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1703,7 +1703,7 @@ public struct InvalidRoleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1728,7 +1728,7 @@ public struct RequestLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2028,7 +2028,7 @@ public struct EntitlementAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3929,7 +3929,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7552,7 +7552,7 @@ extension UpdateStackInput { extension AssociateAppBlockBuilderAppBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAppBlockBuilderAppBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAppBlockBuilderAppBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7564,7 +7564,7 @@ extension AssociateAppBlockBuilderAppBlockOutput { extension AssociateApplicationFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateApplicationFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateApplicationFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7576,21 +7576,21 @@ extension AssociateApplicationFleetOutput { extension AssociateApplicationToEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateApplicationToEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateApplicationToEntitlementOutput { return AssociateApplicationToEntitlementOutput() } } extension AssociateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFleetOutput { return AssociateFleetOutput() } } extension BatchAssociateUserStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateUserStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateUserStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7602,7 +7602,7 @@ extension BatchAssociateUserStackOutput { extension BatchDisassociateUserStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateUserStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateUserStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7614,7 +7614,7 @@ extension BatchDisassociateUserStackOutput { extension CopyImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7626,7 +7626,7 @@ extension CopyImageOutput { extension CreateAppBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7638,7 +7638,7 @@ extension CreateAppBlockOutput { extension CreateAppBlockBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppBlockBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppBlockBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7650,7 +7650,7 @@ extension CreateAppBlockBuilderOutput { extension CreateAppBlockBuilderStreamingURLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppBlockBuilderStreamingURLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppBlockBuilderStreamingURLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7663,7 +7663,7 @@ extension CreateAppBlockBuilderStreamingURLOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7675,7 +7675,7 @@ extension CreateApplicationOutput { extension CreateDirectoryConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectoryConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectoryConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7687,7 +7687,7 @@ extension CreateDirectoryConfigOutput { extension CreateEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEntitlementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7699,7 +7699,7 @@ extension CreateEntitlementOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7711,7 +7711,7 @@ extension CreateFleetOutput { extension CreateImageBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7723,7 +7723,7 @@ extension CreateImageBuilderOutput { extension CreateImageBuilderStreamingURLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageBuilderStreamingURLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageBuilderStreamingURLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7736,7 +7736,7 @@ extension CreateImageBuilderStreamingURLOutput { extension CreateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7748,7 +7748,7 @@ extension CreateStackOutput { extension CreateStreamingURLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamingURLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamingURLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7761,7 +7761,7 @@ extension CreateStreamingURLOutput { extension CreateUpdatedImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUpdatedImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUpdatedImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7774,7 +7774,7 @@ extension CreateUpdatedImageOutput { extension CreateUsageReportSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUsageReportSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUsageReportSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7787,56 +7787,56 @@ extension CreateUsageReportSubscriptionOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { return CreateUserOutput() } } extension DeleteAppBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppBlockOutput { return DeleteAppBlockOutput() } } extension DeleteAppBlockBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppBlockBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppBlockBuilderOutput { return DeleteAppBlockBuilderOutput() } } extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteDirectoryConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectoryConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectoryConfigOutput { return DeleteDirectoryConfigOutput() } } extension DeleteEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEntitlementOutput { return DeleteEntitlementOutput() } } extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { return DeleteFleetOutput() } } extension DeleteImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7848,7 +7848,7 @@ extension DeleteImageOutput { extension DeleteImageBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7860,35 +7860,35 @@ extension DeleteImageBuilderOutput { extension DeleteImagePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImagePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImagePermissionsOutput { return DeleteImagePermissionsOutput() } } extension DeleteStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStackOutput { return DeleteStackOutput() } } extension DeleteUsageReportSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUsageReportSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUsageReportSubscriptionOutput { return DeleteUsageReportSubscriptionOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DescribeAppBlockBuilderAppBlockAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppBlockBuilderAppBlockAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppBlockBuilderAppBlockAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7901,7 +7901,7 @@ extension DescribeAppBlockBuilderAppBlockAssociationsOutput { extension DescribeAppBlockBuildersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppBlockBuildersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppBlockBuildersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7914,7 +7914,7 @@ extension DescribeAppBlockBuildersOutput { extension DescribeAppBlocksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppBlocksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppBlocksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7927,7 +7927,7 @@ extension DescribeAppBlocksOutput { extension DescribeApplicationFleetAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationFleetAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationFleetAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7940,7 +7940,7 @@ extension DescribeApplicationFleetAssociationsOutput { extension DescribeApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7953,7 +7953,7 @@ extension DescribeApplicationsOutput { extension DescribeDirectoryConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDirectoryConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDirectoryConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7966,7 +7966,7 @@ extension DescribeDirectoryConfigsOutput { extension DescribeEntitlementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntitlementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntitlementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7979,7 +7979,7 @@ extension DescribeEntitlementsOutput { extension DescribeFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7992,7 +7992,7 @@ extension DescribeFleetsOutput { extension DescribeImageBuildersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageBuildersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageBuildersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8005,7 +8005,7 @@ extension DescribeImageBuildersOutput { extension DescribeImagePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImagePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImagePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8019,7 +8019,7 @@ extension DescribeImagePermissionsOutput { extension DescribeImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8032,7 +8032,7 @@ extension DescribeImagesOutput { extension DescribeSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8045,7 +8045,7 @@ extension DescribeSessionsOutput { extension DescribeStacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8058,7 +8058,7 @@ extension DescribeStacksOutput { extension DescribeUsageReportSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUsageReportSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUsageReportSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8071,7 +8071,7 @@ extension DescribeUsageReportSubscriptionsOutput { extension DescribeUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8084,7 +8084,7 @@ extension DescribeUsersOutput { extension DescribeUserStackAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserStackAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserStackAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8097,56 +8097,56 @@ extension DescribeUserStackAssociationsOutput { extension DisableUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableUserOutput { return DisableUserOutput() } } extension DisassociateAppBlockBuilderAppBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAppBlockBuilderAppBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAppBlockBuilderAppBlockOutput { return DisassociateAppBlockBuilderAppBlockOutput() } } extension DisassociateApplicationFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateApplicationFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateApplicationFleetOutput { return DisassociateApplicationFleetOutput() } } extension DisassociateApplicationFromEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateApplicationFromEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateApplicationFromEntitlementOutput { return DisassociateApplicationFromEntitlementOutput() } } extension DisassociateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFleetOutput { return DisassociateFleetOutput() } } extension EnableUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableUserOutput { return EnableUserOutput() } } extension ExpireSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExpireSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExpireSessionOutput { return ExpireSessionOutput() } } extension ListAssociatedFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8159,7 +8159,7 @@ extension ListAssociatedFleetsOutput { extension ListAssociatedStacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedStacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedStacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8172,7 +8172,7 @@ extension ListAssociatedStacksOutput { extension ListEntitledApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitledApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitledApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8185,7 +8185,7 @@ extension ListEntitledApplicationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8197,7 +8197,7 @@ extension ListTagsForResourceOutput { extension StartAppBlockBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAppBlockBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAppBlockBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8209,14 +8209,14 @@ extension StartAppBlockBuilderOutput { extension StartFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFleetOutput { return StartFleetOutput() } } extension StartImageBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImageBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImageBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8228,7 +8228,7 @@ extension StartImageBuilderOutput { extension StopAppBlockBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAppBlockBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAppBlockBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8240,14 +8240,14 @@ extension StopAppBlockBuilderOutput { extension StopFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopFleetOutput { return StopFleetOutput() } } extension StopImageBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopImageBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopImageBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8259,21 +8259,21 @@ extension StopImageBuilderOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppBlockBuilderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppBlockBuilderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppBlockBuilderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8285,7 +8285,7 @@ extension UpdateAppBlockBuilderOutput { extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8297,7 +8297,7 @@ extension UpdateApplicationOutput { extension UpdateDirectoryConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDirectoryConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDirectoryConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8309,7 +8309,7 @@ extension UpdateDirectoryConfigOutput { extension UpdateEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEntitlementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8321,7 +8321,7 @@ extension UpdateEntitlementOutput { extension UpdateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8333,14 +8333,14 @@ extension UpdateFleetOutput { extension UpdateImagePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImagePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImagePermissionsOutput { return UpdateImagePermissionsOutput() } } extension UpdateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8352,7 +8352,7 @@ extension UpdateStackOutput { enum AssociateAppBlockBuilderAppBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8370,7 +8370,7 @@ enum AssociateAppBlockBuilderAppBlockOutputError { enum AssociateApplicationFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8388,7 +8388,7 @@ enum AssociateApplicationFleetOutputError { enum AssociateApplicationToEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8405,7 +8405,7 @@ enum AssociateApplicationToEntitlementOutputError { enum AssociateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8424,7 +8424,7 @@ enum AssociateFleetOutputError { enum BatchAssociateUserStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8439,7 +8439,7 @@ enum BatchAssociateUserStackOutputError { enum BatchDisassociateUserStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8454,7 +8454,7 @@ enum BatchDisassociateUserStackOutputError { enum CopyImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8473,7 +8473,7 @@ enum CopyImageOutputError { enum CreateAppBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8490,7 +8490,7 @@ enum CreateAppBlockOutputError { enum CreateAppBlockBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8513,7 +8513,7 @@ enum CreateAppBlockBuilderOutputError { enum CreateAppBlockBuilderStreamingURLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8528,7 +8528,7 @@ enum CreateAppBlockBuilderStreamingURLOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8546,7 +8546,7 @@ enum CreateApplicationOutputError { enum CreateDirectoryConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8565,7 +8565,7 @@ enum CreateDirectoryConfigOutputError { enum CreateEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8582,7 +8582,7 @@ enum CreateEntitlementOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8606,7 +8606,7 @@ enum CreateFleetOutputError { enum CreateImageBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8630,7 +8630,7 @@ enum CreateImageBuilderOutputError { enum CreateImageBuilderStreamingURLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8645,7 +8645,7 @@ enum CreateImageBuilderStreamingURLOutputError { enum CreateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8666,7 +8666,7 @@ enum CreateStackOutputError { enum CreateStreamingURLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8683,7 +8683,7 @@ enum CreateStreamingURLOutputError { enum CreateUpdatedImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8703,7 +8703,7 @@ enum CreateUpdatedImageOutputError { enum CreateUsageReportSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8719,7 +8719,7 @@ enum CreateUsageReportSubscriptionOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8737,7 +8737,7 @@ enum CreateUserOutputError { enum DeleteAppBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8753,7 +8753,7 @@ enum DeleteAppBlockOutputError { enum DeleteAppBlockBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8770,7 +8770,7 @@ enum DeleteAppBlockBuilderOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8787,7 +8787,7 @@ enum DeleteApplicationOutputError { enum DeleteDirectoryConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8802,7 +8802,7 @@ enum DeleteDirectoryConfigOutputError { enum DeleteEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8819,7 +8819,7 @@ enum DeleteEntitlementOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8835,7 +8835,7 @@ enum DeleteFleetOutputError { enum DeleteImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8852,7 +8852,7 @@ enum DeleteImageOutputError { enum DeleteImageBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8868,7 +8868,7 @@ enum DeleteImageBuilderOutputError { enum DeleteImagePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8883,7 +8883,7 @@ enum DeleteImagePermissionsOutputError { enum DeleteStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8900,7 +8900,7 @@ enum DeleteStackOutputError { enum DeleteUsageReportSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8915,7 +8915,7 @@ enum DeleteUsageReportSubscriptionOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8929,7 +8929,7 @@ enum DeleteUserOutputError { enum DescribeAppBlockBuilderAppBlockAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8944,7 +8944,7 @@ enum DescribeAppBlockBuilderAppBlockAssociationsOutputError { enum DescribeAppBlockBuildersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8959,7 +8959,7 @@ enum DescribeAppBlockBuildersOutputError { enum DescribeAppBlocksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8974,7 +8974,7 @@ enum DescribeAppBlocksOutputError { enum DescribeApplicationFleetAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8989,7 +8989,7 @@ enum DescribeApplicationFleetAssociationsOutputError { enum DescribeApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9004,7 +9004,7 @@ enum DescribeApplicationsOutputError { enum DescribeDirectoryConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9018,7 +9018,7 @@ enum DescribeDirectoryConfigsOutputError { enum DescribeEntitlementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9034,7 +9034,7 @@ enum DescribeEntitlementsOutputError { enum DescribeFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9048,7 +9048,7 @@ enum DescribeFleetsOutputError { enum DescribeImageBuildersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9062,7 +9062,7 @@ enum DescribeImageBuildersOutputError { enum DescribeImagePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9076,7 +9076,7 @@ enum DescribeImagePermissionsOutputError { enum DescribeImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9091,7 +9091,7 @@ enum DescribeImagesOutputError { enum DescribeSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9105,7 +9105,7 @@ enum DescribeSessionsOutputError { enum DescribeStacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9119,7 +9119,7 @@ enum DescribeStacksOutputError { enum DescribeUsageReportSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9134,7 +9134,7 @@ enum DescribeUsageReportSubscriptionsOutputError { enum DescribeUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9150,7 +9150,7 @@ enum DescribeUsersOutputError { enum DescribeUserStackAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9165,7 +9165,7 @@ enum DescribeUserStackAssociationsOutputError { enum DisableUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9179,7 +9179,7 @@ enum DisableUserOutputError { enum DisassociateAppBlockBuilderAppBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9196,7 +9196,7 @@ enum DisassociateAppBlockBuilderAppBlockOutputError { enum DisassociateApplicationFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9212,7 +9212,7 @@ enum DisassociateApplicationFleetOutputError { enum DisassociateApplicationFromEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9228,7 +9228,7 @@ enum DisassociateApplicationFromEntitlementOutputError { enum DisassociateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9245,7 +9245,7 @@ enum DisassociateFleetOutputError { enum EnableUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9260,7 +9260,7 @@ enum EnableUserOutputError { enum ExpireSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9273,7 +9273,7 @@ enum ExpireSessionOutputError { enum ListAssociatedFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9286,7 +9286,7 @@ enum ListAssociatedFleetsOutputError { enum ListAssociatedStacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9299,7 +9299,7 @@ enum ListAssociatedStacksOutputError { enum ListEntitledApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9315,7 +9315,7 @@ enum ListEntitledApplicationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9329,7 +9329,7 @@ enum ListTagsForResourceOutputError { enum StartAppBlockBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9349,7 +9349,7 @@ enum StartAppBlockBuilderOutputError { enum StartFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9370,7 +9370,7 @@ enum StartFleetOutputError { enum StartImageBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9388,7 +9388,7 @@ enum StartImageBuilderOutputError { enum StopAppBlockBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9404,7 +9404,7 @@ enum StopAppBlockBuilderOutputError { enum StopFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9419,7 +9419,7 @@ enum StopFleetOutputError { enum StopImageBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9435,7 +9435,7 @@ enum StopImageBuilderOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9451,7 +9451,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9465,7 +9465,7 @@ enum UntagResourceOutputError { enum UpdateAppBlockBuilderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9488,7 +9488,7 @@ enum UpdateAppBlockBuilderOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9504,7 +9504,7 @@ enum UpdateApplicationOutputError { enum UpdateDirectoryConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9522,7 +9522,7 @@ enum UpdateDirectoryConfigOutputError { enum UpdateEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9539,7 +9539,7 @@ enum UpdateEntitlementOutputError { enum UpdateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9563,7 +9563,7 @@ enum UpdateFleetOutputError { enum UpdateImagePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9579,7 +9579,7 @@ enum UpdateImagePermissionsOutputError { enum UpdateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppSync/Sources/AWSAppSync/Models.swift b/Sources/Services/AWSAppSync/Sources/AWSAppSync/Models.swift index dd5a21e819c..75c5607f018 100644 --- a/Sources/Services/AWSAppSync/Sources/AWSAppSync/Models.swift +++ b/Sources/Services/AWSAppSync/Sources/AWSAppSync/Models.swift @@ -9,7 +9,7 @@ import Foundation import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -583,7 +583,7 @@ public struct ApiKeyLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -607,7 +607,7 @@ public struct ApiKeyValidityOutOfBoundsException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -631,7 +631,7 @@ public struct ApiLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -798,7 +798,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -826,7 +826,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -850,7 +850,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -904,7 +904,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -928,7 +928,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -952,7 +952,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3797,7 +3797,7 @@ public struct GraphQLSchemaException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6685,7 +6685,7 @@ extension UpdateTypeInput { extension AssociateApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6697,7 +6697,7 @@ extension AssociateApiOutput { extension AssociateMergedGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMergedGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMergedGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6709,7 +6709,7 @@ extension AssociateMergedGraphqlApiOutput { extension AssociateSourceGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSourceGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSourceGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6721,7 +6721,7 @@ extension AssociateSourceGraphqlApiOutput { extension CreateApiCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6733,7 +6733,7 @@ extension CreateApiCacheOutput { extension CreateApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6745,7 +6745,7 @@ extension CreateApiKeyOutput { extension CreateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6757,7 +6757,7 @@ extension CreateDataSourceOutput { extension CreateDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6769,7 +6769,7 @@ extension CreateDomainNameOutput { extension CreateFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6781,7 +6781,7 @@ extension CreateFunctionOutput { extension CreateGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6793,7 +6793,7 @@ extension CreateGraphqlApiOutput { extension CreateResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6805,7 +6805,7 @@ extension CreateResolverOutput { extension CreateTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6817,70 +6817,70 @@ extension CreateTypeOutput { extension DeleteApiCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiCacheOutput { return DeleteApiCacheOutput() } } extension DeleteApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiKeyOutput { return DeleteApiKeyOutput() } } extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { return DeleteDataSourceOutput() } } extension DeleteDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainNameOutput { return DeleteDomainNameOutput() } } extension DeleteFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionOutput { return DeleteFunctionOutput() } } extension DeleteGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGraphqlApiOutput { return DeleteGraphqlApiOutput() } } extension DeleteResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResolverOutput { return DeleteResolverOutput() } } extension DeleteTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTypeOutput { return DeleteTypeOutput() } } extension DisassociateApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateApiOutput { return DisassociateApiOutput() } } extension DisassociateMergedGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMergedGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMergedGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6892,7 +6892,7 @@ extension DisassociateMergedGraphqlApiOutput { extension DisassociateSourceGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateSourceGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateSourceGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6904,7 +6904,7 @@ extension DisassociateSourceGraphqlApiOutput { extension EvaluateCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EvaluateCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EvaluateCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6918,7 +6918,7 @@ extension EvaluateCodeOutput { extension EvaluateMappingTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EvaluateMappingTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EvaluateMappingTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6932,14 +6932,14 @@ extension EvaluateMappingTemplateOutput { extension FlushApiCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FlushApiCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FlushApiCacheOutput { return FlushApiCacheOutput() } } extension GetApiAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6951,7 +6951,7 @@ extension GetApiAssociationOutput { extension GetApiCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApiCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApiCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6963,7 +6963,7 @@ extension GetApiCacheOutput { extension GetDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6975,7 +6975,7 @@ extension GetDataSourceOutput { extension GetDataSourceIntrospectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceIntrospectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceIntrospectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6990,7 +6990,7 @@ extension GetDataSourceIntrospectionOutput { extension GetDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7002,7 +7002,7 @@ extension GetDomainNameOutput { extension GetFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7014,7 +7014,7 @@ extension GetFunctionOutput { extension GetGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7026,7 +7026,7 @@ extension GetGraphqlApiOutput { extension GetGraphqlApiEnvironmentVariablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGraphqlApiEnvironmentVariablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGraphqlApiEnvironmentVariablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7038,7 +7038,7 @@ extension GetGraphqlApiEnvironmentVariablesOutput { extension GetIntrospectionSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntrospectionSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntrospectionSchemaOutput { var value = GetIntrospectionSchemaOutput() switch httpResponse.body { case .data(let data): @@ -7054,7 +7054,7 @@ extension GetIntrospectionSchemaOutput { extension GetResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7066,7 +7066,7 @@ extension GetResolverOutput { extension GetSchemaCreationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaCreationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaCreationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7079,7 +7079,7 @@ extension GetSchemaCreationStatusOutput { extension GetSourceApiAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSourceApiAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSourceApiAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7091,7 +7091,7 @@ extension GetSourceApiAssociationOutput { extension GetTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7103,7 +7103,7 @@ extension GetTypeOutput { extension ListApiKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApiKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApiKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7116,7 +7116,7 @@ extension ListApiKeysOutput { extension ListDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7129,7 +7129,7 @@ extension ListDataSourcesOutput { extension ListDomainNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7142,7 +7142,7 @@ extension ListDomainNamesOutput { extension ListFunctionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7155,7 +7155,7 @@ extension ListFunctionsOutput { extension ListGraphqlApisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGraphqlApisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGraphqlApisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7168,7 +7168,7 @@ extension ListGraphqlApisOutput { extension ListResolversOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolversOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolversOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7181,7 +7181,7 @@ extension ListResolversOutput { extension ListResolversByFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolversByFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolversByFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7194,7 +7194,7 @@ extension ListResolversByFunctionOutput { extension ListSourceApiAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSourceApiAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSourceApiAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7207,7 +7207,7 @@ extension ListSourceApiAssociationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7219,7 +7219,7 @@ extension ListTagsForResourceOutput { extension ListTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7232,7 +7232,7 @@ extension ListTypesOutput { extension ListTypesByAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypesByAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypesByAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7245,7 +7245,7 @@ extension ListTypesByAssociationOutput { extension PutGraphqlApiEnvironmentVariablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutGraphqlApiEnvironmentVariablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutGraphqlApiEnvironmentVariablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7257,7 +7257,7 @@ extension PutGraphqlApiEnvironmentVariablesOutput { extension StartDataSourceIntrospectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataSourceIntrospectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataSourceIntrospectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7271,7 +7271,7 @@ extension StartDataSourceIntrospectionOutput { extension StartSchemaCreationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSchemaCreationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSchemaCreationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7283,7 +7283,7 @@ extension StartSchemaCreationOutput { extension StartSchemaMergeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSchemaMergeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSchemaMergeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7295,21 +7295,21 @@ extension StartSchemaMergeOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApiCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7321,7 +7321,7 @@ extension UpdateApiCacheOutput { extension UpdateApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7333,7 +7333,7 @@ extension UpdateApiKeyOutput { extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7345,7 +7345,7 @@ extension UpdateDataSourceOutput { extension UpdateDomainNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7357,7 +7357,7 @@ extension UpdateDomainNameOutput { extension UpdateFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7369,7 +7369,7 @@ extension UpdateFunctionOutput { extension UpdateGraphqlApiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGraphqlApiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGraphqlApiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7381,7 +7381,7 @@ extension UpdateGraphqlApiOutput { extension UpdateResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7393,7 +7393,7 @@ extension UpdateResolverOutput { extension UpdateSourceApiAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSourceApiAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSourceApiAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7405,7 +7405,7 @@ extension UpdateSourceApiAssociationOutput { extension UpdateTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7417,7 +7417,7 @@ extension UpdateTypeOutput { enum AssociateApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7434,7 +7434,7 @@ enum AssociateApiOutputError { enum AssociateMergedGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7453,7 +7453,7 @@ enum AssociateMergedGraphqlApiOutputError { enum AssociateSourceGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7472,7 +7472,7 @@ enum AssociateSourceGraphqlApiOutputError { enum CreateApiCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7490,7 +7490,7 @@ enum CreateApiCacheOutputError { enum CreateApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7510,7 +7510,7 @@ enum CreateApiKeyOutputError { enum CreateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7528,7 +7528,7 @@ enum CreateDataSourceOutputError { enum CreateDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7544,7 +7544,7 @@ enum CreateDomainNameOutputError { enum CreateFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7562,7 +7562,7 @@ enum CreateFunctionOutputError { enum CreateGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7581,7 +7581,7 @@ enum CreateGraphqlApiOutputError { enum CreateResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7599,7 +7599,7 @@ enum CreateResolverOutputError { enum CreateTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7617,7 +7617,7 @@ enum CreateTypeOutputError { enum DeleteApiCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7635,7 +7635,7 @@ enum DeleteApiCacheOutputError { enum DeleteApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7652,7 +7652,7 @@ enum DeleteApiKeyOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7670,7 +7670,7 @@ enum DeleteDataSourceOutputError { enum DeleteDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7688,7 +7688,7 @@ enum DeleteDomainNameOutputError { enum DeleteFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7706,7 +7706,7 @@ enum DeleteFunctionOutputError { enum DeleteGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7725,7 +7725,7 @@ enum DeleteGraphqlApiOutputError { enum DeleteResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7743,7 +7743,7 @@ enum DeleteResolverOutputError { enum DeleteTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7761,7 +7761,7 @@ enum DeleteTypeOutputError { enum DisassociateApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7779,7 +7779,7 @@ enum DisassociateApiOutputError { enum DisassociateMergedGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7797,7 +7797,7 @@ enum DisassociateMergedGraphqlApiOutputError { enum DisassociateSourceGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7815,7 +7815,7 @@ enum DisassociateSourceGraphqlApiOutputError { enum EvaluateCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7831,7 +7831,7 @@ enum EvaluateCodeOutputError { enum EvaluateMappingTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7847,7 +7847,7 @@ enum EvaluateMappingTemplateOutputError { enum FlushApiCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7865,7 +7865,7 @@ enum FlushApiCacheOutputError { enum GetApiAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7882,7 +7882,7 @@ enum GetApiAssociationOutputError { enum GetApiCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7900,7 +7900,7 @@ enum GetApiCacheOutputError { enum GetDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7918,7 +7918,7 @@ enum GetDataSourceOutputError { enum GetDataSourceIntrospectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7934,7 +7934,7 @@ enum GetDataSourceIntrospectionOutputError { enum GetDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7951,7 +7951,7 @@ enum GetDomainNameOutputError { enum GetFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7967,7 +7967,7 @@ enum GetFunctionOutputError { enum GetGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7985,7 +7985,7 @@ enum GetGraphqlApiOutputError { enum GetGraphqlApiEnvironmentVariablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8003,7 +8003,7 @@ enum GetGraphqlApiEnvironmentVariablesOutputError { enum GetIntrospectionSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8020,7 +8020,7 @@ enum GetIntrospectionSchemaOutputError { enum GetResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8036,7 +8036,7 @@ enum GetResolverOutputError { enum GetSchemaCreationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8053,7 +8053,7 @@ enum GetSchemaCreationStatusOutputError { enum GetSourceApiAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8070,7 +8070,7 @@ enum GetSourceApiAssociationOutputError { enum GetTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8088,7 +8088,7 @@ enum GetTypeOutputError { enum ListApiKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8105,7 +8105,7 @@ enum ListApiKeysOutputError { enum ListDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8122,7 +8122,7 @@ enum ListDataSourcesOutputError { enum ListDomainNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8138,7 +8138,7 @@ enum ListDomainNamesOutputError { enum ListFunctionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8155,7 +8155,7 @@ enum ListFunctionsOutputError { enum ListGraphqlApisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8171,7 +8171,7 @@ enum ListGraphqlApisOutputError { enum ListResolversOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8188,7 +8188,7 @@ enum ListResolversOutputError { enum ListResolversByFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8205,7 +8205,7 @@ enum ListResolversByFunctionOutputError { enum ListSourceApiAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8222,7 +8222,7 @@ enum ListSourceApiAssociationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8241,7 +8241,7 @@ enum ListTagsForResourceOutputError { enum ListTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8259,7 +8259,7 @@ enum ListTypesOutputError { enum ListTypesByAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8277,7 +8277,7 @@ enum ListTypesByAssociationOutputError { enum PutGraphqlApiEnvironmentVariablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8296,7 +8296,7 @@ enum PutGraphqlApiEnvironmentVariablesOutputError { enum StartDataSourceIntrospectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8313,7 +8313,7 @@ enum StartDataSourceIntrospectionOutputError { enum StartSchemaCreationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8331,7 +8331,7 @@ enum StartSchemaCreationOutputError { enum StartSchemaMergeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8349,7 +8349,7 @@ enum StartSchemaMergeOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8368,7 +8368,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8387,7 +8387,7 @@ enum UntagResourceOutputError { enum UpdateApiCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8405,7 +8405,7 @@ enum UpdateApiCacheOutputError { enum UpdateApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8424,7 +8424,7 @@ enum UpdateApiKeyOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8442,7 +8442,7 @@ enum UpdateDataSourceOutputError { enum UpdateDomainNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8460,7 +8460,7 @@ enum UpdateDomainNameOutputError { enum UpdateFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8478,7 +8478,7 @@ enum UpdateFunctionOutputError { enum UpdateGraphqlApiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8497,7 +8497,7 @@ enum UpdateGraphqlApiOutputError { enum UpdateResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8515,7 +8515,7 @@ enum UpdateResolverOutputError { enum UpdateSourceApiAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8533,7 +8533,7 @@ enum UpdateSourceApiAssociationOutputError { enum UpdateTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppTest/Sources/AWSAppTest/Models.swift b/Sources/Services/AWSAppTest/Sources/AWSAppTest/Models.swift index 0e92b9fa27c..bf88ef0d440 100644 --- a/Sources/Services/AWSAppTest/Sources/AWSAppTest/Models.swift +++ b/Sources/Services/AWSAppTest/Sources/AWSAppTest/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -94,7 +94,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -221,7 +221,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -284,7 +284,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -344,7 +344,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4175,7 +4175,7 @@ extension UpdateTestSuiteInput { extension CreateTestCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTestCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTestCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4188,7 +4188,7 @@ extension CreateTestCaseOutput { extension CreateTestConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTestConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTestConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4201,7 +4201,7 @@ extension CreateTestConfigurationOutput { extension CreateTestSuiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTestSuiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTestSuiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4214,35 +4214,35 @@ extension CreateTestSuiteOutput { extension DeleteTestCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTestCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTestCaseOutput { return DeleteTestCaseOutput() } } extension DeleteTestConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTestConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTestConfigurationOutput { return DeleteTestConfigurationOutput() } } extension DeleteTestRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTestRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTestRunOutput { return DeleteTestRunOutput() } } extension DeleteTestSuiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTestSuiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTestSuiteOutput { return DeleteTestSuiteOutput() } } extension GetTestCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4265,7 +4265,7 @@ extension GetTestCaseOutput { extension GetTestConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4290,7 +4290,7 @@ extension GetTestConfigurationOutput { extension GetTestRunStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestRunStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestRunStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4314,7 +4314,7 @@ extension GetTestRunStepOutput { extension GetTestSuiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestSuiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestSuiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4339,7 +4339,7 @@ extension GetTestSuiteOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4351,7 +4351,7 @@ extension ListTagsForResourceOutput { extension ListTestCasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestCasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestCasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4364,7 +4364,7 @@ extension ListTestCasesOutput { extension ListTestConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4377,7 +4377,7 @@ extension ListTestConfigurationsOutput { extension ListTestRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4390,7 +4390,7 @@ extension ListTestRunsOutput { extension ListTestRunStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestRunStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestRunStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4403,7 +4403,7 @@ extension ListTestRunStepsOutput { extension ListTestRunTestCasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestRunTestCasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestRunTestCasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4416,7 +4416,7 @@ extension ListTestRunTestCasesOutput { extension ListTestSuitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestSuitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestSuitesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4429,7 +4429,7 @@ extension ListTestSuitesOutput { extension StartTestRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTestRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTestRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4442,21 +4442,21 @@ extension StartTestRunOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateTestCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTestCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTestCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4469,7 +4469,7 @@ extension UpdateTestCaseOutput { extension UpdateTestConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTestConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTestConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4482,7 +4482,7 @@ extension UpdateTestConfigurationOutput { extension UpdateTestSuiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTestSuiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTestSuiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4495,7 +4495,7 @@ extension UpdateTestSuiteOutput { enum CreateTestCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4514,7 +4514,7 @@ enum CreateTestCaseOutputError { enum CreateTestConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4533,7 +4533,7 @@ enum CreateTestConfigurationOutputError { enum CreateTestSuiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4552,7 +4552,7 @@ enum CreateTestSuiteOutputError { enum DeleteTestCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4571,7 +4571,7 @@ enum DeleteTestCaseOutputError { enum DeleteTestConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4590,7 +4590,7 @@ enum DeleteTestConfigurationOutputError { enum DeleteTestRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4608,7 +4608,7 @@ enum DeleteTestRunOutputError { enum DeleteTestSuiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4627,7 +4627,7 @@ enum DeleteTestSuiteOutputError { enum GetTestCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4645,7 +4645,7 @@ enum GetTestCaseOutputError { enum GetTestConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4663,7 +4663,7 @@ enum GetTestConfigurationOutputError { enum GetTestRunStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4681,7 +4681,7 @@ enum GetTestRunStepOutputError { enum GetTestSuiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4699,7 +4699,7 @@ enum GetTestSuiteOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4717,7 +4717,7 @@ enum ListTagsForResourceOutputError { enum ListTestCasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4735,7 +4735,7 @@ enum ListTestCasesOutputError { enum ListTestConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4753,7 +4753,7 @@ enum ListTestConfigurationsOutputError { enum ListTestRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4771,7 +4771,7 @@ enum ListTestRunsOutputError { enum ListTestRunStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4789,7 +4789,7 @@ enum ListTestRunStepsOutputError { enum ListTestRunTestCasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4807,7 +4807,7 @@ enum ListTestRunTestCasesOutputError { enum ListTestSuitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4825,7 +4825,7 @@ enum ListTestSuitesOutputError { enum StartTestRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4845,7 +4845,7 @@ enum StartTestRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4864,7 +4864,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4882,7 +4882,7 @@ enum UntagResourceOutputError { enum UpdateTestCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4901,7 +4901,7 @@ enum UpdateTestCaseOutputError { enum UpdateTestConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4920,7 +4920,7 @@ enum UpdateTestConfigurationOutputError { enum UpdateTestSuiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAppflow/Sources/AWSAppflow/Models.swift b/Sources/Services/AWSAppflow/Sources/AWSAppflow/Models.swift index 26a11ee3d43..06c52811794 100644 --- a/Sources/Services/AWSAppflow/Sources/AWSAppflow/Models.swift +++ b/Sources/Services/AWSAppflow/Sources/AWSAppflow/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -512,7 +512,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -536,7 +536,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -560,7 +560,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -584,7 +584,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -663,7 +663,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -716,7 +716,7 @@ public struct ConnectorAuthenticationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3939,6 +3939,11 @@ extension AppflowClientTypes { } +extension AppflowClientTypes.CustomAuthCredentials: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CustomAuthCredentials(customAuthenticationType: \(Swift.String(describing: customAuthenticationType)), credentialsMap: \"CONTENT_REDACTED\")"} +} + extension AppflowClientTypes { /// The OAuth 2.0 credentials required for OAuth 2.0 authentication. public struct OAuth2Credentials { @@ -4669,7 +4674,7 @@ public struct ConnectorServerException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4693,7 +4698,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7283,7 +7288,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7971,7 +7976,7 @@ extension UpdateFlowInput { extension CancelFlowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelFlowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelFlowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7983,7 +7988,7 @@ extension CancelFlowExecutionsOutput { extension CreateConnectorProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7995,7 +8000,7 @@ extension CreateConnectorProfileOutput { extension CreateFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8008,21 +8013,21 @@ extension CreateFlowOutput { extension DeleteConnectorProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorProfileOutput { return DeleteConnectorProfileOutput() } } extension DeleteFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowOutput { return DeleteFlowOutput() } } extension DescribeConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8034,7 +8039,7 @@ extension DescribeConnectorOutput { extension DescribeConnectorEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectorEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectorEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8046,7 +8051,7 @@ extension DescribeConnectorEntityOutput { extension DescribeConnectorProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectorProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectorProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8059,7 +8064,7 @@ extension DescribeConnectorProfilesOutput { extension DescribeConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8073,7 +8078,7 @@ extension DescribeConnectorsOutput { extension DescribeFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8103,7 +8108,7 @@ extension DescribeFlowOutput { extension DescribeFlowExecutionRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlowExecutionRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlowExecutionRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8116,7 +8121,7 @@ extension DescribeFlowExecutionRecordsOutput { extension ListConnectorEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8129,7 +8134,7 @@ extension ListConnectorEntitiesOutput { extension ListConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8142,7 +8147,7 @@ extension ListConnectorsOutput { extension ListFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8155,7 +8160,7 @@ extension ListFlowsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8167,7 +8172,7 @@ extension ListTagsForResourceOutput { extension RegisterConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8179,14 +8184,14 @@ extension RegisterConnectorOutput { extension ResetConnectorMetadataCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetConnectorMetadataCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetConnectorMetadataCacheOutput { return ResetConnectorMetadataCacheOutput() } } extension StartFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8200,7 +8205,7 @@ extension StartFlowOutput { extension StopFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8213,28 +8218,28 @@ extension StopFlowOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnregisterConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnregisterConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnregisterConnectorOutput { return UnregisterConnectorOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConnectorProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectorProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectorProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8246,7 +8251,7 @@ extension UpdateConnectorProfileOutput { extension UpdateConnectorRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectorRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectorRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8258,7 +8263,7 @@ extension UpdateConnectorRegistrationOutput { extension UpdateFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8270,7 +8275,7 @@ extension UpdateFlowOutput { enum CancelFlowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8288,7 +8293,7 @@ enum CancelFlowExecutionsOutputError { enum CreateConnectorProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8306,7 +8311,7 @@ enum CreateConnectorProfileOutputError { enum CreateFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8327,7 +8332,7 @@ enum CreateFlowOutputError { enum DeleteConnectorProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8343,7 +8348,7 @@ enum DeleteConnectorProfileOutputError { enum DeleteFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8359,7 +8364,7 @@ enum DeleteFlowOutputError { enum DescribeConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8375,7 +8380,7 @@ enum DescribeConnectorOutputError { enum DescribeConnectorEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8393,7 +8398,7 @@ enum DescribeConnectorEntityOutputError { enum DescribeConnectorProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8408,7 +8413,7 @@ enum DescribeConnectorProfilesOutputError { enum DescribeConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8423,7 +8428,7 @@ enum DescribeConnectorsOutputError { enum DescribeFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8438,7 +8443,7 @@ enum DescribeFlowOutputError { enum DescribeFlowExecutionRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8454,7 +8459,7 @@ enum DescribeFlowExecutionRecordsOutputError { enum ListConnectorEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8472,7 +8477,7 @@ enum ListConnectorEntitiesOutputError { enum ListConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8487,7 +8492,7 @@ enum ListConnectorsOutputError { enum ListFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8502,7 +8507,7 @@ enum ListFlowsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8518,7 +8523,7 @@ enum ListTagsForResourceOutputError { enum RegisterConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8540,7 +8545,7 @@ enum RegisterConnectorOutputError { enum ResetConnectorMetadataCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8557,7 +8562,7 @@ enum ResetConnectorMetadataCacheOutputError { enum StartFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8574,7 +8579,7 @@ enum StartFlowOutputError { enum StopFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8591,7 +8596,7 @@ enum StopFlowOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8607,7 +8612,7 @@ enum TagResourceOutputError { enum UnregisterConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8623,7 +8628,7 @@ enum UnregisterConnectorOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8639,7 +8644,7 @@ enum UntagResourceOutputError { enum UpdateConnectorProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8657,7 +8662,7 @@ enum UpdateConnectorProfileOutputError { enum UpdateConnectorRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8679,7 +8684,7 @@ enum UpdateConnectorRegistrationOutputError { enum UpdateFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift index 95629d5269e..c9e28c1c9db 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift @@ -494,7 +494,7 @@ extension ApplicationAutoScalingClient { /// Performs the `DescribeScheduledActions` operation on the `AnyScaleFrontendService` service. /// - /// Describes the Application Auto Scaling scheduled actions for the specified service namespace. You can filter the results using the ResourceId, ScalableDimension, and ScheduledActionNames parameters. For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) and [Managing scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html) in the Application Auto Scaling User Guide. + /// Describes the Application Auto Scaling scheduled actions for the specified service namespace. You can filter the results using the ResourceId, ScalableDimension, and ScheduledActionNames parameters. For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the Application Auto Scaling User Guide. /// /// - Parameter DescribeScheduledActionsInput : [no documentation found] /// @@ -546,7 +546,7 @@ extension ApplicationAutoScalingClient { /// Performs the `ListTagsForResource` operation on the `AnyScaleFrontendService` service. /// - /// Returns all the tags on the specified Application Auto Scaling scalable target. For general information about tags, including the format and syntax, see [Tagging Amazon Web Services resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference. + /// Returns all the tags on the specified Application Auto Scaling scalable target. For general information about tags, including the format and syntax, see [Tagging your Amazon Web Services resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference. /// /// - Parameter ListTagsForResourceInput : [no documentation found] /// @@ -754,7 +754,7 @@ extension ApplicationAutoScalingClient { /// Performs the `TagResource` operation on the `AnyScaleFrontendService` service. /// - /// Adds or edits tags on an Application Auto Scaling scalable target. Each tag consists of a tag key and a tag value, which are both case-sensitive strings. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value. You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a scaling policy or scheduled action. You can also add tags to an Application Auto Scaling scalable target while creating it (RegisterScalableTarget). For general information about tags, including the format and syntax, see [Tagging Amazon Web Services resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference. Use tags to control access to a scalable target. For more information, see [Tagging support for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html) in the Application Auto Scaling User Guide. + /// Adds or edits tags on an Application Auto Scaling scalable target. Each tag consists of a tag key and a tag value, which are both case-sensitive strings. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value. You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a scaling policy or scheduled action. You can also add tags to an Application Auto Scaling scalable target while creating it (RegisterScalableTarget). For general information about tags, including the format and syntax, see [Tagging your Amazon Web Services resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference. Use tags to control access to a scalable target. For more information, see [Tagging support for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html) in the Application Auto Scaling User Guide. /// /// - Parameter TagResourceInput : [no documentation found] /// diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/Models.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/Models.swift index bbfc0b788c8..af5d3a541e5 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/Models.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -87,7 +87,7 @@ public struct ConcurrentUpdateException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -135,7 +135,7 @@ public struct ObjectNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,7 +159,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,6 +196,7 @@ extension ApplicationAutoScalingClientTypes { case sagemakerinferencecomponentdesiredcopycount case sagemakervariantdesiredinstancecount case sagemakervariantdesiredprovisionedconcurrency + case workspacesworkspacespooldesiredusersessions case sdkUnknown(Swift.String) public static var allCases: [ScalableDimension] { @@ -221,7 +222,8 @@ extension ApplicationAutoScalingClientTypes { .rdsclusterreadreplicacount, .sagemakerinferencecomponentdesiredcopycount, .sagemakervariantdesiredinstancecount, - .sagemakervariantdesiredprovisionedconcurrency + .sagemakervariantdesiredprovisionedconcurrency, + .workspacesworkspacespooldesiredusersessions ] } @@ -254,6 +256,7 @@ extension ApplicationAutoScalingClientTypes { case .sagemakerinferencecomponentdesiredcopycount: return "sagemaker:inference-component:DesiredCopyCount" case .sagemakervariantdesiredinstancecount: return "sagemaker:variant:DesiredInstanceCount" case .sagemakervariantdesiredprovisionedconcurrency: return "sagemaker:variant:DesiredProvisionedConcurrency" + case .workspacesworkspacespooldesiredusersessions: return "workspaces:workspacespool:DesiredUserSessions" case let .sdkUnknown(s): return s } } @@ -277,6 +280,7 @@ extension ApplicationAutoScalingClientTypes { case neptune case rds case sagemaker + case workspaces case sdkUnknown(Swift.String) public static var allCases: [ServiceNamespace] { @@ -294,7 +298,8 @@ extension ApplicationAutoScalingClientTypes { .lambda, .neptune, .rds, - .sagemaker + .sagemaker, + .workspaces ] } @@ -319,6 +324,7 @@ extension ApplicationAutoScalingClientTypes { case .neptune: return "neptune" case .rds: return "rds" case .sagemaker: return "sagemaker" + case .workspaces: return "workspaces" case let .sdkUnknown(s): return s } } @@ -331,7 +337,7 @@ public struct DeleteScalingPolicyInput { public var policyName: Swift.String? /// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -363,20 +369,22 @@ public struct DeleteScalingPolicyInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -410,9 +418,11 @@ public struct DeleteScalingPolicyInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. @@ -441,7 +451,7 @@ public struct DeleteScalingPolicyOutput { public struct DeleteScheduledActionInput { /// The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -473,20 +483,22 @@ public struct DeleteScheduledActionInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -520,9 +532,11 @@ public struct DeleteScheduledActionInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The name of the scheduled action. @@ -554,7 +568,7 @@ public struct DeleteScheduledActionOutput { public struct DeregisterScalableTargetInput { /// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -586,20 +600,22 @@ public struct DeregisterScalableTargetInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -633,9 +649,11 @@ public struct DeregisterScalableTargetInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. @@ -671,7 +689,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -690,7 +708,7 @@ public struct DescribeScalableTargetsInput { public var nextToken: Swift.String? /// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -722,19 +740,21 @@ public struct DescribeScalableTargetsInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. public var resourceIds: [Swift.String]? /// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -768,9 +788,11 @@ public struct DescribeScalableTargetsInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. /// This member is required. @@ -830,7 +852,7 @@ extension ApplicationAutoScalingClientTypes { public var minCapacity: Swift.Int? /// The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -862,9 +884,11 @@ extension ApplicationAutoScalingClientTypes { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. @@ -872,13 +896,13 @@ extension ApplicationAutoScalingClientTypes { public var roleARN: Swift.String? /// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -912,9 +936,11 @@ extension ApplicationAutoScalingClientTypes { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The ARN of the scalable target. @@ -976,7 +1002,7 @@ public struct DescribeScalingActivitiesInput { public var nextToken: Swift.String? /// The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -1008,19 +1034,21 @@ public struct DescribeScalingActivitiesInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -1054,9 +1082,11 @@ public struct DescribeScalingActivitiesInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. /// This member is required. @@ -1081,7 +1111,7 @@ public struct DescribeScalingActivitiesInput { } extension ApplicationAutoScalingClientTypes { - /// Describes the reason for an activity that isn't scaled (not scaled activity), in machine-readable format. For help interpreting the not scaled reason details, see [Scaling activities for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html). + /// Describes the reason for an activity that isn't scaled (not scaled activity), in machine-readable format. For help interpreting the not scaled reason details, see [Scaling activities for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html) in the Application Auto Scaling User Guide. public struct NotScaledReason { /// A code that represents the reason for not scaling. Valid values: /// @@ -1180,7 +1210,7 @@ extension ApplicationAutoScalingClientTypes { public var notScaledReasons: [ApplicationAutoScalingClientTypes.NotScaledReason]? /// The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -1212,20 +1242,22 @@ extension ApplicationAutoScalingClientTypes { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -1259,9 +1291,11 @@ extension ApplicationAutoScalingClientTypes { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource, or a custom-resource. @@ -1336,7 +1370,7 @@ public struct FailedResourceAccessException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1357,7 +1391,7 @@ public struct DescribeScalingPoliciesInput { public var policyNames: [Swift.String]? /// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -1389,19 +1423,21 @@ public struct DescribeScalingPoliciesInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -1435,9 +1471,11 @@ public struct DescribeScalingPoliciesInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. /// This member is required. @@ -1663,7 +1701,7 @@ extension ApplicationAutoScalingClientTypes { } extension ApplicationAutoScalingClientTypes { - /// This structure defines the CloudWatch metric to return, along with the statistic, period, and unit. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the Amazon CloudWatch User Guide. + /// This structure defines the CloudWatch metric to return, along with the statistic and unit. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the Amazon CloudWatch User Guide. public struct TargetTrackingMetricStat { /// The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). /// This member is required. @@ -1829,6 +1867,7 @@ extension ApplicationAutoScalingClientTypes { case sagemakerinferencecomponentinvocationspercopy case sagemakervariantinvocationsperinstance case sagemakervariantprovisionedconcurrencyutilization + case workspacesaverageusersessionscapacityutilization case sdkUnknown(Swift.String) public static var allCases: [MetricType] { @@ -1856,7 +1895,8 @@ extension ApplicationAutoScalingClientTypes { .rdsreaderaveragedatabaseconnections, .sagemakerinferencecomponentinvocationspercopy, .sagemakervariantinvocationsperinstance, - .sagemakervariantprovisionedconcurrencyutilization + .sagemakervariantprovisionedconcurrencyutilization, + .workspacesaverageusersessionscapacityutilization ] } @@ -1891,6 +1931,7 @@ extension ApplicationAutoScalingClientTypes { case .sagemakerinferencecomponentinvocationspercopy: return "SageMakerInferenceComponentInvocationsPerCopy" case .sagemakervariantinvocationsperinstance: return "SageMakerVariantInvocationsPerInstance" case .sagemakervariantprovisionedconcurrencyutilization: return "SageMakerVariantProvisionedConcurrencyUtilization" + case .workspacesaverageusersessionscapacityutilization: return "WorkSpacesAverageUserSessionsCapacityUtilization" case let .sdkUnknown(s): return s } } @@ -1898,7 +1939,7 @@ extension ApplicationAutoScalingClientTypes { } extension ApplicationAutoScalingClientTypes { - /// Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling. Only the Amazon Web Services that you're using send metrics to Amazon CloudWatch. To determine whether a desired metric already exists by looking up its namespace and dimension using the CloudWatch metrics dashboard in the console, follow the procedure in [Monitor your resources using CloudWatch](https://docs.aws.amazon.com/autoscaling/application/userguide/monitoring-cloudwatch.html) in the Application Auto Scaling User Guide. + /// Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling. For more information, [Predefined metrics for target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/monitor-cloudwatch-metrics.html#predefined-metrics) in the Application Auto Scaling User Guide. public struct PredefinedMetricSpecification { /// The metric type. The ALBRequestCountPerTarget metric type applies only to Spot Fleets and ECS services. /// This member is required. @@ -1981,7 +2022,7 @@ extension ApplicationAutoScalingClientTypes { public var policyType: ApplicationAutoScalingClientTypes.PolicyType? /// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -2013,20 +2054,22 @@ extension ApplicationAutoScalingClientTypes { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -2060,9 +2103,11 @@ extension ApplicationAutoScalingClientTypes { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource, or a custom-resource. @@ -2124,7 +2169,7 @@ public struct DescribeScheduledActionsInput { public var nextToken: Swift.String? /// The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -2156,19 +2201,21 @@ public struct DescribeScheduledActionsInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -2202,9 +2249,11 @@ public struct DescribeScheduledActionsInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The names of the scheduled actions to describe. public var scheduledActionNames: [Swift.String]? @@ -2260,7 +2309,7 @@ extension ApplicationAutoScalingClientTypes { public var endTime: Foundation.Date? /// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -2292,20 +2341,22 @@ extension ApplicationAutoScalingClientTypes { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -2339,9 +2390,11 @@ extension ApplicationAutoScalingClientTypes { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. public var scalableTargetAction: ApplicationAutoScalingClientTypes.ScalableTargetAction? @@ -2354,7 +2407,7 @@ extension ApplicationAutoScalingClientTypes { /// * Cron expressions - "cron(fields)" /// /// - /// At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days. For more information and examples, see [Example scheduled actions for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html) in the Application Auto Scaling User Guide. + /// At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days. For more information, see [Schedule recurring scaling actions using cron expressions](https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html) in the Application Auto Scaling User Guide. /// This member is required. public var schedule: Swift.String? /// The Amazon Resource Name (ARN) of the scheduled action. @@ -2431,7 +2484,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2482,7 +2535,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2502,7 +2555,7 @@ public struct PutScalingPolicyInput { public var policyType: ApplicationAutoScalingClientTypes.PolicyType? /// The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -2534,20 +2587,22 @@ public struct PutScalingPolicyInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -2581,9 +2636,11 @@ public struct PutScalingPolicyInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. @@ -2636,7 +2693,7 @@ public struct PutScheduledActionInput { public var endTime: Foundation.Date? /// The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -2668,20 +2725,22 @@ public struct PutScheduledActionInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? /// The scalable dimension. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -2715,9 +2774,11 @@ public struct PutScheduledActionInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. @@ -2731,7 +2792,7 @@ public struct PutScheduledActionInput { /// * Cron expressions - "cron(fields)" /// /// - /// At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days. For more information and examples, see [Example scheduled actions for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html) in the Application Auto Scaling User Guide. + /// At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days. For more information, see [Schedule recurring scaling actions using cron expressions](https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html) in the Application Auto Scaling User Guide. public var schedule: Swift.String? /// The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target. /// This member is required. @@ -2790,7 +2851,9 @@ public struct RegisterScalableTargetInput { /// /// * SageMaker endpoint variants /// - /// * SageMaker Serverless endpoint provisioned concurrency + /// * SageMaker inference components + /// + /// * SageMaker serverless endpoint provisioned concurrency /// /// * Spot Fleets /// @@ -2801,7 +2864,7 @@ public struct RegisterScalableTargetInput { public var minCapacity: Swift.Int? /// The identifier of the resource that is associated with the scalable target. This string consists of the resource type and unique identifier. /// - /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp. + /// * ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service. /// /// * Spot Fleet - The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. /// @@ -2833,22 +2896,24 @@ public struct RegisterScalableTargetInput { /// /// * Neptune cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:mycluster. /// - /// * SageMaker Serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. + /// * SageMaker serverless endpoint - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. /// /// * SageMaker inference component - The resource type is inference-component and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + /// + /// * Pool of WorkSpaces - The resource type is workspacespool and the unique identifier is the pool ID. Example: workspacespool/wspool-123456. /// This member is required. public var resourceId: Swift.String? - /// This parameter is required for services that do not support service-linked roles (such as Amazon EMR), and it must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. If the service supports service-linked roles, Application Auto Scaling uses a service-linked role, which it creates if it does not yet exist. For more information, see [Application Auto Scaling IAM roles](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles). + /// This parameter is required for services that do not support service-linked roles (such as Amazon EMR), and it must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. If the service supports service-linked roles, Application Auto Scaling uses a service-linked role, which it creates if it does not yet exist. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html). public var roleARN: Swift.String? /// The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. /// - /// * ecs:service:DesiredCount - The desired task count of an ECS service. + /// * ecs:service:DesiredCount - The task count of an ECS service. /// /// * elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group. /// /// * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet. /// - /// * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet. + /// * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. /// /// * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table. /// @@ -2882,9 +2947,11 @@ public struct RegisterScalableTargetInput { /// /// * neptune:cluster:ReadReplicaCount - The count of read replicas in an Amazon Neptune DB cluster. /// - /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker Serverless endpoint. + /// * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency for a SageMaker serverless endpoint. /// /// * sagemaker:inference-component:DesiredCopyCount - The number of copies across an endpoint for a SageMaker inference component. + /// + /// * workspaces:workspacespool:DesiredUserSessions - The number of user sessions for the WorkSpaces in the pool. /// This member is required. public var scalableDimension: ApplicationAutoScalingClientTypes.ScalableDimension? /// The namespace of the Amazon Web Services service that provides the resource. For a resource provided by your own application or service, use custom-resource instead. @@ -2899,7 +2966,7 @@ public struct RegisterScalableTargetInput { /// * For ScheduledScalingSuspended, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended. /// /// - /// For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the Application Auto Scaling User Guide. + /// For more information, see [Suspend and resume scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the Application Auto Scaling User Guide. public var suspendedState: ApplicationAutoScalingClientTypes.SuspendedState? /// Assigns one or more tags to the scalable target. Use this parameter to tag the scalable target when it is created. To tag an existing scalable target, use the [TagResource] operation. Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required. You cannot have more than one tag on a scalable target with the same tag key. Use tags to control access to a scalable target. For more information, see [Tagging support for Application Auto Scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html) in the Application Auto Scaling User Guide. public var tags: [Swift.String: Swift.String]? @@ -2952,7 +3019,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2970,7 +3037,7 @@ public struct TagResourceInput { /// Identifies the Application Auto Scaling scalable target that you want to apply tags to. For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123 To get the ARN for a scalable target, use [DescribeScalableTargets]. /// This member is required. public var resourceARN: Swift.String? - /// The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a tag key and a tag value. You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one. For information about the rules that apply to tag keys and tag values, see [User-defined tag restrictions](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) in the Amazon Web Services Billing and Cost Management User Guide. + /// The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a tag key and a tag value. You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one. For information about the rules that apply to tag keys and tag values, see [User-defined tag restrictions](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) in the Amazon Web Services Billing User Guide. /// This member is required. public var tags: [Swift.String: Swift.String]? @@ -3259,28 +3326,28 @@ extension UntagResourceInput { extension DeleteScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScalingPolicyOutput { return DeleteScalingPolicyOutput() } } extension DeleteScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduledActionOutput { return DeleteScheduledActionOutput() } } extension DeregisterScalableTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterScalableTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterScalableTargetOutput { return DeregisterScalableTargetOutput() } } extension DescribeScalableTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalableTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalableTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3293,7 +3360,7 @@ extension DescribeScalableTargetsOutput { extension DescribeScalingActivitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingActivitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingActivitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3306,7 +3373,7 @@ extension DescribeScalingActivitiesOutput { extension DescribeScalingPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3319,7 +3386,7 @@ extension DescribeScalingPoliciesOutput { extension DescribeScheduledActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3332,7 +3399,7 @@ extension DescribeScheduledActionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3344,7 +3411,7 @@ extension ListTagsForResourceOutput { extension PutScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutScalingPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3357,14 +3424,14 @@ extension PutScalingPolicyOutput { extension PutScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutScheduledActionOutput { return PutScheduledActionOutput() } } extension RegisterScalableTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterScalableTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterScalableTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3376,21 +3443,21 @@ extension RegisterScalableTargetOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum DeleteScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3407,7 +3474,7 @@ enum DeleteScalingPolicyOutputError { enum DeleteScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3424,7 +3491,7 @@ enum DeleteScheduledActionOutputError { enum DeregisterScalableTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3441,7 +3508,7 @@ enum DeregisterScalableTargetOutputError { enum DescribeScalableTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3458,7 +3525,7 @@ enum DescribeScalableTargetsOutputError { enum DescribeScalingActivitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3475,7 +3542,7 @@ enum DescribeScalingActivitiesOutputError { enum DescribeScalingPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3493,7 +3560,7 @@ enum DescribeScalingPoliciesOutputError { enum DescribeScheduledActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3510,7 +3577,7 @@ enum DescribeScheduledActionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3524,7 +3591,7 @@ enum ListTagsForResourceOutputError { enum PutScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3543,7 +3610,7 @@ enum PutScalingPolicyOutputError { enum PutScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3561,7 +3628,7 @@ enum PutScheduledActionOutputError { enum RegisterScalableTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3578,7 +3645,7 @@ enum RegisterScalableTargetOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3594,7 +3661,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/Models.swift b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/Models.swift index 01bb4c83985..e0dc506021d 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/Models.swift +++ b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -56,7 +56,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -80,7 +80,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -104,7 +104,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -451,7 +451,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -653,7 +653,7 @@ extension UpdateReportDefinitionInput { extension DeleteReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReportDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -665,7 +665,7 @@ extension DeleteReportDefinitionOutput { extension GetReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReportDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -683,7 +683,7 @@ extension GetReportDefinitionOutput { extension ImportApplicationUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportApplicationUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportApplicationUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -695,7 +695,7 @@ extension ImportApplicationUsageOutput { extension ListReportDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -708,7 +708,7 @@ extension ListReportDefinitionsOutput { extension PutReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutReportDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -720,7 +720,7 @@ extension PutReportDefinitionOutput { extension UpdateReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReportDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -732,7 +732,7 @@ extension UpdateReportDefinitionOutput { enum DeleteReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -749,7 +749,7 @@ enum DeleteReportDefinitionOutputError { enum GetReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -766,7 +766,7 @@ enum GetReportDefinitionOutputError { enum ImportApplicationUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -783,7 +783,7 @@ enum ImportApplicationUsageOutputError { enum ListReportDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -800,7 +800,7 @@ enum ListReportDefinitionsOutputError { enum PutReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -818,7 +818,7 @@ enum PutReportDefinitionOutputError { enum UpdateReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift index ec833cea098..0b637849d8b 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -171,6 +171,11 @@ extension ApplicationDiscoveryClientTypes { } +extension ApplicationDiscoveryClientTypes.AgentInfo: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AgentInfo(agentId: \(Swift.String(describing: agentId)), agentType: \(Swift.String(describing: agentType)), collectionStatus: \(Swift.String(describing: collectionStatus)), connectorId: \(Swift.String(describing: connectorId)), health: \(Swift.String(describing: health)), hostName: \(Swift.String(describing: hostName)), lastHealthPingTime: \(Swift.String(describing: lastHealthPingTime)), registeredTime: \(Swift.String(describing: registeredTime)), version: \(Swift.String(describing: version)), agentNetworkInfoList: \"CONTENT_REDACTED\")"} +} + /// The user does not have permission to perform the action. Check the IAM policy associated with this user. public struct AuthorizationErrorException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -183,7 +188,7 @@ public struct AuthorizationErrorException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -207,7 +212,7 @@ public struct HomeRegionNotSetException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -231,7 +236,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -255,7 +260,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -279,7 +284,7 @@ public struct ServerInternalErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -545,7 +550,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -931,7 +936,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2117,7 +2122,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2171,7 +2176,7 @@ public struct ConflictErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2195,7 +2200,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3122,14 +3127,14 @@ extension UpdateApplicationInput { extension AssociateConfigurationItemsToApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateConfigurationItemsToApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateConfigurationItemsToApplicationOutput { return AssociateConfigurationItemsToApplicationOutput() } } extension BatchDeleteAgentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteAgentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteAgentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3141,7 +3146,7 @@ extension BatchDeleteAgentsOutput { extension BatchDeleteImportDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteImportDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteImportDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3153,7 +3158,7 @@ extension BatchDeleteImportDataOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3165,28 +3170,28 @@ extension CreateApplicationOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension DeleteApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationsOutput { return DeleteApplicationsOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DescribeAgentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAgentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAgentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3199,7 +3204,7 @@ extension DescribeAgentsOutput { extension DescribeBatchDeleteConfigurationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBatchDeleteConfigurationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBatchDeleteConfigurationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3211,7 +3216,7 @@ extension DescribeBatchDeleteConfigurationTaskOutput { extension DescribeConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3223,7 +3228,7 @@ extension DescribeConfigurationsOutput { extension DescribeContinuousExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContinuousExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContinuousExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3236,7 +3241,7 @@ extension DescribeContinuousExportsOutput { extension DescribeExportConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3249,7 +3254,7 @@ extension DescribeExportConfigurationsOutput { extension DescribeExportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3262,7 +3267,7 @@ extension DescribeExportTasksOutput { extension DescribeImportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3275,7 +3280,7 @@ extension DescribeImportTasksOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3288,14 +3293,14 @@ extension DescribeTagsOutput { extension DisassociateConfigurationItemsFromApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateConfigurationItemsFromApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateConfigurationItemsFromApplicationOutput { return DisassociateConfigurationItemsFromApplicationOutput() } } extension ExportConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3307,7 +3312,7 @@ extension ExportConfigurationsOutput { extension GetDiscoverySummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDiscoverySummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDiscoverySummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3326,7 +3331,7 @@ extension GetDiscoverySummaryOutput { extension ListConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3339,7 +3344,7 @@ extension ListConfigurationsOutput { extension ListServerNeighborsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServerNeighborsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServerNeighborsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3353,7 +3358,7 @@ extension ListServerNeighborsOutput { extension StartBatchDeleteConfigurationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBatchDeleteConfigurationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBatchDeleteConfigurationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3365,7 +3370,7 @@ extension StartBatchDeleteConfigurationTaskOutput { extension StartContinuousExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContinuousExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContinuousExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3381,7 +3386,7 @@ extension StartContinuousExportOutput { extension StartDataCollectionByAgentIdsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataCollectionByAgentIdsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataCollectionByAgentIdsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3393,7 +3398,7 @@ extension StartDataCollectionByAgentIdsOutput { extension StartExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3405,7 +3410,7 @@ extension StartExportTaskOutput { extension StartImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3417,7 +3422,7 @@ extension StartImportTaskOutput { extension StopContinuousExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopContinuousExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopContinuousExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3430,7 +3435,7 @@ extension StopContinuousExportOutput { extension StopDataCollectionByAgentIdsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDataCollectionByAgentIdsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDataCollectionByAgentIdsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3442,14 +3447,14 @@ extension StopDataCollectionByAgentIdsOutput { extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } enum AssociateConfigurationItemsToApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3467,7 +3472,7 @@ enum AssociateConfigurationItemsToApplicationOutputError { enum BatchDeleteAgentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3484,7 +3489,7 @@ enum BatchDeleteAgentsOutputError { enum BatchDeleteImportDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3502,7 +3507,7 @@ enum BatchDeleteImportDataOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3520,7 +3525,7 @@ enum CreateApplicationOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3539,7 +3544,7 @@ enum CreateTagsOutputError { enum DeleteApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3557,7 +3562,7 @@ enum DeleteApplicationsOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3576,7 +3581,7 @@ enum DeleteTagsOutputError { enum DescribeAgentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3594,7 +3599,7 @@ enum DescribeAgentsOutputError { enum DescribeBatchDeleteConfigurationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3611,7 +3616,7 @@ enum DescribeBatchDeleteConfigurationTaskOutputError { enum DescribeConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3629,7 +3634,7 @@ enum DescribeConfigurationsOutputError { enum DescribeContinuousExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3649,7 +3654,7 @@ enum DescribeContinuousExportsOutputError { enum DescribeExportConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3668,7 +3673,7 @@ enum DescribeExportConfigurationsOutputError { enum DescribeExportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3686,7 +3691,7 @@ enum DescribeExportTasksOutputError { enum DescribeImportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3704,7 +3709,7 @@ enum DescribeImportTasksOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3723,7 +3728,7 @@ enum DescribeTagsOutputError { enum DisassociateConfigurationItemsFromApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3741,7 +3746,7 @@ enum DisassociateConfigurationItemsFromApplicationOutputError { enum ExportConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3760,7 +3765,7 @@ enum ExportConfigurationsOutputError { enum GetDiscoverySummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3778,7 +3783,7 @@ enum GetDiscoverySummaryOutputError { enum ListConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3797,7 +3802,7 @@ enum ListConfigurationsOutputError { enum ListServerNeighborsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3815,7 +3820,7 @@ enum ListServerNeighborsOutputError { enum StartBatchDeleteConfigurationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3834,7 +3839,7 @@ enum StartBatchDeleteConfigurationTaskOutputError { enum StartContinuousExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3855,7 +3860,7 @@ enum StartContinuousExportOutputError { enum StartDataCollectionByAgentIdsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3873,7 +3878,7 @@ enum StartDataCollectionByAgentIdsOutputError { enum StartExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3892,7 +3897,7 @@ enum StartExportTaskOutputError { enum StartImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3911,7 +3916,7 @@ enum StartImportTaskOutputError { enum StopContinuousExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3932,7 +3937,7 @@ enum StopContinuousExportOutputError { enum StopDataCollectionByAgentIdsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3950,7 +3955,7 @@ enum StopDataCollectionByAgentIdsOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/Models.swift b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/Models.swift index fceb115ea6c..7d7258426c5 100644 --- a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/Models.swift +++ b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -458,7 +458,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -628,7 +628,7 @@ public struct TagsAlreadyExistException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2233,7 +2233,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3144,7 +3144,7 @@ extension UpdateWorkloadInput { extension AddWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3157,7 +3157,7 @@ extension AddWorkloadOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3169,14 +3169,14 @@ extension CreateApplicationOutput { extension CreateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComponentOutput { return CreateComponentOutput() } } extension CreateLogPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLogPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLogPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3189,28 +3189,28 @@ extension CreateLogPatternOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComponentOutput { return DeleteComponentOutput() } } extension DeleteLogPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLogPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLogPatternOutput { return DeleteLogPatternOutput() } } extension DescribeApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3222,7 +3222,7 @@ extension DescribeApplicationOutput { extension DescribeComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3235,7 +3235,7 @@ extension DescribeComponentOutput { extension DescribeComponentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComponentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComponentConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3249,7 +3249,7 @@ extension DescribeComponentConfigurationOutput { extension DescribeComponentConfigurationRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComponentConfigurationRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComponentConfigurationRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3261,7 +3261,7 @@ extension DescribeComponentConfigurationRecommendationOutput { extension DescribeLogPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLogPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLogPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3275,7 +3275,7 @@ extension DescribeLogPatternOutput { extension DescribeObservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeObservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeObservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3287,7 +3287,7 @@ extension DescribeObservationOutput { extension DescribeProblemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProblemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProblemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3299,7 +3299,7 @@ extension DescribeProblemOutput { extension DescribeProblemObservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProblemObservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProblemObservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3311,7 +3311,7 @@ extension DescribeProblemObservationsOutput { extension DescribeWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3325,7 +3325,7 @@ extension DescribeWorkloadOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3338,7 +3338,7 @@ extension ListApplicationsOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3351,7 +3351,7 @@ extension ListComponentsOutput { extension ListConfigurationHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3364,7 +3364,7 @@ extension ListConfigurationHistoryOutput { extension ListLogPatternsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLogPatternsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLogPatternsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3379,7 +3379,7 @@ extension ListLogPatternsOutput { extension ListLogPatternSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLogPatternSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLogPatternSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3394,7 +3394,7 @@ extension ListLogPatternSetsOutput { extension ListProblemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProblemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProblemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3409,7 +3409,7 @@ extension ListProblemsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3421,7 +3421,7 @@ extension ListTagsForResourceOutput { extension ListWorkloadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkloadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkloadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3434,28 +3434,28 @@ extension ListWorkloadsOutput { extension RemoveWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveWorkloadOutput { return RemoveWorkloadOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3467,21 +3467,21 @@ extension UpdateApplicationOutput { extension UpdateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateComponentOutput { return UpdateComponentOutput() } } extension UpdateComponentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateComponentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateComponentConfigurationOutput { return UpdateComponentConfigurationOutput() } } extension UpdateLogPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLogPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLogPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3494,14 +3494,14 @@ extension UpdateLogPatternOutput { extension UpdateProblemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProblemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProblemOutput { return UpdateProblemOutput() } } extension UpdateWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3514,7 +3514,7 @@ extension UpdateWorkloadOutput { enum AddWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3531,7 +3531,7 @@ enum AddWorkloadOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3550,7 +3550,7 @@ enum CreateApplicationOutputError { enum CreateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3567,7 +3567,7 @@ enum CreateComponentOutputError { enum CreateLogPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3584,7 +3584,7 @@ enum CreateLogPatternOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3601,7 +3601,7 @@ enum DeleteApplicationOutputError { enum DeleteComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3617,7 +3617,7 @@ enum DeleteComponentOutputError { enum DeleteLogPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3634,7 +3634,7 @@ enum DeleteLogPatternOutputError { enum DescribeApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3650,7 +3650,7 @@ enum DescribeApplicationOutputError { enum DescribeComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3666,7 +3666,7 @@ enum DescribeComponentOutputError { enum DescribeComponentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3682,7 +3682,7 @@ enum DescribeComponentConfigurationOutputError { enum DescribeComponentConfigurationRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3698,7 +3698,7 @@ enum DescribeComponentConfigurationRecommendationOutputError { enum DescribeLogPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3714,7 +3714,7 @@ enum DescribeLogPatternOutputError { enum DescribeObservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3730,7 +3730,7 @@ enum DescribeObservationOutputError { enum DescribeProblemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3746,7 +3746,7 @@ enum DescribeProblemOutputError { enum DescribeProblemObservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3762,7 +3762,7 @@ enum DescribeProblemObservationsOutputError { enum DescribeWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3778,7 +3778,7 @@ enum DescribeWorkloadOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3793,7 +3793,7 @@ enum ListApplicationsOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3809,7 +3809,7 @@ enum ListComponentsOutputError { enum ListConfigurationHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3825,7 +3825,7 @@ enum ListConfigurationHistoryOutputError { enum ListLogPatternsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3841,7 +3841,7 @@ enum ListLogPatternsOutputError { enum ListLogPatternSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3857,7 +3857,7 @@ enum ListLogPatternSetsOutputError { enum ListProblemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3873,7 +3873,7 @@ enum ListProblemsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3888,7 +3888,7 @@ enum ListTagsForResourceOutputError { enum ListWorkloadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3904,7 +3904,7 @@ enum ListWorkloadsOutputError { enum RemoveWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3920,7 +3920,7 @@ enum RemoveWorkloadOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3936,7 +3936,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3951,7 +3951,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3967,7 +3967,7 @@ enum UpdateApplicationOutputError { enum UpdateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3984,7 +3984,7 @@ enum UpdateComponentOutputError { enum UpdateComponentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4001,7 +4001,7 @@ enum UpdateComponentConfigurationOutputError { enum UpdateLogPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4018,7 +4018,7 @@ enum UpdateLogPatternOutputError { enum UpdateProblemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4034,7 +4034,7 @@ enum UpdateProblemOutputError { enum UpdateWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/Models.swift b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/Models.swift index 5af0217ca1d..767b140f42e 100644 --- a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/Models.swift +++ b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1344,7 +1344,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1420,7 +1420,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1445,7 +1445,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2222,7 +2222,7 @@ extension UpdateServiceLevelObjectiveInput { extension BatchGetServiceLevelObjectiveBudgetReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetServiceLevelObjectiveBudgetReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetServiceLevelObjectiveBudgetReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2236,7 +2236,7 @@ extension BatchGetServiceLevelObjectiveBudgetReportOutput { extension CreateServiceLevelObjectiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceLevelObjectiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceLevelObjectiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2248,14 +2248,14 @@ extension CreateServiceLevelObjectiveOutput { extension DeleteServiceLevelObjectiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceLevelObjectiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceLevelObjectiveOutput { return DeleteServiceLevelObjectiveOutput() } } extension GetServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2269,7 +2269,7 @@ extension GetServiceOutput { extension GetServiceLevelObjectiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceLevelObjectiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceLevelObjectiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2281,7 +2281,7 @@ extension GetServiceLevelObjectiveOutput { extension ListServiceDependenciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceDependenciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceDependenciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2296,7 +2296,7 @@ extension ListServiceDependenciesOutput { extension ListServiceDependentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceDependentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceDependentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2311,7 +2311,7 @@ extension ListServiceDependentsOutput { extension ListServiceLevelObjectivesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceLevelObjectivesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceLevelObjectivesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2324,7 +2324,7 @@ extension ListServiceLevelObjectivesOutput { extension ListServiceOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2339,7 +2339,7 @@ extension ListServiceOperationsOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2354,7 +2354,7 @@ extension ListServicesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2366,28 +2366,28 @@ extension ListTagsForResourceOutput { extension StartDiscoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDiscoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDiscoveryOutput { return StartDiscoveryOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateServiceLevelObjectiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceLevelObjectiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceLevelObjectiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2399,7 +2399,7 @@ extension UpdateServiceLevelObjectiveOutput { enum BatchGetServiceLevelObjectiveBudgetReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2414,7 +2414,7 @@ enum BatchGetServiceLevelObjectiveBudgetReportOutputError { enum CreateServiceLevelObjectiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2432,7 +2432,7 @@ enum CreateServiceLevelObjectiveOutputError { enum DeleteServiceLevelObjectiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2448,7 +2448,7 @@ enum DeleteServiceLevelObjectiveOutputError { enum GetServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2463,7 +2463,7 @@ enum GetServiceOutputError { enum GetServiceLevelObjectiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2479,7 +2479,7 @@ enum GetServiceLevelObjectiveOutputError { enum ListServiceDependenciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2494,7 +2494,7 @@ enum ListServiceDependenciesOutputError { enum ListServiceDependentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2509,7 +2509,7 @@ enum ListServiceDependentsOutputError { enum ListServiceLevelObjectivesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2524,7 +2524,7 @@ enum ListServiceLevelObjectivesOutputError { enum ListServiceOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2539,7 +2539,7 @@ enum ListServiceOperationsOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2554,7 +2554,7 @@ enum ListServicesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2569,7 +2569,7 @@ enum ListTagsForResourceOutputError { enum StartDiscoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2585,7 +2585,7 @@ enum StartDiscoveryOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2601,7 +2601,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2616,7 +2616,7 @@ enum UntagResourceOutputError { enum UpdateServiceLevelObjectiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSArtifact/Sources/AWSArtifact/Models.swift b/Sources/Services/AWSArtifact/Sources/AWSArtifact/Models.swift index e507b2bc547..d05ef4f80b2 100644 --- a/Sources/Services/AWSArtifact/Sources/AWSArtifact/Models.swift +++ b/Sources/Services/AWSArtifact/Sources/AWSArtifact/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -65,7 +65,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -143,7 +143,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -207,7 +207,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -248,7 +248,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -287,7 +287,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -383,7 +383,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -926,7 +926,7 @@ extension PutAccountSettingsInput { extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -938,7 +938,7 @@ extension GetAccountSettingsOutput { extension GetReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -950,7 +950,7 @@ extension GetReportOutput { extension GetReportMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReportMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReportMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -962,7 +962,7 @@ extension GetReportMetadataOutput { extension GetTermForReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTermForReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTermForReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -975,7 +975,7 @@ extension GetTermForReportOutput { extension ListReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -988,7 +988,7 @@ extension ListReportsOutput { extension PutAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1000,7 +1000,7 @@ extension PutAccountSettingsOutput { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1020,7 +1020,7 @@ enum GetAccountSettingsOutputError { enum GetReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1040,7 +1040,7 @@ enum GetReportOutputError { enum GetReportMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1059,7 +1059,7 @@ enum GetReportMetadataOutputError { enum GetTermForReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1079,7 +1079,7 @@ enum GetTermForReportOutputError { enum ListReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1098,7 +1098,7 @@ enum ListReportsOutputError { enum PutAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAthena/Sources/AWSAthena/Models.swift b/Sources/Services/AWSAthena/Sources/AWSAthena/Models.swift index 6e82f097a7f..a42f973cef4 100644 --- a/Sources/Services/AWSAthena/Sources/AWSAthena/Models.swift +++ b/Sources/Services/AWSAthena/Sources/AWSAthena/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -76,7 +76,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -102,7 +102,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1063,7 +1063,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1157,7 +1157,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2016,7 +2016,7 @@ public struct MetadataException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4080,7 +4080,7 @@ public struct SessionAlreadyExistsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5826,7 +5826,7 @@ extension UpdateWorkGroupInput { extension BatchGetNamedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetNamedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetNamedQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5839,7 +5839,7 @@ extension BatchGetNamedQueryOutput { extension BatchGetPreparedStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetPreparedStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetPreparedStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5852,7 +5852,7 @@ extension BatchGetPreparedStatementOutput { extension BatchGetQueryExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetQueryExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetQueryExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5865,28 +5865,28 @@ extension BatchGetQueryExecutionOutput { extension CancelCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelCapacityReservationOutput { return CancelCapacityReservationOutput() } } extension CreateCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCapacityReservationOutput { return CreateCapacityReservationOutput() } } extension CreateDataCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataCatalogOutput { return CreateDataCatalogOutput() } } extension CreateNamedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNamedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNamedQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5898,7 +5898,7 @@ extension CreateNamedQueryOutput { extension CreateNotebookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNotebookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNotebookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5910,14 +5910,14 @@ extension CreateNotebookOutput { extension CreatePreparedStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePreparedStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePreparedStatementOutput { return CreatePreparedStatementOutput() } } extension CreatePresignedNotebookUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePresignedNotebookUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePresignedNotebookUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5931,56 +5931,56 @@ extension CreatePresignedNotebookUrlOutput { extension CreateWorkGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkGroupOutput { return CreateWorkGroupOutput() } } extension DeleteCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCapacityReservationOutput { return DeleteCapacityReservationOutput() } } extension DeleteDataCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataCatalogOutput { return DeleteDataCatalogOutput() } } extension DeleteNamedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNamedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNamedQueryOutput { return DeleteNamedQueryOutput() } } extension DeleteNotebookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotebookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotebookOutput { return DeleteNotebookOutput() } } extension DeletePreparedStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePreparedStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePreparedStatementOutput { return DeletePreparedStatementOutput() } } extension DeleteWorkGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkGroupOutput { return DeleteWorkGroupOutput() } } extension ExportNotebookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportNotebookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportNotebookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5993,7 +5993,7 @@ extension ExportNotebookOutput { extension GetCalculationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCalculationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCalculationExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6011,7 +6011,7 @@ extension GetCalculationExecutionOutput { extension GetCalculationExecutionCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCalculationExecutionCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCalculationExecutionCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6023,7 +6023,7 @@ extension GetCalculationExecutionCodeOutput { extension GetCalculationExecutionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCalculationExecutionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCalculationExecutionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6036,7 +6036,7 @@ extension GetCalculationExecutionStatusOutput { extension GetCapacityAssignmentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCapacityAssignmentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCapacityAssignmentConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6048,7 +6048,7 @@ extension GetCapacityAssignmentConfigurationOutput { extension GetCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCapacityReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6060,7 +6060,7 @@ extension GetCapacityReservationOutput { extension GetDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6072,7 +6072,7 @@ extension GetDatabaseOutput { extension GetDataCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataCatalogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6084,7 +6084,7 @@ extension GetDataCatalogOutput { extension GetNamedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNamedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNamedQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6096,7 +6096,7 @@ extension GetNamedQueryOutput { extension GetNotebookMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNotebookMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNotebookMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6108,7 +6108,7 @@ extension GetNotebookMetadataOutput { extension GetPreparedStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPreparedStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPreparedStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6120,7 +6120,7 @@ extension GetPreparedStatementOutput { extension GetQueryExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6132,7 +6132,7 @@ extension GetQueryExecutionOutput { extension GetQueryResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6146,7 +6146,7 @@ extension GetQueryResultsOutput { extension GetQueryRuntimeStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryRuntimeStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryRuntimeStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6158,7 +6158,7 @@ extension GetQueryRuntimeStatisticsOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6178,7 +6178,7 @@ extension GetSessionOutput { extension GetSessionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6191,7 +6191,7 @@ extension GetSessionStatusOutput { extension GetTableMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6203,7 +6203,7 @@ extension GetTableMetadataOutput { extension GetWorkGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6215,7 +6215,7 @@ extension GetWorkGroupOutput { extension ImportNotebookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportNotebookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportNotebookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6227,7 +6227,7 @@ extension ImportNotebookOutput { extension ListApplicationDPUSizesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationDPUSizesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationDPUSizesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6240,7 +6240,7 @@ extension ListApplicationDPUSizesOutput { extension ListCalculationExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCalculationExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCalculationExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6253,7 +6253,7 @@ extension ListCalculationExecutionsOutput { extension ListCapacityReservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCapacityReservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCapacityReservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6266,7 +6266,7 @@ extension ListCapacityReservationsOutput { extension ListDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6279,7 +6279,7 @@ extension ListDatabasesOutput { extension ListDataCatalogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataCatalogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataCatalogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6292,7 +6292,7 @@ extension ListDataCatalogsOutput { extension ListEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6305,7 +6305,7 @@ extension ListEngineVersionsOutput { extension ListExecutorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExecutorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExecutorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6319,7 +6319,7 @@ extension ListExecutorsOutput { extension ListNamedQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNamedQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNamedQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6332,7 +6332,7 @@ extension ListNamedQueriesOutput { extension ListNotebookMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotebookMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotebookMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6345,7 +6345,7 @@ extension ListNotebookMetadataOutput { extension ListNotebookSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotebookSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotebookSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6358,7 +6358,7 @@ extension ListNotebookSessionsOutput { extension ListPreparedStatementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPreparedStatementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPreparedStatementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6371,7 +6371,7 @@ extension ListPreparedStatementsOutput { extension ListQueryExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueryExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueryExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6384,7 +6384,7 @@ extension ListQueryExecutionsOutput { extension ListSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6397,7 +6397,7 @@ extension ListSessionsOutput { extension ListTableMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTableMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTableMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6410,7 +6410,7 @@ extension ListTableMetadataOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6423,7 +6423,7 @@ extension ListTagsForResourceOutput { extension ListWorkGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6436,14 +6436,14 @@ extension ListWorkGroupsOutput { extension PutCapacityAssignmentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCapacityAssignmentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCapacityAssignmentConfigurationOutput { return PutCapacityAssignmentConfigurationOutput() } } extension StartCalculationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCalculationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCalculationExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6456,7 +6456,7 @@ extension StartCalculationExecutionOutput { extension StartQueryExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartQueryExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartQueryExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6468,7 +6468,7 @@ extension StartQueryExecutionOutput { extension StartSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6481,7 +6481,7 @@ extension StartSessionOutput { extension StopCalculationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCalculationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCalculationExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6493,21 +6493,21 @@ extension StopCalculationExecutionOutput { extension StopQueryExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopQueryExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopQueryExecutionOutput { return StopQueryExecutionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TerminateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6519,63 +6519,63 @@ extension TerminateSessionOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCapacityReservationOutput { return UpdateCapacityReservationOutput() } } extension UpdateDataCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataCatalogOutput { return UpdateDataCatalogOutput() } } extension UpdateNamedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNamedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNamedQueryOutput { return UpdateNamedQueryOutput() } } extension UpdateNotebookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotebookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotebookOutput { return UpdateNotebookOutput() } } extension UpdateNotebookMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotebookMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotebookMetadataOutput { return UpdateNotebookMetadataOutput() } } extension UpdatePreparedStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePreparedStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePreparedStatementOutput { return UpdatePreparedStatementOutput() } } extension UpdateWorkGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkGroupOutput { return UpdateWorkGroupOutput() } } enum BatchGetNamedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6590,7 +6590,7 @@ enum BatchGetNamedQueryOutputError { enum BatchGetPreparedStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6605,7 +6605,7 @@ enum BatchGetPreparedStatementOutputError { enum BatchGetQueryExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6620,7 +6620,7 @@ enum BatchGetQueryExecutionOutputError { enum CancelCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6635,7 +6635,7 @@ enum CancelCapacityReservationOutputError { enum CreateCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6650,7 +6650,7 @@ enum CreateCapacityReservationOutputError { enum CreateDataCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6665,7 +6665,7 @@ enum CreateDataCatalogOutputError { enum CreateNamedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6680,7 +6680,7 @@ enum CreateNamedQueryOutputError { enum CreateNotebookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6696,7 +6696,7 @@ enum CreateNotebookOutputError { enum CreatePreparedStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6711,7 +6711,7 @@ enum CreatePreparedStatementOutputError { enum CreatePresignedNotebookUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6727,7 +6727,7 @@ enum CreatePresignedNotebookUrlOutputError { enum CreateWorkGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6742,7 @@ enum CreateWorkGroupOutputError { enum DeleteCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6757,7 +6757,7 @@ enum DeleteCapacityReservationOutputError { enum DeleteDataCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6772,7 +6772,7 @@ enum DeleteDataCatalogOutputError { enum DeleteNamedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6787,7 +6787,7 @@ enum DeleteNamedQueryOutputError { enum DeleteNotebookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6803,7 +6803,7 @@ enum DeleteNotebookOutputError { enum DeletePreparedStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6819,7 +6819,7 @@ enum DeletePreparedStatementOutputError { enum DeleteWorkGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6834,7 +6834,7 @@ enum DeleteWorkGroupOutputError { enum ExportNotebookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6850,7 +6850,7 @@ enum ExportNotebookOutputError { enum GetCalculationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6866,7 +6866,7 @@ enum GetCalculationExecutionOutputError { enum GetCalculationExecutionCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6882,7 +6882,7 @@ enum GetCalculationExecutionCodeOutputError { enum GetCalculationExecutionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6898,7 +6898,7 @@ enum GetCalculationExecutionStatusOutputError { enum GetCapacityAssignmentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6913,7 +6913,7 @@ enum GetCapacityAssignmentConfigurationOutputError { enum GetCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6928,7 +6928,7 @@ enum GetCapacityReservationOutputError { enum GetDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6944,7 +6944,7 @@ enum GetDatabaseOutputError { enum GetDataCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6959,7 +6959,7 @@ enum GetDataCatalogOutputError { enum GetNamedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6974,7 +6974,7 @@ enum GetNamedQueryOutputError { enum GetNotebookMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6990,7 +6990,7 @@ enum GetNotebookMetadataOutputError { enum GetPreparedStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7006,7 +7006,7 @@ enum GetPreparedStatementOutputError { enum GetQueryExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7021,7 +7021,7 @@ enum GetQueryExecutionOutputError { enum GetQueryResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7037,7 +7037,7 @@ enum GetQueryResultsOutputError { enum GetQueryRuntimeStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7052,7 +7052,7 @@ enum GetQueryRuntimeStatisticsOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7068,7 +7068,7 @@ enum GetSessionOutputError { enum GetSessionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7084,7 +7084,7 @@ enum GetSessionStatusOutputError { enum GetTableMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7100,7 +7100,7 @@ enum GetTableMetadataOutputError { enum GetWorkGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7115,7 +7115,7 @@ enum GetWorkGroupOutputError { enum ImportNotebookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7131,7 +7131,7 @@ enum ImportNotebookOutputError { enum ListApplicationDPUSizesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7147,7 +7147,7 @@ enum ListApplicationDPUSizesOutputError { enum ListCalculationExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7163,7 +7163,7 @@ enum ListCalculationExecutionsOutputError { enum ListCapacityReservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7178,7 +7178,7 @@ enum ListCapacityReservationsOutputError { enum ListDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7194,7 +7194,7 @@ enum ListDatabasesOutputError { enum ListDataCatalogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7209,7 +7209,7 @@ enum ListDataCatalogsOutputError { enum ListEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7224,7 +7224,7 @@ enum ListEngineVersionsOutputError { enum ListExecutorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7240,7 +7240,7 @@ enum ListExecutorsOutputError { enum ListNamedQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7255,7 +7255,7 @@ enum ListNamedQueriesOutputError { enum ListNotebookMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7271,7 +7271,7 @@ enum ListNotebookMetadataOutputError { enum ListNotebookSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7287,7 +7287,7 @@ enum ListNotebookSessionsOutputError { enum ListPreparedStatementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7302,7 +7302,7 @@ enum ListPreparedStatementsOutputError { enum ListQueryExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7317,7 +7317,7 @@ enum ListQueryExecutionsOutputError { enum ListSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7333,7 +7333,7 @@ enum ListSessionsOutputError { enum ListTableMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7349,7 +7349,7 @@ enum ListTableMetadataOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7365,7 +7365,7 @@ enum ListTagsForResourceOutputError { enum ListWorkGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7380,7 +7380,7 @@ enum ListWorkGroupsOutputError { enum PutCapacityAssignmentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7395,7 +7395,7 @@ enum PutCapacityAssignmentConfigurationOutputError { enum StartCalculationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7411,7 +7411,7 @@ enum StartCalculationExecutionOutputError { enum StartQueryExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7427,7 +7427,7 @@ enum StartQueryExecutionOutputError { enum StartSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7445,7 +7445,7 @@ enum StartSessionOutputError { enum StopCalculationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7461,7 +7461,7 @@ enum StopCalculationExecutionOutputError { enum StopQueryExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7476,7 +7476,7 @@ enum StopQueryExecutionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7492,7 +7492,7 @@ enum TagResourceOutputError { enum TerminateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7508,7 +7508,7 @@ enum TerminateSessionOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7524,7 +7524,7 @@ enum UntagResourceOutputError { enum UpdateCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7539,7 +7539,7 @@ enum UpdateCapacityReservationOutputError { enum UpdateDataCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7554,7 +7554,7 @@ enum UpdateDataCatalogOutputError { enum UpdateNamedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7569,7 +7569,7 @@ enum UpdateNamedQueryOutputError { enum UpdateNotebookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7585,7 +7585,7 @@ enum UpdateNotebookOutputError { enum UpdateNotebookMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7601,7 +7601,7 @@ enum UpdateNotebookMetadataOutputError { enum UpdatePreparedStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7617,7 +7617,7 @@ enum UpdatePreparedStatementOutputError { enum UpdateWorkGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/Models.swift b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/Models.swift index df993c38abd..637fe8e4fa9 100644 --- a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/Models.swift +++ b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -528,7 +528,7 @@ extension AuditManagerClientTypes { extension AuditManagerClientTypes.AssessmentControlSet: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "AssessmentControlSet(controls: \(Swift.String(describing: controls)), delegations: \(Swift.String(describing: delegations)), description: \(Swift.String(describing: description)), id: \(Swift.String(describing: id)), manualEvidenceCount: \(Swift.String(describing: manualEvidenceCount)), status: \(Swift.String(describing: status)), systemEvidenceCount: \(Swift.String(describing: systemEvidenceCount)), roles: \"CONTENT_REDACTED\")"} + "AssessmentControlSet(controls: \(Swift.String(describing: controls)), description: \(Swift.String(describing: description)), id: \(Swift.String(describing: id)), manualEvidenceCount: \(Swift.String(describing: manualEvidenceCount)), status: \(Swift.String(describing: status)), systemEvidenceCount: \(Swift.String(describing: systemEvidenceCount)), delegations: \"CONTENT_REDACTED\", roles: \"CONTENT_REDACTED\")"} } extension AuditManagerClientTypes { @@ -784,7 +784,7 @@ extension AuditManagerClientTypes { extension AuditManagerClientTypes.AssessmentMetadata: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "AssessmentMetadata(creationTime: \(Swift.String(describing: creationTime)), delegations: \(Swift.String(describing: delegations)), id: \(Swift.String(describing: id)), lastUpdated: \(Swift.String(describing: lastUpdated)), status: \(Swift.String(describing: status)), assessmentReportsDestination: \"CONTENT_REDACTED\", complianceType: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", roles: \"CONTENT_REDACTED\", scope: \"CONTENT_REDACTED\")"} + "AssessmentMetadata(creationTime: \(Swift.String(describing: creationTime)), id: \(Swift.String(describing: id)), lastUpdated: \(Swift.String(describing: lastUpdated)), status: \(Swift.String(describing: status)), assessmentReportsDestination: \"CONTENT_REDACTED\", complianceType: \"CONTENT_REDACTED\", delegations: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", roles: \"CONTENT_REDACTED\", scope: \"CONTENT_REDACTED\")"} } extension AuditManagerClientTypes { @@ -1168,7 +1168,7 @@ extension AuditManagerClientTypes { extension AuditManagerClientTypes.AssessmentMetadataItem: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "AssessmentMetadataItem(creationTime: \(Swift.String(describing: creationTime)), delegations: \(Swift.String(describing: delegations)), id: \(Swift.String(describing: id)), lastUpdated: \(Swift.String(describing: lastUpdated)), status: \(Swift.String(describing: status)), complianceType: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", roles: \"CONTENT_REDACTED\")"} + "AssessmentMetadataItem(creationTime: \(Swift.String(describing: creationTime)), id: \(Swift.String(describing: id)), lastUpdated: \(Swift.String(describing: lastUpdated)), status: \(Swift.String(describing: status)), complianceType: \"CONTENT_REDACTED\", delegations: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", roles: \"CONTENT_REDACTED\")"} } extension AuditManagerClientTypes { @@ -1342,7 +1342,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1373,7 +1373,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1463,7 +1463,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1639,7 +1639,7 @@ public struct BatchCreateDelegationByAssessmentOutput { extension BatchCreateDelegationByAssessmentOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "BatchCreateDelegationByAssessmentOutput(delegations: \(Swift.String(describing: delegations)), errors: \"CONTENT_REDACTED\")"} + "BatchCreateDelegationByAssessmentOutput(delegations: \"CONTENT_REDACTED\", errors: \"CONTENT_REDACTED\")"} } public struct BatchDeleteDelegationByAssessmentInput { @@ -1753,7 +1753,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1871,7 +1871,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6570,14 +6570,14 @@ extension ValidateAssessmentReportIntegrityInput { extension AssociateAssessmentReportEvidenceFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAssessmentReportEvidenceFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAssessmentReportEvidenceFolderOutput { return AssociateAssessmentReportEvidenceFolderOutput() } } extension BatchAssociateAssessmentReportEvidenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateAssessmentReportEvidenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateAssessmentReportEvidenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6590,7 +6590,7 @@ extension BatchAssociateAssessmentReportEvidenceOutput { extension BatchCreateDelegationByAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateDelegationByAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateDelegationByAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6603,7 +6603,7 @@ extension BatchCreateDelegationByAssessmentOutput { extension BatchDeleteDelegationByAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteDelegationByAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteDelegationByAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6615,7 +6615,7 @@ extension BatchDeleteDelegationByAssessmentOutput { extension BatchDisassociateAssessmentReportEvidenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateAssessmentReportEvidenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateAssessmentReportEvidenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6628,7 +6628,7 @@ extension BatchDisassociateAssessmentReportEvidenceOutput { extension BatchImportEvidenceToAssessmentControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchImportEvidenceToAssessmentControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchImportEvidenceToAssessmentControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6640,7 +6640,7 @@ extension BatchImportEvidenceToAssessmentControlOutput { extension CreateAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6652,7 +6652,7 @@ extension CreateAssessmentOutput { extension CreateAssessmentFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssessmentFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssessmentFrameworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6664,7 +6664,7 @@ extension CreateAssessmentFrameworkOutput { extension CreateAssessmentReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssessmentReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssessmentReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6676,7 +6676,7 @@ extension CreateAssessmentReportOutput { extension CreateControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6688,42 +6688,42 @@ extension CreateControlOutput { extension DeleteAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentOutput { return DeleteAssessmentOutput() } } extension DeleteAssessmentFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentFrameworkOutput { return DeleteAssessmentFrameworkOutput() } } extension DeleteAssessmentFrameworkShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentFrameworkShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentFrameworkShareOutput { return DeleteAssessmentFrameworkShareOutput() } } extension DeleteAssessmentReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentReportOutput { return DeleteAssessmentReportOutput() } } extension DeleteControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteControlOutput { return DeleteControlOutput() } } extension DeregisterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6735,21 +6735,21 @@ extension DeregisterAccountOutput { extension DeregisterOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterOrganizationAdminAccountOutput { return DeregisterOrganizationAdminAccountOutput() } } extension DisassociateAssessmentReportEvidenceFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAssessmentReportEvidenceFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAssessmentReportEvidenceFolderOutput { return DisassociateAssessmentReportEvidenceFolderOutput() } } extension GetAccountStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6761,7 +6761,7 @@ extension GetAccountStatusOutput { extension GetAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6774,7 +6774,7 @@ extension GetAssessmentOutput { extension GetAssessmentFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssessmentFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssessmentFrameworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6786,7 +6786,7 @@ extension GetAssessmentFrameworkOutput { extension GetAssessmentReportUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssessmentReportUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssessmentReportUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6798,7 +6798,7 @@ extension GetAssessmentReportUrlOutput { extension GetChangeLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangeLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangeLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6811,7 +6811,7 @@ extension GetChangeLogsOutput { extension GetControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6823,7 +6823,7 @@ extension GetControlOutput { extension GetDelegationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDelegationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDelegationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6836,7 +6836,7 @@ extension GetDelegationsOutput { extension GetEvidenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvidenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvidenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6848,7 +6848,7 @@ extension GetEvidenceOutput { extension GetEvidenceByEvidenceFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvidenceByEvidenceFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvidenceByEvidenceFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6861,7 +6861,7 @@ extension GetEvidenceByEvidenceFolderOutput { extension GetEvidenceFileUploadUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvidenceFileUploadUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvidenceFileUploadUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6874,7 +6874,7 @@ extension GetEvidenceFileUploadUrlOutput { extension GetEvidenceFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvidenceFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvidenceFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6886,7 +6886,7 @@ extension GetEvidenceFolderOutput { extension GetEvidenceFoldersByAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvidenceFoldersByAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvidenceFoldersByAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6899,7 +6899,7 @@ extension GetEvidenceFoldersByAssessmentOutput { extension GetEvidenceFoldersByAssessmentControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvidenceFoldersByAssessmentControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvidenceFoldersByAssessmentControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6912,7 +6912,7 @@ extension GetEvidenceFoldersByAssessmentControlOutput { extension GetInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6924,7 +6924,7 @@ extension GetInsightsOutput { extension GetInsightsByAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightsByAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightsByAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6936,7 +6936,7 @@ extension GetInsightsByAssessmentOutput { extension GetOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6949,7 +6949,7 @@ extension GetOrganizationAdminAccountOutput { extension GetServicesInScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServicesInScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServicesInScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6961,7 +6961,7 @@ extension GetServicesInScopeOutput { extension GetSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6973,7 +6973,7 @@ extension GetSettingsOutput { extension ListAssessmentControlInsightsByControlDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentControlInsightsByControlDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentControlInsightsByControlDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6986,7 +6986,7 @@ extension ListAssessmentControlInsightsByControlDomainOutput { extension ListAssessmentFrameworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentFrameworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentFrameworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6999,7 +6999,7 @@ extension ListAssessmentFrameworksOutput { extension ListAssessmentFrameworkShareRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentFrameworkShareRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentFrameworkShareRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7012,7 +7012,7 @@ extension ListAssessmentFrameworkShareRequestsOutput { extension ListAssessmentReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7025,7 +7025,7 @@ extension ListAssessmentReportsOutput { extension ListAssessmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7038,7 +7038,7 @@ extension ListAssessmentsOutput { extension ListControlDomainInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListControlDomainInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListControlDomainInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7051,7 +7051,7 @@ extension ListControlDomainInsightsOutput { extension ListControlDomainInsightsByAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListControlDomainInsightsByAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListControlDomainInsightsByAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7064,7 +7064,7 @@ extension ListControlDomainInsightsByAssessmentOutput { extension ListControlInsightsByControlDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListControlInsightsByControlDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListControlInsightsByControlDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7077,7 +7077,7 @@ extension ListControlInsightsByControlDomainOutput { extension ListControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7090,7 +7090,7 @@ extension ListControlsOutput { extension ListKeywordsForDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeywordsForDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeywordsForDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7103,7 +7103,7 @@ extension ListKeywordsForDataSourceOutput { extension ListNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7116,7 +7116,7 @@ extension ListNotificationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7128,7 +7128,7 @@ extension ListTagsForResourceOutput { extension RegisterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7140,7 +7140,7 @@ extension RegisterAccountOutput { extension RegisterOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterOrganizationAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7153,7 +7153,7 @@ extension RegisterOrganizationAdminAccountOutput { extension StartAssessmentFrameworkShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAssessmentFrameworkShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAssessmentFrameworkShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7165,21 +7165,21 @@ extension StartAssessmentFrameworkShareOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7191,7 +7191,7 @@ extension UpdateAssessmentOutput { extension UpdateAssessmentControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7203,7 +7203,7 @@ extension UpdateAssessmentControlOutput { extension UpdateAssessmentControlSetStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentControlSetStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentControlSetStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7215,7 +7215,7 @@ extension UpdateAssessmentControlSetStatusOutput { extension UpdateAssessmentFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentFrameworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7227,7 +7227,7 @@ extension UpdateAssessmentFrameworkOutput { extension UpdateAssessmentFrameworkShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentFrameworkShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentFrameworkShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7239,7 +7239,7 @@ extension UpdateAssessmentFrameworkShareOutput { extension UpdateAssessmentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7251,7 +7251,7 @@ extension UpdateAssessmentStatusOutput { extension UpdateControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7263,7 +7263,7 @@ extension UpdateControlOutput { extension UpdateSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7275,7 +7275,7 @@ extension UpdateSettingsOutput { extension ValidateAssessmentReportIntegrityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateAssessmentReportIntegrityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateAssessmentReportIntegrityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7291,7 +7291,7 @@ extension ValidateAssessmentReportIntegrityOutput { enum AssociateAssessmentReportEvidenceFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7308,7 +7308,7 @@ enum AssociateAssessmentReportEvidenceFolderOutputError { enum BatchAssociateAssessmentReportEvidenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7325,7 +7325,7 @@ enum BatchAssociateAssessmentReportEvidenceOutputError { enum BatchCreateDelegationByAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7342,7 +7342,7 @@ enum BatchCreateDelegationByAssessmentOutputError { enum BatchDeleteDelegationByAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7359,7 +7359,7 @@ enum BatchDeleteDelegationByAssessmentOutputError { enum BatchDisassociateAssessmentReportEvidenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7376,7 +7376,7 @@ enum BatchDisassociateAssessmentReportEvidenceOutputError { enum BatchImportEvidenceToAssessmentControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7394,7 +7394,7 @@ enum BatchImportEvidenceToAssessmentControlOutputError { enum CreateAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7413,7 +7413,7 @@ enum CreateAssessmentOutputError { enum CreateAssessmentFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7431,7 +7431,7 @@ enum CreateAssessmentFrameworkOutputError { enum CreateAssessmentReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7448,7 +7448,7 @@ enum CreateAssessmentReportOutputError { enum CreateControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7466,7 +7466,7 @@ enum CreateControlOutputError { enum DeleteAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7483,7 +7483,7 @@ enum DeleteAssessmentOutputError { enum DeleteAssessmentFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7500,7 +7500,7 @@ enum DeleteAssessmentFrameworkOutputError { enum DeleteAssessmentFrameworkShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7517,7 +7517,7 @@ enum DeleteAssessmentFrameworkShareOutputError { enum DeleteAssessmentReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7534,7 +7534,7 @@ enum DeleteAssessmentReportOutputError { enum DeleteControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7551,7 +7551,7 @@ enum DeleteControlOutputError { enum DeregisterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7568,7 +7568,7 @@ enum DeregisterAccountOutputError { enum DeregisterOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7585,7 +7585,7 @@ enum DeregisterOrganizationAdminAccountOutputError { enum DisassociateAssessmentReportEvidenceFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7602,7 +7602,7 @@ enum DisassociateAssessmentReportEvidenceFolderOutputError { enum GetAccountStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7616,7 +7616,7 @@ enum GetAccountStatusOutputError { enum GetAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7633,7 +7633,7 @@ enum GetAssessmentOutputError { enum GetAssessmentFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7650,7 +7650,7 @@ enum GetAssessmentFrameworkOutputError { enum GetAssessmentReportUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7667,7 +7667,7 @@ enum GetAssessmentReportUrlOutputError { enum GetChangeLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7684,7 +7684,7 @@ enum GetChangeLogsOutputError { enum GetControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7701,7 +7701,7 @@ enum GetControlOutputError { enum GetDelegationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7717,7 +7717,7 @@ enum GetDelegationsOutputError { enum GetEvidenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7734,7 +7734,7 @@ enum GetEvidenceOutputError { enum GetEvidenceByEvidenceFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7751,7 +7751,7 @@ enum GetEvidenceByEvidenceFolderOutputError { enum GetEvidenceFileUploadUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7768,7 +7768,7 @@ enum GetEvidenceFileUploadUrlOutputError { enum GetEvidenceFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7785,7 +7785,7 @@ enum GetEvidenceFolderOutputError { enum GetEvidenceFoldersByAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7802,7 +7802,7 @@ enum GetEvidenceFoldersByAssessmentOutputError { enum GetEvidenceFoldersByAssessmentControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7819,7 +7819,7 @@ enum GetEvidenceFoldersByAssessmentControlOutputError { enum GetInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7834,7 +7834,7 @@ enum GetInsightsOutputError { enum GetInsightsByAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7851,7 +7851,7 @@ enum GetInsightsByAssessmentOutputError { enum GetOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7868,7 +7868,7 @@ enum GetOrganizationAdminAccountOutputError { enum GetServicesInScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7884,7 +7884,7 @@ enum GetServicesInScopeOutputError { enum GetSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7899,7 +7899,7 @@ enum GetSettingsOutputError { enum ListAssessmentControlInsightsByControlDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7916,7 +7916,7 @@ enum ListAssessmentControlInsightsByControlDomainOutputError { enum ListAssessmentFrameworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7932,7 +7932,7 @@ enum ListAssessmentFrameworksOutputError { enum ListAssessmentFrameworkShareRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7948,7 +7948,7 @@ enum ListAssessmentFrameworkShareRequestsOutputError { enum ListAssessmentReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7964,7 +7964,7 @@ enum ListAssessmentReportsOutputError { enum ListAssessmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7980,7 +7980,7 @@ enum ListAssessmentsOutputError { enum ListControlDomainInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7997,7 +7997,7 @@ enum ListControlDomainInsightsOutputError { enum ListControlDomainInsightsByAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8014,7 +8014,7 @@ enum ListControlDomainInsightsByAssessmentOutputError { enum ListControlInsightsByControlDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8031,7 +8031,7 @@ enum ListControlInsightsByControlDomainOutputError { enum ListControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8047,7 +8047,7 @@ enum ListControlsOutputError { enum ListKeywordsForDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8063,7 +8063,7 @@ enum ListKeywordsForDataSourceOutputError { enum ListNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8079,7 +8079,7 @@ enum ListNotificationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8095,7 +8095,7 @@ enum ListTagsForResourceOutputError { enum RegisterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8113,7 +8113,7 @@ enum RegisterAccountOutputError { enum RegisterOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8130,7 +8130,7 @@ enum RegisterOrganizationAdminAccountOutputError { enum StartAssessmentFrameworkShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8147,7 +8147,7 @@ enum StartAssessmentFrameworkShareOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8163,7 +8163,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8179,7 +8179,7 @@ enum UntagResourceOutputError { enum UpdateAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8197,7 +8197,7 @@ enum UpdateAssessmentOutputError { enum UpdateAssessmentControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8214,7 +8214,7 @@ enum UpdateAssessmentControlOutputError { enum UpdateAssessmentControlSetStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8231,7 +8231,7 @@ enum UpdateAssessmentControlSetStatusOutputError { enum UpdateAssessmentFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8248,7 +8248,7 @@ enum UpdateAssessmentFrameworkOutputError { enum UpdateAssessmentFrameworkShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8266,7 +8266,7 @@ enum UpdateAssessmentFrameworkShareOutputError { enum UpdateAssessmentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8284,7 +8284,7 @@ enum UpdateAssessmentStatusOutputError { enum UpdateControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8301,7 +8301,7 @@ enum UpdateControlOutputError { enum UpdateSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8317,7 +8317,7 @@ enum UpdateSettingsOutputError { enum ValidateAssessmentReportIntegrityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift index dc92dbda996..6562bb6f8ba 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift @@ -180,7 +180,7 @@ extension AutoScalingClient { extension AutoScalingClient { /// Performs the `AttachInstances` operation on the `AutoScaling_2011_01_01` service. /// - /// Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see [Attach EC2 instances to your Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html) in the Amazon EC2 Auto Scaling User Guide. + /// Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see [Detach or attach instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter AttachInstancesInput : [no documentation found] /// @@ -660,7 +660,7 @@ extension AutoScalingClient { /// Performs the `CreateLaunchConfiguration` operation on the `AutoScaling_2011_01_01` service. /// - /// Creates a launch configuration. If you exceed your maximum limit of launch configurations, the call fails. To query this limit, call the [DescribeAccountLimits] API. For information about updating this limit, see [Quotas for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html) in the Amazon EC2 Auto Scaling User Guide. For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html) in the Amazon EC2 Auto Scaling User Guide. Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information about using launch templates, see [Launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html) in the Amazon EC2 Auto Scaling User Guide. + /// Creates a launch configuration. If you exceed your maximum limit of launch configurations, the call fails. To query this limit, call the [DescribeAccountLimits] API. For information about updating this limit, see [Quotas for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html) in the Amazon EC2 Auto Scaling User Guide. For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html) in the Amazon EC2 Auto Scaling User Guide. Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information about using launch templates, see [Launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter CreateLaunchConfigurationInput : [no documentation found] /// @@ -956,7 +956,7 @@ extension AutoScalingClient { /// Performs the `DeletePolicy` operation on the `AutoScaling_2011_01_01` service. /// - /// Deletes the specified scaling policy. Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action. For more information, see [Deleting a scaling policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html) in the Amazon EC2 Auto Scaling User Guide. + /// Deletes the specified scaling policy. Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action. For more information, see [Delete a scaling policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter DeletePolicyInput : [no documentation found] /// @@ -1844,7 +1844,7 @@ extension AutoScalingClient { /// Performs the `DescribeScalingActivities` operation on the `AutoScaling_2011_01_01` service. /// - /// Gets information about the scaling activities in the account and Region. When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see [Verifying a scaling activity for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html) in the Amazon EC2 Auto Scaling User Guide. If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see [Troubleshooting Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html) in the Amazon EC2 Auto Scaling User Guide. + /// Gets information about the scaling activities in the account and Region. When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see [Verify a scaling activity for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html) in the Amazon EC2 Auto Scaling User Guide. If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see [Troubleshooting Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter DescribeScalingActivitiesInput : [no documentation found] /// @@ -2039,7 +2039,7 @@ extension AutoScalingClient { /// Performs the `DescribeTerminationPolicyTypes` operation on the `AutoScaling_2011_01_01` service. /// - /// Describes the termination policies supported by Amazon EC2 Auto Scaling. For more information, see [Work with Amazon EC2 Auto Scaling termination policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide. + /// Describes the termination policies supported by Amazon EC2 Auto Scaling. For more information, see [Configure termination policies for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter DescribeTerminationPolicyTypesInput : [no documentation found] /// @@ -2186,7 +2186,7 @@ extension AutoScalingClient { /// Performs the `DetachInstances` operation on the `AutoScaling_2011_01_01` service. /// - /// Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see [Detach EC2 instances from your Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html) in the Amazon EC2 Auto Scaling User Guide. + /// Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see [Detach or attach instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter DetachInstancesInput : [no documentation found] /// @@ -2731,7 +2731,7 @@ extension AutoScalingClient { /// Performs the `PutNotificationConfiguration` operation on the `AutoScaling_2011_01_01` service. /// - /// Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information, see [Getting Amazon SNS notifications when your Auto Scaling group scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails. + /// Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information, see [Amazon SNS notification options for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails. /// /// - Parameter PutNotificationConfigurationInput : [no documentation found] /// @@ -2831,7 +2831,7 @@ extension AutoScalingClient { /// Performs the `PutScheduledUpdateGroupAction` operation on the `AutoScaling_2011_01_01` service. /// - /// Creates or updates a scheduled scaling action for an Auto Scaling group. For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html) in the Amazon EC2 Auto Scaling User Guide. You can view the scheduled actions for an Auto Scaling group using the [DescribeScheduledActions] API call. If you are no longer using a scheduled action, you can delete it by calling the [DeleteScheduledAction] API. If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message. + /// Creates or updates a scheduled scaling action for an Auto Scaling group. For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html) in the Amazon EC2 Auto Scaling User Guide. You can view the scheduled actions for an Auto Scaling group using the [DescribeScheduledActions] API call. If you are no longer using a scheduled action, you can delete it by calling the [DeleteScheduledAction] API. If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message. /// /// - Parameter PutScheduledUpdateGroupActionInput : [no documentation found] /// @@ -2881,7 +2881,7 @@ extension AutoScalingClient { /// Performs the `PutWarmPool` operation on the `AutoScaling_2011_01_01` service. /// - /// Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new desired capacity. For more information and example configurations, see [Warm pools for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) in the Amazon EC2 Auto Scaling User Guide. This operation must be called from the Region in which the Auto Scaling group was created. This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a launch template or launch configuration that requests Spot Instances. You can view the instances in the warm pool using the [DescribeWarmPool] API call. If you are no longer using a warm pool, you can delete it by calling the [DeleteWarmPool] API. + /// Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new desired capacity. This operation must be called from the Region in which the Auto Scaling group was created. You can view the instances in the warm pool using the [DescribeWarmPool] API call. If you are no longer using a warm pool, you can delete it by calling the [DeleteWarmPool] API. For more information, see [Warm pools for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter PutWarmPoolInput : [no documentation found] /// @@ -2993,7 +2993,7 @@ extension AutoScalingClient { /// Performs the `ResumeProcesses` operation on the `AutoScaling_2011_01_01` service. /// - /// Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see [Suspending and resuming scaling processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) in the Amazon EC2 Auto Scaling User Guide. + /// Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see [Suspend and resume Amazon EC2 Auto Scaling processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter ResumeProcessesInput : [no documentation found] /// @@ -3102,7 +3102,7 @@ extension AutoScalingClient { /// Performs the `SetDesiredCapacity` operation on the `AutoScaling_2011_01_01` service. /// - /// Sets the size of the specified Auto Scaling group. If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate. For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html) in the Amazon EC2 Auto Scaling User Guide. + /// Sets the size of the specified Auto Scaling group. If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate. For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter SetDesiredCapacityInput : [no documentation found] /// @@ -3151,7 +3151,7 @@ extension AutoScalingClient { /// Performs the `SetInstanceHealth` operation on the `AutoScaling_2011_01_01` service. /// - /// Sets the health status of the specified instance. For more information, see [Health checks for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) in the Amazon EC2 Auto Scaling User Guide. + /// Sets the health status of the specified instance. For more information, see [Health checks for instances in an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter SetInstanceHealthInput : [no documentation found] /// @@ -3199,7 +3199,7 @@ extension AutoScalingClient { /// Performs the `SetInstanceProtection` operation on the `AutoScaling_2011_01_01` service. /// - /// Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see [Using instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails. + /// Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information, see [Use instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails. /// /// - Parameter SetInstanceProtectionInput : [no documentation found] /// @@ -3298,7 +3298,7 @@ extension AutoScalingClient { /// Performs the `SuspendProcesses` operation on the `AutoScaling_2011_01_01` service. /// - /// Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group. If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see [Suspending and resuming scaling processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) in the Amazon EC2 Auto Scaling User Guide. To resume processes that have been suspended, call the [ResumeProcesses] API. + /// Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group. If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see [Suspend and resume Amazon EC2 Auto Scaling processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) in the Amazon EC2 Auto Scaling User Guide. To resume processes that have been suspended, call the [ResumeProcesses] API. /// /// - Parameter SuspendProcessesInput : [no documentation found] /// @@ -3347,7 +3347,7 @@ extension AutoScalingClient { /// Performs the `TerminateInstanceInAutoScalingGroup` operation on the `AutoScaling_2011_01_01` service. /// - /// Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool. This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated. You can't connect to or start an instance after you've terminated it. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated. By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you decrement the desired capacity, your Auto Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might terminate instances in other zones. For more information, see [Rebalancing activities](https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage) in the Amazon EC2 Auto Scaling User Guide. + /// Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool. This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated. You can't connect to or start an instance after you've terminated it. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated. By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you decrement the desired capacity, your Auto Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might terminate instances in other zones. For more information, see [Manual scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html) in the Amazon EC2 Auto Scaling User Guide. /// /// - Parameter TerminateInstanceInAutoScalingGroupInput : [no documentation found] /// diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift index 053117a8a82..22cc0b66bc3 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -322,7 +322,7 @@ public struct ActiveInstanceRefreshNotFoundFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -526,7 +526,7 @@ public struct AlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -551,7 +551,7 @@ public struct ResourceContentionFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -575,7 +575,7 @@ public struct ServiceLinkedRoleFailure: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -780,7 +780,7 @@ public struct LimitExceededFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -949,7 +949,7 @@ extension AutoScalingClientTypes { } extension AutoScalingClientTypes { - /// Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see [Launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html) in the Amazon EC2 Auto Scaling User Guide. + /// Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see [Launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html) in the Amazon EC2 Auto Scaling User Guide. public struct LaunchTemplateSpecification { /// The ID of the launch template. To get the template ID, use the Amazon EC2 [DescribeLaunchTemplates](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html) API operation. New launch templates can be created using the Amazon EC2 [CreateLaunchTemplate](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html) API. Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName. public var launchTemplateId: Swift.String? @@ -993,7 +993,7 @@ extension AutoScalingClientTypes { public var notificationMetadata: Swift.String? /// The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue. public var notificationTargetARN: Swift.String? - /// The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see [Configure a notification target for a lifecycle hook](https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html#lifecycle-hook-notification-target) in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue. + /// The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see [Prepare to add a lifecycle hook to your Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html) in the Amazon EC2 Auto Scaling User Guide. Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue. public var roleARN: Swift.String? public init( @@ -1390,7 +1390,7 @@ extension AutoScalingClientTypes { /// * ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes. /// /// - /// You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see [Preview instance types with specified attributes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements) in the Amazon EC2 User Guide for Linux Instances. + /// You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. For more information, see [Create a mixed instances group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see [Preview instance types with specified attributes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements) in the Amazon EC2 User Guide for Linux Instances. public struct InstanceRequirements { /// The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type. To exclude accelerator-enabled instance types, set Max to 0. Default: No minimum or maximum limits public var acceleratorCount: AutoScalingClientTypes.AcceleratorCountRequest? @@ -1571,11 +1571,11 @@ extension AutoScalingClientTypes { public struct LaunchTemplateOverrides { /// The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. If you specify InstanceRequirements, you can't specify InstanceType. public var instanceRequirements: AutoScalingClientTypes.InstanceRequirements? - /// The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the Amazon Elastic Compute Cloud User Guide. You can specify up to 40 instance types per Auto Scaling group. + /// The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the Amazon EC2 User Guide for Linux Instances. You can specify up to 40 instance types per Auto Scaling group. public var instanceType: Swift.String? /// Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the LaunchTemplate definition. For more information, see [Specifying a different launch template for an instance type](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html) in the Amazon EC2 Auto Scaling User Guide. You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the LaunchTemplate definition count towards this limit. public var launchTemplateSpecification: AutoScalingClientTypes.LaunchTemplateSpecification? - /// If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see [Configuring instance weighting for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html) in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999. If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances. + /// If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see [Configure an Auto Scaling group to use instance weights](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html) in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999. If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them. Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances. public var weightedCapacity: Swift.String? public init( @@ -1677,31 +1677,31 @@ public struct CreateAutoScalingGroupInput { public var capacityRebalance: Swift.Bool? /// Reserved. public var context: Swift.String? - /// Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) in the Amazon EC2 Auto Scaling User Guide. Default: 300 seconds + /// Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the Amazon EC2 Auto Scaling User Guide. Default: 300 seconds public var defaultCooldown: Swift.Int? /// The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see [Set the default instance warmup for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html) in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of 0 or other nominal value. Default: None public var defaultInstanceWarmup: Swift.Int? /// The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure auto scaling. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity, the default is the minimum size of the group. public var desiredCapacity: Swift.Int? - /// The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib + /// The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see [Create a mixed instances group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib public var desiredCapacityType: Swift.String? /// The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the InService state. For more information, see [Set the health check grace period for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html) in the Amazon EC2 Auto Scaling User Guide. Default: 0 seconds public var healthCheckGracePeriod: Swift.Int? - /// A comma-separated value string of one or more health check types. The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see [Health checks for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set. + /// A comma-separated value string of one or more health check types. The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see [Health checks for instances in an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html) in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set. public var healthCheckType: Swift.String? - /// The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 [DescribeInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html) API operation. For more information, see [Creating an Auto Scaling group using an EC2 instance](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html) in the Amazon EC2 Auto Scaling User Guide. + /// The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 [DescribeInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html) API operation. For more information, see [Create an Auto Scaling group using parameters from an existing instance](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html) in the Amazon EC2 Auto Scaling User Guide. public var instanceId: Swift.String? /// An instance maintenance policy. For more information, see [Set instance maintenance policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the Amazon EC2 Auto Scaling User Guide. public var instanceMaintenancePolicy: AutoScalingClientTypes.InstanceMaintenancePolicy? /// The name of the launch configuration to use to launch instances. Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId). public var launchConfigurationName: Swift.String? - /// Information used to specify the launch template and version to use to launch instances. Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId). The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see [Creating a launch template for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) in the Amazon EC2 Auto Scaling User Guide. + /// Information used to specify the launch template and version to use to launch instances. Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId). The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see [Create a launch template for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) in the Amazon EC2 Auto Scaling User Guide. public var launchTemplate: AutoScalingClientTypes.LaunchTemplateSpecification? /// One or more lifecycle hooks to add to the Auto Scaling group before instances are launched. public var lifecycleHookSpecificationList: [AutoScalingClientTypes.LifecycleHookSpecification]? /// A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead. public var loadBalancerNames: [Swift.String]? - /// The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see [Replacing Auto Scaling instances based on maximum instance lifetime](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html) in the Amazon EC2 Auto Scaling User Guide. + /// The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see [Replace Auto Scaling instances based on maximum instance lifetime](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html) in the Amazon EC2 Auto Scaling User Guide. public var maxInstanceLifetime: Swift.Int? /// The maximum size of the group. With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). /// This member is required. @@ -1711,7 +1711,7 @@ public struct CreateAutoScalingGroupInput { public var minSize: Swift.Int? /// The mixed instances policy. For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the Amazon EC2 Auto Scaling User Guide. public var mixedInstancesPolicy: AutoScalingClientTypes.MixedInstancesPolicy? - /// Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [Using instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. + /// Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [Use instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. public var newInstancesProtectedFromScaleIn: Swift.Bool? /// The name of the placement group into which to launch your instances. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group. public var placementGroup: Swift.String? @@ -1721,7 +1721,7 @@ public struct CreateAutoScalingGroupInput { public var tags: [AutoScalingClientTypes.Tag]? /// The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see [Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) in the Amazon EC2 Auto Scaling User Guide. public var targetGroupARNs: [Swift.String]? - /// A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see [Work with Amazon EC2 Auto Scaling termination policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide. Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias + /// A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see [Configure termination policies for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide. Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias public var terminationPolicies: [Swift.String]? /// The list of traffic sources to attach to this Auto Scaling group. You can use any of the following as traffic sources for an Auto Scaling group: Classic Load Balancer, Application Load Balancer, Gateway Load Balancer, Network Load Balancer, and VPC Lattice. public var trafficSources: [AutoScalingClientTypes.TrafficSourceIdentifier]? @@ -1795,7 +1795,7 @@ extension AutoScalingClientTypes { public struct Ebs { /// Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true. public var deleteOnTermination: Swift.Bool? - /// Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see [Supported instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances). If your AMI uses encrypted volumes, you can also only launch it on supported instance types. If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration. If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted. For more information, see [Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-data-protection.html#encryption) in the Amazon EC2 Auto Scaling User Guide. + /// Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see [Requirements for Amazon EBS encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html) in the Amazon EBS User Guide. If your AMI uses encrypted volumes, you can also only launch it on supported instance types. If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration. If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted. For more information, see [Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-data-protection.html#encryption) in the Amazon EC2 Auto Scaling User Guide. public var encrypted: Swift.Bool? /// The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type: /// @@ -1804,7 +1804,7 @@ extension AutoScalingClientTypes { /// * io1: 100-64,000 IOPS /// /// - /// For io1 volumes, we guarantee 64,000 IOPS only for [Instances built on the Nitro System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). Other instance families guarantee performance up to 32,000 IOPS. Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.) + /// For io1 volumes, we guarantee 64,000 IOPS only for [Instances built on the Amazon Web Services Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). Other instance families guarantee performance up to 32,000 IOPS. Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.) public var iops: Swift.Int? /// The snapshot ID of the volume to use. You must specify either a VolumeSize or a SnapshotId. public var snapshotId: Swift.String? @@ -1823,7 +1823,7 @@ extension AutoScalingClientTypes { /// /// You must specify either a SnapshotId or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot. public var volumeSize: Swift.Int? - /// The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the Amazon EC2 User Guide for Linux Instances. Valid values: standard | io1 | gp2 | st1 | sc1 | gp3 + /// The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the Amazon EBS User Guide. Valid values: standard | io1 | gp2 | st1 | sc1 | gp3 public var volumeType: Swift.String? public init( @@ -1952,7 +1952,7 @@ extension AutoScalingClientTypes { } extension AutoScalingClientTypes { - /// The metadata options for the instances. For more information, see [Configuring the Instance Metadata Options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) in the Amazon EC2 Auto Scaling User Guide. + /// The metadata options for the instances. For more information, see [Configure the instance metadata options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) in the Amazon EC2 Auto Scaling User Guide. public struct InstanceMetadataOptions { /// This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata. public var httpEndpoint: AutoScalingClientTypes.InstanceMetadataEndpointState? @@ -1976,7 +1976,7 @@ extension AutoScalingClientTypes { } public struct CreateLaunchConfigurationInput { - /// Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. If you specify true, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see [Launching Auto Scaling instances in a VPC](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html) in the Amazon EC2 Auto Scaling User Guide. If you specify this property, you must specify at least one subnet for VPCZoneIdentifier when you create your group. + /// Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. If you specify true, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see [Provide network connectivity for your Auto Scaling instances using Amazon VPC](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html) in the Amazon EC2 Auto Scaling User Guide. If you specify this property, you must specify at least one subnet for VPCZoneIdentifier when you create your group. public var associatePublicIpAddress: Swift.Bool? /// The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see [Block device mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) in the Amazon EC2 User Guide for Linux Instances. public var blockDeviceMappings: [AutoScalingClientTypes.BlockDeviceMapping]? @@ -1984,32 +1984,32 @@ public struct CreateLaunchConfigurationInput { public var classicLinkVPCId: Swift.String? /// Available for backward compatibility. public var classicLinkVPCSecurityGroups: [Swift.String]? - /// Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see [Amazon EBS-optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) in the Amazon EC2 User Guide for Linux Instances. The default value is false. + /// Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see [Amazon EBS-optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the Amazon EC2 User Guide for Linux Instances. The default value is false. public var ebsOptimized: Swift.Bool? /// The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see [IAM role for applications that run on Amazon EC2 instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html) in the Amazon EC2 Auto Scaling User Guide. public var iamInstanceProfile: Swift.String? - /// The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see [Finding a Linux AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) in the Amazon EC2 User Guide for Linux Instances. If you specify InstanceId, an ImageId is not required. + /// The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see [Find a Linux AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) in the Amazon EC2 User Guide for Linux Instances. If you specify InstanceId, an ImageId is not required. public var imageId: Swift.String? - /// The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block device mapping. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see [Creating a launch configuration using an EC2 instance](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html) in the Amazon EC2 Auto Scaling User Guide. + /// The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block device mapping. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see [Create a launch configuration](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html) in the Amazon EC2 Auto Scaling User Guide. public var instanceId: Swift.String? - /// Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. The default value is true (enabled). When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see [Configure Monitoring for Auto Scaling Instances](https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html) in the Amazon EC2 Auto Scaling User Guide. + /// Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. The default value is true (enabled). When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see [Configure monitoring for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html) in the Amazon EC2 Auto Scaling User Guide. public var instanceMonitoring: AutoScalingClientTypes.InstanceMonitoring? /// Specifies the instance type of the EC2 instance. For information about available instance types, see [Available instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) in the Amazon EC2 User Guide for Linux Instances. If you specify InstanceId, an InstanceType is not required. public var instanceType: Swift.String? /// The ID of the kernel associated with the AMI. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) in the Amazon EC2 User Guide for Linux Instances. public var kernelId: Swift.String? - /// The name of the key pair. For more information, see [Amazon EC2 key pairs and Linux instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon EC2 User Guide for Linux Instances. + /// The name of the key pair. For more information, see [Amazon EC2 key pairs and Amazon EC2 instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon EC2 User Guide for Linux Instances. public var keyName: Swift.String? /// The name of the launch configuration. This name must be unique per Region per account. /// This member is required. public var launchConfigurationName: Swift.String? - /// The metadata options for the instances. For more information, see [Configuring the Instance Metadata Options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) in the Amazon EC2 Auto Scaling User Guide. + /// The metadata options for the instances. For more information, see [Configure the instance metadata options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) in the Amazon EC2 Auto Scaling User Guide. public var metadataOptions: AutoScalingClientTypes.InstanceMetadataOptions? - /// The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default), you must set the value of this property to dedicated. For more information, see [Configuring instance tenancy with Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html) in the Amazon EC2 Auto Scaling User Guide. If you specify PlacementTenancy, you must specify at least one subnet for VPCZoneIdentifier when you create your group. Valid values: default | dedicated + /// The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default), you must set the value of this property to dedicated. If you specify PlacementTenancy, you must specify at least one subnet for VPCZoneIdentifier when you create your group. Valid values: default | dedicated public var placementTenancy: Swift.String? /// The ID of the RAM disk to select. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html) in the Amazon EC2 User Guide for Linux Instances. public var ramdiskId: Swift.String? - /// A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see [Control traffic to resources using security groups](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) in the Amazon Virtual Private Cloud User Guide. + /// A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see [Control traffic to your Amazon Web Services resources using security groups](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html) in the Amazon Virtual Private Cloud User Guide. public var securityGroups: [Swift.String]? /// The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see [Request Spot Instances for fault-tolerant and flexible applications](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html) in the Amazon EC2 Auto Scaling User Guide. Valid Range: Minimum value of 0.001 When you change your maximum price by creating a new launch configuration, running instances will continue to run as long as the maximum price for those running instances is higher than the current Spot price. public var spotPrice: Swift.String? @@ -2073,7 +2073,7 @@ public struct ResourceInUseFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2111,7 +2111,7 @@ public struct ScalingActivityInProgressFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2313,7 +2313,7 @@ public struct InvalidNextToken: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2434,7 +2434,7 @@ extension AutoScalingClientTypes { /// * GroupAndWarmPoolTotalCapacity /// /// - /// For more information, see [Auto Scaling group metrics](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics) in the Amazon EC2 Auto Scaling User Guide. + /// For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html) in the Amazon EC2 Auto Scaling User Guide. public var metric: Swift.String? public init( @@ -2559,7 +2559,7 @@ extension AutoScalingClientTypes { public var launchConfigurationName: Swift.String? /// The launch template for the instance. public var launchTemplate: AutoScalingClientTypes.LaunchTemplateSpecification? - /// A description of the current lifecycle state. The Quarantined state is not used. For information about lifecycle states, see [Instance lifecycle](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html) in the Amazon EC2 Auto Scaling User Guide. + /// A description of the current lifecycle state. The Quarantined state is not used. For more information, see [Amazon EC2 Auto Scaling instance lifecycle](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html) in the Amazon EC2 Auto Scaling User Guide. /// This member is required. public var lifecycleState: AutoScalingClientTypes.LifecycleState? /// Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in. @@ -2595,7 +2595,7 @@ extension AutoScalingClientTypes { } extension AutoScalingClientTypes { - /// Describes an auto scaling process that has been suspended. For more information, see [Scaling processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types) in the Amazon EC2 Auto Scaling User Guide. + /// Describes an auto scaling process that has been suspended. For more information, see [Types of processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types) in the Amazon EC2 Auto Scaling User Guide. public struct SuspendedProcess { /// The name of the suspended process. public var processName: Swift.String? @@ -2970,7 +2970,7 @@ extension AutoScalingClientTypes { public var launchConfigurationName: Swift.String? /// The launch template for the instance. public var launchTemplate: AutoScalingClientTypes.LaunchTemplateSpecification? - /// The lifecycle state for the instance. The Quarantined state is not used. For information about lifecycle states, see [Instance lifecycle](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html) in the Amazon EC2 Auto Scaling User Guide. Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running + /// The lifecycle state for the instance. The Quarantined state is not used. For more information, see [Amazon EC2 Auto Scaling instance lifecycle](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html) in the Amazon EC2 Auto Scaling User Guide. Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running /// This member is required. public var lifecycleState: Swift.String? /// Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in. @@ -3063,7 +3063,7 @@ public struct DescribeInstanceRefreshesInput { extension AutoScalingClientTypes { /// Describes the desired configuration for an instance refresh. If you specify a desired configuration, you must specify either a LaunchTemplate or a MixedInstancesPolicy. public struct DesiredConfiguration { - /// Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see [Launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html) in the Amazon EC2 Auto Scaling User Guide. + /// Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see [Launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html) in the Amazon EC2 Auto Scaling User Guide. public var launchTemplate: AutoScalingClientTypes.LaunchTemplateSpecification? /// Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group. A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the Amazon EC2 Auto Scaling User Guide. public var mixedInstancesPolicy: AutoScalingClientTypes.MixedInstancesPolicy? @@ -3162,7 +3162,7 @@ extension AutoScalingClientTypes { public var autoRollback: Swift.Bool? /// (Optional) The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour). public var checkpointDelay: Swift.Int? - /// (Optional) Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100. For usage examples, see [Adding checkpoints to an instance refresh](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html) in the Amazon EC2 Auto Scaling User Guide. + /// (Optional) Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100. For usage examples, see [Add checkpoints to an instance refresh](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html) in the Amazon EC2 Auto Scaling User Guide. public var checkpointPercentages: [Swift.Int]? /// A time period, in seconds, during which an instance refresh waits before moving on to replacing the next instance after a new instance enters the InService state. This property is not required for normal usage. Instead, use the DefaultInstanceWarmup property of the Auto Scaling group. The InstanceWarmup and DefaultInstanceWarmup properties work the same way. Only specify this property if you must override the DefaultInstanceWarmup property. If you do not specify this property, the instance warmup by default is the value of the DefaultInstanceWarmup property, if defined (which is recommended in all cases), or the HealthCheckGracePeriod property otherwise. public var instanceWarmup: Swift.Int? @@ -3464,9 +3464,9 @@ public struct DescribeLaunchConfigurationsInput { extension AutoScalingClientTypes { /// Describes a launch configuration. public struct LaunchConfiguration { - /// Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see [Launching Auto Scaling instances in a VPC](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html) in the Amazon EC2 Auto Scaling User Guide. + /// Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see [Provide network connectivity for your Auto Scaling instances using Amazon VPC](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html) in the Amazon EC2 Auto Scaling User Guide. public var associatePublicIpAddress: Swift.Bool? - /// The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see [Block Device Mapping](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) in the Amazon EC2 User Guide for Linux Instances. + /// The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see [Block device mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) in the Amazon EC2 User Guide for Linux Instances. public var blockDeviceMappings: [AutoScalingClientTypes.BlockDeviceMapping]? /// Available for backward compatibility. public var classicLinkVPCId: Swift.String? @@ -3475,36 +3475,36 @@ extension AutoScalingClientTypes { /// The creation date and time for the launch configuration. /// This member is required. public var createdTime: Foundation.Date? - /// Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see [Amazon EBS-Optimized Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) in the Amazon EC2 User Guide for Linux Instances. + /// Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see [Amazon EBS-optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the Amazon EC2 User Guide for Linux Instances. public var ebsOptimized: Swift.Bool? /// The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see [IAM role for applications that run on Amazon EC2 instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html) in the Amazon EC2 Auto Scaling User Guide. public var iamInstanceProfile: Swift.String? /// The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see [Find a Linux AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) in the Amazon EC2 User Guide for Linux Instances. /// This member is required. public var imageId: Swift.String? - /// Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. For more information, see [Configure Monitoring for Auto Scaling Instances](https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html) in the Amazon EC2 Auto Scaling User Guide. + /// Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. For more information, see [Configure monitoring for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html) in the Amazon EC2 Auto Scaling User Guide. public var instanceMonitoring: AutoScalingClientTypes.InstanceMonitoring? /// The instance type for the instances. For information about available instance types, see [Available instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) in the Amazon EC2 User Guide for Linux Instances. /// This member is required. public var instanceType: Swift.String? /// The ID of the kernel associated with the AMI. public var kernelId: Swift.String? - /// The name of the key pair. For more information, see [Amazon EC2 Key Pairs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon EC2 User Guide for Linux Instances. + /// The name of the key pair. For more information, see [Amazon EC2 key pairs and Amazon EC2 instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the Amazon EC2 User Guide for Linux Instances. public var keyName: Swift.String? /// The Amazon Resource Name (ARN) of the launch configuration. public var launchConfigurationARN: Swift.String? /// The name of the launch configuration. /// This member is required. public var launchConfigurationName: Swift.String? - /// The metadata options for the instances. For more information, see [Configuring the Instance Metadata Options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) in the Amazon EC2 Auto Scaling User Guide. + /// The metadata options for the instances. For more information, see [Configure the instance metadata options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) in the Amazon EC2 Auto Scaling User Guide. public var metadataOptions: AutoScalingClientTypes.InstanceMetadataOptions? - /// The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. For more information, see [Configuring instance tenancy with Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html) in the Amazon EC2 Auto Scaling User Guide. + /// The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. public var placementTenancy: Swift.String? /// The ID of the RAM disk associated with the AMI. public var ramdiskId: Swift.String? - /// A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see [Security Groups for Your VPC](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) in the Amazon Virtual Private Cloud User Guide. + /// A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see [Control traffic to your Amazon Web Services resources using security groups](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html) in the Amazon Virtual Private Cloud User Guide. public var securityGroups: [Swift.String]? - /// The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see [Requesting Spot Instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html) in the Amazon EC2 Auto Scaling User Guide. + /// The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see [Requesting Spot Instances for fault-tolerant and flexible applications](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html) in the Amazon EC2 Auto Scaling User Guide. public var spotPrice: Swift.String? /// The user data to make available to the launched EC2 instances. For more information, see [Instance metadata and user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) (Linux) and [Instance metadata and user data](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html) (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB. public var userData: Swift.String? @@ -4448,9 +4448,12 @@ extension AutoScalingClientTypes { public struct PredictiveScalingConfiguration { /// Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified. The following are possible values: /// - /// * HonorMaxCapacity - Amazon EC2 Auto Scaling cannot scale out capacity higher than the maximum capacity. The maximum capacity is enforced as a hard limit. + /// * HonorMaxCapacity - Amazon EC2 Auto Scaling can't increase the maximum capacity of the group when the forecast capacity is close to or exceeds the maximum capacity. /// - /// * IncreaseMaxCapacity - Amazon EC2 Auto Scaling can scale out capacity higher than the maximum capacity when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer. + /// * IncreaseMaxCapacity - Amazon EC2 Auto Scaling can increase the maximum capacity of the group when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer. + /// + /// + /// Use caution when allowing the maximum capacity to be automatically increased. This can lead to more instances being launched than intended if the increased maximum capacity is not monitored and managed. The increased maximum capacity then becomes the new normal maximum capacity for the Auto Scaling group until you manually update it. The maximum capacity does not automatically decrease back to the original maximum. public var maxCapacityBreachBehavior: AutoScalingClientTypes.PredictiveScalingMaxCapacityBreachBehavior? /// The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55. If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity. Required if the MaxCapacityBreachBehavior property is set to IncreaseMaxCapacity, and cannot be used otherwise. public var maxCapacityBuffer: Swift.Int? @@ -4913,7 +4916,7 @@ public struct DescribeScalingActivitiesOutput { } extension AutoScalingClientTypes { - /// Describes a process type. For more information, see [Scaling processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types) in the Amazon EC2 Auto Scaling User Guide. + /// Describes a process type. For more information, see [Types of processes](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types) in the Amazon EC2 Auto Scaling User Guide. public struct ProcessType { /// One of the following processes: /// @@ -5397,7 +5400,7 @@ public struct DisableMetricsCollectionInput { /// * GroupAndWarmPoolTotalCapacity /// /// - /// If you omit this property, all metrics are disabled. For more information, see [Auto Scaling group metrics](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics) in the Amazon EC2 Auto Scaling User Guide. + /// If you omit this property, all metrics are disabled. For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html) in the Amazon EC2 Auto Scaling User Guide. public var metrics: [Swift.String]? public init( @@ -5460,7 +5463,7 @@ public struct EnableMetricsCollectionInput { /// * GroupAndWarmPoolTotalCapacity /// /// - /// If you specify Granularity and don't specify any metrics, all metrics are enabled. For more information, see [Auto Scaling group metrics](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics) in the Amazon EC2 Auto Scaling User Guide. + /// If you specify Granularity and don't specify any metrics, all metrics are enabled. For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html) in the Amazon EC2 Auto Scaling User Guide. public var metrics: [Swift.String]? public init( @@ -5514,7 +5517,7 @@ public struct ExecutePolicyInput { public var autoScalingGroupName: Swift.String? /// The breach threshold for the alarm. Required if the policy type is StepScaling and not supported otherwise. public var breachThreshold: Swift.Double? - /// Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy. Valid only if the policy type is SimpleScaling. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) in the Amazon EC2 Auto Scaling User Guide. + /// Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy. Valid only if the policy type is SimpleScaling. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the Amazon EC2 Auto Scaling User Guide. public var honorCooldown: Swift.Bool? /// The metric value to compare to BreachThreshold. This enables you to execute a policy of type StepScaling and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59. If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error. Required if the policy type is StepScaling and not supported otherwise. public var metricValue: Swift.Double? @@ -5750,9 +5753,9 @@ public struct PutScalingPolicyInput { /// The name of the Auto Scaling group. /// This member is required. public var autoScalingGroupName: Swift.String? - /// A cooldown period, in seconds, that applies to a specific simple scaling policy. When a cooldown period is specified here, it overrides the default cooldown. Valid only if the policy type is SimpleScaling. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) in the Amazon EC2 Auto Scaling User Guide. Default: None + /// A cooldown period, in seconds, that applies to a specific simple scaling policy. When a cooldown period is specified here, it overrides the default cooldown. Valid only if the policy type is SimpleScaling. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the Amazon EC2 Auto Scaling User Guide. Default: None public var cooldown: Swift.Int? - /// Indicates whether the scaling policy is enabled or disabled. The default is enabled. For more information, see [Disabling a scaling policy for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html) in the Amazon EC2 Auto Scaling User Guide. + /// Indicates whether the scaling policy is enabled or disabled. The default is enabled. For more information, see [Disable a scaling policy for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html) in the Amazon EC2 Auto Scaling User Guide. public var enabled: Swift.Bool? /// Not needed if the default instance warmup is defined for the group. The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This warm-up period applies to instances launched due to a specific target tracking or step scaling policy. When a warm-up period is specified here, it overrides the default instance warmup. Valid only if the policy type is TargetTrackingScaling or StepScaling. The default is to use the value for the default instance warmup defined for the group. If default instance warmup is null, then EstimatedInstanceWarmup falls back to the value of default cooldown. public var estimatedInstanceWarmup: Swift.Int? @@ -6012,7 +6015,7 @@ public struct IrreversibleInstanceRefreshFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6078,7 +6081,7 @@ public struct SetInstanceHealthInput { /// The ID of the instance. /// This member is required. public var instanceId: Swift.String? - /// If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group. For more information about the health check grace period, see [CreateAutoScalingGroup](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html) in the Amazon EC2 Auto Scaling API Reference. + /// If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group. For more information about the health check grace period, see [Set the health check grace period for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html) in the Amazon EC2 Auto Scaling User Guide. public var shouldRespectGracePeriod: Swift.Bool? public init( @@ -6133,7 +6136,7 @@ public struct InstanceRefreshInProgressFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6294,17 +6297,17 @@ public struct UpdateAutoScalingGroupInput { public var capacityRebalance: Swift.Bool? /// Reserved. public var context: Swift.String? - /// Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) in the Amazon EC2 Auto Scaling User Guide. + /// Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the Amazon EC2 Auto Scaling User Guide. public var defaultCooldown: Swift.Int? /// The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see [Set the default instance warmup for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html) in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of 0 or other nominal value. public var defaultInstanceWarmup: Swift.Int? /// The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. public var desiredCapacity: Swift.Int? - /// The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib + /// The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see [Create a mixed instances group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) in the Amazon EC2 Auto Scaling User Guide. By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances. Valid values: units | vcpu | memory-mib public var desiredCapacityType: Swift.String? /// The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the InService state. For more information, see [Set the health check grace period for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html) in the Amazon EC2 Auto Scaling User Guide. public var healthCheckGracePeriod: Swift.Int? - /// A comma-separated value string of one or more health check types. The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see [Health checks for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set. + /// A comma-separated value string of one or more health check types. The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see [Health checks for instances in an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html) in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set. public var healthCheckType: Swift.String? /// An instance maintenance policy. For more information, see [Set instance maintenance policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the Amazon EC2 Auto Scaling User Guide. public var instanceMaintenancePolicy: AutoScalingClientTypes.InstanceMaintenancePolicy? @@ -6320,13 +6323,13 @@ public struct UpdateAutoScalingGroupInput { public var minSize: Swift.Int? /// The mixed instances policy. For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the Amazon EC2 Auto Scaling User Guide. public var mixedInstancesPolicy: AutoScalingClientTypes.MixedInstancesPolicy? - /// Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [Using instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. + /// Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [Use instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the Amazon EC2 Auto Scaling User Guide. public var newInstancesProtectedFromScaleIn: Swift.Bool? /// The name of an existing placement group into which to launch your instances. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon EC2 User Guide for Linux Instances. A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group. public var placementGroup: Swift.String? /// The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. For more information, see [Service-linked roles](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html) in the Amazon EC2 Auto Scaling User Guide. public var serviceLinkedRoleARN: Swift.String? - /// A policy or a list of policies that are used to select the instances to terminate. The policies are executed in the order that you list them. For more information, see [Work with Amazon EC2 Auto Scaling termination policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide. Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias + /// A policy or a list of policies that are used to select the instances to terminate. The policies are executed in the order that you list them. For more information, see [Configure termination policies for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the Amazon EC2 Auto Scaling User Guide. Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias public var terminationPolicies: [Swift.String]? /// A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones. public var vpcZoneIdentifier: Swift.String? @@ -7675,35 +7678,35 @@ extension UpdateAutoScalingGroupInput { extension AttachInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachInstancesOutput { return AttachInstancesOutput() } } extension AttachLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachLoadBalancersOutput { return AttachLoadBalancersOutput() } } extension AttachLoadBalancerTargetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachLoadBalancerTargetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachLoadBalancerTargetGroupsOutput { return AttachLoadBalancerTargetGroupsOutput() } } extension AttachTrafficSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachTrafficSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachTrafficSourcesOutput { return AttachTrafficSourcesOutput() } } extension BatchDeleteScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchDeleteScheduledActionResult"] @@ -7715,7 +7718,7 @@ extension BatchDeleteScheduledActionOutput { extension BatchPutScheduledUpdateGroupActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutScheduledUpdateGroupActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutScheduledUpdateGroupActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchPutScheduledUpdateGroupActionResult"] @@ -7727,7 +7730,7 @@ extension BatchPutScheduledUpdateGroupActionOutput { extension CancelInstanceRefreshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelInstanceRefreshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelInstanceRefreshOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CancelInstanceRefreshResult"] @@ -7739,91 +7742,91 @@ extension CancelInstanceRefreshOutput { extension CompleteLifecycleActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteLifecycleActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteLifecycleActionOutput { return CompleteLifecycleActionOutput() } } extension CreateAutoScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAutoScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAutoScalingGroupOutput { return CreateAutoScalingGroupOutput() } } extension CreateLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchConfigurationOutput { return CreateLaunchConfigurationOutput() } } extension CreateOrUpdateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOrUpdateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOrUpdateTagsOutput { return CreateOrUpdateTagsOutput() } } extension DeleteAutoScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAutoScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAutoScalingGroupOutput { return DeleteAutoScalingGroupOutput() } } extension DeleteLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchConfigurationOutput { return DeleteLaunchConfigurationOutput() } } extension DeleteLifecycleHookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLifecycleHookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLifecycleHookOutput { return DeleteLifecycleHookOutput() } } extension DeleteNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotificationConfigurationOutput { return DeleteNotificationConfigurationOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeleteScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduledActionOutput { return DeleteScheduledActionOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DeleteWarmPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWarmPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWarmPoolOutput { return DeleteWarmPoolOutput() } } extension DescribeAccountLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountLimitsResult"] @@ -7838,7 +7841,7 @@ extension DescribeAccountLimitsOutput { extension DescribeAdjustmentTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAdjustmentTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAdjustmentTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAdjustmentTypesResult"] @@ -7850,7 +7853,7 @@ extension DescribeAdjustmentTypesOutput { extension DescribeAutoScalingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoScalingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoScalingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAutoScalingGroupsResult"] @@ -7863,7 +7866,7 @@ extension DescribeAutoScalingGroupsOutput { extension DescribeAutoScalingInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoScalingInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoScalingInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAutoScalingInstancesResult"] @@ -7876,7 +7879,7 @@ extension DescribeAutoScalingInstancesOutput { extension DescribeAutoScalingNotificationTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoScalingNotificationTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoScalingNotificationTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAutoScalingNotificationTypesResult"] @@ -7888,7 +7891,7 @@ extension DescribeAutoScalingNotificationTypesOutput { extension DescribeInstanceRefreshesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceRefreshesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceRefreshesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeInstanceRefreshesResult"] @@ -7901,7 +7904,7 @@ extension DescribeInstanceRefreshesOutput { extension DescribeLaunchConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLaunchConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLaunchConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLaunchConfigurationsResult"] @@ -7914,7 +7917,7 @@ extension DescribeLaunchConfigurationsOutput { extension DescribeLifecycleHooksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLifecycleHooksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLifecycleHooksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLifecycleHooksResult"] @@ -7926,7 +7929,7 @@ extension DescribeLifecycleHooksOutput { extension DescribeLifecycleHookTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLifecycleHookTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLifecycleHookTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLifecycleHookTypesResult"] @@ -7938,7 +7941,7 @@ extension DescribeLifecycleHookTypesOutput { extension DescribeLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancersResult"] @@ -7951,7 +7954,7 @@ extension DescribeLoadBalancersOutput { extension DescribeLoadBalancerTargetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancerTargetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancerTargetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancerTargetGroupsResult"] @@ -7964,7 +7967,7 @@ extension DescribeLoadBalancerTargetGroupsOutput { extension DescribeMetricCollectionTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetricCollectionTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetricCollectionTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeMetricCollectionTypesResult"] @@ -7977,7 +7980,7 @@ extension DescribeMetricCollectionTypesOutput { extension DescribeNotificationConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotificationConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotificationConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeNotificationConfigurationsResult"] @@ -7990,7 +7993,7 @@ extension DescribeNotificationConfigurationsOutput { extension DescribePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePoliciesResult"] @@ -8003,7 +8006,7 @@ extension DescribePoliciesOutput { extension DescribeScalingActivitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingActivitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingActivitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeScalingActivitiesResult"] @@ -8016,7 +8019,7 @@ extension DescribeScalingActivitiesOutput { extension DescribeScalingProcessTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingProcessTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingProcessTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeScalingProcessTypesResult"] @@ -8028,7 +8031,7 @@ extension DescribeScalingProcessTypesOutput { extension DescribeScheduledActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeScheduledActionsResult"] @@ -8041,7 +8044,7 @@ extension DescribeScheduledActionsOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTagsResult"] @@ -8054,7 +8057,7 @@ extension DescribeTagsOutput { extension DescribeTerminationPolicyTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTerminationPolicyTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTerminationPolicyTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTerminationPolicyTypesResult"] @@ -8066,7 +8069,7 @@ extension DescribeTerminationPolicyTypesOutput { extension DescribeTrafficSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrafficSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrafficSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTrafficSourcesResult"] @@ -8079,7 +8082,7 @@ extension DescribeTrafficSourcesOutput { extension DescribeWarmPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWarmPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWarmPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeWarmPoolResult"] @@ -8093,7 +8096,7 @@ extension DescribeWarmPoolOutput { extension DetachInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DetachInstancesResult"] @@ -8105,42 +8108,42 @@ extension DetachInstancesOutput { extension DetachLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachLoadBalancersOutput { return DetachLoadBalancersOutput() } } extension DetachLoadBalancerTargetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachLoadBalancerTargetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachLoadBalancerTargetGroupsOutput { return DetachLoadBalancerTargetGroupsOutput() } } extension DetachTrafficSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachTrafficSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachTrafficSourcesOutput { return DetachTrafficSourcesOutput() } } extension DisableMetricsCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableMetricsCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableMetricsCollectionOutput { return DisableMetricsCollectionOutput() } } extension EnableMetricsCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableMetricsCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableMetricsCollectionOutput { return EnableMetricsCollectionOutput() } } extension EnterStandbyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnterStandbyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnterStandbyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EnterStandbyResult"] @@ -8152,14 +8155,14 @@ extension EnterStandbyOutput { extension ExecutePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecutePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecutePolicyOutput { return ExecutePolicyOutput() } } extension ExitStandbyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExitStandbyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExitStandbyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ExitStandbyResult"] @@ -8171,7 +8174,7 @@ extension ExitStandbyOutput { extension GetPredictiveScalingForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPredictiveScalingForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPredictiveScalingForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetPredictiveScalingForecastResult"] @@ -8185,21 +8188,21 @@ extension GetPredictiveScalingForecastOutput { extension PutLifecycleHookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLifecycleHookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLifecycleHookOutput { return PutLifecycleHookOutput() } } extension PutNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutNotificationConfigurationOutput { return PutNotificationConfigurationOutput() } } extension PutScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutScalingPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PutScalingPolicyResult"] @@ -8212,35 +8215,35 @@ extension PutScalingPolicyOutput { extension PutScheduledUpdateGroupActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutScheduledUpdateGroupActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutScheduledUpdateGroupActionOutput { return PutScheduledUpdateGroupActionOutput() } } extension PutWarmPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutWarmPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutWarmPoolOutput { return PutWarmPoolOutput() } } extension RecordLifecycleActionHeartbeatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RecordLifecycleActionHeartbeatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RecordLifecycleActionHeartbeatOutput { return RecordLifecycleActionHeartbeatOutput() } } extension ResumeProcessesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeProcessesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeProcessesOutput { return ResumeProcessesOutput() } } extension RollbackInstanceRefreshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RollbackInstanceRefreshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RollbackInstanceRefreshOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RollbackInstanceRefreshResult"] @@ -8252,28 +8255,28 @@ extension RollbackInstanceRefreshOutput { extension SetDesiredCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDesiredCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDesiredCapacityOutput { return SetDesiredCapacityOutput() } } extension SetInstanceHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetInstanceHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetInstanceHealthOutput { return SetInstanceHealthOutput() } } extension SetInstanceProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetInstanceProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetInstanceProtectionOutput { return SetInstanceProtectionOutput() } } extension StartInstanceRefreshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInstanceRefreshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstanceRefreshOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartInstanceRefreshResult"] @@ -8285,14 +8288,14 @@ extension StartInstanceRefreshOutput { extension SuspendProcessesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SuspendProcessesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SuspendProcessesOutput { return SuspendProcessesOutput() } } extension TerminateInstanceInAutoScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateInstanceInAutoScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateInstanceInAutoScalingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["TerminateInstanceInAutoScalingGroupResult"] @@ -8304,14 +8307,14 @@ extension TerminateInstanceInAutoScalingGroupOutput { extension UpdateAutoScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAutoScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAutoScalingGroupOutput { return UpdateAutoScalingGroupOutput() } } enum AttachInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8326,7 +8329,7 @@ enum AttachInstancesOutputError { enum AttachLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8341,7 +8344,7 @@ enum AttachLoadBalancersOutputError { enum AttachLoadBalancerTargetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8356,7 +8359,7 @@ enum AttachLoadBalancerTargetGroupsOutputError { enum AttachTrafficSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8371,7 +8374,7 @@ enum AttachTrafficSourcesOutputError { enum BatchDeleteScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8385,7 +8388,7 @@ enum BatchDeleteScheduledActionOutputError { enum BatchPutScheduledUpdateGroupActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8401,7 +8404,7 @@ enum BatchPutScheduledUpdateGroupActionOutputError { enum CancelInstanceRefreshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8417,7 +8420,7 @@ enum CancelInstanceRefreshOutputError { enum CompleteLifecycleActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8431,7 +8434,7 @@ enum CompleteLifecycleActionOutputError { enum CreateAutoScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8448,7 +8451,7 @@ enum CreateAutoScalingGroupOutputError { enum CreateLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8464,7 +8467,7 @@ enum CreateLaunchConfigurationOutputError { enum CreateOrUpdateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8481,7 +8484,7 @@ enum CreateOrUpdateTagsOutputError { enum DeleteAutoScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8497,7 +8500,7 @@ enum DeleteAutoScalingGroupOutputError { enum DeleteLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8512,7 +8515,7 @@ enum DeleteLaunchConfigurationOutputError { enum DeleteLifecycleHookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8526,7 +8529,7 @@ enum DeleteLifecycleHookOutputError { enum DeleteNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8540,7 +8543,7 @@ enum DeleteNotificationConfigurationOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8555,7 +8558,7 @@ enum DeletePolicyOutputError { enum DeleteScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8569,7 +8572,7 @@ enum DeleteScheduledActionOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8584,7 +8587,7 @@ enum DeleteTagsOutputError { enum DeleteWarmPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8601,7 +8604,7 @@ enum DeleteWarmPoolOutputError { enum DescribeAccountLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8615,7 +8618,7 @@ enum DescribeAccountLimitsOutputError { enum DescribeAdjustmentTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8629,7 +8632,7 @@ enum DescribeAdjustmentTypesOutputError { enum DescribeAutoScalingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8644,7 +8647,7 @@ enum DescribeAutoScalingGroupsOutputError { enum DescribeAutoScalingInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8659,7 +8662,7 @@ enum DescribeAutoScalingInstancesOutputError { enum DescribeAutoScalingNotificationTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8673,7 +8676,7 @@ enum DescribeAutoScalingNotificationTypesOutputError { enum DescribeInstanceRefreshesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8688,7 +8691,7 @@ enum DescribeInstanceRefreshesOutputError { enum DescribeLaunchConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8703,7 +8706,7 @@ enum DescribeLaunchConfigurationsOutputError { enum DescribeLifecycleHooksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8717,7 +8720,7 @@ enum DescribeLifecycleHooksOutputError { enum DescribeLifecycleHookTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8731,7 +8734,7 @@ enum DescribeLifecycleHookTypesOutputError { enum DescribeLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8746,7 +8749,7 @@ enum DescribeLoadBalancersOutputError { enum DescribeLoadBalancerTargetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8761,7 +8764,7 @@ enum DescribeLoadBalancerTargetGroupsOutputError { enum DescribeMetricCollectionTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8775,7 +8778,7 @@ enum DescribeMetricCollectionTypesOutputError { enum DescribeNotificationConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8790,7 +8793,7 @@ enum DescribeNotificationConfigurationsOutputError { enum DescribePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8806,7 +8809,7 @@ enum DescribePoliciesOutputError { enum DescribeScalingActivitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8821,7 +8824,7 @@ enum DescribeScalingActivitiesOutputError { enum DescribeScalingProcessTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8835,7 +8838,7 @@ enum DescribeScalingProcessTypesOutputError { enum DescribeScheduledActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8850,7 +8853,7 @@ enum DescribeScheduledActionsOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8865,7 +8868,7 @@ enum DescribeTagsOutputError { enum DescribeTerminationPolicyTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8879,7 +8882,7 @@ enum DescribeTerminationPolicyTypesOutputError { enum DescribeTrafficSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8894,7 +8897,7 @@ enum DescribeTrafficSourcesOutputError { enum DescribeWarmPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8910,7 +8913,7 @@ enum DescribeWarmPoolOutputError { enum DetachInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8924,7 +8927,7 @@ enum DetachInstancesOutputError { enum DetachLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8938,7 +8941,7 @@ enum DetachLoadBalancersOutputError { enum DetachLoadBalancerTargetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8952,7 +8955,7 @@ enum DetachLoadBalancerTargetGroupsOutputError { enum DetachTrafficSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8966,7 +8969,7 @@ enum DetachTrafficSourcesOutputError { enum DisableMetricsCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8980,7 +8983,7 @@ enum DisableMetricsCollectionOutputError { enum EnableMetricsCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8994,7 +8997,7 @@ enum EnableMetricsCollectionOutputError { enum EnterStandbyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9008,7 +9011,7 @@ enum EnterStandbyOutputError { enum ExecutePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9023,7 +9026,7 @@ enum ExecutePolicyOutputError { enum ExitStandbyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9037,7 +9040,7 @@ enum ExitStandbyOutputError { enum GetPredictiveScalingForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9051,7 +9054,7 @@ enum GetPredictiveScalingForecastOutputError { enum PutLifecycleHookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9066,7 +9069,7 @@ enum PutLifecycleHookOutputError { enum PutNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9082,7 +9085,7 @@ enum PutNotificationConfigurationOutputError { enum PutScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9098,7 +9101,7 @@ enum PutScalingPolicyOutputError { enum PutScheduledUpdateGroupActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9114,7 +9117,7 @@ enum PutScheduledUpdateGroupActionOutputError { enum PutWarmPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9129,7 +9132,7 @@ enum PutWarmPoolOutputError { enum RecordLifecycleActionHeartbeatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9143,7 +9146,7 @@ enum RecordLifecycleActionHeartbeatOutputError { enum ResumeProcessesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9158,7 +9161,7 @@ enum ResumeProcessesOutputError { enum RollbackInstanceRefreshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9175,7 +9178,7 @@ enum RollbackInstanceRefreshOutputError { enum SetDesiredCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9190,7 +9193,7 @@ enum SetDesiredCapacityOutputError { enum SetInstanceHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9204,7 +9207,7 @@ enum SetInstanceHealthOutputError { enum SetInstanceProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9219,7 +9222,7 @@ enum SetInstanceProtectionOutputError { enum StartInstanceRefreshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9235,7 +9238,7 @@ enum StartInstanceRefreshOutputError { enum SuspendProcessesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9250,7 +9253,7 @@ enum SuspendProcessesOutputError { enum TerminateInstanceInAutoScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9265,7 +9268,7 @@ enum TerminateInstanceInAutoScalingGroupOutputError { enum UpdateAutoScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/Models.swift b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/Models.swift index fd2f8b9ceae..8b22f12b27d 100644 --- a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/Models.swift +++ b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct ConcurrentUpdateException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -57,7 +57,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -105,7 +105,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -822,7 +822,7 @@ public struct ObjectNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -869,7 +869,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1514,7 +1514,7 @@ extension UpdateScalingPlanInput { extension CreateScalingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScalingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScalingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1526,14 +1526,14 @@ extension CreateScalingPlanOutput { extension DeleteScalingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScalingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScalingPlanOutput { return DeleteScalingPlanOutput() } } extension DescribeScalingPlanResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingPlanResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingPlanResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1546,7 +1546,7 @@ extension DescribeScalingPlanResourcesOutput { extension DescribeScalingPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1559,7 +1559,7 @@ extension DescribeScalingPlansOutput { extension GetScalingPlanResourceForecastDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetScalingPlanResourceForecastDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetScalingPlanResourceForecastDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1571,14 +1571,14 @@ extension GetScalingPlanResourceForecastDataOutput { extension UpdateScalingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScalingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScalingPlanOutput { return UpdateScalingPlanOutput() } } enum CreateScalingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1595,7 +1595,7 @@ enum CreateScalingPlanOutputError { enum DeleteScalingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1612,7 +1612,7 @@ enum DeleteScalingPlanOutputError { enum DescribeScalingPlanResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1629,7 +1629,7 @@ enum DescribeScalingPlanResourcesOutputError { enum DescribeScalingPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1646,7 +1646,7 @@ enum DescribeScalingPlansOutputError { enum GetScalingPlanResourceForecastDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1661,7 +1661,7 @@ enum GetScalingPlanResourceForecastDataOutputError { enum UpdateScalingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSB2bi/Sources/AWSB2bi/Models.swift b/Sources/Services/AWSB2bi/Sources/AWSB2bi/Models.swift index 27ddc50f6d6..03572fdff43 100644 --- a/Sources/Services/AWSB2bi/Sources/AWSB2bi/Models.swift +++ b/Sources/Services/AWSB2bi/Sources/AWSB2bi/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -65,7 +65,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -90,7 +90,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -117,7 +117,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -216,7 +216,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -243,7 +243,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2838,7 +2838,7 @@ extension UpdateTransformerInput { extension CreateCapabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCapabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCapabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2856,7 +2856,7 @@ extension CreateCapabilityOutput { extension CreatePartnershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePartnershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartnershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2876,7 +2876,7 @@ extension CreatePartnershipOutput { extension CreateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2896,7 +2896,7 @@ extension CreateProfileOutput { extension CreateTransformerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransformerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransformerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2916,35 +2916,35 @@ extension CreateTransformerOutput { extension DeleteCapabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCapabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCapabilityOutput { return DeleteCapabilityOutput() } } extension DeletePartnershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePartnershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePartnershipOutput { return DeletePartnershipOutput() } } extension DeleteProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileOutput { return DeleteProfileOutput() } } extension DeleteTransformerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransformerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransformerOutput { return DeleteTransformerOutput() } } extension GetCapabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCapabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCapabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2963,7 +2963,7 @@ extension GetCapabilityOutput { extension GetPartnershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPartnershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPartnershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2984,7 +2984,7 @@ extension GetPartnershipOutput { extension GetProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3005,7 +3005,7 @@ extension GetProfileOutput { extension GetTransformerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransformerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransformerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3026,7 +3026,7 @@ extension GetTransformerOutput { extension GetTransformerJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransformerJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransformerJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3040,7 +3040,7 @@ extension GetTransformerJobOutput { extension ListCapabilitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCapabilitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCapabilitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3053,7 +3053,7 @@ extension ListCapabilitiesOutput { extension ListPartnershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartnershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartnershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3066,7 +3066,7 @@ extension ListPartnershipsOutput { extension ListProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3079,7 +3079,7 @@ extension ListProfilesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3091,7 +3091,7 @@ extension ListTagsForResourceOutput { extension ListTransformersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTransformersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTransformersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3104,7 +3104,7 @@ extension ListTransformersOutput { extension StartTransformerJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTransformerJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTransformerJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3116,14 +3116,14 @@ extension StartTransformerJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3135,7 +3135,7 @@ extension TestMappingOutput { extension TestParsingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestParsingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestParsingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3147,14 +3147,14 @@ extension TestParsingOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCapabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCapabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCapabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3173,7 +3173,7 @@ extension UpdateCapabilityOutput { extension UpdatePartnershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePartnershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePartnershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3194,7 +3194,7 @@ extension UpdatePartnershipOutput { extension UpdateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3215,7 +3215,7 @@ extension UpdateProfileOutput { extension UpdateTransformerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTransformerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTransformerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3236,7 +3236,7 @@ extension UpdateTransformerOutput { enum CreateCapabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3256,7 +3256,7 @@ enum CreateCapabilityOutputError { enum CreatePartnershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3276,7 +3276,7 @@ enum CreatePartnershipOutputError { enum CreateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3296,7 +3296,7 @@ enum CreateProfileOutputError { enum CreateTransformerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3316,7 +3316,7 @@ enum CreateTransformerOutputError { enum DeleteCapabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3335,7 +3335,7 @@ enum DeleteCapabilityOutputError { enum DeletePartnershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3354,7 +3354,7 @@ enum DeletePartnershipOutputError { enum DeleteProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3373,7 +3373,7 @@ enum DeleteProfileOutputError { enum DeleteTransformerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3392,7 +3392,7 @@ enum DeleteTransformerOutputError { enum GetCapabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3410,7 +3410,7 @@ enum GetCapabilityOutputError { enum GetPartnershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3428,7 +3428,7 @@ enum GetPartnershipOutputError { enum GetProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3446,7 +3446,7 @@ enum GetProfileOutputError { enum GetTransformerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3464,7 +3464,7 @@ enum GetTransformerOutputError { enum GetTransformerJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3482,7 @@ enum GetTransformerJobOutputError { enum ListCapabilitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3499,7 +3499,7 @@ enum ListCapabilitiesOutputError { enum ListPartnershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3517,7 +3517,7 @@ enum ListPartnershipsOutputError { enum ListProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3534,7 +3534,7 @@ enum ListProfilesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3550,7 +3550,7 @@ enum ListTagsForResourceOutputError { enum ListTransformersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3567,7 +3567,7 @@ enum ListTransformersOutputError { enum StartTransformerJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3586,7 +3586,7 @@ enum StartTransformerJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3603,7 +3603,7 @@ enum TagResourceOutputError { enum TestMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3621,7 +3621,7 @@ enum TestMappingOutputError { enum TestParsingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3639,7 +3639,7 @@ enum TestParsingOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3655,7 +3655,7 @@ enum UntagResourceOutputError { enum UpdateCapabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3675,7 +3675,7 @@ enum UpdateCapabilityOutputError { enum UpdatePartnershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3695,7 +3695,7 @@ enum UpdatePartnershipOutputError { enum UpdateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3715,7 +3715,7 @@ enum UpdateProfileOutputError { enum UpdateTransformerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/Models.swift b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/Models.swift index a05ae495880..247ddab31e6 100644 --- a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/Models.swift +++ b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -71,7 +71,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -108,7 +108,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -582,7 +582,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1433,7 +1433,7 @@ extension UpdateExportInput { extension CreateExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1445,7 +1445,7 @@ extension CreateExportOutput { extension DeleteExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1457,7 +1457,7 @@ extension DeleteExportOutput { extension GetExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1471,7 +1471,7 @@ extension GetExecutionOutput { extension GetExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1484,7 +1484,7 @@ extension GetExportOutput { extension GetTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1499,7 +1499,7 @@ extension GetTableOutput { extension ListExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1512,7 +1512,7 @@ extension ListExecutionsOutput { extension ListExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1525,7 +1525,7 @@ extension ListExportsOutput { extension ListTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1538,7 +1538,7 @@ extension ListTablesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1551,21 +1551,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1577,7 +1577,7 @@ extension UpdateExportOutput { enum CreateExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1594,7 +1594,7 @@ enum CreateExportOutputError { enum DeleteExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1611,7 +1611,7 @@ enum DeleteExportOutputError { enum GetExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1628,7 +1628,7 @@ enum GetExecutionOutputError { enum GetExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1645,7 +1645,7 @@ enum GetExportOutputError { enum GetTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1661,7 +1661,7 @@ enum GetTableOutputError { enum ListExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1678,7 +1678,7 @@ enum ListExecutionsOutputError { enum ListExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1694,7 +1694,7 @@ enum ListExportsOutputError { enum ListTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1710,7 +1710,7 @@ enum ListTablesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1727,7 +1727,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1744,7 +1744,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1761,7 +1761,7 @@ enum UntagResourceOutputError { enum UpdateExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSBackup/Sources/AWSBackup/Models.swift b/Sources/Services/AWSBackup/Sources/AWSBackup/Models.swift index 27ef36bf3fd..e50a4414ceb 100644 --- a/Sources/Services/AWSBackup/Sources/AWSBackup/Models.swift +++ b/Sources/Services/AWSBackup/Sources/AWSBackup/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -209,7 +209,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1154,7 +1154,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1189,7 +1189,7 @@ public struct InvalidResourceStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1224,7 +1224,7 @@ public struct MissingParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1259,7 +1259,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1294,7 +1294,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1356,7 +1356,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1673,7 +1673,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2077,7 +2077,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2851,7 +2851,7 @@ public struct DependencyFailureException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8994,14 +8994,14 @@ extension UpdateRestoreTestingSelectionInput { extension CancelLegalHoldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelLegalHoldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelLegalHoldOutput { return CancelLegalHoldOutput() } } extension CreateBackupPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackupPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackupPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9017,7 +9017,7 @@ extension CreateBackupPlanOutput { extension CreateBackupSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackupSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackupSelectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9031,7 +9031,7 @@ extension CreateBackupSelectionOutput { extension CreateBackupVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackupVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackupVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9045,7 +9045,7 @@ extension CreateBackupVaultOutput { extension CreateFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFrameworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9058,7 +9058,7 @@ extension CreateFrameworkOutput { extension CreateLegalHoldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLegalHoldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLegalHoldOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9076,7 +9076,7 @@ extension CreateLegalHoldOutput { extension CreateLogicallyAirGappedBackupVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLogicallyAirGappedBackupVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLogicallyAirGappedBackupVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9091,7 +9091,7 @@ extension CreateLogicallyAirGappedBackupVaultOutput { extension CreateReportPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReportPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReportPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9105,7 +9105,7 @@ extension CreateReportPlanOutput { extension CreateRestoreTestingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRestoreTestingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRestoreTestingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9119,7 +9119,7 @@ extension CreateRestoreTestingPlanOutput { extension CreateRestoreTestingSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRestoreTestingSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRestoreTestingSelectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9134,7 +9134,7 @@ extension CreateRestoreTestingSelectionOutput { extension DeleteBackupPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9149,77 +9149,77 @@ extension DeleteBackupPlanOutput { extension DeleteBackupSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupSelectionOutput { return DeleteBackupSelectionOutput() } } extension DeleteBackupVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupVaultOutput { return DeleteBackupVaultOutput() } } extension DeleteBackupVaultAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupVaultAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupVaultAccessPolicyOutput { return DeleteBackupVaultAccessPolicyOutput() } } extension DeleteBackupVaultLockConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupVaultLockConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupVaultLockConfigurationOutput { return DeleteBackupVaultLockConfigurationOutput() } } extension DeleteBackupVaultNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupVaultNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupVaultNotificationsOutput { return DeleteBackupVaultNotificationsOutput() } } extension DeleteFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFrameworkOutput { return DeleteFrameworkOutput() } } extension DeleteRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecoveryPointOutput { return DeleteRecoveryPointOutput() } } extension DeleteReportPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReportPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReportPlanOutput { return DeleteReportPlanOutput() } } extension DeleteRestoreTestingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRestoreTestingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRestoreTestingPlanOutput { return DeleteRestoreTestingPlanOutput() } } extension DeleteRestoreTestingSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRestoreTestingSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRestoreTestingSelectionOutput { return DeleteRestoreTestingSelectionOutput() } } extension DescribeBackupJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9257,7 +9257,7 @@ extension DescribeBackupJobOutput { extension DescribeBackupVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9279,7 +9279,7 @@ extension DescribeBackupVaultOutput { extension DescribeCopyJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCopyJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCopyJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9291,7 +9291,7 @@ extension DescribeCopyJobOutput { extension DescribeFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFrameworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9310,7 +9310,7 @@ extension DescribeFrameworkOutput { extension DescribeGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9323,7 +9323,7 @@ extension DescribeGlobalSettingsOutput { extension DescribeProtectedResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProtectedResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProtectedResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9343,7 +9343,7 @@ extension DescribeProtectedResourceOutput { extension DescribeRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecoveryPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9378,7 +9378,7 @@ extension DescribeRecoveryPointOutput { extension DescribeRegionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9391,7 +9391,7 @@ extension DescribeRegionSettingsOutput { extension DescribeReportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9403,7 +9403,7 @@ extension DescribeReportJobOutput { extension DescribeReportPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReportPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReportPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9415,7 +9415,7 @@ extension DescribeReportPlanOutput { extension DescribeRestoreJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRestoreJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRestoreJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9445,21 +9445,21 @@ extension DescribeRestoreJobOutput { extension DisassociateRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateRecoveryPointOutput { return DisassociateRecoveryPointOutput() } } extension DisassociateRecoveryPointFromParentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateRecoveryPointFromParentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateRecoveryPointFromParentOutput { return DisassociateRecoveryPointFromParentOutput() } } extension ExportBackupPlanTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportBackupPlanTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportBackupPlanTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9471,7 +9471,7 @@ extension ExportBackupPlanTemplateOutput { extension GetBackupPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackupPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackupPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9491,7 +9491,7 @@ extension GetBackupPlanOutput { extension GetBackupPlanFromJSONOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackupPlanFromJSONOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackupPlanFromJSONOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9503,7 +9503,7 @@ extension GetBackupPlanFromJSONOutput { extension GetBackupPlanFromTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackupPlanFromTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackupPlanFromTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9515,7 +9515,7 @@ extension GetBackupPlanFromTemplateOutput { extension GetBackupSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackupSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackupSelectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9531,7 +9531,7 @@ extension GetBackupSelectionOutput { extension GetBackupVaultAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackupVaultAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackupVaultAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9545,7 +9545,7 @@ extension GetBackupVaultAccessPolicyOutput { extension GetBackupVaultNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBackupVaultNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBackupVaultNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9560,7 +9560,7 @@ extension GetBackupVaultNotificationsOutput { extension GetLegalHoldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLegalHoldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLegalHoldOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9581,7 +9581,7 @@ extension GetLegalHoldOutput { extension GetRecoveryPointRestoreMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecoveryPointRestoreMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecoveryPointRestoreMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9596,7 +9596,7 @@ extension GetRecoveryPointRestoreMetadataOutput { extension GetRestoreJobMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRestoreJobMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRestoreJobMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9609,7 +9609,7 @@ extension GetRestoreJobMetadataOutput { extension GetRestoreTestingInferredMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRestoreTestingInferredMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRestoreTestingInferredMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9621,7 +9621,7 @@ extension GetRestoreTestingInferredMetadataOutput { extension GetRestoreTestingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRestoreTestingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRestoreTestingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9633,7 +9633,7 @@ extension GetRestoreTestingPlanOutput { extension GetRestoreTestingSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRestoreTestingSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRestoreTestingSelectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9645,7 +9645,7 @@ extension GetRestoreTestingSelectionOutput { extension GetSupportedResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSupportedResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSupportedResourceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9657,7 +9657,7 @@ extension GetSupportedResourceTypesOutput { extension ListBackupJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9670,7 +9670,7 @@ extension ListBackupJobsOutput { extension ListBackupJobSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupJobSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupJobSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9684,7 +9684,7 @@ extension ListBackupJobSummariesOutput { extension ListBackupPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9697,7 +9697,7 @@ extension ListBackupPlansOutput { extension ListBackupPlanTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupPlanTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupPlanTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9710,7 +9710,7 @@ extension ListBackupPlanTemplatesOutput { extension ListBackupPlanVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupPlanVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupPlanVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9723,7 +9723,7 @@ extension ListBackupPlanVersionsOutput { extension ListBackupSelectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupSelectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupSelectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9736,7 +9736,7 @@ extension ListBackupSelectionsOutput { extension ListBackupVaultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupVaultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupVaultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9749,7 +9749,7 @@ extension ListBackupVaultsOutput { extension ListCopyJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCopyJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCopyJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9762,7 +9762,7 @@ extension ListCopyJobsOutput { extension ListCopyJobSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCopyJobSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCopyJobSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9776,7 +9776,7 @@ extension ListCopyJobSummariesOutput { extension ListFrameworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFrameworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFrameworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9789,7 +9789,7 @@ extension ListFrameworksOutput { extension ListLegalHoldsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLegalHoldsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLegalHoldsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9802,7 +9802,7 @@ extension ListLegalHoldsOutput { extension ListProtectedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProtectedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9815,7 +9815,7 @@ extension ListProtectedResourcesOutput { extension ListProtectedResourcesByBackupVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProtectedResourcesByBackupVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectedResourcesByBackupVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9828,7 +9828,7 @@ extension ListProtectedResourcesByBackupVaultOutput { extension ListRecoveryPointsByBackupVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecoveryPointsByBackupVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecoveryPointsByBackupVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9841,7 +9841,7 @@ extension ListRecoveryPointsByBackupVaultOutput { extension ListRecoveryPointsByLegalHoldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecoveryPointsByLegalHoldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecoveryPointsByLegalHoldOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9854,7 +9854,7 @@ extension ListRecoveryPointsByLegalHoldOutput { extension ListRecoveryPointsByResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecoveryPointsByResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecoveryPointsByResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9867,7 +9867,7 @@ extension ListRecoveryPointsByResourceOutput { extension ListReportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9880,7 +9880,7 @@ extension ListReportJobsOutput { extension ListReportPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9893,7 +9893,7 @@ extension ListReportPlansOutput { extension ListRestoreJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRestoreJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRestoreJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9906,7 +9906,7 @@ extension ListRestoreJobsOutput { extension ListRestoreJobsByProtectedResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRestoreJobsByProtectedResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRestoreJobsByProtectedResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9919,7 +9919,7 @@ extension ListRestoreJobsByProtectedResourceOutput { extension ListRestoreJobSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRestoreJobSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRestoreJobSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9933,7 +9933,7 @@ extension ListRestoreJobSummariesOutput { extension ListRestoreTestingPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRestoreTestingPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRestoreTestingPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9946,7 +9946,7 @@ extension ListRestoreTestingPlansOutput { extension ListRestoreTestingSelectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRestoreTestingSelectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRestoreTestingSelectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9959,7 +9959,7 @@ extension ListRestoreTestingSelectionsOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9972,35 +9972,35 @@ extension ListTagsOutput { extension PutBackupVaultAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBackupVaultAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBackupVaultAccessPolicyOutput { return PutBackupVaultAccessPolicyOutput() } } extension PutBackupVaultLockConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBackupVaultLockConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBackupVaultLockConfigurationOutput { return PutBackupVaultLockConfigurationOutput() } } extension PutBackupVaultNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBackupVaultNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBackupVaultNotificationsOutput { return PutBackupVaultNotificationsOutput() } } extension PutRestoreValidationResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRestoreValidationResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRestoreValidationResultOutput { return PutRestoreValidationResultOutput() } } extension StartBackupJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBackupJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBackupJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10015,7 +10015,7 @@ extension StartBackupJobOutput { extension StartCopyJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCopyJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCopyJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10029,7 +10029,7 @@ extension StartCopyJobOutput { extension StartReportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10041,7 +10041,7 @@ extension StartReportJobOutput { extension StartRestoreJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRestoreJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRestoreJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10053,28 +10053,28 @@ extension StartRestoreJobOutput { extension StopBackupJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopBackupJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopBackupJobOutput { return StopBackupJobOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBackupPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBackupPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBackupPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10090,7 +10090,7 @@ extension UpdateBackupPlanOutput { extension UpdateFrameworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFrameworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFrameworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10104,14 +10104,14 @@ extension UpdateFrameworkOutput { extension UpdateGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalSettingsOutput { return UpdateGlobalSettingsOutput() } } extension UpdateRecoveryPointLifecycleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecoveryPointLifecycleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecoveryPointLifecycleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10126,14 +10126,14 @@ extension UpdateRecoveryPointLifecycleOutput { extension UpdateRegionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegionSettingsOutput { return UpdateRegionSettingsOutput() } } extension UpdateReportPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReportPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReportPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10147,7 +10147,7 @@ extension UpdateReportPlanOutput { extension UpdateRestoreTestingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRestoreTestingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRestoreTestingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10162,7 +10162,7 @@ extension UpdateRestoreTestingPlanOutput { extension UpdateRestoreTestingSelectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRestoreTestingSelectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRestoreTestingSelectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10178,7 +10178,7 @@ extension UpdateRestoreTestingSelectionOutput { enum CancelLegalHoldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10196,7 +10196,7 @@ enum CancelLegalHoldOutputError { enum CreateBackupPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10214,7 +10214,7 @@ enum CreateBackupPlanOutputError { enum CreateBackupSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10232,7 +10232,7 @@ enum CreateBackupSelectionOutputError { enum CreateBackupVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10250,7 +10250,7 @@ enum CreateBackupVaultOutputError { enum CreateFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10268,7 +10268,7 @@ enum CreateFrameworkOutputError { enum CreateLegalHoldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10285,7 +10285,7 @@ enum CreateLegalHoldOutputError { enum CreateLogicallyAirGappedBackupVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10304,7 +10304,7 @@ enum CreateLogicallyAirGappedBackupVaultOutputError { enum CreateReportPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10322,7 +10322,7 @@ enum CreateReportPlanOutputError { enum CreateRestoreTestingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10341,7 +10341,7 @@ enum CreateRestoreTestingPlanOutputError { enum CreateRestoreTestingSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10360,7 +10360,7 @@ enum CreateRestoreTestingSelectionOutputError { enum DeleteBackupPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10378,7 +10378,7 @@ enum DeleteBackupPlanOutputError { enum DeleteBackupSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10395,7 +10395,7 @@ enum DeleteBackupSelectionOutputError { enum DeleteBackupVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10413,7 +10413,7 @@ enum DeleteBackupVaultOutputError { enum DeleteBackupVaultAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10430,7 +10430,7 @@ enum DeleteBackupVaultAccessPolicyOutputError { enum DeleteBackupVaultLockConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10448,7 +10448,7 @@ enum DeleteBackupVaultLockConfigurationOutputError { enum DeleteBackupVaultNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10465,7 +10465,7 @@ enum DeleteBackupVaultNotificationsOutputError { enum DeleteFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10483,7 +10483,7 @@ enum DeleteFrameworkOutputError { enum DeleteRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10502,7 +10502,7 @@ enum DeleteRecoveryPointOutputError { enum DeleteReportPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10520,7 +10520,7 @@ enum DeleteReportPlanOutputError { enum DeleteRestoreTestingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10535,7 +10535,7 @@ enum DeleteRestoreTestingPlanOutputError { enum DeleteRestoreTestingSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10550,7 +10550,7 @@ enum DeleteRestoreTestingSelectionOutputError { enum DescribeBackupJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10568,7 +10568,7 @@ enum DescribeBackupJobOutputError { enum DescribeBackupVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10585,7 +10585,7 @@ enum DescribeBackupVaultOutputError { enum DescribeCopyJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10602,7 +10602,7 @@ enum DescribeCopyJobOutputError { enum DescribeFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10619,7 +10619,7 @@ enum DescribeFrameworkOutputError { enum DescribeGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10634,7 +10634,7 @@ enum DescribeGlobalSettingsOutputError { enum DescribeProtectedResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10651,7 +10651,7 @@ enum DescribeProtectedResourceOutputError { enum DescribeRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10668,7 +10668,7 @@ enum DescribeRecoveryPointOutputError { enum DescribeRegionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10682,7 +10682,7 @@ enum DescribeRegionSettingsOutputError { enum DescribeReportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10698,7 +10698,7 @@ enum DescribeReportJobOutputError { enum DescribeReportPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10715,7 +10715,7 @@ enum DescribeReportPlanOutputError { enum DescribeRestoreJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10733,7 +10733,7 @@ enum DescribeRestoreJobOutputError { enum DisassociateRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10752,7 +10752,7 @@ enum DisassociateRecoveryPointOutputError { enum DisassociateRecoveryPointFromParentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10770,7 +10770,7 @@ enum DisassociateRecoveryPointFromParentOutputError { enum ExportBackupPlanTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10787,7 +10787,7 @@ enum ExportBackupPlanTemplateOutputError { enum GetBackupPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10804,7 +10804,7 @@ enum GetBackupPlanOutputError { enum GetBackupPlanFromJSONOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10822,7 +10822,7 @@ enum GetBackupPlanFromJSONOutputError { enum GetBackupPlanFromTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10839,7 +10839,7 @@ enum GetBackupPlanFromTemplateOutputError { enum GetBackupSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10856,7 +10856,7 @@ enum GetBackupSelectionOutputError { enum GetBackupVaultAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10873,7 +10873,7 @@ enum GetBackupVaultAccessPolicyOutputError { enum GetBackupVaultNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10890,7 +10890,7 @@ enum GetBackupVaultNotificationsOutputError { enum GetLegalHoldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10907,7 +10907,7 @@ enum GetLegalHoldOutputError { enum GetRecoveryPointRestoreMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10924,7 +10924,7 @@ enum GetRecoveryPointRestoreMetadataOutputError { enum GetRestoreJobMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10941,7 +10941,7 @@ enum GetRestoreJobMetadataOutputError { enum GetRestoreTestingInferredMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10958,7 +10958,7 @@ enum GetRestoreTestingInferredMetadataOutputError { enum GetRestoreTestingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10973,7 +10973,7 @@ enum GetRestoreTestingPlanOutputError { enum GetRestoreTestingSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10988,7 +10988,7 @@ enum GetRestoreTestingSelectionOutputError { enum GetSupportedResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11002,7 +11002,7 @@ enum GetSupportedResourceTypesOutputError { enum ListBackupJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11017,7 +11017,7 @@ enum ListBackupJobsOutputError { enum ListBackupJobSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11032,7 +11032,7 @@ enum ListBackupJobSummariesOutputError { enum ListBackupPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11049,7 +11049,7 @@ enum ListBackupPlansOutputError { enum ListBackupPlanTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11066,7 +11066,7 @@ enum ListBackupPlanTemplatesOutputError { enum ListBackupPlanVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11083,7 +11083,7 @@ enum ListBackupPlanVersionsOutputError { enum ListBackupSelectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11100,7 +11100,7 @@ enum ListBackupSelectionsOutputError { enum ListBackupVaultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11117,7 +11117,7 @@ enum ListBackupVaultsOutputError { enum ListCopyJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11132,7 +11132,7 @@ enum ListCopyJobsOutputError { enum ListCopyJobSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11147,7 +11147,7 @@ enum ListCopyJobSummariesOutputError { enum ListFrameworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11162,7 +11162,7 @@ enum ListFrameworksOutputError { enum ListLegalHoldsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11177,7 +11177,7 @@ enum ListLegalHoldsOutputError { enum ListProtectedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11192,7 +11192,7 @@ enum ListProtectedResourcesOutputError { enum ListProtectedResourcesByBackupVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11208,7 +11208,7 @@ enum ListProtectedResourcesByBackupVaultOutputError { enum ListRecoveryPointsByBackupVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11225,7 +11225,7 @@ enum ListRecoveryPointsByBackupVaultOutputError { enum ListRecoveryPointsByLegalHoldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11241,7 +11241,7 @@ enum ListRecoveryPointsByLegalHoldOutputError { enum ListRecoveryPointsByResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11258,7 +11258,7 @@ enum ListRecoveryPointsByResourceOutputError { enum ListReportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11274,7 +11274,7 @@ enum ListReportJobsOutputError { enum ListReportPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11289,7 +11289,7 @@ enum ListReportPlansOutputError { enum ListRestoreJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11306,7 +11306,7 @@ enum ListRestoreJobsOutputError { enum ListRestoreJobsByProtectedResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11323,7 +11323,7 @@ enum ListRestoreJobsByProtectedResourceOutputError { enum ListRestoreJobSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11338,7 +11338,7 @@ enum ListRestoreJobSummariesOutputError { enum ListRestoreTestingPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11353,7 +11353,7 @@ enum ListRestoreTestingPlansOutputError { enum ListRestoreTestingSelectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11369,7 +11369,7 @@ enum ListRestoreTestingSelectionsOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11386,7 +11386,7 @@ enum ListTagsOutputError { enum PutBackupVaultAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11403,7 +11403,7 @@ enum PutBackupVaultAccessPolicyOutputError { enum PutBackupVaultLockConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11421,7 +11421,7 @@ enum PutBackupVaultLockConfigurationOutputError { enum PutBackupVaultNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11438,7 +11438,7 @@ enum PutBackupVaultNotificationsOutputError { enum PutRestoreValidationResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11456,7 +11456,7 @@ enum PutRestoreValidationResultOutputError { enum StartBackupJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11475,7 +11475,7 @@ enum StartBackupJobOutputError { enum StartCopyJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11494,7 +11494,7 @@ enum StartCopyJobOutputError { enum StartReportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11511,7 +11511,7 @@ enum StartReportJobOutputError { enum StartRestoreJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11529,7 +11529,7 @@ enum StartRestoreJobOutputError { enum StopBackupJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11547,7 +11547,7 @@ enum StopBackupJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11565,7 +11565,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11582,7 +11582,7 @@ enum UntagResourceOutputError { enum UpdateBackupPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11599,7 +11599,7 @@ enum UpdateBackupPlanOutputError { enum UpdateFrameworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11619,7 +11619,7 @@ enum UpdateFrameworkOutputError { enum UpdateGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11636,7 +11636,7 @@ enum UpdateGlobalSettingsOutputError { enum UpdateRecoveryPointLifecycleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11654,7 +11654,7 @@ enum UpdateRecoveryPointLifecycleOutputError { enum UpdateRegionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11670,7 +11670,7 @@ enum UpdateRegionSettingsOutputError { enum UpdateReportPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11688,7 +11688,7 @@ enum UpdateReportPlanOutputError { enum UpdateRestoreTestingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11706,7 +11706,7 @@ enum UpdateRestoreTestingPlanOutputError { enum UpdateRestoreTestingSelectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/Models.swift b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/Models.swift index a50be15845a..71ccfabe821 100644 --- a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/Models.swift +++ b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -65,7 +65,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -123,7 +123,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1145,7 +1145,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1233,7 +1233,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1291,7 +1291,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1874,7 +1874,7 @@ extension UpdateHypervisorInput { extension AssociateGatewayToServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateGatewayToServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateGatewayToServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1886,7 +1886,7 @@ extension AssociateGatewayToServerOutput { extension CreateGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1898,7 +1898,7 @@ extension CreateGatewayOutput { extension DeleteGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1910,7 +1910,7 @@ extension DeleteGatewayOutput { extension DeleteHypervisorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHypervisorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHypervisorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1922,7 +1922,7 @@ extension DeleteHypervisorOutput { extension DisassociateGatewayFromServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateGatewayFromServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateGatewayFromServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1934,7 +1934,7 @@ extension DisassociateGatewayFromServerOutput { extension GetBandwidthRateLimitScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBandwidthRateLimitScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBandwidthRateLimitScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1947,7 +1947,7 @@ extension GetBandwidthRateLimitScheduleOutput { extension GetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1959,7 +1959,7 @@ extension GetGatewayOutput { extension GetHypervisorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHypervisorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHypervisorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1971,7 +1971,7 @@ extension GetHypervisorOutput { extension GetHypervisorPropertyMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHypervisorPropertyMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHypervisorPropertyMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1985,7 +1985,7 @@ extension GetHypervisorPropertyMappingsOutput { extension GetVirtualMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVirtualMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVirtualMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1997,7 +1997,7 @@ extension GetVirtualMachineOutput { extension ImportHypervisorConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportHypervisorConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportHypervisorConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2009,7 +2009,7 @@ extension ImportHypervisorConfigurationOutput { extension ListGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2022,7 +2022,7 @@ extension ListGatewaysOutput { extension ListHypervisorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHypervisorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHypervisorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2035,7 +2035,7 @@ extension ListHypervisorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2048,7 +2048,7 @@ extension ListTagsForResourceOutput { extension ListVirtualMachinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualMachinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualMachinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2061,7 +2061,7 @@ extension ListVirtualMachinesOutput { extension PutBandwidthRateLimitScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBandwidthRateLimitScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBandwidthRateLimitScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2073,7 +2073,7 @@ extension PutBandwidthRateLimitScheduleOutput { extension PutHypervisorPropertyMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutHypervisorPropertyMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutHypervisorPropertyMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2085,7 +2085,7 @@ extension PutHypervisorPropertyMappingsOutput { extension PutMaintenanceStartTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMaintenanceStartTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMaintenanceStartTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2097,7 +2097,7 @@ extension PutMaintenanceStartTimeOutput { extension StartVirtualMachinesMetadataSyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartVirtualMachinesMetadataSyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartVirtualMachinesMetadataSyncOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2109,7 +2109,7 @@ extension StartVirtualMachinesMetadataSyncOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2121,14 +2121,14 @@ extension TagResourceOutput { extension TestHypervisorConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestHypervisorConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestHypervisorConfigurationOutput { return TestHypervisorConfigurationOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2140,7 +2140,7 @@ extension UntagResourceOutput { extension UpdateGatewayInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2152,7 +2152,7 @@ extension UpdateGatewayInformationOutput { extension UpdateGatewaySoftwareNowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewaySoftwareNowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewaySoftwareNowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2164,7 +2164,7 @@ extension UpdateGatewaySoftwareNowOutput { extension UpdateHypervisorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHypervisorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHypervisorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2185,7 +2185,7 @@ func httpServiceError(baseError: AWSClientRuntime.AWSJSONError) throws -> Swift. enum AssociateGatewayToServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2200,7 +2200,7 @@ enum AssociateGatewayToServerOutputError { enum CreateGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2214,7 +2214,7 @@ enum CreateGatewayOutputError { enum DeleteGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2229,7 +2229,7 @@ enum DeleteGatewayOutputError { enum DeleteHypervisorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2246,7 +2246,7 @@ enum DeleteHypervisorOutputError { enum DisassociateGatewayFromServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2262,7 +2262,7 @@ enum DisassociateGatewayFromServerOutputError { enum GetBandwidthRateLimitScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2277,7 +2277,7 @@ enum GetBandwidthRateLimitScheduleOutputError { enum GetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2292,7 +2292,7 @@ enum GetGatewayOutputError { enum GetHypervisorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2307,7 +2307,7 @@ enum GetHypervisorOutputError { enum GetHypervisorPropertyMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2322,7 +2322,7 @@ enum GetHypervisorPropertyMappingsOutputError { enum GetVirtualMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2337,7 +2337,7 @@ enum GetVirtualMachineOutputError { enum ImportHypervisorConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2353,7 +2353,7 @@ enum ImportHypervisorConfigurationOutputError { enum ListGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2367,7 +2367,7 @@ enum ListGatewaysOutputError { enum ListHypervisorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2381,7 +2381,7 @@ enum ListHypervisorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2396,7 +2396,7 @@ enum ListTagsForResourceOutputError { enum ListVirtualMachinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2410,7 +2410,7 @@ enum ListVirtualMachinesOutputError { enum PutBandwidthRateLimitScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2425,7 +2425,7 @@ enum PutBandwidthRateLimitScheduleOutputError { enum PutHypervisorPropertyMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2442,7 +2442,7 @@ enum PutHypervisorPropertyMappingsOutputError { enum PutMaintenanceStartTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2458,7 +2458,7 @@ enum PutMaintenanceStartTimeOutputError { enum StartVirtualMachinesMetadataSyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2474,7 +2474,7 @@ enum StartVirtualMachinesMetadataSyncOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2489,7 +2489,7 @@ enum TagResourceOutputError { enum TestHypervisorConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2505,7 +2505,7 @@ enum TestHypervisorConfigurationOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2520,7 +2520,7 @@ enum UntagResourceOutputError { enum UpdateGatewayInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2536,7 +2536,7 @@ enum UpdateGatewayInformationOutputError { enum UpdateGatewaySoftwareNowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2551,7 +2551,7 @@ enum UpdateGatewaySoftwareNowOutputError { enum UpdateHypervisorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSBatch/Sources/AWSBatch/Models.swift b/Sources/Services/AWSBatch/Sources/AWSBatch/Models.swift index fc40741c7b5..e8e47688e24 100644 --- a/Sources/Services/AWSBatch/Sources/AWSBatch/Models.swift +++ b/Sources/Services/AWSBatch/Sources/AWSBatch/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -302,7 +302,7 @@ public struct ClientException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -326,7 +326,7 @@ public struct ServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2519,6 +2519,8 @@ extension BatchClientTypes { public var container: BatchClientTypes.ContainerProperties? /// This is an object that represents the properties of the node range for a multi-node parallel job. public var ecsProperties: BatchClientTypes.EcsProperties? + /// This is an object that represents the properties of the node range for a multi-node parallel job. + public var eksProperties: BatchClientTypes.EksProperties? /// The instance types of the underlying host infrastructure of a multi-node parallel job. This parameter isn't applicable to jobs that are running on Fargate resources. In addition, this list object is currently limited to one element. public var instanceTypes: [Swift.String]? /// The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example, 0:10 and 4:5). In this case, the 4:5 range properties override the 0:10 properties. @@ -2528,12 +2530,14 @@ extension BatchClientTypes { public init( container: BatchClientTypes.ContainerProperties? = nil, ecsProperties: BatchClientTypes.EcsProperties? = nil, + eksProperties: BatchClientTypes.EksProperties? = nil, instanceTypes: [Swift.String]? = nil, targetNodes: Swift.String? = nil ) { self.container = container self.ecsProperties = ecsProperties + self.eksProperties = eksProperties self.instanceTypes = instanceTypes self.targetNodes = targetNodes } @@ -3301,6 +3305,8 @@ extension BatchClientTypes { public struct EksAttemptDetail { /// The details for the final status of the containers for this job attempt. public var containers: [BatchClientTypes.EksAttemptContainerDetail]? + /// The Amazon Resource Name (ARN) of the Amazon EKS cluster. + public var eksClusterArn: Swift.String? /// The details for the init containers. public var initContainers: [BatchClientTypes.EksAttemptContainerDetail]? /// The name of the node for this job attempt. @@ -3316,6 +3322,7 @@ extension BatchClientTypes { public init( containers: [BatchClientTypes.EksAttemptContainerDetail]? = nil, + eksClusterArn: Swift.String? = nil, initContainers: [BatchClientTypes.EksAttemptContainerDetail]? = nil, nodeName: Swift.String? = nil, podName: Swift.String? = nil, @@ -3325,6 +3332,7 @@ extension BatchClientTypes { ) { self.containers = containers + self.eksClusterArn = eksClusterArn self.initContainers = initContainers self.nodeName = nodeName self.podName = podName @@ -4370,6 +4378,8 @@ extension BatchClientTypes { public var containerOverrides: BatchClientTypes.ContainerOverrides? /// An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job. public var ecsPropertiesOverride: BatchClientTypes.EcsPropertiesOverride? + /// An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job. + public var eksPropertiesOverride: BatchClientTypes.EksPropertiesOverride? /// An object that contains the instance types that you want to replace for the existing resources of a job. public var instanceTypes: [Swift.String]? /// The range of nodes, using node index values, that's used to override. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. @@ -4379,12 +4389,14 @@ extension BatchClientTypes { public init( containerOverrides: BatchClientTypes.ContainerOverrides? = nil, ecsPropertiesOverride: BatchClientTypes.EcsPropertiesOverride? = nil, + eksPropertiesOverride: BatchClientTypes.EksPropertiesOverride? = nil, instanceTypes: [Swift.String]? = nil, targetNodes: Swift.String? = nil ) { self.containerOverrides = containerOverrides self.ecsPropertiesOverride = ecsPropertiesOverride + self.eksPropertiesOverride = eksPropertiesOverride self.instanceTypes = instanceTypes self.targetNodes = targetNodes } @@ -5279,14 +5291,14 @@ extension UpdateSchedulingPolicyInput { extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { return CancelJobOutput() } } extension CreateComputeEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComputeEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComputeEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5299,7 +5311,7 @@ extension CreateComputeEnvironmentOutput { extension CreateJobQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5312,7 +5324,7 @@ extension CreateJobQueueOutput { extension CreateSchedulingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSchedulingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSchedulingPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5325,35 +5337,35 @@ extension CreateSchedulingPolicyOutput { extension DeleteComputeEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComputeEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComputeEnvironmentOutput { return DeleteComputeEnvironmentOutput() } } extension DeleteJobQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobQueueOutput { return DeleteJobQueueOutput() } } extension DeleteSchedulingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchedulingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchedulingPolicyOutput { return DeleteSchedulingPolicyOutput() } } extension DeregisterJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterJobDefinitionOutput { return DeregisterJobDefinitionOutput() } } extension DescribeComputeEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComputeEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComputeEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5366,7 +5378,7 @@ extension DescribeComputeEnvironmentsOutput { extension DescribeJobDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5379,7 +5391,7 @@ extension DescribeJobDefinitionsOutput { extension DescribeJobQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5392,7 +5404,7 @@ extension DescribeJobQueuesOutput { extension DescribeJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5404,7 +5416,7 @@ extension DescribeJobsOutput { extension DescribeSchedulingPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSchedulingPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSchedulingPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5416,7 +5428,7 @@ extension DescribeSchedulingPoliciesOutput { extension GetJobQueueSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobQueueSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobQueueSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5428,7 +5440,7 @@ extension GetJobQueueSnapshotOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5441,7 +5453,7 @@ extension ListJobsOutput { extension ListSchedulingPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchedulingPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchedulingPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5454,7 +5466,7 @@ extension ListSchedulingPoliciesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5466,7 +5478,7 @@ extension ListTagsForResourceOutput { extension RegisterJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5480,7 +5492,7 @@ extension RegisterJobDefinitionOutput { extension SubmitJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5494,28 +5506,28 @@ extension SubmitJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TerminateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateJobOutput { return TerminateJobOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateComputeEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateComputeEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateComputeEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5528,7 +5540,7 @@ extension UpdateComputeEnvironmentOutput { extension UpdateJobQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5541,14 +5553,14 @@ extension UpdateJobQueueOutput { extension UpdateSchedulingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSchedulingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSchedulingPolicyOutput { return UpdateSchedulingPolicyOutput() } } enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5563,7 +5575,7 @@ enum CancelJobOutputError { enum CreateComputeEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5578,7 +5590,7 @@ enum CreateComputeEnvironmentOutputError { enum CreateJobQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5593,7 +5605,7 @@ enum CreateJobQueueOutputError { enum CreateSchedulingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5608,7 +5620,7 @@ enum CreateSchedulingPolicyOutputError { enum DeleteComputeEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5623,7 +5635,7 @@ enum DeleteComputeEnvironmentOutputError { enum DeleteJobQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5638,7 +5650,7 @@ enum DeleteJobQueueOutputError { enum DeleteSchedulingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5653,7 +5665,7 @@ enum DeleteSchedulingPolicyOutputError { enum DeregisterJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5668,7 +5680,7 @@ enum DeregisterJobDefinitionOutputError { enum DescribeComputeEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5683,7 +5695,7 @@ enum DescribeComputeEnvironmentsOutputError { enum DescribeJobDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5698,7 +5710,7 @@ enum DescribeJobDefinitionsOutputError { enum DescribeJobQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5713,7 +5725,7 @@ enum DescribeJobQueuesOutputError { enum DescribeJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5728,7 +5740,7 @@ enum DescribeJobsOutputError { enum DescribeSchedulingPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5743,7 +5755,7 @@ enum DescribeSchedulingPoliciesOutputError { enum GetJobQueueSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5758,7 +5770,7 @@ enum GetJobQueueSnapshotOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5773,7 +5785,7 @@ enum ListJobsOutputError { enum ListSchedulingPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5788,7 +5800,7 @@ enum ListSchedulingPoliciesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5803,7 +5815,7 @@ enum ListTagsForResourceOutputError { enum RegisterJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5818,7 +5830,7 @@ enum RegisterJobDefinitionOutputError { enum SubmitJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5833,7 +5845,7 @@ enum SubmitJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5848,7 +5860,7 @@ enum TagResourceOutputError { enum TerminateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5863,7 +5875,7 @@ enum TerminateJobOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5878,7 +5890,7 @@ enum UntagResourceOutputError { enum UpdateComputeEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5893,7 +5905,7 @@ enum UpdateComputeEnvironmentOutputError { enum UpdateJobQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5908,7 +5920,7 @@ enum UpdateJobQueueOutputError { enum UpdateSchedulingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6813,6 +6825,7 @@ extension BatchClientTypes.NodeRangeProperty { guard let value else { return } try writer["container"].write(value.container, with: BatchClientTypes.ContainerProperties.write(value:to:)) try writer["ecsProperties"].write(value.ecsProperties, with: BatchClientTypes.EcsProperties.write(value:to:)) + try writer["eksProperties"].write(value.eksProperties, with: BatchClientTypes.EksProperties.write(value:to:)) try writer["instanceTypes"].writeList(value.instanceTypes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["targetNodes"].write(value.targetNodes) } @@ -6824,6 +6837,7 @@ extension BatchClientTypes.NodeRangeProperty { value.container = try reader["container"].readIfPresent(with: BatchClientTypes.ContainerProperties.read(from:)) value.instanceTypes = try reader["instanceTypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) value.ecsProperties = try reader["ecsProperties"].readIfPresent(with: BatchClientTypes.EcsProperties.read(from:)) + value.eksProperties = try reader["eksProperties"].readIfPresent(with: BatchClientTypes.EksProperties.read(from:)) return value } } @@ -7129,6 +7143,7 @@ extension BatchClientTypes.EksAttemptDetail { var value = BatchClientTypes.EksAttemptDetail() value.containers = try reader["containers"].readListIfPresent(memberReadingClosure: BatchClientTypes.EksAttemptContainerDetail.read(from:), memberNodeInfo: "member", isFlattened: false) value.initContainers = try reader["initContainers"].readListIfPresent(memberReadingClosure: BatchClientTypes.EksAttemptContainerDetail.read(from:), memberNodeInfo: "member", isFlattened: false) + value.eksClusterArn = try reader["eksClusterArn"].readIfPresent() value.podName = try reader["podName"].readIfPresent() value.nodeName = try reader["nodeName"].readIfPresent() value.startedAt = try reader["startedAt"].readIfPresent() @@ -7514,66 +7529,67 @@ extension BatchClientTypes.NodePropertyOverride { guard let value else { return } try writer["containerOverrides"].write(value.containerOverrides, with: BatchClientTypes.ContainerOverrides.write(value:to:)) try writer["ecsPropertiesOverride"].write(value.ecsPropertiesOverride, with: BatchClientTypes.EcsPropertiesOverride.write(value:to:)) + try writer["eksPropertiesOverride"].write(value.eksPropertiesOverride, with: BatchClientTypes.EksPropertiesOverride.write(value:to:)) try writer["instanceTypes"].writeList(value.instanceTypes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["targetNodes"].write(value.targetNodes) } } -extension BatchClientTypes.EcsPropertiesOverride { +extension BatchClientTypes.EksPropertiesOverride { - static func write(value: BatchClientTypes.EcsPropertiesOverride?, to writer: SmithyJSON.Writer) throws { + static func write(value: BatchClientTypes.EksPropertiesOverride?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["taskProperties"].writeList(value.taskProperties, memberWritingClosure: BatchClientTypes.TaskPropertiesOverride.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["podProperties"].write(value.podProperties, with: BatchClientTypes.EksPodPropertiesOverride.write(value:to:)) } } -extension BatchClientTypes.TaskPropertiesOverride { +extension BatchClientTypes.EksPodPropertiesOverride { - static func write(value: BatchClientTypes.TaskPropertiesOverride?, to writer: SmithyJSON.Writer) throws { + static func write(value: BatchClientTypes.EksPodPropertiesOverride?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["containers"].writeList(value.containers, memberWritingClosure: BatchClientTypes.TaskContainerOverrides.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["containers"].writeList(value.containers, memberWritingClosure: BatchClientTypes.EksContainerOverride.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["initContainers"].writeList(value.initContainers, memberWritingClosure: BatchClientTypes.EksContainerOverride.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["metadata"].write(value.metadata, with: BatchClientTypes.EksMetadata.write(value:to:)) } } -extension BatchClientTypes.TaskContainerOverrides { +extension BatchClientTypes.EksContainerOverride { - static func write(value: BatchClientTypes.TaskContainerOverrides?, to writer: SmithyJSON.Writer) throws { + static func write(value: BatchClientTypes.EksContainerOverride?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["args"].writeList(value.args, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["command"].writeList(value.command, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["environment"].writeList(value.environment, memberWritingClosure: BatchClientTypes.KeyValuePair.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["env"].writeList(value.env, memberWritingClosure: BatchClientTypes.EksContainerEnvironmentVariable.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["image"].write(value.image) try writer["name"].write(value.name) - try writer["resourceRequirements"].writeList(value.resourceRequirements, memberWritingClosure: BatchClientTypes.ResourceRequirement.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["resources"].write(value.resources, with: BatchClientTypes.EksContainerResourceRequirements.write(value:to:)) } } -extension BatchClientTypes.EksPropertiesOverride { +extension BatchClientTypes.EcsPropertiesOverride { - static func write(value: BatchClientTypes.EksPropertiesOverride?, to writer: SmithyJSON.Writer) throws { + static func write(value: BatchClientTypes.EcsPropertiesOverride?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["podProperties"].write(value.podProperties, with: BatchClientTypes.EksPodPropertiesOverride.write(value:to:)) + try writer["taskProperties"].writeList(value.taskProperties, memberWritingClosure: BatchClientTypes.TaskPropertiesOverride.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } -extension BatchClientTypes.EksPodPropertiesOverride { +extension BatchClientTypes.TaskPropertiesOverride { - static func write(value: BatchClientTypes.EksPodPropertiesOverride?, to writer: SmithyJSON.Writer) throws { + static func write(value: BatchClientTypes.TaskPropertiesOverride?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["containers"].writeList(value.containers, memberWritingClosure: BatchClientTypes.EksContainerOverride.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["initContainers"].writeList(value.initContainers, memberWritingClosure: BatchClientTypes.EksContainerOverride.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["metadata"].write(value.metadata, with: BatchClientTypes.EksMetadata.write(value:to:)) + try writer["containers"].writeList(value.containers, memberWritingClosure: BatchClientTypes.TaskContainerOverrides.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } -extension BatchClientTypes.EksContainerOverride { +extension BatchClientTypes.TaskContainerOverrides { - static func write(value: BatchClientTypes.EksContainerOverride?, to writer: SmithyJSON.Writer) throws { + static func write(value: BatchClientTypes.TaskContainerOverrides?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["args"].writeList(value.args, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["command"].writeList(value.command, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["env"].writeList(value.env, memberWritingClosure: BatchClientTypes.EksContainerEnvironmentVariable.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["image"].write(value.image) + try writer["environment"].writeList(value.environment, memberWritingClosure: BatchClientTypes.KeyValuePair.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["name"].write(value.name) - try writer["resources"].write(value.resources, with: BatchClientTypes.EksContainerResourceRequirements.write(value:to:)) + try writer["resourceRequirements"].writeList(value.resourceRequirements, memberWritingClosure: BatchClientTypes.ResourceRequirement.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift index be6622822cd..b77fa59b59f 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift @@ -237,35 +237,18 @@ extension BedrockClient { /// Performs the `CreateGuardrail` operation on the `AmazonBedrockControlPlaneService` service. /// - /// Creates a guardrail to block topics and to filter out harmful content. + /// Creates a guardrail to block topics and to implement safeguards for your generative AI applications. You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection. /// - /// * Specify a name and optional description. + /// * Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content. /// - /// * Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging and blockedOutputsMessaging fields. + /// * Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses. /// - /// * Specify topics for the guardrail to deny in the topicPolicyConfig object. Each [GuardrailTopicConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailTopicConfig.html) object in the topicsConfig list pertains to one topic. + /// * Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc. /// - /// * Give a name and description so that the guardrail can properly identify the topic. + /// * Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses. /// - /// * Specify DENY in the type field. /// - /// * (Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples list. - /// - /// - /// - /// - /// * Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html) object in the filtersConfig list pertains to a harmful category. For more information, see [Content filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters). For more information about the fields in a content filter, see [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html). - /// - /// * Specify the category in the type field. - /// - /// * Specify the strength of the filter for prompts in the inputStrength field and for model responses in the strength field of the [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html). - /// - /// - /// - /// - /// * (Optional) For security, include the ARN of a KMS key in the kmsKeyId field. - /// - /// * (Optional) Attach any tags to the guardrail in the tags object. For more information, see [Tag resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging). + /// In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail. For more information, see [Guardrails for Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) in the Amazon Bedrock User Guide. /// /// - Parameter CreateGuardrailInput : [no documentation found] /// @@ -1651,7 +1634,7 @@ extension BedrockClient { /// /// /// - /// * Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html) object in the filtersConfig list pertains to a harmful category. For more information, see [Content filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters). For more information about the fields in a content filter, see [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html). + /// * Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig object. Each [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html) object in the filtersConfig list pertains to a harmful category. For more information, see [Content filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-content-filters). For more information about the fields in a content filter, see [GuardrailContentFilterConfig](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html). /// /// * Specify the category in the type field. /// @@ -1662,8 +1645,6 @@ extension BedrockClient { /// /// * (Optional) For security, include the ARN of a KMS key in the kmsKeyId field. /// - /// * (Optional) Attach any tags to the guardrail in the tags object. For more information, see [Tag resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging). - /// /// - Parameter UpdateGuardrailInput : [no documentation found] /// /// - Returns: `UpdateGuardrailOutput` : [no documentation found] diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift index e4a5ee281c8..b8c7ac5880b 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -60,7 +60,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -108,7 +108,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -132,7 +132,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -156,7 +156,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -180,7 +180,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -293,6 +293,11 @@ extension BedrockClientTypes { } +extension BedrockClientTypes.EvaluationDatasetMetricConfig: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "EvaluationDatasetMetricConfig(dataset: \(Swift.String(describing: dataset)), taskType: \(Swift.String(describing: taskType)), metricNames: \"CONTENT_REDACTED\")"} +} + extension BedrockClientTypes { /// Use to specify a automatic model evaluation job. The EvaluationDatasetMetricConfig object is used to specify the prompt datasets, task type, and metric names. public struct AutomatedEvaluationConfig { @@ -911,7 +916,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1013,11 +1018,7 @@ extension BedrockClientTypes { /// * Violence – Describes language or a statement that includes glorification of or threats to inflict physical pain, hurt, or injury toward a person, group or thing. /// /// - /// Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as Hate with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as Hate with HIGH confidence, Insults with LOW confidence, Sexual with NONE confidence, and Violence with MEDIUM confidence. For more information, see [Guardrails content filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html). This data type is used in the following API operations: - /// - /// * [CreateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateGuardrail.html#API_CreateGuardrail_RequestSyntax) - /// - /// * [UpdateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html#API_UpdateGuardrail_RequestSyntax) + /// Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as Hate with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as Hate with HIGH confidence, Insults with LOW confidence, Sexual with NONE confidence, and Violence with MEDIUM confidence. For more information, see [Guardrails content filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html). public struct GuardrailContentFilterConfig { /// The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces. /// This member is required. @@ -1044,11 +1045,7 @@ extension BedrockClientTypes { } extension BedrockClientTypes { - /// Contains details about how to handle harmful content. This data type is used in the following API operations: - /// - /// * [CreateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateGuardrail.html#API_CreateGuardrail_RequestSyntax) - /// - /// * [UpdateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html#API_UpdateGuardrail_RequestSyntax) + /// Contains details about how to handle harmful content. public struct GuardrailContentPolicyConfig { /// Contains the type of the content filter and how strongly it should apply to prompts and model responses. /// This member is required. @@ -1064,6 +1061,74 @@ extension BedrockClientTypes { } +extension BedrockClientTypes { + + public enum GuardrailContextualGroundingFilterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case grounding + case relevance + case sdkUnknown(Swift.String) + + public static var allCases: [GuardrailContextualGroundingFilterType] { + return [ + .grounding, + .relevance + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .grounding: return "GROUNDING" + case .relevance: return "RELEVANCE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockClientTypes { + /// The filter configuration details for the guardrails contextual grounding filter. + public struct GuardrailContextualGroundingFilterConfig { + /// The threshold details for the guardrails contextual grounding filter. + /// This member is required. + public var threshold: Swift.Double? + /// The filter details for the guardrails contextual grounding filter. + /// This member is required. + public var type: BedrockClientTypes.GuardrailContextualGroundingFilterType? + + public init( + threshold: Swift.Double? = nil, + type: BedrockClientTypes.GuardrailContextualGroundingFilterType? = nil + ) + { + self.threshold = threshold + self.type = type + } + } + +} + +extension BedrockClientTypes { + /// The policy configuration details for the guardrails contextual grounding policy. + public struct GuardrailContextualGroundingPolicyConfig { + /// The filter configuration details for the guardrails contextual grounding policy. + /// This member is required. + public var filtersConfig: [BedrockClientTypes.GuardrailContextualGroundingFilterConfig]? + + public init( + filtersConfig: [BedrockClientTypes.GuardrailContextualGroundingFilterConfig]? = nil + ) + { + self.filtersConfig = filtersConfig + } + } + +} + extension BedrockClientTypes { public enum GuardrailSensitiveInformationAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1215,7 +1280,103 @@ extension BedrockClientTypes { /// Configure guardrail action when the PII entity is detected. /// This member is required. public var action: BedrockClientTypes.GuardrailSensitiveInformationAction? - /// Configure guardrail type when the PII entity is detected. + /// Configure guardrail type when the PII entity is detected. The following PIIs are used to block or mask sensitive information: + /// + /// * General + /// + /// * ADDRESS A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood. + /// + /// * AGE An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age. + /// + /// * NAME An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address. + /// + /// * EMAIL An email address, such as marymajor@email.com. + /// + /// * PHONE A phone number. This entity type also includes fax and pager numbers. + /// + /// * USERNAME A user name that identifies an account, such as a login name, screen name, nick name, or handle. + /// + /// * PASSWORD An alphanumeric string that is used as a password, such as "*very20special#pass*". + /// + /// * DRIVER_ID The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters. + /// + /// * LICENSE_PLATE A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country. + /// + /// * VEHICLE_IDENTIFICATION_NUMBER A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs. + /// + /// + /// + /// + /// * Finance + /// + /// * REDIT_DEBIT_CARD_CVV A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code. + /// + /// * CREDIT_DEBIT_CARD_EXPIRY The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY. Guardrails recognizes expiration dates such as 01/21, 01/2021, and Jan 2021. + /// + /// * CREDIT_DEBIT_CARD_NUMBER The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present. + /// + /// * PIN A four-digit personal identification number (PIN) with which you can access your bank account. + /// + /// * INTERNATIONAL_BANK_ACCOUNT_NUMBER An International Bank Account Number has specific formats in each country. For more information, see [www.iban.com/structure](https://www.iban.com/structure). + /// + /// * SWIFT_CODE A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers. SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office. + /// + /// + /// + /// + /// * IT + /// + /// * IP_ADDRESS An IPv4 address, such as 198.51.100.0. + /// + /// * MAC_ADDRESS A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC). + /// + /// * URL A web address, such as www.example.com. + /// + /// * AWS_ACCESS_KEY A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically. + /// + /// * AWS_SECRET_KEY A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically. + /// + /// + /// + /// + /// * USA specific + /// + /// * US_BANK_ACCOUNT_NUMBER A US bank account number, which is typically 10 to 12 digits long. + /// + /// * US_BANK_ROUTING_NUMBER A US bank account routing number. These are typically nine digits long, + /// + /// * US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits. + /// + /// * US_PASSPORT_NUMBER A US passport number. Passport numbers range from six to nine alphanumeric characters. + /// + /// * US_SOCIAL_SECURITY_NUMBER A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents. + /// + /// + /// + /// + /// * Canada specific + /// + /// * CA_HEALTH_NUMBER A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits. + /// + /// * CA_SOCIAL_INSURANCE_NUMBER A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits. The SIN is formatted as three groups of three digits, such as 123-456-789. A SIN can be validated through a simple check-digit process called the [Luhn algorithm](https://www.wikipedia.org/wiki/Luhn_algorithm). + /// + /// + /// + /// + /// * UK Specific + /// + /// * UK_NATIONAL_HEALTH_SERVICE_NUMBER A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456. The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum. + /// + /// * UK_NATIONAL_INSURANCE_NUMBER A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system. The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits. + /// + /// * UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business. + /// + /// + /// + /// + /// * Custom + /// + /// * Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc.. /// This member is required. public var type: BedrockClientTypes.GuardrailPiiEntityType? @@ -1309,11 +1470,7 @@ extension BedrockClientTypes { } extension BedrockClientTypes { - /// Details about topics for the guardrail to identify and deny. This data type is used in the following API operations: - /// - /// * [CreateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateGuardrail.html#API_CreateGuardrail_RequestSyntax) - /// - /// * [UpdateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html#API_UpdateGuardrail_RequestSyntax) + /// Details about topics for the guardrail to identify and deny. public struct GuardrailTopicConfig { /// A definition of the topic to deny. /// This member is required. @@ -1345,15 +1502,11 @@ extension BedrockClientTypes { extension BedrockClientTypes.GuardrailTopicConfig: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GuardrailTopicConfig(examples: \(Swift.String(describing: examples)), type: \(Swift.String(describing: type)), definition: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} + "GuardrailTopicConfig(type: \(Swift.String(describing: type)), definition: \"CONTENT_REDACTED\", examples: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } extension BedrockClientTypes { - /// Contains details about topics that the guardrail should identify and deny. This data type is used in the following API operations: - /// - /// * [CreateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateGuardrail.html#API_CreateGuardrail_RequestSyntax) - /// - /// * [UpdateGuardrail request body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html#API_UpdateGuardrail_RequestSyntax) + /// Contains details about topics that the guardrail should identify and deny. public struct GuardrailTopicPolicyConfig { /// A list of policies related to topics that the guardrail should deny. /// This member is required. @@ -1460,6 +1613,8 @@ public struct CreateGuardrailInput { public var clientRequestToken: Swift.String? /// The content filter policies to configure for the guardrail. public var contentPolicyConfig: BedrockClientTypes.GuardrailContentPolicyConfig? + /// The contextual grounding policy configuration used to create a guardrail. + public var contextualGroundingPolicyConfig: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig? /// A description of the guardrail. public var description: Swift.String? /// The ARN of the KMS key that you use to encrypt the guardrail. @@ -1481,6 +1636,7 @@ public struct CreateGuardrailInput { blockedOutputsMessaging: Swift.String? = nil, clientRequestToken: Swift.String? = nil, contentPolicyConfig: BedrockClientTypes.GuardrailContentPolicyConfig? = nil, + contextualGroundingPolicyConfig: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig? = nil, description: Swift.String? = nil, kmsKeyId: Swift.String? = nil, name: Swift.String? = nil, @@ -1494,6 +1650,7 @@ public struct CreateGuardrailInput { self.blockedOutputsMessaging = blockedOutputsMessaging self.clientRequestToken = clientRequestToken self.contentPolicyConfig = contentPolicyConfig + self.contextualGroundingPolicyConfig = contextualGroundingPolicyConfig self.description = description self.kmsKeyId = kmsKeyId self.name = name @@ -1506,20 +1663,20 @@ public struct CreateGuardrailInput { extension CreateGuardrailInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateGuardrailInput(clientRequestToken: \(Swift.String(describing: clientRequestToken)), contentPolicyConfig: \(Swift.String(describing: contentPolicyConfig)), kmsKeyId: \(Swift.String(describing: kmsKeyId)), sensitiveInformationPolicyConfig: \(Swift.String(describing: sensitiveInformationPolicyConfig)), tags: \(Swift.String(describing: tags)), topicPolicyConfig: \(Swift.String(describing: topicPolicyConfig)), wordPolicyConfig: \(Swift.String(describing: wordPolicyConfig)), blockedInputMessaging: \"CONTENT_REDACTED\", blockedOutputsMessaging: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} + "CreateGuardrailInput(clientRequestToken: \(Swift.String(describing: clientRequestToken)), contentPolicyConfig: \(Swift.String(describing: contentPolicyConfig)), contextualGroundingPolicyConfig: \(Swift.String(describing: contextualGroundingPolicyConfig)), kmsKeyId: \(Swift.String(describing: kmsKeyId)), sensitiveInformationPolicyConfig: \(Swift.String(describing: sensitiveInformationPolicyConfig)), tags: \(Swift.String(describing: tags)), topicPolicyConfig: \(Swift.String(describing: topicPolicyConfig)), wordPolicyConfig: \(Swift.String(describing: wordPolicyConfig)), blockedInputMessaging: \"CONTENT_REDACTED\", blockedOutputsMessaging: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } public struct CreateGuardrailOutput { /// The time at which the guardrail was created. /// This member is required. public var createdAt: Foundation.Date? - /// The ARN of the guardrail that was created. + /// The ARN of the guardrail. /// This member is required. public var guardrailArn: Swift.String? /// The unique identifier of the guardrail that was created. /// This member is required. public var guardrailId: Swift.String? - /// The version of the guardrail that was created. This value should be 1. + /// The version of the guardrail that was created. This value will always be DRAFT. /// This member is required. public var version: Swift.String? @@ -1542,7 +1699,7 @@ public struct CreateGuardrailVersionInput { public var clientRequestToken: Swift.String? /// A description of the guardrail version. public var description: Swift.String? - /// The unique identifier of the guardrail. + /// The unique identifier of the guardrail. This can be an ID or the ARN. /// This member is required. public var guardrailIdentifier: Swift.String? @@ -1582,7 +1739,7 @@ public struct CreateGuardrailVersionOutput { } public struct DeleteGuardrailInput { - /// The unique identifier of the guardrail. + /// The unique identifier of the guardrail. This can be an ID or the ARN. /// This member is required. public var guardrailIdentifier: Swift.String? /// The version of the guardrail. @@ -1604,7 +1761,7 @@ public struct DeleteGuardrailOutput { } public struct GetGuardrailInput { - /// The unique identifier of the guardrail for which to get details. + /// The unique identifier of the guardrail for which to get details. This can be an ID or the ARN. /// This member is required. public var guardrailIdentifier: Swift.String? /// The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the DRAFT version. @@ -1678,6 +1835,45 @@ extension BedrockClientTypes { } +extension BedrockClientTypes { + /// The details for the guardrails contextual grounding filter. + public struct GuardrailContextualGroundingFilter { + /// The threshold details for the guardrails contextual grounding filter. + /// This member is required. + public var threshold: Swift.Double? + /// The filter type details for the guardrails contextual grounding filter. + /// This member is required. + public var type: BedrockClientTypes.GuardrailContextualGroundingFilterType? + + public init( + threshold: Swift.Double? = nil, + type: BedrockClientTypes.GuardrailContextualGroundingFilterType? = nil + ) + { + self.threshold = threshold + self.type = type + } + } + +} + +extension BedrockClientTypes { + /// The details for the guardrails contextual grounding policy. + public struct GuardrailContextualGroundingPolicy { + /// The filter details for the guardrails contextual grounding policy. + /// This member is required. + public var filters: [BedrockClientTypes.GuardrailContextualGroundingFilter]? + + public init( + filters: [BedrockClientTypes.GuardrailContextualGroundingFilter]? = nil + ) + { + self.filters = filters + } + } + +} + extension BedrockClientTypes { /// The PII entity configured for the guardrail. public struct GuardrailPiiEntity { @@ -1826,7 +2022,7 @@ extension BedrockClientTypes { extension BedrockClientTypes.GuardrailTopic: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GuardrailTopic(examples: \(Swift.String(describing: examples)), type: \(Swift.String(describing: type)), definition: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} + "GuardrailTopic(type: \(Swift.String(describing: type)), definition: \"CONTENT_REDACTED\", examples: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } extension BedrockClientTypes { @@ -1849,7 +2045,7 @@ extension BedrockClientTypes { } extension BedrockClientTypes { - /// The managed word list that was configured for the guardrail. (This is a list of words that are pre-defined and managed by Guardrails only.) + /// The managed word list that was configured for the guardrail. (This is a list of words that are pre-defined and managed by guardrails only.) public struct GuardrailManagedWords { /// ManagedWords$type The managed word type that was configured for the guardrail. (For now, we only offer profanity word list) /// This member is required. @@ -1911,6 +2107,8 @@ public struct GetGuardrailOutput { public var blockedOutputsMessaging: Swift.String? /// The content policy that was configured for the guardrail. public var contentPolicy: BedrockClientTypes.GuardrailContentPolicy? + /// The contextual grounding policy used in the guardrail. + public var contextualGroundingPolicy: BedrockClientTypes.GuardrailContextualGroundingPolicy? /// The date and time at which the guardrail was created. /// This member is required. public var createdAt: Foundation.Date? @@ -1918,7 +2116,7 @@ public struct GetGuardrailOutput { public var description: Swift.String? /// Appears if the status of the guardrail is FAILED. A list of recommendations to carry out before retrying the request. public var failureRecommendations: [Swift.String]? - /// The ARN of the guardrail that was created. + /// The ARN of the guardrail. /// This member is required. public var guardrailArn: Swift.String? /// The unique identifier of the guardrail. @@ -1951,6 +2149,7 @@ public struct GetGuardrailOutput { blockedInputMessaging: Swift.String? = nil, blockedOutputsMessaging: Swift.String? = nil, contentPolicy: BedrockClientTypes.GuardrailContentPolicy? = nil, + contextualGroundingPolicy: BedrockClientTypes.GuardrailContextualGroundingPolicy? = nil, createdAt: Foundation.Date? = nil, description: Swift.String? = nil, failureRecommendations: [Swift.String]? = nil, @@ -1970,6 +2169,7 @@ public struct GetGuardrailOutput { self.blockedInputMessaging = blockedInputMessaging self.blockedOutputsMessaging = blockedOutputsMessaging self.contentPolicy = contentPolicy + self.contextualGroundingPolicy = contextualGroundingPolicy self.createdAt = createdAt self.description = description self.failureRecommendations = failureRecommendations @@ -1989,11 +2189,11 @@ public struct GetGuardrailOutput { extension GetGuardrailOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetGuardrailOutput(contentPolicy: \(Swift.String(describing: contentPolicy)), createdAt: \(Swift.String(describing: createdAt)), failureRecommendations: \(Swift.String(describing: failureRecommendations)), guardrailArn: \(Swift.String(describing: guardrailArn)), guardrailId: \(Swift.String(describing: guardrailId)), kmsKeyArn: \(Swift.String(describing: kmsKeyArn)), sensitiveInformationPolicy: \(Swift.String(describing: sensitiveInformationPolicy)), status: \(Swift.String(describing: status)), statusReasons: \(Swift.String(describing: statusReasons)), topicPolicy: \(Swift.String(describing: topicPolicy)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), wordPolicy: \(Swift.String(describing: wordPolicy)), blockedInputMessaging: \"CONTENT_REDACTED\", blockedOutputsMessaging: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} + "GetGuardrailOutput(contentPolicy: \(Swift.String(describing: contentPolicy)), contextualGroundingPolicy: \(Swift.String(describing: contextualGroundingPolicy)), createdAt: \(Swift.String(describing: createdAt)), guardrailArn: \(Swift.String(describing: guardrailArn)), guardrailId: \(Swift.String(describing: guardrailId)), kmsKeyArn: \(Swift.String(describing: kmsKeyArn)), sensitiveInformationPolicy: \(Swift.String(describing: sensitiveInformationPolicy)), status: \(Swift.String(describing: status)), topicPolicy: \(Swift.String(describing: topicPolicy)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), wordPolicy: \(Swift.String(describing: wordPolicy)), blockedInputMessaging: \"CONTENT_REDACTED\", blockedOutputsMessaging: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", failureRecommendations: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", statusReasons: \"CONTENT_REDACTED\")"} } public struct ListGuardrailsInput { - /// The unique identifier of the guardrail. + /// The unique identifier of the guardrail. This can be an ID or the ARN. public var guardrailIdentifier: Swift.String? /// The maximum number of results to return in the response. public var maxResults: Swift.Int? @@ -2096,9 +2296,11 @@ public struct UpdateGuardrailInput { public var blockedOutputsMessaging: Swift.String? /// The content policy to configure for the guardrail. public var contentPolicyConfig: BedrockClientTypes.GuardrailContentPolicyConfig? + /// The contextual grounding policy configuration used to update a guardrail. + public var contextualGroundingPolicyConfig: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig? /// A description of the guardrail. public var description: Swift.String? - /// The unique identifier of the guardrail + /// The unique identifier of the guardrail. This can be an ID or the ARN. /// This member is required. public var guardrailIdentifier: Swift.String? /// The ARN of the KMS key with which to encrypt the guardrail. @@ -2117,6 +2319,7 @@ public struct UpdateGuardrailInput { blockedInputMessaging: Swift.String? = nil, blockedOutputsMessaging: Swift.String? = nil, contentPolicyConfig: BedrockClientTypes.GuardrailContentPolicyConfig? = nil, + contextualGroundingPolicyConfig: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig? = nil, description: Swift.String? = nil, guardrailIdentifier: Swift.String? = nil, kmsKeyId: Swift.String? = nil, @@ -2129,6 +2332,7 @@ public struct UpdateGuardrailInput { self.blockedInputMessaging = blockedInputMessaging self.blockedOutputsMessaging = blockedOutputsMessaging self.contentPolicyConfig = contentPolicyConfig + self.contextualGroundingPolicyConfig = contextualGroundingPolicyConfig self.description = description self.guardrailIdentifier = guardrailIdentifier self.kmsKeyId = kmsKeyId @@ -2141,11 +2345,11 @@ public struct UpdateGuardrailInput { extension UpdateGuardrailInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateGuardrailInput(contentPolicyConfig: \(Swift.String(describing: contentPolicyConfig)), guardrailIdentifier: \(Swift.String(describing: guardrailIdentifier)), kmsKeyId: \(Swift.String(describing: kmsKeyId)), sensitiveInformationPolicyConfig: \(Swift.String(describing: sensitiveInformationPolicyConfig)), topicPolicyConfig: \(Swift.String(describing: topicPolicyConfig)), wordPolicyConfig: \(Swift.String(describing: wordPolicyConfig)), blockedInputMessaging: \"CONTENT_REDACTED\", blockedOutputsMessaging: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} + "UpdateGuardrailInput(contentPolicyConfig: \(Swift.String(describing: contentPolicyConfig)), contextualGroundingPolicyConfig: \(Swift.String(describing: contextualGroundingPolicyConfig)), guardrailIdentifier: \(Swift.String(describing: guardrailIdentifier)), kmsKeyId: \(Swift.String(describing: kmsKeyId)), sensitiveInformationPolicyConfig: \(Swift.String(describing: sensitiveInformationPolicyConfig)), topicPolicyConfig: \(Swift.String(describing: topicPolicyConfig)), wordPolicyConfig: \(Swift.String(describing: wordPolicyConfig)), blockedInputMessaging: \"CONTENT_REDACTED\", blockedOutputsMessaging: \"CONTENT_REDACTED\", description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } public struct UpdateGuardrailOutput { - /// The ARN of the guardrail that was created. + /// The ARN of the guardrail. /// This member is required. public var guardrailArn: Swift.String? /// The unique identifier of the guardrail @@ -4371,6 +4575,7 @@ extension CreateGuardrailInput { try writer["blockedOutputsMessaging"].write(value.blockedOutputsMessaging) try writer["clientRequestToken"].write(value.clientRequestToken) try writer["contentPolicyConfig"].write(value.contentPolicyConfig, with: BedrockClientTypes.GuardrailContentPolicyConfig.write(value:to:)) + try writer["contextualGroundingPolicyConfig"].write(value.contextualGroundingPolicyConfig, with: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig.write(value:to:)) try writer["description"].write(value.description) try writer["kmsKeyId"].write(value.kmsKeyId) try writer["name"].write(value.name) @@ -4465,6 +4670,7 @@ extension UpdateGuardrailInput { try writer["blockedInputMessaging"].write(value.blockedInputMessaging) try writer["blockedOutputsMessaging"].write(value.blockedOutputsMessaging) try writer["contentPolicyConfig"].write(value.contentPolicyConfig, with: BedrockClientTypes.GuardrailContentPolicyConfig.write(value:to:)) + try writer["contextualGroundingPolicyConfig"].write(value.contextualGroundingPolicyConfig, with: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig.write(value:to:)) try writer["description"].write(value.description) try writer["kmsKeyId"].write(value.kmsKeyId) try writer["name"].write(value.name) @@ -4485,7 +4691,7 @@ extension UpdateProvisionedModelThroughputInput { extension CreateEvaluationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEvaluationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEvaluationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4497,7 +4703,7 @@ extension CreateEvaluationJobOutput { extension CreateGuardrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGuardrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGuardrailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4512,7 +4718,7 @@ extension CreateGuardrailOutput { extension CreateGuardrailVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGuardrailVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGuardrailVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4525,7 +4731,7 @@ extension CreateGuardrailVersionOutput { extension CreateModelCustomizationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelCustomizationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelCustomizationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4537,7 +4743,7 @@ extension CreateModelCustomizationJobOutput { extension CreateProvisionedModelThroughputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProvisionedModelThroughputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProvisionedModelThroughputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4549,35 +4755,35 @@ extension CreateProvisionedModelThroughputOutput { extension DeleteCustomModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomModelOutput { return DeleteCustomModelOutput() } } extension DeleteGuardrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGuardrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGuardrailOutput { return DeleteGuardrailOutput() } } extension DeleteModelInvocationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelInvocationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelInvocationLoggingConfigurationOutput { return DeleteModelInvocationLoggingConfigurationOutput() } } extension DeleteProvisionedModelThroughputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProvisionedModelThroughputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProvisionedModelThroughputOutput { return DeleteProvisionedModelThroughputOutput() } } extension GetCustomModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4602,7 +4808,7 @@ extension GetCustomModelOutput { extension GetEvaluationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvaluationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvaluationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4626,7 +4832,7 @@ extension GetEvaluationJobOutput { extension GetFoundationModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFoundationModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFoundationModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4638,7 +4844,7 @@ extension GetFoundationModelOutput { extension GetGuardrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGuardrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGuardrailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4646,6 +4852,7 @@ extension GetGuardrailOutput { value.blockedInputMessaging = try reader["blockedInputMessaging"].readIfPresent() value.blockedOutputsMessaging = try reader["blockedOutputsMessaging"].readIfPresent() value.contentPolicy = try reader["contentPolicy"].readIfPresent(with: BedrockClientTypes.GuardrailContentPolicy.read(from:)) + value.contextualGroundingPolicy = try reader["contextualGroundingPolicy"].readIfPresent(with: BedrockClientTypes.GuardrailContextualGroundingPolicy.read(from:)) value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) value.description = try reader["description"].readIfPresent() value.failureRecommendations = try reader["failureRecommendations"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) @@ -4666,7 +4873,7 @@ extension GetGuardrailOutput { extension GetModelCustomizationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelCustomizationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelCustomizationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4698,7 +4905,7 @@ extension GetModelCustomizationJobOutput { extension GetModelInvocationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelInvocationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelInvocationLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4710,7 +4917,7 @@ extension GetModelInvocationLoggingConfigurationOutput { extension GetProvisionedModelThroughputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProvisionedModelThroughputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProvisionedModelThroughputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4734,7 +4941,7 @@ extension GetProvisionedModelThroughputOutput { extension ListCustomModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4747,7 +4954,7 @@ extension ListCustomModelsOutput { extension ListEvaluationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEvaluationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEvaluationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4760,7 +4967,7 @@ extension ListEvaluationJobsOutput { extension ListFoundationModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFoundationModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFoundationModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4772,7 +4979,7 @@ extension ListFoundationModelsOutput { extension ListGuardrailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGuardrailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGuardrailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4785,7 +4992,7 @@ extension ListGuardrailsOutput { extension ListModelCustomizationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelCustomizationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelCustomizationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4798,7 +5005,7 @@ extension ListModelCustomizationJobsOutput { extension ListProvisionedModelThroughputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisionedModelThroughputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisionedModelThroughputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4811,7 +5018,7 @@ extension ListProvisionedModelThroughputsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4823,42 +5030,42 @@ extension ListTagsForResourceOutput { extension PutModelInvocationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutModelInvocationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutModelInvocationLoggingConfigurationOutput { return PutModelInvocationLoggingConfigurationOutput() } } extension StopEvaluationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEvaluationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEvaluationJobOutput { return StopEvaluationJobOutput() } } extension StopModelCustomizationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopModelCustomizationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopModelCustomizationJobOutput { return StopModelCustomizationJobOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateGuardrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGuardrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGuardrailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4873,14 +5080,14 @@ extension UpdateGuardrailOutput { extension UpdateProvisionedModelThroughputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProvisionedModelThroughputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProvisionedModelThroughputOutput { return UpdateProvisionedModelThroughputOutput() } } enum CreateEvaluationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4900,7 +5107,7 @@ enum CreateEvaluationJobOutputError { enum CreateGuardrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4921,7 +5128,7 @@ enum CreateGuardrailOutputError { enum CreateGuardrailVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4941,7 +5148,7 @@ enum CreateGuardrailVersionOutputError { enum CreateModelCustomizationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4962,7 +5169,7 @@ enum CreateModelCustomizationJobOutputError { enum CreateProvisionedModelThroughputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4982,7 +5189,7 @@ enum CreateProvisionedModelThroughputOutputError { enum DeleteCustomModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5001,7 +5208,7 @@ enum DeleteCustomModelOutputError { enum DeleteGuardrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5020,7 +5227,7 @@ enum DeleteGuardrailOutputError { enum DeleteModelInvocationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5036,7 +5243,7 @@ enum DeleteModelInvocationLoggingConfigurationOutputError { enum DeleteProvisionedModelThroughputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5055,7 +5262,7 @@ enum DeleteProvisionedModelThroughputOutputError { enum GetCustomModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5073,7 +5280,7 @@ enum GetCustomModelOutputError { enum GetEvaluationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5091,7 +5298,7 @@ enum GetEvaluationJobOutputError { enum GetFoundationModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5109,7 +5316,7 @@ enum GetFoundationModelOutputError { enum GetGuardrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5127,7 +5334,7 @@ enum GetGuardrailOutputError { enum GetModelCustomizationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5145,7 +5352,7 @@ enum GetModelCustomizationJobOutputError { enum GetModelInvocationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5161,7 +5368,7 @@ enum GetModelInvocationLoggingConfigurationOutputError { enum GetProvisionedModelThroughputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5179,7 +5386,7 @@ enum GetProvisionedModelThroughputOutputError { enum ListCustomModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5196,7 +5403,7 @@ enum ListCustomModelsOutputError { enum ListEvaluationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5213,7 +5420,7 @@ enum ListEvaluationJobsOutputError { enum ListFoundationModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5230,7 +5437,7 @@ enum ListFoundationModelsOutputError { enum ListGuardrailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5248,7 +5455,7 @@ enum ListGuardrailsOutputError { enum ListModelCustomizationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5265,7 +5472,7 @@ enum ListModelCustomizationJobsOutputError { enum ListProvisionedModelThroughputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5282,7 +5489,7 @@ enum ListProvisionedModelThroughputsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5300,7 +5507,7 @@ enum ListTagsForResourceOutputError { enum PutModelInvocationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5317,7 +5524,7 @@ enum PutModelInvocationLoggingConfigurationOutputError { enum StopEvaluationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5336,7 +5543,7 @@ enum StopEvaluationJobOutputError { enum StopModelCustomizationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5355,7 +5562,7 @@ enum StopModelCustomizationJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5374,7 +5581,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5392,7 +5599,7 @@ enum UntagResourceOutputError { enum UpdateGuardrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5412,7 +5619,7 @@ enum UpdateGuardrailOutputError { enum UpdateProvisionedModelThroughputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5991,6 +6198,27 @@ extension BedrockClientTypes.GuardrailPiiEntity { } } +extension BedrockClientTypes.GuardrailContextualGroundingPolicy { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockClientTypes.GuardrailContextualGroundingPolicy { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockClientTypes.GuardrailContextualGroundingPolicy() + value.filters = try reader["filters"].readListIfPresent(memberReadingClosure: BedrockClientTypes.GuardrailContextualGroundingFilter.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension BedrockClientTypes.GuardrailContextualGroundingFilter { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockClientTypes.GuardrailContextualGroundingFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockClientTypes.GuardrailContextualGroundingFilter() + value.type = try reader["type"].readIfPresent() + value.threshold = try reader["threshold"].readIfPresent() + return value + } +} + extension BedrockClientTypes.VpcConfig { static func write(value: BedrockClientTypes.VpcConfig?, to writer: SmithyJSON.Writer) throws { @@ -6282,4 +6510,21 @@ extension BedrockClientTypes.GuardrailPiiEntityConfig { } } +extension BedrockClientTypes.GuardrailContextualGroundingPolicyConfig { + + static func write(value: BedrockClientTypes.GuardrailContextualGroundingPolicyConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filtersConfig"].writeList(value.filtersConfig, memberWritingClosure: BedrockClientTypes.GuardrailContextualGroundingFilterConfig.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension BedrockClientTypes.GuardrailContextualGroundingFilterConfig { + + static func write(value: BedrockClientTypes.GuardrailContextualGroundingFilterConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["threshold"].write(value.threshold) + try writer["type"].write(value.type) + } +} + public enum BedrockClientTypes {} diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift index 9930a7335af..e23f254eb3a 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift @@ -249,6 +249,8 @@ extension BedrockAgentClient { /// /// /// + /// * To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see [Configure memory](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html). + /// /// * To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). /// /// * If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot. @@ -305,7 +307,7 @@ extension BedrockAgentClient { /// Performs the `CreateAgentActionGroup` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them. To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) reprompting the user for more information. + /// Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them. To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput. To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.CodeInterpreter. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) reprompting the user for more information. /// /// - Parameter CreateAgentActionGroupInput : [no documentation found] /// @@ -415,7 +417,7 @@ extension BedrockAgentClient { /// Performs the `CreateDataSource` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Sets up a data source to be added to a knowledge base. You can't change the chunkingConfiguration after you create the data source. + /// Creates a data source connector for a knowledge base. You can't change the chunkingConfiguration after you create the data source connector. /// /// - Parameter CreateDataSourceInput : [no documentation found] /// @@ -468,6 +470,170 @@ extension BedrockAgentClient { return result } + /// Performs the `CreateFlow` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see [How it works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html) and [Create a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-create.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter CreateFlowInput : [no documentation found] + /// + /// - Returns: `CreateFlowOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func createFlow(input: CreateFlowInput) async throws -> CreateFlowOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createFlow") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createFlow") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateFlowInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateFlowInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateFlowOutput.httpOutput(from:), CreateFlowOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `CreateFlowAlias` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Creates an alias of a flow for deployment. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter CreateFlowAliasInput : [no documentation found] + /// + /// - Returns: `CreateFlowAliasOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func createFlowAlias(input: CreateFlowAliasInput) async throws -> CreateFlowAliasOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createFlowAlias") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createFlowAlias") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateFlowAliasInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateFlowAliasInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateFlowAliasOutput.httpOutput(from:), CreateFlowAliasOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `CreateFlowVersion` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Creates a version of the flow that you can deploy. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter CreateFlowVersionInput : [no documentation found] + /// + /// - Returns: `CreateFlowVersionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func createFlowVersion(input: CreateFlowVersionInput) async throws -> CreateFlowVersionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createFlowVersion") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createFlowVersion") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateFlowVersionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateFlowVersionInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateFlowVersionOutput.httpOutput(from:), CreateFlowVersionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `CreateKnowledgeBase` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see [Set up your data for ingestion](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup.html). If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see [Create a knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-create). @@ -538,6 +704,115 @@ extension BedrockAgentClient { return result } + /// Performs the `CreatePrompt` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Creates a prompt in your prompt library that you can add to a flow. For more information, see [Prompt management in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html), [Create a prompt using Prompt management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html) and [Prompt flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter CreatePromptInput : [no documentation found] + /// + /// - Returns: `CreatePromptOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func createPrompt(input: CreatePromptInput) async throws -> CreatePromptOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createPrompt") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createPrompt") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreatePromptInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreatePromptInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreatePromptOutput.httpOutput(from:), CreatePromptOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `CreatePromptVersion` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Creates a static snapshot of your prompt that can be deployed to production. For more information, see [Deploy prompts using Prompt management by creating versions](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-deploy.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter CreatePromptVersionInput : [no documentation found] + /// + /// - Returns: `CreatePromptVersionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func createPromptVersion(input: CreatePromptVersionInput) async throws -> CreatePromptVersionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createPromptVersion") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createPromptVersion") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreatePromptVersionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreatePromptVersionInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreatePromptVersionOutput.httpOutput(from:), CreatePromptVersionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DeleteAgent` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// Deletes an agent. @@ -790,13 +1065,13 @@ extension BedrockAgentClient { return result } - /// Performs the `DeleteKnowledgeBase` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `DeleteFlow` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a [DisassociateAgentKnowledgeBase](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DisassociateAgentKnowledgeBase.html) request. + /// Deletes a flow. /// - /// - Parameter DeleteKnowledgeBaseInput : [no documentation found] + /// - Parameter DeleteFlowInput : [no documentation found] /// - /// - Returns: `DeleteKnowledgeBaseOutput` : [no documentation found] + /// - Returns: `DeleteFlowOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -807,11 +1082,11 @@ extension BedrockAgentClient { /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func deleteKnowledgeBase(input: DeleteKnowledgeBaseInput) async throws -> DeleteKnowledgeBaseOutput { + public func deleteFlow(input: DeleteFlowInput) async throws -> DeleteFlowOutput { let context = Smithy.ContextBuilder() .withMethod(value: .delete) .withServiceName(value: serviceName) - .withOperation(value: "deleteKnowledgeBase") + .withOperation(value: "deleteFlow") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -825,28 +1100,29 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "deleteKnowledgeBase") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteKnowledgeBaseInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "deleteFlow") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteFlowInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteKnowledgeBaseOutput.httpOutput(from:), DeleteKnowledgeBaseOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(DeleteFlowInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteFlowOutput.httpOutput(from:), DeleteFlowOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) return result } - /// Performs the `DisassociateAgentKnowledgeBase` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `DeleteFlowAlias` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Disassociates a knowledge base from an agent. + /// Deletes an alias of a flow. /// - /// - Parameter DisassociateAgentKnowledgeBaseInput : [no documentation found] + /// - Parameter DeleteFlowAliasInput : [no documentation found] /// - /// - Returns: `DisassociateAgentKnowledgeBaseOutput` : [no documentation found] + /// - Returns: `DeleteFlowAliasOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -857,11 +1133,11 @@ extension BedrockAgentClient { /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func disassociateAgentKnowledgeBase(input: DisassociateAgentKnowledgeBaseInput) async throws -> DisassociateAgentKnowledgeBaseOutput { + public func deleteFlowAlias(input: DeleteFlowAliasInput) async throws -> DeleteFlowAliasOutput { let context = Smithy.ContextBuilder() .withMethod(value: .delete) .withServiceName(value: serviceName) - .withOperation(value: "disassociateAgentKnowledgeBase") + .withOperation(value: "deleteFlowAlias") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -875,42 +1151,43 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "disassociateAgentKnowledgeBase") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DisassociateAgentKnowledgeBaseInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "deleteFlowAlias") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteFlowAliasInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DisassociateAgentKnowledgeBaseOutput.httpOutput(from:), DisassociateAgentKnowledgeBaseOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteFlowAliasOutput.httpOutput(from:), DeleteFlowAliasOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) return result } - /// Performs the `GetAgent` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `DeleteFlowVersion` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Gets information about an agent. + /// Deletes a version of a flow. /// - /// - Parameter GetAgentInput : [no documentation found] + /// - Parameter DeleteFlowVersionInput : [no documentation found] /// - /// - Returns: `GetAgentOutput` : [no documentation found] + /// - Returns: `DeleteFlowVersionOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. /// - `InternalServerException` : An internal server error occurred. Retry your request. /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func getAgent(input: GetAgentInput) async throws -> GetAgentOutput { + public func deleteFlowVersion(input: DeleteFlowVersionInput) async throws -> DeleteFlowVersionOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .get) + .withMethod(value: .delete) .withServiceName(value: serviceName) - .withOperation(value: "getAgent") + .withOperation(value: "deleteFlowVersion") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -924,42 +1201,44 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "getAgent") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetAgentInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "deleteFlowVersion") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteFlowVersionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetAgentOutput.httpOutput(from:), GetAgentOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(DeleteFlowVersionInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteFlowVersionOutput.httpOutput(from:), DeleteFlowVersionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) return result } - /// Performs the `GetAgentActionGroup` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `DeleteKnowledgeBase` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Gets information about an action group for an agent. + /// Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a [DisassociateAgentKnowledgeBase](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DisassociateAgentKnowledgeBase.html) request. /// - /// - Parameter GetAgentActionGroupInput : [no documentation found] + /// - Parameter DeleteKnowledgeBaseInput : [no documentation found] /// - /// - Returns: `GetAgentActionGroupOutput` : [no documentation found] + /// - Returns: `DeleteKnowledgeBaseOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. /// - `InternalServerException` : An internal server error occurred. Retry your request. /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func getAgentActionGroup(input: GetAgentActionGroupInput) async throws -> GetAgentActionGroupOutput { + public func deleteKnowledgeBase(input: DeleteKnowledgeBaseInput) async throws -> DeleteKnowledgeBaseOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .get) + .withMethod(value: .delete) .withServiceName(value: serviceName) - .withOperation(value: "getAgentActionGroup") + .withOperation(value: "deleteKnowledgeBase") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -973,20 +1252,219 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "getAgentActionGroup") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetAgentActionGroupInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "deleteKnowledgeBase") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteKnowledgeBaseInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetAgentActionGroupOutput.httpOutput(from:), GetAgentActionGroupOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) - let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) - return result - } + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteKnowledgeBaseOutput.httpOutput(from:), DeleteKnowledgeBaseOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DeletePrompt` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Deletes a prompt or a prompt version from the Prompt management tool. For more information, see [Delete prompts from the Prompt management tool](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-manage.html#prompt-management-delete.html) and [Delete a version of a prompt from the Prompt management tool](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-deploy.html#prompt-management-versions-delete.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter DeletePromptInput : [no documentation found] + /// + /// - Returns: `DeletePromptOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func deletePrompt(input: DeletePromptInput) async throws -> DeletePromptOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deletePrompt") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deletePrompt") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeletePromptInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(DeletePromptInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeletePromptOutput.httpOutput(from:), DeletePromptOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DisassociateAgentKnowledgeBase` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Disassociates a knowledge base from an agent. + /// + /// - Parameter DisassociateAgentKnowledgeBaseInput : [no documentation found] + /// + /// - Returns: `DisassociateAgentKnowledgeBaseOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func disassociateAgentKnowledgeBase(input: DisassociateAgentKnowledgeBaseInput) async throws -> DisassociateAgentKnowledgeBaseOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "disassociateAgentKnowledgeBase") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "disassociateAgentKnowledgeBase") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DisassociateAgentKnowledgeBaseInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DisassociateAgentKnowledgeBaseOutput.httpOutput(from:), DisassociateAgentKnowledgeBaseOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetAgent` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Gets information about an agent. + /// + /// - Parameter GetAgentInput : [no documentation found] + /// + /// - Returns: `GetAgentOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getAgent(input: GetAgentInput) async throws -> GetAgentOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getAgent") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getAgent") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetAgentInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetAgentOutput.httpOutput(from:), GetAgentOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetAgentActionGroup` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Gets information about an action group for an agent. + /// + /// - Parameter GetAgentActionGroupInput : [no documentation found] + /// + /// - Returns: `GetAgentActionGroupOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getAgentActionGroup(input: GetAgentActionGroupInput) async throws -> GetAgentActionGroupOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getAgentActionGroup") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getAgentActionGroup") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetAgentActionGroupInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetAgentActionGroupOutput.httpOutput(from:), GetAgentActionGroupOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } /// Performs the `GetAgentAlias` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// @@ -1184,6 +1662,153 @@ extension BedrockAgentClient { return result } + /// Performs the `GetFlow` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Retrieves information about a flow. For more information, see [Manage a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-manage.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter GetFlowInput : [no documentation found] + /// + /// - Returns: `GetFlowOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getFlow(input: GetFlowInput) async throws -> GetFlowOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getFlow") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getFlow") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetFlowInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetFlowOutput.httpOutput(from:), GetFlowOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetFlowAlias` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Retrieves information about a flow. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter GetFlowAliasInput : [no documentation found] + /// + /// - Returns: `GetFlowAliasOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getFlowAlias(input: GetFlowAliasInput) async throws -> GetFlowAliasOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getFlowAlias") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getFlowAlias") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetFlowAliasInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetFlowAliasOutput.httpOutput(from:), GetFlowAliasOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetFlowVersion` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Retrieves information about a version of a flow. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter GetFlowVersionInput : [no documentation found] + /// + /// - Returns: `GetFlowVersionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getFlowVersion(input: GetFlowVersionInput) async throws -> GetFlowVersionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getFlowVersion") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getFlowVersion") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetFlowVersionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetFlowVersionOutput.httpOutput(from:), GetFlowVersionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `GetIngestionJob` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// Gets information about a ingestion job, in which a data source is added to a knowledge base. @@ -1282,6 +1907,56 @@ extension BedrockAgentClient { return result } + /// Performs the `GetPrompt` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Retrieves information about a prompt or a version of it. For more information, see [View information about prompts using Prompt management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-manage.html#prompt-management-view.html) and [View information about a version of your prompt](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-deploy.html#prompt-management-versions-view.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter GetPromptInput : [no documentation found] + /// + /// - Returns: `GetPromptOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getPrompt(input: GetPromptInput) async throws -> GetPromptOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getPrompt") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getPrompt") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetPromptInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(GetPromptInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetPromptOutput.httpOutput(from:), GetPromptOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListAgentActionGroups` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// Lists the action groups for an agent and information about each one. @@ -1438,13 +2113,168 @@ extension BedrockAgentClient { return result } - /// Performs the `ListAgentVersions` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `ListAgentVersions` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Lists the versions of an agent and information about each version. + /// + /// - Parameter ListAgentVersionsInput : [no documentation found] + /// + /// - Returns: `ListAgentVersionsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func listAgentVersions(input: ListAgentVersionsInput) async throws -> ListAgentVersionsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listAgentVersions") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listAgentVersions") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListAgentVersionsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListAgentVersionsInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListAgentVersionsOutput.httpOutput(from:), ListAgentVersionsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListAgents` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Lists the agents belonging to an account and information about each agent. + /// + /// - Parameter ListAgentsInput : [no documentation found] + /// + /// - Returns: `ListAgentsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func listAgents(input: ListAgentsInput) async throws -> ListAgentsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listAgents") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listAgents") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListAgentsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListAgentsInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListAgentsOutput.httpOutput(from:), ListAgentsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListDataSources` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Lists the data sources in a knowledge base and information about each one. + /// + /// - Parameter ListDataSourcesInput : [no documentation found] + /// + /// - Returns: `ListDataSourcesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func listDataSources(input: ListDataSourcesInput) async throws -> ListDataSourcesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listDataSources") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listDataSources") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListDataSourcesInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListDataSourcesOutput.httpOutput(from:), ListDataSourcesOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListFlowAliases` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Lists the versions of an agent and information about each version. + /// Returns a list of aliases for a flow. /// - /// - Parameter ListAgentVersionsInput : [no documentation found] + /// - Parameter ListFlowAliasesInput : [no documentation found] /// - /// - Returns: `ListAgentVersionsOutput` : [no documentation found] + /// - Returns: `ListFlowAliasesOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// @@ -1454,11 +2284,11 @@ extension BedrockAgentClient { /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func listAgentVersions(input: ListAgentVersionsInput) async throws -> ListAgentVersionsOutput { + public func listFlowAliases(input: ListFlowAliasesInput) async throws -> ListFlowAliasesOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .post) + .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "listAgentVersions") + .withOperation(value: "listFlowAliases") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1472,44 +2302,43 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "listAgentVersions") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListAgentVersionsInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "listFlowAliases") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListFlowAliasesInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListAgentVersionsInput.write(value:to:))) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListAgentVersionsOutput.httpOutput(from:), ListAgentVersionsOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListFlowAliasesInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListFlowAliasesOutput.httpOutput(from:), ListFlowAliasesOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) return result } - /// Performs the `ListAgents` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `ListFlowVersions` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Lists the agents belonging to an account and information about each agent. + /// Returns a list of information about each flow. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide. /// - /// - Parameter ListAgentsInput : [no documentation found] + /// - Parameter ListFlowVersionsInput : [no documentation found] /// - /// - Returns: `ListAgentsOutput` : [no documentation found] + /// - Returns: `ListFlowVersionsOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : The request is denied because of missing access permissions. /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func listAgents(input: ListAgentsInput) async throws -> ListAgentsOutput { + public func listFlowVersions(input: ListFlowVersionsInput) async throws -> ListFlowVersionsOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .post) + .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "listAgents") + .withOperation(value: "listFlowVersions") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1523,45 +2352,42 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "listAgents") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListAgentsInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "listFlowVersions") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListFlowVersionsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListAgentsInput.write(value:to:))) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListAgentsOutput.httpOutput(from:), ListAgentsOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListFlowVersionsInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListFlowVersionsOutput.httpOutput(from:), ListFlowVersionsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) return result } - /// Performs the `ListDataSources` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// Performs the `ListFlows` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Lists the data sources in a knowledge base and information about each one. + /// Returns a list of flows and information about each flow. For more information, see [Manage a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-manage.html) in the Amazon Bedrock User Guide. /// - /// - Parameter ListDataSourcesInput : [no documentation found] + /// - Parameter ListFlowsInput : [no documentation found] /// - /// - Returns: `ListDataSourcesOutput` : [no documentation found] + /// - Returns: `ListFlowsOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : The request is denied because of missing access permissions. /// - `InternalServerException` : An internal server error occurred. Retry your request. - /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. - public func listDataSources(input: ListDataSourcesInput) async throws -> ListDataSourcesOutput { + public func listFlows(input: ListFlowsInput) async throws -> ListFlowsOutput { let context = Smithy.ContextBuilder() - .withMethod(value: .post) + .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "listDataSources") + .withOperation(value: "listFlows") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -1575,20 +2401,18 @@ extension BedrockAgentClient { .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() - var operation = ClientRuntime.OperationStack(id: "listDataSources") - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListDataSourcesInput.urlPathProvider(_:))) - operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + var operation = ClientRuntime.OperationStack(id: "listFlows") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListFlowsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) - operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) - operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) - operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListDataSourcesInput.write(value:to:))) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) - operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) - operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListDataSourcesOutput.httpOutput(from:), ListDataSourcesOutputError.httpError(from:))) - operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListFlowsInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListFlowsOutput.httpOutput(from:), ListFlowsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) return result } @@ -1696,6 +2520,56 @@ extension BedrockAgentClient { return result } + /// Performs the `ListPrompts` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Returns a list of prompts from the Prompt management tool and information about each prompt. For more information, see [View information about prompts using Prompt management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-manage.html#prompt-management-view.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter ListPromptsInput : [no documentation found] + /// + /// - Returns: `ListPromptsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func listPrompts(input: ListPromptsInput) async throws -> ListPromptsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listPrompts") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listPrompts") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListPromptsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListPromptsInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListPromptsOutput.httpOutput(from:), ListPromptsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListTagsForResource` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// List all the tags for the resource you specify. @@ -1796,6 +2670,57 @@ extension BedrockAgentClient { return result } + /// Performs the `PrepareFlow` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Prepares the DRAFT version of a flow so that it can be invoked. For more information, see [Test a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter PrepareFlowInput : [no documentation found] + /// + /// - Returns: `PrepareFlowOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func prepareFlow(input: PrepareFlowInput) async throws -> PrepareFlowOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "prepareFlow") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "prepareFlow") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(PrepareFlowInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(PrepareFlowOutput.httpOutput(from:), PrepareFlowOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `StartIngestionJob` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// Begins an ingestion job, in which a data source is added to a knowledge base. @@ -2171,7 +3096,7 @@ extension BedrockAgentClient { /// Performs the `UpdateDataSource` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// - /// Updates configurations for a data source. You can't change the chunkingConfiguration after you create the data source. Specify the existing chunkingConfiguration. + /// Updates the configurations for a data source connector. You can't change the chunkingConfiguration after you create the data source connector. Specify the existing chunkingConfiguration. /// /// - Parameter UpdateDataSourceInput : [no documentation found] /// @@ -2222,6 +3147,114 @@ extension BedrockAgentClient { return result } + /// Performs the `UpdateFlow` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see [How it works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html) and [Create a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-create.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter UpdateFlowInput : [no documentation found] + /// + /// - Returns: `UpdateFlowOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func updateFlow(input: UpdateFlowInput) async throws -> UpdateFlowOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateFlow") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateFlow") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateFlowInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateFlowInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateFlowOutput.httpOutput(from:), UpdateFlowOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `UpdateFlowAlias` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see [Deploy a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-deploy.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter UpdateFlowAliasInput : [no documentation found] + /// + /// - Returns: `UpdateFlowAliasOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func updateFlowAlias(input: UpdateFlowAliasInput) async throws -> UpdateFlowAliasOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateFlowAlias") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateFlowAlias") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateFlowAliasInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateFlowAliasInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateFlowAliasOutput.httpOutput(from:), UpdateFlowAliasOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `UpdateKnowledgeBase` operation on the `AmazonBedrockAgentBuildTimeLambda` service. /// /// Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same. You can change the following fields: @@ -2284,4 +3317,58 @@ extension BedrockAgentClient { return result } + /// Performs the `UpdatePrompt` operation on the `AmazonBedrockAgentBuildTimeLambda` service. + /// + /// Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see [Prompt management in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html) and [Edit prompts in your prompt library](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-manage.html#prompt-management-edit) in the Amazon Bedrock User Guide. + /// + /// - Parameter UpdatePromptInput : [no documentation found] + /// + /// - Returns: `UpdatePromptOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `ConflictException` : There was a conflict performing an operation. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func updatePrompt(input: UpdatePromptInput) async throws -> UpdatePromptOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updatePrompt") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updatePrompt") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdatePromptInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdatePromptInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdatePromptOutput.httpOutput(from:), UpdatePromptOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + } diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift index f2561db1550..2625fec17a3 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -22,6 +22,8 @@ import protocol ClientRuntime.ModeledError import struct AWSClientRuntime.RestJSONError @_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError import struct Smithy.URIQueryItem +import struct SmithyReadWrite.ReadingClosureBox +import struct SmithyReadWrite.WritingClosureBox /// The request is denied because of missing access permissions. public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -35,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -97,7 +99,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +123,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +147,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -169,7 +171,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -193,7 +195,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -241,7 +243,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -285,11 +287,11 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains information about the S3 object containing the resource. + /// The identifier information for an Amazon S3 bucket. public struct S3Identifier { /// The name of the S3 bucket. public var s3BucketName: Swift.String? - /// The S3 object key containing the resource. + /// The S3 object key for the S3 resource. public var s3ObjectKey: Swift.String? public init( @@ -447,11 +449,13 @@ extension BedrockAgentClientTypes { extension BedrockAgentClientTypes { public enum ActionGroupSignature: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case amazonCodeinterpreter case amazonUserinput case sdkUnknown(Swift.String) public static var allCases: [ActionGroupSignature] { return [ + .amazonCodeinterpreter, .amazonUserinput ] } @@ -463,6 +467,7 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { + case .amazonCodeinterpreter: return "AMAZON.CodeInterpreter" case .amazonUserinput: return "AMAZON.UserInput" case let .sdkUnknown(s): return s } @@ -492,7 +497,7 @@ public struct CreateAgentActionGroupInput { public var description: Swift.String? /// Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema. public var functionSchema: BedrockAgentClientTypes.FunctionSchema? - /// To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) reprompting the user for more information. + /// To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to AMAZON.CodeInterpreter. You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) reprompting the user for more information. public var parentActionGroupSignature: BedrockAgentClientTypes.ActionGroupSignature? public init( @@ -865,11 +870,11 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// The details of the guardrails configuration. + /// Details about the guardrail associated with an agent. public struct GuardrailConfiguration { - /// The guardrails identifier assigned to the guardrails configuration. + /// The unique identifier of the guardrail. public var guardrailIdentifier: Swift.String? - /// The guardrails version assigned to the guardrails configuration. + /// The version of the guardrail. public var guardrailVersion: Swift.String? public init( @@ -884,6 +889,53 @@ extension BedrockAgentClientTypes { } +extension BedrockAgentClientTypes { + + public enum MemoryType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case sessionSummary + case sdkUnknown(Swift.String) + + public static var allCases: [MemoryType] { + return [ + .sessionSummary + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .sessionSummary: return "SESSION_SUMMARY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Details of the memory configuration. + public struct MemoryConfiguration { + /// The type of memory that is stored. + /// This member is required. + public var enabledMemoryTypes: [BedrockAgentClientTypes.MemoryType]? + /// The number of days the agent is configured to retain the conversational context. + public var storageDays: Swift.Int? + + public init( + enabledMemoryTypes: [BedrockAgentClientTypes.MemoryType]? = nil, + storageDays: Swift.Int? = nil + ) + { + self.enabledMemoryTypes = enabledMemoryTypes + self.storageDays = storageDays + } + } + +} + extension BedrockAgentClientTypes { /// Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). public struct InferenceConfiguration { @@ -1053,6 +1105,11 @@ extension BedrockAgentClientTypes { } +extension BedrockAgentClientTypes.PromptConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PromptConfiguration(inferenceConfiguration: \(Swift.String(describing: inferenceConfiguration)), parserMode: \(Swift.String(describing: parserMode)), promptCreationMode: \(Swift.String(describing: promptCreationMode)), promptState: \(Swift.String(describing: promptState)), promptType: \(Swift.String(describing: promptType)), basePromptTemplate: \"CONTENT_REDACTED\")"} +} + extension BedrockAgentClientTypes { /// Contains configurations to override prompts in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). public struct PromptOverrideConfiguration { @@ -1128,13 +1185,15 @@ extension BedrockAgentClientTypes { public var failureReasons: [Swift.String]? /// The foundation model used for orchestration by the agent. public var foundationModel: Swift.String? - /// The guardrails configuration assigned to the agent. + /// Details about the guardrail associated with the agent. public var guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? /// The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. /// This member is required. public var idleSessionTTLInSeconds: Swift.Int? /// Instructions that tell the agent what it should do and how it should interact with users. public var instruction: Swift.String? + /// Contains memory configuration for the agent. + public var memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? /// The time at which the agent was last prepared. public var preparedAt: Foundation.Date? /// Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). @@ -1161,6 +1220,7 @@ extension BedrockAgentClientTypes { guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? = nil, idleSessionTTLInSeconds: Swift.Int? = nil, instruction: Swift.String? = nil, + memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? = nil, preparedAt: Foundation.Date? = nil, promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? = nil, recommendedActions: [Swift.String]? = nil, @@ -1182,6 +1242,7 @@ extension BedrockAgentClientTypes { self.guardrailConfiguration = guardrailConfiguration self.idleSessionTTLInSeconds = idleSessionTTLInSeconds self.instruction = instruction + self.memoryConfiguration = memoryConfiguration self.preparedAt = preparedAt self.promptOverrideConfiguration = promptOverrideConfiguration self.recommendedActions = recommendedActions @@ -1193,7 +1254,7 @@ extension BedrockAgentClientTypes { extension BedrockAgentClientTypes.Agent: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "Agent(agentArn: \(Swift.String(describing: agentArn)), agentId: \(Swift.String(describing: agentId)), agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), agentStatus: \(Swift.String(describing: agentStatus)), agentVersion: \(Swift.String(describing: agentVersion)), clientToken: \(Swift.String(describing: clientToken)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), failureReasons: \(Swift.String(describing: failureReasons)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), preparedAt: \(Swift.String(describing: preparedAt)), recommendedActions: \(Swift.String(describing: recommendedActions)), updatedAt: \(Swift.String(describing: updatedAt)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} + "Agent(agentArn: \(Swift.String(describing: agentArn)), agentId: \(Swift.String(describing: agentId)), agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), agentStatus: \(Swift.String(describing: agentStatus)), agentVersion: \(Swift.String(describing: agentVersion)), clientToken: \(Swift.String(describing: clientToken)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), failureReasons: \(Swift.String(describing: failureReasons)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), memoryConfiguration: \(Swift.String(describing: memoryConfiguration)), preparedAt: \(Swift.String(describing: preparedAt)), recommendedActions: \(Swift.String(describing: recommendedActions)), updatedAt: \(Swift.String(describing: updatedAt)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} } extension BedrockAgentClientTypes { @@ -1401,6 +1462,23 @@ extension BedrockAgentClientTypes { } +extension BedrockAgentClientTypes { + /// Defines an agent node in your flow. You specify the agent to invoke at this point in the flow. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct AgentFlowNodeConfiguration { + /// The Amazon Resource Name (ARN) of the alias of the agent to invoke. + /// This member is required. + public var agentAliasArn: Swift.String? + + public init( + agentAliasArn: Swift.String? = nil + ) + { + self.agentAliasArn = agentAliasArn + } + } + +} + extension BedrockAgentClientTypes { public enum KnowledgeBaseState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1528,6 +1606,8 @@ public struct CreateAgentInput { public var idleSessionTTLInSeconds: Swift.Int? /// Instructions that tell the agent what it should do and how it should interact with users. public var instruction: Swift.String? + /// Contains the details of the memory configured for the agent. + public var memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? /// Contains configurations to override prompts in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). public var promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? /// Any tags that you want to attach to the agent. @@ -1543,6 +1623,7 @@ public struct CreateAgentInput { guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? = nil, idleSessionTTLInSeconds: Swift.Int? = nil, instruction: Swift.String? = nil, + memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? = nil, promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? = nil, tags: [Swift.String: Swift.String]? = nil ) @@ -1556,6 +1637,7 @@ public struct CreateAgentInput { self.guardrailConfiguration = guardrailConfiguration self.idleSessionTTLInSeconds = idleSessionTTLInSeconds self.instruction = instruction + self.memoryConfiguration = memoryConfiguration self.promptOverrideConfiguration = promptOverrideConfiguration self.tags = tags } @@ -1563,7 +1645,7 @@ public struct CreateAgentInput { extension CreateAgentInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateAgentInput(agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), clientToken: \(Swift.String(describing: clientToken)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), tags: \(Swift.String(describing: tags)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} + "CreateAgentInput(agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), clientToken: \(Swift.String(describing: clientToken)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), memoryConfiguration: \(Swift.String(describing: memoryConfiguration)), tags: \(Swift.String(describing: tags)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} } public struct CreateAgentOutput { @@ -1670,7 +1752,7 @@ extension BedrockAgentClientTypes { public var agentStatus: BedrockAgentClientTypes.AgentStatus? /// The description of the agent. public var description: Swift.String? - /// The details of the guardrails configuration in the agent summary. + /// Details about the guardrail associated with the agent. public var guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? /// The latest version of the agent. public var latestAgentVersion: Swift.String? @@ -1781,6 +1863,8 @@ public struct UpdateAgentInput { public var idleSessionTTLInSeconds: Swift.Int? /// Specifies new instructions that tell the agent what it should do and how it should interact with users. public var instruction: Swift.String? + /// Specifies the new memory configuration for the agent. + public var memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? /// Contains configurations to override prompts in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). public var promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? @@ -1794,6 +1878,7 @@ public struct UpdateAgentInput { guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? = nil, idleSessionTTLInSeconds: Swift.Int? = nil, instruction: Swift.String? = nil, + memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? = nil, promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? = nil ) { @@ -1806,13 +1891,14 @@ public struct UpdateAgentInput { self.guardrailConfiguration = guardrailConfiguration self.idleSessionTTLInSeconds = idleSessionTTLInSeconds self.instruction = instruction + self.memoryConfiguration = memoryConfiguration self.promptOverrideConfiguration = promptOverrideConfiguration } } extension UpdateAgentInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateAgentInput(agentId: \(Swift.String(describing: agentId)), agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} + "UpdateAgentInput(agentId: \(Swift.String(describing: agentId)), agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), memoryConfiguration: \(Swift.String(describing: memoryConfiguration)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} } public struct UpdateAgentOutput { @@ -1857,13 +1943,15 @@ extension BedrockAgentClientTypes { public var failureReasons: [Swift.String]? /// The foundation model that the version invokes. public var foundationModel: Swift.String? - /// The guardrails configuration assigned to the agent version. + /// Details about the guardrail associated with the agent. public var guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? /// The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. /// This member is required. public var idleSessionTTLInSeconds: Swift.Int? /// The instructions provided to the agent. public var instruction: Swift.String? + /// Contains details of the memory configuration on the version of the agent. + public var memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? /// Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). public var promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? /// A list of recommended actions to take for the failed API operation on the version to succeed. @@ -1889,6 +1977,7 @@ extension BedrockAgentClientTypes { guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? = nil, idleSessionTTLInSeconds: Swift.Int? = nil, instruction: Swift.String? = nil, + memoryConfiguration: BedrockAgentClientTypes.MemoryConfiguration? = nil, promptOverrideConfiguration: BedrockAgentClientTypes.PromptOverrideConfiguration? = nil, recommendedActions: [Swift.String]? = nil, updatedAt: Foundation.Date? = nil, @@ -1908,6 +1997,7 @@ extension BedrockAgentClientTypes { self.guardrailConfiguration = guardrailConfiguration self.idleSessionTTLInSeconds = idleSessionTTLInSeconds self.instruction = instruction + self.memoryConfiguration = memoryConfiguration self.promptOverrideConfiguration = promptOverrideConfiguration self.recommendedActions = recommendedActions self.updatedAt = updatedAt @@ -1919,7 +2009,7 @@ extension BedrockAgentClientTypes { extension BedrockAgentClientTypes.AgentVersion: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "AgentVersion(agentArn: \(Swift.String(describing: agentArn)), agentId: \(Swift.String(describing: agentId)), agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), agentStatus: \(Swift.String(describing: agentStatus)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), failureReasons: \(Swift.String(describing: failureReasons)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), recommendedActions: \(Swift.String(describing: recommendedActions)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} + "AgentVersion(agentArn: \(Swift.String(describing: agentArn)), agentId: \(Swift.String(describing: agentId)), agentName: \(Swift.String(describing: agentName)), agentResourceRoleArn: \(Swift.String(describing: agentResourceRoleArn)), agentStatus: \(Swift.String(describing: agentStatus)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), description: \(Swift.String(describing: description)), failureReasons: \(Swift.String(describing: failureReasons)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), memoryConfiguration: \(Swift.String(describing: memoryConfiguration)), recommendedActions: \(Swift.String(describing: recommendedActions)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} } extension BedrockAgentClientTypes { @@ -1939,7 +2029,7 @@ extension BedrockAgentClientTypes { public var createdAt: Foundation.Date? /// The description of the version of the agent. public var description: Swift.String? - /// The details of the guardrails configuration in the agent version summary. + /// Details about the guardrail associated with the agent. public var guardrailConfiguration: BedrockAgentClientTypes.GuardrailConfiguration? /// The time at which the version was last updated. /// This member is required. @@ -2198,39 +2288,66 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains information about the S3 configuration of the data source. - public struct S3DataSourceConfiguration { - /// The Amazon Resource Name (ARN) of the bucket that contains the data source. + /// The specific filters applied to your data source content. You can filter out or include certain content. + public struct PatternObjectFilter { + /// A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled. + public var exclusionFilters: [Swift.String]? + /// A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled. + public var inclusionFilters: [Swift.String]? + /// The supported object type or content type of the data source. /// This member is required. - public var bucketArn: Swift.String? - /// The bucket account owner ID for the S3 bucket. - public var bucketOwnerAccountId: Swift.String? - /// A list of S3 prefixes that define the object containing the data sources. For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html). - public var inclusionPrefixes: [Swift.String]? + public var objectType: Swift.String? public init( - bucketArn: Swift.String? = nil, - bucketOwnerAccountId: Swift.String? = nil, - inclusionPrefixes: [Swift.String]? = nil + exclusionFilters: [Swift.String]? = nil, + inclusionFilters: [Swift.String]? = nil, + objectType: Swift.String? = nil ) { - self.bucketArn = bucketArn - self.bucketOwnerAccountId = bucketOwnerAccountId - self.inclusionPrefixes = inclusionPrefixes + self.exclusionFilters = exclusionFilters + self.inclusionFilters = inclusionFilters + self.objectType = objectType } } } +extension BedrockAgentClientTypes.PatternObjectFilter: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PatternObjectFilter(exclusionFilters: \"CONTENT_REDACTED\", inclusionFilters: \"CONTENT_REDACTED\", objectType: \"CONTENT_REDACTED\")"} +} + extension BedrockAgentClientTypes { + /// The configuration of filtering certain objects or content types of the data source. + public struct PatternObjectFilterConfiguration { + /// The configuration of specific filters applied to your data source content. You can filter out or include certain content. + /// This member is required. + public var filters: [BedrockAgentClientTypes.PatternObjectFilter]? - public enum DataSourceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case s3 + public init( + filters: [BedrockAgentClientTypes.PatternObjectFilter]? = nil + ) + { + self.filters = filters + } + } + +} + +extension BedrockAgentClientTypes.PatternObjectFilterConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PatternObjectFilterConfiguration(filters: \"CONTENT_REDACTED\")"} +} + +extension BedrockAgentClientTypes { + + public enum CrawlFilterConfigurationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case pattern case sdkUnknown(Swift.String) - public static var allCases: [DataSourceType] { + public static var allCases: [CrawlFilterConfigurationType] { return [ - .s3 + .pattern ] } @@ -2241,7 +2358,7 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .s3: return "S3" + case .pattern: return "PATTERN" case let .sdkUnknown(s): return s } } @@ -2249,20 +2366,20 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains details about how a data source is stored. - public struct DataSourceConfiguration { - /// Contains details about the configuration of the S3 object containing the data source. - public var s3Configuration: BedrockAgentClientTypes.S3DataSourceConfiguration? - /// The type of storage for the data source. + /// The configuration of filtering the data source content. For example, configuring regular expression patterns to include or exclude certain content. + public struct CrawlFilterConfiguration { + /// The configuration of filtering certain objects or content types of the data source. + public var patternObjectFilter: BedrockAgentClientTypes.PatternObjectFilterConfiguration? + /// The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content. /// This member is required. - public var type: BedrockAgentClientTypes.DataSourceType? + public var type: BedrockAgentClientTypes.CrawlFilterConfigurationType? public init( - s3Configuration: BedrockAgentClientTypes.S3DataSourceConfiguration? = nil, - type: BedrockAgentClientTypes.DataSourceType? = nil + patternObjectFilter: BedrockAgentClientTypes.PatternObjectFilterConfiguration? = nil, + type: BedrockAgentClientTypes.CrawlFilterConfigurationType? = nil ) { - self.s3Configuration = s3Configuration + self.patternObjectFilter = patternObjectFilter self.type = type } } @@ -2270,16 +2387,16 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains the configuration for server-side encryption. - public struct ServerSideEncryptionConfiguration { - /// The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource. - public var kmsKeyArn: Swift.String? + /// The configuration of the Confluence content. For example, configuring specific types of Confluence content. + public struct ConfluenceCrawlerConfiguration { + /// The configuration of filtering the Confluence content. For example, configuring regular expression patterns to include or exclude certain content. + public var filterConfiguration: BedrockAgentClientTypes.CrawlFilterConfiguration? public init( - kmsKeyArn: Swift.String? = nil + filterConfiguration: BedrockAgentClientTypes.CrawlFilterConfiguration? = nil ) { - self.kmsKeyArn = kmsKeyArn + self.filterConfiguration = filterConfiguration } } @@ -2287,15 +2404,15 @@ extension BedrockAgentClientTypes { extension BedrockAgentClientTypes { - public enum ChunkingStrategy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case fixedSize - case `none` + public enum ConfluenceAuthType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case basic + case oauth2ClientCredentials case sdkUnknown(Swift.String) - public static var allCases: [ChunkingStrategy] { + public static var allCases: [ConfluenceAuthType] { return [ - .fixedSize, - .none + .basic, + .oauth2ClientCredentials ] } @@ -2306,8 +2423,8 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .fixedSize: return "FIXED_SIZE" - case .none: return "NONE" + case .basic: return "BASIC" + case .oauth2ClientCredentials: return "OAUTH2_CLIENT_CREDENTIALS" case let .sdkUnknown(s): return s } } @@ -2315,124 +2432,139 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field. - public struct FixedSizeChunkingConfiguration { - /// The maximum number of tokens to include in a chunk. + + public enum ConfluenceHostType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case saas + case sdkUnknown(Swift.String) + + public static var allCases: [ConfluenceHostType] { + return [ + .saas + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .saas: return "SAAS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// The endpoint information to connect to your Confluence data source. + public struct ConfluenceSourceConfiguration { + /// The supported authentication type to authenticate and connect to your Confluence instance. /// This member is required. - public var maxTokens: Swift.Int? - /// The percentage of overlap between adjacent chunks of a data source. + public var authType: BedrockAgentClientTypes.ConfluenceAuthType? + /// The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [Confluence connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/confluence-data-source-connector.html#configuration-confluence-connector). /// This member is required. - public var overlapPercentage: Swift.Int? + public var credentialsSecretArn: Swift.String? + /// The supported host type, whether online/cloud or server/on-premises. + /// This member is required. + public var hostType: BedrockAgentClientTypes.ConfluenceHostType? + /// The Confluence host URL or instance URL. + /// This member is required. + public var hostUrl: Swift.String? public init( - maxTokens: Swift.Int? = nil, - overlapPercentage: Swift.Int? = nil + authType: BedrockAgentClientTypes.ConfluenceAuthType? = nil, + credentialsSecretArn: Swift.String? = nil, + hostType: BedrockAgentClientTypes.ConfluenceHostType? = nil, + hostUrl: Swift.String? = nil ) { - self.maxTokens = maxTokens - self.overlapPercentage = overlapPercentage + self.authType = authType + self.credentialsSecretArn = credentialsSecretArn + self.hostType = hostType + self.hostUrl = hostUrl } } } extension BedrockAgentClientTypes { - /// Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. - public struct ChunkingConfiguration { - /// Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. - /// - /// * FIXED_SIZE – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration. - /// - /// * NONE – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files. + /// The configuration information to connect to Confluence as your data source. + public struct ConfluenceDataSourceConfiguration { + /// The configuration of the Confluence content. For example, configuring specific types of Confluence content. + public var crawlerConfiguration: BedrockAgentClientTypes.ConfluenceCrawlerConfiguration? + /// The endpoint information to connect to your Confluence data source. /// This member is required. - public var chunkingStrategy: BedrockAgentClientTypes.ChunkingStrategy? - /// Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field. - public var fixedSizeChunkingConfiguration: BedrockAgentClientTypes.FixedSizeChunkingConfiguration? + public var sourceConfiguration: BedrockAgentClientTypes.ConfluenceSourceConfiguration? public init( - chunkingStrategy: BedrockAgentClientTypes.ChunkingStrategy? = nil, - fixedSizeChunkingConfiguration: BedrockAgentClientTypes.FixedSizeChunkingConfiguration? = nil + crawlerConfiguration: BedrockAgentClientTypes.ConfluenceCrawlerConfiguration? = nil, + sourceConfiguration: BedrockAgentClientTypes.ConfluenceSourceConfiguration? = nil ) { - self.chunkingStrategy = chunkingStrategy - self.fixedSizeChunkingConfiguration = fixedSizeChunkingConfiguration + self.crawlerConfiguration = crawlerConfiguration + self.sourceConfiguration = sourceConfiguration } } } extension BedrockAgentClientTypes { - /// Contains details about how to ingest the documents in a data source. - public struct VectorIngestionConfiguration { - /// Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. - public var chunkingConfiguration: BedrockAgentClientTypes.ChunkingConfiguration? + /// The configuration information to connect to Amazon S3 as your data source. + public struct S3DataSourceConfiguration { + /// The Amazon Resource Name (ARN) of the S3 bucket that contains your data. + /// This member is required. + public var bucketArn: Swift.String? + /// The account ID for the owner of the S3 bucket. + public var bucketOwnerAccountId: Swift.String? + /// A list of S3 prefixes to include certain files or content. For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html). + public var inclusionPrefixes: [Swift.String]? public init( - chunkingConfiguration: BedrockAgentClientTypes.ChunkingConfiguration? = nil + bucketArn: Swift.String? = nil, + bucketOwnerAccountId: Swift.String? = nil, + inclusionPrefixes: [Swift.String]? = nil ) { - self.chunkingConfiguration = chunkingConfiguration + self.bucketArn = bucketArn + self.bucketOwnerAccountId = bucketOwnerAccountId + self.inclusionPrefixes = inclusionPrefixes } } } -public struct CreateDataSourceInput { - /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - public var clientToken: Swift.String? - /// The data deletion policy assigned to the data source. - public var dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? - /// Contains metadata about where the data source is stored. - /// This member is required. - public var dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? - /// A description of the data source. - public var description: Swift.String? - /// The unique identifier of the knowledge base to which to add the data source. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The name of the data source. - /// This member is required. - public var name: Swift.String? - /// Contains details about the server-side encryption for the data source. - public var serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? - /// Contains details about how to ingest the documents in the data source. - public var vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? +extension BedrockAgentClientTypes.S3DataSourceConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "S3DataSourceConfiguration(bucketArn: \(Swift.String(describing: bucketArn)), bucketOwnerAccountId: \(Swift.String(describing: bucketOwnerAccountId)), inclusionPrefixes: \"CONTENT_REDACTED\")"} +} - public init( - clientToken: Swift.String? = nil, - dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? = nil, - dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? = nil, - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - name: Swift.String? = nil, - serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? = nil, - vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? = nil - ) - { - self.clientToken = clientToken - self.dataDeletionPolicy = dataDeletionPolicy - self.dataSourceConfiguration = dataSourceConfiguration - self.description = description - self.knowledgeBaseId = knowledgeBaseId - self.name = name - self.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration - self.vectorIngestionConfiguration = vectorIngestionConfiguration +extension BedrockAgentClientTypes { + /// The configuration of the Salesforce content. For example, configuring specific types of Salesforce content. + public struct SalesforceCrawlerConfiguration { + /// The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content. + public var filterConfiguration: BedrockAgentClientTypes.CrawlFilterConfiguration? + + public init( + filterConfiguration: BedrockAgentClientTypes.CrawlFilterConfiguration? = nil + ) + { + self.filterConfiguration = filterConfiguration + } } + } extension BedrockAgentClientTypes { - public enum DataSourceStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case available - case deleteUnsuccessful - case deleting + public enum SalesforceAuthType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case oauth2ClientCredentials case sdkUnknown(Swift.String) - public static var allCases: [DataSourceStatus] { + public static var allCases: [SalesforceAuthType] { return [ - .available, - .deleteUnsuccessful, - .deleting + .oauth2ClientCredentials ] } @@ -2443,9 +2575,7 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .available: return "AVAILABLE" - case .deleteUnsuccessful: return "DELETE_UNSUCCESSFUL" - case .deleting: return "DELETING" + case .oauth2ClientCredentials: return "OAUTH2_CLIENT_CREDENTIALS" case let .sdkUnknown(s): return s } } @@ -2453,355 +2583,232 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains details about a data source. - public struct DataSource { - /// The time at which the data source was created. - /// This member is required. - public var createdAt: Foundation.Date? - /// The data deletion policy for a data source. - public var dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? - /// Contains details about how the data source is stored. - /// This member is required. - public var dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? - /// The unique identifier of the data source. - /// This member is required. - public var dataSourceId: Swift.String? - /// The description of the data source. - public var description: Swift.String? - /// The detailed reasons on the failure to delete a data source. - public var failureReasons: [Swift.String]? - /// The unique identifier of the knowledge base to which the data source belongs. + /// The endpoint information to connect to your Salesforce data source. + public struct SalesforceSourceConfiguration { + /// The supported authentication type to authenticate and connect to your Salesforce instance. /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The name of the data source. - /// This member is required. - public var name: Swift.String? - /// Contains details about the configuration of the server-side encryption. - public var serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? - /// The status of the data source. The following statuses are possible: - /// - /// * Available – The data source has been created and is ready for ingestion into the knowledge base. - /// - /// * Deleting – The data source is being deleted. + public var authType: BedrockAgentClientTypes.SalesforceAuthType? + /// The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [Salesforce connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/salesforce-data-source-connector.html#configuration-salesforce-connector). /// This member is required. - public var status: BedrockAgentClientTypes.DataSourceStatus? - /// The time at which the data source was last updated. + public var credentialsSecretArn: Swift.String? + /// The Salesforce host URL or instance URL. /// This member is required. - public var updatedAt: Foundation.Date? - /// Contains details about how to ingest the documents in the data source. - public var vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? + public var hostUrl: Swift.String? public init( - createdAt: Foundation.Date? = nil, - dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? = nil, - dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? = nil, - dataSourceId: Swift.String? = nil, - description: Swift.String? = nil, - failureReasons: [Swift.String]? = nil, - knowledgeBaseId: Swift.String? = nil, - name: Swift.String? = nil, - serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? = nil, - status: BedrockAgentClientTypes.DataSourceStatus? = nil, - updatedAt: Foundation.Date? = nil, - vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? = nil + authType: BedrockAgentClientTypes.SalesforceAuthType? = nil, + credentialsSecretArn: Swift.String? = nil, + hostUrl: Swift.String? = nil ) { - self.createdAt = createdAt - self.dataDeletionPolicy = dataDeletionPolicy - self.dataSourceConfiguration = dataSourceConfiguration - self.dataSourceId = dataSourceId - self.description = description - self.failureReasons = failureReasons - self.knowledgeBaseId = knowledgeBaseId - self.name = name - self.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration - self.status = status - self.updatedAt = updatedAt - self.vectorIngestionConfiguration = vectorIngestionConfiguration + self.authType = authType + self.credentialsSecretArn = credentialsSecretArn + self.hostUrl = hostUrl } } } -public struct CreateDataSourceOutput { - /// Contains details about the data source. - /// This member is required. - public var dataSource: BedrockAgentClientTypes.DataSource? +extension BedrockAgentClientTypes { + /// The configuration information to connect to Salesforce as your data source. + public struct SalesforceDataSourceConfiguration { + /// The configuration of the Salesforce content. For example, configuring specific types of Salesforce content. + public var crawlerConfiguration: BedrockAgentClientTypes.SalesforceCrawlerConfiguration? + /// The endpoint information to connect to your Salesforce data source. + /// This member is required. + public var sourceConfiguration: BedrockAgentClientTypes.SalesforceSourceConfiguration? - public init( - dataSource: BedrockAgentClientTypes.DataSource? = nil - ) - { - self.dataSource = dataSource + public init( + crawlerConfiguration: BedrockAgentClientTypes.SalesforceCrawlerConfiguration? = nil, + sourceConfiguration: BedrockAgentClientTypes.SalesforceSourceConfiguration? = nil + ) + { + self.crawlerConfiguration = crawlerConfiguration + self.sourceConfiguration = sourceConfiguration + } } + } -public struct DeleteDataSourceInput { - /// The unique identifier of the data source to delete. - /// This member is required. - public var dataSourceId: Swift.String? - /// The unique identifier of the knowledge base from which to delete the data source. - /// This member is required. - public var knowledgeBaseId: Swift.String? +extension BedrockAgentClientTypes { + /// The configuration of the SharePoint content. For example, configuring specific types of SharePoint content. + public struct SharePointCrawlerConfiguration { + /// The configuration of filtering the SharePoint content. For example, configuring regular expression patterns to include or exclude certain content. + public var filterConfiguration: BedrockAgentClientTypes.CrawlFilterConfiguration? - public init( - dataSourceId: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil - ) - { - self.dataSourceId = dataSourceId - self.knowledgeBaseId = knowledgeBaseId + public init( + filterConfiguration: BedrockAgentClientTypes.CrawlFilterConfiguration? = nil + ) + { + self.filterConfiguration = filterConfiguration + } } + } -public struct DeleteDataSourceOutput { - /// The unique identifier of the data source that was deleted. - /// This member is required. - public var dataSourceId: Swift.String? - /// The unique identifier of the knowledge base to which the data source that was deleted belonged. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The status of the data source. - /// This member is required. - public var status: BedrockAgentClientTypes.DataSourceStatus? +extension BedrockAgentClientTypes { - public init( - dataSourceId: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - status: BedrockAgentClientTypes.DataSourceStatus? = nil - ) - { - self.dataSourceId = dataSourceId - self.knowledgeBaseId = knowledgeBaseId - self.status = status - } -} + public enum SharePointAuthType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case oauth2ClientCredentials + case sdkUnknown(Swift.String) -public struct GetDataSourceInput { - /// The unique identifier of the data source. - /// This member is required. - public var dataSourceId: Swift.String? - /// The unique identifier of the knowledge base that the data source was added to. - /// This member is required. - public var knowledgeBaseId: Swift.String? + public static var allCases: [SharePointAuthType] { + return [ + .oauth2ClientCredentials + ] + } - public init( - dataSourceId: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil - ) - { - self.dataSourceId = dataSourceId - self.knowledgeBaseId = knowledgeBaseId + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .oauth2ClientCredentials: return "OAUTH2_CLIENT_CREDENTIALS" + case let .sdkUnknown(s): return s + } + } } } -public struct GetDataSourceOutput { - /// Contains details about the data source. - /// This member is required. - public var dataSource: BedrockAgentClientTypes.DataSource? +extension BedrockAgentClientTypes { - public init( - dataSource: BedrockAgentClientTypes.DataSource? = nil - ) - { - self.dataSource = dataSource - } -} + public enum SharePointHostType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case online + case sdkUnknown(Swift.String) -public struct ListDataSourcesInput { - /// The unique identifier of the knowledge base for which to return a list of information. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. - public var maxResults: Swift.Int? - /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. - public var nextToken: Swift.String? + public static var allCases: [SharePointHostType] { + return [ + .online + ] + } - public init( - knowledgeBaseId: Swift.String? = nil, - maxResults: Swift.Int? = nil, - nextToken: Swift.String? = nil - ) - { - self.knowledgeBaseId = knowledgeBaseId - self.maxResults = maxResults - self.nextToken = nextToken + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .online: return "ONLINE" + case let .sdkUnknown(s): return s + } + } } } extension BedrockAgentClientTypes { - /// Contains details about a data source. - public struct DataSourceSummary { - /// The unique identifier of the data source. + /// The endpoint information to connect to your SharePoint data source. + public struct SharePointSourceConfiguration { + /// The supported authentication type to authenticate and connect to your SharePoint site/sites. /// This member is required. - public var dataSourceId: Swift.String? - /// The description of the data source. - public var description: Swift.String? - /// The unique identifier of the knowledge base to which the data source belongs. + public var authType: BedrockAgentClientTypes.SharePointAuthType? + /// The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [SharePoint connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/sharepoint-data-source-connector.html#configuration-sharepoint-connector). /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The name of the data source. + public var credentialsSecretArn: Swift.String? + /// The domain of your SharePoint instance or site URL/URLs. /// This member is required. - public var name: Swift.String? - /// The status of the data source. + public var domain: Swift.String? + /// The supported host type, whether online/cloud or server/on-premises. /// This member is required. - public var status: BedrockAgentClientTypes.DataSourceStatus? - /// The time at which the data source was last updated. + public var hostType: BedrockAgentClientTypes.SharePointHostType? + /// A list of one or more SharePoint site URLs. /// This member is required. - public var updatedAt: Foundation.Date? + public var siteUrls: [Swift.String]? + /// The identifier of your Microsoft 365 tenant. + public var tenantId: Swift.String? public init( - dataSourceId: Swift.String? = nil, - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - name: Swift.String? = nil, - status: BedrockAgentClientTypes.DataSourceStatus? = nil, - updatedAt: Foundation.Date? = nil + authType: BedrockAgentClientTypes.SharePointAuthType? = nil, + credentialsSecretArn: Swift.String? = nil, + domain: Swift.String? = nil, + hostType: BedrockAgentClientTypes.SharePointHostType? = nil, + siteUrls: [Swift.String]? = nil, + tenantId: Swift.String? = nil ) { - self.dataSourceId = dataSourceId - self.description = description - self.knowledgeBaseId = knowledgeBaseId - self.name = name - self.status = status - self.updatedAt = updatedAt + self.authType = authType + self.credentialsSecretArn = credentialsSecretArn + self.domain = domain + self.hostType = hostType + self.siteUrls = siteUrls + self.tenantId = tenantId } } } -public struct ListDataSourcesOutput { - /// A list of objects, each of which contains information about a data source. - /// This member is required. - public var dataSourceSummaries: [BedrockAgentClientTypes.DataSourceSummary]? - /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. - public var nextToken: Swift.String? +extension BedrockAgentClientTypes { + /// The configuration information to connect to SharePoint as your data source. + public struct SharePointDataSourceConfiguration { + /// The configuration of the SharePoint content. For example, configuring specific types of SharePoint content. + public var crawlerConfiguration: BedrockAgentClientTypes.SharePointCrawlerConfiguration? + /// The endpoint information to connect to your SharePoint data source. + /// This member is required. + public var sourceConfiguration: BedrockAgentClientTypes.SharePointSourceConfiguration? - public init( - dataSourceSummaries: [BedrockAgentClientTypes.DataSourceSummary]? = nil, - nextToken: Swift.String? = nil - ) - { - self.dataSourceSummaries = dataSourceSummaries - self.nextToken = nextToken + public init( + crawlerConfiguration: BedrockAgentClientTypes.SharePointCrawlerConfiguration? = nil, + sourceConfiguration: BedrockAgentClientTypes.SharePointSourceConfiguration? = nil + ) + { + self.crawlerConfiguration = crawlerConfiguration + self.sourceConfiguration = sourceConfiguration + } } -} - -public struct UpdateDataSourceInput { - /// The data deletion policy of the updated data source. - public var dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? - /// Contains details about the storage configuration of the data source. - /// This member is required. - public var dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? - /// The unique identifier of the data source. - /// This member is required. - public var dataSourceId: Swift.String? - /// Specifies a new description for the data source. - public var description: Swift.String? - /// The unique identifier of the knowledge base to which the data source belongs. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// Specifies a new name for the data source. - /// This member is required. - public var name: Swift.String? - /// Contains details about server-side encryption of the data source. - public var serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? - /// Contains details about how to ingest the documents in the data source. - public var vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? - public init( - dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? = nil, - dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? = nil, - dataSourceId: Swift.String? = nil, - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - name: Swift.String? = nil, - serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? = nil, - vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? = nil - ) - { - self.dataDeletionPolicy = dataDeletionPolicy - self.dataSourceConfiguration = dataSourceConfiguration - self.dataSourceId = dataSourceId - self.description = description - self.knowledgeBaseId = knowledgeBaseId - self.name = name - self.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration - self.vectorIngestionConfiguration = vectorIngestionConfiguration - } } -public struct UpdateDataSourceOutput { - /// Contains details about the data source. - /// This member is required. - public var dataSource: BedrockAgentClientTypes.DataSource? +extension BedrockAgentClientTypes { - public init( - dataSource: BedrockAgentClientTypes.DataSource? = nil - ) - { - self.dataSource = dataSource - } -} + public enum DataSourceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case confluence + case s3 + case salesforce + case sharepoint + case web + case sdkUnknown(Swift.String) -public struct GetIngestionJobInput { - /// The unique identifier of the data source in the ingestion job. - /// This member is required. - public var dataSourceId: Swift.String? - /// The unique identifier of the ingestion job. - /// This member is required. - public var ingestionJobId: Swift.String? - /// The unique identifier of the knowledge base for which the ingestion job applies. - /// This member is required. - public var knowledgeBaseId: Swift.String? + public static var allCases: [DataSourceType] { + return [ + .confluence, + .s3, + .salesforce, + .sharepoint, + .web + ] + } - public init( - dataSourceId: Swift.String? = nil, - ingestionJobId: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil - ) - { - self.dataSourceId = dataSourceId - self.ingestionJobId = ingestionJobId - self.knowledgeBaseId = knowledgeBaseId + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .confluence: return "CONFLUENCE" + case .s3: return "S3" + case .salesforce: return "SALESFORCE" + case .sharepoint: return "SHAREPOINT" + case .web: return "WEB" + case let .sdkUnknown(s): return s + } + } } } extension BedrockAgentClientTypes { - /// Contains the statistics for the ingestion job. - public struct IngestionJobStatistics { - /// The number of source documents that was deleted. - public var numberOfDocumentsDeleted: Swift.Int - /// The number of source documents that failed to be ingested. - public var numberOfDocumentsFailed: Swift.Int - /// The total number of source documents that were scanned. Includes new, updated, and unchanged documents. - public var numberOfDocumentsScanned: Swift.Int - /// The number of metadata files that were updated or deleted. - public var numberOfMetadataDocumentsModified: Swift.Int - /// The total number of metadata files that were scanned. Includes new, updated, and unchanged files. - public var numberOfMetadataDocumentsScanned: Swift.Int - /// The number of modified source documents in the data source that were successfully indexed. - public var numberOfModifiedDocumentsIndexed: Swift.Int - /// The number of new source documents in the data source that were successfully indexed. - public var numberOfNewDocumentsIndexed: Swift.Int + /// The rate limits for the URLs that you want to crawl. You should be authorized to crawl the URLs. + public struct WebCrawlerLimits { + /// The max rate at which pages are crawled, up to 300 per minute per host. + public var rateLimit: Swift.Int? public init( - numberOfDocumentsDeleted: Swift.Int = 0, - numberOfDocumentsFailed: Swift.Int = 0, - numberOfDocumentsScanned: Swift.Int = 0, - numberOfMetadataDocumentsModified: Swift.Int = 0, - numberOfMetadataDocumentsScanned: Swift.Int = 0, - numberOfModifiedDocumentsIndexed: Swift.Int = 0, - numberOfNewDocumentsIndexed: Swift.Int = 0 + rateLimit: Swift.Int? = nil ) { - self.numberOfDocumentsDeleted = numberOfDocumentsDeleted - self.numberOfDocumentsFailed = numberOfDocumentsFailed - self.numberOfDocumentsScanned = numberOfDocumentsScanned - self.numberOfMetadataDocumentsModified = numberOfMetadataDocumentsModified - self.numberOfMetadataDocumentsScanned = numberOfMetadataDocumentsScanned - self.numberOfModifiedDocumentsIndexed = numberOfModifiedDocumentsIndexed - self.numberOfNewDocumentsIndexed = numberOfNewDocumentsIndexed + self.rateLimit = rateLimit } } @@ -2809,19 +2816,15 @@ extension BedrockAgentClientTypes { extension BedrockAgentClientTypes { - public enum IngestionJobStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case complete - case failed - case inProgress - case starting + public enum WebScopeType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case hostOnly + case subdomains case sdkUnknown(Swift.String) - public static var allCases: [IngestionJobStatus] { + public static var allCases: [WebScopeType] { return [ - .complete, - .failed, - .inProgress, - .starting + .hostOnly, + .subdomains ] } @@ -2832,10 +2835,8 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .complete: return "COMPLETE" - case .failed: return "FAILED" - case .inProgress: return "IN_PROGRESS" - case .starting: return "STARTING" + case .hostOnly: return "HOST_ONLY" + case .subdomains: return "SUBDOMAINS" case let .sdkUnknown(s): return s } } @@ -2843,152 +2844,156 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains details about an ingestion job, which converts a data source to embeddings for a vector store in knowledge base. This data type is used in the following API operations: - /// - /// * [StartIngestionJob response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_StartIngestionJob.html#API_agent_StartIngestionJob_ResponseSyntax) - /// - /// * [GetIngestionJob response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html#API_agent_GetIngestionJob_ResponseSyntax) - /// - /// * [ListIngestionJob response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax) - public struct IngestionJob { - /// The unique identifier of the ingested data source. - /// This member is required. - public var dataSourceId: Swift.String? - /// The description of the ingestion job. - public var description: Swift.String? - /// A list of reasons that the ingestion job failed. - public var failureReasons: [Swift.String]? - /// The unique identifier of the ingestion job. - /// This member is required. - public var ingestionJobId: Swift.String? - /// The unique identifier of the knowledge base to which the data source is being added. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The time at which the ingestion job started. - /// This member is required. - public var startedAt: Foundation.Date? - /// Contains statistics about the ingestion job. - public var statistics: BedrockAgentClientTypes.IngestionJobStatistics? - /// The status of the ingestion job. - /// This member is required. - public var status: BedrockAgentClientTypes.IngestionJobStatus? - /// The time at which the ingestion job was last updated. - /// This member is required. - public var updatedAt: Foundation.Date? + /// The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs. + public struct WebCrawlerConfiguration { + /// The configuration of crawl limits for the web URLs. + public var crawlerLimits: BedrockAgentClientTypes.WebCrawlerLimits? + /// A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled. + public var exclusionFilters: [Swift.String]? + /// A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled. + public var inclusionFilters: [Swift.String]? + /// The scope of what is crawled for your URLs. You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL "https://docs.aws.amazon.com/bedrock/latest/userguide/" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain "aws.amazon.com" can also include sub domain "docs.aws.amazon.com". + public var scope: BedrockAgentClientTypes.WebScopeType? public init( - dataSourceId: Swift.String? = nil, - description: Swift.String? = nil, - failureReasons: [Swift.String]? = nil, - ingestionJobId: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - startedAt: Foundation.Date? = nil, - statistics: BedrockAgentClientTypes.IngestionJobStatistics? = nil, - status: BedrockAgentClientTypes.IngestionJobStatus? = nil, - updatedAt: Foundation.Date? = nil + crawlerLimits: BedrockAgentClientTypes.WebCrawlerLimits? = nil, + exclusionFilters: [Swift.String]? = nil, + inclusionFilters: [Swift.String]? = nil, + scope: BedrockAgentClientTypes.WebScopeType? = nil ) { - self.dataSourceId = dataSourceId - self.description = description - self.failureReasons = failureReasons - self.ingestionJobId = ingestionJobId - self.knowledgeBaseId = knowledgeBaseId - self.startedAt = startedAt - self.statistics = statistics - self.status = status - self.updatedAt = updatedAt + self.crawlerLimits = crawlerLimits + self.exclusionFilters = exclusionFilters + self.inclusionFilters = inclusionFilters + self.scope = scope } } } -public struct GetIngestionJobOutput { - /// Contains details about the ingestion job. - /// This member is required. - public var ingestionJob: BedrockAgentClientTypes.IngestionJob? +extension BedrockAgentClientTypes.WebCrawlerConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "WebCrawlerConfiguration(crawlerLimits: \(Swift.String(describing: crawlerLimits)), scope: \(Swift.String(describing: scope)), exclusionFilters: \"CONTENT_REDACTED\", inclusionFilters: \"CONTENT_REDACTED\")"} +} - public init( - ingestionJob: BedrockAgentClientTypes.IngestionJob? = nil - ) - { - self.ingestionJob = ingestionJob +extension BedrockAgentClientTypes { + /// The seed or starting point URL. You should be authorized to crawl the URL. + public struct SeedUrl { + /// A seed or starting point URL. + public var url: Swift.String? + + public init( + url: Swift.String? = nil + ) + { + self.url = url + } } + } extension BedrockAgentClientTypes { + /// The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs. + public struct UrlConfiguration { + /// One or more seed or starting point URLs. + public var seedUrls: [BedrockAgentClientTypes.SeedUrl]? - public enum IngestionJobFilterAttribute: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case status - case sdkUnknown(Swift.String) - - public static var allCases: [IngestionJobFilterAttribute] { - return [ - .status - ] + public init( + seedUrls: [BedrockAgentClientTypes.SeedUrl]? = nil + ) + { + self.seedUrls = seedUrls } + } - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } +} - public var rawValue: Swift.String { - switch self { - case .status: return "STATUS" - case let .sdkUnknown(s): return s - } +extension BedrockAgentClientTypes { + /// The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs. + public struct WebSourceConfiguration { + /// The configuration of the URL/URLs. + /// This member is required. + public var urlConfiguration: BedrockAgentClientTypes.UrlConfiguration? + + public init( + urlConfiguration: BedrockAgentClientTypes.UrlConfiguration? = nil + ) + { + self.urlConfiguration = urlConfiguration } } + } extension BedrockAgentClientTypes { + /// The configuration details for the web data source. + public struct WebDataSourceConfiguration { + /// The Web Crawler configuration details for the web data source. + public var crawlerConfiguration: BedrockAgentClientTypes.WebCrawlerConfiguration? + /// The source configuration details for the web data source. + /// This member is required. + public var sourceConfiguration: BedrockAgentClientTypes.WebSourceConfiguration? - public enum IngestionJobFilterOperator: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case eq - case sdkUnknown(Swift.String) - - public static var allCases: [IngestionJobFilterOperator] { - return [ - .eq - ] + public init( + crawlerConfiguration: BedrockAgentClientTypes.WebCrawlerConfiguration? = nil, + sourceConfiguration: BedrockAgentClientTypes.WebSourceConfiguration? = nil + ) + { + self.crawlerConfiguration = crawlerConfiguration + self.sourceConfiguration = sourceConfiguration } + } - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } +} - public var rawValue: Swift.String { - switch self { - case .eq: return "EQ" - case let .sdkUnknown(s): return s - } +extension BedrockAgentClientTypes { + /// The connection configuration for the data source. + public struct DataSourceConfiguration { + /// The configuration information to connect to Confluence as your data source. Confluence data source connector is in preview release and is subject to change. + public var confluenceConfiguration: BedrockAgentClientTypes.ConfluenceDataSourceConfiguration? + /// The configuration information to connect to Amazon S3 as your data source. + public var s3Configuration: BedrockAgentClientTypes.S3DataSourceConfiguration? + /// The configuration information to connect to Salesforce as your data source. Salesforce data source connector is in preview release and is subject to change. + public var salesforceConfiguration: BedrockAgentClientTypes.SalesforceDataSourceConfiguration? + /// The configuration information to connect to SharePoint as your data source. SharePoint data source connector is in preview release and is subject to change. + public var sharePointConfiguration: BedrockAgentClientTypes.SharePointDataSourceConfiguration? + /// The type of data source. + /// This member is required. + public var type: BedrockAgentClientTypes.DataSourceType? + /// The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs. Crawling web URLs as your data source is in preview release and is subject to change. + public var webConfiguration: BedrockAgentClientTypes.WebDataSourceConfiguration? + + public init( + confluenceConfiguration: BedrockAgentClientTypes.ConfluenceDataSourceConfiguration? = nil, + s3Configuration: BedrockAgentClientTypes.S3DataSourceConfiguration? = nil, + salesforceConfiguration: BedrockAgentClientTypes.SalesforceDataSourceConfiguration? = nil, + sharePointConfiguration: BedrockAgentClientTypes.SharePointDataSourceConfiguration? = nil, + type: BedrockAgentClientTypes.DataSourceType? = nil, + webConfiguration: BedrockAgentClientTypes.WebDataSourceConfiguration? = nil + ) + { + self.confluenceConfiguration = confluenceConfiguration + self.s3Configuration = s3Configuration + self.salesforceConfiguration = salesforceConfiguration + self.sharePointConfiguration = sharePointConfiguration + self.type = type + self.webConfiguration = webConfiguration } } + } extension BedrockAgentClientTypes { - /// Defines a filter by which to filter the results. - public struct IngestionJobFilter { - /// The attribute by which to filter the results. - /// This member is required. - public var attribute: BedrockAgentClientTypes.IngestionJobFilterAttribute? - /// The operation to carry out between the attribute and the values. - /// This member is required. - public var `operator`: BedrockAgentClientTypes.IngestionJobFilterOperator? - /// A list of values for the attribute. - /// This member is required. - public var values: [Swift.String]? + /// Contains the configuration for server-side encryption. + public struct ServerSideEncryptionConfiguration { + /// The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource. + public var kmsKeyArn: Swift.String? public init( - attribute: BedrockAgentClientTypes.IngestionJobFilterAttribute? = nil, - `operator`: BedrockAgentClientTypes.IngestionJobFilterOperator? = nil, - values: [Swift.String]? = nil + kmsKeyArn: Swift.String? = nil ) { - self.attribute = attribute - self.`operator` = `operator` - self.values = values + self.kmsKeyArn = kmsKeyArn } } @@ -2996,15 +3001,19 @@ extension BedrockAgentClientTypes { extension BedrockAgentClientTypes { - public enum IngestionJobSortByAttribute: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case startedAt - case status + public enum ChunkingStrategy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case fixedSize + case hierarchical + case `none` + case semantic case sdkUnknown(Swift.String) - public static var allCases: [IngestionJobSortByAttribute] { + public static var allCases: [ChunkingStrategy] { return [ - .startedAt, - .status + .fixedSize, + .hierarchical, + .none, + .semantic ] } @@ -3015,8 +3024,10 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .startedAt: return "STARTED_AT" - case .status: return "STATUS" + case .fixedSize: return "FIXED_SIZE" + case .hierarchical: return "HIERARCHICAL" + case .none: return "NONE" + case .semantic: return "SEMANTIC" case let .sdkUnknown(s): return s } } @@ -3024,250 +3035,173 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { + /// Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field. + public struct FixedSizeChunkingConfiguration { + /// The maximum number of tokens to include in a chunk. + /// This member is required. + public var maxTokens: Swift.Int? + /// The percentage of overlap between adjacent chunks of a data source. + /// This member is required. + public var overlapPercentage: Swift.Int? - public enum SortOrder: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case ascending - case descending - case sdkUnknown(Swift.String) - - public static var allCases: [SortOrder] { - return [ - .ascending, - .descending - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .ascending: return "ASCENDING" - case .descending: return "DESCENDING" - case let .sdkUnknown(s): return s - } + public init( + maxTokens: Swift.Int? = nil, + overlapPercentage: Swift.Int? = nil + ) + { + self.maxTokens = maxTokens + self.overlapPercentage = overlapPercentage } } + } extension BedrockAgentClientTypes { - /// Parameters by which to sort the results. - public struct IngestionJobSortBy { - /// The attribute by which to sort the results. - /// This member is required. - public var attribute: BedrockAgentClientTypes.IngestionJobSortByAttribute? - /// The order by which to sort the results. + /// Token settings for a layer in a hierarchical chunking configuration. + public struct HierarchicalChunkingLevelConfiguration { + /// The maximum number of tokens that a chunk can contain in this layer. /// This member is required. - public var order: BedrockAgentClientTypes.SortOrder? + public var maxTokens: Swift.Int? public init( - attribute: BedrockAgentClientTypes.IngestionJobSortByAttribute? = nil, - order: BedrockAgentClientTypes.SortOrder? = nil + maxTokens: Swift.Int? = nil ) { - self.attribute = attribute - self.order = order + self.maxTokens = maxTokens } } } -public struct ListIngestionJobsInput { - /// The unique identifier of the data source for which to return ingestion jobs. - /// This member is required. - public var dataSourceId: Swift.String? - /// Contains a definition of a filter for which to filter the results. - public var filters: [BedrockAgentClientTypes.IngestionJobFilter]? - /// The unique identifier of the knowledge base for which to return ingestion jobs. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. - public var maxResults: Swift.Int? - /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. - public var nextToken: Swift.String? - /// Contains details about how to sort the results. - public var sortBy: BedrockAgentClientTypes.IngestionJobSortBy? +extension BedrockAgentClientTypes { + /// Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer. You configure the number of tokens to overlap, or repeat across adjacent chunks. For example, if you set overlap tokens to 60, the last 60 tokens in the first chunk are also included at the beginning of the second chunk. For each layer, you must also configure the maximum number of tokens in a chunk. + public struct HierarchicalChunkingConfiguration { + /// Token settings for each layer. + /// This member is required. + public var levelConfigurations: [BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration]? + /// The number of tokens to repeat across chunks in the same layer. + /// This member is required. + public var overlapTokens: Swift.Int? - public init( - dataSourceId: Swift.String? = nil, - filters: [BedrockAgentClientTypes.IngestionJobFilter]? = nil, - knowledgeBaseId: Swift.String? = nil, - maxResults: Swift.Int? = nil, - nextToken: Swift.String? = nil, - sortBy: BedrockAgentClientTypes.IngestionJobSortBy? = nil - ) - { - self.dataSourceId = dataSourceId - self.filters = filters - self.knowledgeBaseId = knowledgeBaseId - self.maxResults = maxResults - self.nextToken = nextToken - self.sortBy = sortBy + public init( + levelConfigurations: [BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration]? = nil, + overlapTokens: Swift.Int? = nil + ) + { + self.levelConfigurations = levelConfigurations + self.overlapTokens = overlapTokens + } } + } extension BedrockAgentClientTypes { - /// Contains details about an ingestion job. - public struct IngestionJobSummary { - /// The unique identifier of the data source in the ingestion job. - /// This member is required. - public var dataSourceId: Swift.String? - /// The description of the ingestion job. - public var description: Swift.String? - /// The unique identifier of the ingestion job. - /// This member is required. - public var ingestionJobId: Swift.String? - /// The unique identifier of the knowledge base to which the data source is added. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The time at which the ingestion job was started. + /// Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing. With semantic chunking, each sentence is compared to the next to determine how similar they are. You specify a threshold in the form of a percentile, where adjacent sentences that are less similar than that percentage of sentence pairs are divided into separate chunks. For example, if you set the threshold to 90, then the 10 percent of sentence pairs that are least similar are split. So if you have 101 sentences, 100 sentence pairs are compared, and the 10 with the least similarity are split, creating 11 chunks. These chunks are further split if they exceed the max token size. You must also specify a buffer size, which determines whether sentences are compared in isolation, or within a moving context window that includes the previous and following sentence. For example, if you set the buffer size to 1, the embedding for sentence 10 is derived from sentences 9, 10, and 11 combined. + public struct SemanticChunkingConfiguration { + /// The dissimilarity threshold for splitting chunks. /// This member is required. - public var startedAt: Foundation.Date? - /// Contains statistics for the ingestion job. - public var statistics: BedrockAgentClientTypes.IngestionJobStatistics? - /// The status of the ingestion job. + public var breakpointPercentileThreshold: Swift.Int? + /// The buffer size. /// This member is required. - public var status: BedrockAgentClientTypes.IngestionJobStatus? - /// The time at which the ingestion job was last updated. + public var bufferSize: Swift.Int? + /// The maximum number of tokens that a chunk can contain. /// This member is required. - public var updatedAt: Foundation.Date? + public var maxTokens: Swift.Int? public init( - dataSourceId: Swift.String? = nil, - description: Swift.String? = nil, - ingestionJobId: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - startedAt: Foundation.Date? = nil, - statistics: BedrockAgentClientTypes.IngestionJobStatistics? = nil, - status: BedrockAgentClientTypes.IngestionJobStatus? = nil, - updatedAt: Foundation.Date? = nil + breakpointPercentileThreshold: Swift.Int? = nil, + bufferSize: Swift.Int? = nil, + maxTokens: Swift.Int? = nil ) { - self.dataSourceId = dataSourceId - self.description = description - self.ingestionJobId = ingestionJobId - self.knowledgeBaseId = knowledgeBaseId - self.startedAt = startedAt - self.statistics = statistics - self.status = status - self.updatedAt = updatedAt + self.breakpointPercentileThreshold = breakpointPercentileThreshold + self.bufferSize = bufferSize + self.maxTokens = maxTokens } } } -public struct ListIngestionJobsOutput { - /// A list of objects, each of which contains information about an ingestion job. - /// This member is required. - public var ingestionJobSummaries: [BedrockAgentClientTypes.IngestionJobSummary]? - /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. - public var nextToken: Swift.String? +extension BedrockAgentClientTypes { + /// Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. + public struct ChunkingConfiguration { + /// Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. + /// + /// * FIXED_SIZE – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration. + /// + /// * HIERARCHICAL – Split documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer. + /// + /// * SEMANTIC – Split documents into chunks based on groups of similar content derived with natural language processing. + /// + /// * NONE – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files. + /// This member is required. + public var chunkingStrategy: BedrockAgentClientTypes.ChunkingStrategy? + /// Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field. + public var fixedSizeChunkingConfiguration: BedrockAgentClientTypes.FixedSizeChunkingConfiguration? + /// Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer. + public var hierarchicalChunkingConfiguration: BedrockAgentClientTypes.HierarchicalChunkingConfiguration? + /// Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing. + public var semanticChunkingConfiguration: BedrockAgentClientTypes.SemanticChunkingConfiguration? - public init( - ingestionJobSummaries: [BedrockAgentClientTypes.IngestionJobSummary]? = nil, - nextToken: Swift.String? = nil - ) - { - self.ingestionJobSummaries = ingestionJobSummaries - self.nextToken = nextToken + public init( + chunkingStrategy: BedrockAgentClientTypes.ChunkingStrategy? = nil, + fixedSizeChunkingConfiguration: BedrockAgentClientTypes.FixedSizeChunkingConfiguration? = nil, + hierarchicalChunkingConfiguration: BedrockAgentClientTypes.HierarchicalChunkingConfiguration? = nil, + semanticChunkingConfiguration: BedrockAgentClientTypes.SemanticChunkingConfiguration? = nil + ) + { + self.chunkingStrategy = chunkingStrategy + self.fixedSizeChunkingConfiguration = fixedSizeChunkingConfiguration + self.hierarchicalChunkingConfiguration = hierarchicalChunkingConfiguration + self.semanticChunkingConfiguration = semanticChunkingConfiguration + } } -} - -public struct StartIngestionJobInput { - /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - public var clientToken: Swift.String? - /// The unique identifier of the data source to ingest. - /// This member is required. - public var dataSourceId: Swift.String? - /// A description of the ingestion job. - public var description: Swift.String? - /// The unique identifier of the knowledge base to which to add the data source. - /// This member is required. - public var knowledgeBaseId: Swift.String? - public init( - clientToken: Swift.String? = nil, - dataSourceId: Swift.String? = nil, - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil - ) - { - self.clientToken = clientToken - self.dataSourceId = dataSourceId - self.description = description - self.knowledgeBaseId = knowledgeBaseId - } } -public struct StartIngestionJobOutput { - /// An object containing information about the ingestion job. - /// This member is required. - public var ingestionJob: BedrockAgentClientTypes.IngestionJob? +extension BedrockAgentClientTypes { + /// An Amazon S3 location. + public struct S3Location { + /// The location's URI. For example, s3://my-bucket/chunk-processor/. + /// This member is required. + public var uri: Swift.String? - public init( - ingestionJob: BedrockAgentClientTypes.IngestionJob? = nil - ) - { - self.ingestionJob = ingestionJob + public init( + uri: Swift.String? = nil + ) + { + self.uri = uri + } } -} - -public struct AssociateAgentKnowledgeBaseInput { - /// The unique identifier of the agent with which you want to associate the knowledge base. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent with which you want to associate the knowledge base. - /// This member is required. - public var agentVersion: Swift.String? - /// A description of what the agent should use the knowledge base for. - /// This member is required. - public var description: Swift.String? - /// The unique identifier of the knowledge base to associate with the agent. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// Specifies whether to use the knowledge base or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. - public var knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil, - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion - self.description = description - self.knowledgeBaseId = knowledgeBaseId - self.knowledgeBaseState = knowledgeBaseState - } } -public struct AssociateAgentKnowledgeBaseOutput { - /// Contains details about the knowledge base that has been associated with the agent. - /// This member is required. - public var agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? +extension BedrockAgentClientTypes { + /// A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline. + public struct IntermediateStorage { + /// An S3 bucket path. + /// This member is required. + public var s3Location: BedrockAgentClientTypes.S3Location? - public init( - agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? = nil - ) - { - self.agentKnowledgeBase = agentKnowledgeBase + public init( + s3Location: BedrockAgentClientTypes.S3Location? = nil + ) + { + self.s3Location = s3Location + } } + } extension BedrockAgentClientTypes { - public enum KnowledgeBaseType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case vector + public enum StepType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case postChunking case sdkUnknown(Swift.String) - public static var allCases: [KnowledgeBaseType] { + public static var allCases: [StepType] { return [ - .vector + .postChunking ] } @@ -3278,7 +3212,7 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .vector: return "VECTOR" + case .postChunking: return "POST_CHUNKING" case let .sdkUnknown(s): return s } } @@ -3286,521 +3220,632 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// The vector configuration details for the Bedrock embeddings model. - public struct BedrockEmbeddingModelConfiguration { - /// The dimensions details for the vector configuration used on the Bedrock embeddings model. - public var dimensions: Swift.Int? + /// A Lambda function that processes documents. + public struct TransformationLambdaConfiguration { + /// The function's ARN identifier. + /// This member is required. + public var lambdaArn: Swift.String? public init( - dimensions: Swift.Int? = nil + lambdaArn: Swift.String? = nil ) { - self.dimensions = dimensions + self.lambdaArn = lambdaArn } } } extension BedrockAgentClientTypes { - /// The configuration details for the embeddings model. - public struct EmbeddingModelConfiguration { - /// The vector configuration details on the Bedrock embeddings model. - public var bedrockEmbeddingModelConfiguration: BedrockAgentClientTypes.BedrockEmbeddingModelConfiguration? + /// A Lambda function that processes documents. + public struct TransformationFunction { + /// The Lambda function. + /// This member is required. + public var transformationLambdaConfiguration: BedrockAgentClientTypes.TransformationLambdaConfiguration? public init( - bedrockEmbeddingModelConfiguration: BedrockAgentClientTypes.BedrockEmbeddingModelConfiguration? = nil + transformationLambdaConfiguration: BedrockAgentClientTypes.TransformationLambdaConfiguration? = nil ) { - self.bedrockEmbeddingModelConfiguration = bedrockEmbeddingModelConfiguration + self.transformationLambdaConfiguration = transformationLambdaConfiguration } } } extension BedrockAgentClientTypes { - /// Contains details about the model used to create vector embeddings for the knowledge base. - public struct VectorKnowledgeBaseConfiguration { - /// The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base. + /// A custom processing step for documents moving through a data source ingestion pipeline. To process documents after they have been converted into chunks, set the step to apply to POST_CHUNKING. + public struct Transformation { + /// When the service applies the transformation. /// This member is required. - public var embeddingModelArn: Swift.String? - /// The embeddings model configuration details for the vector model used in Knowledge Base. - public var embeddingModelConfiguration: BedrockAgentClientTypes.EmbeddingModelConfiguration? + public var stepToApply: BedrockAgentClientTypes.StepType? + /// A Lambda function that processes documents. + /// This member is required. + public var transformationFunction: BedrockAgentClientTypes.TransformationFunction? public init( - embeddingModelArn: Swift.String? = nil, - embeddingModelConfiguration: BedrockAgentClientTypes.EmbeddingModelConfiguration? = nil + stepToApply: BedrockAgentClientTypes.StepType? = nil, + transformationFunction: BedrockAgentClientTypes.TransformationFunction? = nil ) { - self.embeddingModelArn = embeddingModelArn - self.embeddingModelConfiguration = embeddingModelConfiguration + self.stepToApply = stepToApply + self.transformationFunction = transformationFunction } } } extension BedrockAgentClientTypes { - /// Contains details about the embeddings configuration of the knowledge base. - public struct KnowledgeBaseConfiguration { - /// The type of data that the data source is converted into for the knowledge base. + /// Settings for customizing steps in the data source content ingestion pipeline. You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them. To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk. + public struct CustomTransformationConfiguration { + /// An S3 bucket path for input and output objects. /// This member is required. - public var type: BedrockAgentClientTypes.KnowledgeBaseType? - /// Contains details about the embeddings model that'sused to convert the data source. - public var vectorKnowledgeBaseConfiguration: BedrockAgentClientTypes.VectorKnowledgeBaseConfiguration? + public var intermediateStorage: BedrockAgentClientTypes.IntermediateStorage? + /// A Lambda function that processes documents. + /// This member is required. + public var transformations: [BedrockAgentClientTypes.Transformation]? public init( - type: BedrockAgentClientTypes.KnowledgeBaseType? = nil, - vectorKnowledgeBaseConfiguration: BedrockAgentClientTypes.VectorKnowledgeBaseConfiguration? = nil + intermediateStorage: BedrockAgentClientTypes.IntermediateStorage? = nil, + transformations: [BedrockAgentClientTypes.Transformation]? = nil ) { - self.type = type - self.vectorKnowledgeBaseConfiguration = vectorKnowledgeBaseConfiguration + self.intermediateStorage = intermediateStorage + self.transformations = transformations } } } extension BedrockAgentClientTypes { - /// Contains the names of the fields to which to map information about the vector store. - public struct MongoDbAtlasFieldMapping { - /// The name of the field in which Amazon Bedrock stores metadata about the vector store. - /// This member is required. - public var metadataField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. - /// This member is required. - public var textField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + /// Instructions for interpreting the contents of a document. + public struct ParsingPrompt { + /// Instructions for interpreting the contents of a document. /// This member is required. - public var vectorField: Swift.String? + public var parsingPromptText: Swift.String? public init( - metadataField: Swift.String? = nil, - textField: Swift.String? = nil, - vectorField: Swift.String? = nil + parsingPromptText: Swift.String? = nil ) { - self.metadataField = metadataField - self.textField = textField - self.vectorField = vectorField + self.parsingPromptText = parsingPromptText } } } extension BedrockAgentClientTypes { - /// Contains details about the storage configuration of the knowledge base in MongoDB Atlas. - public struct MongoDbAtlasConfiguration { - /// The collection name of the knowledge base in MongoDB Atlas. - /// This member is required. - public var collectionName: Swift.String? - /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster. - /// This member is required. - public var credentialsSecretArn: Swift.String? - /// The database name in your MongoDB Atlas cluster for your knowledge base. - /// This member is required. - public var databaseName: Swift.String? - /// The endpoint URL of your MongoDB Atlas cluster for your knowledge base. - /// This member is required. - public var endpoint: Swift.String? - /// The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster. - public var endpointServiceName: Swift.String? - /// Contains the names of the fields to which to map information about the vector store. + /// Settings for a foundation model used to parse documents for a data source. + public struct BedrockFoundationModelConfiguration { + /// The model's ARN. /// This member is required. - public var fieldMapping: BedrockAgentClientTypes.MongoDbAtlasFieldMapping? - /// The name of the MongoDB Atlas vector search index. - /// This member is required. - public var vectorIndexName: Swift.String? + public var modelArn: Swift.String? + /// Instructions for interpreting the contents of a document. + public var parsingPrompt: BedrockAgentClientTypes.ParsingPrompt? public init( - collectionName: Swift.String? = nil, - credentialsSecretArn: Swift.String? = nil, - databaseName: Swift.String? = nil, - endpoint: Swift.String? = nil, - endpointServiceName: Swift.String? = nil, - fieldMapping: BedrockAgentClientTypes.MongoDbAtlasFieldMapping? = nil, - vectorIndexName: Swift.String? = nil + modelArn: Swift.String? = nil, + parsingPrompt: BedrockAgentClientTypes.ParsingPrompt? = nil ) { - self.collectionName = collectionName - self.credentialsSecretArn = credentialsSecretArn - self.databaseName = databaseName - self.endpoint = endpoint - self.endpointServiceName = endpointServiceName - self.fieldMapping = fieldMapping - self.vectorIndexName = vectorIndexName + self.modelArn = modelArn + self.parsingPrompt = parsingPrompt } } } extension BedrockAgentClientTypes { - /// Contains the names of the fields to which to map information about the vector store. - public struct OpenSearchServerlessFieldMapping { - /// The name of the field in which Amazon Bedrock stores metadata about the vector store. - /// This member is required. - public var metadataField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. - /// This member is required. - public var textField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. - /// This member is required. - public var vectorField: Swift.String? - public init( - metadataField: Swift.String? = nil, - textField: Swift.String? = nil, - vectorField: Swift.String? = nil - ) - { - self.metadataField = metadataField - self.textField = textField - self.vectorField = vectorField + public enum ParsingStrategy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case bedrockFoundationModel + case sdkUnknown(Swift.String) + + public static var allCases: [ParsingStrategy] { + return [ + .bedrockFoundationModel + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) } - } + public var rawValue: Swift.String { + switch self { + case .bedrockFoundationModel: return "BEDROCK_FOUNDATION_MODEL" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockAgentClientTypes { - /// Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service. For more information, see [Create a vector index in Amazon OpenSearch Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). - public struct OpenSearchServerlessConfiguration { - /// The Amazon Resource Name (ARN) of the OpenSearch Service vector store. - /// This member is required. - public var collectionArn: Swift.String? - /// Contains the names of the fields to which to map information about the vector store. - /// This member is required. - public var fieldMapping: BedrockAgentClientTypes.OpenSearchServerlessFieldMapping? - /// The name of the vector store. + /// Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page. To use a model to parse PDF documents, set the parsing strategy to BEDROCK_FOUNDATION_MODEL and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported. + /// + /// * Anthropic Claude 3 Sonnet - anthropic.claude-3-sonnet-20240229-v1:0 + /// + /// * Anthropic Claude 3 Haiku - anthropic.claude-3-haiku-20240307-v1:0 + /// + /// + /// You can get the ARN of a model with the action. Standard model usage charges apply for the foundation model parsing strategy. + public struct ParsingConfiguration { + /// Settings for a foundation model used to parse documents for a data source. + public var bedrockFoundationModelConfiguration: BedrockAgentClientTypes.BedrockFoundationModelConfiguration? + /// The parsing strategy for the data source. /// This member is required. - public var vectorIndexName: Swift.String? + public var parsingStrategy: BedrockAgentClientTypes.ParsingStrategy? public init( - collectionArn: Swift.String? = nil, - fieldMapping: BedrockAgentClientTypes.OpenSearchServerlessFieldMapping? = nil, - vectorIndexName: Swift.String? = nil + bedrockFoundationModelConfiguration: BedrockAgentClientTypes.BedrockFoundationModelConfiguration? = nil, + parsingStrategy: BedrockAgentClientTypes.ParsingStrategy? = nil ) { - self.collectionArn = collectionArn - self.fieldMapping = fieldMapping - self.vectorIndexName = vectorIndexName + self.bedrockFoundationModelConfiguration = bedrockFoundationModelConfiguration + self.parsingStrategy = parsingStrategy } } } extension BedrockAgentClientTypes { - /// Contains the names of the fields to which to map information about the vector store. - public struct PineconeFieldMapping { - /// The name of the field in which Amazon Bedrock stores metadata about the vector store. - /// This member is required. - public var metadataField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. - /// This member is required. - public var textField: Swift.String? + /// Contains details about how to ingest the documents in a data source. + public struct VectorIngestionConfiguration { + /// Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. + public var chunkingConfiguration: BedrockAgentClientTypes.ChunkingConfiguration? + /// A custom document transformer for parsed data source documents. + public var customTransformationConfiguration: BedrockAgentClientTypes.CustomTransformationConfiguration? + /// A custom parser for data source documents. + public var parsingConfiguration: BedrockAgentClientTypes.ParsingConfiguration? public init( - metadataField: Swift.String? = nil, - textField: Swift.String? = nil + chunkingConfiguration: BedrockAgentClientTypes.ChunkingConfiguration? = nil, + customTransformationConfiguration: BedrockAgentClientTypes.CustomTransformationConfiguration? = nil, + parsingConfiguration: BedrockAgentClientTypes.ParsingConfiguration? = nil ) { - self.metadataField = metadataField - self.textField = textField + self.chunkingConfiguration = chunkingConfiguration + self.customTransformationConfiguration = customTransformationConfiguration + self.parsingConfiguration = parsingConfiguration } } } +public struct CreateDataSourceInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// The data deletion policy for the data source. You can set the data deletion policy to: + /// + /// * DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted. + /// + /// * RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource. + public var dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? + /// The connection configuration for the data source. + /// This member is required. + public var dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? + /// A description of the data source. + public var description: Swift.String? + /// The unique identifier of the knowledge base to which to add the data source. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The name of the data source. + /// This member is required. + public var name: Swift.String? + /// Contains details about the server-side encryption for the data source. + public var serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? + /// Contains details about how to ingest the documents in the data source. + public var vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? + + public init( + clientToken: Swift.String? = nil, + dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? = nil, + dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? = nil, + description: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + name: Swift.String? = nil, + serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? = nil, + vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? = nil + ) + { + self.clientToken = clientToken + self.dataDeletionPolicy = dataDeletionPolicy + self.dataSourceConfiguration = dataSourceConfiguration + self.description = description + self.knowledgeBaseId = knowledgeBaseId + self.name = name + self.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration + self.vectorIngestionConfiguration = vectorIngestionConfiguration + } +} + extension BedrockAgentClientTypes { - /// Contains details about the storage configuration of the knowledge base in Pinecone. For more information, see [Create a vector index in Pinecone](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html). - public struct PineconeConfiguration { - /// The endpoint URL for your index management page. - /// This member is required. - public var connectionString: Swift.String? - /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key. - /// This member is required. - public var credentialsSecretArn: Swift.String? - /// Contains the names of the fields to which to map information about the vector store. - /// This member is required. - public var fieldMapping: BedrockAgentClientTypes.PineconeFieldMapping? - /// The namespace to be used to write new data to your database. - public var namespace: Swift.String? - public init( - connectionString: Swift.String? = nil, - credentialsSecretArn: Swift.String? = nil, - fieldMapping: BedrockAgentClientTypes.PineconeFieldMapping? = nil, - namespace: Swift.String? = nil - ) - { - self.connectionString = connectionString - self.credentialsSecretArn = credentialsSecretArn - self.fieldMapping = fieldMapping - self.namespace = namespace + public enum DataSourceStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case available + case deleteUnsuccessful + case deleting + case sdkUnknown(Swift.String) + + public static var allCases: [DataSourceStatus] { + return [ + .available, + .deleteUnsuccessful, + .deleting + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) } - } + public var rawValue: Swift.String { + switch self { + case .available: return "AVAILABLE" + case .deleteUnsuccessful: return "DELETE_UNSUCCESSFUL" + case .deleting: return "DELETING" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockAgentClientTypes { - /// Contains the names of the fields to which to map information about the vector store. - public struct RdsFieldMapping { - /// The name of the field in which Amazon Bedrock stores metadata about the vector store. + /// Contains details about a data source. + public struct DataSource { + /// The time at which the data source was created. /// This member is required. - public var metadataField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the ID for each entry. + public var createdAt: Foundation.Date? + /// The data deletion policy for the data source. + public var dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? + /// The connection configuration for the data source. /// This member is required. - public var primaryKeyField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + public var dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? + /// The unique identifier of the data source. /// This member is required. - public var textField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + public var dataSourceId: Swift.String? + /// The description of the data source. + public var description: Swift.String? + /// The detailed reasons on the failure to delete a data source. + public var failureReasons: [Swift.String]? + /// The unique identifier of the knowledge base to which the data source belongs. /// This member is required. - public var vectorField: Swift.String? + public var knowledgeBaseId: Swift.String? + /// The name of the data source. + /// This member is required. + public var name: Swift.String? + /// Contains details about the configuration of the server-side encryption. + public var serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? + /// The status of the data source. The following statuses are possible: + /// + /// * Available – The data source has been created and is ready for ingestion into the knowledge base. + /// + /// * Deleting – The data source is being deleted. + /// This member is required. + public var status: BedrockAgentClientTypes.DataSourceStatus? + /// The time at which the data source was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// Contains details about how to ingest the documents in the data source. + public var vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? public init( - metadataField: Swift.String? = nil, - primaryKeyField: Swift.String? = nil, - textField: Swift.String? = nil, - vectorField: Swift.String? = nil + createdAt: Foundation.Date? = nil, + dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? = nil, + dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? = nil, + dataSourceId: Swift.String? = nil, + description: Swift.String? = nil, + failureReasons: [Swift.String]? = nil, + knowledgeBaseId: Swift.String? = nil, + name: Swift.String? = nil, + serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? = nil, + status: BedrockAgentClientTypes.DataSourceStatus? = nil, + updatedAt: Foundation.Date? = nil, + vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? = nil ) { - self.metadataField = metadataField - self.primaryKeyField = primaryKeyField - self.textField = textField - self.vectorField = vectorField + self.createdAt = createdAt + self.dataDeletionPolicy = dataDeletionPolicy + self.dataSourceConfiguration = dataSourceConfiguration + self.dataSourceId = dataSourceId + self.description = description + self.failureReasons = failureReasons + self.knowledgeBaseId = knowledgeBaseId + self.name = name + self.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration + self.status = status + self.updatedAt = updatedAt + self.vectorIngestionConfiguration = vectorIngestionConfiguration } } } -extension BedrockAgentClientTypes { - /// Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see [Create a vector index in Amazon RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). - public struct RdsConfiguration { - /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database. - /// This member is required. - public var credentialsSecretArn: Swift.String? - /// The name of your Amazon RDS database. - /// This member is required. - public var databaseName: Swift.String? - /// Contains the names of the fields to which to map information about the vector store. - /// This member is required. - public var fieldMapping: BedrockAgentClientTypes.RdsFieldMapping? - /// The Amazon Resource Name (ARN) of the vector store. - /// This member is required. - public var resourceArn: Swift.String? - /// The name of the table in the database. - /// This member is required. - public var tableName: Swift.String? +public struct CreateDataSourceOutput { + /// Contains details about the data source. + /// This member is required. + public var dataSource: BedrockAgentClientTypes.DataSource? - public init( - credentialsSecretArn: Swift.String? = nil, - databaseName: Swift.String? = nil, - fieldMapping: BedrockAgentClientTypes.RdsFieldMapping? = nil, - resourceArn: Swift.String? = nil, - tableName: Swift.String? = nil - ) - { - self.credentialsSecretArn = credentialsSecretArn - self.databaseName = databaseName - self.fieldMapping = fieldMapping - self.resourceArn = resourceArn - self.tableName = tableName - } + public init( + dataSource: BedrockAgentClientTypes.DataSource? = nil + ) + { + self.dataSource = dataSource } +} + +public struct DeleteDataSourceInput { + /// The unique identifier of the data source to delete. + /// This member is required. + public var dataSourceId: Swift.String? + /// The unique identifier of the knowledge base from which to delete the data source. + /// This member is required. + public var knowledgeBaseId: Swift.String? + public init( + dataSourceId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.dataSourceId = dataSourceId + self.knowledgeBaseId = knowledgeBaseId + } } -extension BedrockAgentClientTypes { - /// Contains the names of the fields to which to map information about the vector store. - public struct RedisEnterpriseCloudFieldMapping { - /// The name of the field in which Amazon Bedrock stores metadata about the vector store. - /// This member is required. - public var metadataField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. - /// This member is required. - public var textField: Swift.String? - /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. - /// This member is required. - public var vectorField: Swift.String? +public struct DeleteDataSourceOutput { + /// The unique identifier of the data source that was deleted. + /// This member is required. + public var dataSourceId: Swift.String? + /// The unique identifier of the knowledge base to which the data source that was deleted belonged. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The status of the data source. + /// This member is required. + public var status: BedrockAgentClientTypes.DataSourceStatus? - public init( - metadataField: Swift.String? = nil, - textField: Swift.String? = nil, - vectorField: Swift.String? = nil - ) - { - self.metadataField = metadataField - self.textField = textField - self.vectorField = vectorField - } + public init( + dataSourceId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + status: BedrockAgentClientTypes.DataSourceStatus? = nil + ) + { + self.dataSourceId = dataSourceId + self.knowledgeBaseId = knowledgeBaseId + self.status = status + } +} + +public struct GetDataSourceInput { + /// The unique identifier of the data source. + /// This member is required. + public var dataSourceId: Swift.String? + /// The unique identifier of the knowledge base that the data source was added to. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + dataSourceId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.dataSourceId = dataSourceId + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct GetDataSourceOutput { + /// Contains details about the data source. + /// This member is required. + public var dataSource: BedrockAgentClientTypes.DataSource? + + public init( + dataSource: BedrockAgentClientTypes.DataSource? = nil + ) + { + self.dataSource = dataSource } +} + +public struct ListDataSourcesInput { + /// The unique identifier of the knowledge base for which to return a list of information. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + public init( + knowledgeBaseId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.knowledgeBaseId = knowledgeBaseId + self.maxResults = maxResults + self.nextToken = nextToken + } } extension BedrockAgentClientTypes { - /// Contains details about the storage configuration of the knowledge base in Redis Enterprise Cloud. For more information, see [Create a vector index in Redis Enterprise Cloud](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). - public struct RedisEnterpriseCloudConfiguration { - /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database. + /// Contains details about a data source. + public struct DataSourceSummary { + /// The unique identifier of the data source. /// This member is required. - public var credentialsSecretArn: Swift.String? - /// The endpoint URL of the Redis Enterprise Cloud database. + public var dataSourceId: Swift.String? + /// The description of the data source. + public var description: Swift.String? + /// The unique identifier of the knowledge base to which the data source belongs. /// This member is required. - public var endpoint: Swift.String? - /// Contains the names of the fields to which to map information about the vector store. + public var knowledgeBaseId: Swift.String? + /// The name of the data source. /// This member is required. - public var fieldMapping: BedrockAgentClientTypes.RedisEnterpriseCloudFieldMapping? - /// The name of the vector index. + public var name: Swift.String? + /// The status of the data source. /// This member is required. - public var vectorIndexName: Swift.String? + public var status: BedrockAgentClientTypes.DataSourceStatus? + /// The time at which the data source was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? public init( - credentialsSecretArn: Swift.String? = nil, - endpoint: Swift.String? = nil, - fieldMapping: BedrockAgentClientTypes.RedisEnterpriseCloudFieldMapping? = nil, - vectorIndexName: Swift.String? = nil + dataSourceId: Swift.String? = nil, + description: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.DataSourceStatus? = nil, + updatedAt: Foundation.Date? = nil ) { - self.credentialsSecretArn = credentialsSecretArn - self.endpoint = endpoint - self.fieldMapping = fieldMapping - self.vectorIndexName = vectorIndexName - } - } - -} - -extension BedrockAgentClientTypes { - - public enum KnowledgeBaseStorageType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case mongoDbAtlas - case opensearchServerless - case pinecone - case rds - case redisEnterpriseCloud - case sdkUnknown(Swift.String) - - public static var allCases: [KnowledgeBaseStorageType] { - return [ - .mongoDbAtlas, - .opensearchServerless, - .pinecone, - .rds, - .redisEnterpriseCloud - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .mongoDbAtlas: return "MONGO_DB_ATLAS" - case .opensearchServerless: return "OPENSEARCH_SERVERLESS" - case .pinecone: return "PINECONE" - case .rds: return "RDS" - case .redisEnterpriseCloud: return "REDIS_ENTERPRISE_CLOUD" - case let .sdkUnknown(s): return s - } + self.dataSourceId = dataSourceId + self.description = description + self.knowledgeBaseId = knowledgeBaseId + self.name = name + self.status = status + self.updatedAt = updatedAt } } + } -extension BedrockAgentClientTypes { - /// Contains the storage configuration of the knowledge base. - public struct StorageConfiguration { - /// Contains the storage configuration of the knowledge base in MongoDB Atlas. - public var mongoDbAtlasConfiguration: BedrockAgentClientTypes.MongoDbAtlasConfiguration? - /// Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. - public var opensearchServerlessConfiguration: BedrockAgentClientTypes.OpenSearchServerlessConfiguration? - /// Contains the storage configuration of the knowledge base in Pinecone. - public var pineconeConfiguration: BedrockAgentClientTypes.PineconeConfiguration? - /// Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see [Create a vector index in Amazon RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). - public var rdsConfiguration: BedrockAgentClientTypes.RdsConfiguration? - /// Contains the storage configuration of the knowledge base in Redis Enterprise Cloud. - public var redisEnterpriseCloudConfiguration: BedrockAgentClientTypes.RedisEnterpriseCloudConfiguration? - /// The vector store service in which the knowledge base is stored. - /// This member is required. - public var type: BedrockAgentClientTypes.KnowledgeBaseStorageType? +public struct ListDataSourcesOutput { + /// A list of objects, each of which contains information about a data source. + /// This member is required. + public var dataSourceSummaries: [BedrockAgentClientTypes.DataSourceSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? - public init( - mongoDbAtlasConfiguration: BedrockAgentClientTypes.MongoDbAtlasConfiguration? = nil, - opensearchServerlessConfiguration: BedrockAgentClientTypes.OpenSearchServerlessConfiguration? = nil, - pineconeConfiguration: BedrockAgentClientTypes.PineconeConfiguration? = nil, - rdsConfiguration: BedrockAgentClientTypes.RdsConfiguration? = nil, - redisEnterpriseCloudConfiguration: BedrockAgentClientTypes.RedisEnterpriseCloudConfiguration? = nil, - type: BedrockAgentClientTypes.KnowledgeBaseStorageType? = nil - ) - { - self.mongoDbAtlasConfiguration = mongoDbAtlasConfiguration - self.opensearchServerlessConfiguration = opensearchServerlessConfiguration - self.pineconeConfiguration = pineconeConfiguration - self.rdsConfiguration = rdsConfiguration - self.redisEnterpriseCloudConfiguration = redisEnterpriseCloudConfiguration - self.type = type - } + public init( + dataSourceSummaries: [BedrockAgentClientTypes.DataSourceSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.dataSourceSummaries = dataSourceSummaries + self.nextToken = nextToken } - } -public struct CreateKnowledgeBaseInput { - /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - public var clientToken: Swift.String? - /// A description of the knowledge base. - public var description: Swift.String? - /// Contains details about the embeddings model used for the knowledge base. +public struct UpdateDataSourceInput { + /// The data deletion policy for the data source that you want to update. + public var dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? + /// The connection configuration for the data source that you want to update. /// This member is required. - public var knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? - /// A name for the knowledge base. + public var dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? + /// The unique identifier of the data source. /// This member is required. - public var name: Swift.String? - /// The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. + public var dataSourceId: Swift.String? + /// Specifies a new description for the data source. + public var description: Swift.String? + /// The unique identifier of the knowledge base for the data source. /// This member is required. - public var roleArn: Swift.String? - /// Contains details about the configuration of the vector database used for the knowledge base. + public var knowledgeBaseId: Swift.String? + /// Specifies a new name for the data source. /// This member is required. - public var storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? - /// Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object. - public var tags: [Swift.String: Swift.String]? + public var name: Swift.String? + /// Contains details about server-side encryption of the data source. + public var serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? + /// Contains details about how to ingest the documents in the data source. + public var vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? public init( - clientToken: Swift.String? = nil, + dataDeletionPolicy: BedrockAgentClientTypes.DataDeletionPolicy? = nil, + dataSourceConfiguration: BedrockAgentClientTypes.DataSourceConfiguration? = nil, + dataSourceId: Swift.String? = nil, description: Swift.String? = nil, - knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? = nil, + knowledgeBaseId: Swift.String? = nil, name: Swift.String? = nil, - roleArn: Swift.String? = nil, - storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? = nil, - tags: [Swift.String: Swift.String]? = nil + serverSideEncryptionConfiguration: BedrockAgentClientTypes.ServerSideEncryptionConfiguration? = nil, + vectorIngestionConfiguration: BedrockAgentClientTypes.VectorIngestionConfiguration? = nil ) { - self.clientToken = clientToken + self.dataDeletionPolicy = dataDeletionPolicy + self.dataSourceConfiguration = dataSourceConfiguration + self.dataSourceId = dataSourceId self.description = description - self.knowledgeBaseConfiguration = knowledgeBaseConfiguration + self.knowledgeBaseId = knowledgeBaseId self.name = name - self.roleArn = roleArn - self.storageConfiguration = storageConfiguration - self.tags = tags + self.serverSideEncryptionConfiguration = serverSideEncryptionConfiguration + self.vectorIngestionConfiguration = vectorIngestionConfiguration + } +} + +public struct UpdateDataSourceOutput { + /// Contains details about the data source. + /// This member is required. + public var dataSource: BedrockAgentClientTypes.DataSource? + + public init( + dataSource: BedrockAgentClientTypes.DataSource? = nil + ) + { + self.dataSource = dataSource } } extension BedrockAgentClientTypes { + /// The configuration of a connection between a condition node and another node. + public struct FlowConditionalConnectionConfiguration { + /// The condition that triggers this connection. For more information about how to write conditions, see the Condition node type in the [Node types](https://docs.aws.amazon.com/bedrock/latest/userguide/node-types.html) topic in the Amazon Bedrock User Guide. + /// This member is required. + public var condition: Swift.String? - public enum KnowledgeBaseStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case active - case creating - case deleteUnsuccessful - case deleting - case failed - case updating + public init( + condition: Swift.String? = nil + ) + { + self.condition = condition + } + } + +} + +extension BedrockAgentClientTypes { + /// The configuration of a connection originating from a node that isn't a Condition node. + public struct FlowDataConnectionConfiguration { + /// The name of the output in the source node that the connection begins from. + /// This member is required. + public var sourceOutput: Swift.String? + /// The name of the input in the target node that the connection ends at. + /// This member is required. + public var targetInput: Swift.String? + + public init( + sourceOutput: Swift.String? = nil, + targetInput: Swift.String? = nil + ) + { + self.sourceOutput = sourceOutput + self.targetInput = targetInput + } + } + +} + +extension BedrockAgentClientTypes { + /// The configuration of the connection. + public enum FlowConnectionConfiguration { + /// The configuration of a connection originating from a node that isn't a Condition node. + case data(BedrockAgentClientTypes.FlowDataConnectionConfiguration) + /// The configuration of a connection originating from a Condition node. + case conditional(BedrockAgentClientTypes.FlowConditionalConnectionConfiguration) case sdkUnknown(Swift.String) + } - public static var allCases: [KnowledgeBaseStatus] { +} + +extension BedrockAgentClientTypes { + + public enum FlowConnectionType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case conditional + case data + case sdkUnknown(Swift.String) + + public static var allCases: [FlowConnectionType] { return [ - .active, - .creating, - .deleteUnsuccessful, - .deleting, - .failed, - .updating + .conditional, + .data ] } @@ -3811,12 +3856,8 @@ extension BedrockAgentClientTypes { public var rawValue: Swift.String { switch self { - case .active: return "ACTIVE" - case .creating: return "CREATING" - case .deleteUnsuccessful: return "DELETE_UNSUCCESSFUL" - case .deleting: return "DELETING" - case .failed: return "FAILED" - case .updating: return "UPDATING" + case .conditional: return "Conditional" + case .data: return "Data" case let .sdkUnknown(s): return s } } @@ -3824,3146 +3865,9013 @@ extension BedrockAgentClientTypes { } extension BedrockAgentClientTypes { - /// Contains information about a knowledge base. - public struct KnowledgeBase { - /// The time at which the knowledge base was created. - /// This member is required. - public var createdAt: Foundation.Date? - /// The description of the knowledge base. - public var description: Swift.String? - /// A list of reasons that the API operation on the knowledge base failed. - public var failureReasons: [Swift.String]? - /// The Amazon Resource Name (ARN) of the knowledge base. - /// This member is required. - public var knowledgeBaseArn: Swift.String? - /// Contains details about the embeddings configuration of the knowledge base. - /// This member is required. - public var knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? - /// The unique identifier of the knowledge base. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The name of the knowledge base. + /// Contains information about a connection between two nodes in the flow. + public struct FlowConnection { + /// The configuration of the connection. + public var configuration: BedrockAgentClientTypes.FlowConnectionConfiguration? + /// A name for the connection that you can reference. /// This member is required. public var name: Swift.String? - /// The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. - /// This member is required. - public var roleArn: Swift.String? - /// The status of the knowledge base. The following statuses are possible: - /// - /// * CREATING – The knowledge base is being created. - /// - /// * ACTIVE – The knowledge base is ready to be queried. - /// - /// * DELETING – The knowledge base is being deleted. - /// - /// * UPDATING – The knowledge base is being updated. - /// - /// * FAILED – The knowledge base API operation failed. + /// The node that the connection starts at. /// This member is required. - public var status: BedrockAgentClientTypes.KnowledgeBaseStatus? - /// Contains details about the storage configuration of the knowledge base. + public var source: Swift.String? + /// The node that the connection ends at. /// This member is required. - public var storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? - /// The time at which the knowledge base was last updated. + public var target: Swift.String? + /// Whether the source node that the connection begins from is a condition node (Conditional) or not (Data). /// This member is required. - public var updatedAt: Foundation.Date? + public var type: BedrockAgentClientTypes.FlowConnectionType? public init( - createdAt: Foundation.Date? = nil, - description: Swift.String? = nil, - failureReasons: [Swift.String]? = nil, - knowledgeBaseArn: Swift.String? = nil, - knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? = nil, - knowledgeBaseId: Swift.String? = nil, + configuration: BedrockAgentClientTypes.FlowConnectionConfiguration? = nil, name: Swift.String? = nil, - roleArn: Swift.String? = nil, - status: BedrockAgentClientTypes.KnowledgeBaseStatus? = nil, - storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? = nil, - updatedAt: Foundation.Date? = nil + source: Swift.String? = nil, + target: Swift.String? = nil, + type: BedrockAgentClientTypes.FlowConnectionType? = nil ) { - self.createdAt = createdAt - self.description = description - self.failureReasons = failureReasons - self.knowledgeBaseArn = knowledgeBaseArn - self.knowledgeBaseConfiguration = knowledgeBaseConfiguration - self.knowledgeBaseId = knowledgeBaseId + self.configuration = configuration self.name = name - self.roleArn = roleArn - self.status = status - self.storageConfiguration = storageConfiguration - self.updatedAt = updatedAt + self.source = source + self.target = target + self.type = type } } } -public struct CreateKnowledgeBaseOutput { - /// Contains details about the knowledge base. - /// This member is required. - public var knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? +extension BedrockAgentClientTypes { + /// Defines a collector node in your flow. This node takes an iteration of inputs and consolidates them into an array in the output. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct CollectorFlowNodeConfiguration { - public init( - knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? = nil - ) - { - self.knowledgeBase = knowledgeBase + public init() { } } + } -public struct DeleteKnowledgeBaseInput { - /// The unique identifier of the knowledge base to delete. - /// This member is required. - public var knowledgeBaseId: Swift.String? +extension BedrockAgentClientTypes { + /// Defines a condition in the condition node. + public struct FlowCondition { + /// Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in [Node types in prompt flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html#flows-nodes). + public var expression: Swift.String? + /// A name for the condition that you can reference. + /// This member is required. + public var name: Swift.String? - public init( - knowledgeBaseId: Swift.String? = nil - ) - { - self.knowledgeBaseId = knowledgeBaseId + public init( + expression: Swift.String? = nil, + name: Swift.String? = nil + ) + { + self.expression = expression + self.name = name + } } + } -public struct DeleteKnowledgeBaseOutput { - /// The unique identifier of the knowledge base that was deleted. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The status of the knowledge base and whether it has been successfully deleted. - /// This member is required. - public var status: BedrockAgentClientTypes.KnowledgeBaseStatus? +extension BedrockAgentClientTypes.FlowCondition: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} - public init( - knowledgeBaseId: Swift.String? = nil, - status: BedrockAgentClientTypes.KnowledgeBaseStatus? = nil - ) - { - self.knowledgeBaseId = knowledgeBaseId - self.status = status +extension BedrockAgentClientTypes { + /// Defines a condition node in your flow. You can specify conditions that determine which node comes next in the flow. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct ConditionFlowNodeConfiguration { + /// An array of conditions. Each member contains the name of a condition and an expression that defines the condition. + /// This member is required. + public var conditions: [BedrockAgentClientTypes.FlowCondition]? + + public init( + conditions: [BedrockAgentClientTypes.FlowCondition]? = nil + ) + { + self.conditions = conditions + } + } + +} + +extension BedrockAgentClientTypes.ConditionFlowNodeConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ConditionFlowNodeConfiguration(conditions: \"CONTENT_REDACTED\")"} +} + +extension BedrockAgentClientTypes { + /// Contains configurations for the input flow node for a flow. This node takes the input from flow invocation and passes it to the next node in the data type that you specify. + public struct InputFlowNodeConfiguration { + + public init() { } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for an iterator node in a flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. + public struct IteratorFlowNodeConfiguration { + + public init() { } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct KnowledgeBaseFlowNodeConfiguration { + /// The unique identifier of the knowledge base to query. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array. + public var modelId: Swift.String? + + public init( + knowledgeBaseId: Swift.String? = nil, + modelId: Swift.String? = nil + ) + { + self.knowledgeBaseId = knowledgeBaseId + self.modelId = modelId + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a Lambda function node in the flow. You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct LambdaFunctionFlowNodeConfiguration { + /// The Amazon Resource Name (ARN) of the Lambda function to invoke. + /// This member is required. + public var lambdaArn: Swift.String? + + public init( + lambdaArn: Swift.String? = nil + ) + { + self.lambdaArn = lambdaArn + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a Lex node in the flow. You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct LexFlowNodeConfiguration { + /// The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke. + /// This member is required. + public var botAliasArn: Swift.String? + /// The Region to invoke the Amazon Lex bot in. + /// This member is required. + public var localeId: Swift.String? + + public init( + botAliasArn: Swift.String? = nil, + localeId: Swift.String? = nil + ) + { + self.botAliasArn = botAliasArn + self.localeId = localeId + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for an output flow node in the flow. You specify the data type expected for the input into the node in the type field and how to return the final output in the expression field. + public struct OutputFlowNodeConfiguration { + + public init() { } + } + +} + +extension BedrockAgentClientTypes { + /// Contains inference configurations related to model inference for a prompt. For more information, see [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-parameters.html). + public struct PromptModelInferenceConfiguration { + /// The maximum number of tokens to return in the response. + public var maxTokens: Swift.Int? + /// A list of strings that define sequences after which the model will stop generating. + public var stopSequences: [Swift.String]? + /// Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs. + public var temperature: Swift.Float? + /// The number of most-likely candidates that the model considers for the next token during generation. + public var topk: Swift.Int? + /// The percentage of most-likely candidates that the model considers for the next token. + public var topp: Swift.Float? + + public init( + maxTokens: Swift.Int? = nil, + stopSequences: [Swift.String]? = nil, + temperature: Swift.Float? = nil, + topk: Swift.Int? = nil, + topp: Swift.Float? = nil + ) + { + self.maxTokens = maxTokens + self.stopSequences = stopSequences + self.temperature = temperature + self.topk = topk + self.topp = topp + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains inference configurations for the prompt. + public enum PromptInferenceConfiguration { + /// Contains inference configurations for a text prompt. + case text(BedrockAgentClientTypes.PromptModelInferenceConfiguration) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentClientTypes { + /// Contains information about a variable in the prompt. + public struct PromptInputVariable { + /// The name of the variable. + public var name: Swift.String? + + public init( + name: Swift.String? = nil + ) + { + self.name = name + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in {{variable}}. + public struct TextPromptTemplateConfiguration { + /// An array of the variables in the prompt template. + public var inputVariables: [BedrockAgentClientTypes.PromptInputVariable]? + /// The message for the prompt. + /// This member is required. + public var text: Swift.String? + + public init( + inputVariables: [BedrockAgentClientTypes.PromptInputVariable]? = nil, + text: Swift.String? = nil + ) + { + self.inputVariables = inputVariables + self.text = text + } + } + +} + +extension BedrockAgentClientTypes.TextPromptTemplateConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentClientTypes { + /// Contains the message for a prompt. For more information, see [Prompt management in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html). + public enum PromptTemplateConfiguration { + /// Contains configurations for the text in a message for a prompt. + case text(BedrockAgentClientTypes.TextPromptTemplateConfiguration) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentClientTypes { + + public enum PromptTemplateType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case text + case sdkUnknown(Swift.String) + + public static var allCases: [PromptTemplateType] { + return [ + .text + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .text: return "TEXT" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a prompt defined inline in the node. + public struct PromptFlowNodeInlineConfiguration { + /// Contains inference configurations for the prompt. + public var inferenceConfiguration: BedrockAgentClientTypes.PromptInferenceConfiguration? + /// The unique identifier of the model to run inference with. + /// This member is required. + public var modelId: Swift.String? + /// Contains a prompt and variables in the prompt that can be replaced with values at runtime. + /// This member is required. + public var templateConfiguration: BedrockAgentClientTypes.PromptTemplateConfiguration? + /// The type of prompt template. + /// This member is required. + public var templateType: BedrockAgentClientTypes.PromptTemplateType? + + public init( + inferenceConfiguration: BedrockAgentClientTypes.PromptInferenceConfiguration? = nil, + modelId: Swift.String? = nil, + templateConfiguration: BedrockAgentClientTypes.PromptTemplateConfiguration? = nil, + templateType: BedrockAgentClientTypes.PromptTemplateType? = nil + ) + { + self.inferenceConfiguration = inferenceConfiguration + self.modelId = modelId + self.templateConfiguration = templateConfiguration + self.templateType = templateType + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a prompt from Prompt management to use in a node. + public struct PromptFlowNodeResourceConfiguration { + /// The Amazon Resource Name (ARN) of the prompt from Prompt management. + /// This member is required. + public var promptArn: Swift.String? + + public init( + promptArn: Swift.String? = nil + ) + { + self.promptArn = promptArn + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a prompt and whether it is from Prompt management or defined inline. + public enum PromptFlowNodeSourceConfiguration { + /// Contains configurations for a prompt from Prompt management. + case resource(BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration) + /// Contains configurations for a prompt that is defined inline + case inline(BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public struct PromptFlowNodeConfiguration { + /// Specifies whether the prompt is from Prompt management or defined inline. + /// This member is required. + public var sourceConfiguration: BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration? + + public init( + sourceConfiguration: BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration? = nil + ) + { + self.sourceConfiguration = sourceConfiguration + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node. + public struct RetrievalFlowNodeS3Configuration { + /// The name of the Amazon S3 bucket from which to retrieve data. + /// This member is required. + public var bucketName: Swift.String? + + public init( + bucketName: Swift.String? = nil + ) + { + self.bucketName = bucketName + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for the service to use for retrieving data to return as the output from the node. + public enum RetrievalFlowNodeServiceConfiguration { + /// Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node. + case s3(BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a Retrieval node in a flow. This node retrieves data from the Amazon S3 location that you specify and returns it as the output. + public struct RetrievalFlowNodeConfiguration { + /// Contains configurations for the service to use for retrieving data to return as the output from the node. + /// This member is required. + public var serviceConfiguration: BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration? + + public init( + serviceConfiguration: BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration? = nil + ) + { + self.serviceConfiguration = serviceConfiguration + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for the Amazon S3 location in which to store the input into the node. + public struct StorageFlowNodeS3Configuration { + /// The name of the Amazon S3 bucket in which to store the input into the node. + /// This member is required. + public var bucketName: Swift.String? + + public init( + bucketName: Swift.String? = nil + ) + { + self.bucketName = bucketName + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for the service to use for storing the input into the node. + public enum StorageFlowNodeServiceConfiguration { + /// Contains configurations for the Amazon S3 location in which to store the input into the node. + case s3(BedrockAgentClientTypes.StorageFlowNodeS3Configuration) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a Storage node in a flow. This node stores the input in an Amazon S3 location that you specify. + public struct StorageFlowNodeConfiguration { + /// Contains configurations for the service to use for storing the input into the node. + /// This member is required. + public var serviceConfiguration: BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration? + + public init( + serviceConfiguration: BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration? = nil + ) + { + self.serviceConfiguration = serviceConfiguration + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains configurations for a node in your flow. For more information, see [Node types in Amazon Bedrock works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide. + public enum FlowNodeConfiguration { + /// Contains configurations for an input flow node in your flow. The first node in the flow. inputs can't be specified for this node. + case input(BedrockAgentClientTypes.InputFlowNodeConfiguration) + /// Contains configurations for an output flow node in your flow. The last node in the flow. outputs can't be specified for this node. + case output(BedrockAgentClientTypes.OutputFlowNodeConfiguration) + /// Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. + case knowledgebase(BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration) + /// Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow. + case condition(BedrockAgentClientTypes.ConditionFlowNodeConfiguration) + /// Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. + case lex(BedrockAgentClientTypes.LexFlowNodeConfiguration) + /// Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. + case prompt(BedrockAgentClientTypes.PromptFlowNodeConfiguration) + /// Contains configurations for a Lambda function node in your flow. Invokes an Lambda function. + case lambdafunction(BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration) + /// Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. + case storage(BedrockAgentClientTypes.StorageFlowNodeConfiguration) + /// Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. + case agent(BedrockAgentClientTypes.AgentFlowNodeConfiguration) + /// Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. + case retrieval(BedrockAgentClientTypes.RetrievalFlowNodeConfiguration) + /// Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. + case iterator(BedrockAgentClientTypes.IteratorFlowNodeConfiguration) + /// Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. + case collector(BedrockAgentClientTypes.CollectorFlowNodeConfiguration) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentClientTypes { + + public enum FlowNodeIODataType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case array + case boolean + case number + case object + case string + case sdkUnknown(Swift.String) + + public static var allCases: [FlowNodeIODataType] { + return [ + .array, + .boolean, + .number, + .object, + .string + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .array: return "Array" + case .boolean: return "Boolean" + case .number: return "Number" + case .object: return "Object" + case .string: return "String" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains configurations for an input to a node. + public struct FlowNodeInput { + /// An expression that formats the input for the node. For an explanation of how to create expressions, see [Expressions in Prompt flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html). + /// This member is required. + public var expression: Swift.String? + /// A name for the input that you can reference. + /// This member is required. + public var name: Swift.String? + /// The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown. + /// This member is required. + public var type: BedrockAgentClientTypes.FlowNodeIODataType? + + public init( + expression: Swift.String? = nil, + name: Swift.String? = nil, + type: BedrockAgentClientTypes.FlowNodeIODataType? = nil + ) + { + self.expression = expression + self.name = name + self.type = type + } + } + +} + +extension BedrockAgentClientTypes.FlowNodeInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "FlowNodeInput(name: \(Swift.String(describing: name)), type: \(Swift.String(describing: type)), expression: \"CONTENT_REDACTED\")"} +} + +extension BedrockAgentClientTypes { + /// Contains configurations for an output from a node. + public struct FlowNodeOutput { + /// A name for the output that you can reference. + /// This member is required. + public var name: Swift.String? + /// The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown. + /// This member is required. + public var type: BedrockAgentClientTypes.FlowNodeIODataType? + + public init( + name: Swift.String? = nil, + type: BedrockAgentClientTypes.FlowNodeIODataType? = nil + ) + { + self.name = name + self.type = type + } + } + +} + +extension BedrockAgentClientTypes { + + public enum FlowNodeType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case agent + case collector + case condition + case input + case iterator + case knowledgeBase + case lambdaFunction + case lex + case output + case prompt + case retrieval + case storage + case sdkUnknown(Swift.String) + + public static var allCases: [FlowNodeType] { + return [ + .agent, + .collector, + .condition, + .input, + .iterator, + .knowledgeBase, + .lambdaFunction, + .lex, + .output, + .prompt, + .retrieval, + .storage + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .agent: return "Agent" + case .collector: return "Collector" + case .condition: return "Condition" + case .input: return "Input" + case .iterator: return "Iterator" + case .knowledgeBase: return "KnowledgeBase" + case .lambdaFunction: return "LambdaFunction" + case .lex: return "Lex" + case .output: return "Output" + case .prompt: return "Prompt" + case .retrieval: return "Retrieval" + case .storage: return "Storage" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains configurations about a node in the flow. + public struct FlowNode { + /// Contains configurations for the node. + public var configuration: BedrockAgentClientTypes.FlowNodeConfiguration? + /// An array of objects, each of which contains information about an input into the node. + public var inputs: [BedrockAgentClientTypes.FlowNodeInput]? + /// A name for the node. + /// This member is required. + public var name: Swift.String? + /// A list of objects, each of which contains information about an output from the node. + public var outputs: [BedrockAgentClientTypes.FlowNodeOutput]? + /// The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field. + /// This member is required. + public var type: BedrockAgentClientTypes.FlowNodeType? + + public init( + configuration: BedrockAgentClientTypes.FlowNodeConfiguration? = nil, + inputs: [BedrockAgentClientTypes.FlowNodeInput]? = nil, + name: Swift.String? = nil, + outputs: [BedrockAgentClientTypes.FlowNodeOutput]? = nil, + type: BedrockAgentClientTypes.FlowNodeType? = nil + ) + { + self.configuration = configuration + self.inputs = inputs + self.name = name + self.outputs = outputs + self.type = type + } + } + +} + +extension BedrockAgentClientTypes { + /// The definition of the nodes and connections between nodes in the flow. + public struct FlowDefinition { + /// An array of connection definitions in the flow. + public var connections: [BedrockAgentClientTypes.FlowConnection]? + /// An array of node definitions in the flow. + public var nodes: [BedrockAgentClientTypes.FlowNode]? + + public init( + connections: [BedrockAgentClientTypes.FlowConnection]? = nil, + nodes: [BedrockAgentClientTypes.FlowNode]? = nil + ) + { + self.connections = connections + self.nodes = nodes + } + } + +} + +extension BedrockAgentClientTypes.FlowDefinition: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "FlowDefinition(connections: \(Swift.String(describing: connections)), nodes: \"CONTENT_REDACTED\")"} +} + +public struct CreateFlowInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// The Amazon Resource Name (ARN) of the KMS key to encrypt the flow. + public var customerEncryptionKeyArn: Swift.String? + /// A definition of the nodes and connections between nodes in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// A description for the flow. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// A name for the flow. + /// This member is required. + public var name: Swift.String? + /// Any tags that you want to attach to the flow. For more information, see [Tagging resources in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + public var tags: [Swift.String: Swift.String]? + + public init( + clientToken: Swift.String? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + name: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clientToken = clientToken + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.name = name + self.tags = tags + } +} + +extension BedrockAgentClientTypes { + + public enum FlowStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case notPrepared + case prepared + case preparing + case sdkUnknown(Swift.String) + + public static var allCases: [FlowStatus] { + return [ + .failed, + .notPrepared, + .prepared, + .preparing + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "Failed" + case .notPrepared: return "NotPrepared" + case .prepared: return "Prepared" + case .preparing: return "Preparing" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct CreateFlowOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with. + public var customerEncryptionKeyArn: Swift.String? + /// A definition of the nodes and connections between nodes in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// The description of the flow. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow. + /// This member is required. + public var name: Swift.String? + /// The status of the flow. When you submit this request, the status will be NotPrepared. If creation fails, the status becomes Failed. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The time at which the flow was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The version of the flow. When you create a flow, the version created is the DRAFT version. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + updatedAt: Foundation.Date? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.id = id + self.name = name + self.status = status + self.updatedAt = updatedAt + self.version = version + } +} + +public struct DeleteFlowInput { + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + /// By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use. + public var skipResourceInUseCheck: Swift.Bool? + + public init( + flowIdentifier: Swift.String? = nil, + skipResourceInUseCheck: Swift.Bool? = nil + ) + { + self.flowIdentifier = flowIdentifier + self.skipResourceInUseCheck = skipResourceInUseCheck + } +} + +public struct DeleteFlowOutput { + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension BedrockAgentClientTypes { + /// Contains information about a version that the alias maps to. + public struct FlowAliasRoutingConfigurationListItem { + /// The version that the alias maps to. + public var flowVersion: Swift.String? + + public init( + flowVersion: Swift.String? = nil + ) + { + self.flowVersion = flowVersion + } + } + +} + +public struct CreateFlowAliasInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// A description for the alias. + public var description: Swift.String? + /// The unique identifier of the flow for which to create an alias. + /// This member is required. + public var flowIdentifier: Swift.String? + /// A name for the alias. + /// This member is required. + public var name: Swift.String? + /// Contains information about the version to which to map the alias. + /// This member is required. + public var routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? + /// Any tags that you want to attach to the alias of the flow. For more information, see [Tagging resources in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + public var tags: [Swift.String: Swift.String]? + + public init( + clientToken: Swift.String? = nil, + description: Swift.String? = nil, + flowIdentifier: Swift.String? = nil, + name: Swift.String? = nil, + routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clientToken = clientToken + self.description = description + self.flowIdentifier = flowIdentifier + self.name = name + self.routingConfiguration = routingConfiguration + self.tags = tags + } +} + +public struct CreateFlowAliasOutput { + /// The Amazon Resource Name (ARN) of the alias. + /// This member is required. + public var arn: Swift.String? + /// The time at which the alias was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the alias. + public var description: Swift.String? + /// The unique identifier of the flow that the alias belongs to. + /// This member is required. + public var flowId: Swift.String? + /// The unique identifier of the alias. + /// This member is required. + public var id: Swift.String? + /// The name of the alias. + /// This member is required. + public var name: Swift.String? + /// Contains information about the version that the alias is mapped to. + /// This member is required. + public var routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? + /// The time at which the alias of the flow was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + flowId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.flowId = flowId + self.id = id + self.name = name + self.routingConfiguration = routingConfiguration + self.updatedAt = updatedAt + } +} + +public struct DeleteFlowAliasInput { + /// The unique identifier of the alias to be deleted. + /// This member is required. + public var aliasIdentifier: Swift.String? + /// The unique identifier of the flow that the alias belongs to. + /// This member is required. + public var flowIdentifier: Swift.String? + + public init( + aliasIdentifier: Swift.String? = nil, + flowIdentifier: Swift.String? = nil + ) + { + self.aliasIdentifier = aliasIdentifier + self.flowIdentifier = flowIdentifier + } +} + +public struct DeleteFlowAliasOutput { + /// The unique identifier of the flow that the alias belongs to. + /// This member is required. + public var flowId: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + + public init( + flowId: Swift.String? = nil, + id: Swift.String? = nil + ) + { + self.flowId = flowId + self.id = id + } +} + +public struct GetFlowAliasInput { + /// The unique identifier of the alias for which to retrieve information. + /// This member is required. + public var aliasIdentifier: Swift.String? + /// The unique identifier of the flow that the alias belongs to. + /// This member is required. + public var flowIdentifier: Swift.String? + + public init( + aliasIdentifier: Swift.String? = nil, + flowIdentifier: Swift.String? = nil + ) + { + self.aliasIdentifier = aliasIdentifier + self.flowIdentifier = flowIdentifier + } +} + +public struct GetFlowAliasOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the flow. + public var description: Swift.String? + /// The unique identifier of the flow that the alias belongs to. + /// This member is required. + public var flowId: Swift.String? + /// The unique identifier of the alias of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow alias. + /// This member is required. + public var name: Swift.String? + /// Contains information about the version that the alias is mapped to. + /// This member is required. + public var routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? + /// The time at which the flow alias was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + flowId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.flowId = flowId + self.id = id + self.name = name + self.routingConfiguration = routingConfiguration + self.updatedAt = updatedAt + } +} + +public struct ListFlowAliasesInput { + /// The unique identifier of the flow for which aliases are being returned. + /// This member is required. + public var flowIdentifier: Swift.String? + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + flowIdentifier: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.flowIdentifier = flowIdentifier + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension BedrockAgentClientTypes { + /// Contains information about an alias of a flow. This data type is used in the following API operations: + /// + /// * [ListFlowAliases response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowAliases.html#API_agent_ListFlowAliases_ResponseSyntax) + public struct FlowAliasSummary { + /// The Amazon Resource Name (ARN) of the flow alias. + /// This member is required. + public var arn: Swift.String? + /// The time at which the alias was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// A description of the alias. + public var description: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var flowId: Swift.String? + /// The unique identifier of the alias of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the alias. + /// This member is required. + public var name: Swift.String? + /// A list of configurations about the versions that the alias maps to. Currently, you can only specify one. + /// This member is required. + public var routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? + /// The time at which the alias was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + flowId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.flowId = flowId + self.id = id + self.name = name + self.routingConfiguration = routingConfiguration + self.updatedAt = updatedAt + } + } + +} + +public struct ListFlowAliasesOutput { + /// A list, each member of which contains information about a flow alias. + /// This member is required. + public var flowAliasSummaries: [BedrockAgentClientTypes.FlowAliasSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + flowAliasSummaries: [BedrockAgentClientTypes.FlowAliasSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.flowAliasSummaries = flowAliasSummaries + self.nextToken = nextToken + } +} + +public struct UpdateFlowAliasInput { + /// The unique identifier of the alias. + /// This member is required. + public var aliasIdentifier: Swift.String? + /// A description for the flow alias. + public var description: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + /// The name of the flow alias. + /// This member is required. + public var name: Swift.String? + /// Contains information about the version to which to map the alias. + /// This member is required. + public var routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? + + public init( + aliasIdentifier: Swift.String? = nil, + description: Swift.String? = nil, + flowIdentifier: Swift.String? = nil, + name: Swift.String? = nil, + routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? = nil + ) + { + self.aliasIdentifier = aliasIdentifier + self.description = description + self.flowIdentifier = flowIdentifier + self.name = name + self.routingConfiguration = routingConfiguration + } +} + +public struct UpdateFlowAliasOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the flow. + public var description: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var flowId: Swift.String? + /// The unique identifier of the alias. + /// This member is required. + public var id: Swift.String? + /// The name of the flow alias. + /// This member is required. + public var name: Swift.String? + /// Contains information about the version that the alias is mapped to. + /// This member is required. + public var routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? + /// The time at which the flow alias was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + flowId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + routingConfiguration: [BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem]? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.flowId = flowId + self.id = id + self.name = name + self.routingConfiguration = routingConfiguration + self.updatedAt = updatedAt + } +} + +public struct CreateFlowVersionInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// A description of the version of the flow. + public var description: Swift.String? + /// The unique identifier of the flow that you want to create a version of. + /// This member is required. + public var flowIdentifier: Swift.String? + + public init( + clientToken: Swift.String? = nil, + description: Swift.String? = nil, + flowIdentifier: Swift.String? = nil + ) + { + self.clientToken = clientToken + self.description = description + self.flowIdentifier = flowIdentifier + } +} + +public struct CreateFlowVersionOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The KMS key that the flow is encrypted with. + public var customerEncryptionKeyArn: Swift.String? + /// A definition of the nodes and connections in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// The description of the flow version. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow version. + /// This member is required. + public var name: Swift.String? + /// The status of the flow. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The version of the flow that was created. Versions are numbered incrementally, starting from 1. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.id = id + self.name = name + self.status = status + self.version = version + } +} + +public struct DeleteFlowVersionInput { + /// The unique identifier of the flow whose version that you want to delete + /// This member is required. + public var flowIdentifier: Swift.String? + /// The version of the flow that you want to delete. + /// This member is required. + public var flowVersion: Swift.String? + /// By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use. + public var skipResourceInUseCheck: Swift.Bool? + + public init( + flowIdentifier: Swift.String? = nil, + flowVersion: Swift.String? = nil, + skipResourceInUseCheck: Swift.Bool? = nil + ) + { + self.flowIdentifier = flowIdentifier + self.flowVersion = flowVersion + self.skipResourceInUseCheck = skipResourceInUseCheck + } +} + +public struct DeleteFlowVersionOutput { + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The version of the flow being deleted. + /// This member is required. + public var version: Swift.String? + + public init( + id: Swift.String? = nil, + version: Swift.String? = nil + ) + { + self.id = id + self.version = version + } +} + +public struct GetFlowVersionInput { + /// The unique identifier of the flow for which to get information. + /// This member is required. + public var flowIdentifier: Swift.String? + /// The version of the flow for which to get information. + /// This member is required. + public var flowVersion: Swift.String? + + public init( + flowIdentifier: Swift.String? = nil, + flowVersion: Swift.String? = nil + ) + { + self.flowIdentifier = flowIdentifier + self.flowVersion = flowVersion + } +} + +public struct GetFlowVersionOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with. + public var customerEncryptionKeyArn: Swift.String? + /// The definition of the nodes and connections between nodes in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// The description of the flow. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow version. + /// This member is required. + public var name: Swift.String? + /// The status of the flow. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The version of the flow for which information was retrieved. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.id = id + self.name = name + self.status = status + self.version = version + } +} + +public struct ListFlowVersionsInput { + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + flowIdentifier: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.flowIdentifier = flowIdentifier + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension BedrockAgentClientTypes { + /// Contains information about the flow version. This data type is used in the following API operations: + /// + /// * [ListFlowVersions response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowVersions.html#API_agent_ListFlowVersions_ResponseSyntax) + public struct FlowVersionSummary { + /// The Amazon Resource Name (ARN) of the flow that the version belongs to. + /// This member is required. + public var arn: Swift.String? + /// The time at the flow version was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The status of the flow. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The version of the flow. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + id: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.id = id + self.status = status + self.version = version + } + } + +} + +public struct ListFlowVersionsOutput { + /// A list, each member of which contains information about a flow. + /// This member is required. + public var flowVersionSummaries: [BedrockAgentClientTypes.FlowVersionSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + flowVersionSummaries: [BedrockAgentClientTypes.FlowVersionSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.flowVersionSummaries = flowVersionSummaries + self.nextToken = nextToken + } +} + +public struct GetFlowInput { + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + + public init( + flowIdentifier: Swift.String? = nil + ) + { + self.flowIdentifier = flowIdentifier + } +} + +extension BedrockAgentClientTypes { + + public enum FlowValidationSeverity: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case error + case warning + case sdkUnknown(Swift.String) + + public static var allCases: [FlowValidationSeverity] { + return [ + .error, + .warning + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .error: return "Error" + case .warning: return "Warning" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains information about validation of the flow. This data type is used in the following API operations: + /// + /// * [GetFlow response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html#API_agent_GetFlow_ResponseSyntax) + /// + /// * [GetFlowVersion response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlowVersion.html#API_agent_GetFlowVersion_ResponseSyntax) + public struct FlowValidation { + /// A message describing the validation error. + /// This member is required. + public var message: Swift.String? + /// The severity of the issue described in the message. + /// This member is required. + public var severity: BedrockAgentClientTypes.FlowValidationSeverity? + + public init( + message: Swift.String? = nil, + severity: BedrockAgentClientTypes.FlowValidationSeverity? = nil + ) + { + self.message = message + self.severity = severity + } + } + +} + +public struct GetFlowOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with. + public var customerEncryptionKeyArn: Swift.String? + /// The definition of the nodes and connections between the nodes in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// The description of the flow. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see [Create a service row for flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow. + /// This member is required. + public var name: Swift.String? + /// The status of the flow. The following statuses are possible: + /// + /// * NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) request to package the latest changes into the DRAFT version. + /// + /// * Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing. + /// + /// * Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing. + /// + /// * Failed – The last API operation that you invoked on the flow failed. Send a [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) request and check the error message in the validations field. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The time at which the flow was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// A list of validation error messages related to the last failed operation on the flow. + public var validations: [BedrockAgentClientTypes.FlowValidation]? + /// The version of the flow for which information was retrieved. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + updatedAt: Foundation.Date? = nil, + validations: [BedrockAgentClientTypes.FlowValidation]? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.id = id + self.name = name + self.status = status + self.updatedAt = updatedAt + self.validations = validations + self.version = version + } +} + +public struct ListFlowsInput { + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension BedrockAgentClientTypes { + /// Contains the definition of a flow. + public struct FlowSummary { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// A description of the flow. + public var description: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow. + /// This member is required. + public var name: Swift.String? + /// The status of the flow. The following statuses are possible: + /// + /// * NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) request to package the latest changes into the DRAFT version. + /// + /// * Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing. + /// + /// * Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing. + /// + /// * Failed – The last API operation that you invoked on the flow failed. Send a [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) request and check the error message in the validations field. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The time at which the flow was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The latest version of the flow. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + updatedAt: Foundation.Date? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.id = id + self.name = name + self.status = status + self.updatedAt = updatedAt + self.version = version + } + } + +} + +public struct ListFlowsOutput { + /// A list, each member of which contains information about a flow. + /// This member is required. + public var flowSummaries: [BedrockAgentClientTypes.FlowSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + flowSummaries: [BedrockAgentClientTypes.FlowSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.flowSummaries = flowSummaries + self.nextToken = nextToken + } +} + +public struct PrepareFlowInput { + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + + public init( + flowIdentifier: Swift.String? = nil + ) + { + self.flowIdentifier = flowIdentifier + } +} + +public struct PrepareFlowOutput { + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The status of the flow. When you submit this request, the status will be NotPrepared. If preparation succeeds, the status becomes Prepared. If it fails, the status becomes FAILED. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + + public init( + id: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil + ) + { + self.id = id + self.status = status + } +} + +public struct UpdateFlowInput { + /// The Amazon Resource Name (ARN) of the KMS key to encrypt the flow. + public var customerEncryptionKeyArn: Swift.String? + /// A definition of the nodes and the connections between the nodes in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// A description for the flow. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + /// A name for the flow. + /// This member is required. + public var name: Swift.String? + + public init( + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + flowIdentifier: Swift.String? = nil, + name: Swift.String? = nil + ) + { + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.flowIdentifier = flowIdentifier + self.name = name + } +} + +public struct UpdateFlowOutput { + /// The Amazon Resource Name (ARN) of the flow. + /// This member is required. + public var arn: Swift.String? + /// The time at which the flow was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with. + public var customerEncryptionKeyArn: Swift.String? + /// A definition of the nodes and the connections between nodes in the flow. + public var definition: BedrockAgentClientTypes.FlowDefinition? + /// The description of the flow. + public var description: Swift.String? + /// The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see [Create a service role for flows in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var executionRoleArn: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var id: Swift.String? + /// The name of the flow. + /// This member is required. + public var name: Swift.String? + /// The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed. + /// This member is required. + public var status: BedrockAgentClientTypes.FlowStatus? + /// The time at which the flow was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The version of the flow. When you update a flow, the version updated is the DRAFT version. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + definition: BedrockAgentClientTypes.FlowDefinition? = nil, + description: Swift.String? = nil, + executionRoleArn: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.FlowStatus? = nil, + updatedAt: Foundation.Date? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.definition = definition + self.description = description + self.executionRoleArn = executionRoleArn + self.id = id + self.name = name + self.status = status + self.updatedAt = updatedAt + self.version = version + } +} + +public struct GetIngestionJobInput { + /// The unique identifier of the data source in the ingestion job. + /// This member is required. + public var dataSourceId: Swift.String? + /// The unique identifier of the ingestion job. + /// This member is required. + public var ingestionJobId: Swift.String? + /// The unique identifier of the knowledge base for which the ingestion job applies. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + dataSourceId: Swift.String? = nil, + ingestionJobId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.dataSourceId = dataSourceId + self.ingestionJobId = ingestionJobId + self.knowledgeBaseId = knowledgeBaseId + } +} + +extension BedrockAgentClientTypes { + /// Contains the statistics for the ingestion job. + public struct IngestionJobStatistics { + /// The number of source documents that was deleted. + public var numberOfDocumentsDeleted: Swift.Int + /// The number of source documents that failed to be ingested. + public var numberOfDocumentsFailed: Swift.Int + /// The total number of source documents that were scanned. Includes new, updated, and unchanged documents. + public var numberOfDocumentsScanned: Swift.Int + /// The number of metadata files that were updated or deleted. + public var numberOfMetadataDocumentsModified: Swift.Int + /// The total number of metadata files that were scanned. Includes new, updated, and unchanged files. + public var numberOfMetadataDocumentsScanned: Swift.Int + /// The number of modified source documents in the data source that were successfully indexed. + public var numberOfModifiedDocumentsIndexed: Swift.Int + /// The number of new source documents in the data source that were successfully indexed. + public var numberOfNewDocumentsIndexed: Swift.Int + + public init( + numberOfDocumentsDeleted: Swift.Int = 0, + numberOfDocumentsFailed: Swift.Int = 0, + numberOfDocumentsScanned: Swift.Int = 0, + numberOfMetadataDocumentsModified: Swift.Int = 0, + numberOfMetadataDocumentsScanned: Swift.Int = 0, + numberOfModifiedDocumentsIndexed: Swift.Int = 0, + numberOfNewDocumentsIndexed: Swift.Int = 0 + ) + { + self.numberOfDocumentsDeleted = numberOfDocumentsDeleted + self.numberOfDocumentsFailed = numberOfDocumentsFailed + self.numberOfDocumentsScanned = numberOfDocumentsScanned + self.numberOfMetadataDocumentsModified = numberOfMetadataDocumentsModified + self.numberOfMetadataDocumentsScanned = numberOfMetadataDocumentsScanned + self.numberOfModifiedDocumentsIndexed = numberOfModifiedDocumentsIndexed + self.numberOfNewDocumentsIndexed = numberOfNewDocumentsIndexed + } + } + +} + +extension BedrockAgentClientTypes { + + public enum IngestionJobStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case complete + case failed + case inProgress + case starting + case sdkUnknown(Swift.String) + + public static var allCases: [IngestionJobStatus] { + return [ + .complete, + .failed, + .inProgress, + .starting + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .complete: return "COMPLETE" + case .failed: return "FAILED" + case .inProgress: return "IN_PROGRESS" + case .starting: return "STARTING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains details about an ingestion job, which converts a data source to embeddings for a vector store in knowledge base. This data type is used in the following API operations: + /// + /// * [StartIngestionJob response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_StartIngestionJob.html#API_agent_StartIngestionJob_ResponseSyntax) + /// + /// * [GetIngestionJob response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html#API_agent_GetIngestionJob_ResponseSyntax) + /// + /// * [ListIngestionJob response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax) + public struct IngestionJob { + /// The unique identifier of the ingested data source. + /// This member is required. + public var dataSourceId: Swift.String? + /// The description of the ingestion job. + public var description: Swift.String? + /// A list of reasons that the ingestion job failed. + public var failureReasons: [Swift.String]? + /// The unique identifier of the ingestion job. + /// This member is required. + public var ingestionJobId: Swift.String? + /// The unique identifier of the knowledge base to which the data source is being added. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The time at which the ingestion job started. + /// This member is required. + public var startedAt: Foundation.Date? + /// Contains statistics about the ingestion job. + public var statistics: BedrockAgentClientTypes.IngestionJobStatistics? + /// The status of the ingestion job. + /// This member is required. + public var status: BedrockAgentClientTypes.IngestionJobStatus? + /// The time at which the ingestion job was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + dataSourceId: Swift.String? = nil, + description: Swift.String? = nil, + failureReasons: [Swift.String]? = nil, + ingestionJobId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + startedAt: Foundation.Date? = nil, + statistics: BedrockAgentClientTypes.IngestionJobStatistics? = nil, + status: BedrockAgentClientTypes.IngestionJobStatus? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.dataSourceId = dataSourceId + self.description = description + self.failureReasons = failureReasons + self.ingestionJobId = ingestionJobId + self.knowledgeBaseId = knowledgeBaseId + self.startedAt = startedAt + self.statistics = statistics + self.status = status + self.updatedAt = updatedAt + } + } + +} + +public struct GetIngestionJobOutput { + /// Contains details about the ingestion job. + /// This member is required. + public var ingestionJob: BedrockAgentClientTypes.IngestionJob? + + public init( + ingestionJob: BedrockAgentClientTypes.IngestionJob? = nil + ) + { + self.ingestionJob = ingestionJob + } +} + +extension BedrockAgentClientTypes { + + public enum IngestionJobFilterAttribute: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case status + case sdkUnknown(Swift.String) + + public static var allCases: [IngestionJobFilterAttribute] { + return [ + .status + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .status: return "STATUS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + + public enum IngestionJobFilterOperator: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case eq + case sdkUnknown(Swift.String) + + public static var allCases: [IngestionJobFilterOperator] { + return [ + .eq + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .eq: return "EQ" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Defines a filter by which to filter the results. + public struct IngestionJobFilter { + /// The attribute by which to filter the results. + /// This member is required. + public var attribute: BedrockAgentClientTypes.IngestionJobFilterAttribute? + /// The operation to carry out between the attribute and the values. + /// This member is required. + public var `operator`: BedrockAgentClientTypes.IngestionJobFilterOperator? + /// A list of values for the attribute. + /// This member is required. + public var values: [Swift.String]? + + public init( + attribute: BedrockAgentClientTypes.IngestionJobFilterAttribute? = nil, + `operator`: BedrockAgentClientTypes.IngestionJobFilterOperator? = nil, + values: [Swift.String]? = nil + ) + { + self.attribute = attribute + self.`operator` = `operator` + self.values = values + } + } + +} + +extension BedrockAgentClientTypes { + + public enum IngestionJobSortByAttribute: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case startedAt + case status + case sdkUnknown(Swift.String) + + public static var allCases: [IngestionJobSortByAttribute] { + return [ + .startedAt, + .status + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .startedAt: return "STARTED_AT" + case .status: return "STATUS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + + public enum SortOrder: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case ascending + case descending + case sdkUnknown(Swift.String) + + public static var allCases: [SortOrder] { + return [ + .ascending, + .descending + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .ascending: return "ASCENDING" + case .descending: return "DESCENDING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Parameters by which to sort the results. + public struct IngestionJobSortBy { + /// The attribute by which to sort the results. + /// This member is required. + public var attribute: BedrockAgentClientTypes.IngestionJobSortByAttribute? + /// The order by which to sort the results. + /// This member is required. + public var order: BedrockAgentClientTypes.SortOrder? + + public init( + attribute: BedrockAgentClientTypes.IngestionJobSortByAttribute? = nil, + order: BedrockAgentClientTypes.SortOrder? = nil + ) + { + self.attribute = attribute + self.order = order + } + } + +} + +public struct ListIngestionJobsInput { + /// The unique identifier of the data source for which to return ingestion jobs. + /// This member is required. + public var dataSourceId: Swift.String? + /// Contains a definition of a filter for which to filter the results. + public var filters: [BedrockAgentClientTypes.IngestionJobFilter]? + /// The unique identifier of the knowledge base for which to return ingestion jobs. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + /// Contains details about how to sort the results. + public var sortBy: BedrockAgentClientTypes.IngestionJobSortBy? + + public init( + dataSourceId: Swift.String? = nil, + filters: [BedrockAgentClientTypes.IngestionJobFilter]? = nil, + knowledgeBaseId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + sortBy: BedrockAgentClientTypes.IngestionJobSortBy? = nil + ) + { + self.dataSourceId = dataSourceId + self.filters = filters + self.knowledgeBaseId = knowledgeBaseId + self.maxResults = maxResults + self.nextToken = nextToken + self.sortBy = sortBy + } +} + +extension BedrockAgentClientTypes { + /// Contains details about an ingestion job. + public struct IngestionJobSummary { + /// The unique identifier of the data source in the ingestion job. + /// This member is required. + public var dataSourceId: Swift.String? + /// The description of the ingestion job. + public var description: Swift.String? + /// The unique identifier of the ingestion job. + /// This member is required. + public var ingestionJobId: Swift.String? + /// The unique identifier of the knowledge base to which the data source is added. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The time at which the ingestion job was started. + /// This member is required. + public var startedAt: Foundation.Date? + /// Contains statistics for the ingestion job. + public var statistics: BedrockAgentClientTypes.IngestionJobStatistics? + /// The status of the ingestion job. + /// This member is required. + public var status: BedrockAgentClientTypes.IngestionJobStatus? + /// The time at which the ingestion job was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + dataSourceId: Swift.String? = nil, + description: Swift.String? = nil, + ingestionJobId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + startedAt: Foundation.Date? = nil, + statistics: BedrockAgentClientTypes.IngestionJobStatistics? = nil, + status: BedrockAgentClientTypes.IngestionJobStatus? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.dataSourceId = dataSourceId + self.description = description + self.ingestionJobId = ingestionJobId + self.knowledgeBaseId = knowledgeBaseId + self.startedAt = startedAt + self.statistics = statistics + self.status = status + self.updatedAt = updatedAt + } + } + +} + +public struct ListIngestionJobsOutput { + /// A list of objects, each of which contains information about an ingestion job. + /// This member is required. + public var ingestionJobSummaries: [BedrockAgentClientTypes.IngestionJobSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + ingestionJobSummaries: [BedrockAgentClientTypes.IngestionJobSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.ingestionJobSummaries = ingestionJobSummaries + self.nextToken = nextToken + } +} + +public struct StartIngestionJobInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// The unique identifier of the data source to ingest. + /// This member is required. + public var dataSourceId: Swift.String? + /// A description of the ingestion job. + public var description: Swift.String? + /// The unique identifier of the knowledge base to which to add the data source. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + clientToken: Swift.String? = nil, + dataSourceId: Swift.String? = nil, + description: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.clientToken = clientToken + self.dataSourceId = dataSourceId + self.description = description + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct StartIngestionJobOutput { + /// An object containing information about the ingestion job. + /// This member is required. + public var ingestionJob: BedrockAgentClientTypes.IngestionJob? + + public init( + ingestionJob: BedrockAgentClientTypes.IngestionJob? = nil + ) + { + self.ingestionJob = ingestionJob + } +} + +public struct AssociateAgentKnowledgeBaseInput { + /// The unique identifier of the agent with which you want to associate the knowledge base. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent with which you want to associate the knowledge base. + /// This member is required. + public var agentVersion: Swift.String? + /// A description of what the agent should use the knowledge base for. + /// This member is required. + public var description: Swift.String? + /// The unique identifier of the knowledge base to associate with the agent. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// Specifies whether to use the knowledge base or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. + public var knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil, + description: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + self.description = description + self.knowledgeBaseId = knowledgeBaseId + self.knowledgeBaseState = knowledgeBaseState + } +} + +public struct AssociateAgentKnowledgeBaseOutput { + /// Contains details about the knowledge base that has been associated with the agent. + /// This member is required. + public var agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? + + public init( + agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? = nil + ) + { + self.agentKnowledgeBase = agentKnowledgeBase + } +} + +extension BedrockAgentClientTypes { + + public enum KnowledgeBaseType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case vector + case sdkUnknown(Swift.String) + + public static var allCases: [KnowledgeBaseType] { + return [ + .vector + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .vector: return "VECTOR" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// The vector configuration details for the Bedrock embeddings model. + public struct BedrockEmbeddingModelConfiguration { + /// The dimensions details for the vector configuration used on the Bedrock embeddings model. + public var dimensions: Swift.Int? + + public init( + dimensions: Swift.Int? = nil + ) + { + self.dimensions = dimensions + } + } + +} + +extension BedrockAgentClientTypes { + /// The configuration details for the embeddings model. + public struct EmbeddingModelConfiguration { + /// The vector configuration details on the Bedrock embeddings model. + public var bedrockEmbeddingModelConfiguration: BedrockAgentClientTypes.BedrockEmbeddingModelConfiguration? + + public init( + bedrockEmbeddingModelConfiguration: BedrockAgentClientTypes.BedrockEmbeddingModelConfiguration? = nil + ) + { + self.bedrockEmbeddingModelConfiguration = bedrockEmbeddingModelConfiguration + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the model used to create vector embeddings for the knowledge base. + public struct VectorKnowledgeBaseConfiguration { + /// The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base. + /// This member is required. + public var embeddingModelArn: Swift.String? + /// The embeddings model configuration details for the vector model used in Knowledge Base. + public var embeddingModelConfiguration: BedrockAgentClientTypes.EmbeddingModelConfiguration? + + public init( + embeddingModelArn: Swift.String? = nil, + embeddingModelConfiguration: BedrockAgentClientTypes.EmbeddingModelConfiguration? = nil + ) + { + self.embeddingModelArn = embeddingModelArn + self.embeddingModelConfiguration = embeddingModelConfiguration + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the embeddings configuration of the knowledge base. + public struct KnowledgeBaseConfiguration { + /// The type of data that the data source is converted into for the knowledge base. + /// This member is required. + public var type: BedrockAgentClientTypes.KnowledgeBaseType? + /// Contains details about the embeddings model that'sused to convert the data source. + public var vectorKnowledgeBaseConfiguration: BedrockAgentClientTypes.VectorKnowledgeBaseConfiguration? + + public init( + type: BedrockAgentClientTypes.KnowledgeBaseType? = nil, + vectorKnowledgeBaseConfiguration: BedrockAgentClientTypes.VectorKnowledgeBaseConfiguration? = nil + ) + { + self.type = type + self.vectorKnowledgeBaseConfiguration = vectorKnowledgeBaseConfiguration + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains the names of the fields to which to map information about the vector store. + public struct MongoDbAtlasFieldMapping { + /// The name of the field in which Amazon Bedrock stores metadata about the vector store. + /// This member is required. + public var metadataField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + /// This member is required. + public var textField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + /// This member is required. + public var vectorField: Swift.String? + + public init( + metadataField: Swift.String? = nil, + textField: Swift.String? = nil, + vectorField: Swift.String? = nil + ) + { + self.metadataField = metadataField + self.textField = textField + self.vectorField = vectorField + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the storage configuration of the knowledge base in MongoDB Atlas. + public struct MongoDbAtlasConfiguration { + /// The collection name of the knowledge base in MongoDB Atlas. + /// This member is required. + public var collectionName: Swift.String? + /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster. + /// This member is required. + public var credentialsSecretArn: Swift.String? + /// The database name in your MongoDB Atlas cluster for your knowledge base. + /// This member is required. + public var databaseName: Swift.String? + /// The endpoint URL of your MongoDB Atlas cluster for your knowledge base. + /// This member is required. + public var endpoint: Swift.String? + /// The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster. + public var endpointServiceName: Swift.String? + /// Contains the names of the fields to which to map information about the vector store. + /// This member is required. + public var fieldMapping: BedrockAgentClientTypes.MongoDbAtlasFieldMapping? + /// The name of the MongoDB Atlas vector search index. + /// This member is required. + public var vectorIndexName: Swift.String? + + public init( + collectionName: Swift.String? = nil, + credentialsSecretArn: Swift.String? = nil, + databaseName: Swift.String? = nil, + endpoint: Swift.String? = nil, + endpointServiceName: Swift.String? = nil, + fieldMapping: BedrockAgentClientTypes.MongoDbAtlasFieldMapping? = nil, + vectorIndexName: Swift.String? = nil + ) + { + self.collectionName = collectionName + self.credentialsSecretArn = credentialsSecretArn + self.databaseName = databaseName + self.endpoint = endpoint + self.endpointServiceName = endpointServiceName + self.fieldMapping = fieldMapping + self.vectorIndexName = vectorIndexName + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains the names of the fields to which to map information about the vector store. + public struct OpenSearchServerlessFieldMapping { + /// The name of the field in which Amazon Bedrock stores metadata about the vector store. + /// This member is required. + public var metadataField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + /// This member is required. + public var textField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + /// This member is required. + public var vectorField: Swift.String? + + public init( + metadataField: Swift.String? = nil, + textField: Swift.String? = nil, + vectorField: Swift.String? = nil + ) + { + self.metadataField = metadataField + self.textField = textField + self.vectorField = vectorField + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service. For more information, see [Create a vector index in Amazon OpenSearch Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). + public struct OpenSearchServerlessConfiguration { + /// The Amazon Resource Name (ARN) of the OpenSearch Service vector store. + /// This member is required. + public var collectionArn: Swift.String? + /// Contains the names of the fields to which to map information about the vector store. + /// This member is required. + public var fieldMapping: BedrockAgentClientTypes.OpenSearchServerlessFieldMapping? + /// The name of the vector store. + /// This member is required. + public var vectorIndexName: Swift.String? + + public init( + collectionArn: Swift.String? = nil, + fieldMapping: BedrockAgentClientTypes.OpenSearchServerlessFieldMapping? = nil, + vectorIndexName: Swift.String? = nil + ) + { + self.collectionArn = collectionArn + self.fieldMapping = fieldMapping + self.vectorIndexName = vectorIndexName + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains the names of the fields to which to map information about the vector store. + public struct PineconeFieldMapping { + /// The name of the field in which Amazon Bedrock stores metadata about the vector store. + /// This member is required. + public var metadataField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + /// This member is required. + public var textField: Swift.String? + + public init( + metadataField: Swift.String? = nil, + textField: Swift.String? = nil + ) + { + self.metadataField = metadataField + self.textField = textField + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the storage configuration of the knowledge base in Pinecone. For more information, see [Create a vector index in Pinecone](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html). + public struct PineconeConfiguration { + /// The endpoint URL for your index management page. + /// This member is required. + public var connectionString: Swift.String? + /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key. + /// This member is required. + public var credentialsSecretArn: Swift.String? + /// Contains the names of the fields to which to map information about the vector store. + /// This member is required. + public var fieldMapping: BedrockAgentClientTypes.PineconeFieldMapping? + /// The namespace to be used to write new data to your database. + public var namespace: Swift.String? + + public init( + connectionString: Swift.String? = nil, + credentialsSecretArn: Swift.String? = nil, + fieldMapping: BedrockAgentClientTypes.PineconeFieldMapping? = nil, + namespace: Swift.String? = nil + ) + { + self.connectionString = connectionString + self.credentialsSecretArn = credentialsSecretArn + self.fieldMapping = fieldMapping + self.namespace = namespace + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains the names of the fields to which to map information about the vector store. + public struct RdsFieldMapping { + /// The name of the field in which Amazon Bedrock stores metadata about the vector store. + /// This member is required. + public var metadataField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the ID for each entry. + /// This member is required. + public var primaryKeyField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + /// This member is required. + public var textField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + /// This member is required. + public var vectorField: Swift.String? + + public init( + metadataField: Swift.String? = nil, + primaryKeyField: Swift.String? = nil, + textField: Swift.String? = nil, + vectorField: Swift.String? = nil + ) + { + self.metadataField = metadataField + self.primaryKeyField = primaryKeyField + self.textField = textField + self.vectorField = vectorField + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see [Create a vector index in Amazon RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). + public struct RdsConfiguration { + /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database. + /// This member is required. + public var credentialsSecretArn: Swift.String? + /// The name of your Amazon RDS database. + /// This member is required. + public var databaseName: Swift.String? + /// Contains the names of the fields to which to map information about the vector store. + /// This member is required. + public var fieldMapping: BedrockAgentClientTypes.RdsFieldMapping? + /// The Amazon Resource Name (ARN) of the vector store. + /// This member is required. + public var resourceArn: Swift.String? + /// The name of the table in the database. + /// This member is required. + public var tableName: Swift.String? + + public init( + credentialsSecretArn: Swift.String? = nil, + databaseName: Swift.String? = nil, + fieldMapping: BedrockAgentClientTypes.RdsFieldMapping? = nil, + resourceArn: Swift.String? = nil, + tableName: Swift.String? = nil + ) + { + self.credentialsSecretArn = credentialsSecretArn + self.databaseName = databaseName + self.fieldMapping = fieldMapping + self.resourceArn = resourceArn + self.tableName = tableName + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains the names of the fields to which to map information about the vector store. + public struct RedisEnterpriseCloudFieldMapping { + /// The name of the field in which Amazon Bedrock stores metadata about the vector store. + /// This member is required. + public var metadataField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + /// This member is required. + public var textField: Swift.String? + /// The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + /// This member is required. + public var vectorField: Swift.String? + + public init( + metadataField: Swift.String? = nil, + textField: Swift.String? = nil, + vectorField: Swift.String? = nil + ) + { + self.metadataField = metadataField + self.textField = textField + self.vectorField = vectorField + } + } + +} + +extension BedrockAgentClientTypes { + /// Contains details about the storage configuration of the knowledge base in Redis Enterprise Cloud. For more information, see [Create a vector index in Redis Enterprise Cloud](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). + public struct RedisEnterpriseCloudConfiguration { + /// The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database. + /// This member is required. + public var credentialsSecretArn: Swift.String? + /// The endpoint URL of the Redis Enterprise Cloud database. + /// This member is required. + public var endpoint: Swift.String? + /// Contains the names of the fields to which to map information about the vector store. + /// This member is required. + public var fieldMapping: BedrockAgentClientTypes.RedisEnterpriseCloudFieldMapping? + /// The name of the vector index. + /// This member is required. + public var vectorIndexName: Swift.String? + + public init( + credentialsSecretArn: Swift.String? = nil, + endpoint: Swift.String? = nil, + fieldMapping: BedrockAgentClientTypes.RedisEnterpriseCloudFieldMapping? = nil, + vectorIndexName: Swift.String? = nil + ) + { + self.credentialsSecretArn = credentialsSecretArn + self.endpoint = endpoint + self.fieldMapping = fieldMapping + self.vectorIndexName = vectorIndexName + } + } + +} + +extension BedrockAgentClientTypes { + + public enum KnowledgeBaseStorageType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case mongoDbAtlas + case opensearchServerless + case pinecone + case rds + case redisEnterpriseCloud + case sdkUnknown(Swift.String) + + public static var allCases: [KnowledgeBaseStorageType] { + return [ + .mongoDbAtlas, + .opensearchServerless, + .pinecone, + .rds, + .redisEnterpriseCloud + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .mongoDbAtlas: return "MONGO_DB_ATLAS" + case .opensearchServerless: return "OPENSEARCH_SERVERLESS" + case .pinecone: return "PINECONE" + case .rds: return "RDS" + case .redisEnterpriseCloud: return "REDIS_ENTERPRISE_CLOUD" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains the storage configuration of the knowledge base. + public struct StorageConfiguration { + /// Contains the storage configuration of the knowledge base in MongoDB Atlas. + public var mongoDbAtlasConfiguration: BedrockAgentClientTypes.MongoDbAtlasConfiguration? + /// Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. + public var opensearchServerlessConfiguration: BedrockAgentClientTypes.OpenSearchServerlessConfiguration? + /// Contains the storage configuration of the knowledge base in Pinecone. + public var pineconeConfiguration: BedrockAgentClientTypes.PineconeConfiguration? + /// Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see [Create a vector index in Amazon RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). + public var rdsConfiguration: BedrockAgentClientTypes.RdsConfiguration? + /// Contains the storage configuration of the knowledge base in Redis Enterprise Cloud. + public var redisEnterpriseCloudConfiguration: BedrockAgentClientTypes.RedisEnterpriseCloudConfiguration? + /// The vector store service in which the knowledge base is stored. + /// This member is required. + public var type: BedrockAgentClientTypes.KnowledgeBaseStorageType? + + public init( + mongoDbAtlasConfiguration: BedrockAgentClientTypes.MongoDbAtlasConfiguration? = nil, + opensearchServerlessConfiguration: BedrockAgentClientTypes.OpenSearchServerlessConfiguration? = nil, + pineconeConfiguration: BedrockAgentClientTypes.PineconeConfiguration? = nil, + rdsConfiguration: BedrockAgentClientTypes.RdsConfiguration? = nil, + redisEnterpriseCloudConfiguration: BedrockAgentClientTypes.RedisEnterpriseCloudConfiguration? = nil, + type: BedrockAgentClientTypes.KnowledgeBaseStorageType? = nil + ) + { + self.mongoDbAtlasConfiguration = mongoDbAtlasConfiguration + self.opensearchServerlessConfiguration = opensearchServerlessConfiguration + self.pineconeConfiguration = pineconeConfiguration + self.rdsConfiguration = rdsConfiguration + self.redisEnterpriseCloudConfiguration = redisEnterpriseCloudConfiguration + self.type = type + } + } + +} + +public struct CreateKnowledgeBaseInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// A description of the knowledge base. + public var description: Swift.String? + /// Contains details about the embeddings model used for the knowledge base. + /// This member is required. + public var knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? + /// A name for the knowledge base. + /// This member is required. + public var name: Swift.String? + /// The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. + /// This member is required. + public var roleArn: Swift.String? + /// Contains details about the configuration of the vector database used for the knowledge base. + /// This member is required. + public var storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? + /// Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object. + public var tags: [Swift.String: Swift.String]? + + public init( + clientToken: Swift.String? = nil, + description: Swift.String? = nil, + knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? = nil, + name: Swift.String? = nil, + roleArn: Swift.String? = nil, + storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clientToken = clientToken + self.description = description + self.knowledgeBaseConfiguration = knowledgeBaseConfiguration + self.name = name + self.roleArn = roleArn + self.storageConfiguration = storageConfiguration + self.tags = tags + } +} + +extension BedrockAgentClientTypes { + + public enum KnowledgeBaseStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case active + case creating + case deleteUnsuccessful + case deleting + case failed + case updating + case sdkUnknown(Swift.String) + + public static var allCases: [KnowledgeBaseStatus] { + return [ + .active, + .creating, + .deleteUnsuccessful, + .deleting, + .failed, + .updating + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .active: return "ACTIVE" + case .creating: return "CREATING" + case .deleteUnsuccessful: return "DELETE_UNSUCCESSFUL" + case .deleting: return "DELETING" + case .failed: return "FAILED" + case .updating: return "UPDATING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentClientTypes { + /// Contains information about a knowledge base. + public struct KnowledgeBase { + /// The time at which the knowledge base was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the knowledge base. + public var description: Swift.String? + /// A list of reasons that the API operation on the knowledge base failed. + public var failureReasons: [Swift.String]? + /// The Amazon Resource Name (ARN) of the knowledge base. + /// This member is required. + public var knowledgeBaseArn: Swift.String? + /// Contains details about the embeddings configuration of the knowledge base. + /// This member is required. + public var knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? + /// The unique identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The name of the knowledge base. + /// This member is required. + public var name: Swift.String? + /// The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. + /// This member is required. + public var roleArn: Swift.String? + /// The status of the knowledge base. The following statuses are possible: + /// + /// * CREATING – The knowledge base is being created. + /// + /// * ACTIVE – The knowledge base is ready to be queried. + /// + /// * DELETING – The knowledge base is being deleted. + /// + /// * UPDATING – The knowledge base is being updated. + /// + /// * FAILED – The knowledge base API operation failed. + /// This member is required. + public var status: BedrockAgentClientTypes.KnowledgeBaseStatus? + /// Contains details about the storage configuration of the knowledge base. + /// This member is required. + public var storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? + /// The time at which the knowledge base was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + failureReasons: [Swift.String]? = nil, + knowledgeBaseArn: Swift.String? = nil, + knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? = nil, + knowledgeBaseId: Swift.String? = nil, + name: Swift.String? = nil, + roleArn: Swift.String? = nil, + status: BedrockAgentClientTypes.KnowledgeBaseStatus? = nil, + storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.createdAt = createdAt + self.description = description + self.failureReasons = failureReasons + self.knowledgeBaseArn = knowledgeBaseArn + self.knowledgeBaseConfiguration = knowledgeBaseConfiguration + self.knowledgeBaseId = knowledgeBaseId + self.name = name + self.roleArn = roleArn + self.status = status + self.storageConfiguration = storageConfiguration + self.updatedAt = updatedAt + } + } + +} + +public struct CreateKnowledgeBaseOutput { + /// Contains details about the knowledge base. + /// This member is required. + public var knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? + + public init( + knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? = nil + ) + { + self.knowledgeBase = knowledgeBase + } +} + +public struct DeleteKnowledgeBaseInput { + /// The unique identifier of the knowledge base to delete. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + knowledgeBaseId: Swift.String? = nil + ) + { + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct DeleteKnowledgeBaseOutput { + /// The unique identifier of the knowledge base that was deleted. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The status of the knowledge base and whether it has been successfully deleted. + /// This member is required. + public var status: BedrockAgentClientTypes.KnowledgeBaseStatus? + + public init( + knowledgeBaseId: Swift.String? = nil, + status: BedrockAgentClientTypes.KnowledgeBaseStatus? = nil + ) + { + self.knowledgeBaseId = knowledgeBaseId + self.status = status + } +} + +public struct DisassociateAgentKnowledgeBaseInput { + /// The unique identifier of the agent from which to disassociate the knowledge base. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent from which to disassociate the knowledge base. + /// This member is required. + public var agentVersion: Swift.String? + /// The unique identifier of the knowledge base to disassociate. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct DisassociateAgentKnowledgeBaseOutput { + + public init() { } +} + +public struct GetAgentKnowledgeBaseInput { + /// The unique identifier of the agent with which the knowledge base is associated. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent with which the knowledge base is associated. + /// This member is required. + public var agentVersion: Swift.String? + /// The unique identifier of the knowledge base associated with the agent. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct GetAgentKnowledgeBaseOutput { + /// Contains details about a knowledge base attached to an agent. + /// This member is required. + public var agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? + + public init( + agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? = nil + ) + { + self.agentKnowledgeBase = agentKnowledgeBase + } +} + +public struct GetKnowledgeBaseInput { + /// The unique identifier of the knowledge base for which to get information. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + knowledgeBaseId: Swift.String? = nil + ) + { + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct GetKnowledgeBaseOutput { + /// Contains details about the knowledge base. + /// This member is required. + public var knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? + + public init( + knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? = nil + ) + { + self.knowledgeBase = knowledgeBase + } +} + +public struct ListAgentKnowledgeBasesInput { + /// The unique identifier of the agent for which to return information about knowledge bases associated with it. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent for which to return information about knowledge bases associated with it. + /// This member is required. + public var agentVersion: Swift.String? + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +public struct ListAgentKnowledgeBasesOutput { + /// A list of objects, each of which contains information about a knowledge base associated with the agent. + /// This member is required. + public var agentKnowledgeBaseSummaries: [BedrockAgentClientTypes.AgentKnowledgeBaseSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + agentKnowledgeBaseSummaries: [BedrockAgentClientTypes.AgentKnowledgeBaseSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.agentKnowledgeBaseSummaries = agentKnowledgeBaseSummaries + self.nextToken = nextToken + } +} + +public struct ListKnowledgeBasesInput { + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension BedrockAgentClientTypes { + /// Contains details about a knowledge base. + public struct KnowledgeBaseSummary { + /// The description of the knowledge base. + public var description: Swift.String? + /// The unique identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The name of the knowledge base. + /// This member is required. + public var name: Swift.String? + /// The status of the knowledge base. + /// This member is required. + public var status: BedrockAgentClientTypes.KnowledgeBaseStatus? + /// The time at which the knowledge base was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + description: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + name: Swift.String? = nil, + status: BedrockAgentClientTypes.KnowledgeBaseStatus? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.description = description + self.knowledgeBaseId = knowledgeBaseId + self.name = name + self.status = status + self.updatedAt = updatedAt + } + } + +} + +public struct ListKnowledgeBasesOutput { + /// A list of objects, each of which contains information about a knowledge base. + /// This member is required. + public var knowledgeBaseSummaries: [BedrockAgentClientTypes.KnowledgeBaseSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + knowledgeBaseSummaries: [BedrockAgentClientTypes.KnowledgeBaseSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.knowledgeBaseSummaries = knowledgeBaseSummaries + self.nextToken = nextToken + } +} + +public struct UpdateAgentKnowledgeBaseInput { + /// The unique identifier of the agent associated with the knowledge base that you want to update. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent associated with the knowledge base that you want to update. + /// This member is required. + public var agentVersion: Swift.String? + /// Specifies a new description for the knowledge base associated with an agent. + public var description: Swift.String? + /// The unique identifier of the knowledge base that has been associated with an agent. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// Specifies whether the agent uses the knowledge base or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. + public var knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil, + description: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + self.description = description + self.knowledgeBaseId = knowledgeBaseId + self.knowledgeBaseState = knowledgeBaseState + } +} + +public struct UpdateAgentKnowledgeBaseOutput { + /// Contains details about the knowledge base that has been associated with an agent. + /// This member is required. + public var agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? + + public init( + agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? = nil + ) + { + self.agentKnowledgeBase = agentKnowledgeBase + } +} + +public struct UpdateKnowledgeBaseInput { + /// Specifies a new description for the knowledge base. + public var description: Swift.String? + /// Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created. + /// This member is required. + public var knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? + /// The unique identifier of the knowledge base to update. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// Specifies a new name for the knowledge base. + /// This member is required. + public var name: Swift.String? + /// Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. + /// This member is required. + public var roleArn: Swift.String? + /// Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created. + /// This member is required. + public var storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? + + public init( + description: Swift.String? = nil, + knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? = nil, + knowledgeBaseId: Swift.String? = nil, + name: Swift.String? = nil, + roleArn: Swift.String? = nil, + storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? = nil + ) + { + self.description = description + self.knowledgeBaseConfiguration = knowledgeBaseConfiguration + self.knowledgeBaseId = knowledgeBaseId + self.name = name + self.roleArn = roleArn + self.storageConfiguration = storageConfiguration + } +} + +public struct UpdateKnowledgeBaseOutput { + /// Contains details about the knowledge base. + /// This member is required. + public var knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? + + public init( + knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? = nil + ) + { + self.knowledgeBase = knowledgeBase + } +} + +extension BedrockAgentClientTypes { + /// Contains details about a variant of the prompt. + public struct PromptVariant { + /// Contains inference configurations for the prompt variant. + public var inferenceConfiguration: BedrockAgentClientTypes.PromptInferenceConfiguration? + /// The unique identifier of the model with which to run inference on the prompt. + public var modelId: Swift.String? + /// The name of the prompt variant. + /// This member is required. + public var name: Swift.String? + /// Contains configurations for the prompt template. + public var templateConfiguration: BedrockAgentClientTypes.PromptTemplateConfiguration? + /// The type of prompt template to use. + /// This member is required. + public var templateType: BedrockAgentClientTypes.PromptTemplateType? + + public init( + inferenceConfiguration: BedrockAgentClientTypes.PromptInferenceConfiguration? = nil, + modelId: Swift.String? = nil, + name: Swift.String? = nil, + templateConfiguration: BedrockAgentClientTypes.PromptTemplateConfiguration? = nil, + templateType: BedrockAgentClientTypes.PromptTemplateType? = nil + ) + { + self.inferenceConfiguration = inferenceConfiguration + self.modelId = modelId + self.name = name + self.templateConfiguration = templateConfiguration + self.templateType = templateType + } + } + +} + +extension BedrockAgentClientTypes.PromptVariant: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +public struct CreatePromptInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. + public var customerEncryptionKeyArn: Swift.String? + /// The name of the default variant for the prompt. This value must match the name field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. + public var defaultVariant: Swift.String? + /// A description for the prompt. + public var description: Swift.String? + /// A name for the prompt. + /// This member is required. + public var name: Swift.String? + /// Any tags that you want to attach to the prompt. For more information, see [Tagging resources in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + public var tags: [Swift.String: Swift.String]? + /// A list of objects, each containing details about a variant of the prompt. + public var variants: [BedrockAgentClientTypes.PromptVariant]? + + public init( + clientToken: Swift.String? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + defaultVariant: Swift.String? = nil, + description: Swift.String? = nil, + name: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil, + variants: [BedrockAgentClientTypes.PromptVariant]? = nil + ) + { + self.clientToken = clientToken + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.defaultVariant = defaultVariant + self.description = description + self.name = name + self.tags = tags + self.variants = variants + } +} + +extension CreatePromptInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreatePromptInput(clientToken: \(Swift.String(describing: clientToken)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), defaultVariant: \(Swift.String(describing: defaultVariant)), description: \(Swift.String(describing: description)), name: \(Swift.String(describing: name)), tags: \(Swift.String(describing: tags)), variants: \"CONTENT_REDACTED\")"} +} + +public struct CreatePromptOutput { + /// The Amazon Resource Name (ARN) of the prompt. + /// This member is required. + public var arn: Swift.String? + /// The time at which the prompt was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key that you encrypted the prompt with. + public var customerEncryptionKeyArn: Swift.String? + /// The name of the default variant for your prompt. + public var defaultVariant: Swift.String? + /// The description of the prompt. + public var description: Swift.String? + /// The unique identifier of the prompt. + /// This member is required. + public var id: Swift.String? + /// The name of the prompt. + /// This member is required. + public var name: Swift.String? + /// The time at which the prompt was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// A list of objects, each containing details about a variant of the prompt. + public var variants: [BedrockAgentClientTypes.PromptVariant]? + /// The version of the prompt. When you create a prompt, the version created is the DRAFT version. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + defaultVariant: Swift.String? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + variants: [BedrockAgentClientTypes.PromptVariant]? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.defaultVariant = defaultVariant + self.description = description + self.id = id + self.name = name + self.updatedAt = updatedAt + self.variants = variants + self.version = version + } +} + +extension CreatePromptOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreatePromptOutput(arn: \(Swift.String(describing: arn)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), defaultVariant: \(Swift.String(describing: defaultVariant)), description: \(Swift.String(describing: description)), id: \(Swift.String(describing: id)), name: \(Swift.String(describing: name)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), variants: \"CONTENT_REDACTED\")"} +} + +public struct CreatePromptVersionInput { + /// A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + public var clientToken: Swift.String? + /// A description for the version of the prompt. + public var description: Swift.String? + /// The unique identifier of the prompt that you want to create a version of. + /// This member is required. + public var promptIdentifier: Swift.String? + /// Any tags that you want to attach to the version of the prompt. For more information, see [Tagging resources in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + public var tags: [Swift.String: Swift.String]? + + public init( + clientToken: Swift.String? = nil, + description: Swift.String? = nil, + promptIdentifier: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.clientToken = clientToken + self.description = description + self.promptIdentifier = promptIdentifier + self.tags = tags + } +} + +public struct CreatePromptVersionOutput { + /// The Amazon Resource Name (ARN) of the version of the prompt. + /// This member is required. + public var arn: Swift.String? + /// The time at which the prompt was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key to encrypt the version of the prompt. + public var customerEncryptionKeyArn: Swift.String? + /// The name of the default variant for the prompt. This value must match the name field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. + public var defaultVariant: Swift.String? + /// A description for the prompt version. + public var description: Swift.String? + /// The unique identifier of the prompt. + /// This member is required. + public var id: Swift.String? + /// The name of the prompt version. + /// This member is required. + public var name: Swift.String? + /// The time at which the prompt was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// A list of objects, each containing details about a variant of the prompt. + public var variants: [BedrockAgentClientTypes.PromptVariant]? + /// The version of the prompt that was created. Versions are numbered incrementally, starting from 1. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + defaultVariant: Swift.String? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + variants: [BedrockAgentClientTypes.PromptVariant]? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.defaultVariant = defaultVariant + self.description = description + self.id = id + self.name = name + self.updatedAt = updatedAt + self.variants = variants + self.version = version + } +} + +extension CreatePromptVersionOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreatePromptVersionOutput(arn: \(Swift.String(describing: arn)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), defaultVariant: \(Swift.String(describing: defaultVariant)), description: \(Swift.String(describing: description)), id: \(Swift.String(describing: id)), name: \(Swift.String(describing: name)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), variants: \"CONTENT_REDACTED\")"} +} + +public struct DeletePromptInput { + /// The unique identifier of the prompt. + /// This member is required. + public var promptIdentifier: Swift.String? + /// The version of the prompt to delete. + public var promptVersion: Swift.String? + + public init( + promptIdentifier: Swift.String? = nil, + promptVersion: Swift.String? = nil + ) + { + self.promptIdentifier = promptIdentifier + self.promptVersion = promptVersion + } +} + +public struct DeletePromptOutput { + /// The unique identifier of the prompt that was deleted. + /// This member is required. + public var id: Swift.String? + /// The version of the prompt that was deleted. + public var version: Swift.String? + + public init( + id: Swift.String? = nil, + version: Swift.String? = nil + ) + { + self.id = id + self.version = version + } +} + +public struct GetPromptInput { + /// The unique identifier of the prompt. + /// This member is required. + public var promptIdentifier: Swift.String? + /// The version of the prompt about which you want to retrieve information. + public var promptVersion: Swift.String? + + public init( + promptIdentifier: Swift.String? = nil, + promptVersion: Swift.String? = nil + ) + { + self.promptIdentifier = promptIdentifier + self.promptVersion = promptVersion + } +} + +public struct GetPromptOutput { + /// The Amazon Resource Name (ARN) of the prompt. + /// This member is required. + public var arn: Swift.String? + /// The time at which the prompt was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key that the prompt is encrypted with. + public var customerEncryptionKeyArn: Swift.String? + /// The name of the default variant for the prompt. This value must match the name field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. + public var defaultVariant: Swift.String? + /// The descriptino of the prompt. + public var description: Swift.String? + /// The unique identifier of the prompt. + /// This member is required. + public var id: Swift.String? + /// The name of the prompt. + /// This member is required. + public var name: Swift.String? + /// The time at which the prompt was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// A list of objects, each containing details about a variant of the prompt. + public var variants: [BedrockAgentClientTypes.PromptVariant]? + /// The version of the prompt. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + defaultVariant: Swift.String? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + variants: [BedrockAgentClientTypes.PromptVariant]? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.defaultVariant = defaultVariant + self.description = description + self.id = id + self.name = name + self.updatedAt = updatedAt + self.variants = variants + self.version = version + } +} + +extension GetPromptOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetPromptOutput(arn: \(Swift.String(describing: arn)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), defaultVariant: \(Swift.String(describing: defaultVariant)), description: \(Swift.String(describing: description)), id: \(Swift.String(describing: id)), name: \(Swift.String(describing: name)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), variants: \"CONTENT_REDACTED\")"} +} + +public struct ListPromptsInput { + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + /// The unique identifier of the prompt. + public var promptIdentifier: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + promptIdentifier: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + self.promptIdentifier = promptIdentifier + } +} + +extension BedrockAgentClientTypes { + /// Contains information about a prompt in your Prompt management tool. This data type is used in the following API operations: + /// + /// * [ListPrompts response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListPrompts.html#API_agent_ListPrompts_ResponseSyntax) + public struct PromptSummary { + /// The Amazon Resource Name (ARN) of the prompt. + /// This member is required. + public var arn: Swift.String? + /// The time at which the prompt was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the prompt. + public var description: Swift.String? + /// The unique identifier of the prompt. + /// This member is required. + public var id: Swift.String? + /// The name of the prompt. + /// This member is required. + public var name: Swift.String? + /// The time at which the prompt was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The version of the prompt that this summary applies to. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.description = description + self.id = id + self.name = name + self.updatedAt = updatedAt + self.version = version + } + } + +} + +public struct ListPromptsOutput { + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + /// A list, each member of which contains information about a prompt using Prompt management. + /// This member is required. + public var promptSummaries: [BedrockAgentClientTypes.PromptSummary]? + + public init( + nextToken: Swift.String? = nil, + promptSummaries: [BedrockAgentClientTypes.PromptSummary]? = nil + ) + { + self.nextToken = nextToken + self.promptSummaries = promptSummaries + } +} + +public struct UpdatePromptInput { + /// The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. + public var customerEncryptionKeyArn: Swift.String? + /// The name of the default variant for the prompt. This value must match the name field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. + public var defaultVariant: Swift.String? + /// A description for the prompt. + public var description: Swift.String? + /// A name for the prompt. + /// This member is required. + public var name: Swift.String? + /// The unique identifier of the prompt. + /// This member is required. + public var promptIdentifier: Swift.String? + /// A list of objects, each containing details about a variant of the prompt. + public var variants: [BedrockAgentClientTypes.PromptVariant]? + + public init( + customerEncryptionKeyArn: Swift.String? = nil, + defaultVariant: Swift.String? = nil, + description: Swift.String? = nil, + name: Swift.String? = nil, + promptIdentifier: Swift.String? = nil, + variants: [BedrockAgentClientTypes.PromptVariant]? = nil + ) + { + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.defaultVariant = defaultVariant + self.description = description + self.name = name + self.promptIdentifier = promptIdentifier + self.variants = variants + } +} + +extension UpdatePromptInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdatePromptInput(customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), defaultVariant: \(Swift.String(describing: defaultVariant)), description: \(Swift.String(describing: description)), name: \(Swift.String(describing: name)), promptIdentifier: \(Swift.String(describing: promptIdentifier)), variants: \"CONTENT_REDACTED\")"} +} + +public struct UpdatePromptOutput { + /// The Amazon Resource Name (ARN) of the prompt. + /// This member is required. + public var arn: Swift.String? + /// The time at which the prompt was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. + public var customerEncryptionKeyArn: Swift.String? + /// The name of the default variant for the prompt. This value must match the name field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. + public var defaultVariant: Swift.String? + /// The description of the prompt. + public var description: Swift.String? + /// The unique identifier of the prompt. + /// This member is required. + public var id: Swift.String? + /// The name of the prompt. + /// This member is required. + public var name: Swift.String? + /// The time at which the prompt was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// A list of objects, each containing details about a variant of the prompt. + public var variants: [BedrockAgentClientTypes.PromptVariant]? + /// The version of the prompt. When you update a prompt, the version updated is the DRAFT version. + /// This member is required. + public var version: Swift.String? + + public init( + arn: Swift.String? = nil, + createdAt: Foundation.Date? = nil, + customerEncryptionKeyArn: Swift.String? = nil, + defaultVariant: Swift.String? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + variants: [BedrockAgentClientTypes.PromptVariant]? = nil, + version: Swift.String? = nil + ) + { + self.arn = arn + self.createdAt = createdAt + self.customerEncryptionKeyArn = customerEncryptionKeyArn + self.defaultVariant = defaultVariant + self.description = description + self.id = id + self.name = name + self.updatedAt = updatedAt + self.variants = variants + self.version = version + } +} + +extension UpdatePromptOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdatePromptOutput(arn: \(Swift.String(describing: arn)), createdAt: \(Swift.String(describing: createdAt)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), defaultVariant: \(Swift.String(describing: defaultVariant)), description: \(Swift.String(describing: description)), id: \(Swift.String(describing: id)), name: \(Swift.String(describing: name)), updatedAt: \(Swift.String(describing: updatedAt)), version: \(Swift.String(describing: version)), variants: \"CONTENT_REDACTED\")"} +} + +public struct ListTagsForResourceInput { + /// The Amazon Resource Name (ARN) of the resource for which to list tags. + /// This member is required. + public var resourceArn: Swift.String? + + public init( + resourceArn: Swift.String? = nil + ) + { + self.resourceArn = resourceArn + } +} + +public struct ListTagsForResourceOutput { + /// The key-value pairs for the tags associated with the resource. + public var tags: [Swift.String: Swift.String]? + + public init( + tags: [Swift.String: Swift.String]? = nil + ) + { + self.tags = tags + } +} + +public struct TagResourceInput { + /// The Amazon Resource Name (ARN) of the resource to tag. + /// This member is required. + public var resourceArn: Swift.String? + /// An object containing key-value pairs that define the tags to attach to the resource. + /// This member is required. + public var tags: [Swift.String: Swift.String]? + + public init( + resourceArn: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.resourceArn = resourceArn + self.tags = tags + } +} + +public struct TagResourceOutput { + + public init() { } +} + +public struct UntagResourceInput { + /// The Amazon Resource Name (ARN) of the resource from which to remove tags. + /// This member is required. + public var resourceArn: Swift.String? + /// A list of keys of the tags to remove from the resource. + /// This member is required. + public var tagKeys: [Swift.String]? + + public init( + resourceArn: Swift.String? = nil, + tagKeys: [Swift.String]? = nil + ) + { + self.resourceArn = resourceArn + self.tagKeys = tagKeys + } +} + +public struct UntagResourceOutput { + + public init() { } +} + +public struct DeleteAgentVersionInput { + /// The unique identifier of the agent that the version belongs to. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent to delete. + /// This member is required. + public var agentVersion: Swift.String? + /// By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use. + public var skipResourceInUseCheck: Swift.Bool? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil, + skipResourceInUseCheck: Swift.Bool? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + self.skipResourceInUseCheck = skipResourceInUseCheck + } +} + +public struct DeleteAgentVersionOutput { + /// The unique identifier of the agent that the version belongs to. + /// This member is required. + public var agentId: Swift.String? + /// The status of the agent version. + /// This member is required. + public var agentStatus: BedrockAgentClientTypes.AgentStatus? + /// The version that was deleted. + /// This member is required. + public var agentVersion: Swift.String? + + public init( + agentId: Swift.String? = nil, + agentStatus: BedrockAgentClientTypes.AgentStatus? = nil, + agentVersion: Swift.String? = nil + ) + { + self.agentId = agentId + self.agentStatus = agentStatus + self.agentVersion = agentVersion + } +} + +public struct GetAgentVersionInput { + /// The unique identifier of the agent. + /// This member is required. + public var agentId: Swift.String? + /// The version of the agent. + /// This member is required. + public var agentVersion: Swift.String? + + public init( + agentId: Swift.String? = nil, + agentVersion: Swift.String? = nil + ) + { + self.agentId = agentId + self.agentVersion = agentVersion + } +} + +public struct GetAgentVersionOutput { + /// Contains details about the version of the agent. + /// This member is required. + public var agentVersion: BedrockAgentClientTypes.AgentVersion? + + public init( + agentVersion: BedrockAgentClientTypes.AgentVersion? = nil + ) + { + self.agentVersion = agentVersion + } +} + +public struct ListAgentVersionsInput { + /// The unique identifier of the agent. + /// This member is required. + public var agentId: Swift.String? + /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxResults: Swift.Int? + /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + agentId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.agentId = agentId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +public struct ListAgentVersionsOutput { + /// A list of objects, each of which contains information about a version of the agent. + /// This member is required. + public var agentVersionSummaries: [BedrockAgentClientTypes.AgentVersionSummary]? + /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + agentVersionSummaries: [BedrockAgentClientTypes.AgentVersionSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.agentVersionSummaries = agentVersionSummaries + self.nextToken = nextToken + } +} + +extension AssociateAgentKnowledgeBaseInput { + + static func urlPathProvider(_ value: AssociateAgentKnowledgeBaseInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases" + } +} + +extension CreateAgentInput { + + static func urlPathProvider(_ value: CreateAgentInput) -> Swift.String? { + return "/agents" + } +} + +extension CreateAgentActionGroupInput { + + static func urlPathProvider(_ value: CreateAgentActionGroupInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups" + } +} + +extension CreateAgentAliasInput { + + static func urlPathProvider(_ value: CreateAgentAliasInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentaliases" + } +} + +extension CreateDataSourceInput { + + static func urlPathProvider(_ value: CreateDataSourceInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources" + } +} + +extension CreateFlowInput { + + static func urlPathProvider(_ value: CreateFlowInput) -> Swift.String? { + return "/flows" + } +} + +extension CreateFlowAliasInput { + + static func urlPathProvider(_ value: CreateFlowAliasInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/aliases" + } +} + +extension CreateFlowVersionInput { + + static func urlPathProvider(_ value: CreateFlowVersionInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/versions" + } +} + +extension CreateKnowledgeBaseInput { + + static func urlPathProvider(_ value: CreateKnowledgeBaseInput) -> Swift.String? { + return "/knowledgebases" + } +} + +extension CreatePromptInput { + + static func urlPathProvider(_ value: CreatePromptInput) -> Swift.String? { + return "/prompts" + } +} + +extension CreatePromptVersionInput { + + static func urlPathProvider(_ value: CreatePromptVersionInput) -> Swift.String? { + guard let promptIdentifier = value.promptIdentifier else { + return nil + } + return "/prompts/\(promptIdentifier.urlPercentEncoding())/versions" + } +} + +extension DeleteAgentInput { + + static func urlPathProvider(_ value: DeleteAgentInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())" + } +} + +extension DeleteAgentInput { + + static func queryItemProvider(_ value: DeleteAgentInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let skipResourceInUseCheck = value.skipResourceInUseCheck { + let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) + items.append(skipResourceInUseCheckQueryItem) + } + return items + } +} + +extension DeleteAgentActionGroupInput { + + static func urlPathProvider(_ value: DeleteAgentActionGroupInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + guard let actionGroupId = value.actionGroupId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups/\(actionGroupId.urlPercentEncoding())" + } +} + +extension DeleteAgentActionGroupInput { + + static func queryItemProvider(_ value: DeleteAgentActionGroupInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let skipResourceInUseCheck = value.skipResourceInUseCheck { + let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) + items.append(skipResourceInUseCheckQueryItem) + } + return items + } +} + +extension DeleteAgentAliasInput { + + static func urlPathProvider(_ value: DeleteAgentAliasInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentAliasId = value.agentAliasId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentaliases/\(agentAliasId.urlPercentEncoding())" + } +} + +extension DeleteAgentVersionInput { + + static func urlPathProvider(_ value: DeleteAgentVersionInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())" + } +} + +extension DeleteAgentVersionInput { + + static func queryItemProvider(_ value: DeleteAgentVersionInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let skipResourceInUseCheck = value.skipResourceInUseCheck { + let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) + items.append(skipResourceInUseCheckQueryItem) + } + return items + } +} + +extension DeleteDataSourceInput { + + static func urlPathProvider(_ value: DeleteDataSourceInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let dataSourceId = value.dataSourceId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())" + } +} + +extension DeleteFlowInput { + + static func urlPathProvider(_ value: DeleteFlowInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())" + } +} + +extension DeleteFlowInput { + + static func queryItemProvider(_ value: DeleteFlowInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let skipResourceInUseCheck = value.skipResourceInUseCheck { + let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) + items.append(skipResourceInUseCheckQueryItem) + } + return items + } +} + +extension DeleteFlowAliasInput { + + static func urlPathProvider(_ value: DeleteFlowAliasInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + guard let aliasIdentifier = value.aliasIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/aliases/\(aliasIdentifier.urlPercentEncoding())" + } +} + +extension DeleteFlowVersionInput { + + static func urlPathProvider(_ value: DeleteFlowVersionInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + guard let flowVersion = value.flowVersion else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/versions/\(flowVersion.urlPercentEncoding())" + } +} + +extension DeleteFlowVersionInput { + + static func queryItemProvider(_ value: DeleteFlowVersionInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let skipResourceInUseCheck = value.skipResourceInUseCheck { + let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) + items.append(skipResourceInUseCheckQueryItem) + } + return items + } +} + +extension DeleteKnowledgeBaseInput { + + static func urlPathProvider(_ value: DeleteKnowledgeBaseInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + } +} + +extension DeletePromptInput { + + static func urlPathProvider(_ value: DeletePromptInput) -> Swift.String? { + guard let promptIdentifier = value.promptIdentifier else { + return nil + } + return "/prompts/\(promptIdentifier.urlPercentEncoding())" + } +} + +extension DeletePromptInput { + + static func queryItemProvider(_ value: DeletePromptInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let promptVersion = value.promptVersion { + let promptVersionQueryItem = Smithy.URIQueryItem(name: "promptVersion".urlPercentEncoding(), value: Swift.String(promptVersion).urlPercentEncoding()) + items.append(promptVersionQueryItem) + } + return items + } +} + +extension DisassociateAgentKnowledgeBaseInput { + + static func urlPathProvider(_ value: DisassociateAgentKnowledgeBaseInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + } +} + +extension GetAgentInput { + + static func urlPathProvider(_ value: GetAgentInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())" + } +} + +extension GetAgentActionGroupInput { + + static func urlPathProvider(_ value: GetAgentActionGroupInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + guard let actionGroupId = value.actionGroupId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups/\(actionGroupId.urlPercentEncoding())" + } +} + +extension GetAgentAliasInput { + + static func urlPathProvider(_ value: GetAgentAliasInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentAliasId = value.agentAliasId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentaliases/\(agentAliasId.urlPercentEncoding())" + } +} + +extension GetAgentKnowledgeBaseInput { + + static func urlPathProvider(_ value: GetAgentKnowledgeBaseInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + } +} + +extension GetAgentVersionInput { + + static func urlPathProvider(_ value: GetAgentVersionInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())" + } +} + +extension GetDataSourceInput { + + static func urlPathProvider(_ value: GetDataSourceInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let dataSourceId = value.dataSourceId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())" + } +} + +extension GetFlowInput { + + static func urlPathProvider(_ value: GetFlowInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())" + } +} + +extension GetFlowAliasInput { + + static func urlPathProvider(_ value: GetFlowAliasInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + guard let aliasIdentifier = value.aliasIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/aliases/\(aliasIdentifier.urlPercentEncoding())" + } +} + +extension GetFlowVersionInput { + + static func urlPathProvider(_ value: GetFlowVersionInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + guard let flowVersion = value.flowVersion else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/versions/\(flowVersion.urlPercentEncoding())" + } +} + +extension GetIngestionJobInput { + + static func urlPathProvider(_ value: GetIngestionJobInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let dataSourceId = value.dataSourceId else { + return nil + } + guard let ingestionJobId = value.ingestionJobId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())/ingestionjobs/\(ingestionJobId.urlPercentEncoding())" + } +} + +extension GetKnowledgeBaseInput { + + static func urlPathProvider(_ value: GetKnowledgeBaseInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + } +} + +extension GetPromptInput { + + static func urlPathProvider(_ value: GetPromptInput) -> Swift.String? { + guard let promptIdentifier = value.promptIdentifier else { + return nil + } + return "/prompts/\(promptIdentifier.urlPercentEncoding())" + } +} + +extension GetPromptInput { + + static func queryItemProvider(_ value: GetPromptInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let promptVersion = value.promptVersion { + let promptVersionQueryItem = Smithy.URIQueryItem(name: "promptVersion".urlPercentEncoding(), value: Swift.String(promptVersion).urlPercentEncoding()) + items.append(promptVersionQueryItem) + } + return items + } +} + +extension ListAgentActionGroupsInput { + + static func urlPathProvider(_ value: ListAgentActionGroupsInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups" + } +} + +extension ListAgentAliasesInput { + + static func urlPathProvider(_ value: ListAgentAliasesInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentaliases" + } +} + +extension ListAgentKnowledgeBasesInput { + + static func urlPathProvider(_ value: ListAgentKnowledgeBasesInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases" + } +} + +extension ListAgentsInput { + + static func urlPathProvider(_ value: ListAgentsInput) -> Swift.String? { + return "/agents" + } +} + +extension ListAgentVersionsInput { + + static func urlPathProvider(_ value: ListAgentVersionsInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions" + } +} + +extension ListDataSourcesInput { + + static func urlPathProvider(_ value: ListDataSourcesInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources" + } +} + +extension ListFlowAliasesInput { + + static func urlPathProvider(_ value: ListFlowAliasesInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/aliases" + } +} + +extension ListFlowAliasesInput { + + static func queryItemProvider(_ value: ListFlowAliasesInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + return items + } +} + +extension ListFlowsInput { + + static func urlPathProvider(_ value: ListFlowsInput) -> Swift.String? { + return "/flows" + } +} + +extension ListFlowsInput { + + static func queryItemProvider(_ value: ListFlowsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + return items + } +} + +extension ListFlowVersionsInput { + + static func urlPathProvider(_ value: ListFlowVersionsInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/versions" + } +} + +extension ListFlowVersionsInput { + + static func queryItemProvider(_ value: ListFlowVersionsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + return items + } +} + +extension ListIngestionJobsInput { + + static func urlPathProvider(_ value: ListIngestionJobsInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let dataSourceId = value.dataSourceId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())/ingestionjobs" + } +} + +extension ListKnowledgeBasesInput { + + static func urlPathProvider(_ value: ListKnowledgeBasesInput) -> Swift.String? { + return "/knowledgebases" + } +} + +extension ListPromptsInput { + + static func urlPathProvider(_ value: ListPromptsInput) -> Swift.String? { + return "/prompts" + } +} + +extension ListPromptsInput { + + static func queryItemProvider(_ value: ListPromptsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let promptIdentifier = value.promptIdentifier { + let promptIdentifierQueryItem = Smithy.URIQueryItem(name: "promptIdentifier".urlPercentEncoding(), value: Swift.String(promptIdentifier).urlPercentEncoding()) + items.append(promptIdentifierQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + return items + } +} + +extension ListTagsForResourceInput { + + static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { + guard let resourceArn = value.resourceArn else { + return nil + } + return "/tags/\(resourceArn.urlPercentEncoding())" + } +} + +extension PrepareAgentInput { + + static func urlPathProvider(_ value: PrepareAgentInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())" + } +} + +extension PrepareFlowInput { + + static func urlPathProvider(_ value: PrepareFlowInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())" + } +} + +extension StartIngestionJobInput { + + static func urlPathProvider(_ value: StartIngestionJobInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let dataSourceId = value.dataSourceId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())/ingestionjobs" + } +} + +extension TagResourceInput { + + static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { + guard let resourceArn = value.resourceArn else { + return nil + } + return "/tags/\(resourceArn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { + guard let resourceArn = value.resourceArn else { + return nil + } + return "/tags/\(resourceArn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func queryItemProvider(_ value: UntagResourceInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let tagKeys = value.tagKeys else { + let message = "Creating a URL Query Item failed. tagKeys is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + tagKeys.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "tagKeys".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + return items + } +} + +extension UpdateAgentInput { + + static func urlPathProvider(_ value: UpdateAgentInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())" + } +} + +extension UpdateAgentActionGroupInput { + + static func urlPathProvider(_ value: UpdateAgentActionGroupInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + guard let actionGroupId = value.actionGroupId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups/\(actionGroupId.urlPercentEncoding())" + } +} + +extension UpdateAgentAliasInput { + + static func urlPathProvider(_ value: UpdateAgentAliasInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentAliasId = value.agentAliasId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentaliases/\(agentAliasId.urlPercentEncoding())" + } +} + +extension UpdateAgentKnowledgeBaseInput { + + static func urlPathProvider(_ value: UpdateAgentKnowledgeBaseInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentVersion = value.agentVersion else { + return nil + } + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + } +} + +extension UpdateDataSourceInput { + + static func urlPathProvider(_ value: UpdateDataSourceInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let dataSourceId = value.dataSourceId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())" + } +} + +extension UpdateFlowInput { + + static func urlPathProvider(_ value: UpdateFlowInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())" + } +} + +extension UpdateFlowAliasInput { + + static func urlPathProvider(_ value: UpdateFlowAliasInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + guard let aliasIdentifier = value.aliasIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/aliases/\(aliasIdentifier.urlPercentEncoding())" + } +} + +extension UpdateKnowledgeBaseInput { + + static func urlPathProvider(_ value: UpdateKnowledgeBaseInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + } +} + +extension UpdatePromptInput { + + static func urlPathProvider(_ value: UpdatePromptInput) -> Swift.String? { + guard let promptIdentifier = value.promptIdentifier else { + return nil + } + return "/prompts/\(promptIdentifier.urlPercentEncoding())" + } +} + +extension AssociateAgentKnowledgeBaseInput { + + static func write(value: AssociateAgentKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["knowledgeBaseId"].write(value.knowledgeBaseId) + try writer["knowledgeBaseState"].write(value.knowledgeBaseState) + } +} + +extension CreateAgentInput { + + static func write(value: CreateAgentInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["agentName"].write(value.agentName) + try writer["agentResourceRoleArn"].write(value.agentResourceRoleArn) + try writer["clientToken"].write(value.clientToken) + try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) + try writer["description"].write(value.description) + try writer["foundationModel"].write(value.foundationModel) + try writer["guardrailConfiguration"].write(value.guardrailConfiguration, with: BedrockAgentClientTypes.GuardrailConfiguration.write(value:to:)) + try writer["idleSessionTTLInSeconds"].write(value.idleSessionTTLInSeconds) + try writer["instruction"].write(value.instruction) + try writer["memoryConfiguration"].write(value.memoryConfiguration, with: BedrockAgentClientTypes.MemoryConfiguration.write(value:to:)) + try writer["promptOverrideConfiguration"].write(value.promptOverrideConfiguration, with: BedrockAgentClientTypes.PromptOverrideConfiguration.write(value:to:)) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateAgentActionGroupInput { + + static func write(value: CreateAgentActionGroupInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["actionGroupExecutor"].write(value.actionGroupExecutor, with: BedrockAgentClientTypes.ActionGroupExecutor.write(value:to:)) + try writer["actionGroupName"].write(value.actionGroupName) + try writer["actionGroupState"].write(value.actionGroupState) + try writer["apiSchema"].write(value.apiSchema, with: BedrockAgentClientTypes.APISchema.write(value:to:)) + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["functionSchema"].write(value.functionSchema, with: BedrockAgentClientTypes.FunctionSchema.write(value:to:)) + try writer["parentActionGroupSignature"].write(value.parentActionGroupSignature) + } +} + +extension CreateAgentAliasInput { + + static func write(value: CreateAgentAliasInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["agentAliasName"].write(value.agentAliasName) + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["routingConfiguration"].writeList(value.routingConfiguration, memberWritingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateDataSourceInput { + + static func write(value: CreateDataSourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["dataDeletionPolicy"].write(value.dataDeletionPolicy) + try writer["dataSourceConfiguration"].write(value.dataSourceConfiguration, with: BedrockAgentClientTypes.DataSourceConfiguration.write(value:to:)) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["serverSideEncryptionConfiguration"].write(value.serverSideEncryptionConfiguration, with: BedrockAgentClientTypes.ServerSideEncryptionConfiguration.write(value:to:)) + try writer["vectorIngestionConfiguration"].write(value.vectorIngestionConfiguration, with: BedrockAgentClientTypes.VectorIngestionConfiguration.write(value:to:)) + } +} + +extension CreateFlowInput { + + static func write(value: CreateFlowInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) + try writer["definition"].write(value.definition, with: BedrockAgentClientTypes.FlowDefinition.write(value:to:)) + try writer["description"].write(value.description) + try writer["executionRoleArn"].write(value.executionRoleArn) + try writer["name"].write(value.name) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateFlowAliasInput { + + static func write(value: CreateFlowAliasInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["routingConfiguration"].writeList(value.routingConfiguration, memberWritingClosure: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreateFlowVersionInput { + + static func write(value: CreateFlowVersionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + } +} + +extension CreateKnowledgeBaseInput { + + static func write(value: CreateKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["knowledgeBaseConfiguration"].write(value.knowledgeBaseConfiguration, with: BedrockAgentClientTypes.KnowledgeBaseConfiguration.write(value:to:)) + try writer["name"].write(value.name) + try writer["roleArn"].write(value.roleArn) + try writer["storageConfiguration"].write(value.storageConfiguration, with: BedrockAgentClientTypes.StorageConfiguration.write(value:to:)) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension CreatePromptInput { + + static func write(value: CreatePromptInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) + try writer["defaultVariant"].write(value.defaultVariant) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["variants"].writeList(value.variants, memberWritingClosure: BedrockAgentClientTypes.PromptVariant.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension CreatePromptVersionInput { + + static func write(value: CreatePromptVersionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ListAgentActionGroupsInput { + + static func write(value: ListAgentActionGroupsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension ListAgentAliasesInput { + + static func write(value: ListAgentAliasesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension ListAgentKnowledgeBasesInput { + + static func write(value: ListAgentKnowledgeBasesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension ListAgentsInput { + + static func write(value: ListAgentsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension ListAgentVersionsInput { + + static func write(value: ListAgentVersionsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension ListDataSourcesInput { + + static func write(value: ListDataSourcesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension ListIngestionJobsInput { + + static func write(value: ListIngestionJobsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filters"].writeList(value.filters, memberWritingClosure: BedrockAgentClientTypes.IngestionJobFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + try writer["sortBy"].write(value.sortBy, with: BedrockAgentClientTypes.IngestionJobSortBy.write(value:to:)) + } +} + +extension ListKnowledgeBasesInput { + + static func write(value: ListKnowledgeBasesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension StartIngestionJobInput { + + static func write(value: StartIngestionJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + } +} + +extension TagResourceInput { + + static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension UpdateAgentInput { + + static func write(value: UpdateAgentInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["agentName"].write(value.agentName) + try writer["agentResourceRoleArn"].write(value.agentResourceRoleArn) + try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) + try writer["description"].write(value.description) + try writer["foundationModel"].write(value.foundationModel) + try writer["guardrailConfiguration"].write(value.guardrailConfiguration, with: BedrockAgentClientTypes.GuardrailConfiguration.write(value:to:)) + try writer["idleSessionTTLInSeconds"].write(value.idleSessionTTLInSeconds) + try writer["instruction"].write(value.instruction) + try writer["memoryConfiguration"].write(value.memoryConfiguration, with: BedrockAgentClientTypes.MemoryConfiguration.write(value:to:)) + try writer["promptOverrideConfiguration"].write(value.promptOverrideConfiguration, with: BedrockAgentClientTypes.PromptOverrideConfiguration.write(value:to:)) + } +} + +extension UpdateAgentActionGroupInput { + + static func write(value: UpdateAgentActionGroupInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["actionGroupExecutor"].write(value.actionGroupExecutor, with: BedrockAgentClientTypes.ActionGroupExecutor.write(value:to:)) + try writer["actionGroupName"].write(value.actionGroupName) + try writer["actionGroupState"].write(value.actionGroupState) + try writer["apiSchema"].write(value.apiSchema, with: BedrockAgentClientTypes.APISchema.write(value:to:)) + try writer["description"].write(value.description) + try writer["functionSchema"].write(value.functionSchema, with: BedrockAgentClientTypes.FunctionSchema.write(value:to:)) + try writer["parentActionGroupSignature"].write(value.parentActionGroupSignature) + } +} + +extension UpdateAgentAliasInput { + + static func write(value: UpdateAgentAliasInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["agentAliasName"].write(value.agentAliasName) + try writer["description"].write(value.description) + try writer["routingConfiguration"].writeList(value.routingConfiguration, memberWritingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension UpdateAgentKnowledgeBaseInput { + + static func write(value: UpdateAgentKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["knowledgeBaseState"].write(value.knowledgeBaseState) + } +} + +extension UpdateDataSourceInput { + + static func write(value: UpdateDataSourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["dataDeletionPolicy"].write(value.dataDeletionPolicy) + try writer["dataSourceConfiguration"].write(value.dataSourceConfiguration, with: BedrockAgentClientTypes.DataSourceConfiguration.write(value:to:)) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["serverSideEncryptionConfiguration"].write(value.serverSideEncryptionConfiguration, with: BedrockAgentClientTypes.ServerSideEncryptionConfiguration.write(value:to:)) + try writer["vectorIngestionConfiguration"].write(value.vectorIngestionConfiguration, with: BedrockAgentClientTypes.VectorIngestionConfiguration.write(value:to:)) + } +} + +extension UpdateFlowInput { + + static func write(value: UpdateFlowInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) + try writer["definition"].write(value.definition, with: BedrockAgentClientTypes.FlowDefinition.write(value:to:)) + try writer["description"].write(value.description) + try writer["executionRoleArn"].write(value.executionRoleArn) + try writer["name"].write(value.name) + } +} + +extension UpdateFlowAliasInput { + + static func write(value: UpdateFlowAliasInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["routingConfiguration"].writeList(value.routingConfiguration, memberWritingClosure: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension UpdateKnowledgeBaseInput { + + static func write(value: UpdateKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["knowledgeBaseConfiguration"].write(value.knowledgeBaseConfiguration, with: BedrockAgentClientTypes.KnowledgeBaseConfiguration.write(value:to:)) + try writer["name"].write(value.name) + try writer["roleArn"].write(value.roleArn) + try writer["storageConfiguration"].write(value.storageConfiguration, with: BedrockAgentClientTypes.StorageConfiguration.write(value:to:)) + } +} + +extension UpdatePromptInput { + + static func write(value: UpdatePromptInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) + try writer["defaultVariant"].write(value.defaultVariant) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["variants"].writeList(value.variants, memberWritingClosure: BedrockAgentClientTypes.PromptVariant.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension AssociateAgentKnowledgeBaseOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAgentKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = AssociateAgentKnowledgeBaseOutput() + value.agentKnowledgeBase = try reader["agentKnowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.AgentKnowledgeBase.read(from:)) + return value + } +} + +extension CreateAgentOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAgentOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateAgentOutput() + value.agent = try reader["agent"].readIfPresent(with: BedrockAgentClientTypes.Agent.read(from:)) + return value + } +} + +extension CreateAgentActionGroupOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAgentActionGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateAgentActionGroupOutput() + value.agentActionGroup = try reader["agentActionGroup"].readIfPresent(with: BedrockAgentClientTypes.AgentActionGroup.read(from:)) + return value + } +} + +extension CreateAgentAliasOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAgentAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateAgentAliasOutput() + value.agentAlias = try reader["agentAlias"].readIfPresent(with: BedrockAgentClientTypes.AgentAlias.read(from:)) + return value + } +} + +extension CreateDataSourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateDataSourceOutput() + value.dataSource = try reader["dataSource"].readIfPresent(with: BedrockAgentClientTypes.DataSource.read(from:)) + return value + } +} + +extension CreateFlowOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateFlowOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.definition = try reader["definition"].readIfPresent(with: BedrockAgentClientTypes.FlowDefinition.read(from:)) + value.description = try reader["description"].readIfPresent() + value.executionRoleArn = try reader["executionRoleArn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.version = try reader["version"].readIfPresent() + return value + } +} + +extension CreateFlowAliasOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateFlowAliasOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.description = try reader["description"].readIfPresent() + value.flowId = try reader["flowId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + return value + } +} + +extension CreateFlowVersionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowVersionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateFlowVersionOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.definition = try reader["definition"].readIfPresent(with: BedrockAgentClientTypes.FlowDefinition.read(from:)) + value.description = try reader["description"].readIfPresent() + value.executionRoleArn = try reader["executionRoleArn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.version = try reader["version"].readIfPresent() + return value + } +} + +extension CreateKnowledgeBaseOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateKnowledgeBaseOutput() + value.knowledgeBase = try reader["knowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.KnowledgeBase.read(from:)) + return value + } +} + +extension CreatePromptOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePromptOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreatePromptOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.defaultVariant = try reader["defaultVariant"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.variants = try reader["variants"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptVariant.read(from:), memberNodeInfo: "member", isFlattened: false) + value.version = try reader["version"].readIfPresent() + return value + } +} + +extension CreatePromptVersionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePromptVersionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreatePromptVersionOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.defaultVariant = try reader["defaultVariant"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.variants = try reader["variants"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptVariant.read(from:), memberNodeInfo: "member", isFlattened: false) + value.version = try reader["version"].readIfPresent() + return value + } +} + +extension DeleteAgentOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgentOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteAgentOutput() + value.agentId = try reader["agentId"].readIfPresent() + value.agentStatus = try reader["agentStatus"].readIfPresent() + return value + } +} + +extension DeleteAgentActionGroupOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgentActionGroupOutput { + return DeleteAgentActionGroupOutput() + } +} + +extension DeleteAgentAliasOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgentAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteAgentAliasOutput() + value.agentAliasId = try reader["agentAliasId"].readIfPresent() + value.agentAliasStatus = try reader["agentAliasStatus"].readIfPresent() + value.agentId = try reader["agentId"].readIfPresent() + return value + } +} + +extension DeleteAgentVersionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgentVersionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteAgentVersionOutput() + value.agentId = try reader["agentId"].readIfPresent() + value.agentStatus = try reader["agentStatus"].readIfPresent() + value.agentVersion = try reader["agentVersion"].readIfPresent() + return value + } +} + +extension DeleteDataSourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteDataSourceOutput() + value.dataSourceId = try reader["dataSourceId"].readIfPresent() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value + } +} + +extension DeleteFlowOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteFlowOutput() + value.id = try reader["id"].readIfPresent() + return value } } -public struct DisassociateAgentKnowledgeBaseInput { - /// The unique identifier of the agent from which to disassociate the knowledge base. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent from which to disassociate the knowledge base. - /// This member is required. - public var agentVersion: Swift.String? - /// The unique identifier of the knowledge base to disassociate. - /// This member is required. - public var knowledgeBaseId: Swift.String? +extension DeleteFlowAliasOutput { - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion - self.knowledgeBaseId = knowledgeBaseId + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteFlowAliasOutput() + value.flowId = try reader["flowId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + return value } } -public struct DisassociateAgentKnowledgeBaseOutput { +extension DeleteFlowVersionOutput { - public init() { } + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowVersionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteFlowVersionOutput() + value.id = try reader["id"].readIfPresent() + value.version = try reader["version"].readIfPresent() + return value + } } -public struct GetAgentKnowledgeBaseInput { - /// The unique identifier of the agent with which the knowledge base is associated. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent with which the knowledge base is associated. - /// This member is required. - public var agentVersion: Swift.String? - /// The unique identifier of the knowledge base associated with the agent. - /// This member is required. - public var knowledgeBaseId: Swift.String? +extension DeleteKnowledgeBaseOutput { - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion - self.knowledgeBaseId = knowledgeBaseId + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteKnowledgeBaseOutput() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value } } -public struct GetAgentKnowledgeBaseOutput { - /// Contains details about a knowledge base attached to an agent. - /// This member is required. - public var agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? +extension DeletePromptOutput { - public init( - agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? = nil - ) - { - self.agentKnowledgeBase = agentKnowledgeBase + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePromptOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeletePromptOutput() + value.id = try reader["id"].readIfPresent() + value.version = try reader["version"].readIfPresent() + return value } } -public struct GetKnowledgeBaseInput { - /// The unique identifier of the knowledge base for which to get information. - /// This member is required. - public var knowledgeBaseId: Swift.String? +extension DisassociateAgentKnowledgeBaseOutput { - public init( - knowledgeBaseId: Swift.String? = nil - ) - { - self.knowledgeBaseId = knowledgeBaseId + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAgentKnowledgeBaseOutput { + return DisassociateAgentKnowledgeBaseOutput() } } -public struct GetKnowledgeBaseOutput { - /// Contains details about the knowledge base. - /// This member is required. - public var knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? +extension GetAgentOutput { - public init( - knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? = nil - ) - { - self.knowledgeBase = knowledgeBase + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAgentOutput() + value.agent = try reader["agent"].readIfPresent(with: BedrockAgentClientTypes.Agent.read(from:)) + return value } } -public struct ListAgentKnowledgeBasesInput { - /// The unique identifier of the agent for which to return information about knowledge bases associated with it. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent for which to return information about knowledge bases associated with it. - /// This member is required. - public var agentVersion: Swift.String? - /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. - public var maxResults: Swift.Int? - /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. - public var nextToken: Swift.String? +extension GetAgentActionGroupOutput { - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil, - maxResults: Swift.Int? = nil, - nextToken: Swift.String? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion - self.maxResults = maxResults - self.nextToken = nextToken + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentActionGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAgentActionGroupOutput() + value.agentActionGroup = try reader["agentActionGroup"].readIfPresent(with: BedrockAgentClientTypes.AgentActionGroup.read(from:)) + return value } } -public struct ListAgentKnowledgeBasesOutput { - /// A list of objects, each of which contains information about a knowledge base associated with the agent. - /// This member is required. - public var agentKnowledgeBaseSummaries: [BedrockAgentClientTypes.AgentKnowledgeBaseSummary]? - /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. - public var nextToken: Swift.String? +extension GetAgentAliasOutput { - public init( - agentKnowledgeBaseSummaries: [BedrockAgentClientTypes.AgentKnowledgeBaseSummary]? = nil, - nextToken: Swift.String? = nil - ) - { - self.agentKnowledgeBaseSummaries = agentKnowledgeBaseSummaries - self.nextToken = nextToken + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAgentAliasOutput() + value.agentAlias = try reader["agentAlias"].readIfPresent(with: BedrockAgentClientTypes.AgentAlias.read(from:)) + return value } } -public struct ListKnowledgeBasesInput { - /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. - public var maxResults: Swift.Int? - /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. - public var nextToken: Swift.String? +extension GetAgentKnowledgeBaseOutput { - public init( - maxResults: Swift.Int? = nil, - nextToken: Swift.String? = nil - ) - { - self.maxResults = maxResults - self.nextToken = nextToken + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAgentKnowledgeBaseOutput() + value.agentKnowledgeBase = try reader["agentKnowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.AgentKnowledgeBase.read(from:)) + return value } } -extension BedrockAgentClientTypes { - /// Contains details about a knowledge base. - public struct KnowledgeBaseSummary { - /// The description of the knowledge base. - public var description: Swift.String? - /// The unique identifier of the knowledge base. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// The name of the knowledge base. - /// This member is required. - public var name: Swift.String? - /// The status of the knowledge base. - /// This member is required. - public var status: BedrockAgentClientTypes.KnowledgeBaseStatus? - /// The time at which the knowledge base was last updated. - /// This member is required. - public var updatedAt: Foundation.Date? +extension GetAgentVersionOutput { - public init( - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - name: Swift.String? = nil, - status: BedrockAgentClientTypes.KnowledgeBaseStatus? = nil, - updatedAt: Foundation.Date? = nil - ) - { - self.description = description - self.knowledgeBaseId = knowledgeBaseId - self.name = name - self.status = status - self.updatedAt = updatedAt - } + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentVersionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAgentVersionOutput() + value.agentVersion = try reader["agentVersion"].readIfPresent(with: BedrockAgentClientTypes.AgentVersion.read(from:)) + return value } - } -public struct ListKnowledgeBasesOutput { - /// A list of objects, each of which contains information about a knowledge base. - /// This member is required. - public var knowledgeBaseSummaries: [BedrockAgentClientTypes.KnowledgeBaseSummary]? - /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. - public var nextToken: Swift.String? +extension GetDataSourceOutput { - public init( - knowledgeBaseSummaries: [BedrockAgentClientTypes.KnowledgeBaseSummary]? = nil, - nextToken: Swift.String? = nil - ) - { - self.knowledgeBaseSummaries = knowledgeBaseSummaries - self.nextToken = nextToken + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetDataSourceOutput() + value.dataSource = try reader["dataSource"].readIfPresent(with: BedrockAgentClientTypes.DataSource.read(from:)) + return value } } -public struct UpdateAgentKnowledgeBaseInput { - /// The unique identifier of the agent associated with the knowledge base that you want to update. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent associated with the knowledge base that you want to update. - /// This member is required. - public var agentVersion: Swift.String? - /// Specifies a new description for the knowledge base associated with an agent. - public var description: Swift.String? - /// The unique identifier of the knowledge base that has been associated with an agent. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// Specifies whether the agent uses the knowledge base or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. - public var knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? +extension GetFlowOutput { - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil, - description: Swift.String? = nil, - knowledgeBaseId: Swift.String? = nil, - knowledgeBaseState: BedrockAgentClientTypes.KnowledgeBaseState? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion - self.description = description - self.knowledgeBaseId = knowledgeBaseId - self.knowledgeBaseState = knowledgeBaseState + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetFlowOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.definition = try reader["definition"].readIfPresent(with: BedrockAgentClientTypes.FlowDefinition.read(from:)) + value.description = try reader["description"].readIfPresent() + value.executionRoleArn = try reader["executionRoleArn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.validations = try reader["validations"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowValidation.read(from:), memberNodeInfo: "member", isFlattened: false) + value.version = try reader["version"].readIfPresent() + return value } } -public struct UpdateAgentKnowledgeBaseOutput { - /// Contains details about the knowledge base that has been associated with an agent. - /// This member is required. - public var agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? +extension GetFlowAliasOutput { - public init( - agentKnowledgeBase: BedrockAgentClientTypes.AgentKnowledgeBase? = nil - ) - { - self.agentKnowledgeBase = agentKnowledgeBase + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetFlowAliasOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.description = try reader["description"].readIfPresent() + value.flowId = try reader["flowId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + return value } } -public struct UpdateKnowledgeBaseInput { - /// Specifies a new description for the knowledge base. - public var description: Swift.String? - /// Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created. - /// This member is required. - public var knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? - /// The unique identifier of the knowledge base to update. - /// This member is required. - public var knowledgeBaseId: Swift.String? - /// Specifies a new name for the knowledge base. - /// This member is required. - public var name: Swift.String? - /// Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. - /// This member is required. - public var roleArn: Swift.String? - /// Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created. - /// This member is required. - public var storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? +extension GetFlowVersionOutput { - public init( - description: Swift.String? = nil, - knowledgeBaseConfiguration: BedrockAgentClientTypes.KnowledgeBaseConfiguration? = nil, - knowledgeBaseId: Swift.String? = nil, - name: Swift.String? = nil, - roleArn: Swift.String? = nil, - storageConfiguration: BedrockAgentClientTypes.StorageConfiguration? = nil - ) - { - self.description = description - self.knowledgeBaseConfiguration = knowledgeBaseConfiguration - self.knowledgeBaseId = knowledgeBaseId - self.name = name - self.roleArn = roleArn - self.storageConfiguration = storageConfiguration + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowVersionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetFlowVersionOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.definition = try reader["definition"].readIfPresent(with: BedrockAgentClientTypes.FlowDefinition.read(from:)) + value.description = try reader["description"].readIfPresent() + value.executionRoleArn = try reader["executionRoleArn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.version = try reader["version"].readIfPresent() + return value } } -public struct UpdateKnowledgeBaseOutput { - /// Contains details about the knowledge base. - /// This member is required. - public var knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? +extension GetIngestionJobOutput { - public init( - knowledgeBase: BedrockAgentClientTypes.KnowledgeBase? = nil - ) - { - self.knowledgeBase = knowledgeBase + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIngestionJobOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetIngestionJobOutput() + value.ingestionJob = try reader["ingestionJob"].readIfPresent(with: BedrockAgentClientTypes.IngestionJob.read(from:)) + return value } } -public struct ListTagsForResourceInput { - /// The Amazon Resource Name (ARN) of the resource for which to list tags. - /// This member is required. - public var resourceArn: Swift.String? +extension GetKnowledgeBaseOutput { - public init( - resourceArn: Swift.String? = nil - ) - { - self.resourceArn = resourceArn + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetKnowledgeBaseOutput() + value.knowledgeBase = try reader["knowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.KnowledgeBase.read(from:)) + return value } } -public struct ListTagsForResourceOutput { - /// The key-value pairs for the tags associated with the resource. - public var tags: [Swift.String: Swift.String]? +extension GetPromptOutput { - public init( - tags: [Swift.String: Swift.String]? = nil - ) - { - self.tags = tags + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPromptOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetPromptOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.defaultVariant = try reader["defaultVariant"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.variants = try reader["variants"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptVariant.read(from:), memberNodeInfo: "member", isFlattened: false) + value.version = try reader["version"].readIfPresent() + return value } } -public struct TagResourceInput { - /// The Amazon Resource Name (ARN) of the resource to tag. - /// This member is required. - public var resourceArn: Swift.String? - /// An object containing key-value pairs that define the tags to attach to the resource. - /// This member is required. - public var tags: [Swift.String: Swift.String]? +extension ListAgentActionGroupsOutput { - public init( - resourceArn: Swift.String? = nil, - tags: [Swift.String: Swift.String]? = nil - ) - { - self.resourceArn = resourceArn - self.tags = tags + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentActionGroupsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListAgentActionGroupsOutput() + value.actionGroupSummaries = try reader["actionGroupSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.ActionGroupSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct TagResourceOutput { +extension ListAgentAliasesOutput { - public init() { } + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentAliasesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListAgentAliasesOutput() + value.agentAliasSummaries = try reader["agentAliasSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } } -public struct UntagResourceInput { - /// The Amazon Resource Name (ARN) of the resource from which to remove tags. - /// This member is required. - public var resourceArn: Swift.String? - /// A list of keys of the tags to remove from the resource. - /// This member is required. - public var tagKeys: [Swift.String]? +extension ListAgentKnowledgeBasesOutput { - public init( - resourceArn: Swift.String? = nil, - tagKeys: [Swift.String]? = nil - ) - { - self.resourceArn = resourceArn - self.tagKeys = tagKeys + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentKnowledgeBasesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListAgentKnowledgeBasesOutput() + value.agentKnowledgeBaseSummaries = try reader["agentKnowledgeBaseSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentKnowledgeBaseSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct UntagResourceOutput { +extension ListAgentsOutput { - public init() { } + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListAgentsOutput() + value.agentSummaries = try reader["agentSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } } -public struct DeleteAgentVersionInput { - /// The unique identifier of the agent that the version belongs to. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent to delete. - /// This member is required. - public var agentVersion: Swift.String? - /// By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use. - public var skipResourceInUseCheck: Swift.Bool? +extension ListAgentVersionsOutput { - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil, - skipResourceInUseCheck: Swift.Bool? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion - self.skipResourceInUseCheck = skipResourceInUseCheck + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentVersionsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListAgentVersionsOutput() + value.agentVersionSummaries = try reader["agentVersionSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentVersionSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct DeleteAgentVersionOutput { - /// The unique identifier of the agent that the version belongs to. - /// This member is required. - public var agentId: Swift.String? - /// The status of the agent version. - /// This member is required. - public var agentStatus: BedrockAgentClientTypes.AgentStatus? - /// The version that was deleted. - /// This member is required. - public var agentVersion: Swift.String? +extension ListDataSourcesOutput { - public init( - agentId: Swift.String? = nil, - agentStatus: BedrockAgentClientTypes.AgentStatus? = nil, - agentVersion: Swift.String? = nil - ) - { - self.agentId = agentId - self.agentStatus = agentStatus - self.agentVersion = agentVersion + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListDataSourcesOutput() + value.dataSourceSummaries = try reader["dataSourceSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.DataSourceSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct GetAgentVersionInput { - /// The unique identifier of the agent. - /// This member is required. - public var agentId: Swift.String? - /// The version of the agent. - /// This member is required. - public var agentVersion: Swift.String? +extension ListFlowAliasesOutput { - public init( - agentId: Swift.String? = nil, - agentVersion: Swift.String? = nil - ) - { - self.agentId = agentId - self.agentVersion = agentVersion + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowAliasesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListFlowAliasesOutput() + value.flowAliasSummaries = try reader["flowAliasSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowAliasSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct GetAgentVersionOutput { - /// Contains details about the version of the agent. - /// This member is required. - public var agentVersion: BedrockAgentClientTypes.AgentVersion? +extension ListFlowsOutput { - public init( - agentVersion: BedrockAgentClientTypes.AgentVersion? = nil - ) - { - self.agentVersion = agentVersion + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListFlowsOutput() + value.flowSummaries = try reader["flowSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct ListAgentVersionsInput { - /// The unique identifier of the agent. - /// This member is required. - public var agentId: Swift.String? - /// The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. - public var maxResults: Swift.Int? - /// If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. - public var nextToken: Swift.String? +extension ListFlowVersionsOutput { - public init( - agentId: Swift.String? = nil, - maxResults: Swift.Int? = nil, - nextToken: Swift.String? = nil - ) - { - self.agentId = agentId - self.maxResults = maxResults - self.nextToken = nextToken + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowVersionsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListFlowVersionsOutput() + value.flowVersionSummaries = try reader["flowVersionSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowVersionSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -public struct ListAgentVersionsOutput { - /// A list of objects, each of which contains information about a version of the agent. - /// This member is required. - public var agentVersionSummaries: [BedrockAgentClientTypes.AgentVersionSummary]? - /// If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. - public var nextToken: Swift.String? +extension ListIngestionJobsOutput { - public init( - agentVersionSummaries: [BedrockAgentClientTypes.AgentVersionSummary]? = nil, - nextToken: Swift.String? = nil - ) - { - self.agentVersionSummaries = agentVersionSummaries - self.nextToken = nextToken + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIngestionJobsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListIngestionJobsOutput() + value.ingestionJobSummaries = try reader["ingestionJobSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.IngestionJobSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -extension AssociateAgentKnowledgeBaseInput { +extension ListKnowledgeBasesOutput { - static func urlPathProvider(_ value: AssociateAgentKnowledgeBaseInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKnowledgeBasesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListKnowledgeBasesOutput() + value.knowledgeBaseSummaries = try reader["knowledgeBaseSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.KnowledgeBaseSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value } } -extension CreateAgentInput { +extension ListPromptsOutput { - static func urlPathProvider(_ value: CreateAgentInput) -> Swift.String? { - return "/agents" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPromptsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListPromptsOutput() + value.nextToken = try reader["nextToken"].readIfPresent() + value.promptSummaries = try reader["promptSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -extension CreateAgentActionGroupInput { +extension ListTagsForResourceOutput { - static func urlPathProvider(_ value: CreateAgentActionGroupInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListTagsForResourceOutput() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value } } -extension CreateAgentAliasInput { +extension PrepareAgentOutput { - static func urlPathProvider(_ value: CreateAgentAliasInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentaliases" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PrepareAgentOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PrepareAgentOutput() + value.agentId = try reader["agentId"].readIfPresent() + value.agentStatus = try reader["agentStatus"].readIfPresent() + value.agentVersion = try reader["agentVersion"].readIfPresent() + value.preparedAt = try reader["preparedAt"].readTimestampIfPresent(format: .dateTime) + return value } } -extension CreateDataSourceInput { +extension PrepareFlowOutput { - static func urlPathProvider(_ value: CreateDataSourceInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PrepareFlowOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PrepareFlowOutput() + value.id = try reader["id"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value } } -extension CreateKnowledgeBaseInput { +extension StartIngestionJobOutput { - static func urlPathProvider(_ value: CreateKnowledgeBaseInput) -> Swift.String? { - return "/knowledgebases" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartIngestionJobOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = StartIngestionJobOutput() + value.ingestionJob = try reader["ingestionJob"].readIfPresent(with: BedrockAgentClientTypes.IngestionJob.read(from:)) + return value } } -extension DeleteAgentInput { +extension TagResourceOutput { - static func urlPathProvider(_ value: DeleteAgentInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { + return TagResourceOutput() } } -extension DeleteAgentInput { +extension UntagResourceOutput { - static func queryItemProvider(_ value: DeleteAgentInput) throws -> [Smithy.URIQueryItem] { - var items = [Smithy.URIQueryItem]() - if let skipResourceInUseCheck = value.skipResourceInUseCheck { - let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) - items.append(skipResourceInUseCheckQueryItem) - } - return items + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { + return UntagResourceOutput() } } -extension DeleteAgentActionGroupInput { +extension UpdateAgentOutput { - static func urlPathProvider(_ value: DeleteAgentActionGroupInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - guard let actionGroupId = value.actionGroupId else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups/\(actionGroupId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateAgentOutput() + value.agent = try reader["agent"].readIfPresent(with: BedrockAgentClientTypes.Agent.read(from:)) + return value } } -extension DeleteAgentActionGroupInput { +extension UpdateAgentActionGroupOutput { - static func queryItemProvider(_ value: DeleteAgentActionGroupInput) throws -> [Smithy.URIQueryItem] { - var items = [Smithy.URIQueryItem]() - if let skipResourceInUseCheck = value.skipResourceInUseCheck { - let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) - items.append(skipResourceInUseCheckQueryItem) - } - return items + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentActionGroupOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateAgentActionGroupOutput() + value.agentActionGroup = try reader["agentActionGroup"].readIfPresent(with: BedrockAgentClientTypes.AgentActionGroup.read(from:)) + return value } } -extension DeleteAgentAliasInput { +extension UpdateAgentAliasOutput { - static func urlPathProvider(_ value: DeleteAgentAliasInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentAliasId = value.agentAliasId else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentaliases/\(agentAliasId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateAgentAliasOutput() + value.agentAlias = try reader["agentAlias"].readIfPresent(with: BedrockAgentClientTypes.AgentAlias.read(from:)) + return value } } -extension DeleteAgentVersionInput { +extension UpdateAgentKnowledgeBaseOutput { - static func urlPathProvider(_ value: DeleteAgentVersionInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateAgentKnowledgeBaseOutput() + value.agentKnowledgeBase = try reader["agentKnowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.AgentKnowledgeBase.read(from:)) + return value } } -extension DeleteAgentVersionInput { +extension UpdateDataSourceOutput { - static func queryItemProvider(_ value: DeleteAgentVersionInput) throws -> [Smithy.URIQueryItem] { - var items = [Smithy.URIQueryItem]() - if let skipResourceInUseCheck = value.skipResourceInUseCheck { - let skipResourceInUseCheckQueryItem = Smithy.URIQueryItem(name: "skipResourceInUseCheck".urlPercentEncoding(), value: Swift.String(skipResourceInUseCheck).urlPercentEncoding()) - items.append(skipResourceInUseCheckQueryItem) - } - return items + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateDataSourceOutput() + value.dataSource = try reader["dataSource"].readIfPresent(with: BedrockAgentClientTypes.DataSource.read(from:)) + return value } } -extension DeleteDataSourceInput { +extension UpdateFlowOutput { - static func urlPathProvider(_ value: DeleteDataSourceInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - guard let dataSourceId = value.dataSourceId else { - return nil - } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateFlowOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.definition = try reader["definition"].readIfPresent(with: BedrockAgentClientTypes.FlowDefinition.read(from:)) + value.description = try reader["description"].readIfPresent() + value.executionRoleArn = try reader["executionRoleArn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.version = try reader["version"].readIfPresent() + return value } } -extension DeleteKnowledgeBaseInput { +extension UpdateFlowAliasOutput { - static func urlPathProvider(_ value: DeleteKnowledgeBaseInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowAliasOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateFlowAliasOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.description = try reader["description"].readIfPresent() + value.flowId = try reader["flowId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + return value } } -extension DisassociateAgentKnowledgeBaseInput { +extension UpdateKnowledgeBaseOutput { - static func urlPathProvider(_ value: DisassociateAgentKnowledgeBaseInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKnowledgeBaseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateKnowledgeBaseOutput() + value.knowledgeBase = try reader["knowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.KnowledgeBase.read(from:)) + return value } } -extension GetAgentInput { +extension UpdatePromptOutput { - static func urlPathProvider(_ value: GetAgentInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - return "/agents/\(agentId.urlPercentEncoding())" + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePromptOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdatePromptOutput() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.defaultVariant = try reader["defaultVariant"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.variants = try reader["variants"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptVariant.read(from:), memberNodeInfo: "member", isFlattened: false) + value.version = try reader["version"].readIfPresent() + return value } } -extension GetAgentActionGroupInput { +enum AssociateAgentKnowledgeBaseOutputError { - static func urlPathProvider(_ value: GetAgentActionGroupInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - guard let actionGroupId = value.actionGroupId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups/\(actionGroupId.urlPercentEncoding())" } } -extension GetAgentAliasInput { +enum CreateAgentOutputError { - static func urlPathProvider(_ value: GetAgentAliasInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentAliasId = value.agentAliasId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentaliases/\(agentAliasId.urlPercentEncoding())" } } -extension GetAgentKnowledgeBaseInput { +enum CreateAgentActionGroupOutputError { - static func urlPathProvider(_ value: GetAgentKnowledgeBaseInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" } } -extension GetAgentVersionInput { +enum CreateAgentAliasOutputError { - static func urlPathProvider(_ value: GetAgentVersionInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())" } } -extension GetDataSourceInput { +enum CreateDataSourceOutputError { - static func urlPathProvider(_ value: GetDataSourceInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - guard let dataSourceId = value.dataSourceId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())" } } -extension GetIngestionJobInput { +enum CreateFlowOutputError { - static func urlPathProvider(_ value: GetIngestionJobInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - guard let dataSourceId = value.dataSourceId else { - return nil - } - guard let ingestionJobId = value.ingestionJobId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())/ingestionjobs/\(ingestionJobId.urlPercentEncoding())" } } -extension GetKnowledgeBaseInput { +enum CreateFlowAliasOutputError { - static func urlPathProvider(_ value: GetKnowledgeBaseInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" } } -extension ListAgentActionGroupsInput { +enum CreateFlowVersionOutputError { - static func urlPathProvider(_ value: ListAgentActionGroupsInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - guard let agentVersion = value.agentVersion else { - return nil + } +} + +enum CreateKnowledgeBaseOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups" } } -extension ListAgentAliasesInput { +enum CreatePromptOutputError { - static func urlPathProvider(_ value: ListAgentAliasesInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentaliases" } } -extension ListAgentKnowledgeBasesInput { +enum CreatePromptVersionOutputError { - static func urlPathProvider(_ value: ListAgentKnowledgeBasesInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases" - } -} - -extension ListAgentsInput { - - static func urlPathProvider(_ value: ListAgentsInput) -> Swift.String? { - return "/agents" } } -extension ListAgentVersionsInput { +enum DeleteAgentOutputError { - static func urlPathProvider(_ value: ListAgentVersionsInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions" } } -extension ListDataSourcesInput { +enum DeleteAgentActionGroupOutputError { - static func urlPathProvider(_ value: ListDataSourcesInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources" } } -extension ListIngestionJobsInput { +enum DeleteAgentAliasOutputError { - static func urlPathProvider(_ value: ListIngestionJobsInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - guard let dataSourceId = value.dataSourceId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())/ingestionjobs" } } -extension ListKnowledgeBasesInput { +enum DeleteAgentVersionOutputError { - static func urlPathProvider(_ value: ListKnowledgeBasesInput) -> Swift.String? { - return "/knowledgebases" + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListTagsForResourceInput { +enum DeleteDataSourceOutputError { - static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { - guard let resourceArn = value.resourceArn else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/tags/\(resourceArn.urlPercentEncoding())" } } -extension PrepareAgentInput { +enum DeleteFlowOutputError { - static func urlPathProvider(_ value: PrepareAgentInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())" } } -extension StartIngestionJobInput { +enum DeleteFlowAliasOutputError { - static func urlPathProvider(_ value: StartIngestionJobInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil - } - guard let dataSourceId = value.dataSourceId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())/ingestionjobs" } } -extension TagResourceInput { +enum DeleteFlowVersionOutputError { - static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { - guard let resourceArn = value.resourceArn else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/tags/\(resourceArn.urlPercentEncoding())" } } -extension UntagResourceInput { +enum DeleteKnowledgeBaseOutputError { - static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { - guard let resourceArn = value.resourceArn else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/tags/\(resourceArn.urlPercentEncoding())" } } -extension UntagResourceInput { +enum DeletePromptOutputError { - static func queryItemProvider(_ value: UntagResourceInput) throws -> [Smithy.URIQueryItem] { - var items = [Smithy.URIQueryItem]() - guard let tagKeys = value.tagKeys else { - let message = "Creating a URL Query Item failed. tagKeys is required and must not be nil." - throw Smithy.ClientError.unknownError(message) - } - tagKeys.forEach { queryItemValue in - let queryItem = Smithy.URIQueryItem(name: "tagKeys".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) - items.append(queryItem) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return items } } -extension UpdateAgentInput { +enum DisassociateAgentKnowledgeBaseOutputError { - static func urlPathProvider(_ value: UpdateAgentInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())" } } -extension UpdateAgentActionGroupInput { +enum GetAgentOutputError { - static func urlPathProvider(_ value: UpdateAgentActionGroupInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - guard let actionGroupId = value.actionGroupId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/actiongroups/\(actionGroupId.urlPercentEncoding())" } } -extension UpdateAgentAliasInput { +enum GetAgentActionGroupOutputError { - static func urlPathProvider(_ value: UpdateAgentAliasInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentAliasId = value.agentAliasId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentaliases/\(agentAliasId.urlPercentEncoding())" } } -extension UpdateAgentKnowledgeBaseInput { +enum GetAgentAliasOutputError { - static func urlPathProvider(_ value: UpdateAgentKnowledgeBaseInput) -> Swift.String? { - guard let agentId = value.agentId else { - return nil - } - guard let agentVersion = value.agentVersion else { - return nil - } - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/agents/\(agentId.urlPercentEncoding())/agentversions/\(agentVersion.urlPercentEncoding())/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" } } -extension UpdateDataSourceInput { +enum GetAgentKnowledgeBaseOutputError { - static func urlPathProvider(_ value: UpdateDataSourceInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - guard let dataSourceId = value.dataSourceId else { - return nil + } +} + +enum GetAgentVersionOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())/datasources/\(dataSourceId.urlPercentEncoding())" } } -extension UpdateKnowledgeBaseInput { +enum GetDataSourceOutputError { - static func urlPathProvider(_ value: UpdateKnowledgeBaseInput) -> Swift.String? { - guard let knowledgeBaseId = value.knowledgeBaseId else { - return nil + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } - return "/knowledgebases/\(knowledgeBaseId.urlPercentEncoding())" } } -extension AssociateAgentKnowledgeBaseInput { +enum GetFlowOutputError { - static func write(value: AssociateAgentKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["description"].write(value.description) - try writer["knowledgeBaseId"].write(value.knowledgeBaseId) - try writer["knowledgeBaseState"].write(value.knowledgeBaseState) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateAgentInput { +enum GetFlowAliasOutputError { - static func write(value: CreateAgentInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["agentName"].write(value.agentName) - try writer["agentResourceRoleArn"].write(value.agentResourceRoleArn) - try writer["clientToken"].write(value.clientToken) - try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) - try writer["description"].write(value.description) - try writer["foundationModel"].write(value.foundationModel) - try writer["guardrailConfiguration"].write(value.guardrailConfiguration, with: BedrockAgentClientTypes.GuardrailConfiguration.write(value:to:)) - try writer["idleSessionTTLInSeconds"].write(value.idleSessionTTLInSeconds) - try writer["instruction"].write(value.instruction) - try writer["promptOverrideConfiguration"].write(value.promptOverrideConfiguration, with: BedrockAgentClientTypes.PromptOverrideConfiguration.write(value:to:)) - try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateAgentActionGroupInput { +enum GetFlowVersionOutputError { - static func write(value: CreateAgentActionGroupInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["actionGroupExecutor"].write(value.actionGroupExecutor, with: BedrockAgentClientTypes.ActionGroupExecutor.write(value:to:)) - try writer["actionGroupName"].write(value.actionGroupName) - try writer["actionGroupState"].write(value.actionGroupState) - try writer["apiSchema"].write(value.apiSchema, with: BedrockAgentClientTypes.APISchema.write(value:to:)) - try writer["clientToken"].write(value.clientToken) - try writer["description"].write(value.description) - try writer["functionSchema"].write(value.functionSchema, with: BedrockAgentClientTypes.FunctionSchema.write(value:to:)) - try writer["parentActionGroupSignature"].write(value.parentActionGroupSignature) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateAgentAliasInput { +enum GetIngestionJobOutputError { - static func write(value: CreateAgentAliasInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["agentAliasName"].write(value.agentAliasName) - try writer["clientToken"].write(value.clientToken) - try writer["description"].write(value.description) - try writer["routingConfiguration"].writeList(value.routingConfiguration, memberWritingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateDataSourceInput { +enum GetKnowledgeBaseOutputError { - static func write(value: CreateDataSourceInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["clientToken"].write(value.clientToken) - try writer["dataDeletionPolicy"].write(value.dataDeletionPolicy) - try writer["dataSourceConfiguration"].write(value.dataSourceConfiguration, with: BedrockAgentClientTypes.DataSourceConfiguration.write(value:to:)) - try writer["description"].write(value.description) - try writer["name"].write(value.name) - try writer["serverSideEncryptionConfiguration"].write(value.serverSideEncryptionConfiguration, with: BedrockAgentClientTypes.ServerSideEncryptionConfiguration.write(value:to:)) - try writer["vectorIngestionConfiguration"].write(value.vectorIngestionConfiguration, with: BedrockAgentClientTypes.VectorIngestionConfiguration.write(value:to:)) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateKnowledgeBaseInput { +enum GetPromptOutputError { - static func write(value: CreateKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["clientToken"].write(value.clientToken) - try writer["description"].write(value.description) - try writer["knowledgeBaseConfiguration"].write(value.knowledgeBaseConfiguration, with: BedrockAgentClientTypes.KnowledgeBaseConfiguration.write(value:to:)) - try writer["name"].write(value.name) - try writer["roleArn"].write(value.roleArn) - try writer["storageConfiguration"].write(value.storageConfiguration, with: BedrockAgentClientTypes.StorageConfiguration.write(value:to:)) - try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListAgentActionGroupsInput { +enum ListAgentActionGroupsOutputError { - static func write(value: ListAgentActionGroupsInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListAgentAliasesInput { +enum ListAgentAliasesOutputError { - static func write(value: ListAgentAliasesInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListAgentKnowledgeBasesInput { +enum ListAgentKnowledgeBasesOutputError { - static func write(value: ListAgentKnowledgeBasesInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListAgentsInput { +enum ListAgentsOutputError { - static func write(value: ListAgentsInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListAgentVersionsInput { +enum ListAgentVersionsOutputError { - static func write(value: ListAgentVersionsInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListDataSourcesInput { +enum ListDataSourcesOutputError { - static func write(value: ListDataSourcesInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListIngestionJobsInput { +enum ListFlowAliasesOutputError { - static func write(value: ListIngestionJobsInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["filters"].writeList(value.filters, memberWritingClosure: BedrockAgentClientTypes.IngestionJobFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) - try writer["sortBy"].write(value.sortBy, with: BedrockAgentClientTypes.IngestionJobSortBy.write(value:to:)) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension ListKnowledgeBasesInput { +enum ListFlowsOutputError { - static func write(value: ListKnowledgeBasesInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["maxResults"].write(value.maxResults) - try writer["nextToken"].write(value.nextToken) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension StartIngestionJobInput { +enum ListFlowVersionsOutputError { - static func write(value: StartIngestionJobInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["clientToken"].write(value.clientToken) - try writer["description"].write(value.description) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension TagResourceInput { +enum ListIngestionJobsOutputError { - static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension UpdateAgentInput { +enum ListKnowledgeBasesOutputError { - static func write(value: UpdateAgentInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["agentName"].write(value.agentName) - try writer["agentResourceRoleArn"].write(value.agentResourceRoleArn) - try writer["customerEncryptionKeyArn"].write(value.customerEncryptionKeyArn) - try writer["description"].write(value.description) - try writer["foundationModel"].write(value.foundationModel) - try writer["guardrailConfiguration"].write(value.guardrailConfiguration, with: BedrockAgentClientTypes.GuardrailConfiguration.write(value:to:)) - try writer["idleSessionTTLInSeconds"].write(value.idleSessionTTLInSeconds) - try writer["instruction"].write(value.instruction) - try writer["promptOverrideConfiguration"].write(value.promptOverrideConfiguration, with: BedrockAgentClientTypes.PromptOverrideConfiguration.write(value:to:)) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension UpdateAgentActionGroupInput { +enum ListPromptsOutputError { - static func write(value: UpdateAgentActionGroupInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["actionGroupExecutor"].write(value.actionGroupExecutor, with: BedrockAgentClientTypes.ActionGroupExecutor.write(value:to:)) - try writer["actionGroupName"].write(value.actionGroupName) - try writer["actionGroupState"].write(value.actionGroupState) - try writer["apiSchema"].write(value.apiSchema, with: BedrockAgentClientTypes.APISchema.write(value:to:)) - try writer["description"].write(value.description) - try writer["functionSchema"].write(value.functionSchema, with: BedrockAgentClientTypes.FunctionSchema.write(value:to:)) - try writer["parentActionGroupSignature"].write(value.parentActionGroupSignature) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension UpdateAgentAliasInput { +enum ListTagsForResourceOutputError { - static func write(value: UpdateAgentAliasInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["agentAliasName"].write(value.agentAliasName) - try writer["description"].write(value.description) - try writer["routingConfiguration"].writeList(value.routingConfiguration, memberWritingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension UpdateAgentKnowledgeBaseInput { +enum PrepareAgentOutputError { - static func write(value: UpdateAgentKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["description"].write(value.description) - try writer["knowledgeBaseState"].write(value.knowledgeBaseState) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension UpdateDataSourceInput { +enum PrepareFlowOutputError { - static func write(value: UpdateDataSourceInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["dataDeletionPolicy"].write(value.dataDeletionPolicy) - try writer["dataSourceConfiguration"].write(value.dataSourceConfiguration, with: BedrockAgentClientTypes.DataSourceConfiguration.write(value:to:)) - try writer["description"].write(value.description) - try writer["name"].write(value.name) - try writer["serverSideEncryptionConfiguration"].write(value.serverSideEncryptionConfiguration, with: BedrockAgentClientTypes.ServerSideEncryptionConfiguration.write(value:to:)) - try writer["vectorIngestionConfiguration"].write(value.vectorIngestionConfiguration, with: BedrockAgentClientTypes.VectorIngestionConfiguration.write(value:to:)) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension UpdateKnowledgeBaseInput { +enum StartIngestionJobOutputError { - static func write(value: UpdateKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["description"].write(value.description) - try writer["knowledgeBaseConfiguration"].write(value.knowledgeBaseConfiguration, with: BedrockAgentClientTypes.KnowledgeBaseConfiguration.write(value:to:)) - try writer["name"].write(value.name) - try writer["roleArn"].write(value.roleArn) - try writer["storageConfiguration"].write(value.storageConfiguration, with: BedrockAgentClientTypes.StorageConfiguration.write(value:to:)) + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension AssociateAgentKnowledgeBaseOutput { +enum TagResourceOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAgentKnowledgeBaseOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = AssociateAgentKnowledgeBaseOutput() - value.agentKnowledgeBase = try reader["agentKnowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.AgentKnowledgeBase.read(from:)) - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateAgentOutput { +enum UntagResourceOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAgentOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = CreateAgentOutput() - value.agent = try reader["agent"].readIfPresent(with: BedrockAgentClientTypes.Agent.read(from:)) - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateAgentActionGroupOutput { +enum UpdateAgentOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAgentActionGroupOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = CreateAgentActionGroupOutput() - value.agentActionGroup = try reader["agentActionGroup"].readIfPresent(with: BedrockAgentClientTypes.AgentActionGroup.read(from:)) - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateAgentAliasOutput { +enum UpdateAgentActionGroupOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAgentAliasOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = CreateAgentAliasOutput() - value.agentAlias = try reader["agentAlias"].readIfPresent(with: BedrockAgentClientTypes.AgentAlias.read(from:)) - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateDataSourceOutput { +enum UpdateAgentAliasOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = CreateDataSourceOutput() - value.dataSource = try reader["dataSource"].readIfPresent(with: BedrockAgentClientTypes.DataSource.read(from:)) - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension CreateKnowledgeBaseOutput { +enum UpdateAgentKnowledgeBaseOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKnowledgeBaseOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = CreateKnowledgeBaseOutput() - value.knowledgeBase = try reader["knowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.KnowledgeBase.read(from:)) - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension DeleteAgentOutput { +enum UpdateDataSourceOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAgentOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = DeleteAgentOutput() - value.agentId = try reader["agentId"].readIfPresent() - value.agentStatus = try reader["agentStatus"].readIfPresent() - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension DeleteAgentActionGroupOutput { +enum UpdateFlowOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAgentActionGroupOutput { - return DeleteAgentActionGroupOutput() + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension DeleteAgentAliasOutput { +enum UpdateFlowAliasOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAgentAliasOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = DeleteAgentAliasOutput() - value.agentAliasId = try reader["agentAliasId"].readIfPresent() - value.agentAliasStatus = try reader["agentAliasStatus"].readIfPresent() - value.agentId = try reader["agentId"].readIfPresent() - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension DeleteAgentVersionOutput { +enum UpdateKnowledgeBaseOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAgentVersionOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = DeleteAgentVersionOutput() - value.agentId = try reader["agentId"].readIfPresent() - value.agentStatus = try reader["agentStatus"].readIfPresent() - value.agentVersion = try reader["agentVersion"].readIfPresent() - return value + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } } } -extension DeleteDataSourceOutput { +enum UpdatePromptOutputError { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = DeleteDataSourceOutput() - value.dataSourceId = try reader["dataSourceId"].readIfPresent() - value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() - value.status = try reader["status"].readIfPresent() + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +extension ConflictException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ConflictException { + let reader = baseError.errorBodyReader + var value = ConflictException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message return value } } -extension DeleteKnowledgeBaseOutput { +extension ServiceQuotaExceededException { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKnowledgeBaseOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = DeleteKnowledgeBaseOutput() - value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() - value.status = try reader["status"].readIfPresent() + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { + let reader = baseError.errorBodyReader + var value = ServiceQuotaExceededException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message return value } } -extension DisassociateAgentKnowledgeBaseOutput { +extension InternalServerException { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAgentKnowledgeBaseOutput { - return DisassociateAgentKnowledgeBaseOutput() + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { + let reader = baseError.errorBodyReader + var value = InternalServerException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value } } -extension GetAgentOutput { +extension ResourceNotFoundException { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgentOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetAgentOutput() - value.agent = try reader["agent"].readIfPresent(with: BedrockAgentClientTypes.Agent.read(from:)) + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { + let reader = baseError.errorBodyReader + var value = ResourceNotFoundException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message return value } } -extension GetAgentActionGroupOutput { +extension ValidationException { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgentActionGroupOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetAgentActionGroupOutput() - value.agentActionGroup = try reader["agentActionGroup"].readIfPresent(with: BedrockAgentClientTypes.AgentActionGroup.read(from:)) + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { + let reader = baseError.errorBodyReader + var value = ValidationException() + value.properties.fieldList = try reader["fieldList"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.ValidationExceptionField.read(from:), memberNodeInfo: "member", isFlattened: false) + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message return value } } -extension GetAgentAliasOutput { +extension ThrottlingException { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgentAliasOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetAgentAliasOutput() - value.agentAlias = try reader["agentAlias"].readIfPresent(with: BedrockAgentClientTypes.AgentAlias.read(from:)) + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { + let reader = baseError.errorBodyReader + var value = ThrottlingException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message return value } } -extension GetAgentKnowledgeBaseOutput { +extension AccessDeniedException { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgentKnowledgeBaseOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetAgentKnowledgeBaseOutput() - value.agentKnowledgeBase = try reader["agentKnowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.AgentKnowledgeBase.read(from:)) + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { + let reader = baseError.errorBodyReader + var value = AccessDeniedException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message return value } } -extension GetAgentVersionOutput { +extension BedrockAgentClientTypes.AgentKnowledgeBase { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgentVersionOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetAgentVersionOutput() - value.agentVersion = try reader["agentVersion"].readIfPresent(with: BedrockAgentClientTypes.AgentVersion.read(from:)) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentKnowledgeBase { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.AgentKnowledgeBase() + value.agentId = try reader["agentId"].readIfPresent() + value.agentVersion = try reader["agentVersion"].readIfPresent() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.knowledgeBaseState = try reader["knowledgeBaseState"].readIfPresent() return value } } -extension GetDataSourceOutput { +extension BedrockAgentClientTypes.Agent { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetDataSourceOutput() - value.dataSource = try reader["dataSource"].readIfPresent(with: BedrockAgentClientTypes.DataSource.read(from:)) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.Agent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.Agent() + value.agentId = try reader["agentId"].readIfPresent() + value.agentName = try reader["agentName"].readIfPresent() + value.agentArn = try reader["agentArn"].readIfPresent() + value.agentVersion = try reader["agentVersion"].readIfPresent() + value.clientToken = try reader["clientToken"].readIfPresent() + value.instruction = try reader["instruction"].readIfPresent() + value.agentStatus = try reader["agentStatus"].readIfPresent() + value.foundationModel = try reader["foundationModel"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.idleSessionTTLInSeconds = try reader["idleSessionTTLInSeconds"].readIfPresent() + value.agentResourceRoleArn = try reader["agentResourceRoleArn"].readIfPresent() + value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.preparedAt = try reader["preparedAt"].readTimestampIfPresent(format: .dateTime) + value.failureReasons = try reader["failureReasons"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.recommendedActions = try reader["recommendedActions"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.promptOverrideConfiguration = try reader["promptOverrideConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptOverrideConfiguration.read(from:)) + value.guardrailConfiguration = try reader["guardrailConfiguration"].readIfPresent(with: BedrockAgentClientTypes.GuardrailConfiguration.read(from:)) + value.memoryConfiguration = try reader["memoryConfiguration"].readIfPresent(with: BedrockAgentClientTypes.MemoryConfiguration.read(from:)) return value } } -extension GetIngestionJobOutput { +extension BedrockAgentClientTypes.MemoryConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIngestionJobOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetIngestionJobOutput() - value.ingestionJob = try reader["ingestionJob"].readIfPresent(with: BedrockAgentClientTypes.IngestionJob.read(from:)) + static func write(value: BedrockAgentClientTypes.MemoryConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["enabledMemoryTypes"].writeList(value.enabledMemoryTypes, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["storageDays"].write(value.storageDays) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.MemoryConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.MemoryConfiguration() + value.enabledMemoryTypes = try reader["enabledMemoryTypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + value.storageDays = try reader["storageDays"].readIfPresent() ?? 30 return value } } -extension GetKnowledgeBaseOutput { +extension BedrockAgentClientTypes.GuardrailConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKnowledgeBaseOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = GetKnowledgeBaseOutput() - value.knowledgeBase = try reader["knowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.KnowledgeBase.read(from:)) + static func write(value: BedrockAgentClientTypes.GuardrailConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["guardrailIdentifier"].write(value.guardrailIdentifier) + try writer["guardrailVersion"].write(value.guardrailVersion) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.GuardrailConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.GuardrailConfiguration() + value.guardrailIdentifier = try reader["guardrailIdentifier"].readIfPresent() + value.guardrailVersion = try reader["guardrailVersion"].readIfPresent() return value } } -extension ListAgentActionGroupsOutput { +extension BedrockAgentClientTypes.PromptOverrideConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentActionGroupsOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListAgentActionGroupsOutput() - value.actionGroupSummaries = try reader["actionGroupSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.ActionGroupSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() + static func write(value: BedrockAgentClientTypes.PromptOverrideConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["overrideLambda"].write(value.overrideLambda) + try writer["promptConfigurations"].writeList(value.promptConfigurations, memberWritingClosure: BedrockAgentClientTypes.PromptConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptOverrideConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PromptOverrideConfiguration() + value.promptConfigurations = try reader["promptConfigurations"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptConfiguration.read(from:), memberNodeInfo: "member", isFlattened: false) + value.overrideLambda = try reader["overrideLambda"].readIfPresent() return value } } -extension ListAgentAliasesOutput { +extension BedrockAgentClientTypes.PromptConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentAliasesOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListAgentAliasesOutput() - value.agentAliasSummaries = try reader["agentAliasSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() + static func write(value: BedrockAgentClientTypes.PromptConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["basePromptTemplate"].write(value.basePromptTemplate) + try writer["inferenceConfiguration"].write(value.inferenceConfiguration, with: BedrockAgentClientTypes.InferenceConfiguration.write(value:to:)) + try writer["parserMode"].write(value.parserMode) + try writer["promptCreationMode"].write(value.promptCreationMode) + try writer["promptState"].write(value.promptState) + try writer["promptType"].write(value.promptType) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PromptConfiguration() + value.promptType = try reader["promptType"].readIfPresent() + value.promptCreationMode = try reader["promptCreationMode"].readIfPresent() + value.promptState = try reader["promptState"].readIfPresent() + value.basePromptTemplate = try reader["basePromptTemplate"].readIfPresent() + value.inferenceConfiguration = try reader["inferenceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.InferenceConfiguration.read(from:)) + value.parserMode = try reader["parserMode"].readIfPresent() return value } } -extension ListAgentKnowledgeBasesOutput { +extension BedrockAgentClientTypes.InferenceConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentKnowledgeBasesOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListAgentKnowledgeBasesOutput() - value.agentKnowledgeBaseSummaries = try reader["agentKnowledgeBaseSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentKnowledgeBaseSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() + static func write(value: BedrockAgentClientTypes.InferenceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maximumLength"].write(value.maximumLength) + try writer["stopSequences"].writeList(value.stopSequences, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["temperature"].write(value.temperature) + try writer["topK"].write(value.topk) + try writer["topP"].write(value.topp) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.InferenceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.InferenceConfiguration() + value.temperature = try reader["temperature"].readIfPresent() + value.topp = try reader["topP"].readIfPresent() + value.topk = try reader["topK"].readIfPresent() + value.maximumLength = try reader["maximumLength"].readIfPresent() + value.stopSequences = try reader["stopSequences"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension ListAgentsOutput { +extension BedrockAgentClientTypes.AgentActionGroup { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentsOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListAgentsOutput() - value.agentSummaries = try reader["agentSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentActionGroup { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.AgentActionGroup() + value.agentId = try reader["agentId"].readIfPresent() + value.agentVersion = try reader["agentVersion"].readIfPresent() + value.actionGroupId = try reader["actionGroupId"].readIfPresent() + value.actionGroupName = try reader["actionGroupName"].readIfPresent() + value.clientToken = try reader["clientToken"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.parentActionSignature = try reader["parentActionSignature"].readIfPresent() + value.actionGroupExecutor = try reader["actionGroupExecutor"].readIfPresent(with: BedrockAgentClientTypes.ActionGroupExecutor.read(from:)) + value.apiSchema = try reader["apiSchema"].readIfPresent(with: BedrockAgentClientTypes.APISchema.read(from:)) + value.functionSchema = try reader["functionSchema"].readIfPresent(with: BedrockAgentClientTypes.FunctionSchema.read(from:)) + value.actionGroupState = try reader["actionGroupState"].readIfPresent() return value } } -extension ListAgentVersionsOutput { +extension BedrockAgentClientTypes.FunctionSchema { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentVersionsOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListAgentVersionsOutput() - value.agentVersionSummaries = try reader["agentVersionSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentVersionSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() - return value + static func write(value: BedrockAgentClientTypes.FunctionSchema?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .functions(functions): + try writer["functions"].writeList(functions, memberWritingClosure: BedrockAgentClientTypes.Function.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FunctionSchema { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "functions": + return .functions(try reader["functions"].readList(memberReadingClosure: BedrockAgentClientTypes.Function.read(from:), memberNodeInfo: "member", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } } } -extension ListDataSourcesOutput { +extension BedrockAgentClientTypes.Function { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListDataSourcesOutput() - value.dataSourceSummaries = try reader["dataSourceSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.DataSourceSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() - return value + static func write(value: BedrockAgentClientTypes.Function?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["parameters"].writeMap(value.parameters, valueWritingClosure: BedrockAgentClientTypes.ParameterDetail.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) } -} - -extension ListIngestionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIngestionJobsOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListIngestionJobsOutput() - value.ingestionJobSummaries = try reader["ingestionJobSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.IngestionJobSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.Function { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.Function() + value.name = try reader["name"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.parameters = try reader["parameters"].readMapIfPresent(valueReadingClosure: BedrockAgentClientTypes.ParameterDetail.read(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } } -extension ListKnowledgeBasesOutput { +extension BedrockAgentClientTypes.ParameterDetail { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKnowledgeBasesOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListKnowledgeBasesOutput() - value.knowledgeBaseSummaries = try reader["knowledgeBaseSummaries"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.KnowledgeBaseSummary.read(from:), memberNodeInfo: "member", isFlattened: false) - value.nextToken = try reader["nextToken"].readIfPresent() - return value + static func write(value: BedrockAgentClientTypes.ParameterDetail?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["required"].write(value.`required`) + try writer["type"].write(value.type) } -} -extension ListTagsForResourceOutput { - - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ListTagsForResourceOutput() - value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ParameterDetail { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ParameterDetail() + value.description = try reader["description"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.`required` = try reader["required"].readIfPresent() return value } } -extension PrepareAgentOutput { +extension BedrockAgentClientTypes.APISchema { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PrepareAgentOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = PrepareAgentOutput() - value.agentId = try reader["agentId"].readIfPresent() - value.agentStatus = try reader["agentStatus"].readIfPresent() - value.agentVersion = try reader["agentVersion"].readIfPresent() - value.preparedAt = try reader["preparedAt"].readTimestampIfPresent(format: .dateTime) - return value + static func write(value: BedrockAgentClientTypes.APISchema?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .payload(payload): + try writer["payload"].write(payload) + case let .s3(s3): + try writer["s3"].write(s3, with: BedrockAgentClientTypes.S3Identifier.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.APISchema { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "s3": + return .s3(try reader["s3"].read(with: BedrockAgentClientTypes.S3Identifier.read(from:))) + case "payload": + return .payload(try reader["payload"].read()) + default: + return .sdkUnknown(name ?? "") + } } } -extension StartIngestionJobOutput { +extension BedrockAgentClientTypes.S3Identifier { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartIngestionJobOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = StartIngestionJobOutput() - value.ingestionJob = try reader["ingestionJob"].readIfPresent(with: BedrockAgentClientTypes.IngestionJob.read(from:)) + static func write(value: BedrockAgentClientTypes.S3Identifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["s3BucketName"].write(value.s3BucketName) + try writer["s3ObjectKey"].write(value.s3ObjectKey) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.S3Identifier { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.S3Identifier() + value.s3BucketName = try reader["s3BucketName"].readIfPresent() + value.s3ObjectKey = try reader["s3ObjectKey"].readIfPresent() return value } } -extension TagResourceOutput { +extension BedrockAgentClientTypes.ActionGroupExecutor { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { - return TagResourceOutput() + static func write(value: BedrockAgentClientTypes.ActionGroupExecutor?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customcontrol(customcontrol): + try writer["customControl"].write(customcontrol) + case let .lambda(lambda): + try writer["lambda"].write(lambda) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } } -} - -extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { - return UntagResourceOutput() + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ActionGroupExecutor { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "lambda": + return .lambda(try reader["lambda"].read()) + case "customControl": + return .customcontrol(try reader["customControl"].read()) + default: + return .sdkUnknown(name ?? "") + } } } -extension UpdateAgentOutput { +extension BedrockAgentClientTypes.AgentAlias { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = UpdateAgentOutput() - value.agent = try reader["agent"].readIfPresent(with: BedrockAgentClientTypes.Agent.read(from:)) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentAlias { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.AgentAlias() + value.agentId = try reader["agentId"].readIfPresent() + value.agentAliasId = try reader["agentAliasId"].readIfPresent() + value.agentAliasName = try reader["agentAliasName"].readIfPresent() + value.agentAliasArn = try reader["agentAliasArn"].readIfPresent() + value.clientToken = try reader["clientToken"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.agentAliasHistoryEvents = try reader["agentAliasHistoryEvents"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasHistoryEvent.read(from:), memberNodeInfo: "member", isFlattened: false) + value.agentAliasStatus = try reader["agentAliasStatus"].readIfPresent() + value.failureReasons = try reader["failureReasons"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension UpdateAgentActionGroupOutput { +extension BedrockAgentClientTypes.AgentAliasHistoryEvent { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentActionGroupOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = UpdateAgentActionGroupOutput() - value.agentActionGroup = try reader["agentActionGroup"].readIfPresent(with: BedrockAgentClientTypes.AgentActionGroup.read(from:)) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentAliasHistoryEvent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.AgentAliasHistoryEvent() + value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.endDate = try reader["endDate"].readTimestampIfPresent(format: .dateTime) + value.startDate = try reader["startDate"].readTimestampIfPresent(format: .dateTime) return value } } -extension UpdateAgentAliasOutput { +extension BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentAliasOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = UpdateAgentAliasOutput() - value.agentAlias = try reader["agentAlias"].readIfPresent(with: BedrockAgentClientTypes.AgentAlias.read(from:)) + static func write(value: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["agentVersion"].write(value.agentVersion) + try writer["provisionedThroughput"].write(value.provisionedThroughput) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem() + value.agentVersion = try reader["agentVersion"].readIfPresent() + value.provisionedThroughput = try reader["provisionedThroughput"].readIfPresent() return value } } -extension UpdateAgentKnowledgeBaseOutput { +extension BedrockAgentClientTypes.DataSource { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentKnowledgeBaseOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = UpdateAgentKnowledgeBaseOutput() - value.agentKnowledgeBase = try reader["agentKnowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.AgentKnowledgeBase.read(from:)) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.DataSource { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.DataSource() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.dataSourceId = try reader["dataSourceId"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.dataSourceConfiguration = try reader["dataSourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.DataSourceConfiguration.read(from:)) + value.serverSideEncryptionConfiguration = try reader["serverSideEncryptionConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ServerSideEncryptionConfiguration.read(from:)) + value.vectorIngestionConfiguration = try reader["vectorIngestionConfiguration"].readIfPresent(with: BedrockAgentClientTypes.VectorIngestionConfiguration.read(from:)) + value.dataDeletionPolicy = try reader["dataDeletionPolicy"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.failureReasons = try reader["failureReasons"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension UpdateDataSourceOutput { +extension BedrockAgentClientTypes.VectorIngestionConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = UpdateDataSourceOutput() - value.dataSource = try reader["dataSource"].readIfPresent(with: BedrockAgentClientTypes.DataSource.read(from:)) + static func write(value: BedrockAgentClientTypes.VectorIngestionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["chunkingConfiguration"].write(value.chunkingConfiguration, with: BedrockAgentClientTypes.ChunkingConfiguration.write(value:to:)) + try writer["customTransformationConfiguration"].write(value.customTransformationConfiguration, with: BedrockAgentClientTypes.CustomTransformationConfiguration.write(value:to:)) + try writer["parsingConfiguration"].write(value.parsingConfiguration, with: BedrockAgentClientTypes.ParsingConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.VectorIngestionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.VectorIngestionConfiguration() + value.chunkingConfiguration = try reader["chunkingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ChunkingConfiguration.read(from:)) + value.customTransformationConfiguration = try reader["customTransformationConfiguration"].readIfPresent(with: BedrockAgentClientTypes.CustomTransformationConfiguration.read(from:)) + value.parsingConfiguration = try reader["parsingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ParsingConfiguration.read(from:)) return value } } -extension UpdateKnowledgeBaseOutput { +extension BedrockAgentClientTypes.ParsingConfiguration { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKnowledgeBaseOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = UpdateKnowledgeBaseOutput() - value.knowledgeBase = try reader["knowledgeBase"].readIfPresent(with: BedrockAgentClientTypes.KnowledgeBase.read(from:)) + static func write(value: BedrockAgentClientTypes.ParsingConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bedrockFoundationModelConfiguration"].write(value.bedrockFoundationModelConfiguration, with: BedrockAgentClientTypes.BedrockFoundationModelConfiguration.write(value:to:)) + try writer["parsingStrategy"].write(value.parsingStrategy) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ParsingConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ParsingConfiguration() + value.parsingStrategy = try reader["parsingStrategy"].readIfPresent() + value.bedrockFoundationModelConfiguration = try reader["bedrockFoundationModelConfiguration"].readIfPresent(with: BedrockAgentClientTypes.BedrockFoundationModelConfiguration.read(from:)) return value } } -enum AssociateAgentKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.BedrockFoundationModelConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.BedrockFoundationModelConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["modelArn"].write(value.modelArn) + try writer["parsingPrompt"].write(value.parsingPrompt, with: BedrockAgentClientTypes.ParsingPrompt.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.BedrockFoundationModelConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.BedrockFoundationModelConfiguration() + value.modelArn = try reader["modelArn"].readIfPresent() + value.parsingPrompt = try reader["parsingPrompt"].readIfPresent(with: BedrockAgentClientTypes.ParsingPrompt.read(from:)) + return value } } -enum CreateAgentOutputError { +extension BedrockAgentClientTypes.ParsingPrompt { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.ParsingPrompt?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["parsingPromptText"].write(value.parsingPromptText) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ParsingPrompt { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ParsingPrompt() + value.parsingPromptText = try reader["parsingPromptText"].readIfPresent() + return value } } -enum CreateAgentActionGroupOutputError { +extension BedrockAgentClientTypes.CustomTransformationConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.CustomTransformationConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["intermediateStorage"].write(value.intermediateStorage, with: BedrockAgentClientTypes.IntermediateStorage.write(value:to:)) + try writer["transformations"].writeList(value.transformations, memberWritingClosure: BedrockAgentClientTypes.Transformation.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.CustomTransformationConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.CustomTransformationConfiguration() + value.intermediateStorage = try reader["intermediateStorage"].readIfPresent(with: BedrockAgentClientTypes.IntermediateStorage.read(from:)) + value.transformations = try reader["transformations"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.Transformation.read(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -enum CreateAgentAliasOutputError { +extension BedrockAgentClientTypes.Transformation { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.Transformation?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["stepToApply"].write(value.stepToApply) + try writer["transformationFunction"].write(value.transformationFunction, with: BedrockAgentClientTypes.TransformationFunction.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.Transformation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.Transformation() + value.transformationFunction = try reader["transformationFunction"].readIfPresent(with: BedrockAgentClientTypes.TransformationFunction.read(from:)) + value.stepToApply = try reader["stepToApply"].readIfPresent() + return value } } -enum CreateDataSourceOutputError { +extension BedrockAgentClientTypes.TransformationFunction { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.TransformationFunction?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["transformationLambdaConfiguration"].write(value.transformationLambdaConfiguration, with: BedrockAgentClientTypes.TransformationLambdaConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.TransformationFunction { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.TransformationFunction() + value.transformationLambdaConfiguration = try reader["transformationLambdaConfiguration"].readIfPresent(with: BedrockAgentClientTypes.TransformationLambdaConfiguration.read(from:)) + return value } } -enum CreateKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.TransformationLambdaConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.TransformationLambdaConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["lambdaArn"].write(value.lambdaArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.TransformationLambdaConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.TransformationLambdaConfiguration() + value.lambdaArn = try reader["lambdaArn"].readIfPresent() + return value } } -enum DeleteAgentOutputError { +extension BedrockAgentClientTypes.IntermediateStorage { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.IntermediateStorage?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["s3Location"].write(value.s3Location, with: BedrockAgentClientTypes.S3Location.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.IntermediateStorage { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.IntermediateStorage() + value.s3Location = try reader["s3Location"].readIfPresent(with: BedrockAgentClientTypes.S3Location.read(from:)) + return value } } -enum DeleteAgentActionGroupOutputError { +extension BedrockAgentClientTypes.S3Location { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.S3Location?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["uri"].write(value.uri) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.S3Location { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.S3Location() + value.uri = try reader["uri"].readIfPresent() + return value } } -enum DeleteAgentAliasOutputError { +extension BedrockAgentClientTypes.ChunkingConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.ChunkingConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["chunkingStrategy"].write(value.chunkingStrategy) + try writer["fixedSizeChunkingConfiguration"].write(value.fixedSizeChunkingConfiguration, with: BedrockAgentClientTypes.FixedSizeChunkingConfiguration.write(value:to:)) + try writer["hierarchicalChunkingConfiguration"].write(value.hierarchicalChunkingConfiguration, with: BedrockAgentClientTypes.HierarchicalChunkingConfiguration.write(value:to:)) + try writer["semanticChunkingConfiguration"].write(value.semanticChunkingConfiguration, with: BedrockAgentClientTypes.SemanticChunkingConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ChunkingConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ChunkingConfiguration() + value.chunkingStrategy = try reader["chunkingStrategy"].readIfPresent() + value.fixedSizeChunkingConfiguration = try reader["fixedSizeChunkingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.FixedSizeChunkingConfiguration.read(from:)) + value.hierarchicalChunkingConfiguration = try reader["hierarchicalChunkingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.HierarchicalChunkingConfiguration.read(from:)) + value.semanticChunkingConfiguration = try reader["semanticChunkingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SemanticChunkingConfiguration.read(from:)) + return value } } -enum DeleteAgentVersionOutputError { +extension BedrockAgentClientTypes.SemanticChunkingConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SemanticChunkingConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["breakpointPercentileThreshold"].write(value.breakpointPercentileThreshold) + try writer["bufferSize"].write(value.bufferSize) + try writer["maxTokens"].write(value.maxTokens) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SemanticChunkingConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SemanticChunkingConfiguration() + value.maxTokens = try reader["maxTokens"].readIfPresent() + value.bufferSize = try reader["bufferSize"].readIfPresent() + value.breakpointPercentileThreshold = try reader["breakpointPercentileThreshold"].readIfPresent() + return value } } -enum DeleteDataSourceOutputError { +extension BedrockAgentClientTypes.HierarchicalChunkingConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.HierarchicalChunkingConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["levelConfigurations"].writeList(value.levelConfigurations, memberWritingClosure: BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["overlapTokens"].write(value.overlapTokens) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.HierarchicalChunkingConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.HierarchicalChunkingConfiguration() + value.levelConfigurations = try reader["levelConfigurations"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration.read(from:), memberNodeInfo: "member", isFlattened: false) + value.overlapTokens = try reader["overlapTokens"].readIfPresent() + return value } } -enum DeleteKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxTokens"].write(value.maxTokens) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.HierarchicalChunkingLevelConfiguration() + value.maxTokens = try reader["maxTokens"].readIfPresent() + return value } } -enum DisassociateAgentKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.FixedSizeChunkingConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.FixedSizeChunkingConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxTokens"].write(value.maxTokens) + try writer["overlapPercentage"].write(value.overlapPercentage) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FixedSizeChunkingConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FixedSizeChunkingConfiguration() + value.maxTokens = try reader["maxTokens"].readIfPresent() + value.overlapPercentage = try reader["overlapPercentage"].readIfPresent() + return value + } +} + +extension BedrockAgentClientTypes.ServerSideEncryptionConfiguration { + + static func write(value: BedrockAgentClientTypes.ServerSideEncryptionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["kmsKeyArn"].write(value.kmsKeyArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ServerSideEncryptionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ServerSideEncryptionConfiguration() + value.kmsKeyArn = try reader["kmsKeyArn"].readIfPresent() + return value } } -enum GetAgentOutputError { +extension BedrockAgentClientTypes.DataSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.DataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["confluenceConfiguration"].write(value.confluenceConfiguration, with: BedrockAgentClientTypes.ConfluenceDataSourceConfiguration.write(value:to:)) + try writer["s3Configuration"].write(value.s3Configuration, with: BedrockAgentClientTypes.S3DataSourceConfiguration.write(value:to:)) + try writer["salesforceConfiguration"].write(value.salesforceConfiguration, with: BedrockAgentClientTypes.SalesforceDataSourceConfiguration.write(value:to:)) + try writer["sharePointConfiguration"].write(value.sharePointConfiguration, with: BedrockAgentClientTypes.SharePointDataSourceConfiguration.write(value:to:)) + try writer["type"].write(value.type) + try writer["webConfiguration"].write(value.webConfiguration, with: BedrockAgentClientTypes.WebDataSourceConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.DataSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.DataSourceConfiguration() + value.type = try reader["type"].readIfPresent() + value.s3Configuration = try reader["s3Configuration"].readIfPresent(with: BedrockAgentClientTypes.S3DataSourceConfiguration.read(from:)) + value.webConfiguration = try reader["webConfiguration"].readIfPresent(with: BedrockAgentClientTypes.WebDataSourceConfiguration.read(from:)) + value.confluenceConfiguration = try reader["confluenceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ConfluenceDataSourceConfiguration.read(from:)) + value.salesforceConfiguration = try reader["salesforceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SalesforceDataSourceConfiguration.read(from:)) + value.sharePointConfiguration = try reader["sharePointConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SharePointDataSourceConfiguration.read(from:)) + return value } } -enum GetAgentActionGroupOutputError { +extension BedrockAgentClientTypes.SharePointDataSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SharePointDataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["crawlerConfiguration"].write(value.crawlerConfiguration, with: BedrockAgentClientTypes.SharePointCrawlerConfiguration.write(value:to:)) + try writer["sourceConfiguration"].write(value.sourceConfiguration, with: BedrockAgentClientTypes.SharePointSourceConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SharePointDataSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SharePointDataSourceConfiguration() + value.sourceConfiguration = try reader["sourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SharePointSourceConfiguration.read(from:)) + value.crawlerConfiguration = try reader["crawlerConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SharePointCrawlerConfiguration.read(from:)) + return value } } -enum GetAgentAliasOutputError { +extension BedrockAgentClientTypes.SharePointCrawlerConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SharePointCrawlerConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filterConfiguration"].write(value.filterConfiguration, with: BedrockAgentClientTypes.CrawlFilterConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SharePointCrawlerConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SharePointCrawlerConfiguration() + value.filterConfiguration = try reader["filterConfiguration"].readIfPresent(with: BedrockAgentClientTypes.CrawlFilterConfiguration.read(from:)) + return value } } -enum GetAgentKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.CrawlFilterConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.CrawlFilterConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["patternObjectFilter"].write(value.patternObjectFilter, with: BedrockAgentClientTypes.PatternObjectFilterConfiguration.write(value:to:)) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.CrawlFilterConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.CrawlFilterConfiguration() + value.type = try reader["type"].readIfPresent() + value.patternObjectFilter = try reader["patternObjectFilter"].readIfPresent(with: BedrockAgentClientTypes.PatternObjectFilterConfiguration.read(from:)) + return value } } -enum GetAgentVersionOutputError { +extension BedrockAgentClientTypes.PatternObjectFilterConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.PatternObjectFilterConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filters"].writeList(value.filters, memberWritingClosure: BedrockAgentClientTypes.PatternObjectFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PatternObjectFilterConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PatternObjectFilterConfiguration() + value.filters = try reader["filters"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PatternObjectFilter.read(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -enum GetDataSourceOutputError { +extension BedrockAgentClientTypes.PatternObjectFilter { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.PatternObjectFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["exclusionFilters"].writeList(value.exclusionFilters, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["inclusionFilters"].writeList(value.inclusionFilters, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["objectType"].write(value.objectType) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PatternObjectFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PatternObjectFilter() + value.objectType = try reader["objectType"].readIfPresent() + value.inclusionFilters = try reader["inclusionFilters"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.exclusionFilters = try reader["exclusionFilters"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -enum GetIngestionJobOutputError { +extension BedrockAgentClientTypes.SharePointSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SharePointSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["authType"].write(value.authType) + try writer["credentialsSecretArn"].write(value.credentialsSecretArn) + try writer["domain"].write(value.domain) + try writer["hostType"].write(value.hostType) + try writer["siteUrls"].writeList(value.siteUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["tenantId"].write(value.tenantId) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SharePointSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SharePointSourceConfiguration() + value.tenantId = try reader["tenantId"].readIfPresent() + value.domain = try reader["domain"].readIfPresent() + value.siteUrls = try reader["siteUrls"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.hostType = try reader["hostType"].readIfPresent() + value.authType = try reader["authType"].readIfPresent() + value.credentialsSecretArn = try reader["credentialsSecretArn"].readIfPresent() + return value } } -enum GetKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.SalesforceDataSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SalesforceDataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["crawlerConfiguration"].write(value.crawlerConfiguration, with: BedrockAgentClientTypes.SalesforceCrawlerConfiguration.write(value:to:)) + try writer["sourceConfiguration"].write(value.sourceConfiguration, with: BedrockAgentClientTypes.SalesforceSourceConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SalesforceDataSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SalesforceDataSourceConfiguration() + value.sourceConfiguration = try reader["sourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SalesforceSourceConfiguration.read(from:)) + value.crawlerConfiguration = try reader["crawlerConfiguration"].readIfPresent(with: BedrockAgentClientTypes.SalesforceCrawlerConfiguration.read(from:)) + return value } } -enum ListAgentActionGroupsOutputError { +extension BedrockAgentClientTypes.SalesforceCrawlerConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SalesforceCrawlerConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filterConfiguration"].write(value.filterConfiguration, with: BedrockAgentClientTypes.CrawlFilterConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SalesforceCrawlerConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SalesforceCrawlerConfiguration() + value.filterConfiguration = try reader["filterConfiguration"].readIfPresent(with: BedrockAgentClientTypes.CrawlFilterConfiguration.read(from:)) + return value } } -enum ListAgentAliasesOutputError { +extension BedrockAgentClientTypes.SalesforceSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SalesforceSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["authType"].write(value.authType) + try writer["credentialsSecretArn"].write(value.credentialsSecretArn) + try writer["hostUrl"].write(value.hostUrl) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SalesforceSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SalesforceSourceConfiguration() + value.hostUrl = try reader["hostUrl"].readIfPresent() + value.authType = try reader["authType"].readIfPresent() + value.credentialsSecretArn = try reader["credentialsSecretArn"].readIfPresent() + return value } } -enum ListAgentKnowledgeBasesOutputError { +extension BedrockAgentClientTypes.ConfluenceDataSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.ConfluenceDataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["crawlerConfiguration"].write(value.crawlerConfiguration, with: BedrockAgentClientTypes.ConfluenceCrawlerConfiguration.write(value:to:)) + try writer["sourceConfiguration"].write(value.sourceConfiguration, with: BedrockAgentClientTypes.ConfluenceSourceConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ConfluenceDataSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ConfluenceDataSourceConfiguration() + value.sourceConfiguration = try reader["sourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ConfluenceSourceConfiguration.read(from:)) + value.crawlerConfiguration = try reader["crawlerConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ConfluenceCrawlerConfiguration.read(from:)) + return value } } -enum ListAgentsOutputError { +extension BedrockAgentClientTypes.ConfluenceCrawlerConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.ConfluenceCrawlerConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filterConfiguration"].write(value.filterConfiguration, with: BedrockAgentClientTypes.CrawlFilterConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ConfluenceCrawlerConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ConfluenceCrawlerConfiguration() + value.filterConfiguration = try reader["filterConfiguration"].readIfPresent(with: BedrockAgentClientTypes.CrawlFilterConfiguration.read(from:)) + return value } } -enum ListAgentVersionsOutputError { +extension BedrockAgentClientTypes.ConfluenceSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.ConfluenceSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["authType"].write(value.authType) + try writer["credentialsSecretArn"].write(value.credentialsSecretArn) + try writer["hostType"].write(value.hostType) + try writer["hostUrl"].write(value.hostUrl) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ConfluenceSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.ConfluenceSourceConfiguration() + value.hostUrl = try reader["hostUrl"].readIfPresent() + value.hostType = try reader["hostType"].readIfPresent() + value.authType = try reader["authType"].readIfPresent() + value.credentialsSecretArn = try reader["credentialsSecretArn"].readIfPresent() + return value } } -enum ListDataSourcesOutputError { +extension BedrockAgentClientTypes.WebDataSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.WebDataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["crawlerConfiguration"].write(value.crawlerConfiguration, with: BedrockAgentClientTypes.WebCrawlerConfiguration.write(value:to:)) + try writer["sourceConfiguration"].write(value.sourceConfiguration, with: BedrockAgentClientTypes.WebSourceConfiguration.write(value:to:)) } -} - -enum ListIngestionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.WebDataSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.WebDataSourceConfiguration() + value.sourceConfiguration = try reader["sourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.WebSourceConfiguration.read(from:)) + value.crawlerConfiguration = try reader["crawlerConfiguration"].readIfPresent(with: BedrockAgentClientTypes.WebCrawlerConfiguration.read(from:)) + return value } } -enum ListKnowledgeBasesOutputError { +extension BedrockAgentClientTypes.WebCrawlerConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.WebCrawlerConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["crawlerLimits"].write(value.crawlerLimits, with: BedrockAgentClientTypes.WebCrawlerLimits.write(value:to:)) + try writer["exclusionFilters"].writeList(value.exclusionFilters, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["inclusionFilters"].writeList(value.inclusionFilters, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["scope"].write(value.scope) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.WebCrawlerConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.WebCrawlerConfiguration() + value.crawlerLimits = try reader["crawlerLimits"].readIfPresent(with: BedrockAgentClientTypes.WebCrawlerLimits.read(from:)) + value.inclusionFilters = try reader["inclusionFilters"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.exclusionFilters = try reader["exclusionFilters"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.scope = try reader["scope"].readIfPresent() + return value } } -enum ListTagsForResourceOutputError { +extension BedrockAgentClientTypes.WebCrawlerLimits { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.WebCrawlerLimits?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["rateLimit"].write(value.rateLimit) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.WebCrawlerLimits { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.WebCrawlerLimits() + value.rateLimit = try reader["rateLimit"].readIfPresent() + return value } } -enum PrepareAgentOutputError { +extension BedrockAgentClientTypes.WebSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.WebSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["urlConfiguration"].write(value.urlConfiguration, with: BedrockAgentClientTypes.UrlConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.WebSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.WebSourceConfiguration() + value.urlConfiguration = try reader["urlConfiguration"].readIfPresent(with: BedrockAgentClientTypes.UrlConfiguration.read(from:)) + return value } } -enum StartIngestionJobOutputError { +extension BedrockAgentClientTypes.UrlConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.UrlConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["seedUrls"].writeList(value.seedUrls, memberWritingClosure: BedrockAgentClientTypes.SeedUrl.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.UrlConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.UrlConfiguration() + value.seedUrls = try reader["seedUrls"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.SeedUrl.read(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -enum TagResourceOutputError { +extension BedrockAgentClientTypes.SeedUrl { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.SeedUrl?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["url"].write(value.url) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.SeedUrl { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.SeedUrl() + value.url = try reader["url"].readIfPresent() + return value } } -enum UntagResourceOutputError { +extension BedrockAgentClientTypes.S3DataSourceConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.S3DataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bucketArn"].write(value.bucketArn) + try writer["bucketOwnerAccountId"].write(value.bucketOwnerAccountId) + try writer["inclusionPrefixes"].writeList(value.inclusionPrefixes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.S3DataSourceConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.S3DataSourceConfiguration() + value.bucketArn = try reader["bucketArn"].readIfPresent() + value.inclusionPrefixes = try reader["inclusionPrefixes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.bucketOwnerAccountId = try reader["bucketOwnerAccountId"].readIfPresent() + return value } } -enum UpdateAgentOutputError { +extension BedrockAgentClientTypes.FlowDefinition { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.FlowDefinition?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connections"].writeList(value.connections, memberWritingClosure: BedrockAgentClientTypes.FlowConnection.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["nodes"].writeList(value.nodes, memberWritingClosure: BedrockAgentClientTypes.FlowNode.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowDefinition { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowDefinition() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowNode.read(from:), memberNodeInfo: "member", isFlattened: false) + value.connections = try reader["connections"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowConnection.read(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -enum UpdateAgentActionGroupOutputError { +extension BedrockAgentClientTypes.FlowConnection { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.FlowConnection?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["configuration"].write(value.configuration, with: BedrockAgentClientTypes.FlowConnectionConfiguration.write(value:to:)) + try writer["name"].write(value.name) + try writer["source"].write(value.source) + try writer["target"].write(value.target) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowConnection { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowConnection() + value.type = try reader["type"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.source = try reader["source"].readIfPresent() + value.target = try reader["target"].readIfPresent() + value.configuration = try reader["configuration"].readIfPresent(with: BedrockAgentClientTypes.FlowConnectionConfiguration.read(from:)) + return value } } -enum UpdateAgentAliasOutputError { +extension BedrockAgentClientTypes.FlowConnectionConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + static func write(value: BedrockAgentClientTypes.FlowConnectionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .conditional(conditional): + try writer["conditional"].write(conditional, with: BedrockAgentClientTypes.FlowConditionalConnectionConfiguration.write(value:to:)) + case let .data(data): + try writer["data"].write(data, with: BedrockAgentClientTypes.FlowDataConnectionConfiguration.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) } } -} -enum UpdateAgentKnowledgeBaseOutputError { - - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowConnectionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "data": + return .data(try reader["data"].read(with: BedrockAgentClientTypes.FlowDataConnectionConfiguration.read(from:))) + case "conditional": + return .conditional(try reader["conditional"].read(with: BedrockAgentClientTypes.FlowConditionalConnectionConfiguration.read(from:))) + default: + return .sdkUnknown(name ?? "") } } } -enum UpdateDataSourceOutputError { +extension BedrockAgentClientTypes.FlowConditionalConnectionConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.FlowConditionalConnectionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["condition"].write(value.condition) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowConditionalConnectionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowConditionalConnectionConfiguration() + value.condition = try reader["condition"].readIfPresent() + return value } } -enum UpdateKnowledgeBaseOutputError { +extension BedrockAgentClientTypes.FlowDataConnectionConfiguration { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "ConflictException": return try ConflictException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func write(value: BedrockAgentClientTypes.FlowDataConnectionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sourceOutput"].write(value.sourceOutput) + try writer["targetInput"].write(value.targetInput) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowDataConnectionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowDataConnectionConfiguration() + value.sourceOutput = try reader["sourceOutput"].readIfPresent() + value.targetInput = try reader["targetInput"].readIfPresent() + return value } } -extension ConflictException { +extension BedrockAgentClientTypes.FlowNode { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ConflictException { - let reader = baseError.errorBodyReader - var value = ConflictException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func write(value: BedrockAgentClientTypes.FlowNode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["configuration"].write(value.configuration, with: BedrockAgentClientTypes.FlowNodeConfiguration.write(value:to:)) + try writer["inputs"].writeList(value.inputs, memberWritingClosure: BedrockAgentClientTypes.FlowNodeInput.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["name"].write(value.name) + try writer["outputs"].writeList(value.outputs, memberWritingClosure: BedrockAgentClientTypes.FlowNodeOutput.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowNode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowNode() + value.name = try reader["name"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.configuration = try reader["configuration"].readIfPresent(with: BedrockAgentClientTypes.FlowNodeConfiguration.read(from:)) + value.inputs = try reader["inputs"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowNodeInput.read(from:), memberNodeInfo: "member", isFlattened: false) + value.outputs = try reader["outputs"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowNodeOutput.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension ServiceQuotaExceededException { +extension BedrockAgentClientTypes.FlowNodeOutput { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { - let reader = baseError.errorBodyReader - var value = ServiceQuotaExceededException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func write(value: BedrockAgentClientTypes.FlowNodeOutput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowNodeOutput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowNodeOutput() + value.name = try reader["name"].readIfPresent() + value.type = try reader["type"].readIfPresent() return value } } -extension InternalServerException { +extension BedrockAgentClientTypes.FlowNodeInput { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { - let reader = baseError.errorBodyReader - var value = InternalServerException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func write(value: BedrockAgentClientTypes.FlowNodeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["expression"].write(value.expression) + try writer["name"].write(value.name) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowNodeInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowNodeInput() + value.name = try reader["name"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.expression = try reader["expression"].readIfPresent() return value } } -extension ResourceNotFoundException { +extension BedrockAgentClientTypes.FlowNodeConfiguration { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { - let reader = baseError.errorBodyReader - var value = ResourceNotFoundException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value + static func write(value: BedrockAgentClientTypes.FlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agent(agent): + try writer["agent"].write(agent, with: BedrockAgentClientTypes.AgentFlowNodeConfiguration.write(value:to:)) + case let .collector(collector): + try writer["collector"].write(collector, with: BedrockAgentClientTypes.CollectorFlowNodeConfiguration.write(value:to:)) + case let .condition(condition): + try writer["condition"].write(condition, with: BedrockAgentClientTypes.ConditionFlowNodeConfiguration.write(value:to:)) + case let .input(input): + try writer["input"].write(input, with: BedrockAgentClientTypes.InputFlowNodeConfiguration.write(value:to:)) + case let .iterator(iterator): + try writer["iterator"].write(iterator, with: BedrockAgentClientTypes.IteratorFlowNodeConfiguration.write(value:to:)) + case let .knowledgebase(knowledgebase): + try writer["knowledgeBase"].write(knowledgebase, with: BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration.write(value:to:)) + case let .lambdafunction(lambdafunction): + try writer["lambdaFunction"].write(lambdafunction, with: BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration.write(value:to:)) + case let .lex(lex): + try writer["lex"].write(lex, with: BedrockAgentClientTypes.LexFlowNodeConfiguration.write(value:to:)) + case let .output(output): + try writer["output"].write(output, with: BedrockAgentClientTypes.OutputFlowNodeConfiguration.write(value:to:)) + case let .prompt(prompt): + try writer["prompt"].write(prompt, with: BedrockAgentClientTypes.PromptFlowNodeConfiguration.write(value:to:)) + case let .retrieval(retrieval): + try writer["retrieval"].write(retrieval, with: BedrockAgentClientTypes.RetrievalFlowNodeConfiguration.write(value:to:)) + case let .storage(storage): + try writer["storage"].write(storage, with: BedrockAgentClientTypes.StorageFlowNodeConfiguration.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowNodeConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "input": + return .input(try reader["input"].read(with: BedrockAgentClientTypes.InputFlowNodeConfiguration.read(from:))) + case "output": + return .output(try reader["output"].read(with: BedrockAgentClientTypes.OutputFlowNodeConfiguration.read(from:))) + case "knowledgeBase": + return .knowledgebase(try reader["knowledgeBase"].read(with: BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration.read(from:))) + case "condition": + return .condition(try reader["condition"].read(with: BedrockAgentClientTypes.ConditionFlowNodeConfiguration.read(from:))) + case "lex": + return .lex(try reader["lex"].read(with: BedrockAgentClientTypes.LexFlowNodeConfiguration.read(from:))) + case "prompt": + return .prompt(try reader["prompt"].read(with: BedrockAgentClientTypes.PromptFlowNodeConfiguration.read(from:))) + case "lambdaFunction": + return .lambdafunction(try reader["lambdaFunction"].read(with: BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration.read(from:))) + case "storage": + return .storage(try reader["storage"].read(with: BedrockAgentClientTypes.StorageFlowNodeConfiguration.read(from:))) + case "agent": + return .agent(try reader["agent"].read(with: BedrockAgentClientTypes.AgentFlowNodeConfiguration.read(from:))) + case "retrieval": + return .retrieval(try reader["retrieval"].read(with: BedrockAgentClientTypes.RetrievalFlowNodeConfiguration.read(from:))) + case "iterator": + return .iterator(try reader["iterator"].read(with: BedrockAgentClientTypes.IteratorFlowNodeConfiguration.read(from:))) + case "collector": + return .collector(try reader["collector"].read(with: BedrockAgentClientTypes.CollectorFlowNodeConfiguration.read(from:))) + default: + return .sdkUnknown(name ?? "") + } } } -extension ValidationException { +extension BedrockAgentClientTypes.CollectorFlowNodeConfiguration { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { - let reader = baseError.errorBodyReader - var value = ValidationException() - value.properties.fieldList = try reader["fieldList"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.ValidationExceptionField.read(from:), memberNodeInfo: "member", isFlattened: false) - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value + static func write(value: BedrockAgentClientTypes.CollectorFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.CollectorFlowNodeConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + return BedrockAgentClientTypes.CollectorFlowNodeConfiguration() } } -extension ThrottlingException { +extension BedrockAgentClientTypes.IteratorFlowNodeConfiguration { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { - let reader = baseError.errorBodyReader - var value = ThrottlingException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value + static func write(value: BedrockAgentClientTypes.IteratorFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.IteratorFlowNodeConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + return BedrockAgentClientTypes.IteratorFlowNodeConfiguration() } } -extension AccessDeniedException { +extension BedrockAgentClientTypes.RetrievalFlowNodeConfiguration { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { - let reader = baseError.errorBodyReader - var value = AccessDeniedException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func write(value: BedrockAgentClientTypes.RetrievalFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["serviceConfiguration"].write(value.serviceConfiguration, with: BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.RetrievalFlowNodeConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.RetrievalFlowNodeConfiguration() + value.serviceConfiguration = try reader["serviceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration.read(from:)) return value } } -extension BedrockAgentClientTypes.AgentKnowledgeBase { +extension BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration { - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentKnowledgeBase { + static func write(value: BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .s3(s3): + try writer["s3"].write(s3, with: BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.RetrievalFlowNodeServiceConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.AgentKnowledgeBase() - value.agentId = try reader["agentId"].readIfPresent() - value.agentVersion = try reader["agentVersion"].readIfPresent() - value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() - value.description = try reader["description"].readIfPresent() - value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) - value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) - value.knowledgeBaseState = try reader["knowledgeBaseState"].readIfPresent() - return value + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "s3": + return .s3(try reader["s3"].read(with: BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration.read(from:))) + default: + return .sdkUnknown(name ?? "") + } } } -extension BedrockAgentClientTypes.Agent { +extension BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration { - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.Agent { + static func write(value: BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bucketName"].write(value.bucketName) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.Agent() - value.agentId = try reader["agentId"].readIfPresent() - value.agentName = try reader["agentName"].readIfPresent() - value.agentArn = try reader["agentArn"].readIfPresent() - value.agentVersion = try reader["agentVersion"].readIfPresent() - value.clientToken = try reader["clientToken"].readIfPresent() - value.instruction = try reader["instruction"].readIfPresent() - value.agentStatus = try reader["agentStatus"].readIfPresent() - value.foundationModel = try reader["foundationModel"].readIfPresent() - value.description = try reader["description"].readIfPresent() - value.idleSessionTTLInSeconds = try reader["idleSessionTTLInSeconds"].readIfPresent() - value.agentResourceRoleArn = try reader["agentResourceRoleArn"].readIfPresent() - value.customerEncryptionKeyArn = try reader["customerEncryptionKeyArn"].readIfPresent() - value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) - value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) - value.preparedAt = try reader["preparedAt"].readTimestampIfPresent(format: .dateTime) - value.failureReasons = try reader["failureReasons"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) - value.recommendedActions = try reader["recommendedActions"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) - value.promptOverrideConfiguration = try reader["promptOverrideConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptOverrideConfiguration.read(from:)) - value.guardrailConfiguration = try reader["guardrailConfiguration"].readIfPresent(with: BedrockAgentClientTypes.GuardrailConfiguration.read(from:)) + var value = BedrockAgentClientTypes.RetrievalFlowNodeS3Configuration() + value.bucketName = try reader["bucketName"].readIfPresent() return value } } -extension BedrockAgentClientTypes.GuardrailConfiguration { +extension BedrockAgentClientTypes.AgentFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.GuardrailConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.AgentFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["guardrailIdentifier"].write(value.guardrailIdentifier) - try writer["guardrailVersion"].write(value.guardrailVersion) + try writer["agentAliasArn"].write(value.agentAliasArn) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.GuardrailConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.GuardrailConfiguration() - value.guardrailIdentifier = try reader["guardrailIdentifier"].readIfPresent() - value.guardrailVersion = try reader["guardrailVersion"].readIfPresent() + var value = BedrockAgentClientTypes.AgentFlowNodeConfiguration() + value.agentAliasArn = try reader["agentAliasArn"].readIfPresent() return value } } -extension BedrockAgentClientTypes.PromptOverrideConfiguration { +extension BedrockAgentClientTypes.StorageFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.PromptOverrideConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.StorageFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["overrideLambda"].write(value.overrideLambda) - try writer["promptConfigurations"].writeList(value.promptConfigurations, memberWritingClosure: BedrockAgentClientTypes.PromptConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["serviceConfiguration"].write(value.serviceConfiguration, with: BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration.write(value:to:)) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptOverrideConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.StorageFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.PromptOverrideConfiguration() - value.promptConfigurations = try reader["promptConfigurations"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptConfiguration.read(from:), memberNodeInfo: "member", isFlattened: false) - value.overrideLambda = try reader["overrideLambda"].readIfPresent() + var value = BedrockAgentClientTypes.StorageFlowNodeConfiguration() + value.serviceConfiguration = try reader["serviceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration.read(from:)) return value } } -extension BedrockAgentClientTypes.PromptConfiguration { +extension BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration { - static func write(value: BedrockAgentClientTypes.PromptConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["basePromptTemplate"].write(value.basePromptTemplate) - try writer["inferenceConfiguration"].write(value.inferenceConfiguration, with: BedrockAgentClientTypes.InferenceConfiguration.write(value:to:)) - try writer["parserMode"].write(value.parserMode) - try writer["promptCreationMode"].write(value.promptCreationMode) - try writer["promptState"].write(value.promptState) - try writer["promptType"].write(value.promptType) + switch value { + case let .s3(s3): + try writer["s3"].write(s3, with: BedrockAgentClientTypes.StorageFlowNodeS3Configuration.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.StorageFlowNodeServiceConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.PromptConfiguration() - value.promptType = try reader["promptType"].readIfPresent() - value.promptCreationMode = try reader["promptCreationMode"].readIfPresent() - value.promptState = try reader["promptState"].readIfPresent() - value.basePromptTemplate = try reader["basePromptTemplate"].readIfPresent() - value.inferenceConfiguration = try reader["inferenceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.InferenceConfiguration.read(from:)) - value.parserMode = try reader["parserMode"].readIfPresent() - return value + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "s3": + return .s3(try reader["s3"].read(with: BedrockAgentClientTypes.StorageFlowNodeS3Configuration.read(from:))) + default: + return .sdkUnknown(name ?? "") + } } } -extension BedrockAgentClientTypes.InferenceConfiguration { +extension BedrockAgentClientTypes.StorageFlowNodeS3Configuration { - static func write(value: BedrockAgentClientTypes.InferenceConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.StorageFlowNodeS3Configuration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["maximumLength"].write(value.maximumLength) - try writer["stopSequences"].writeList(value.stopSequences, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["temperature"].write(value.temperature) - try writer["topK"].write(value.topk) - try writer["topP"].write(value.topp) + try writer["bucketName"].write(value.bucketName) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.InferenceConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.StorageFlowNodeS3Configuration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.InferenceConfiguration() - value.temperature = try reader["temperature"].readIfPresent() - value.topp = try reader["topP"].readIfPresent() - value.topk = try reader["topK"].readIfPresent() - value.maximumLength = try reader["maximumLength"].readIfPresent() - value.stopSequences = try reader["stopSequences"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + var value = BedrockAgentClientTypes.StorageFlowNodeS3Configuration() + value.bucketName = try reader["bucketName"].readIfPresent() return value } } -extension BedrockAgentClientTypes.AgentActionGroup { +extension BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration { - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentActionGroup { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.AgentActionGroup() - value.agentId = try reader["agentId"].readIfPresent() - value.agentVersion = try reader["agentVersion"].readIfPresent() - value.actionGroupId = try reader["actionGroupId"].readIfPresent() - value.actionGroupName = try reader["actionGroupName"].readIfPresent() - value.clientToken = try reader["clientToken"].readIfPresent() - value.description = try reader["description"].readIfPresent() - value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) - value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) - value.parentActionSignature = try reader["parentActionSignature"].readIfPresent() - value.actionGroupExecutor = try reader["actionGroupExecutor"].readIfPresent(with: BedrockAgentClientTypes.ActionGroupExecutor.read(from:)) - value.apiSchema = try reader["apiSchema"].readIfPresent(with: BedrockAgentClientTypes.APISchema.read(from:)) - value.functionSchema = try reader["functionSchema"].readIfPresent(with: BedrockAgentClientTypes.FunctionSchema.read(from:)) - value.actionGroupState = try reader["actionGroupState"].readIfPresent() + static func write(value: BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["lambdaArn"].write(value.lambdaArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.LambdaFunctionFlowNodeConfiguration() + value.lambdaArn = try reader["lambdaArn"].readIfPresent() return value } } -extension BedrockAgentClientTypes.FunctionSchema { +extension BedrockAgentClientTypes.PromptFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.FunctionSchema?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.PromptFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sourceConfiguration"].write(value.sourceConfiguration, with: BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptFlowNodeConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PromptFlowNodeConfiguration() + value.sourceConfiguration = try reader["sourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration.read(from:)) + return value + } +} + +extension BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration { + + static func write(value: BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } switch value { - case let .functions(functions): - try writer["functions"].writeList(functions, memberWritingClosure: BedrockAgentClientTypes.Function.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .inline(inline): + try writer["inline"].write(inline, with: BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration.write(value:to:)) + case let .resource(resource): + try writer["resource"].write(resource, with: BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration.write(value:to:)) case let .sdkUnknown(sdkUnknown): try writer["sdkUnknown"].write(sdkUnknown) } } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FunctionSchema { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptFlowNodeSourceConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name switch name { - case "functions": - return .functions(try reader["functions"].readList(memberReadingClosure: BedrockAgentClientTypes.Function.read(from:), memberNodeInfo: "member", isFlattened: false)) + case "resource": + return .resource(try reader["resource"].read(with: BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration.read(from:))) + case "inline": + return .inline(try reader["inline"].read(with: BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration.read(from:))) default: return .sdkUnknown(name ?? "") } } } -extension BedrockAgentClientTypes.Function { - - static func write(value: BedrockAgentClientTypes.Function?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["description"].write(value.description) - try writer["name"].write(value.name) - try writer["parameters"].writeMap(value.parameters, valueWritingClosure: BedrockAgentClientTypes.ParameterDetail.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) - } - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.Function { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.Function() - value.name = try reader["name"].readIfPresent() - value.description = try reader["description"].readIfPresent() - value.parameters = try reader["parameters"].readMapIfPresent(valueReadingClosure: BedrockAgentClientTypes.ParameterDetail.read(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) - return value - } -} - -extension BedrockAgentClientTypes.ParameterDetail { +extension BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration { - static func write(value: BedrockAgentClientTypes.ParameterDetail?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["description"].write(value.description) - try writer["required"].write(value.`required`) - try writer["type"].write(value.type) + try writer["inferenceConfiguration"].write(value.inferenceConfiguration, with: BedrockAgentClientTypes.PromptInferenceConfiguration.write(value:to:)) + try writer["modelId"].write(value.modelId) + try writer["templateConfiguration"].write(value.templateConfiguration, with: BedrockAgentClientTypes.PromptTemplateConfiguration.write(value:to:)) + try writer["templateType"].write(value.templateType) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ParameterDetail { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.ParameterDetail() - value.description = try reader["description"].readIfPresent() - value.type = try reader["type"].readIfPresent() - value.`required` = try reader["required"].readIfPresent() + var value = BedrockAgentClientTypes.PromptFlowNodeInlineConfiguration() + value.templateType = try reader["templateType"].readIfPresent() + value.templateConfiguration = try reader["templateConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptTemplateConfiguration.read(from:)) + value.modelId = try reader["modelId"].readIfPresent() + value.inferenceConfiguration = try reader["inferenceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptInferenceConfiguration.read(from:)) return value } } -extension BedrockAgentClientTypes.APISchema { +extension BedrockAgentClientTypes.PromptInferenceConfiguration { - static func write(value: BedrockAgentClientTypes.APISchema?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.PromptInferenceConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } switch value { - case let .payload(payload): - try writer["payload"].write(payload) - case let .s3(s3): - try writer["s3"].write(s3, with: BedrockAgentClientTypes.S3Identifier.write(value:to:)) + case let .text(text): + try writer["text"].write(text, with: BedrockAgentClientTypes.PromptModelInferenceConfiguration.write(value:to:)) case let .sdkUnknown(sdkUnknown): try writer["sdkUnknown"].write(sdkUnknown) } } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.APISchema { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptInferenceConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name switch name { - case "s3": - return .s3(try reader["s3"].read(with: BedrockAgentClientTypes.S3Identifier.read(from:))) - case "payload": - return .payload(try reader["payload"].read()) + case "text": + return .text(try reader["text"].read(with: BedrockAgentClientTypes.PromptModelInferenceConfiguration.read(from:))) default: return .sdkUnknown(name ?? "") } } } -extension BedrockAgentClientTypes.S3Identifier { +extension BedrockAgentClientTypes.PromptModelInferenceConfiguration { - static func write(value: BedrockAgentClientTypes.S3Identifier?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.PromptModelInferenceConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["s3BucketName"].write(value.s3BucketName) - try writer["s3ObjectKey"].write(value.s3ObjectKey) + try writer["maxTokens"].write(value.maxTokens) + try writer["stopSequences"].writeList(value.stopSequences, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["temperature"].write(value.temperature) + try writer["topK"].write(value.topk) + try writer["topP"].write(value.topp) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.S3Identifier { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptModelInferenceConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.S3Identifier() - value.s3BucketName = try reader["s3BucketName"].readIfPresent() - value.s3ObjectKey = try reader["s3ObjectKey"].readIfPresent() + var value = BedrockAgentClientTypes.PromptModelInferenceConfiguration() + value.temperature = try reader["temperature"].readIfPresent() + value.topp = try reader["topP"].readIfPresent() + value.topk = try reader["topK"].readIfPresent() + value.maxTokens = try reader["maxTokens"].readIfPresent() + value.stopSequences = try reader["stopSequences"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension BedrockAgentClientTypes.ActionGroupExecutor { +extension BedrockAgentClientTypes.PromptTemplateConfiguration { - static func write(value: BedrockAgentClientTypes.ActionGroupExecutor?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.PromptTemplateConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } switch value { - case let .customcontrol(customcontrol): - try writer["customControl"].write(customcontrol) - case let .lambda(lambda): - try writer["lambda"].write(lambda) + case let .text(text): + try writer["text"].write(text, with: BedrockAgentClientTypes.TextPromptTemplateConfiguration.write(value:to:)) case let .sdkUnknown(sdkUnknown): try writer["sdkUnknown"].write(sdkUnknown) } } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ActionGroupExecutor { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptTemplateConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name switch name { - case "lambda": - return .lambda(try reader["lambda"].read()) - case "customControl": - return .customcontrol(try reader["customControl"].read()) + case "text": + return .text(try reader["text"].read(with: BedrockAgentClientTypes.TextPromptTemplateConfiguration.read(from:))) default: return .sdkUnknown(name ?? "") } } } -extension BedrockAgentClientTypes.AgentAlias { +extension BedrockAgentClientTypes.TextPromptTemplateConfiguration { - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentAlias { + static func write(value: BedrockAgentClientTypes.TextPromptTemplateConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["inputVariables"].writeList(value.inputVariables, memberWritingClosure: BedrockAgentClientTypes.PromptInputVariable.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["text"].write(value.text) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.TextPromptTemplateConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.AgentAlias() - value.agentId = try reader["agentId"].readIfPresent() - value.agentAliasId = try reader["agentAliasId"].readIfPresent() - value.agentAliasName = try reader["agentAliasName"].readIfPresent() - value.agentAliasArn = try reader["agentAliasArn"].readIfPresent() - value.clientToken = try reader["clientToken"].readIfPresent() - value.description = try reader["description"].readIfPresent() - value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) - value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) - value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) - value.agentAliasHistoryEvents = try reader["agentAliasHistoryEvents"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasHistoryEvent.read(from:), memberNodeInfo: "member", isFlattened: false) - value.agentAliasStatus = try reader["agentAliasStatus"].readIfPresent() - value.failureReasons = try reader["failureReasons"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + var value = BedrockAgentClientTypes.TextPromptTemplateConfiguration() + value.text = try reader["text"].readIfPresent() + value.inputVariables = try reader["inputVariables"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.PromptInputVariable.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension BedrockAgentClientTypes.AgentAliasHistoryEvent { +extension BedrockAgentClientTypes.PromptInputVariable { - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentAliasHistoryEvent { + static func write(value: BedrockAgentClientTypes.PromptInputVariable?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptInputVariable { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.AgentAliasHistoryEvent() - value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) - value.endDate = try reader["endDate"].readTimestampIfPresent(format: .dateTime) - value.startDate = try reader["startDate"].readTimestampIfPresent(format: .dateTime) + var value = BedrockAgentClientTypes.PromptInputVariable() + value.name = try reader["name"].readIfPresent() return value } } -extension BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem { +extension BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration { - static func write(value: BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["agentVersion"].write(value.agentVersion) - try writer["provisionedThroughput"].write(value.provisionedThroughput) + try writer["promptArn"].write(value.promptArn) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.AgentAliasRoutingConfigurationListItem() - value.agentVersion = try reader["agentVersion"].readIfPresent() - value.provisionedThroughput = try reader["provisionedThroughput"].readIfPresent() + var value = BedrockAgentClientTypes.PromptFlowNodeResourceConfiguration() + value.promptArn = try reader["promptArn"].readIfPresent() return value } } -extension BedrockAgentClientTypes.DataSource { +extension BedrockAgentClientTypes.LexFlowNodeConfiguration { - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.DataSource { + static func write(value: BedrockAgentClientTypes.LexFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["botAliasArn"].write(value.botAliasArn) + try writer["localeId"].write(value.localeId) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.LexFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.DataSource() - value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() - value.dataSourceId = try reader["dataSourceId"].readIfPresent() - value.name = try reader["name"].readIfPresent() - value.status = try reader["status"].readIfPresent() - value.description = try reader["description"].readIfPresent() - value.dataSourceConfiguration = try reader["dataSourceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.DataSourceConfiguration.read(from:)) - value.serverSideEncryptionConfiguration = try reader["serverSideEncryptionConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ServerSideEncryptionConfiguration.read(from:)) - value.vectorIngestionConfiguration = try reader["vectorIngestionConfiguration"].readIfPresent(with: BedrockAgentClientTypes.VectorIngestionConfiguration.read(from:)) - value.dataDeletionPolicy = try reader["dataDeletionPolicy"].readIfPresent() - value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) - value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) - value.failureReasons = try reader["failureReasons"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + var value = BedrockAgentClientTypes.LexFlowNodeConfiguration() + value.botAliasArn = try reader["botAliasArn"].readIfPresent() + value.localeId = try reader["localeId"].readIfPresent() return value } } -extension BedrockAgentClientTypes.VectorIngestionConfiguration { +extension BedrockAgentClientTypes.ConditionFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.VectorIngestionConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.ConditionFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["chunkingConfiguration"].write(value.chunkingConfiguration, with: BedrockAgentClientTypes.ChunkingConfiguration.write(value:to:)) + try writer["conditions"].writeList(value.conditions, memberWritingClosure: BedrockAgentClientTypes.FlowCondition.write(value:to:), memberNodeInfo: "member", isFlattened: false) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.VectorIngestionConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ConditionFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.VectorIngestionConfiguration() - value.chunkingConfiguration = try reader["chunkingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.ChunkingConfiguration.read(from:)) + var value = BedrockAgentClientTypes.ConditionFlowNodeConfiguration() + value.conditions = try reader["conditions"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowCondition.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension BedrockAgentClientTypes.ChunkingConfiguration { +extension BedrockAgentClientTypes.FlowCondition { - static func write(value: BedrockAgentClientTypes.ChunkingConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.FlowCondition?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["chunkingStrategy"].write(value.chunkingStrategy) - try writer["fixedSizeChunkingConfiguration"].write(value.fixedSizeChunkingConfiguration, with: BedrockAgentClientTypes.FixedSizeChunkingConfiguration.write(value:to:)) + try writer["expression"].write(value.expression) + try writer["name"].write(value.name) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ChunkingConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowCondition { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.ChunkingConfiguration() - value.chunkingStrategy = try reader["chunkingStrategy"].readIfPresent() - value.fixedSizeChunkingConfiguration = try reader["fixedSizeChunkingConfiguration"].readIfPresent(with: BedrockAgentClientTypes.FixedSizeChunkingConfiguration.read(from:)) + var value = BedrockAgentClientTypes.FlowCondition() + value.name = try reader["name"].readIfPresent() + value.expression = try reader["expression"].readIfPresent() return value } } -extension BedrockAgentClientTypes.FixedSizeChunkingConfiguration { +extension BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.FixedSizeChunkingConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["maxTokens"].write(value.maxTokens) - try writer["overlapPercentage"].write(value.overlapPercentage) + try writer["knowledgeBaseId"].write(value.knowledgeBaseId) + try writer["modelId"].write(value.modelId) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FixedSizeChunkingConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.FixedSizeChunkingConfiguration() - value.maxTokens = try reader["maxTokens"].readIfPresent() - value.overlapPercentage = try reader["overlapPercentage"].readIfPresent() + var value = BedrockAgentClientTypes.KnowledgeBaseFlowNodeConfiguration() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.modelId = try reader["modelId"].readIfPresent() return value } } -extension BedrockAgentClientTypes.ServerSideEncryptionConfiguration { +extension BedrockAgentClientTypes.OutputFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.ServerSideEncryptionConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["kmsKeyArn"].write(value.kmsKeyArn) + static func write(value: BedrockAgentClientTypes.OutputFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ServerSideEncryptionConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.OutputFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.ServerSideEncryptionConfiguration() - value.kmsKeyArn = try reader["kmsKeyArn"].readIfPresent() - return value + return BedrockAgentClientTypes.OutputFlowNodeConfiguration() } } -extension BedrockAgentClientTypes.DataSourceConfiguration { +extension BedrockAgentClientTypes.InputFlowNodeConfiguration { - static func write(value: BedrockAgentClientTypes.DataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["s3Configuration"].write(value.s3Configuration, with: BedrockAgentClientTypes.S3DataSourceConfiguration.write(value:to:)) - try writer["type"].write(value.type) + static func write(value: BedrockAgentClientTypes.InputFlowNodeConfiguration?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.DataSourceConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.InputFlowNodeConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.DataSourceConfiguration() - value.type = try reader["type"].readIfPresent() - value.s3Configuration = try reader["s3Configuration"].readIfPresent(with: BedrockAgentClientTypes.S3DataSourceConfiguration.read(from:)) - return value + return BedrockAgentClientTypes.InputFlowNodeConfiguration() } } -extension BedrockAgentClientTypes.S3DataSourceConfiguration { +extension BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem { - static func write(value: BedrockAgentClientTypes.S3DataSourceConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["bucketArn"].write(value.bucketArn) - try writer["bucketOwnerAccountId"].write(value.bucketOwnerAccountId) - try writer["inclusionPrefixes"].writeList(value.inclusionPrefixes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["flowVersion"].write(value.flowVersion) } - static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.S3DataSourceConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockAgentClientTypes.S3DataSourceConfiguration() - value.bucketArn = try reader["bucketArn"].readIfPresent() - value.inclusionPrefixes = try reader["inclusionPrefixes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) - value.bucketOwnerAccountId = try reader["bucketOwnerAccountId"].readIfPresent() + var value = BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem() + value.flowVersion = try reader["flowVersion"].readIfPresent() return value } } @@ -7283,6 +13191,29 @@ extension BedrockAgentClientTypes.BedrockEmbeddingModelConfiguration { } } +extension BedrockAgentClientTypes.PromptVariant { + + static func write(value: BedrockAgentClientTypes.PromptVariant?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["inferenceConfiguration"].write(value.inferenceConfiguration, with: BedrockAgentClientTypes.PromptInferenceConfiguration.write(value:to:)) + try writer["modelId"].write(value.modelId) + try writer["name"].write(value.name) + try writer["templateConfiguration"].write(value.templateConfiguration, with: BedrockAgentClientTypes.PromptTemplateConfiguration.write(value:to:)) + try writer["templateType"].write(value.templateType) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptVariant { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PromptVariant() + value.name = try reader["name"].readIfPresent() + value.templateType = try reader["templateType"].readIfPresent() + value.templateConfiguration = try reader["templateConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptTemplateConfiguration.read(from:)) + value.modelId = try reader["modelId"].readIfPresent() + value.inferenceConfiguration = try reader["inferenceConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptInferenceConfiguration.read(from:)) + return value + } +} + extension BedrockAgentClientTypes.AgentVersion { static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.AgentVersion { @@ -7305,6 +13236,18 @@ extension BedrockAgentClientTypes.AgentVersion { value.recommendedActions = try reader["recommendedActions"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) value.promptOverrideConfiguration = try reader["promptOverrideConfiguration"].readIfPresent(with: BedrockAgentClientTypes.PromptOverrideConfiguration.read(from:)) value.guardrailConfiguration = try reader["guardrailConfiguration"].readIfPresent(with: BedrockAgentClientTypes.GuardrailConfiguration.read(from:)) + value.memoryConfiguration = try reader["memoryConfiguration"].readIfPresent(with: BedrockAgentClientTypes.MemoryConfiguration.read(from:)) + return value + } +} + +extension BedrockAgentClientTypes.FlowValidation { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowValidation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowValidation() + value.message = try reader["message"].readIfPresent() + value.severity = try reader["severity"].readIfPresent() return value } } @@ -7433,6 +13376,54 @@ extension BedrockAgentClientTypes.DataSourceSummary { } } +extension BedrockAgentClientTypes.FlowAliasSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowAliasSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowAliasSummary() + value.name = try reader["name"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.routingConfiguration = try reader["routingConfiguration"].readListIfPresent(memberReadingClosure: BedrockAgentClientTypes.FlowAliasRoutingConfigurationListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.flowId = try reader["flowId"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.arn = try reader["arn"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + return value + } +} + +extension BedrockAgentClientTypes.FlowSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowSummary() + value.name = try reader["name"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.arn = try reader["arn"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.version = try reader["version"].readIfPresent() + return value + } +} + +extension BedrockAgentClientTypes.FlowVersionSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.FlowVersionSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.FlowVersionSummary() + value.id = try reader["id"].readIfPresent() + value.arn = try reader["arn"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.version = try reader["version"].readIfPresent() + return value + } +} + extension BedrockAgentClientTypes.IngestionJobSummary { static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.IngestionJobSummary { @@ -7464,6 +13455,22 @@ extension BedrockAgentClientTypes.KnowledgeBaseSummary { } } +extension BedrockAgentClientTypes.PromptSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.PromptSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentClientTypes.PromptSummary() + value.name = try reader["name"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.arn = try reader["arn"].readIfPresent() + value.version = try reader["version"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + return value + } +} + extension BedrockAgentClientTypes.ValidationExceptionField { static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentClientTypes.ValidationExceptionField { diff --git a/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt b/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt index 8b26c3bf68f..e95776028b4 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt +++ b/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt @@ -61,11 +61,11 @@ let package = Package( package: "aws-sdk-swift.AWSSDKHTTPAuth" ), .product( - name: "SmithyJSON", + name: "SmithyRetries", package: "aws-sdk-swift.smithy-swift" ), .product( - name: "SmithyRetries", + name: "SmithyJSON", package: "aws-sdk-swift.smithy-swift" ), .product( diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift index 3cc85508138..568b3f1c14d 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift @@ -43,6 +43,7 @@ import struct ClientRuntime.ContentTypeMiddleware import struct ClientRuntime.DeserializeMiddleware import struct ClientRuntime.LoggerMiddleware import struct ClientRuntime.OperationStack +import struct ClientRuntime.QueryItemMiddleware import struct ClientRuntime.RetryMiddleware import struct ClientRuntime.SignerMiddleware import struct ClientRuntime.URLHostMiddleware @@ -177,9 +178,117 @@ extension BedrockAgentRuntimeClient { } extension BedrockAgentRuntimeClient { + /// Performs the `DeleteAgentMemory` operation on the `AmazonBedrockAgentRunTimeService` service. + /// + /// Deletes memory from the specified memory identifier. + /// + /// - Parameter DeleteAgentMemoryInput : [no documentation found] + /// + /// - Returns: `DeleteAgentMemoryOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. Check your permissions and retry your request. + /// - `BadGatewayException` : There was an issue with a dependency due to a server issue. Retry your request. + /// - `ConflictException` : There was a conflict performing an operation. Resolve the conflict and retry your request. + /// - `DependencyFailedException` : There was an issue with a dependency. Check the resource configurations and retry the request. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func deleteAgentMemory(input: DeleteAgentMemoryInput) async throws -> DeleteAgentMemoryOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteAgentMemory") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deleteAgentMemory") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteAgentMemoryInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(DeleteAgentMemoryInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteAgentMemoryOutput.httpOutput(from:), DeleteAgentMemoryOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetAgentMemory` operation on the `AmazonBedrockAgentRunTimeService` service. + /// + /// Gets the sessions stored in the memory of the agent. + /// + /// - Parameter GetAgentMemoryInput : [no documentation found] + /// + /// - Returns: `GetAgentMemoryOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. Check your permissions and retry your request. + /// - `BadGatewayException` : There was an issue with a dependency due to a server issue. Retry your request. + /// - `ConflictException` : There was a conflict performing an operation. Resolve the conflict and retry your request. + /// - `DependencyFailedException` : There was an issue with a dependency. Check the resource configurations and retry the request. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func getAgentMemory(input: GetAgentMemoryInput) async throws -> GetAgentMemoryOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getAgentMemory") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getAgentMemory") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetAgentMemoryInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(GetAgentMemoryInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetAgentMemoryOutput.httpOutput(from:), GetAgentMemoryOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `InvokeAgent` operation on the `AmazonBedrockAgentRunTimeService` service. /// - /// The CLI doesn't support InvokeAgent. Sends a prompt for the agent to process and respond to. Note the following fields for the request: + /// The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeAgent. Sends a prompt for the agent to process and respond to. Note the following fields for the request: /// /// * To continue the same conversation with an agent, use the same sessionId value in the request. /// @@ -252,6 +361,62 @@ extension BedrockAgentRuntimeClient { return result } + /// Performs the `InvokeFlow` operation on the `AmazonBedrockAgentRunTimeService` service. + /// + /// Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see [Test a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html) in the Amazon Bedrock User Guide. + /// + /// - Parameter InvokeFlowInput : [no documentation found] + /// + /// - Returns: `InvokeFlowOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. Check your permissions and retry your request. + /// - `BadGatewayException` : There was an issue with a dependency due to a server issue. Retry your request. + /// - `ConflictException` : There was a conflict performing an operation. Resolve the conflict and retry your request. + /// - `DependencyFailedException` : There was an issue with a dependency. Check the resource configurations and retry the request. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func invokeFlow(input: InvokeFlowInput) async throws -> InvokeFlowOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "invokeFlow") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "invokeFlow") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(InvokeFlowInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: InvokeFlowInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(InvokeFlowOutput.httpOutput(from:), InvokeFlowOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `Retrieve` operation on the `AmazonBedrockAgentRunTimeService` service. /// /// Queries a knowledge base and retrieves information from it. diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift index 2861be00159..6a61d0804de 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -25,6 +25,7 @@ import protocol ClientRuntime.HTTPError import protocol ClientRuntime.ModeledError import struct AWSClientRuntime.RestJSONError @_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError +import struct Smithy.URIQueryItem import struct SmithyEventStreams.DefaultMessageDecoderStream import struct SmithyEventStreamsAPI.Message import typealias SmithyEventStreamsAPI.UnmarshalClosure @@ -41,7 +42,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -53,6 +54,35 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim } } +extension BedrockAgentRuntimeClientTypes { + + public enum ExecutionType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case lambda + case returnControl + case sdkUnknown(Swift.String) + + public static var allCases: [ExecutionType] { + return [ + .lambda, + .returnControl + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .lambda: return "LAMBDA" + case .returnControl: return "RETURN_CONTROL" + case let .sdkUnknown(s): return s + } + } + } +} + extension BedrockAgentRuntimeClientTypes { /// A parameter for the API request or function. public struct Parameter { @@ -100,8 +130,12 @@ extension BedrockAgentRuntimeClientTypes { public var actionGroupName: Swift.String? /// The path to the API to call, based off the action group. public var apiPath: Swift.String? + /// How fulfillment of the action is handled. For more information, see [Handling fulfillment of the action](https://docs.aws.amazon.com/bedrock/latest/userguide/action-handle.html). + public var executionType: BedrockAgentRuntimeClientTypes.ExecutionType? /// The function in the action group to call. public var function: Swift.String? + /// The unique identifier of the invocation. Only returned if the executionType is RETURN_CONTROL. + public var invocationId: Swift.String? /// The parameters in the Lambda input event. public var parameters: [BedrockAgentRuntimeClientTypes.Parameter]? /// The parameters in the request body for the Lambda input event. @@ -112,7 +146,9 @@ extension BedrockAgentRuntimeClientTypes { public init( actionGroupName: Swift.String? = nil, apiPath: Swift.String? = nil, + executionType: BedrockAgentRuntimeClientTypes.ExecutionType? = nil, function: Swift.String? = nil, + invocationId: Swift.String? = nil, parameters: [BedrockAgentRuntimeClientTypes.Parameter]? = nil, requestBody: BedrockAgentRuntimeClientTypes.RequestBody? = nil, verb: Swift.String? = nil @@ -120,7 +156,9 @@ extension BedrockAgentRuntimeClientTypes { { self.actionGroupName = actionGroupName self.apiPath = apiPath + self.executionType = executionType self.function = function + self.invocationId = invocationId self.parameters = parameters self.requestBody = requestBody self.verb = verb @@ -131,7 +169,7 @@ extension BedrockAgentRuntimeClientTypes { extension BedrockAgentRuntimeClientTypes.ActionGroupInvocationInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ActionGroupInvocationInput(parameters: \(Swift.String(describing: parameters)), requestBody: \(Swift.String(describing: requestBody)), actionGroupName: \"CONTENT_REDACTED\", apiPath: \"CONTENT_REDACTED\", function: \"CONTENT_REDACTED\", verb: \"CONTENT_REDACTED\")"} + "ActionGroupInvocationInput(executionType: \(Swift.String(describing: executionType)), invocationId: \(Swift.String(describing: invocationId)), parameters: \(Swift.String(describing: parameters)), requestBody: \(Swift.String(describing: requestBody)), actionGroupName: \"CONTENT_REDACTED\", apiPath: \"CONTENT_REDACTED\", function: \"CONTENT_REDACTED\", verb: \"CONTENT_REDACTED\")"} } extension BedrockAgentRuntimeClientTypes { @@ -169,7 +207,7 @@ public struct BadGatewayException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -195,7 +233,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -221,7 +259,7 @@ public struct DependencyFailedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -247,7 +285,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -271,7 +309,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -295,7 +333,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -319,7 +357,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -343,7 +381,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -356,34 +394,83 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. } extension BedrockAgentRuntimeClientTypes { - /// Contains the body of the API response. This data type is used in the following API operations: + /// Contains information about an input into the flow. This data type is used in the following API operations: /// - /// * In the returnControlInvocationResults field of the [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - public struct ContentBody { - /// The body of the API response. - public var body: Swift.String? + /// * [InvokeFlow request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax) + public enum FlowInputContent { + /// The input for the flow input node. + case document(SmithyReadWrite.Document) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains information about an input into the flow and what to do with it. This data type is used in the following API operations: + /// + /// * [InvokeFlow request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax) + public struct FlowInput { + /// Contains information about an input into the flow. + /// This member is required. + public var content: BedrockAgentRuntimeClientTypes.FlowInputContent? + /// A name for the input of the flow input node. + /// This member is required. + public var nodeName: Swift.String? + /// A name for the output of the flow input node. + /// This member is required. + public var nodeOutputName: Swift.String? public init( - body: Swift.String? = nil + content: BedrockAgentRuntimeClientTypes.FlowInputContent? = nil, + nodeName: Swift.String? = nil, + nodeOutputName: Swift.String? = nil ) { - self.body = body + self.content = content + self.nodeName = nodeName + self.nodeOutputName = nodeOutputName } } } +extension BedrockAgentRuntimeClientTypes.FlowInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "FlowInput(nodeName: \(Swift.String(describing: nodeName)), nodeOutputName: \(Swift.String(describing: nodeOutputName)), content: \"CONTENT_REDACTED\")"} +} + +public struct InvokeFlowInput { + /// The unique identifier of the flow alias. + /// This member is required. + public var flowAliasIdentifier: Swift.String? + /// The unique identifier of the flow. + /// This member is required. + public var flowIdentifier: Swift.String? + /// A list of objects, each containing information about an input into the flow. + /// This member is required. + public var inputs: [BedrockAgentRuntimeClientTypes.FlowInput]? + + public init( + flowAliasIdentifier: Swift.String? = nil, + flowIdentifier: Swift.String? = nil, + inputs: [BedrockAgentRuntimeClientTypes.FlowInput]? = nil + ) + { + self.flowAliasIdentifier = flowAliasIdentifier + self.flowIdentifier = flowIdentifier + self.inputs = inputs + } +} + extension BedrockAgentRuntimeClientTypes { - public enum ResponseState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case failure - case reprompt + public enum FlowCompletionReason: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case success case sdkUnknown(Swift.String) - public static var allCases: [ResponseState] { + public static var allCases: [FlowCompletionReason] { return [ - .failure, - .reprompt + .success ] } @@ -394,8 +481,7 @@ extension BedrockAgentRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .failure: return "FAILURE" - case .reprompt: return "REPROMPT" + case .success: return "SUCCESS" case let .sdkUnknown(s): return s } } @@ -403,215 +489,540 @@ extension BedrockAgentRuntimeClientTypes { } extension BedrockAgentRuntimeClientTypes { - /// Contains information about the API operation that was called from the action group and the response body that was returned. This data type is used in the following API operations: + /// Contains information about why a flow completed. This data type is used in the following API operations: /// - /// * In the returnControlInvocationResults of the [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - public struct ApiResult { - /// The action group that the API operation belongs to. + /// * [InvokeFlow response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax) + public struct FlowCompletionEvent { + /// The reason that the flow completed. /// This member is required. - public var actionGroup: Swift.String? - /// The path to the API operation. - public var apiPath: Swift.String? - /// The HTTP method for the API operation. - public var httpMethod: Swift.String? - /// http status code from API execution response (for example: 200, 400, 500). - public var httpStatusCode: Swift.Int? - /// The response body from the API operation. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function. - public var responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? - /// Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt - public var responseState: BedrockAgentRuntimeClientTypes.ResponseState? + public var completionReason: BedrockAgentRuntimeClientTypes.FlowCompletionReason? public init( - actionGroup: Swift.String? = nil, - apiPath: Swift.String? = nil, - httpMethod: Swift.String? = nil, - httpStatusCode: Swift.Int? = nil, - responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? = nil, - responseState: BedrockAgentRuntimeClientTypes.ResponseState? = nil + completionReason: BedrockAgentRuntimeClientTypes.FlowCompletionReason? = nil ) { - self.actionGroup = actionGroup - self.apiPath = apiPath - self.httpMethod = httpMethod - self.httpStatusCode = httpStatusCode - self.responseBody = responseBody - self.responseState = responseState + self.completionReason = completionReason } } } -extension BedrockAgentRuntimeClientTypes.ApiResult: Swift.CustomDebugStringConvertible { +extension BedrockAgentRuntimeClientTypes.FlowCompletionEvent: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ApiResult(actionGroup: \(Swift.String(describing: actionGroup)), httpMethod: \(Swift.String(describing: httpMethod)), httpStatusCode: \(Swift.String(describing: httpStatusCode)), responseBody: \(Swift.String(describing: responseBody)), responseState: \(Swift.String(describing: responseState)), apiPath: \"CONTENT_REDACTED\")"} + "CONTENT_REDACTED" + } } extension BedrockAgentRuntimeClientTypes { - /// Contains information about the function that was called from the action group and the response that was returned. This data type is used in the following API operations: + /// Contains information about the output node. This data type is used in the following API operations: /// - /// * In the returnControlInvocationResults of the [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - public struct FunctionResult { - /// The action group that the function belongs to. - /// This member is required. - public var actionGroup: Swift.String? - /// The name of the function that was called. - public var function: Swift.String? - /// The response from the function call using the parameters. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function. - public var responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? - /// Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt - public var responseState: BedrockAgentRuntimeClientTypes.ResponseState? - - public init( - actionGroup: Swift.String? = nil, - function: Swift.String? = nil, - responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? = nil, - responseState: BedrockAgentRuntimeClientTypes.ResponseState? = nil - ) - { - self.actionGroup = actionGroup - self.function = function - self.responseBody = responseBody - self.responseState = responseState - } + /// * [InvokeFlow request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax) + public enum FlowOutputContent { + /// A name for the output of the flow. + case document(SmithyReadWrite.Document) + case sdkUnknown(Swift.String) } } extension BedrockAgentRuntimeClientTypes { - /// A result from the invocation of an action. For more information, see [Return control to the agent developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) and [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). This data type is used in the following API operations: - /// - /// * [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - public enum InvocationResultMember { - /// The result from the API response from the action group invocation. - case apiresult(BedrockAgentRuntimeClientTypes.ApiResult) - /// The result from the function from the action group invocation. - case functionresult(BedrockAgentRuntimeClientTypes.FunctionResult) + + public enum NodeType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case conditionNode + case flowInputNode + case flowOutputNode + case knowledgeBaseNode + case lambdaFunctionNode + case lexNode + case promptNode case sdkUnknown(Swift.String) - } + public static var allCases: [NodeType] { + return [ + .conditionNode, + .flowInputNode, + .flowOutputNode, + .knowledgeBaseNode, + .lambdaFunctionNode, + .lexNode, + .promptNode + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .conditionNode: return "ConditionNode" + case .flowInputNode: return "FlowInputNode" + case .flowOutputNode: return "FlowOutputNode" + case .knowledgeBaseNode: return "KnowledgeBaseNode" + case .lambdaFunctionNode: return "LambdaFunctionNode" + case .lexNode: return "LexNode" + case .promptNode: return "PromptNode" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockAgentRuntimeClientTypes { - /// Contains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a [Lambda function](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) for an action group or pass them when making an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. Use session state attributes to control and provide conversational context for your agent and to help customize your agent's behavior. For more information, see [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - public struct SessionState { - /// The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see [Return control to the agent developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) and [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - public var invocationId: Swift.String? - /// Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). - public var promptSessionAttributes: [Swift.String: Swift.String]? - /// Contains information about the results from the action group invocation. For more information, see [Return control to the agent developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) and [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). If you include this field, the inputText field will be ignored. - public var returnControlInvocationResults: [BedrockAgentRuntimeClientTypes.InvocationResultMember]? - /// Contains attributes that persist across a session and the values of those attributes. - public var sessionAttributes: [Swift.String: Swift.String]? + /// Contains information about an output from flow invoction. This data type is used in the following API operations: + /// + /// * [InvokeFlow response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax) + public struct FlowOutputEvent { + /// The output of the node. + /// This member is required. + public var content: BedrockAgentRuntimeClientTypes.FlowOutputContent? + /// The name of the node to which input was provided. + /// This member is required. + public var nodeName: Swift.String? + /// The type of node to which input was provided. + /// This member is required. + public var nodeType: BedrockAgentRuntimeClientTypes.NodeType? public init( - invocationId: Swift.String? = nil, - promptSessionAttributes: [Swift.String: Swift.String]? = nil, - returnControlInvocationResults: [BedrockAgentRuntimeClientTypes.InvocationResultMember]? = nil, - sessionAttributes: [Swift.String: Swift.String]? = nil + content: BedrockAgentRuntimeClientTypes.FlowOutputContent? = nil, + nodeName: Swift.String? = nil, + nodeType: BedrockAgentRuntimeClientTypes.NodeType? = nil ) { - self.invocationId = invocationId - self.promptSessionAttributes = promptSessionAttributes - self.returnControlInvocationResults = returnControlInvocationResults - self.sessionAttributes = sessionAttributes + self.content = content + self.nodeName = nodeName + self.nodeType = nodeType } } } -public struct InvokeAgentInput { - /// The alias of the agent to use. - /// This member is required. - public var agentAliasId: Swift.String? - /// The unique identifier of the agent to use. - /// This member is required. - public var agentId: Swift.String? - /// Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see [Trace enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events). - public var enableTrace: Swift.Bool? - /// Specifies whether to end the session with the agent or not. - public var endSession: Swift.Bool? - /// The prompt text to send the agent. If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored. - public var inputText: Swift.String? - /// The unique identifier of the session. Use the same value across requests to continue the same conversation. +extension BedrockAgentRuntimeClientTypes.FlowOutputEvent: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentRuntimeClientTypes { + /// The output of the flow. This data type is used in the following API operations: + /// + /// * [InvokeFlow response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax) + public enum FlowResponseStream { + /// Contains information about an output from flow invocation. + case flowoutputevent(BedrockAgentRuntimeClientTypes.FlowOutputEvent) + /// Contains information about why the flow completed. + case flowcompletionevent(BedrockAgentRuntimeClientTypes.FlowCompletionEvent) + case sdkUnknown(Swift.String) + } + +} + +public struct InvokeFlowOutput { + /// The output of the flow, returned as a stream. If there's an error, the error is returned. /// This member is required. - public var sessionId: Swift.String? - /// Contains parameters that specify various attributes of the session. For more information, see [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored. - public var sessionState: BedrockAgentRuntimeClientTypes.SessionState? + public var responseStream: AsyncThrowingStream? public init( - agentAliasId: Swift.String? = nil, - agentId: Swift.String? = nil, - enableTrace: Swift.Bool? = nil, - endSession: Swift.Bool? = nil, - inputText: Swift.String? = nil, - sessionId: Swift.String? = nil, - sessionState: BedrockAgentRuntimeClientTypes.SessionState? = nil + responseStream: AsyncThrowingStream? = nil ) { - self.agentAliasId = agentAliasId - self.agentId = agentId - self.enableTrace = enableTrace - self.endSession = endSession - self.inputText = inputText - self.sessionId = sessionId - self.sessionState = sessionState + self.responseStream = responseStream } } -extension InvokeAgentInput: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "InvokeAgentInput(agentAliasId: \(Swift.String(describing: agentAliasId)), agentId: \(Swift.String(describing: agentId)), enableTrace: \(Swift.String(describing: enableTrace)), endSession: \(Swift.String(describing: endSession)), sessionId: \(Swift.String(describing: sessionId)), sessionState: \(Swift.String(describing: sessionState)), inputText: \"CONTENT_REDACTED\")"} -} - extension BedrockAgentRuntimeClientTypes { - /// Contains information about where the text with a citation begins and ends in the generated output. This data type is used in the following API operations: - /// - /// * [RetrieveAndGenerate response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) – in the span field - /// - /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the span field - public struct Span { - /// Where the text with a citation ends in the generated output. - public var end: Swift.Int? - /// Where the text with a citation starts in the generated output. - public var start: Swift.Int? + /// The property contains the file to chat with, along with its attributes. + public struct ByteContentFile { + /// The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files. + /// This member is required. + public var data: Foundation.Data? + /// The MIME type of data contained in the file used for chat. + /// This member is required. + public var mediaType: Swift.String? public init( - end: Swift.Int? = nil, - start: Swift.Int? = nil + data: Foundation.Data? = nil, + mediaType: Swift.String? = nil ) { - self.end = end - self.start = start + self.data = data + self.mediaType = mediaType } } } +extension BedrockAgentRuntimeClientTypes.ByteContentFile: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ByteContentFile(mediaType: \(Swift.String(describing: mediaType)), data: \"CONTENT_REDACTED\")"} +} + extension BedrockAgentRuntimeClientTypes { - /// Contains the part of the generated text that contains a citation, alongside where it begins and ends. This data type is used in the following API operations: - /// - /// * [RetrieveAndGenerate response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) – in the textResponsePart field - /// - /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the textResponsePart field - public struct TextResponsePart { - /// Contains information about where the text with a citation begins and ends in the generated output. - public var span: BedrockAgentRuntimeClientTypes.Span? - /// The part of the generated text that contains a citation. - public var text: Swift.String? + /// Contains details of the s3 object where the source file is located. + public struct S3ObjectFile { + /// The uri of the s3 object. + /// This member is required. + public var uri: Swift.String? public init( - span: BedrockAgentRuntimeClientTypes.Span? = nil, - text: Swift.String? = nil + uri: Swift.String? = nil ) { - self.span = span - self.text = text + self.uri = uri } } } -extension BedrockAgentRuntimeClientTypes.TextResponsePart: Swift.CustomDebugStringConvertible { +extension BedrockAgentRuntimeClientTypes { + + public enum FileSourceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case byteContent + case s3 + case sdkUnknown(Swift.String) + + public static var allCases: [FileSourceType] { + return [ + .byteContent, + .s3 + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .byteContent: return "BYTE_CONTENT" + case .s3: return "S3" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentRuntimeClientTypes { + /// The source file of the content contained in the wrapper object. + public struct FileSource { + /// The data and the text of the attached files. + public var byteContent: BedrockAgentRuntimeClientTypes.ByteContentFile? + /// The s3 location of the files to attach. + public var s3Location: BedrockAgentRuntimeClientTypes.S3ObjectFile? + /// The source type of the files to attach. + /// This member is required. + public var sourceType: BedrockAgentRuntimeClientTypes.FileSourceType? + + public init( + byteContent: BedrockAgentRuntimeClientTypes.ByteContentFile? = nil, + s3Location: BedrockAgentRuntimeClientTypes.S3ObjectFile? = nil, + sourceType: BedrockAgentRuntimeClientTypes.FileSourceType? = nil + ) + { + self.byteContent = byteContent + self.s3Location = s3Location + self.sourceType = sourceType + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + + public enum FileUseCase: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case chat + case codeInterpreter + case sdkUnknown(Swift.String) + + public static var allCases: [FileUseCase] { + return [ + .chat, + .codeInterpreter + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .chat: return "CHAT" + case .codeInterpreter: return "CODE_INTERPRETER" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains details of the source files. + public struct InputFile { + /// The name of the source file. + /// This member is required. + public var name: Swift.String? + /// Specifies where the files are located. + /// This member is required. + public var source: BedrockAgentRuntimeClientTypes.FileSource? + /// Specifies how the source files will be used by the code interpreter. + /// This member is required. + public var useCase: BedrockAgentRuntimeClientTypes.FileUseCase? + + public init( + name: Swift.String? = nil, + source: BedrockAgentRuntimeClientTypes.FileSource? = nil, + useCase: BedrockAgentRuntimeClientTypes.FileUseCase? = nil + ) + { + self.name = name + self.source = source + self.useCase = useCase + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Specifies the name that the metadata attribute must match and the value to which to compare the value of the metadata attribute. For more information, see [Query configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). This data type is used in the following API operations: + /// + /// * [RetrieveAndGenerate request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + public struct FilterAttribute { + /// The name that the metadata attribute must match. + /// This member is required. + public var key: Swift.String? + /// The value to whcih to compare the value of the metadata attribute. + /// This member is required. + public var value: SmithyReadWrite.Document? + + public init( + key: Swift.String? = nil, + value: SmithyReadWrite.Document? = nil + ) + { + self.key = key + self.value = value + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + + public enum SearchType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case hybrid + case semantic + case sdkUnknown(Swift.String) + + public static var allCases: [SearchType] { + return [ + .hybrid, + .semantic + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .hybrid: return "HYBRID" + case .semantic: return "SEMANTIC" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains the body of the API response. This data type is used in the following API operations: + /// + /// * In the returnControlInvocationResults field of the [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + public struct ContentBody { + /// The body of the API response. + public var body: Swift.String? + + public init( + body: Swift.String? = nil + ) + { + self.body = body + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + + public enum ResponseState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failure + case reprompt + case sdkUnknown(Swift.String) + + public static var allCases: [ResponseState] { + return [ + .failure, + .reprompt + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failure: return "FAILURE" + case .reprompt: return "REPROMPT" + case let .sdkUnknown(s): return s + } + } + } +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains information about the API operation that was called from the action group and the response body that was returned. This data type is used in the following API operations: + /// + /// * In the returnControlInvocationResults of the [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + public struct ApiResult { + /// The action group that the API operation belongs to. + /// This member is required. + public var actionGroup: Swift.String? + /// The path to the API operation. + public var apiPath: Swift.String? + /// The HTTP method for the API operation. + public var httpMethod: Swift.String? + /// http status code from API execution response (for example: 200, 400, 500). + public var httpStatusCode: Swift.Int? + /// The response body from the API operation. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function. + public var responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? + /// Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt + public var responseState: BedrockAgentRuntimeClientTypes.ResponseState? + + public init( + actionGroup: Swift.String? = nil, + apiPath: Swift.String? = nil, + httpMethod: Swift.String? = nil, + httpStatusCode: Swift.Int? = nil, + responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? = nil, + responseState: BedrockAgentRuntimeClientTypes.ResponseState? = nil + ) + { + self.actionGroup = actionGroup + self.apiPath = apiPath + self.httpMethod = httpMethod + self.httpStatusCode = httpStatusCode + self.responseBody = responseBody + self.responseState = responseState + } + } + +} + +extension BedrockAgentRuntimeClientTypes.ApiResult: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ApiResult(actionGroup: \(Swift.String(describing: actionGroup)), httpMethod: \(Swift.String(describing: httpMethod)), httpStatusCode: \(Swift.String(describing: httpStatusCode)), responseBody: \(Swift.String(describing: responseBody)), responseState: \(Swift.String(describing: responseState)), apiPath: \"CONTENT_REDACTED\")"} +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains information about the function that was called from the action group and the response that was returned. This data type is used in the following API operations: + /// + /// * In the returnControlInvocationResults of the [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + public struct FunctionResult { + /// The action group that the function belongs to. + /// This member is required. + public var actionGroup: Swift.String? + /// The name of the function that was called. + public var function: Swift.String? + /// The response from the function call using the parameters. The key of the object is the content type (currently, only TEXT is supported). The response may be returned directly or from the Lambda function. + public var responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? + /// Controls the final response state returned to end user when API/Function execution failed. When this state is FAILURE, the request would fail with dependency failure exception. When this state is REPROMPT, the API/function response will be sent to model for re-prompt + public var responseState: BedrockAgentRuntimeClientTypes.ResponseState? + + public init( + actionGroup: Swift.String? = nil, + function: Swift.String? = nil, + responseBody: [Swift.String: BedrockAgentRuntimeClientTypes.ContentBody]? = nil, + responseState: BedrockAgentRuntimeClientTypes.ResponseState? = nil + ) + { + self.actionGroup = actionGroup + self.function = function + self.responseBody = responseBody + self.responseState = responseState + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// A result from the invocation of an action. For more information, see [Return control to the agent developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) and [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). This data type is used in the following API operations: + /// + /// * [InvokeAgent request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + public enum InvocationResultMember { + /// The result from the API response from the action group invocation. + case apiresult(BedrockAgentRuntimeClientTypes.ApiResult) + /// The result from the function from the action group invocation. + case functionresult(BedrockAgentRuntimeClientTypes.FunctionResult) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains information about where the text with a citation begins and ends in the generated output. This data type is used in the following API operations: + /// + /// * [RetrieveAndGenerate response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) – in the span field + /// + /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the span field + public struct Span { + /// Where the text with a citation ends in the generated output. + public var end: Swift.Int? + /// Where the text with a citation starts in the generated output. + public var start: Swift.Int? + + public init( + end: Swift.Int? = nil, + start: Swift.Int? = nil + ) + { + self.end = end + self.start = start + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains the part of the generated text that contains a citation, alongside where it begins and ends. This data type is used in the following API operations: + /// + /// * [RetrieveAndGenerate response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) – in the textResponsePart field + /// + /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the textResponsePart field + public struct TextResponsePart { + /// Contains information about where the text with a citation begins and ends in the generated output. + public var span: BedrockAgentRuntimeClientTypes.Span? + /// The part of the generated text that contains a citation. + public var text: Swift.String? + + public init( + span: BedrockAgentRuntimeClientTypes.Span? = nil, + text: Swift.String? = nil + ) + { + self.span = span + self.text = text + } + } + +} + +extension BedrockAgentRuntimeClientTypes.TextResponsePart: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { "CONTENT_REDACTED" } @@ -665,29 +1076,77 @@ extension BedrockAgentRuntimeClientTypes { } -extension BedrockAgentRuntimeClientTypes.RetrievalResultContent: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "CONTENT_REDACTED" - } -} - +extension BedrockAgentRuntimeClientTypes.RetrievalResultContent: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentRuntimeClientTypes { + /// The Confluence data source location. + public struct RetrievalResultConfluenceLocation { + /// The Confluence host URL for the data source location. + public var url: Swift.String? + + public init( + url: Swift.String? = nil + ) + { + self.url = url + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// The S3 data source location. This data type is used in the following API operations: + /// + /// * [Retrieve response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) – in the s3Location field + /// + /// * [RetrieveAndGenerate response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) – in the s3Location field + /// + /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the s3Location field + public struct RetrievalResultS3Location { + /// The S3 URI for the data source location. + public var uri: Swift.String? + + public init( + uri: Swift.String? = nil + ) + { + self.uri = uri + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// The Salesforce data source location. + public struct RetrievalResultSalesforceLocation { + /// The Salesforce host URL for the data source location. + public var url: Swift.String? + + public init( + url: Swift.String? = nil + ) + { + self.url = url + } + } + +} + extension BedrockAgentRuntimeClientTypes { - /// Contains the S3 location of the data source. This data type is used in the following API operations: - /// - /// * [Retrieve response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) – in the s3Location field - /// - /// * [RetrieveAndGenerate response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) – in the s3Location field - /// - /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the s3Location field - public struct RetrievalResultS3Location { - /// The S3 URI of the data source. - public var uri: Swift.String? + /// The SharePoint data source location. + public struct RetrievalResultSharePointLocation { + /// The SharePoint site URL for the data source location. + public var url: Swift.String? public init( - uri: Swift.String? = nil + url: Swift.String? = nil ) { - self.uri = uri + self.url = url } } @@ -696,12 +1155,20 @@ extension BedrockAgentRuntimeClientTypes { extension BedrockAgentRuntimeClientTypes { public enum RetrievalResultLocationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case confluence case s3 + case salesforce + case sharepoint + case web case sdkUnknown(Swift.String) public static var allCases: [RetrievalResultLocationType] { return [ - .s3 + .confluence, + .s3, + .salesforce, + .sharepoint, + .web ] } @@ -712,7 +1179,11 @@ extension BedrockAgentRuntimeClientTypes { public var rawValue: Swift.String { switch self { + case .confluence: return "CONFLUENCE" case .s3: return "S3" + case .salesforce: return "SALESFORCE" + case .sharepoint: return "SHAREPOINT" + case .web: return "WEB" case let .sdkUnknown(s): return s } } @@ -720,7 +1191,23 @@ extension BedrockAgentRuntimeClientTypes { } extension BedrockAgentRuntimeClientTypes { - /// Contains information about the location of the data source. This data type is used in the following API operations: + /// The web URL/URLs data source location. + public struct RetrievalResultWebLocation { + /// The web URL/URLs for the data source location. + public var url: Swift.String? + + public init( + url: Swift.String? = nil + ) + { + self.url = url + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains information about the data source location. This data type is used in the following API operations: /// /// * [Retrieve response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) – in the location field /// @@ -728,19 +1215,35 @@ extension BedrockAgentRuntimeClientTypes { /// /// * [InvokeAgent response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) – in the locatino field public struct RetrievalResultLocation { - /// Contains the S3 location of the data source. + /// The Confluence data source location. + public var confluenceLocation: BedrockAgentRuntimeClientTypes.RetrievalResultConfluenceLocation? + /// The S3 data source location. public var s3Location: BedrockAgentRuntimeClientTypes.RetrievalResultS3Location? - /// The type of the location of the data source. + /// The Salesforce data source location. + public var salesforceLocation: BedrockAgentRuntimeClientTypes.RetrievalResultSalesforceLocation? + /// The SharePoint data source location. + public var sharePointLocation: BedrockAgentRuntimeClientTypes.RetrievalResultSharePointLocation? + /// The type of data source location. /// This member is required. public var type: BedrockAgentRuntimeClientTypes.RetrievalResultLocationType? + /// The web URL/URLs data source location. + public var webLocation: BedrockAgentRuntimeClientTypes.RetrievalResultWebLocation? public init( + confluenceLocation: BedrockAgentRuntimeClientTypes.RetrievalResultConfluenceLocation? = nil, s3Location: BedrockAgentRuntimeClientTypes.RetrievalResultS3Location? = nil, - type: BedrockAgentRuntimeClientTypes.RetrievalResultLocationType? = nil + salesforceLocation: BedrockAgentRuntimeClientTypes.RetrievalResultSalesforceLocation? = nil, + sharePointLocation: BedrockAgentRuntimeClientTypes.RetrievalResultSharePointLocation? = nil, + type: BedrockAgentRuntimeClientTypes.RetrievalResultLocationType? = nil, + webLocation: BedrockAgentRuntimeClientTypes.RetrievalResultWebLocation? = nil ) { + self.confluenceLocation = confluenceLocation self.s3Location = s3Location + self.salesforceLocation = salesforceLocation + self.sharePointLocation = sharePointLocation self.type = type + self.webLocation = webLocation } } @@ -851,6 +1354,57 @@ extension BedrockAgentRuntimeClientTypes.PayloadPart: Swift.CustomDebugStringCon } } +extension BedrockAgentRuntimeClientTypes { + /// Contains details of the response from code interpreter. + public struct OutputFile { + /// The byte count of files that contains response from code interpreter. + public var bytes: Foundation.Data? + /// The name of the file containing response from code interpreter. + public var name: Swift.String? + /// The type of file that contains response from the code interpreter. + public var type: Swift.String? + + public init( + bytes: Foundation.Data? = nil, + name: Swift.String? = nil, + type: Swift.String? = nil + ) + { + self.bytes = bytes + self.name = name + self.type = type + } + } + +} + +extension BedrockAgentRuntimeClientTypes.OutputFile: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains intermediate response for code interpreter if any files have been generated. + public struct FilePart { + /// Files containing intermediate response for the user. + public var files: [BedrockAgentRuntimeClientTypes.OutputFile]? + + public init( + files: [BedrockAgentRuntimeClientTypes.OutputFile]? = nil + ) + { + self.files = files + } + } + +} + +extension BedrockAgentRuntimeClientTypes.FilePart: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "FilePart(files: \"CONTENT_REDACTED\")"} +} + extension BedrockAgentRuntimeClientTypes { /// Information about a parameter to provide to the API request. This data type is used in the following API operations: /// @@ -1796,10 +2350,31 @@ extension BedrockAgentRuntimeClientTypes.GuardrailTrace: Swift.CustomDebugString } } +extension BedrockAgentRuntimeClientTypes { + /// Contains information about the code interpreter being invoked. + public struct CodeInterpreterInvocationInput { + /// The code for the code interpreter to use. + public var code: Swift.String? + /// Files that are uploaded for code interpreter to use. + public var files: [Swift.String]? + + public init( + code: Swift.String? = nil, + files: [Swift.String]? = nil + ) + { + self.code = code + self.files = files + } + } + +} + extension BedrockAgentRuntimeClientTypes { public enum InvocationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case actionGroup + case actionGroupCodeInterpreter case finish case knowledgeBase case sdkUnknown(Swift.String) @@ -1807,6 +2382,7 @@ extension BedrockAgentRuntimeClientTypes { public static var allCases: [InvocationType] { return [ .actionGroup, + .actionGroupCodeInterpreter, .finish, .knowledgeBase ] @@ -1820,6 +2396,7 @@ extension BedrockAgentRuntimeClientTypes { public var rawValue: Swift.String { switch self { case .actionGroup: return "ACTION_GROUP" + case .actionGroupCodeInterpreter: return "ACTION_GROUP_CODE_INTERPRETER" case .finish: return "FINISH" case .knowledgeBase: return "KNOWLEDGE_BASE" case let .sdkUnknown(s): return s @@ -1858,6 +2435,8 @@ extension BedrockAgentRuntimeClientTypes { public struct InvocationInput { /// Contains information about the action group to be invoked. public var actionGroupInvocationInput: BedrockAgentRuntimeClientTypes.ActionGroupInvocationInput? + /// Contains information about the code interpreter to be invoked. + public var codeInterpreterInvocationInput: BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationInput? /// Specifies whether the agent is invoking an action group or a knowledge base. public var invocationType: BedrockAgentRuntimeClientTypes.InvocationType? /// Contains details about the knowledge base to look up and the query to be made. @@ -1867,12 +2446,14 @@ extension BedrockAgentRuntimeClientTypes { public init( actionGroupInvocationInput: BedrockAgentRuntimeClientTypes.ActionGroupInvocationInput? = nil, + codeInterpreterInvocationInput: BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationInput? = nil, invocationType: BedrockAgentRuntimeClientTypes.InvocationType? = nil, knowledgeBaseLookupInput: BedrockAgentRuntimeClientTypes.KnowledgeBaseLookupInput? = nil, traceId: Swift.String? = nil ) { self.actionGroupInvocationInput = actionGroupInvocationInput + self.codeInterpreterInvocationInput = codeInterpreterInvocationInput self.invocationType = invocationType self.knowledgeBaseLookupInput = knowledgeBaseLookupInput self.traceId = traceId @@ -2035,6 +2616,34 @@ extension BedrockAgentRuntimeClientTypes.ModelInvocationInput: Swift.CustomDebug } } +extension BedrockAgentRuntimeClientTypes { + /// Contains the JSON-formatted string returned by the API invoked by the code interpreter. + public struct CodeInterpreterInvocationOutput { + /// Contains the error returned from code execution. + public var executionError: Swift.String? + /// Contains the successful output returned from code execution + public var executionOutput: Swift.String? + /// Indicates if the execution of the code timed out. + public var executionTimeout: Swift.Bool? + /// Contains output files, if generated by code execution. + public var files: [Swift.String]? + + public init( + executionError: Swift.String? = nil, + executionOutput: Swift.String? = nil, + executionTimeout: Swift.Bool? = nil, + files: [Swift.String]? = nil + ) + { + self.executionError = executionError + self.executionOutput = executionOutput + self.executionTimeout = executionTimeout + self.files = files + } + } + +} + extension BedrockAgentRuntimeClientTypes { /// Contains details about the response to the user. public struct FinalResponse { @@ -2173,6 +2782,8 @@ extension BedrockAgentRuntimeClientTypes { public struct Observation { /// Contains the JSON-formatted string returned by the API invoked by the action group. public var actionGroupInvocationOutput: BedrockAgentRuntimeClientTypes.ActionGroupInvocationOutput? + /// Contains the JSON-formatted string returned by the API invoked by the code interpreter. + public var codeInterpreterInvocationOutput: BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationOutput? /// Contains details about the response to the user. public var finalResponse: BedrockAgentRuntimeClientTypes.FinalResponse? /// Contains details about the results from looking up the knowledge base. @@ -2196,6 +2807,7 @@ extension BedrockAgentRuntimeClientTypes { public init( actionGroupInvocationOutput: BedrockAgentRuntimeClientTypes.ActionGroupInvocationOutput? = nil, + codeInterpreterInvocationOutput: BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationOutput? = nil, finalResponse: BedrockAgentRuntimeClientTypes.FinalResponse? = nil, knowledgeBaseLookupOutput: BedrockAgentRuntimeClientTypes.KnowledgeBaseLookupOutput? = nil, repromptResponse: BedrockAgentRuntimeClientTypes.RepromptResponse? = nil, @@ -2204,6 +2816,7 @@ extension BedrockAgentRuntimeClientTypes { ) { self.actionGroupInvocationOutput = actionGroupInvocationOutput + self.codeInterpreterInvocationOutput = codeInterpreterInvocationOutput self.finalResponse = finalResponse self.knowledgeBaseLookupOutput = knowledgeBaseLookupOutput self.repromptResponse = repromptResponse @@ -2469,6 +3082,8 @@ extension BedrockAgentRuntimeClientTypes { case trace(BedrockAgentRuntimeClientTypes.TracePart) /// Contains the parameters and information that the agent elicited from the customer to carry out an action. This information is returned to the system and can be used in your own setup for fulfilling the action. case returncontrol(BedrockAgentRuntimeClientTypes.ReturnControlPayload) + /// Contains intermediate response for code interpreter if any files have been generated. + case files(BedrockAgentRuntimeClientTypes.FilePart) case sdkUnknown(Swift.String) } @@ -2481,6 +3096,8 @@ public struct InvokeAgentOutput { /// The MIME type of the input data in the request. The default value is application/json. /// This member is required. public var contentType: Swift.String? + /// The unique identifier of the agent memory. + public var memoryId: Swift.String? /// The unique identifier of the session with the agent. /// This member is required. public var sessionId: Swift.String? @@ -2488,15 +3105,164 @@ public struct InvokeAgentOutput { public init( completion: AsyncThrowingStream? = nil, contentType: Swift.String? = nil, + memoryId: Swift.String? = nil, sessionId: Swift.String? = nil ) { self.completion = completion self.contentType = contentType + self.memoryId = memoryId self.sessionId = sessionId } } +public struct DeleteAgentMemoryInput { + /// The unique identifier of an alias of an agent. + /// This member is required. + public var agentAliasId: Swift.String? + /// The unique identifier of the agent to which the alias belongs. + /// This member is required. + public var agentId: Swift.String? + /// The unique identifier of the memory. + public var memoryId: Swift.String? + + public init( + agentAliasId: Swift.String? = nil, + agentId: Swift.String? = nil, + memoryId: Swift.String? = nil + ) + { + self.agentAliasId = agentAliasId + self.agentId = agentId + self.memoryId = memoryId + } +} + +public struct DeleteAgentMemoryOutput { + + public init() { } +} + +extension BedrockAgentRuntimeClientTypes { + + public enum MemoryType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case sessionSummary + case sdkUnknown(Swift.String) + + public static var allCases: [MemoryType] { + return [ + .sessionSummary + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .sessionSummary: return "SESSION_SUMMARY" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct GetAgentMemoryInput { + /// The unique identifier of an alias of an agent. + /// This member is required. + public var agentAliasId: Swift.String? + /// The unique identifier of the agent to which the alias belongs. + /// This member is required. + public var agentId: Swift.String? + /// The maximum number of items to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results. + public var maxItems: Swift.Int? + /// The unique identifier of the memory. + /// This member is required. + public var memoryId: Swift.String? + /// The type of memory. + /// This member is required. + public var memoryType: BedrockAgentRuntimeClientTypes.MemoryType? + /// If the total number of results is greater than the maxItems value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + agentAliasId: Swift.String? = nil, + agentId: Swift.String? = nil, + maxItems: Swift.Int? = nil, + memoryId: Swift.String? = nil, + memoryType: BedrockAgentRuntimeClientTypes.MemoryType? = nil, + nextToken: Swift.String? = nil + ) + { + self.agentAliasId = agentAliasId + self.agentId = agentId + self.maxItems = maxItems + self.memoryId = memoryId + self.memoryType = memoryType + self.nextToken = nextToken + } +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains details of a session summary. + public struct MemorySessionSummary { + /// The unique identifier of the memory where the session summary is stored. + public var memoryId: Swift.String? + /// The time when the memory duration for the session is set to end. + public var sessionExpiryTime: Foundation.Date? + /// The identifier for this session. + public var sessionId: Swift.String? + /// The start time for this session. + public var sessionStartTime: Foundation.Date? + /// The summarized text for this session. + public var summaryText: Swift.String? + + public init( + memoryId: Swift.String? = nil, + sessionExpiryTime: Foundation.Date? = nil, + sessionId: Swift.String? = nil, + sessionStartTime: Foundation.Date? = nil, + summaryText: Swift.String? = nil + ) + { + self.memoryId = memoryId + self.sessionExpiryTime = sessionExpiryTime + self.sessionId = sessionId + self.sessionStartTime = sessionStartTime + self.summaryText = summaryText + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains sessions summaries. + public enum Memory { + /// Contains summary of a session. + case sessionsummary(BedrockAgentRuntimeClientTypes.MemorySessionSummary) + case sdkUnknown(Swift.String) + } + +} + +public struct GetAgentMemoryOutput { + /// Contains details of the sessions stored in the memory + public var memoryContents: [BedrockAgentRuntimeClientTypes.Memory]? + /// If the total number of results is greater than the maxItems value provided in the request, use this token when making another request in the nextToken field to return the next batch of results. + public var nextToken: Swift.String? + + public init( + memoryContents: [BedrockAgentRuntimeClientTypes.Memory]? = nil, + nextToken: Swift.String? = nil + ) + { + self.memoryContents = memoryContents + self.nextToken = nextToken + } +} + extension BedrockAgentRuntimeClientTypes { /// Contains the query made to the knowledge base. This data type is used in the following API operations: /// @@ -2802,41 +3568,15 @@ extension BedrockAgentRuntimeClientTypes { } -extension BedrockAgentRuntimeClientTypes { - /// Specifies the name that the metadata attribute must match and the value to which to compare the value of the metadata attribute. For more information, see [Query configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). This data type is used in the following API operations: - /// - /// * [RetrieveAndGenerate request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - public struct FilterAttribute { - /// The name that the metadata attribute must match. - /// This member is required. - public var key: Swift.String? - /// The value to whcih to compare the value of the metadata attribute. - /// This member is required. - public var value: SmithyReadWrite.Document? - - public init( - key: Swift.String? = nil, - value: SmithyReadWrite.Document? = nil - ) - { - self.key = key - self.value = value - } - } - -} - extension BedrockAgentRuntimeClientTypes { - public enum SearchType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case hybrid - case semantic + public enum QueryTransformationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case queryDecomposition case sdkUnknown(Swift.String) - public static var allCases: [SearchType] { + public static var allCases: [QueryTransformationType] { return [ - .hybrid, - .semantic + .queryDecomposition ] } @@ -2847,14 +3587,47 @@ extension BedrockAgentRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .hybrid: return "HYBRID" - case .semantic: return "SEMANTIC" + case .queryDecomposition: return "QUERY_DECOMPOSITION" case let .sdkUnknown(s): return s } } } } +extension BedrockAgentRuntimeClientTypes { + /// To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION. + public struct QueryTransformationConfiguration { + /// The type of transformation to apply to the prompt. + /// This member is required. + public var type: BedrockAgentRuntimeClientTypes.QueryTransformationType? + + public init( + type: BedrockAgentRuntimeClientTypes.QueryTransformationType? = nil + ) + { + self.type = type + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Settings for how the model processes the prompt prior to retrieval and generation. + public struct OrchestrationConfiguration { + /// To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION. + /// This member is required. + public var queryTransformationConfiguration: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration? + + public init( + queryTransformationConfiguration: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration? = nil + ) + { + self.queryTransformationConfiguration = queryTransformationConfiguration + } + } + +} + extension BedrockAgentRuntimeClientTypes { public enum RetrieveAndGenerateType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -2965,7 +3738,7 @@ public struct RetrieveAndGenerateOutput { /// Contains the response generated from querying the knowledge base. /// This member is required. public var output: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateOutput? - /// The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base. + /// The unique identifier of the session. When you first make a RetrieveAndGenerate request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId yourself. /// This member is required. public var sessionId: Swift.String? @@ -3147,7 +3920,7 @@ extension BedrockAgentRuntimeClientTypes.KnowledgeBaseVectorSearchConfiguration: } extension BedrockAgentRuntimeClientTypes { - /// Contains configurations for the knowledge base query and retrieval process. For more information, see [Query configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). This data type is used in the following API operations: + /// Contains configurations for knowledge base query. For more information, see [Query configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). This data type is used in the following API operations: /// /// * [Retrieve request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) – in the retrievalConfiguration field /// @@ -3167,6 +3940,28 @@ extension BedrockAgentRuntimeClientTypes { } +extension BedrockAgentRuntimeClientTypes { + /// Configurations to apply to a knowledge base attached to the agent during query. For more information, see [Knowledge base retrieval configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-kb). + public struct KnowledgeBaseConfiguration { + /// The unique identifier for a knowledge base attached to the agent. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The configurations to apply to the knowledge base during query. For more information, see [Query configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + /// This member is required. + public var retrievalConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration? + + public init( + knowledgeBaseId: Swift.String? = nil, + retrievalConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration? = nil + ) + { + self.knowledgeBaseId = knowledgeBaseId + self.retrievalConfiguration = retrievalConfiguration + } + } + +} + extension BedrockAgentRuntimeClientTypes { /// Contains details about the resource being queried. This data type is used in the following API operations: /// @@ -3174,7 +3969,7 @@ extension BedrockAgentRuntimeClientTypes { /// /// * [RetrieveAndGenerate request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) – in the knowledgeBaseConfiguration field public struct KnowledgeBaseRetrieveAndGenerateConfiguration { - /// Contains configurations for response generation based on the knowwledge base query results. + /// Contains configurations for response generation based on the knowledge base query results. public var generationConfiguration: BedrockAgentRuntimeClientTypes.GenerationConfiguration? /// The unique identifier of the knowledge base that is queried and the foundation model used for generation. /// This member is required. @@ -3182,6 +3977,8 @@ extension BedrockAgentRuntimeClientTypes { /// The ARN of the foundation model used to generate a response. /// This member is required. public var modelArn: Swift.String? + /// Settings for how the model processes the prompt prior to retrieval and generation. + public var orchestrationConfiguration: BedrockAgentRuntimeClientTypes.OrchestrationConfiguration? /// Contains configurations for how to retrieve and return the knowledge base query. public var retrievalConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration? @@ -3189,12 +3986,14 @@ extension BedrockAgentRuntimeClientTypes { generationConfiguration: BedrockAgentRuntimeClientTypes.GenerationConfiguration? = nil, knowledgeBaseId: Swift.String? = nil, modelArn: Swift.String? = nil, + orchestrationConfiguration: BedrockAgentRuntimeClientTypes.OrchestrationConfiguration? = nil, retrievalConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration? = nil ) { self.generationConfiguration = generationConfiguration self.knowledgeBaseId = knowledgeBaseId self.modelArn = modelArn + self.orchestrationConfiguration = orchestrationConfiguration self.retrievalConfiguration = retrievalConfiguration } } @@ -3246,14 +4045,50 @@ extension BedrockAgentRuntimeClientTypes { public var type: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateType? public init( - externalSourcesConfiguration: BedrockAgentRuntimeClientTypes.ExternalSourcesRetrieveAndGenerateConfiguration? = nil, - knowledgeBaseConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrieveAndGenerateConfiguration? = nil, - type: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateType? = nil + externalSourcesConfiguration: BedrockAgentRuntimeClientTypes.ExternalSourcesRetrieveAndGenerateConfiguration? = nil, + knowledgeBaseConfiguration: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrieveAndGenerateConfiguration? = nil, + type: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateType? = nil + ) + { + self.externalSourcesConfiguration = externalSourcesConfiguration + self.knowledgeBaseConfiguration = knowledgeBaseConfiguration + self.type = type + } + } + +} + +extension BedrockAgentRuntimeClientTypes { + /// Contains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a [Lambda function](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) for an action group or pass them when making an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. Use session state attributes to control and provide conversational context for your agent and to help customize your agent's behavior. For more information, see [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + public struct SessionState { + /// Contains information about the files used by code interpreter. + public var files: [BedrockAgentRuntimeClientTypes.InputFile]? + /// The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see [Return control to the agent developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) and [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + public var invocationId: Swift.String? + /// An array of configurations, each of which applies to a knowledge base attached to the agent. + public var knowledgeBaseConfigurations: [BedrockAgentRuntimeClientTypes.KnowledgeBaseConfiguration]? + /// Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + public var promptSessionAttributes: [Swift.String: Swift.String]? + /// Contains information about the results from the action group invocation. For more information, see [Return control to the agent developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) and [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). If you include this field, the inputText field will be ignored. + public var returnControlInvocationResults: [BedrockAgentRuntimeClientTypes.InvocationResultMember]? + /// Contains attributes that persist across a session and the values of those attributes. + public var sessionAttributes: [Swift.String: Swift.String]? + + public init( + files: [BedrockAgentRuntimeClientTypes.InputFile]? = nil, + invocationId: Swift.String? = nil, + knowledgeBaseConfigurations: [BedrockAgentRuntimeClientTypes.KnowledgeBaseConfiguration]? = nil, + promptSessionAttributes: [Swift.String: Swift.String]? = nil, + returnControlInvocationResults: [BedrockAgentRuntimeClientTypes.InvocationResultMember]? = nil, + sessionAttributes: [Swift.String: Swift.String]? = nil ) { - self.externalSourcesConfiguration = externalSourcesConfiguration - self.knowledgeBaseConfiguration = knowledgeBaseConfiguration - self.type = type + self.files = files + self.invocationId = invocationId + self.knowledgeBaseConfigurations = knowledgeBaseConfigurations + self.promptSessionAttributes = promptSessionAttributes + self.returnControlInvocationResults = returnControlInvocationResults + self.sessionAttributes = sessionAttributes } } @@ -3267,7 +4102,7 @@ public struct RetrieveAndGenerateInput { public var retrieveAndGenerateConfiguration: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateConfiguration? /// Contains details about the session with the knowledge base. public var sessionConfiguration: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateSessionConfiguration? - /// The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base. + /// The unique identifier of the session. When you first make a RetrieveAndGenerate request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId yourself. public var sessionId: Swift.String? public init( @@ -3289,6 +4124,120 @@ extension RetrieveAndGenerateInput: Swift.CustomDebugStringConvertible { "RetrieveAndGenerateInput(retrieveAndGenerateConfiguration: \(Swift.String(describing: retrieveAndGenerateConfiguration)), sessionConfiguration: \(Swift.String(describing: sessionConfiguration)), sessionId: \(Swift.String(describing: sessionId)), input: \"CONTENT_REDACTED\")"} } +public struct InvokeAgentInput { + /// The alias of the agent to use. + /// This member is required. + public var agentAliasId: Swift.String? + /// The unique identifier of the agent to use. + /// This member is required. + public var agentId: Swift.String? + /// Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see [Trace enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events). + public var enableTrace: Swift.Bool? + /// Specifies whether to end the session with the agent or not. + public var endSession: Swift.Bool? + /// The prompt text to send the agent. If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored. + public var inputText: Swift.String? + /// The unique identifier of the agent memory. + public var memoryId: Swift.String? + /// The unique identifier of the session. Use the same value across requests to continue the same conversation. + /// This member is required. + public var sessionId: Swift.String? + /// Contains parameters that specify various attributes of the session. For more information, see [Control session context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored. + public var sessionState: BedrockAgentRuntimeClientTypes.SessionState? + + public init( + agentAliasId: Swift.String? = nil, + agentId: Swift.String? = nil, + enableTrace: Swift.Bool? = nil, + endSession: Swift.Bool? = nil, + inputText: Swift.String? = nil, + memoryId: Swift.String? = nil, + sessionId: Swift.String? = nil, + sessionState: BedrockAgentRuntimeClientTypes.SessionState? = nil + ) + { + self.agentAliasId = agentAliasId + self.agentId = agentId + self.enableTrace = enableTrace + self.endSession = endSession + self.inputText = inputText + self.memoryId = memoryId + self.sessionId = sessionId + self.sessionState = sessionState + } +} + +extension InvokeAgentInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InvokeAgentInput(agentAliasId: \(Swift.String(describing: agentAliasId)), agentId: \(Swift.String(describing: agentId)), enableTrace: \(Swift.String(describing: enableTrace)), endSession: \(Swift.String(describing: endSession)), memoryId: \(Swift.String(describing: memoryId)), sessionId: \(Swift.String(describing: sessionId)), sessionState: \(Swift.String(describing: sessionState)), inputText: \"CONTENT_REDACTED\")"} +} + +extension DeleteAgentMemoryInput { + + static func urlPathProvider(_ value: DeleteAgentMemoryInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentAliasId = value.agentAliasId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentAliases/\(agentAliasId.urlPercentEncoding())/memories" + } +} + +extension DeleteAgentMemoryInput { + + static func queryItemProvider(_ value: DeleteAgentMemoryInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let memoryId = value.memoryId { + let memoryIdQueryItem = Smithy.URIQueryItem(name: "memoryId".urlPercentEncoding(), value: Swift.String(memoryId).urlPercentEncoding()) + items.append(memoryIdQueryItem) + } + return items + } +} + +extension GetAgentMemoryInput { + + static func urlPathProvider(_ value: GetAgentMemoryInput) -> Swift.String? { + guard let agentId = value.agentId else { + return nil + } + guard let agentAliasId = value.agentAliasId else { + return nil + } + return "/agents/\(agentId.urlPercentEncoding())/agentAliases/\(agentAliasId.urlPercentEncoding())/memories" + } +} + +extension GetAgentMemoryInput { + + static func queryItemProvider(_ value: GetAgentMemoryInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let maxItems = value.maxItems { + let maxItemsQueryItem = Smithy.URIQueryItem(name: "maxItems".urlPercentEncoding(), value: Swift.String(maxItems).urlPercentEncoding()) + items.append(maxItemsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + guard let memoryType = value.memoryType else { + let message = "Creating a URL Query Item failed. memoryType is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let memoryTypeQueryItem = Smithy.URIQueryItem(name: "memoryType".urlPercentEncoding(), value: Swift.String(memoryType.rawValue).urlPercentEncoding()) + items.append(memoryTypeQueryItem) + guard let memoryId = value.memoryId else { + let message = "Creating a URL Query Item failed. memoryId is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let memoryIdQueryItem = Smithy.URIQueryItem(name: "memoryId".urlPercentEncoding(), value: Swift.String(memoryId).urlPercentEncoding()) + items.append(memoryIdQueryItem) + return items + } +} + extension InvokeAgentInput { static func urlPathProvider(_ value: InvokeAgentInput) -> Swift.String? { @@ -3305,6 +4254,19 @@ extension InvokeAgentInput { } } +extension InvokeFlowInput { + + static func urlPathProvider(_ value: InvokeFlowInput) -> Swift.String? { + guard let flowIdentifier = value.flowIdentifier else { + return nil + } + guard let flowAliasIdentifier = value.flowAliasIdentifier else { + return nil + } + return "/flows/\(flowIdentifier.urlPercentEncoding())/aliases/\(flowAliasIdentifier.urlPercentEncoding())" + } +} + extension RetrieveInput { static func urlPathProvider(_ value: RetrieveInput) -> Swift.String? { @@ -3329,10 +4291,19 @@ extension InvokeAgentInput { try writer["enableTrace"].write(value.enableTrace) try writer["endSession"].write(value.endSession) try writer["inputText"].write(value.inputText) + try writer["memoryId"].write(value.memoryId) try writer["sessionState"].write(value.sessionState, with: BedrockAgentRuntimeClientTypes.SessionState.write(value:to:)) } } +extension InvokeFlowInput { + + static func write(value: InvokeFlowInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["inputs"].writeList(value.inputs, memberWritingClosure: BedrockAgentRuntimeClientTypes.FlowInput.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension RetrieveInput { static func write(value: RetrieveInput?, to writer: SmithyJSON.Writer) throws { @@ -3354,13 +4325,36 @@ extension RetrieveAndGenerateInput { } } +extension DeleteAgentMemoryOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgentMemoryOutput { + return DeleteAgentMemoryOutput() + } +} + +extension GetAgentMemoryOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentMemoryOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetAgentMemoryOutput() + value.memoryContents = try reader["memoryContents"].readListIfPresent(memberReadingClosure: BedrockAgentRuntimeClientTypes.Memory.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension InvokeAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeAgentOutput { var value = InvokeAgentOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-bedrock-agent-content-type") { value.contentType = contentTypeHeaderValue } + if let memoryIdHeaderValue = httpResponse.headers.value(for: "x-amz-bedrock-agent-memory-id") { + value.memoryId = memoryIdHeaderValue + } if let sessionIdHeaderValue = httpResponse.headers.value(for: "x-amz-bedrock-agent-session-id") { value.sessionId = sessionIdHeaderValue } @@ -3373,9 +4367,22 @@ extension InvokeAgentOutput { } } +extension InvokeFlowOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeFlowOutput { + var value = InvokeFlowOutput() + if case .stream(let stream) = httpResponse.body { + let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() + let decoderStream = SmithyEventStreams.DefaultMessageDecoderStream(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: BedrockAgentRuntimeClientTypes.FlowResponseStream.unmarshal) + value.responseStream = decoderStream.toAsyncStream() + } + return value + } +} + extension RetrieveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3388,7 +4395,7 @@ extension RetrieveOutput { extension RetrieveAndGenerateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveAndGenerateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveAndGenerateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3401,9 +4408,75 @@ extension RetrieveAndGenerateOutput { } } +enum DeleteAgentMemoryOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "DependencyFailedException": return try DependencyFailedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetAgentMemoryOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "DependencyFailedException": return try DependencyFailedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum InvokeAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "DependencyFailedException": return try DependencyFailedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum InvokeFlowOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3425,7 +4498,7 @@ enum InvokeAgentOutputError { enum RetrieveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3447,7 +4520,7 @@ enum RetrieveOutputError { enum RetrieveAndGenerateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3592,15 +4665,80 @@ extension BedrockAgentRuntimeClientTypes.ResponseStream { switch try message.type() { case .event(let params): switch params.eventType { - case "chunk": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.PayloadPart.read(from:)) - return .chunk(value) - case "trace": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.TracePart.read(from:)) - return .trace(value) - case "returnControl": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.ReturnControlPayload.read(from:)) - return .returncontrol(value) + case "chunk": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.PayloadPart.read(from:)) + return .chunk(value) + case "trace": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.TracePart.read(from:)) + return .trace(value) + case "returnControl": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.ReturnControlPayload.read(from:)) + return .returncontrol(value) + case "files": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.FilePart.read(from:)) + return .files(value) + default: + return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") + } + case .exception(let params): + let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in + switch params.exceptionType { + case "internalServerException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalServerException.read(from:)) + return value + case "validationException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ValidationException.read(from:)) + return value + case "resourceNotFoundException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ResourceNotFoundException.read(from:)) + return value + case "serviceQuotaExceededException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ServiceQuotaExceededException.read(from:)) + return value + case "throttlingException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ThrottlingException.read(from:)) + return value + case "accessDeniedException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: AccessDeniedException.read(from:)) + return value + case "conflictException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ConflictException.read(from:)) + return value + case "dependencyFailedException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: DependencyFailedException.read(from:)) + return value + case "badGatewayException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BadGatewayException.read(from:)) + return value + default: + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) + } + } + let error = try makeError(message, params) + throw error + case .error(let params): + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) + case .unknown(messageType: let messageType): + throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") + } + } + } +} + +extension BedrockAgentRuntimeClientTypes.FlowResponseStream { + static var unmarshal: SmithyEventStreamsAPI.UnmarshalClosure { + { message in + switch try message.type() { + case .event(let params): + switch params.eventType { + case "flowOutputEvent": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.FlowOutputEvent.read(from:)) + return .flowoutputevent(value) + case "flowCompletionEvent": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.FlowCompletionEvent.read(from:)) + return .flowcompletionevent(value) default: return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") } @@ -3635,14 +4773,14 @@ extension BedrockAgentRuntimeClientTypes.ResponseStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: BadGatewayException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") @@ -3651,6 +4789,56 @@ extension BedrockAgentRuntimeClientTypes.ResponseStream { } } +extension BedrockAgentRuntimeClientTypes.Memory { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.Memory { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "sessionSummary": + return .sessionsummary(try reader["sessionSummary"].read(with: BedrockAgentRuntimeClientTypes.MemorySessionSummary.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension BedrockAgentRuntimeClientTypes.MemorySessionSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.MemorySessionSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.MemorySessionSummary() + value.memoryId = try reader["memoryId"].readIfPresent() + value.sessionId = try reader["sessionId"].readIfPresent() + value.sessionStartTime = try reader["sessionStartTime"].readTimestampIfPresent(format: .dateTime) + value.sessionExpiryTime = try reader["sessionExpiryTime"].readTimestampIfPresent(format: .dateTime) + value.summaryText = try reader["summaryText"].readIfPresent() + return value + } +} + +extension BedrockAgentRuntimeClientTypes.FilePart { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.FilePart { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.FilePart() + value.files = try reader["files"].readListIfPresent(memberReadingClosure: BedrockAgentRuntimeClientTypes.OutputFile.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension BedrockAgentRuntimeClientTypes.OutputFile { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.OutputFile { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.OutputFile() + value.name = try reader["name"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.bytes = try reader["bytes"].readIfPresent() + return value + } +} + extension BadGatewayException { static func read(from reader: SmithyJSON.Reader) throws -> BadGatewayException { @@ -3997,6 +5185,20 @@ extension BedrockAgentRuntimeClientTypes.Observation { value.knowledgeBaseLookupOutput = try reader["knowledgeBaseLookupOutput"].readIfPresent(with: BedrockAgentRuntimeClientTypes.KnowledgeBaseLookupOutput.read(from:)) value.finalResponse = try reader["finalResponse"].readIfPresent(with: BedrockAgentRuntimeClientTypes.FinalResponse.read(from:)) value.repromptResponse = try reader["repromptResponse"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RepromptResponse.read(from:)) + value.codeInterpreterInvocationOutput = try reader["codeInterpreterInvocationOutput"].readIfPresent(with: BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationOutput.read(from:)) + return value + } +} + +extension BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationOutput { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationOutput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationOutput() + value.executionOutput = try reader["executionOutput"].readIfPresent() + value.executionError = try reader["executionError"].readIfPresent() + value.files = try reader["files"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.executionTimeout = try reader["executionTimeout"].readIfPresent() return value } } @@ -4051,6 +5253,50 @@ extension BedrockAgentRuntimeClientTypes.RetrievalResultLocation { var value = BedrockAgentRuntimeClientTypes.RetrievalResultLocation() value.type = try reader["type"].readIfPresent() value.s3Location = try reader["s3Location"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RetrievalResultS3Location.read(from:)) + value.webLocation = try reader["webLocation"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RetrievalResultWebLocation.read(from:)) + value.confluenceLocation = try reader["confluenceLocation"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RetrievalResultConfluenceLocation.read(from:)) + value.salesforceLocation = try reader["salesforceLocation"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RetrievalResultSalesforceLocation.read(from:)) + value.sharePointLocation = try reader["sharePointLocation"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RetrievalResultSharePointLocation.read(from:)) + return value + } +} + +extension BedrockAgentRuntimeClientTypes.RetrievalResultSharePointLocation { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.RetrievalResultSharePointLocation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.RetrievalResultSharePointLocation() + value.url = try reader["url"].readIfPresent() + return value + } +} + +extension BedrockAgentRuntimeClientTypes.RetrievalResultSalesforceLocation { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.RetrievalResultSalesforceLocation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.RetrievalResultSalesforceLocation() + value.url = try reader["url"].readIfPresent() + return value + } +} + +extension BedrockAgentRuntimeClientTypes.RetrievalResultConfluenceLocation { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.RetrievalResultConfluenceLocation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.RetrievalResultConfluenceLocation() + value.url = try reader["url"].readIfPresent() + return value + } +} + +extension BedrockAgentRuntimeClientTypes.RetrievalResultWebLocation { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.RetrievalResultWebLocation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.RetrievalResultWebLocation() + value.url = try reader["url"].readIfPresent() return value } } @@ -4094,6 +5340,18 @@ extension BedrockAgentRuntimeClientTypes.InvocationInput { value.invocationType = try reader["invocationType"].readIfPresent() value.actionGroupInvocationInput = try reader["actionGroupInvocationInput"].readIfPresent(with: BedrockAgentRuntimeClientTypes.ActionGroupInvocationInput.read(from:)) value.knowledgeBaseLookupInput = try reader["knowledgeBaseLookupInput"].readIfPresent(with: BedrockAgentRuntimeClientTypes.KnowledgeBaseLookupInput.read(from:)) + value.codeInterpreterInvocationInput = try reader["codeInterpreterInvocationInput"].readIfPresent(with: BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationInput.read(from:)) + return value + } +} + +extension BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationInput { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.CodeInterpreterInvocationInput() + value.code = try reader["code"].readIfPresent() + value.files = try reader["files"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } @@ -4120,6 +5378,8 @@ extension BedrockAgentRuntimeClientTypes.ActionGroupInvocationInput { value.parameters = try reader["parameters"].readListIfPresent(memberReadingClosure: BedrockAgentRuntimeClientTypes.Parameter.read(from:), memberNodeInfo: "member", isFlattened: false) value.requestBody = try reader["requestBody"].readIfPresent(with: BedrockAgentRuntimeClientTypes.RequestBody.read(from:)) value.function = try reader["function"].readIfPresent() + value.executionType = try reader["executionType"].readIfPresent() + value.invocationId = try reader["invocationId"].readIfPresent() return value } } @@ -4387,6 +5647,42 @@ extension BedrockAgentRuntimeClientTypes.Span { } } +extension BedrockAgentRuntimeClientTypes.FlowCompletionEvent { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.FlowCompletionEvent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.FlowCompletionEvent() + value.completionReason = try reader["completionReason"].readIfPresent() + return value + } +} + +extension BedrockAgentRuntimeClientTypes.FlowOutputEvent { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.FlowOutputEvent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.FlowOutputEvent() + value.nodeName = try reader["nodeName"].readIfPresent() + value.nodeType = try reader["nodeType"].readIfPresent() + value.content = try reader["content"].readIfPresent(with: BedrockAgentRuntimeClientTypes.FlowOutputContent.read(from:)) + return value + } +} + +extension BedrockAgentRuntimeClientTypes.FlowOutputContent { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.FlowOutputContent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "document": + return .document(try reader["document"].read()) + default: + return .sdkUnknown(name ?? "") + } + } +} + extension BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalResult { static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalResult { @@ -4414,65 +5710,21 @@ extension BedrockAgentRuntimeClientTypes.SessionState { static func write(value: BedrockAgentRuntimeClientTypes.SessionState?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["files"].writeList(value.files, memberWritingClosure: BedrockAgentRuntimeClientTypes.InputFile.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["invocationId"].write(value.invocationId) + try writer["knowledgeBaseConfigurations"].writeList(value.knowledgeBaseConfigurations, memberWritingClosure: BedrockAgentRuntimeClientTypes.KnowledgeBaseConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["promptSessionAttributes"].writeMap(value.promptSessionAttributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["returnControlInvocationResults"].writeList(value.returnControlInvocationResults, memberWritingClosure: BedrockAgentRuntimeClientTypes.InvocationResultMember.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["sessionAttributes"].writeMap(value.sessionAttributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) } } -extension BedrockAgentRuntimeClientTypes.InvocationResultMember { - - static func write(value: BedrockAgentRuntimeClientTypes.InvocationResultMember?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - switch value { - case let .apiresult(apiresult): - try writer["apiResult"].write(apiresult, with: BedrockAgentRuntimeClientTypes.ApiResult.write(value:to:)) - case let .functionresult(functionresult): - try writer["functionResult"].write(functionresult, with: BedrockAgentRuntimeClientTypes.FunctionResult.write(value:to:)) - case let .sdkUnknown(sdkUnknown): - try writer["sdkUnknown"].write(sdkUnknown) - } - } -} - -extension BedrockAgentRuntimeClientTypes.FunctionResult { - - static func write(value: BedrockAgentRuntimeClientTypes.FunctionResult?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["actionGroup"].write(value.actionGroup) - try writer["function"].write(value.function) - try writer["responseBody"].writeMap(value.responseBody, valueWritingClosure: BedrockAgentRuntimeClientTypes.ContentBody.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) - try writer["responseState"].write(value.responseState) - } -} - -extension BedrockAgentRuntimeClientTypes.ContentBody { - - static func write(value: BedrockAgentRuntimeClientTypes.ContentBody?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["body"].write(value.body) - } -} - -extension BedrockAgentRuntimeClientTypes.ApiResult { - - static func write(value: BedrockAgentRuntimeClientTypes.ApiResult?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["actionGroup"].write(value.actionGroup) - try writer["apiPath"].write(value.apiPath) - try writer["httpMethod"].write(value.httpMethod) - try writer["httpStatusCode"].write(value.httpStatusCode) - try writer["responseBody"].writeMap(value.responseBody, valueWritingClosure: BedrockAgentRuntimeClientTypes.ContentBody.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) - try writer["responseState"].write(value.responseState) - } -} - -extension BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery { +extension BedrockAgentRuntimeClientTypes.KnowledgeBaseConfiguration { - static func write(value: BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery?, to writer: SmithyJSON.Writer) throws { + static func write(value: BedrockAgentRuntimeClientTypes.KnowledgeBaseConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["text"].write(value.text) + try writer["knowledgeBaseId"].write(value.knowledgeBaseId) + try writer["retrievalConfiguration"].write(value.retrievalConfiguration, with: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration.write(value:to:)) } } @@ -4540,6 +5792,121 @@ extension BedrockAgentRuntimeClientTypes.FilterAttribute { } } +extension BedrockAgentRuntimeClientTypes.InputFile { + + static func write(value: BedrockAgentRuntimeClientTypes.InputFile?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["source"].write(value.source, with: BedrockAgentRuntimeClientTypes.FileSource.write(value:to:)) + try writer["useCase"].write(value.useCase) + } +} + +extension BedrockAgentRuntimeClientTypes.FileSource { + + static func write(value: BedrockAgentRuntimeClientTypes.FileSource?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["byteContent"].write(value.byteContent, with: BedrockAgentRuntimeClientTypes.ByteContentFile.write(value:to:)) + try writer["s3Location"].write(value.s3Location, with: BedrockAgentRuntimeClientTypes.S3ObjectFile.write(value:to:)) + try writer["sourceType"].write(value.sourceType) + } +} + +extension BedrockAgentRuntimeClientTypes.ByteContentFile { + + static func write(value: BedrockAgentRuntimeClientTypes.ByteContentFile?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["data"].write(value.data) + try writer["mediaType"].write(value.mediaType) + } +} + +extension BedrockAgentRuntimeClientTypes.S3ObjectFile { + + static func write(value: BedrockAgentRuntimeClientTypes.S3ObjectFile?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["uri"].write(value.uri) + } +} + +extension BedrockAgentRuntimeClientTypes.InvocationResultMember { + + static func write(value: BedrockAgentRuntimeClientTypes.InvocationResultMember?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .apiresult(apiresult): + try writer["apiResult"].write(apiresult, with: BedrockAgentRuntimeClientTypes.ApiResult.write(value:to:)) + case let .functionresult(functionresult): + try writer["functionResult"].write(functionresult, with: BedrockAgentRuntimeClientTypes.FunctionResult.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension BedrockAgentRuntimeClientTypes.FunctionResult { + + static func write(value: BedrockAgentRuntimeClientTypes.FunctionResult?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["actionGroup"].write(value.actionGroup) + try writer["function"].write(value.function) + try writer["responseBody"].writeMap(value.responseBody, valueWritingClosure: BedrockAgentRuntimeClientTypes.ContentBody.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["responseState"].write(value.responseState) + } +} + +extension BedrockAgentRuntimeClientTypes.ContentBody { + + static func write(value: BedrockAgentRuntimeClientTypes.ContentBody?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["body"].write(value.body) + } +} + +extension BedrockAgentRuntimeClientTypes.ApiResult { + + static func write(value: BedrockAgentRuntimeClientTypes.ApiResult?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["actionGroup"].write(value.actionGroup) + try writer["apiPath"].write(value.apiPath) + try writer["httpMethod"].write(value.httpMethod) + try writer["httpStatusCode"].write(value.httpStatusCode) + try writer["responseBody"].writeMap(value.responseBody, valueWritingClosure: BedrockAgentRuntimeClientTypes.ContentBody.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["responseState"].write(value.responseState) + } +} + +extension BedrockAgentRuntimeClientTypes.FlowInput { + + static func write(value: BedrockAgentRuntimeClientTypes.FlowInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["content"].write(value.content, with: BedrockAgentRuntimeClientTypes.FlowInputContent.write(value:to:)) + try writer["nodeName"].write(value.nodeName) + try writer["nodeOutputName"].write(value.nodeOutputName) + } +} + +extension BedrockAgentRuntimeClientTypes.FlowInputContent { + + static func write(value: BedrockAgentRuntimeClientTypes.FlowInputContent?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .document(document): + try writer["document"].write(document) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery { + + static func write(value: BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["text"].write(value.text) + } +} + extension BedrockAgentRuntimeClientTypes.RetrieveAndGenerateInput { static func write(value: BedrockAgentRuntimeClientTypes.RetrieveAndGenerateInput?, to writer: SmithyJSON.Writer) throws { @@ -4650,10 +6017,27 @@ extension BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrieveAndGenerateConfigu try writer["generationConfiguration"].write(value.generationConfiguration, with: BedrockAgentRuntimeClientTypes.GenerationConfiguration.write(value:to:)) try writer["knowledgeBaseId"].write(value.knowledgeBaseId) try writer["modelArn"].write(value.modelArn) + try writer["orchestrationConfiguration"].write(value.orchestrationConfiguration, with: BedrockAgentRuntimeClientTypes.OrchestrationConfiguration.write(value:to:)) try writer["retrievalConfiguration"].write(value.retrievalConfiguration, with: BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalConfiguration.write(value:to:)) } } +extension BedrockAgentRuntimeClientTypes.OrchestrationConfiguration { + + static func write(value: BedrockAgentRuntimeClientTypes.OrchestrationConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["queryTransformationConfiguration"].write(value.queryTransformationConfiguration, with: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration.write(value:to:)) + } +} + +extension BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration { + + static func write(value: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["type"].write(value.type) + } +} + extension BedrockAgentRuntimeClientTypes.GenerationConfiguration { static func write(value: BedrockAgentRuntimeClientTypes.GenerationConfiguration?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSBedrockRuntime/Package.swift.txt b/Sources/Services/AWSBedrockRuntime/Package.swift.txt index 40c603b06f0..0eedd58d6bc 100644 --- a/Sources/Services/AWSBedrockRuntime/Package.swift.txt +++ b/Sources/Services/AWSBedrockRuntime/Package.swift.txt @@ -61,15 +61,15 @@ let package = Package( package: "aws-sdk-swift.AWSSDKHTTPAuth" ), .product( - name: "SmithyReadWrite", + name: "SmithyJSON", package: "aws-sdk-swift.smithy-swift" ), .product( - name: "SmithyJSON", + name: "SmithyRetries", package: "aws-sdk-swift.smithy-swift" ), .product( - name: "SmithyRetries", + name: "SmithyReadWrite", package: "aws-sdk-swift.smithy-swift" ), .product( diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift index 2e506389643..b9c41094dfb 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift @@ -182,6 +182,59 @@ extension BedrockRuntimeClient { } extension BedrockRuntimeClient { + /// Performs the `ApplyGuardrail` operation on the `AmazonBedrockFrontendService` service. + /// + /// The action to apply a guardrail. + /// + /// - Parameter ApplyGuardrailInput : [no documentation found] + /// + /// - Returns: `ApplyGuardrailOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ResourceNotFoundException` : The specified resource ARN was not found. Check the ARN and try your request again. + /// - `ServiceQuotaExceededException` : The number of requests exceeds the service quota. Resubmit your request later. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func applyGuardrail(input: ApplyGuardrailInput) async throws -> ApplyGuardrailOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "applyGuardrail") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "applyGuardrail") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ApplyGuardrailInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ApplyGuardrailInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ApplyGuardrailOutput.httpOutput(from:), ApplyGuardrailOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `Converse` operation on the `AmazonBedrockFrontendService` service. /// /// Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Converse API examples in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action. diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/Models.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/Models.swift index cac6d516237..f06e70464ac 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/Models.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -29,6 +29,8 @@ import struct SmithyEventStreams.DefaultMessageDecoderStream import struct SmithyEventStreamsAPI.Message import struct SmithyHTTPAPI.Header import struct SmithyHTTPAPI.Headers +import struct SmithyReadWrite.ReadingClosureBox +import struct SmithyReadWrite.WritingClosureBox import typealias SmithyEventStreamsAPI.UnmarshalClosure /// The request is denied because of missing access permissions. @@ -43,7 +45,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -67,7 +69,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -79,75 +81,19 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt } } -/// The request failed due to an error while processing the model. -public struct ModelErrorException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - /// The original status code. - public internal(set) var originalStatusCode: Swift.Int? = nil - /// The resource name. - public internal(set) var resourceName: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ModelErrorException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil, - originalStatusCode: Swift.Int? = nil, - resourceName: Swift.String? = nil - ) - { - self.properties.message = message - self.properties.originalStatusCode = originalStatusCode - self.properties.resourceName = resourceName - } -} - -/// The model specified in the request is not ready to serve inference requests. -public struct ModelNotReadyException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ModelNotReadyException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message - } -} - -/// The request took too long to process. Processing time exceeded the model timeout length. -public struct ModelTimeoutException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// The specified resource ARN was not found. Check the ARN and try your request again. +public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ModelTimeoutException" } + public static var typeName: Swift.String { "ResourceNotFoundException" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,19 +105,19 @@ public struct ModelTimeoutException: ClientRuntime.ModeledError, AWSClientRuntim } } -/// The specified resource ARN was not found. Check the ARN and try your request again. -public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// The number of requests exceeds the service quota. Resubmit your request later. +public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ResourceNotFoundException" } + public static var typeName: Swift.String { "ServiceQuotaExceededException" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -195,7 +141,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -219,7 +165,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -233,15 +179,17 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. extension BedrockRuntimeClientTypes { - public enum GuardrailTrace: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case disabled - case enabled + public enum GuardrailContentQualifier: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case groundingSource + case guardContent + case query case sdkUnknown(Swift.String) - public static var allCases: [GuardrailTrace] { + public static var allCases: [GuardrailContentQualifier] { return [ - .disabled, - .enabled + .groundingSource, + .guardContent, + .query ] } @@ -252,8 +200,9 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .disabled: return "disabled" - case .enabled: return "enabled" + case .groundingSource: return "grounding_source" + case .guardContent: return "guard_content" + case .query: return "query" case let .sdkUnknown(s): return s } } @@ -261,84 +210,47 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// Configuration information for a guardrail that you use with the [Converse] action. - public struct GuardrailConfiguration { - /// The identifier for the guardrail. + /// The text block to be evaluated by the guardrail. + public struct GuardrailTextBlock { + /// The qualifiers describing the text block. + public var qualifiers: [BedrockRuntimeClientTypes.GuardrailContentQualifier]? + /// The input text details to be evaluated by the guardrail. /// This member is required. - public var guardrailIdentifier: Swift.String? - /// The version of the guardrail. - /// This member is required. - public var guardrailVersion: Swift.String? - /// The trace behavior for the guardrail. - public var trace: BedrockRuntimeClientTypes.GuardrailTrace? + public var text: Swift.String? public init( - guardrailIdentifier: Swift.String? = nil, - guardrailVersion: Swift.String? = nil, - trace: BedrockRuntimeClientTypes.GuardrailTrace? = nil + qualifiers: [BedrockRuntimeClientTypes.GuardrailContentQualifier]? = nil, + text: Swift.String? = nil ) { - self.guardrailIdentifier = guardrailIdentifier - self.guardrailVersion = guardrailVersion - self.trace = trace + self.qualifiers = qualifiers + self.text = text } } } extension BedrockRuntimeClientTypes { - /// Base inference parameters to pass to a model in a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field in the call to Converse or ConverseStream. For more information, see [Model parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - public struct InferenceConfiguration { - /// The maximum number of tokens to allow in the generated response. The default value is the maximum allowed value for the model that you are using. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - public var maxTokens: Swift.Int? - /// A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. - public var stopSequences: [Swift.String]? - /// The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. The default value is the default value for the model that you are using. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - public var temperature: Swift.Float? - /// The percentage of most-likely candidates that the model considers for the next token. For example, if you choose a value of 0.8 for topP, the model selects from the top 80% of the probability distribution of tokens that could be next in the sequence. The default value is the default value for the model that you are using. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - public var topp: Swift.Float? - - public init( - maxTokens: Swift.Int? = nil, - stopSequences: [Swift.String]? = nil, - temperature: Swift.Float? = nil, - topp: Swift.Float? = nil - ) - { - self.maxTokens = maxTokens - self.stopSequences = stopSequences - self.temperature = temperature - self.topp = topp - } + /// The content block to be evaluated by the guardrail. + public enum GuardrailContentBlock { + /// Text within content block to be evaluated by the guardrail. + case text(BedrockRuntimeClientTypes.GuardrailTextBlock) + case sdkUnknown(Swift.String) } } extension BedrockRuntimeClientTypes { - public enum DocumentFormat: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case csv - case doc - case docx - case html - case md - case pdf - case txt - case xls - case xlsx + public enum GuardrailContentSource: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case input + case output case sdkUnknown(Swift.String) - public static var allCases: [DocumentFormat] { + public static var allCases: [GuardrailContentSource] { return [ - .csv, - .doc, - .docx, - .html, - .md, - .pdf, - .txt, - .xls, - .xlsx + .input, + .output ] } @@ -349,100 +261,80 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .csv: return "csv" - case .doc: return "doc" - case .docx: return "docx" - case .html: return "html" - case .md: return "md" - case .pdf: return "pdf" - case .txt: return "txt" - case .xls: return "xls" - case .xlsx: return "xlsx" + case .input: return "INPUT" + case .output: return "OUTPUT" case let .sdkUnknown(s): return s } } } } -extension BedrockRuntimeClientTypes { - /// Contains the content of the document included in a message when sending a [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) request or in the response. - public enum DocumentSource { - /// A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message. - case bytes(Foundation.Data) - case sdkUnknown(Swift.String) - } - -} - -extension BedrockRuntimeClientTypes { - /// A document to include in a message when sending a [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) request. You can include up to 5 documents in a request. The maximum document size is 50 MB. - public struct DocumentBlock { - /// The format of a document, or its extension. - /// This member is required. - public var format: BedrockRuntimeClientTypes.DocumentFormat? - /// A name for the document. - /// This member is required. - public var name: Swift.String? - /// Contains the content of the document. - /// This member is required. - public var source: BedrockRuntimeClientTypes.DocumentSource? +public struct ApplyGuardrailInput { + /// The content details used in the request to apply the guardrail. + /// This member is required. + public var content: [BedrockRuntimeClientTypes.GuardrailContentBlock]? + /// The guardrail identifier used in the request to apply the guardrail. + /// This member is required. + public var guardrailIdentifier: Swift.String? + /// The guardrail version used in the request to apply the guardrail. + /// This member is required. + public var guardrailVersion: Swift.String? + /// The source of data used in the request to apply the guardrail. + /// This member is required. + public var source: BedrockRuntimeClientTypes.GuardrailContentSource? - public init( - format: BedrockRuntimeClientTypes.DocumentFormat? = nil, - name: Swift.String? = nil, - source: BedrockRuntimeClientTypes.DocumentSource? = nil - ) - { - self.format = format - self.name = name - self.source = source - } + public init( + content: [BedrockRuntimeClientTypes.GuardrailContentBlock]? = nil, + guardrailIdentifier: Swift.String? = nil, + guardrailVersion: Swift.String? = nil, + source: BedrockRuntimeClientTypes.GuardrailContentSource? = nil + ) + { + self.content = content + self.guardrailIdentifier = guardrailIdentifier + self.guardrailVersion = guardrailVersion + self.source = source } - } extension BedrockRuntimeClientTypes { - /// A text block that contains text that you want to assess with a guardrail. For more information, see [GuardrailConverseContentBlock]. - public struct GuardrailConverseTextBlock { - /// The text that you want to guard. - /// This member is required. - public var text: Swift.String? - public init( - text: Swift.String? = nil - ) - { - self.text = text + public enum GuardrailAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case guardrailIntervened + case `none` + case sdkUnknown(Swift.String) + + public static var allCases: [GuardrailAction] { + return [ + .guardrailIntervened, + .none + ] } - } -} + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } -extension BedrockRuntimeClientTypes { - /// A content block for selective guarding with the Converse API ([Converse] and [ConverseStream]). - public enum GuardrailConverseContentBlock { - /// The text to guard. - case text(BedrockRuntimeClientTypes.GuardrailConverseTextBlock) - case sdkUnknown(Swift.String) + public var rawValue: Swift.String { + switch self { + case .guardrailIntervened: return "GUARDRAIL_INTERVENED" + case .none: return "NONE" + case let .sdkUnknown(s): return s + } + } } - } extension BedrockRuntimeClientTypes { - public enum ImageFormat: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case gif - case jpeg - case png - case webp + public enum GuardrailContentPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case blocked case sdkUnknown(Swift.String) - public static var allCases: [ImageFormat] { + public static var allCases: [GuardrailContentPolicyAction] { return [ - .gif, - .jpeg, - .png, - .webp + .blocked ] } @@ -453,10 +345,7 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .gif: return "gif" - case .jpeg: return "jpeg" - case .png: return "png" - case .webp: return "webp" + case .blocked: return "BLOCKED" case let .sdkUnknown(s): return s } } @@ -464,64 +353,59 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// The source for an image. - public enum ImageSource { - /// The raw image bytes for the image. If you use an AWS SDK, you don't need to base64 encode the image bytes. - case bytes(Foundation.Data) - case sdkUnknown(Swift.String) - } -} + public enum GuardrailContentFilterConfidence: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case high + case low + case medium + case `none` + case sdkUnknown(Swift.String) -extension BedrockRuntimeClientTypes { - /// Image content for a message. - public struct ImageBlock { - /// The format of the image. - /// This member is required. - public var format: BedrockRuntimeClientTypes.ImageFormat? - /// The source for the image. - /// This member is required. - public var source: BedrockRuntimeClientTypes.ImageSource? - - public init( - format: BedrockRuntimeClientTypes.ImageFormat? = nil, - source: BedrockRuntimeClientTypes.ImageSource? = nil - ) - { - self.format = format - self.source = source + public static var allCases: [GuardrailContentFilterConfidence] { + return [ + .high, + .low, + .medium, + .none + ] } - } -} + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } -extension BedrockRuntimeClientTypes { - /// The tool result content block. - public enum ToolResultContentBlock { - /// A tool result that is JSON format data. - case json(SmithyReadWrite.Document) - /// A tool result that is text. - case text(Swift.String) - /// A tool result that is an image. This field is only supported by Anthropic Claude 3 models. - case image(BedrockRuntimeClientTypes.ImageBlock) - /// A tool result that is a document. - case document(BedrockRuntimeClientTypes.DocumentBlock) - case sdkUnknown(Swift.String) + public var rawValue: Swift.String { + switch self { + case .high: return "HIGH" + case .low: return "LOW" + case .medium: return "MEDIUM" + case .none: return "NONE" + case let .sdkUnknown(s): return s + } + } } - } extension BedrockRuntimeClientTypes { - public enum ToolResultStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case error - case success + public enum GuardrailContentFilterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case hate + case insults + case misconduct + case promptAttack + case sexual + case violence case sdkUnknown(Swift.String) - public static var allCases: [ToolResultStatus] { + public static var allCases: [GuardrailContentFilterType] { return [ - .error, - .success + .hate, + .insults, + .misconduct, + .promptAttack, + .sexual, + .violence ] } @@ -532,8 +416,12 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .error: return "error" - case .success: return "success" + case .hate: return "HATE" + case .insults: return "INSULTS" + case .misconduct: return "MISCONDUCT" + case .promptAttack: return "PROMPT_ATTACK" + case .sexual: return "SEXUAL" + case .violence: return "VIOLENCE" case let .sdkUnknown(s): return s } } @@ -541,89 +429,89 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// A tool result block that contains the results for a tool request that the model previously made. - public struct ToolResultBlock { - /// The content for tool result content block. + /// The content filter for a guardrail. + public struct GuardrailContentFilter { + /// The guardrail action. /// This member is required. - public var content: [BedrockRuntimeClientTypes.ToolResultContentBlock]? - /// The status for the tool result content block. This field is only supported Anthropic Claude 3 models. - public var status: BedrockRuntimeClientTypes.ToolResultStatus? - /// The ID of the tool request that this is the result for. + public var action: BedrockRuntimeClientTypes.GuardrailContentPolicyAction? + /// The guardrail confidence. /// This member is required. - public var toolUseId: Swift.String? + public var confidence: BedrockRuntimeClientTypes.GuardrailContentFilterConfidence? + /// The guardrail type. + /// This member is required. + public var type: BedrockRuntimeClientTypes.GuardrailContentFilterType? public init( - content: [BedrockRuntimeClientTypes.ToolResultContentBlock]? = nil, - status: BedrockRuntimeClientTypes.ToolResultStatus? = nil, - toolUseId: Swift.String? = nil + action: BedrockRuntimeClientTypes.GuardrailContentPolicyAction? = nil, + confidence: BedrockRuntimeClientTypes.GuardrailContentFilterConfidence? = nil, + type: BedrockRuntimeClientTypes.GuardrailContentFilterType? = nil ) { - self.content = content - self.status = status - self.toolUseId = toolUseId + self.action = action + self.confidence = confidence + self.type = type } } } extension BedrockRuntimeClientTypes { - /// A tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response. - public struct ToolUseBlock { - /// The input to pass to the tool. - /// This member is required. - public var input: SmithyReadWrite.Document? - /// The name of the tool that the model wants to use. - /// This member is required. - public var name: Swift.String? - /// The ID for the tool request. + /// An assessment of a content policy for a guardrail. + public struct GuardrailContentPolicyAssessment { + /// The content policy filters. /// This member is required. - public var toolUseId: Swift.String? + public var filters: [BedrockRuntimeClientTypes.GuardrailContentFilter]? public init( - input: SmithyReadWrite.Document? = nil, - name: Swift.String? = nil, - toolUseId: Swift.String? = nil + filters: [BedrockRuntimeClientTypes.GuardrailContentFilter]? = nil ) { - self.input = input - self.name = name - self.toolUseId = toolUseId + self.filters = filters } } } extension BedrockRuntimeClientTypes { - /// A block of content for a message that you pass to, or receive from, a model with the Converse API ([Converse] and [ConverseStream]). - public enum ContentBlock { - /// Text to include in the message. - case text(Swift.String) - /// Image to include in the message. This field is only supported by Anthropic Claude 3 models. - case image(BedrockRuntimeClientTypes.ImageBlock) - /// A document to include in the message. - case document(BedrockRuntimeClientTypes.DocumentBlock) - /// Information about a tool use request from a model. - case tooluse(BedrockRuntimeClientTypes.ToolUseBlock) - /// The result for a tool request that a model makes. - case toolresult(BedrockRuntimeClientTypes.ToolResultBlock) - /// Contains the content to assess with the guardrail. If you don't specify guardContent in a call to the Converse API, the guardrail (if passed in the Converse API) assesses the entire message. For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. - case guardcontent(BedrockRuntimeClientTypes.GuardrailConverseContentBlock) + + public enum GuardrailContextualGroundingPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case blocked + case `none` case sdkUnknown(Swift.String) - } + public static var allCases: [GuardrailContextualGroundingPolicyAction] { + return [ + .blocked, + .none + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .blocked: return "BLOCKED" + case .none: return "NONE" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockRuntimeClientTypes { - public enum ConversationRole: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case assistant - case user + public enum GuardrailContextualGroundingFilterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case grounding + case relevance case sdkUnknown(Swift.String) - public static var allCases: [ConversationRole] { + public static var allCases: [GuardrailContextualGroundingFilterType] { return [ - .assistant, - .user + .grounding, + .relevance ] } @@ -634,8 +522,8 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .assistant: return "assistant" - case .user: return "user" + case .grounding: return "GROUNDING" + case .relevance: return "RELEVANCE" case let .sdkUnknown(s): return s } } @@ -643,251 +531,287 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// A message input, or returned from, a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). - public struct Message { - /// The message content. + /// The details for the guardrails contextual grounding filter. + public struct GuardrailContextualGroundingFilter { + /// The action performed by the guardrails contextual grounding filter. /// This member is required. - public var content: [BedrockRuntimeClientTypes.ContentBlock]? - /// The role that the message plays in the message. + public var action: BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAction? + /// The score generated by contextual grounding filter. /// This member is required. - public var role: BedrockRuntimeClientTypes.ConversationRole? + public var score: Swift.Double? + /// The threshold used by contextual grounding filter to determine whether the content is grounded or not. + /// This member is required. + public var threshold: Swift.Double? + /// The contextual grounding filter type. + /// This member is required. + public var type: BedrockRuntimeClientTypes.GuardrailContextualGroundingFilterType? public init( - content: [BedrockRuntimeClientTypes.ContentBlock]? = nil, - role: BedrockRuntimeClientTypes.ConversationRole? = nil + action: BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAction? = nil, + score: Swift.Double? = nil, + threshold: Swift.Double? = nil, + type: BedrockRuntimeClientTypes.GuardrailContextualGroundingFilterType? = nil ) { - self.content = content - self.role = role + self.action = action + self.score = score + self.threshold = threshold + self.type = type } } } extension BedrockRuntimeClientTypes { - /// A system content block. - public enum SystemContentBlock { - /// A system prompt for the model. - case text(Swift.String) - /// A content block to assess with the guardrail. Use with the Converse API ([Converse] and [ConverseStream]). For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. - case guardcontent(BedrockRuntimeClientTypes.GuardrailConverseContentBlock) - case sdkUnknown(Swift.String) - } - -} - -extension BedrockRuntimeClientTypes { - /// The model must request at least one tool (no text is generated). For example, {"any" : {}}. - public struct AnyToolChoice { + /// The policy assessment details for the guardrails contextual grounding filter. + public struct GuardrailContextualGroundingPolicyAssessment { + /// The filter details for the guardrails contextual grounding filter. + public var filters: [BedrockRuntimeClientTypes.GuardrailContextualGroundingFilter]? - public init() { } + public init( + filters: [BedrockRuntimeClientTypes.GuardrailContextualGroundingFilter]? = nil + ) + { + self.filters = filters + } } } extension BedrockRuntimeClientTypes { - /// The Model automatically decides if a tool should be called or whether to generate text instead. For example, {"auto" : {}}. - public struct AutoToolChoice { - public init() { } - } + public enum GuardrailSensitiveInformationPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case anonymized + case blocked + case sdkUnknown(Swift.String) -} + public static var allCases: [GuardrailSensitiveInformationPolicyAction] { + return [ + .anonymized, + .blocked + ] + } -extension BedrockRuntimeClientTypes { - /// The model must request a specific tool. For example, {"tool" : {"name" : "Your tool name"}}. This field is only supported by Anthropic Claude 3 models. - public struct SpecificToolChoice { - /// The name of the tool that the model must request. - /// This member is required. - public var name: Swift.String? + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } - public init( - name: Swift.String? = nil - ) - { - self.name = name + public var rawValue: Swift.String { + switch self { + case .anonymized: return "ANONYMIZED" + case .blocked: return "BLOCKED" + case let .sdkUnknown(s): return s + } } } - } extension BedrockRuntimeClientTypes { - /// Determines which tools the model should request in a call to Converse or ConverseStream. ToolChoice is only supported by Anthropic Claude 3 models and by Mistral AI Mistral Large. - public enum ToolChoice { - /// (Default). The Model automatically decides if a tool should be called or whether to generate text instead. - case auto(BedrockRuntimeClientTypes.AutoToolChoice) - /// The model must request at least one tool (no text is generated). - case any(BedrockRuntimeClientTypes.AnyToolChoice) - /// The Model must request the specified tool. Only supported by Anthropic Claude 3 models. - case tool(BedrockRuntimeClientTypes.SpecificToolChoice) - case sdkUnknown(Swift.String) - } - -} -extension BedrockRuntimeClientTypes { - /// The schema for the tool. The top level schema type must be object. - public enum ToolInputSchema { - /// The JSON schema for the tool. For more information, see [JSON Schema Reference](https://json-schema.org/understanding-json-schema/reference). - case json(SmithyReadWrite.Document) + public enum GuardrailPiiEntityType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case address + case age + case awsAccessKey + case awsSecretKey + case caHealthNumber + case caSocialInsuranceNumber + case creditDebitCardCvv + case creditDebitCardExpiry + case creditDebitCardNumber + case driverId + case email + case internationalBankAccountNumber + case ipAddress + case licensePlate + case macAddress + case name + case password + case phone + case pin + case swiftCode + case ukNationalHealthServiceNumber + case ukNationalInsuranceNumber + case ukUniqueTaxpayerReferenceNumber + case url + case username + case usBankAccountNumber + case usBankRoutingNumber + case usIndividualTaxIdentificationNumber + case usPassportNumber + case usSocialSecurityNumber + case vehicleIdentificationNumber case sdkUnknown(Swift.String) - } + public static var allCases: [GuardrailPiiEntityType] { + return [ + .address, + .age, + .awsAccessKey, + .awsSecretKey, + .caHealthNumber, + .caSocialInsuranceNumber, + .creditDebitCardCvv, + .creditDebitCardExpiry, + .creditDebitCardNumber, + .driverId, + .email, + .internationalBankAccountNumber, + .ipAddress, + .licensePlate, + .macAddress, + .name, + .password, + .phone, + .pin, + .swiftCode, + .ukNationalHealthServiceNumber, + .ukNationalInsuranceNumber, + .ukUniqueTaxpayerReferenceNumber, + .url, + .username, + .usBankAccountNumber, + .usBankRoutingNumber, + .usIndividualTaxIdentificationNumber, + .usPassportNumber, + .usSocialSecurityNumber, + .vehicleIdentificationNumber + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .address: return "ADDRESS" + case .age: return "AGE" + case .awsAccessKey: return "AWS_ACCESS_KEY" + case .awsSecretKey: return "AWS_SECRET_KEY" + case .caHealthNumber: return "CA_HEALTH_NUMBER" + case .caSocialInsuranceNumber: return "CA_SOCIAL_INSURANCE_NUMBER" + case .creditDebitCardCvv: return "CREDIT_DEBIT_CARD_CVV" + case .creditDebitCardExpiry: return "CREDIT_DEBIT_CARD_EXPIRY" + case .creditDebitCardNumber: return "CREDIT_DEBIT_CARD_NUMBER" + case .driverId: return "DRIVER_ID" + case .email: return "EMAIL" + case .internationalBankAccountNumber: return "INTERNATIONAL_BANK_ACCOUNT_NUMBER" + case .ipAddress: return "IP_ADDRESS" + case .licensePlate: return "LICENSE_PLATE" + case .macAddress: return "MAC_ADDRESS" + case .name: return "NAME" + case .password: return "PASSWORD" + case .phone: return "PHONE" + case .pin: return "PIN" + case .swiftCode: return "SWIFT_CODE" + case .ukNationalHealthServiceNumber: return "UK_NATIONAL_HEALTH_SERVICE_NUMBER" + case .ukNationalInsuranceNumber: return "UK_NATIONAL_INSURANCE_NUMBER" + case .ukUniqueTaxpayerReferenceNumber: return "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" + case .url: return "URL" + case .username: return "USERNAME" + case .usBankAccountNumber: return "US_BANK_ACCOUNT_NUMBER" + case .usBankRoutingNumber: return "US_BANK_ROUTING_NUMBER" + case .usIndividualTaxIdentificationNumber: return "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" + case .usPassportNumber: return "US_PASSPORT_NUMBER" + case .usSocialSecurityNumber: return "US_SOCIAL_SECURITY_NUMBER" + case .vehicleIdentificationNumber: return "VEHICLE_IDENTIFICATION_NUMBER" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockRuntimeClientTypes { - /// The specification for the tool. - public struct ToolSpecification { - /// The description for the tool. - public var description: Swift.String? - /// The input schema for the tool in JSON format. + /// A Personally Identifiable Information (PII) entity configured in a guardrail. + public struct GuardrailPiiEntityFilter { + /// The PII entity filter action. /// This member is required. - public var inputSchema: BedrockRuntimeClientTypes.ToolInputSchema? - /// The name for the tool. + public var action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? + /// The PII entity filter match. /// This member is required. - public var name: Swift.String? + public var match: Swift.String? + /// The PII entity filter type. + /// This member is required. + public var type: BedrockRuntimeClientTypes.GuardrailPiiEntityType? public init( - description: Swift.String? = nil, - inputSchema: BedrockRuntimeClientTypes.ToolInputSchema? = nil, - name: Swift.String? = nil + action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? = nil, + match: Swift.String? = nil, + type: BedrockRuntimeClientTypes.GuardrailPiiEntityType? = nil ) { - self.description = description - self.inputSchema = inputSchema - self.name = name + self.action = action + self.match = match + self.type = type } } } extension BedrockRuntimeClientTypes { - /// Information about a tool that you can use with the Converse API. - public enum Tool { - /// The specfication for the tool. - case toolspec(BedrockRuntimeClientTypes.ToolSpecification) - case sdkUnknown(Swift.String) - } - -} - -extension BedrockRuntimeClientTypes { - /// Configuration information for the tools that you pass to a model. This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models. - public struct ToolConfiguration { - /// If supported by model, forces the model to request a tool. - public var toolChoice: BedrockRuntimeClientTypes.ToolChoice? - /// An array of tools that you want to pass to a model. + /// A Regex filter configured in a guardrail. + public struct GuardrailRegexFilter { + /// The region filter action. /// This member is required. - public var tools: [BedrockRuntimeClientTypes.Tool]? + public var action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? + /// The regesx filter match. + public var match: Swift.String? + /// The regex filter name. + public var name: Swift.String? + /// The regex query. + public var regex: Swift.String? public init( - toolChoice: BedrockRuntimeClientTypes.ToolChoice? = nil, - tools: [BedrockRuntimeClientTypes.Tool]? = nil + action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? = nil, + match: Swift.String? = nil, + name: Swift.String? = nil, + regex: Swift.String? = nil ) { - self.toolChoice = toolChoice - self.tools = tools + self.action = action + self.match = match + self.name = name + self.regex = regex } } } -public struct ConverseInput { - /// Additional inference parameters that the model supports, beyond the base set of inference parameters that Converse supports in the inferenceConfig field. For more information, see [Model parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - public var additionalModelRequestFields: SmithyReadWrite.Document? - /// Additional model parameters field paths to return in the response. Converse returns the requested fields as a JSON Pointer object in the additionalModelResponseFields field. The following is example JSON for additionalModelResponseFieldPaths. [ "/stop_sequence" ] For information about the JSON Pointer syntax, see the [Internet Engineering Task Force (IETF)](https://datatracker.ietf.org/doc/html/rfc6901) documentation. Converse rejects an empty JSON Pointer or incorrectly structured JSON Pointer with a 400 error code. if the JSON Pointer is valid, but the requested field is not in the model response, it is ignored by Converse. - public var additionalModelResponseFieldPaths: [Swift.String]? - /// Configuration information for a guardrail that you want to use in the request. - public var guardrailConfig: BedrockRuntimeClientTypes.GuardrailConfiguration? - /// Inference parameters to pass to the model. Converse supports a base set of inference parameters. If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field. - public var inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? - /// The messages that you want to send to the model. - /// This member is required. - public var messages: [BedrockRuntimeClientTypes.Message]? - /// The identifier for the model that you want to call. The modelId to provide depends on the type of model that you use: - /// - /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - /// - /// * If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see [Run inference using a Provisioned Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - /// - /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - /// This member is required. - public var modelId: Swift.String? - /// A system prompt to pass to the model. - public var system: [BedrockRuntimeClientTypes.SystemContentBlock]? - /// Configuration information for the tools that the model can use when generating a response. This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models. - public var toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? - - public init( - additionalModelRequestFields: SmithyReadWrite.Document? = nil, - additionalModelResponseFieldPaths: [Swift.String]? = nil, - guardrailConfig: BedrockRuntimeClientTypes.GuardrailConfiguration? = nil, - inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? = nil, - messages: [BedrockRuntimeClientTypes.Message]? = nil, - modelId: Swift.String? = nil, - system: [BedrockRuntimeClientTypes.SystemContentBlock]? = nil, - toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? = nil - ) - { - self.additionalModelRequestFields = additionalModelRequestFields - self.additionalModelResponseFieldPaths = additionalModelResponseFieldPaths - self.guardrailConfig = guardrailConfig - self.inferenceConfig = inferenceConfig - self.messages = messages - self.modelId = modelId - self.system = system - self.toolConfig = toolConfig - } -} - extension BedrockRuntimeClientTypes { - /// Metrics for a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). - public struct ConverseMetrics { - /// The latency of the call to Converse, in milliseconds. + /// The assessment for aPersonally Identifiable Information (PII) policy. + public struct GuardrailSensitiveInformationPolicyAssessment { + /// The PII entities in the assessment. /// This member is required. - public var latencyMs: Swift.Int? + public var piiEntities: [BedrockRuntimeClientTypes.GuardrailPiiEntityFilter]? + /// The regex queries in the assessment. + /// This member is required. + public var regexes: [BedrockRuntimeClientTypes.GuardrailRegexFilter]? public init( - latencyMs: Swift.Int? = nil + piiEntities: [BedrockRuntimeClientTypes.GuardrailPiiEntityFilter]? = nil, + regexes: [BedrockRuntimeClientTypes.GuardrailRegexFilter]? = nil ) { - self.latencyMs = latencyMs + self.piiEntities = piiEntities + self.regexes = regexes } } } extension BedrockRuntimeClientTypes { - /// The output from a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). - public enum ConverseOutput { - /// The message that the model generates. - case message(BedrockRuntimeClientTypes.Message) + + public enum GuardrailTopicPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case blocked case sdkUnknown(Swift.String) - } -} - -extension BedrockRuntimeClientTypes { - - public enum StopReason: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case contentFiltered - case endTurn - case guardrailIntervened - case maxTokens - case stopSequence - case toolUse - case sdkUnknown(Swift.String) - - public static var allCases: [StopReason] { - return [ - .contentFiltered, - .endTurn, - .guardrailIntervened, - .maxTokens, - .stopSequence, - .toolUse - ] - } + public static var allCases: [GuardrailTopicPolicyAction] { + return [ + .blocked + ] + } public init?(rawValue: Swift.String) { let value = Self.allCases.first(where: { $0.rawValue == rawValue }) @@ -896,12 +820,7 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .contentFiltered: return "content_filtered" - case .endTurn: return "end_turn" - case .guardrailIntervened: return "guardrail_intervened" - case .maxTokens: return "max_tokens" - case .stopSequence: return "stop_sequence" - case .toolUse: return "tool_use" + case .blocked: return "BLOCKED" case let .sdkUnknown(s): return s } } @@ -910,13 +829,13 @@ extension BedrockRuntimeClientTypes { extension BedrockRuntimeClientTypes { - public enum GuardrailContentPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case blocked + public enum GuardrailTopicType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case deny case sdkUnknown(Swift.String) - public static var allCases: [GuardrailContentPolicyAction] { + public static var allCases: [GuardrailTopicType] { return [ - .blocked + .deny ] } @@ -927,7 +846,7 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .blocked: return "BLOCKED" + case .deny: return "DENY" case let .sdkUnknown(s): return s } } @@ -935,20 +854,58 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { + /// Information about a topic guardrail. + public struct GuardrailTopic { + /// The action the guardrail should take when it intervenes on a topic. + /// This member is required. + public var action: BedrockRuntimeClientTypes.GuardrailTopicPolicyAction? + /// The name for the guardrail. + /// This member is required. + public var name: Swift.String? + /// The type behavior that the guardrail should perform when the model detects the topic. + /// This member is required. + public var type: BedrockRuntimeClientTypes.GuardrailTopicType? - public enum GuardrailContentFilterConfidence: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case high - case low - case medium - case `none` + public init( + action: BedrockRuntimeClientTypes.GuardrailTopicPolicyAction? = nil, + name: Swift.String? = nil, + type: BedrockRuntimeClientTypes.GuardrailTopicType? = nil + ) + { + self.action = action + self.name = name + self.type = type + } + } + +} + +extension BedrockRuntimeClientTypes { + /// A behavior assessment of a topic policy. + public struct GuardrailTopicPolicyAssessment { + /// The topics in the assessment. + /// This member is required. + public var topics: [BedrockRuntimeClientTypes.GuardrailTopic]? + + public init( + topics: [BedrockRuntimeClientTypes.GuardrailTopic]? = nil + ) + { + self.topics = topics + } + } + +} + +extension BedrockRuntimeClientTypes { + + public enum GuardrailWordPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case blocked case sdkUnknown(Swift.String) - public static var allCases: [GuardrailContentFilterConfidence] { + public static var allCases: [GuardrailWordPolicyAction] { return [ - .high, - .low, - .medium, - .none + .blocked ] } @@ -959,10 +916,7 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .high: return "HIGH" - case .low: return "LOW" - case .medium: return "MEDIUM" - case .none: return "NONE" + case .blocked: return "BLOCKED" case let .sdkUnknown(s): return s } } @@ -970,24 +924,36 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { + /// A custom word configured in a guardrail. + public struct GuardrailCustomWord { + /// The action for the custom word. + /// This member is required. + public var action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? + /// The match for the custom word. + /// This member is required. + public var match: Swift.String? - public enum GuardrailContentFilterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case hate - case insults - case misconduct - case promptAttack - case sexual - case violence + public init( + action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? = nil, + match: Swift.String? = nil + ) + { + self.action = action + self.match = match + } + } + +} + +extension BedrockRuntimeClientTypes { + + public enum GuardrailManagedWordType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case profanity case sdkUnknown(Swift.String) - public static var allCases: [GuardrailContentFilterType] { + public static var allCases: [GuardrailManagedWordType] { return [ - .hate, - .insults, - .misconduct, - .promptAttack, - .sexual, - .violence + .profanity ] } @@ -998,12 +964,7 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .hate: return "HATE" - case .insults: return "INSULTS" - case .misconduct: return "MISCONDUCT" - case .promptAttack: return "PROMPT_ATTACK" - case .sexual: return "SEXUAL" - case .violence: return "VIOLENCE" + case .profanity: return "PROFANITY" case let .sdkUnknown(s): return s } } @@ -1011,26 +972,26 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// The content filter for a guardrail. - public struct GuardrailContentFilter { - /// The guardrail action. + /// A managed word configured in a guardrail. + public struct GuardrailManagedWord { + /// The action for the managed word. /// This member is required. - public var action: BedrockRuntimeClientTypes.GuardrailContentPolicyAction? - /// The guardrail confidence. + public var action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? + /// The match for the managed word. /// This member is required. - public var confidence: BedrockRuntimeClientTypes.GuardrailContentFilterConfidence? - /// The guardrail type. + public var match: Swift.String? + /// The type for the managed word. /// This member is required. - public var type: BedrockRuntimeClientTypes.GuardrailContentFilterType? + public var type: BedrockRuntimeClientTypes.GuardrailManagedWordType? public init( - action: BedrockRuntimeClientTypes.GuardrailContentPolicyAction? = nil, - confidence: BedrockRuntimeClientTypes.GuardrailContentFilterConfidence? = nil, - type: BedrockRuntimeClientTypes.GuardrailContentFilterType? = nil + action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? = nil, + match: Swift.String? = nil, + type: BedrockRuntimeClientTypes.GuardrailManagedWordType? = nil ) { self.action = action - self.confidence = confidence + self.match = match self.type = type } } @@ -1038,254 +999,236 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// An assessment of a content policy for a guardrail. - public struct GuardrailContentPolicyAssessment { - /// The content policy filters. + /// The word policy assessment. + public struct GuardrailWordPolicyAssessment { + /// Custom words in the assessment. /// This member is required. - public var filters: [BedrockRuntimeClientTypes.GuardrailContentFilter]? + public var customWords: [BedrockRuntimeClientTypes.GuardrailCustomWord]? + /// Managed word lists in the assessment. + /// This member is required. + public var managedWordLists: [BedrockRuntimeClientTypes.GuardrailManagedWord]? public init( - filters: [BedrockRuntimeClientTypes.GuardrailContentFilter]? = nil + customWords: [BedrockRuntimeClientTypes.GuardrailCustomWord]? = nil, + managedWordLists: [BedrockRuntimeClientTypes.GuardrailManagedWord]? = nil ) { - self.filters = filters + self.customWords = customWords + self.managedWordLists = managedWordLists } } } extension BedrockRuntimeClientTypes { + /// A behavior assessment of the guardrail policies used in a call to the Converse API. + public struct GuardrailAssessment { + /// The content policy. + public var contentPolicy: BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment? + /// The contextual grounding policy used for the guardrail assessment. + public var contextualGroundingPolicy: BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAssessment? + /// The sensitive information policy. + public var sensitiveInformationPolicy: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment? + /// The topic policy. + public var topicPolicy: BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment? + /// The word policy. + public var wordPolicy: BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment? - public enum GuardrailSensitiveInformationPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case anonymized - case blocked - case sdkUnknown(Swift.String) - - public static var allCases: [GuardrailSensitiveInformationPolicyAction] { - return [ - .anonymized, - .blocked - ] + public init( + contentPolicy: BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment? = nil, + contextualGroundingPolicy: BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAssessment? = nil, + sensitiveInformationPolicy: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment? = nil, + topicPolicy: BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment? = nil, + wordPolicy: BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment? = nil + ) + { + self.contentPolicy = contentPolicy + self.contextualGroundingPolicy = contextualGroundingPolicy + self.sensitiveInformationPolicy = sensitiveInformationPolicy + self.topicPolicy = topicPolicy + self.wordPolicy = wordPolicy } + } - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } +} - public var rawValue: Swift.String { - switch self { - case .anonymized: return "ANONYMIZED" - case .blocked: return "BLOCKED" - case let .sdkUnknown(s): return s - } +extension BedrockRuntimeClientTypes { + /// The output content produced by the guardrail. + public struct GuardrailOutputContent { + /// The specific text for the output content produced by the guardrail. + public var text: Swift.String? + + public init( + text: Swift.String? = nil + ) + { + self.text = text } } + } extension BedrockRuntimeClientTypes { + /// The details on the use of the guardrail. + public struct GuardrailUsage { + /// The content policy units processed by the guardrail. + /// This member is required. + public var contentPolicyUnits: Swift.Int? + /// The contextual grounding policy units processed by the guardrail. + /// This member is required. + public var contextualGroundingPolicyUnits: Swift.Int? + /// The sensitive information policy free units processed by the guardrail. + /// This member is required. + public var sensitiveInformationPolicyFreeUnits: Swift.Int? + /// The sensitive information policy units processed by the guardrail. + /// This member is required. + public var sensitiveInformationPolicyUnits: Swift.Int? + /// The topic policy units processed by the guardrail. + /// This member is required. + public var topicPolicyUnits: Swift.Int? + /// The word policy units processed by the guardrail. + /// This member is required. + public var wordPolicyUnits: Swift.Int? - public enum GuardrailPiiEntityType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case address - case age - case awsAccessKey - case awsSecretKey - case caHealthNumber - case caSocialInsuranceNumber - case creditDebitCardCvv - case creditDebitCardExpiry - case creditDebitCardNumber - case driverId - case email - case internationalBankAccountNumber - case ipAddress - case licensePlate - case macAddress - case name - case password - case phone - case pin - case swiftCode - case ukNationalHealthServiceNumber - case ukNationalInsuranceNumber - case ukUniqueTaxpayerReferenceNumber - case url - case username - case usBankAccountNumber - case usBankRoutingNumber - case usIndividualTaxIdentificationNumber - case usPassportNumber - case usSocialSecurityNumber - case vehicleIdentificationNumber - case sdkUnknown(Swift.String) - - public static var allCases: [GuardrailPiiEntityType] { - return [ - .address, - .age, - .awsAccessKey, - .awsSecretKey, - .caHealthNumber, - .caSocialInsuranceNumber, - .creditDebitCardCvv, - .creditDebitCardExpiry, - .creditDebitCardNumber, - .driverId, - .email, - .internationalBankAccountNumber, - .ipAddress, - .licensePlate, - .macAddress, - .name, - .password, - .phone, - .pin, - .swiftCode, - .ukNationalHealthServiceNumber, - .ukNationalInsuranceNumber, - .ukUniqueTaxpayerReferenceNumber, - .url, - .username, - .usBankAccountNumber, - .usBankRoutingNumber, - .usIndividualTaxIdentificationNumber, - .usPassportNumber, - .usSocialSecurityNumber, - .vehicleIdentificationNumber - ] + public init( + contentPolicyUnits: Swift.Int? = nil, + contextualGroundingPolicyUnits: Swift.Int? = nil, + sensitiveInformationPolicyFreeUnits: Swift.Int? = nil, + sensitiveInformationPolicyUnits: Swift.Int? = nil, + topicPolicyUnits: Swift.Int? = nil, + wordPolicyUnits: Swift.Int? = nil + ) + { + self.contentPolicyUnits = contentPolicyUnits + self.contextualGroundingPolicyUnits = contextualGroundingPolicyUnits + self.sensitiveInformationPolicyFreeUnits = sensitiveInformationPolicyFreeUnits + self.sensitiveInformationPolicyUnits = sensitiveInformationPolicyUnits + self.topicPolicyUnits = topicPolicyUnits + self.wordPolicyUnits = wordPolicyUnits } + } - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } +} - public var rawValue: Swift.String { - switch self { - case .address: return "ADDRESS" - case .age: return "AGE" - case .awsAccessKey: return "AWS_ACCESS_KEY" - case .awsSecretKey: return "AWS_SECRET_KEY" - case .caHealthNumber: return "CA_HEALTH_NUMBER" - case .caSocialInsuranceNumber: return "CA_SOCIAL_INSURANCE_NUMBER" - case .creditDebitCardCvv: return "CREDIT_DEBIT_CARD_CVV" - case .creditDebitCardExpiry: return "CREDIT_DEBIT_CARD_EXPIRY" - case .creditDebitCardNumber: return "CREDIT_DEBIT_CARD_NUMBER" - case .driverId: return "DRIVER_ID" - case .email: return "EMAIL" - case .internationalBankAccountNumber: return "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - case .ipAddress: return "IP_ADDRESS" - case .licensePlate: return "LICENSE_PLATE" - case .macAddress: return "MAC_ADDRESS" - case .name: return "NAME" - case .password: return "PASSWORD" - case .phone: return "PHONE" - case .pin: return "PIN" - case .swiftCode: return "SWIFT_CODE" - case .ukNationalHealthServiceNumber: return "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - case .ukNationalInsuranceNumber: return "UK_NATIONAL_INSURANCE_NUMBER" - case .ukUniqueTaxpayerReferenceNumber: return "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - case .url: return "URL" - case .username: return "USERNAME" - case .usBankAccountNumber: return "US_BANK_ACCOUNT_NUMBER" - case .usBankRoutingNumber: return "US_BANK_ROUTING_NUMBER" - case .usIndividualTaxIdentificationNumber: return "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - case .usPassportNumber: return "US_PASSPORT_NUMBER" - case .usSocialSecurityNumber: return "US_SOCIAL_SECURITY_NUMBER" - case .vehicleIdentificationNumber: return "VEHICLE_IDENTIFICATION_NUMBER" - case let .sdkUnknown(s): return s - } - } +public struct ApplyGuardrailOutput { + /// The action taken in the response from the guardrail. + /// This member is required. + public var action: BedrockRuntimeClientTypes.GuardrailAction? + /// The assessment details in the response from the guardrail. + /// This member is required. + public var assessments: [BedrockRuntimeClientTypes.GuardrailAssessment]? + /// The output details in the response from the guardrail. + /// This member is required. + public var outputs: [BedrockRuntimeClientTypes.GuardrailOutputContent]? + /// The usage details in the response from the guardrail. + /// This member is required. + public var usage: BedrockRuntimeClientTypes.GuardrailUsage? + + public init( + action: BedrockRuntimeClientTypes.GuardrailAction? = nil, + assessments: [BedrockRuntimeClientTypes.GuardrailAssessment]? = nil, + outputs: [BedrockRuntimeClientTypes.GuardrailOutputContent]? = nil, + usage: BedrockRuntimeClientTypes.GuardrailUsage? = nil + ) + { + self.action = action + self.assessments = assessments + self.outputs = outputs + self.usage = usage } } -extension BedrockRuntimeClientTypes { - /// A Personally Identifiable Information (PII) entity configured in a guardrail. - public struct GuardrailPiiEntityFilter { - /// The PII entity filter action. - /// This member is required. - public var action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? - /// The PII entity filter match. - /// This member is required. - public var match: Swift.String? - /// The PII entity filter type. - /// This member is required. - public var type: BedrockRuntimeClientTypes.GuardrailPiiEntityType? +/// The request failed due to an error while processing the model. +public struct ModelErrorException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - public init( - action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? = nil, - match: Swift.String? = nil, - type: BedrockRuntimeClientTypes.GuardrailPiiEntityType? = nil - ) - { - self.action = action - self.match = match - self.type = type - } + public struct Properties { + public internal(set) var message: Swift.String? = nil + /// The original status code. + public internal(set) var originalStatusCode: Swift.Int? = nil + /// The resource name. + public internal(set) var resourceName: Swift.String? = nil } + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ModelErrorException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + originalStatusCode: Swift.Int? = nil, + resourceName: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.originalStatusCode = originalStatusCode + self.properties.resourceName = resourceName + } } -extension BedrockRuntimeClientTypes { - /// A Regex filter configured in a guardrail. - public struct GuardrailRegexFilter { - /// The region filter action. - /// This member is required. - public var action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? - /// The regesx filter match. - public var match: Swift.String? - /// The regex filter name. - public var name: Swift.String? - /// The regex query. - public var regex: Swift.String? +/// The model specified in the request is not ready to serve inference requests. +public struct ModelNotReadyException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - public init( - action: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAction? = nil, - match: Swift.String? = nil, - name: Swift.String? = nil, - regex: Swift.String? = nil - ) - { - self.action = action - self.match = match - self.name = name - self.regex = regex - } + public struct Properties { + public internal(set) var message: Swift.String? = nil } + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ModelNotReadyException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } } -extension BedrockRuntimeClientTypes { - /// The assessment for aPersonally Identifiable Information (PII) policy. - public struct GuardrailSensitiveInformationPolicyAssessment { - /// The PII entities in the assessment. - /// This member is required. - public var piiEntities: [BedrockRuntimeClientTypes.GuardrailPiiEntityFilter]? - /// The regex queries in the assessment. - /// This member is required. - public var regexes: [BedrockRuntimeClientTypes.GuardrailRegexFilter]? +/// The request took too long to process. Processing time exceeded the model timeout length. +public struct ModelTimeoutException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - public init( - piiEntities: [BedrockRuntimeClientTypes.GuardrailPiiEntityFilter]? = nil, - regexes: [BedrockRuntimeClientTypes.GuardrailRegexFilter]? = nil - ) - { - self.piiEntities = piiEntities - self.regexes = regexes - } + public struct Properties { + public internal(set) var message: Swift.String? = nil } + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ModelTimeoutException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } } extension BedrockRuntimeClientTypes { - public enum GuardrailTopicPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case blocked + public enum GuardrailTrace: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled case sdkUnknown(Swift.String) - public static var allCases: [GuardrailTopicPolicyAction] { + public static var allCases: [GuardrailTrace] { return [ - .blocked + .disabled, + .enabled ] } @@ -1296,7 +1239,8 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .blocked: return "BLOCKED" + case .disabled: return "disabled" + case .enabled: return "enabled" case let .sdkUnknown(s): return s } } @@ -1304,14 +1248,84 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { + /// Configuration information for a guardrail that you use with the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation. + public struct GuardrailConfiguration { + /// The identifier for the guardrail. + /// This member is required. + public var guardrailIdentifier: Swift.String? + /// The version of the guardrail. + /// This member is required. + public var guardrailVersion: Swift.String? + /// The trace behavior for the guardrail. + public var trace: BedrockRuntimeClientTypes.GuardrailTrace? - public enum GuardrailTopicType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case deny - case sdkUnknown(Swift.String) - - public static var allCases: [GuardrailTopicType] { + public init( + guardrailIdentifier: Swift.String? = nil, + guardrailVersion: Swift.String? = nil, + trace: BedrockRuntimeClientTypes.GuardrailTrace? = nil + ) + { + self.guardrailIdentifier = guardrailIdentifier + self.guardrailVersion = guardrailVersion + self.trace = trace + } + } + +} + +extension BedrockRuntimeClientTypes { + /// Base inference parameters to pass to a model in a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field in the call to Converse or ConverseStream. For more information, see [Model parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + public struct InferenceConfiguration { + /// The maximum number of tokens to allow in the generated response. The default value is the maximum allowed value for the model that you are using. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + public var maxTokens: Swift.Int? + /// A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + public var stopSequences: [Swift.String]? + /// The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. The default value is the default value for the model that you are using. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + public var temperature: Swift.Float? + /// The percentage of most-likely candidates that the model considers for the next token. For example, if you choose a value of 0.8 for topP, the model selects from the top 80% of the probability distribution of tokens that could be next in the sequence. The default value is the default value for the model that you are using. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + public var topp: Swift.Float? + + public init( + maxTokens: Swift.Int? = nil, + stopSequences: [Swift.String]? = nil, + temperature: Swift.Float? = nil, + topp: Swift.Float? = nil + ) + { + self.maxTokens = maxTokens + self.stopSequences = stopSequences + self.temperature = temperature + self.topp = topp + } + } + +} + +extension BedrockRuntimeClientTypes { + + public enum DocumentFormat: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case csv + case doc + case docx + case html + case md + case pdf + case txt + case xls + case xlsx + case sdkUnknown(Swift.String) + + public static var allCases: [DocumentFormat] { return [ - .deny + .csv, + .doc, + .docx, + .html, + .md, + .pdf, + .txt, + .xls, + .xlsx ] } @@ -1322,7 +1336,15 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .deny: return "DENY" + case .csv: return "csv" + case .doc: return "doc" + case .docx: return "docx" + case .html: return "html" + case .md: return "md" + case .pdf: return "pdf" + case .txt: return "txt" + case .xls: return "xls" + case .xlsx: return "xlsx" case let .sdkUnknown(s): return s } } @@ -1330,44 +1352,50 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// Information about a topic guardrail. - public struct GuardrailTopic { - /// The action the guardrail should take when it intervenes on a topic. - /// This member is required. - public var action: BedrockRuntimeClientTypes.GuardrailTopicPolicyAction? - /// The name for the guardrail. - /// This member is required. - public var name: Swift.String? - /// The type behavior that the guardrail should perform when the model detects the topic. - /// This member is required. - public var type: BedrockRuntimeClientTypes.GuardrailTopicType? - - public init( - action: BedrockRuntimeClientTypes.GuardrailTopicPolicyAction? = nil, - name: Swift.String? = nil, - type: BedrockRuntimeClientTypes.GuardrailTopicType? = nil - ) - { - self.action = action - self.name = name - self.type = type - } + /// Contains the content of a document. + public enum DocumentSource { + /// The raw bytes for the document. If you use an Amazon Web Services SDK, you don't need to encode the bytes in base64. + case bytes(Foundation.Data) + case sdkUnknown(Swift.String) } } extension BedrockRuntimeClientTypes { - /// A behavior assessment of a topic policy. - public struct GuardrailTopicPolicyAssessment { - /// The topics in the assessment. + /// A document to include in a message. + public struct DocumentBlock { + /// The format of a document, or its extension. /// This member is required. - public var topics: [BedrockRuntimeClientTypes.GuardrailTopic]? + public var format: BedrockRuntimeClientTypes.DocumentFormat? + /// A name for the document. The name can only contain the following characters: + /// + /// * Alphanumeric characters + /// + /// * Whitespace characters (no more than one in a row) + /// + /// * Hyphens + /// + /// * Parentheses + /// + /// * Square brackets + /// + /// + /// This field is vulnerable to prompt injections, because the model might inadvertently interpret it as instructions. Therefore, we recommend that you specify a neutral name. + /// This member is required. + public var name: Swift.String? + /// Contains the content of the document. + /// This member is required. + public var source: BedrockRuntimeClientTypes.DocumentSource? public init( - topics: [BedrockRuntimeClientTypes.GuardrailTopic]? = nil + format: BedrockRuntimeClientTypes.DocumentFormat? = nil, + name: Swift.String? = nil, + source: BedrockRuntimeClientTypes.DocumentSource? = nil ) { - self.topics = topics + self.format = format + self.name = name + self.source = source } } @@ -1375,13 +1403,17 @@ extension BedrockRuntimeClientTypes { extension BedrockRuntimeClientTypes { - public enum GuardrailWordPolicyAction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case blocked + public enum GuardrailConverseContentQualifier: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case groundingSource + case guardContent + case query case sdkUnknown(Swift.String) - public static var allCases: [GuardrailWordPolicyAction] { + public static var allCases: [GuardrailConverseContentQualifier] { return [ - .blocked + .groundingSource, + .guardContent, + .query ] } @@ -1392,7 +1424,9 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .blocked: return "BLOCKED" + case .groundingSource: return "grounding_source" + case .guardContent: return "guard_content" + case .query: return "query" case let .sdkUnknown(s): return s } } @@ -1400,36 +1434,51 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// A custom word configured in a guardrail. - public struct GuardrailCustomWord { - /// The action for the custom word. - /// This member is required. - public var action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? - /// The match for the custom word. + /// A text block that contains text that you want to assess with a guardrail. For more information, see [GuardrailConverseContentBlock]. + public struct GuardrailConverseTextBlock { + /// The qualifier details for the guardrails contextual grounding filter. + public var qualifiers: [BedrockRuntimeClientTypes.GuardrailConverseContentQualifier]? + /// The text that you want to guard. /// This member is required. - public var match: Swift.String? + public var text: Swift.String? public init( - action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? = nil, - match: Swift.String? = nil + qualifiers: [BedrockRuntimeClientTypes.GuardrailConverseContentQualifier]? = nil, + text: Swift.String? = nil ) { - self.action = action - self.match = match + self.qualifiers = qualifiers + self.text = text } } } extension BedrockRuntimeClientTypes { + /// A content block for selective guarding with the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations. + public enum GuardrailConverseContentBlock { + /// The text to guard. + case text(BedrockRuntimeClientTypes.GuardrailConverseTextBlock) + case sdkUnknown(Swift.String) + } - public enum GuardrailManagedWordType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case profanity +} + +extension BedrockRuntimeClientTypes { + + public enum ImageFormat: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case gif + case jpeg + case png + case webp case sdkUnknown(Swift.String) - public static var allCases: [GuardrailManagedWordType] { + public static var allCases: [ImageFormat] { return [ - .profanity + .gif, + .jpeg, + .png, + .webp ] } @@ -1440,7 +1489,10 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .profanity: return "PROFANITY" + case .gif: return "gif" + case .jpeg: return "jpeg" + case .png: return "png" + case .webp: return "webp" case let .sdkUnknown(s): return s } } @@ -1448,196 +1500,166 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// A managed word configured in a guardrail. - public struct GuardrailManagedWord { - /// The action for the managed word. - /// This member is required. - public var action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? - /// The match for the managed word. - /// This member is required. - public var match: Swift.String? - /// The type for the managed word. - /// This member is required. - public var type: BedrockRuntimeClientTypes.GuardrailManagedWordType? - - public init( - action: BedrockRuntimeClientTypes.GuardrailWordPolicyAction? = nil, - match: Swift.String? = nil, - type: BedrockRuntimeClientTypes.GuardrailManagedWordType? = nil - ) - { - self.action = action - self.match = match - self.type = type - } + /// The source for an image. + public enum ImageSource { + /// The raw image bytes for the image. If you use an AWS SDK, you don't need to encode the image bytes in base64. + case bytes(Foundation.Data) + case sdkUnknown(Swift.String) } } extension BedrockRuntimeClientTypes { - /// The word policy assessment. - public struct GuardrailWordPolicyAssessment { - /// Custom words in the assessment. + /// Image content for a message. + public struct ImageBlock { + /// The format of the image. /// This member is required. - public var customWords: [BedrockRuntimeClientTypes.GuardrailCustomWord]? - /// Managed word lists in the assessment. + public var format: BedrockRuntimeClientTypes.ImageFormat? + /// The source for the image. /// This member is required. - public var managedWordLists: [BedrockRuntimeClientTypes.GuardrailManagedWord]? + public var source: BedrockRuntimeClientTypes.ImageSource? public init( - customWords: [BedrockRuntimeClientTypes.GuardrailCustomWord]? = nil, - managedWordLists: [BedrockRuntimeClientTypes.GuardrailManagedWord]? = nil + format: BedrockRuntimeClientTypes.ImageFormat? = nil, + source: BedrockRuntimeClientTypes.ImageSource? = nil ) { - self.customWords = customWords - self.managedWordLists = managedWordLists + self.format = format + self.source = source } } } extension BedrockRuntimeClientTypes { - /// A behavior assessment of the guardrail policies used in a call to the Converse API. - public struct GuardrailAssessment { - /// The content policy. - public var contentPolicy: BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment? - /// The sensitive information policy. - public var sensitiveInformationPolicy: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment? - /// The topic policy. - public var topicPolicy: BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment? - /// The word policy. - public var wordPolicy: BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment? - - public init( - contentPolicy: BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment? = nil, - sensitiveInformationPolicy: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment? = nil, - topicPolicy: BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment? = nil, - wordPolicy: BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment? = nil - ) - { - self.contentPolicy = contentPolicy - self.sensitiveInformationPolicy = sensitiveInformationPolicy - self.topicPolicy = topicPolicy - self.wordPolicy = wordPolicy - } - } + /// The tool result content block. + public enum ToolResultContentBlock { + /// A tool result that is JSON format data. + case json(SmithyReadWrite.Document) + /// A tool result that is text. + case text(Swift.String) + /// A tool result that is an image. This field is only supported by Anthropic Claude 3 models. + case image(BedrockRuntimeClientTypes.ImageBlock) + /// A tool result that is a document. + case document(BedrockRuntimeClientTypes.DocumentBlock) + case sdkUnknown(Swift.String) + } } extension BedrockRuntimeClientTypes { - /// A Top level guardrail trace object. For more information, see [ConverseTrace]. - public struct GuardrailTraceAssessment { - /// The input assessment. - public var inputAssessment: [Swift.String: BedrockRuntimeClientTypes.GuardrailAssessment]? - /// The output from the model. - public var modelOutput: [Swift.String]? - /// the output assessments. - public var outputAssessments: [Swift.String: [BedrockRuntimeClientTypes.GuardrailAssessment]]? - public init( - inputAssessment: [Swift.String: BedrockRuntimeClientTypes.GuardrailAssessment]? = nil, - modelOutput: [Swift.String]? = nil, - outputAssessments: [Swift.String: [BedrockRuntimeClientTypes.GuardrailAssessment]]? = nil - ) - { - self.inputAssessment = inputAssessment - self.modelOutput = modelOutput - self.outputAssessments = outputAssessments + public enum ToolResultStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case error + case success + case sdkUnknown(Swift.String) + + public static var allCases: [ToolResultStatus] { + return [ + .error, + .success + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) } - } + public var rawValue: Swift.String { + switch self { + case .error: return "error" + case .success: return "success" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockRuntimeClientTypes { - /// The trace object in a response from [Converse]. Currently, you can only trace guardrails. - public struct ConverseTrace { - /// The guardrail trace object. - public var guardrail: BedrockRuntimeClientTypes.GuardrailTraceAssessment? + /// A tool result block that contains the results for a tool request that the model previously made. + public struct ToolResultBlock { + /// The content for tool result content block. + /// This member is required. + public var content: [BedrockRuntimeClientTypes.ToolResultContentBlock]? + /// The status for the tool result content block. This field is only supported Anthropic Claude 3 models. + public var status: BedrockRuntimeClientTypes.ToolResultStatus? + /// The ID of the tool request that this is the result for. + /// This member is required. + public var toolUseId: Swift.String? public init( - guardrail: BedrockRuntimeClientTypes.GuardrailTraceAssessment? = nil + content: [BedrockRuntimeClientTypes.ToolResultContentBlock]? = nil, + status: BedrockRuntimeClientTypes.ToolResultStatus? = nil, + toolUseId: Swift.String? = nil ) { - self.guardrail = guardrail + self.content = content + self.status = status + self.toolUseId = toolUseId } } } extension BedrockRuntimeClientTypes { - /// The tokens used in a message API inference call. - public struct TokenUsage { - /// The number of tokens sent in the request to the model. + /// A tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response. + public struct ToolUseBlock { + /// The input to pass to the tool. /// This member is required. - public var inputTokens: Swift.Int? - /// The number of tokens that the model generated for the request. + public var input: SmithyReadWrite.Document? + /// The name of the tool that the model wants to use. /// This member is required. - public var outputTokens: Swift.Int? - /// The total of input tokens and tokens generated by the model. + public var name: Swift.String? + /// The ID for the tool request. /// This member is required. - public var totalTokens: Swift.Int? + public var toolUseId: Swift.String? public init( - inputTokens: Swift.Int? = nil, - outputTokens: Swift.Int? = nil, - totalTokens: Swift.Int? = nil + input: SmithyReadWrite.Document? = nil, + name: Swift.String? = nil, + toolUseId: Swift.String? = nil ) { - self.inputTokens = inputTokens - self.outputTokens = outputTokens - self.totalTokens = totalTokens + self.input = input + self.name = name + self.toolUseId = toolUseId } } } -public struct ConverseOutput { - /// Additional fields in the response that are unique to the model. - public var additionalModelResponseFields: SmithyReadWrite.Document? - /// Metrics for the call to Converse. - /// This member is required. - public var metrics: BedrockRuntimeClientTypes.ConverseMetrics? - /// The result from the call to Converse. - /// This member is required. - public var output: BedrockRuntimeClientTypes.ConverseOutput? - /// The reason why the model stopped generating output. - /// This member is required. - public var stopReason: BedrockRuntimeClientTypes.StopReason? - /// A trace object that contains information about the Guardrail behavior. - public var trace: BedrockRuntimeClientTypes.ConverseTrace? - /// The total number of tokens used in the call to Converse. The total includes the tokens input to the model and the tokens generated by the model. - /// This member is required. - public var usage: BedrockRuntimeClientTypes.TokenUsage? - - public init( - additionalModelResponseFields: SmithyReadWrite.Document? = nil, - metrics: BedrockRuntimeClientTypes.ConverseMetrics? = nil, - output: BedrockRuntimeClientTypes.ConverseOutput? = nil, - stopReason: BedrockRuntimeClientTypes.StopReason? = nil, - trace: BedrockRuntimeClientTypes.ConverseTrace? = nil, - usage: BedrockRuntimeClientTypes.TokenUsage? = nil - ) - { - self.additionalModelResponseFields = additionalModelResponseFields - self.metrics = metrics - self.output = output - self.stopReason = stopReason - self.trace = trace - self.usage = usage +extension BedrockRuntimeClientTypes { + /// A block of content for a message that you pass to, or receive from, a model with the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations. + public enum ContentBlock { + /// Text to include in the message. + case text(Swift.String) + /// Image to include in the message. This field is only supported by Anthropic Claude 3 models. + case image(BedrockRuntimeClientTypes.ImageBlock) + /// A document to include in the message. + case document(BedrockRuntimeClientTypes.DocumentBlock) + /// Information about a tool use request from a model. + case tooluse(BedrockRuntimeClientTypes.ToolUseBlock) + /// The result for a tool request that a model makes. + case toolresult(BedrockRuntimeClientTypes.ToolResultBlock) + /// Contains the content to assess with the guardrail. If you don't specify guardContent in a call to the Converse API, the guardrail (if passed in the Converse API) assesses the entire message. For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. + case guardcontent(BedrockRuntimeClientTypes.GuardrailConverseContentBlock) + case sdkUnknown(Swift.String) } + } extension BedrockRuntimeClientTypes { - public enum GuardrailStreamProcessingMode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case async - case sync + public enum ConversationRole: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case assistant + case user case sdkUnknown(Swift.String) - public static var allCases: [GuardrailStreamProcessingMode] { + public static var allCases: [ConversationRole] { return [ - .async, - .sync + .assistant, + .user ] } @@ -1648,8 +1670,8 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .async: return "async" - case .sync: return "sync" + case .assistant: return "assistant" + case .user: return "user" case let .sdkUnknown(s): return s } } @@ -1657,263 +1679,306 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// Configuration information for a guardrail that you use with the [ConverseStream] action. - public struct GuardrailStreamConfiguration { - /// The identifier for the guardrail. + /// A message input, or returned from, a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). + public struct Message { + /// The message content. Note the following restrictions: + /// + /// * You can include up to 20 images. Each image's size, height, and width must be no more than 3.75 MB, 8000 px, and 8000 px, respectively. + /// + /// * You can include up to five documents. Each document's size must be no more than 4.5 MB. + /// + /// * If you include a ContentBlock with a document field in the array, you must also include a ContentBlock with a text field. + /// + /// * You can only include images and documents if the role is user. /// This member is required. - public var guardrailIdentifier: Swift.String? - /// The version of the guardrail. + public var content: [BedrockRuntimeClientTypes.ContentBlock]? + /// The role that the message plays in the message. /// This member is required. - public var guardrailVersion: Swift.String? - /// The processing mode. The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide. - public var streamProcessingMode: BedrockRuntimeClientTypes.GuardrailStreamProcessingMode? - /// The trace behavior for the guardrail. - public var trace: BedrockRuntimeClientTypes.GuardrailTrace? + public var role: BedrockRuntimeClientTypes.ConversationRole? public init( - guardrailIdentifier: Swift.String? = nil, - guardrailVersion: Swift.String? = nil, - streamProcessingMode: BedrockRuntimeClientTypes.GuardrailStreamProcessingMode? = nil, - trace: BedrockRuntimeClientTypes.GuardrailTrace? = nil + content: [BedrockRuntimeClientTypes.ContentBlock]? = nil, + role: BedrockRuntimeClientTypes.ConversationRole? = nil ) { - self.guardrailIdentifier = guardrailIdentifier - self.guardrailVersion = guardrailVersion - self.streamProcessingMode = streamProcessingMode - self.trace = trace + self.content = content + self.role = role } } } -public struct ConverseStreamInput { - /// Additional inference parameters that the model supports, beyond the base set of inference parameters that ConverseStream supports in the inferenceConfig field. - public var additionalModelRequestFields: SmithyReadWrite.Document? - /// Additional model parameters field paths to return in the response. ConverseStream returns the requested fields as a JSON Pointer object in the additionalModelResponseFields field. The following is example JSON for additionalModelResponseFieldPaths. [ "/stop_sequence" ] For information about the JSON Pointer syntax, see the [Internet Engineering Task Force (IETF)](https://datatracker.ietf.org/doc/html/rfc6901) documentation. ConverseStream rejects an empty JSON Pointer or incorrectly structured JSON Pointer with a 400 error code. if the JSON Pointer is valid, but the requested field is not in the model response, it is ignored by ConverseStream. - public var additionalModelResponseFieldPaths: [Swift.String]? - /// Configuration information for a guardrail that you want to use in the request. - public var guardrailConfig: BedrockRuntimeClientTypes.GuardrailStreamConfiguration? - /// Inference parameters to pass to the model. ConverseStream supports a base set of inference parameters. If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field. - public var inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? - /// The messages that you want to send to the model. - /// This member is required. - public var messages: [BedrockRuntimeClientTypes.Message]? - /// The ID for the model. The modelId to provide depends on the type of model that you use: - /// - /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - /// - /// * If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see [Run inference using a Provisioned Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - /// - /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - /// This member is required. - public var modelId: Swift.String? - /// A system prompt to send to the model. - public var system: [BedrockRuntimeClientTypes.SystemContentBlock]? - /// Configuration information for the tools that the model can use when generating a response. This field is only supported by Anthropic Claude 3 models. - public var toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? - - public init( - additionalModelRequestFields: SmithyReadWrite.Document? = nil, - additionalModelResponseFieldPaths: [Swift.String]? = nil, - guardrailConfig: BedrockRuntimeClientTypes.GuardrailStreamConfiguration? = nil, - inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? = nil, - messages: [BedrockRuntimeClientTypes.Message]? = nil, - modelId: Swift.String? = nil, - system: [BedrockRuntimeClientTypes.SystemContentBlock]? = nil, - toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? = nil - ) - { - self.additionalModelRequestFields = additionalModelRequestFields - self.additionalModelResponseFieldPaths = additionalModelResponseFieldPaths - self.guardrailConfig = guardrailConfig - self.inferenceConfig = inferenceConfig - self.messages = messages - self.modelId = modelId - self.system = system - self.toolConfig = toolConfig - } -} - extension BedrockRuntimeClientTypes { - /// The delta for a tool use block. - public struct ToolUseBlockDelta { - /// The input for a requested tool. - /// This member is required. - public var input: Swift.String? - - public init( - input: Swift.String? = nil - ) - { - self.input = input - } + /// A system content block. + public enum SystemContentBlock { + /// A system prompt for the model. + case text(Swift.String) + /// A content block to assess with the guardrail. Use with the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) or [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations. For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. + case guardcontent(BedrockRuntimeClientTypes.GuardrailConverseContentBlock) + case sdkUnknown(Swift.String) } } extension BedrockRuntimeClientTypes { - /// A bock of content in a streaming response. - public enum ContentBlockDelta { - /// The content text. - case text(Swift.String) - /// Information about a tool that the model is requesting to use. - case tooluse(BedrockRuntimeClientTypes.ToolUseBlockDelta) - case sdkUnknown(Swift.String) + /// The model must request at least one tool (no text is generated). For example, {"any" : {}}. + public struct AnyToolChoice { + + public init() { } } } extension BedrockRuntimeClientTypes { - /// The content block delta event. - public struct ContentBlockDeltaEvent { - /// The block index for a content block delta event. - /// This member is required. - public var contentBlockIndex: Swift.Int? - /// The delta for a content block delta event. - /// This member is required. - public var delta: BedrockRuntimeClientTypes.ContentBlockDelta? + /// The Model automatically decides if a tool should be called or whether to generate text instead. For example, {"auto" : {}}. + public struct AutoToolChoice { - public init( - contentBlockIndex: Swift.Int? = nil, - delta: BedrockRuntimeClientTypes.ContentBlockDelta? = nil - ) - { - self.contentBlockIndex = contentBlockIndex - self.delta = delta - } + public init() { } } } extension BedrockRuntimeClientTypes { - /// The start of a tool use block. - public struct ToolUseBlockStart { - /// The name of the tool that the model is requesting to use. + /// The model must request a specific tool. For example, {"tool" : {"name" : "Your tool name"}}. This field is only supported by Anthropic Claude 3 models. + public struct SpecificToolChoice { + /// The name of the tool that the model must request. /// This member is required. public var name: Swift.String? - /// The ID for the tool request. - /// This member is required. - public var toolUseId: Swift.String? public init( - name: Swift.String? = nil, - toolUseId: Swift.String? = nil + name: Swift.String? = nil ) { self.name = name - self.toolUseId = toolUseId } } } extension BedrockRuntimeClientTypes { - /// Content block start information. - public enum ContentBlockStart { - /// Information about a tool that the model is requesting to use. - case tooluse(BedrockRuntimeClientTypes.ToolUseBlockStart) + /// Determines which tools the model should request in a call to Converse or ConverseStream. ToolChoice is only supported by Anthropic Claude 3 models and by Mistral AI Mistral Large. + public enum ToolChoice { + /// (Default). The Model automatically decides if a tool should be called or whether to generate text instead. + case auto(BedrockRuntimeClientTypes.AutoToolChoice) + /// The model must request at least one tool (no text is generated). + case any(BedrockRuntimeClientTypes.AnyToolChoice) + /// The Model must request the specified tool. Only supported by Anthropic Claude 3 models. + case tool(BedrockRuntimeClientTypes.SpecificToolChoice) case sdkUnknown(Swift.String) } } extension BedrockRuntimeClientTypes { - /// Content block start event. - public struct ContentBlockStartEvent { - /// The index for a content block start event. + /// The schema for the tool. The top level schema type must be object. + public enum ToolInputSchema { + /// The JSON schema for the tool. For more information, see [JSON Schema Reference](https://json-schema.org/understanding-json-schema/reference). + case json(SmithyReadWrite.Document) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockRuntimeClientTypes { + /// The specification for the tool. + public struct ToolSpecification { + /// The description for the tool. + public var description: Swift.String? + /// The input schema for the tool in JSON format. /// This member is required. - public var contentBlockIndex: Swift.Int? - /// Start information about a content block start event. + public var inputSchema: BedrockRuntimeClientTypes.ToolInputSchema? + /// The name for the tool. /// This member is required. - public var start: BedrockRuntimeClientTypes.ContentBlockStart? + public var name: Swift.String? public init( - contentBlockIndex: Swift.Int? = nil, - start: BedrockRuntimeClientTypes.ContentBlockStart? = nil + description: Swift.String? = nil, + inputSchema: BedrockRuntimeClientTypes.ToolInputSchema? = nil, + name: Swift.String? = nil ) { - self.contentBlockIndex = contentBlockIndex - self.start = start + self.description = description + self.inputSchema = inputSchema + self.name = name } } } extension BedrockRuntimeClientTypes { - /// A content block stop event. - public struct ContentBlockStopEvent { - /// The index for a content block. + /// Information about a tool that you can use with the Converse API. For more information, see [Tool use (function calling)](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) in the Amazon Bedrock User Guide. + public enum Tool { + /// The specfication for the tool. + case toolspec(BedrockRuntimeClientTypes.ToolSpecification) + case sdkUnknown(Swift.String) + } + +} + +extension BedrockRuntimeClientTypes { + /// Configuration information for the tools that you pass to a model. For more information, see [Tool use (function calling)](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) in the Amazon Bedrock User Guide. This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models. + public struct ToolConfiguration { + /// If supported by model, forces the model to request a tool. + public var toolChoice: BedrockRuntimeClientTypes.ToolChoice? + /// An array of tools that you want to pass to a model. /// This member is required. - public var contentBlockIndex: Swift.Int? + public var tools: [BedrockRuntimeClientTypes.Tool]? public init( - contentBlockIndex: Swift.Int? = nil + toolChoice: BedrockRuntimeClientTypes.ToolChoice? = nil, + tools: [BedrockRuntimeClientTypes.Tool]? = nil ) { - self.contentBlockIndex = contentBlockIndex + self.toolChoice = toolChoice + self.tools = tools } } } +public struct ConverseInput { + /// Additional inference parameters that the model supports, beyond the base set of inference parameters that Converse supports in the inferenceConfig field. For more information, see [Model parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + public var additionalModelRequestFields: SmithyReadWrite.Document? + /// Additional model parameters field paths to return in the response. Converse returns the requested fields as a JSON Pointer object in the additionalModelResponseFields field. The following is example JSON for additionalModelResponseFieldPaths. [ "/stop_sequence" ] For information about the JSON Pointer syntax, see the [Internet Engineering Task Force (IETF)](https://datatracker.ietf.org/doc/html/rfc6901) documentation. Converse rejects an empty JSON Pointer or incorrectly structured JSON Pointer with a 400 error code. if the JSON Pointer is valid, but the requested field is not in the model response, it is ignored by Converse. + public var additionalModelResponseFieldPaths: [Swift.String]? + /// Configuration information for a guardrail that you want to use in the request. + public var guardrailConfig: BedrockRuntimeClientTypes.GuardrailConfiguration? + /// Inference parameters to pass to the model. Converse supports a base set of inference parameters. If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field. + public var inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? + /// The messages that you want to send to the model. + /// This member is required. + public var messages: [BedrockRuntimeClientTypes.Message]? + /// The identifier for the model that you want to call. The modelId to provide depends on the type of model that you use: + /// + /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. + /// + /// * If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see [Run inference using a Provisioned Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. + /// + /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var modelId: Swift.String? + /// A system prompt to pass to the model. + public var system: [BedrockRuntimeClientTypes.SystemContentBlock]? + /// Configuration information for the tools that the model can use when generating a response. This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models. + public var toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? + + public init( + additionalModelRequestFields: SmithyReadWrite.Document? = nil, + additionalModelResponseFieldPaths: [Swift.String]? = nil, + guardrailConfig: BedrockRuntimeClientTypes.GuardrailConfiguration? = nil, + inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? = nil, + messages: [BedrockRuntimeClientTypes.Message]? = nil, + modelId: Swift.String? = nil, + system: [BedrockRuntimeClientTypes.SystemContentBlock]? = nil, + toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? = nil + ) + { + self.additionalModelRequestFields = additionalModelRequestFields + self.additionalModelResponseFieldPaths = additionalModelResponseFieldPaths + self.guardrailConfig = guardrailConfig + self.inferenceConfig = inferenceConfig + self.messages = messages + self.modelId = modelId + self.system = system + self.toolConfig = toolConfig + } +} + extension BedrockRuntimeClientTypes { - /// The start of a message. - public struct MessageStartEvent { - /// The role for the message. + /// Metrics for a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). + public struct ConverseMetrics { + /// The latency of the call to Converse, in milliseconds. /// This member is required. - public var role: BedrockRuntimeClientTypes.ConversationRole? + public var latencyMs: Swift.Int? public init( - role: BedrockRuntimeClientTypes.ConversationRole? = nil + latencyMs: Swift.Int? = nil ) { - self.role = role + self.latencyMs = latencyMs } } } extension BedrockRuntimeClientTypes { - /// The stop event for a message. - public struct MessageStopEvent { - /// The additional model response fields. - public var additionalModelResponseFields: SmithyReadWrite.Document? - /// The reason why the model stopped generating output. - /// This member is required. - public var stopReason: BedrockRuntimeClientTypes.StopReason? + /// The output from a call to [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). + public enum ConverseOutput { + /// The message that the model generates. + case message(BedrockRuntimeClientTypes.Message) + case sdkUnknown(Swift.String) + } - public init( - additionalModelResponseFields: SmithyReadWrite.Document? = nil, - stopReason: BedrockRuntimeClientTypes.StopReason? = nil - ) - { - self.additionalModelResponseFields = additionalModelResponseFields - self.stopReason = stopReason +} + +extension BedrockRuntimeClientTypes { + + public enum StopReason: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case contentFiltered + case endTurn + case guardrailIntervened + case maxTokens + case stopSequence + case toolUse + case sdkUnknown(Swift.String) + + public static var allCases: [StopReason] { + return [ + .contentFiltered, + .endTurn, + .guardrailIntervened, + .maxTokens, + .stopSequence, + .toolUse + ] } - } + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .contentFiltered: return "content_filtered" + case .endTurn: return "end_turn" + case .guardrailIntervened: return "guardrail_intervened" + case .maxTokens: return "max_tokens" + case .stopSequence: return "stop_sequence" + case .toolUse: return "tool_use" + case let .sdkUnknown(s): return s + } + } + } } extension BedrockRuntimeClientTypes { - /// Metrics for the stream. - public struct ConverseStreamMetrics { - /// The latency for the streaming request, in milliseconds. - /// This member is required. - public var latencyMs: Swift.Int? + /// A Top level guardrail trace object. For more information, see [ConverseTrace]. + public struct GuardrailTraceAssessment { + /// The input assessment. + public var inputAssessment: [Swift.String: BedrockRuntimeClientTypes.GuardrailAssessment]? + /// The output from the model. + public var modelOutput: [Swift.String]? + /// the output assessments. + public var outputAssessments: [Swift.String: [BedrockRuntimeClientTypes.GuardrailAssessment]]? public init( - latencyMs: Swift.Int? = nil + inputAssessment: [Swift.String: BedrockRuntimeClientTypes.GuardrailAssessment]? = nil, + modelOutput: [Swift.String]? = nil, + outputAssessments: [Swift.String: [BedrockRuntimeClientTypes.GuardrailAssessment]]? = nil ) { - self.latencyMs = latencyMs + self.inputAssessment = inputAssessment + self.modelOutput = modelOutput + self.outputAssessments = outputAssessments } } } extension BedrockRuntimeClientTypes { - /// The trace object in a response from [ConverseStream]. Currently, you can only trace guardrails. - public struct ConverseStreamTrace { + /// The trace object in a response from [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). Currently, you can only trace guardrails. + public struct ConverseTrace { /// The guardrail trace object. public var guardrail: BedrockRuntimeClientTypes.GuardrailTraceAssessment? @@ -1928,130 +1993,79 @@ extension BedrockRuntimeClientTypes { } extension BedrockRuntimeClientTypes { - /// A conversation stream metadata event. - public struct ConverseStreamMetadataEvent { - /// The metrics for the conversation stream metadata event. + /// The tokens used in a message API inference call. + public struct TokenUsage { + /// The number of tokens sent in the request to the model. /// This member is required. - public var metrics: BedrockRuntimeClientTypes.ConverseStreamMetrics? - /// The trace object in the response from [ConverseStream] that contains information about the guardrail behavior. - public var trace: BedrockRuntimeClientTypes.ConverseStreamTrace? - /// Usage information for the conversation stream event. + public var inputTokens: Swift.Int? + /// The number of tokens that the model generated for the request. /// This member is required. - public var usage: BedrockRuntimeClientTypes.TokenUsage? + public var outputTokens: Swift.Int? + /// The total of input tokens and tokens generated by the model. + /// This member is required. + public var totalTokens: Swift.Int? public init( - metrics: BedrockRuntimeClientTypes.ConverseStreamMetrics? = nil, - trace: BedrockRuntimeClientTypes.ConverseStreamTrace? = nil, - usage: BedrockRuntimeClientTypes.TokenUsage? = nil + inputTokens: Swift.Int? = nil, + outputTokens: Swift.Int? = nil, + totalTokens: Swift.Int? = nil ) { - self.metrics = metrics - self.trace = trace - self.usage = usage + self.inputTokens = inputTokens + self.outputTokens = outputTokens + self.totalTokens = totalTokens } } } -/// An error occurred while streaming the response. Retry your request. -public struct ModelStreamErrorException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - /// The original message. - public internal(set) var originalMessage: Swift.String? = nil - /// The original status code. - public internal(set) var originalStatusCode: Swift.Int? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ModelStreamErrorException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil, - originalMessage: Swift.String? = nil, - originalStatusCode: Swift.Int? = nil - ) - { - self.properties.message = message - self.properties.originalMessage = originalMessage - self.properties.originalStatusCode = originalStatusCode - } -} - -extension BedrockRuntimeClientTypes { - /// The messages output stream - public enum ConverseStreamOutput { - /// Message start information. - case messagestart(BedrockRuntimeClientTypes.MessageStartEvent) - /// Start information for a content block. - case contentblockstart(BedrockRuntimeClientTypes.ContentBlockStartEvent) - /// The messages output content block delta. - case contentblockdelta(BedrockRuntimeClientTypes.ContentBlockDeltaEvent) - /// Stop information for a content block. - case contentblockstop(BedrockRuntimeClientTypes.ContentBlockStopEvent) - /// Message stop information. - case messagestop(BedrockRuntimeClientTypes.MessageStopEvent) - /// Metadata for the converse output stream. - case metadata(BedrockRuntimeClientTypes.ConverseStreamMetadataEvent) - case sdkUnknown(Swift.String) - } - -} - -public struct ConverseStreamOutput { - /// The output stream that the model generated. - public var stream: AsyncThrowingStream? - - public init( - stream: AsyncThrowingStream? = nil - ) - { - self.stream = stream - } -} - -/// The number of requests exceeds the service quota. Resubmit your request later. -public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ServiceQuotaExceededException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? +public struct ConverseOutput { + /// Additional fields in the response that are unique to the model. + public var additionalModelResponseFields: SmithyReadWrite.Document? + /// Metrics for the call to Converse. + /// This member is required. + public var metrics: BedrockRuntimeClientTypes.ConverseMetrics? + /// The result from the call to Converse. + /// This member is required. + public var output: BedrockRuntimeClientTypes.ConverseOutput? + /// The reason why the model stopped generating output. + /// This member is required. + public var stopReason: BedrockRuntimeClientTypes.StopReason? + /// A trace object that contains information about the Guardrail behavior. + public var trace: BedrockRuntimeClientTypes.ConverseTrace? + /// The total number of tokens used in the call to Converse. The total includes the tokens input to the model and the tokens generated by the model. + /// This member is required. + public var usage: BedrockRuntimeClientTypes.TokenUsage? public init( - message: Swift.String? = nil + additionalModelResponseFields: SmithyReadWrite.Document? = nil, + metrics: BedrockRuntimeClientTypes.ConverseMetrics? = nil, + output: BedrockRuntimeClientTypes.ConverseOutput? = nil, + stopReason: BedrockRuntimeClientTypes.StopReason? = nil, + trace: BedrockRuntimeClientTypes.ConverseTrace? = nil, + usage: BedrockRuntimeClientTypes.TokenUsage? = nil ) { - self.properties.message = message + self.additionalModelResponseFields = additionalModelResponseFields + self.metrics = metrics + self.output = output + self.stopReason = stopReason + self.trace = trace + self.usage = usage } } extension BedrockRuntimeClientTypes { - public enum Trace: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case disabled - case enabled + public enum GuardrailStreamProcessingMode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case async + case sync case sdkUnknown(Swift.String) - public static var allCases: [Trace] { + public static var allCases: [GuardrailStreamProcessingMode] { return [ - .disabled, - .enabled + .async, + .sync ] } @@ -2062,33 +2076,57 @@ extension BedrockRuntimeClientTypes { public var rawValue: Swift.String { switch self { - case .disabled: return "DISABLED" - case .enabled: return "ENABLED" + case .async: return "async" + case .sync: return "sync" case let .sdkUnknown(s): return s } } } } -public struct InvokeModelInput { - /// The desired MIME type of the inference body in the response. The default value is application/json. - public var accept: Swift.String? - /// The prompt and inference parameters in the format specified in the contentType in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). For more information, see [Run inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. +extension BedrockRuntimeClientTypes { + /// Configuration information for a guardrail that you use with the [ConverseStream] action. + public struct GuardrailStreamConfiguration { + /// The identifier for the guardrail. + /// This member is required. + public var guardrailIdentifier: Swift.String? + /// The version of the guardrail. + /// This member is required. + public var guardrailVersion: Swift.String? + /// The processing mode. The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide. + public var streamProcessingMode: BedrockRuntimeClientTypes.GuardrailStreamProcessingMode? + /// The trace behavior for the guardrail. + public var trace: BedrockRuntimeClientTypes.GuardrailTrace? + + public init( + guardrailIdentifier: Swift.String? = nil, + guardrailVersion: Swift.String? = nil, + streamProcessingMode: BedrockRuntimeClientTypes.GuardrailStreamProcessingMode? = nil, + trace: BedrockRuntimeClientTypes.GuardrailTrace? = nil + ) + { + self.guardrailIdentifier = guardrailIdentifier + self.guardrailVersion = guardrailVersion + self.streamProcessingMode = streamProcessingMode + self.trace = trace + } + } + +} + +public struct ConverseStreamInput { + /// Additional inference parameters that the model supports, beyond the base set of inference parameters that ConverseStream supports in the inferenceConfig field. + public var additionalModelRequestFields: SmithyReadWrite.Document? + /// Additional model parameters field paths to return in the response. ConverseStream returns the requested fields as a JSON Pointer object in the additionalModelResponseFields field. The following is example JSON for additionalModelResponseFieldPaths. [ "/stop_sequence" ] For information about the JSON Pointer syntax, see the [Internet Engineering Task Force (IETF)](https://datatracker.ietf.org/doc/html/rfc6901) documentation. ConverseStream rejects an empty JSON Pointer or incorrectly structured JSON Pointer with a 400 error code. if the JSON Pointer is valid, but the requested field is not in the model response, it is ignored by ConverseStream. + public var additionalModelResponseFieldPaths: [Swift.String]? + /// Configuration information for a guardrail that you want to use in the request. + public var guardrailConfig: BedrockRuntimeClientTypes.GuardrailStreamConfiguration? + /// Inference parameters to pass to the model. ConverseStream supports a base set of inference parameters. If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field. + public var inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? + /// The messages that you want to send to the model. /// This member is required. - public var body: Foundation.Data? - /// The MIME type of the input data in the request. You must specify application/json. - public var contentType: Swift.String? - /// The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error will be thrown in the following situations. - /// - /// * You don't provide a guardrail identifier but you specify the amazon-bedrock-guardrailConfig field in the request body. - /// - /// * You enable the guardrail but the contentType isn't application/json. - /// - /// * You provide a guardrail identifier, but guardrailVersion isn't specified. - public var guardrailIdentifier: Swift.String? - /// The version number for the guardrail. The value can also be DRAFT. - public var guardrailVersion: Swift.String? - /// The unique identifier of the model to invoke to run inference. The modelId to provide depends on the type of model that you use: + public var messages: [BedrockRuntimeClientTypes.Message]? + /// The ID for the model. The modelId to provide depends on the type of model that you use: /// /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. /// @@ -2097,681 +2135,1279 @@ public struct InvokeModelInput { /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. /// This member is required. public var modelId: Swift.String? - /// Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace. - public var trace: BedrockRuntimeClientTypes.Trace? + /// A system prompt to send to the model. + public var system: [BedrockRuntimeClientTypes.SystemContentBlock]? + /// Configuration information for the tools that the model can use when generating a response. This field is only supported by Anthropic Claude 3 models. + public var toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? public init( - accept: Swift.String? = nil, - body: Foundation.Data? = nil, - contentType: Swift.String? = nil, - guardrailIdentifier: Swift.String? = nil, - guardrailVersion: Swift.String? = nil, + additionalModelRequestFields: SmithyReadWrite.Document? = nil, + additionalModelResponseFieldPaths: [Swift.String]? = nil, + guardrailConfig: BedrockRuntimeClientTypes.GuardrailStreamConfiguration? = nil, + inferenceConfig: BedrockRuntimeClientTypes.InferenceConfiguration? = nil, + messages: [BedrockRuntimeClientTypes.Message]? = nil, modelId: Swift.String? = nil, - trace: BedrockRuntimeClientTypes.Trace? = nil + system: [BedrockRuntimeClientTypes.SystemContentBlock]? = nil, + toolConfig: BedrockRuntimeClientTypes.ToolConfiguration? = nil ) { - self.accept = accept - self.body = body - self.contentType = contentType - self.guardrailIdentifier = guardrailIdentifier - self.guardrailVersion = guardrailVersion + self.additionalModelRequestFields = additionalModelRequestFields + self.additionalModelResponseFieldPaths = additionalModelResponseFieldPaths + self.guardrailConfig = guardrailConfig + self.inferenceConfig = inferenceConfig + self.messages = messages self.modelId = modelId - self.trace = trace + self.system = system + self.toolConfig = toolConfig } } -extension InvokeModelInput: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "InvokeModelInput(accept: \(Swift.String(describing: accept)), contentType: \(Swift.String(describing: contentType)), guardrailIdentifier: \(Swift.String(describing: guardrailIdentifier)), guardrailVersion: \(Swift.String(describing: guardrailVersion)), modelId: \(Swift.String(describing: modelId)), trace: \(Swift.String(describing: trace)), body: \"CONTENT_REDACTED\")"} -} +extension BedrockRuntimeClientTypes { + /// The delta for a tool use block. + public struct ToolUseBlockDelta { + /// The input for a requested tool. + /// This member is required. + public var input: Swift.String? -public struct InvokeModelOutput { - /// Inference response from the model in the format specified in the contentType header. To see the format and content of the request and response bodies for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - /// This member is required. - public var body: Foundation.Data? - /// The MIME type of the inference result. - /// This member is required. - public var contentType: Swift.String? - - public init( - body: Foundation.Data? = nil, - contentType: Swift.String? = nil - ) - { - self.body = body - self.contentType = contentType + public init( + input: Swift.String? = nil + ) + { + self.input = input + } } -} -extension InvokeModelOutput: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "InvokeModelOutput(contentType: \(Swift.String(describing: contentType)), body: \"CONTENT_REDACTED\")"} } -public struct InvokeModelWithResponseStreamInput { - /// The desired MIME type of the inference body in the response. The default value is application/json. - public var accept: Swift.String? - /// The prompt and inference parameters in the format specified in the contentType in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). For more information, see [Run inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. - /// This member is required. - public var body: Foundation.Data? - /// The MIME type of the input data in the request. You must specify application/json. - public var contentType: Swift.String? - /// The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error is thrown in the following situations. - /// - /// * You don't provide a guardrail identifier but you specify the amazon-bedrock-guardrailConfig field in the request body. - /// - /// * You enable the guardrail but the contentType isn't application/json. - /// - /// * You provide a guardrail identifier, but guardrailVersion isn't specified. - public var guardrailIdentifier: Swift.String? - /// The version number for the guardrail. The value can also be DRAFT. - public var guardrailVersion: Swift.String? - /// The unique identifier of the model to invoke to run inference. The modelId to provide depends on the type of model that you use: - /// - /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - /// - /// * If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see [Run inference using a Provisioned Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - /// - /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - /// This member is required. - public var modelId: Swift.String? - /// Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace. - public var trace: BedrockRuntimeClientTypes.Trace? - - public init( - accept: Swift.String? = nil, - body: Foundation.Data? = nil, - contentType: Swift.String? = nil, - guardrailIdentifier: Swift.String? = nil, - guardrailVersion: Swift.String? = nil, - modelId: Swift.String? = nil, - trace: BedrockRuntimeClientTypes.Trace? = nil - ) - { - self.accept = accept - self.body = body - self.contentType = contentType - self.guardrailIdentifier = guardrailIdentifier - self.guardrailVersion = guardrailVersion - self.modelId = modelId - self.trace = trace +extension BedrockRuntimeClientTypes { + /// A bock of content in a streaming response. + public enum ContentBlockDelta { + /// The content text. + case text(Swift.String) + /// Information about a tool that the model is requesting to use. + case tooluse(BedrockRuntimeClientTypes.ToolUseBlockDelta) + case sdkUnknown(Swift.String) } -} -extension InvokeModelWithResponseStreamInput: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "InvokeModelWithResponseStreamInput(accept: \(Swift.String(describing: accept)), contentType: \(Swift.String(describing: contentType)), guardrailIdentifier: \(Swift.String(describing: guardrailIdentifier)), guardrailVersion: \(Swift.String(describing: guardrailVersion)), modelId: \(Swift.String(describing: modelId)), trace: \(Swift.String(describing: trace)), body: \"CONTENT_REDACTED\")"} } extension BedrockRuntimeClientTypes { - /// Payload content included in the response. - public struct PayloadPart { - /// Base64-encoded bytes of payload data. - public var bytes: Foundation.Data? + /// The content block delta event. + public struct ContentBlockDeltaEvent { + /// The block index for a content block delta event. + /// This member is required. + public var contentBlockIndex: Swift.Int? + /// The delta for a content block delta event. + /// This member is required. + public var delta: BedrockRuntimeClientTypes.ContentBlockDelta? public init( - bytes: Foundation.Data? = nil + contentBlockIndex: Swift.Int? = nil, + delta: BedrockRuntimeClientTypes.ContentBlockDelta? = nil ) { - self.bytes = bytes + self.contentBlockIndex = contentBlockIndex + self.delta = delta } } } -extension BedrockRuntimeClientTypes.PayloadPart: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "CONTENT_REDACTED" +extension BedrockRuntimeClientTypes { + /// The start of a tool use block. + public struct ToolUseBlockStart { + /// The name of the tool that the model is requesting to use. + /// This member is required. + public var name: Swift.String? + /// The ID for the tool request. + /// This member is required. + public var toolUseId: Swift.String? + + public init( + name: Swift.String? = nil, + toolUseId: Swift.String? = nil + ) + { + self.name = name + self.toolUseId = toolUseId + } } + } extension BedrockRuntimeClientTypes { - /// Definition of content in the response stream. - public enum ResponseStream { - /// Content included in the response. - case chunk(BedrockRuntimeClientTypes.PayloadPart) + /// Content block start information. + public enum ContentBlockStart { + /// Information about a tool that the model is requesting to use. + case tooluse(BedrockRuntimeClientTypes.ToolUseBlockStart) case sdkUnknown(Swift.String) } } -public struct InvokeModelWithResponseStreamOutput { - /// Inference response from the model in the format specified by the contentType header. To see the format and content of this field for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - /// This member is required. - public var body: AsyncThrowingStream? - /// The MIME type of the inference result. - /// This member is required. - public var contentType: Swift.String? - - public init( - body: AsyncThrowingStream? = nil, - contentType: Swift.String? = nil - ) - { - self.body = body - self.contentType = contentType - } -} - -extension ConverseInput { +extension BedrockRuntimeClientTypes { + /// Content block start event. + public struct ContentBlockStartEvent { + /// The index for a content block start event. + /// This member is required. + public var contentBlockIndex: Swift.Int? + /// Start information about a content block start event. + /// This member is required. + public var start: BedrockRuntimeClientTypes.ContentBlockStart? - static func urlPathProvider(_ value: ConverseInput) -> Swift.String? { - guard let modelId = value.modelId else { - return nil + public init( + contentBlockIndex: Swift.Int? = nil, + start: BedrockRuntimeClientTypes.ContentBlockStart? = nil + ) + { + self.contentBlockIndex = contentBlockIndex + self.start = start } - return "/model/\(modelId.urlPercentEncoding())/converse" } + } -extension ConverseStreamInput { +extension BedrockRuntimeClientTypes { + /// A content block stop event. + public struct ContentBlockStopEvent { + /// The index for a content block. + /// This member is required. + public var contentBlockIndex: Swift.Int? - static func urlPathProvider(_ value: ConverseStreamInput) -> Swift.String? { - guard let modelId = value.modelId else { - return nil + public init( + contentBlockIndex: Swift.Int? = nil + ) + { + self.contentBlockIndex = contentBlockIndex } - return "/model/\(modelId.urlPercentEncoding())/converse-stream" } + } -extension InvokeModelInput { +extension BedrockRuntimeClientTypes { + /// The start of a message. + public struct MessageStartEvent { + /// The role for the message. + /// This member is required. + public var role: BedrockRuntimeClientTypes.ConversationRole? - static func urlPathProvider(_ value: InvokeModelInput) -> Swift.String? { - guard let modelId = value.modelId else { - return nil + public init( + role: BedrockRuntimeClientTypes.ConversationRole? = nil + ) + { + self.role = role } - return "/model/\(modelId.urlPercentEncoding())/invoke" } + } -extension InvokeModelInput { +extension BedrockRuntimeClientTypes { + /// The stop event for a message. + public struct MessageStopEvent { + /// The additional model response fields. + public var additionalModelResponseFields: SmithyReadWrite.Document? + /// The reason why the model stopped generating output. + /// This member is required. + public var stopReason: BedrockRuntimeClientTypes.StopReason? - static func headerProvider(_ value: InvokeModelInput) -> SmithyHTTPAPI.Headers { - var items = SmithyHTTPAPI.Headers() - if let accept = value.accept { - items.add(SmithyHTTPAPI.Header(name: "Accept", value: Swift.String(accept))) - } - if let contentType = value.contentType { - items.add(SmithyHTTPAPI.Header(name: "Content-Type", value: Swift.String(contentType))) - } - if let guardrailIdentifier = value.guardrailIdentifier { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailIdentifier", value: Swift.String(guardrailIdentifier))) - } - if let guardrailVersion = value.guardrailVersion { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailVersion", value: Swift.String(guardrailVersion))) - } - if let trace = value.trace { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-Trace", value: Swift.String(trace.rawValue))) + public init( + additionalModelResponseFields: SmithyReadWrite.Document? = nil, + stopReason: BedrockRuntimeClientTypes.StopReason? = nil + ) + { + self.additionalModelResponseFields = additionalModelResponseFields + self.stopReason = stopReason } - return items } + } -extension InvokeModelWithResponseStreamInput { +extension BedrockRuntimeClientTypes { + /// Metrics for the stream. + public struct ConverseStreamMetrics { + /// The latency for the streaming request, in milliseconds. + /// This member is required. + public var latencyMs: Swift.Int? - static func urlPathProvider(_ value: InvokeModelWithResponseStreamInput) -> Swift.String? { - guard let modelId = value.modelId else { - return nil + public init( + latencyMs: Swift.Int? = nil + ) + { + self.latencyMs = latencyMs } - return "/model/\(modelId.urlPercentEncoding())/invoke-with-response-stream" } + } -extension InvokeModelWithResponseStreamInput { +extension BedrockRuntimeClientTypes { + /// The trace object in a response from [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). Currently, you can only trace guardrails. + public struct ConverseStreamTrace { + /// The guardrail trace object. + public var guardrail: BedrockRuntimeClientTypes.GuardrailTraceAssessment? - static func headerProvider(_ value: InvokeModelWithResponseStreamInput) -> SmithyHTTPAPI.Headers { - var items = SmithyHTTPAPI.Headers() - if let accept = value.accept { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-Accept", value: Swift.String(accept))) - } - if let contentType = value.contentType { - items.add(SmithyHTTPAPI.Header(name: "Content-Type", value: Swift.String(contentType))) - } - if let guardrailIdentifier = value.guardrailIdentifier { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailIdentifier", value: Swift.String(guardrailIdentifier))) - } - if let guardrailVersion = value.guardrailVersion { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailVersion", value: Swift.String(guardrailVersion))) + public init( + guardrail: BedrockRuntimeClientTypes.GuardrailTraceAssessment? = nil + ) + { + self.guardrail = guardrail } - if let trace = value.trace { - items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-Trace", value: Swift.String(trace.rawValue))) + } + +} + +extension BedrockRuntimeClientTypes { + /// A conversation stream metadata event. + public struct ConverseStreamMetadataEvent { + /// The metrics for the conversation stream metadata event. + /// This member is required. + public var metrics: BedrockRuntimeClientTypes.ConverseStreamMetrics? + /// The trace object in the response from [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) that contains information about the guardrail behavior. + public var trace: BedrockRuntimeClientTypes.ConverseStreamTrace? + /// Usage information for the conversation stream event. + /// This member is required. + public var usage: BedrockRuntimeClientTypes.TokenUsage? + + public init( + metrics: BedrockRuntimeClientTypes.ConverseStreamMetrics? = nil, + trace: BedrockRuntimeClientTypes.ConverseStreamTrace? = nil, + usage: BedrockRuntimeClientTypes.TokenUsage? = nil + ) + { + self.metrics = metrics + self.trace = trace + self.usage = usage } - return items } + } -extension ConverseInput { +/// An error occurred while streaming the response. Retry your request. +public struct ModelStreamErrorException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - static func write(value: ConverseInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["additionalModelRequestFields"].write(value.additionalModelRequestFields) - try writer["additionalModelResponseFieldPaths"].writeList(value.additionalModelResponseFieldPaths, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["guardrailConfig"].write(value.guardrailConfig, with: BedrockRuntimeClientTypes.GuardrailConfiguration.write(value:to:)) - try writer["inferenceConfig"].write(value.inferenceConfig, with: BedrockRuntimeClientTypes.InferenceConfiguration.write(value:to:)) - try writer["messages"].writeList(value.messages, memberWritingClosure: BedrockRuntimeClientTypes.Message.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["system"].writeList(value.system, memberWritingClosure: BedrockRuntimeClientTypes.SystemContentBlock.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["toolConfig"].write(value.toolConfig, with: BedrockRuntimeClientTypes.ToolConfiguration.write(value:to:)) + public struct Properties { + public internal(set) var message: Swift.String? = nil + /// The original message. + public internal(set) var originalMessage: Swift.String? = nil + /// The original status code. + public internal(set) var originalStatusCode: Swift.Int? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ModelStreamErrorException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + originalMessage: Swift.String? = nil, + originalStatusCode: Swift.Int? = nil + ) + { + self.properties.message = message + self.properties.originalMessage = originalMessage + self.properties.originalStatusCode = originalStatusCode } } -extension ConverseStreamInput { +extension BedrockRuntimeClientTypes { + /// The messages output stream + public enum ConverseStreamOutput { + /// Message start information. + case messagestart(BedrockRuntimeClientTypes.MessageStartEvent) + /// Start information for a content block. + case contentblockstart(BedrockRuntimeClientTypes.ContentBlockStartEvent) + /// The messages output content block delta. + case contentblockdelta(BedrockRuntimeClientTypes.ContentBlockDeltaEvent) + /// Stop information for a content block. + case contentblockstop(BedrockRuntimeClientTypes.ContentBlockStopEvent) + /// Message stop information. + case messagestop(BedrockRuntimeClientTypes.MessageStopEvent) + /// Metadata for the converse output stream. + case metadata(BedrockRuntimeClientTypes.ConverseStreamMetadataEvent) + case sdkUnknown(Swift.String) + } - static func write(value: ConverseStreamInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["additionalModelRequestFields"].write(value.additionalModelRequestFields) - try writer["additionalModelResponseFieldPaths"].writeList(value.additionalModelResponseFieldPaths, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["guardrailConfig"].write(value.guardrailConfig, with: BedrockRuntimeClientTypes.GuardrailStreamConfiguration.write(value:to:)) - try writer["inferenceConfig"].write(value.inferenceConfig, with: BedrockRuntimeClientTypes.InferenceConfiguration.write(value:to:)) - try writer["messages"].writeList(value.messages, memberWritingClosure: BedrockRuntimeClientTypes.Message.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["system"].writeList(value.system, memberWritingClosure: BedrockRuntimeClientTypes.SystemContentBlock.write(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["toolConfig"].write(value.toolConfig, with: BedrockRuntimeClientTypes.ToolConfiguration.write(value:to:)) +} + +public struct ConverseStreamOutput { + /// The output stream that the model generated. + public var stream: AsyncThrowingStream? + + public init( + stream: AsyncThrowingStream? = nil + ) + { + self.stream = stream } } -extension InvokeModelInput { +extension BedrockRuntimeClientTypes { - static func write(value: InvokeModelInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["body"].write(value.body) + public enum Trace: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [Trace] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } } } -extension InvokeModelWithResponseStreamInput { +public struct InvokeModelInput { + /// The desired MIME type of the inference body in the response. The default value is application/json. + public var accept: Swift.String? + /// The prompt and inference parameters in the format specified in the contentType in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). For more information, see [Run inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. + /// This member is required. + public var body: Foundation.Data? + /// The MIME type of the input data in the request. You must specify application/json. + public var contentType: Swift.String? + /// The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error will be thrown in the following situations. + /// + /// * You don't provide a guardrail identifier but you specify the amazon-bedrock-guardrailConfig field in the request body. + /// + /// * You enable the guardrail but the contentType isn't application/json. + /// + /// * You provide a guardrail identifier, but guardrailVersion isn't specified. + public var guardrailIdentifier: Swift.String? + /// The version number for the guardrail. The value can also be DRAFT. + public var guardrailVersion: Swift.String? + /// The unique identifier of the model to invoke to run inference. The modelId to provide depends on the type of model that you use: + /// + /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. + /// + /// * If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see [Run inference using a Provisioned Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. + /// + /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var modelId: Swift.String? + /// Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace. + public var trace: BedrockRuntimeClientTypes.Trace? - static func write(value: InvokeModelWithResponseStreamInput?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["body"].write(value.body) + public init( + accept: Swift.String? = nil, + body: Foundation.Data? = nil, + contentType: Swift.String? = nil, + guardrailIdentifier: Swift.String? = nil, + guardrailVersion: Swift.String? = nil, + modelId: Swift.String? = nil, + trace: BedrockRuntimeClientTypes.Trace? = nil + ) + { + self.accept = accept + self.body = body + self.contentType = contentType + self.guardrailIdentifier = guardrailIdentifier + self.guardrailVersion = guardrailVersion + self.modelId = modelId + self.trace = trace } } -extension ConverseOutput { +extension InvokeModelInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InvokeModelInput(accept: \(Swift.String(describing: accept)), contentType: \(Swift.String(describing: contentType)), guardrailIdentifier: \(Swift.String(describing: guardrailIdentifier)), guardrailVersion: \(Swift.String(describing: guardrailVersion)), modelId: \(Swift.String(describing: modelId)), trace: \(Swift.String(describing: trace)), body: \"CONTENT_REDACTED\")"} +} - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConverseOutput { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let reader = responseReader - var value = ConverseOutput() - value.additionalModelResponseFields = try reader["additionalModelResponseFields"].readIfPresent() - value.metrics = try reader["metrics"].readIfPresent(with: BedrockRuntimeClientTypes.ConverseMetrics.read(from:)) - value.output = try reader["output"].readIfPresent(with: BedrockRuntimeClientTypes.ConverseOutput.read(from:)) - value.stopReason = try reader["stopReason"].readIfPresent() - value.trace = try reader["trace"].readIfPresent(with: BedrockRuntimeClientTypes.ConverseTrace.read(from:)) - value.usage = try reader["usage"].readIfPresent(with: BedrockRuntimeClientTypes.TokenUsage.read(from:)) - return value +public struct InvokeModelOutput { + /// Inference response from the model in the format specified in the contentType header. To see the format and content of the request and response bodies for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + /// This member is required. + public var body: Foundation.Data? + /// The MIME type of the inference result. + /// This member is required. + public var contentType: Swift.String? + + public init( + body: Foundation.Data? = nil, + contentType: Swift.String? = nil + ) + { + self.body = body + self.contentType = contentType } } -extension ConverseStreamOutput { +extension InvokeModelOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InvokeModelOutput(contentType: \(Swift.String(describing: contentType)), body: \"CONTENT_REDACTED\")"} +} - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConverseStreamOutput { - var value = ConverseStreamOutput() - if case .stream(let stream) = httpResponse.body { - let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() - let decoderStream = SmithyEventStreams.DefaultMessageDecoderStream(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: BedrockRuntimeClientTypes.ConverseStreamOutput.unmarshal) - value.stream = decoderStream.toAsyncStream() +public struct InvokeModelWithResponseStreamInput { + /// The desired MIME type of the inference body in the response. The default value is application/json. + public var accept: Swift.String? + /// The prompt and inference parameters in the format specified in the contentType in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). For more information, see [Run inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. + /// This member is required. + public var body: Foundation.Data? + /// The MIME type of the input data in the request. You must specify application/json. + public var contentType: Swift.String? + /// The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error is thrown in the following situations. + /// + /// * You don't provide a guardrail identifier but you specify the amazon-bedrock-guardrailConfig field in the request body. + /// + /// * You enable the guardrail but the contentType isn't application/json. + /// + /// * You provide a guardrail identifier, but guardrailVersion isn't specified. + public var guardrailIdentifier: Swift.String? + /// The version number for the guardrail. The value can also be DRAFT. + public var guardrailVersion: Swift.String? + /// The unique identifier of the model to invoke to run inference. The modelId to provide depends on the type of model that you use: + /// + /// * If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see [Amazon Bedrock base model IDs (on-demand throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. + /// + /// * If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see [Run inference using a Provisioned Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. + /// + /// * If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see [Use a custom model in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. + /// This member is required. + public var modelId: Swift.String? + /// Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace. + public var trace: BedrockRuntimeClientTypes.Trace? + + public init( + accept: Swift.String? = nil, + body: Foundation.Data? = nil, + contentType: Swift.String? = nil, + guardrailIdentifier: Swift.String? = nil, + guardrailVersion: Swift.String? = nil, + modelId: Swift.String? = nil, + trace: BedrockRuntimeClientTypes.Trace? = nil + ) + { + self.accept = accept + self.body = body + self.contentType = contentType + self.guardrailIdentifier = guardrailIdentifier + self.guardrailVersion = guardrailVersion + self.modelId = modelId + self.trace = trace + } +} + +extension InvokeModelWithResponseStreamInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InvokeModelWithResponseStreamInput(accept: \(Swift.String(describing: accept)), contentType: \(Swift.String(describing: contentType)), guardrailIdentifier: \(Swift.String(describing: guardrailIdentifier)), guardrailVersion: \(Swift.String(describing: guardrailVersion)), modelId: \(Swift.String(describing: modelId)), trace: \(Swift.String(describing: trace)), body: \"CONTENT_REDACTED\")"} +} + +extension BedrockRuntimeClientTypes { + /// Payload content included in the response. + public struct PayloadPart { + /// Base64-encoded bytes of payload data. + public var bytes: Foundation.Data? + + public init( + bytes: Foundation.Data? = nil + ) + { + self.bytes = bytes + } + } + +} + +extension BedrockRuntimeClientTypes.PayloadPart: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockRuntimeClientTypes { + /// Definition of content in the response stream. + public enum ResponseStream { + /// Content included in the response. + case chunk(BedrockRuntimeClientTypes.PayloadPart) + case sdkUnknown(Swift.String) + } + +} + +public struct InvokeModelWithResponseStreamOutput { + /// Inference response from the model in the format specified by the contentType header. To see the format and content of this field for different models, refer to [Inference parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + /// This member is required. + public var body: AsyncThrowingStream? + /// The MIME type of the inference result. + /// This member is required. + public var contentType: Swift.String? + + public init( + body: AsyncThrowingStream? = nil, + contentType: Swift.String? = nil + ) + { + self.body = body + self.contentType = contentType + } +} + +extension ApplyGuardrailInput { + + static func urlPathProvider(_ value: ApplyGuardrailInput) -> Swift.String? { + guard let guardrailIdentifier = value.guardrailIdentifier else { + return nil + } + guard let guardrailVersion = value.guardrailVersion else { + return nil + } + return "/guardrail/\(guardrailIdentifier.urlPercentEncoding())/version/\(guardrailVersion.urlPercentEncoding())/apply" + } +} + +extension ConverseInput { + + static func urlPathProvider(_ value: ConverseInput) -> Swift.String? { + guard let modelId = value.modelId else { + return nil + } + return "/model/\(modelId.urlPercentEncoding())/converse" + } +} + +extension ConverseStreamInput { + + static func urlPathProvider(_ value: ConverseStreamInput) -> Swift.String? { + guard let modelId = value.modelId else { + return nil + } + return "/model/\(modelId.urlPercentEncoding())/converse-stream" + } +} + +extension InvokeModelInput { + + static func urlPathProvider(_ value: InvokeModelInput) -> Swift.String? { + guard let modelId = value.modelId else { + return nil + } + return "/model/\(modelId.urlPercentEncoding())/invoke" + } +} + +extension InvokeModelInput { + + static func headerProvider(_ value: InvokeModelInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let accept = value.accept { + items.add(SmithyHTTPAPI.Header(name: "Accept", value: Swift.String(accept))) + } + if let contentType = value.contentType { + items.add(SmithyHTTPAPI.Header(name: "Content-Type", value: Swift.String(contentType))) + } + if let guardrailIdentifier = value.guardrailIdentifier { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailIdentifier", value: Swift.String(guardrailIdentifier))) + } + if let guardrailVersion = value.guardrailVersion { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailVersion", value: Swift.String(guardrailVersion))) + } + if let trace = value.trace { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-Trace", value: Swift.String(trace.rawValue))) + } + return items + } +} + +extension InvokeModelWithResponseStreamInput { + + static func urlPathProvider(_ value: InvokeModelWithResponseStreamInput) -> Swift.String? { + guard let modelId = value.modelId else { + return nil + } + return "/model/\(modelId.urlPercentEncoding())/invoke-with-response-stream" + } +} + +extension InvokeModelWithResponseStreamInput { + + static func headerProvider(_ value: InvokeModelWithResponseStreamInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let accept = value.accept { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-Accept", value: Swift.String(accept))) + } + if let contentType = value.contentType { + items.add(SmithyHTTPAPI.Header(name: "Content-Type", value: Swift.String(contentType))) + } + if let guardrailIdentifier = value.guardrailIdentifier { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailIdentifier", value: Swift.String(guardrailIdentifier))) + } + if let guardrailVersion = value.guardrailVersion { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-GuardrailVersion", value: Swift.String(guardrailVersion))) + } + if let trace = value.trace { + items.add(SmithyHTTPAPI.Header(name: "X-Amzn-Bedrock-Trace", value: Swift.String(trace.rawValue))) + } + return items + } +} + +extension ApplyGuardrailInput { + + static func write(value: ApplyGuardrailInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["content"].writeList(value.content, memberWritingClosure: BedrockRuntimeClientTypes.GuardrailContentBlock.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["source"].write(value.source) + } +} + +extension ConverseInput { + + static func write(value: ConverseInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["additionalModelRequestFields"].write(value.additionalModelRequestFields) + try writer["additionalModelResponseFieldPaths"].writeList(value.additionalModelResponseFieldPaths, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["guardrailConfig"].write(value.guardrailConfig, with: BedrockRuntimeClientTypes.GuardrailConfiguration.write(value:to:)) + try writer["inferenceConfig"].write(value.inferenceConfig, with: BedrockRuntimeClientTypes.InferenceConfiguration.write(value:to:)) + try writer["messages"].writeList(value.messages, memberWritingClosure: BedrockRuntimeClientTypes.Message.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["system"].writeList(value.system, memberWritingClosure: BedrockRuntimeClientTypes.SystemContentBlock.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["toolConfig"].write(value.toolConfig, with: BedrockRuntimeClientTypes.ToolConfiguration.write(value:to:)) + } +} + +extension ConverseStreamInput { + + static func write(value: ConverseStreamInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["additionalModelRequestFields"].write(value.additionalModelRequestFields) + try writer["additionalModelResponseFieldPaths"].writeList(value.additionalModelResponseFieldPaths, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["guardrailConfig"].write(value.guardrailConfig, with: BedrockRuntimeClientTypes.GuardrailStreamConfiguration.write(value:to:)) + try writer["inferenceConfig"].write(value.inferenceConfig, with: BedrockRuntimeClientTypes.InferenceConfiguration.write(value:to:)) + try writer["messages"].writeList(value.messages, memberWritingClosure: BedrockRuntimeClientTypes.Message.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["system"].writeList(value.system, memberWritingClosure: BedrockRuntimeClientTypes.SystemContentBlock.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["toolConfig"].write(value.toolConfig, with: BedrockRuntimeClientTypes.ToolConfiguration.write(value:to:)) + } +} + +extension InvokeModelInput { + + static func write(value: InvokeModelInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["body"].write(value.body) + } +} + +extension InvokeModelWithResponseStreamInput { + + static func write(value: InvokeModelWithResponseStreamInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["body"].write(value.body) + } +} + +extension ApplyGuardrailOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyGuardrailOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ApplyGuardrailOutput() + value.action = try reader["action"].readIfPresent() + value.assessments = try reader["assessments"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailAssessment.read(from:), memberNodeInfo: "member", isFlattened: false) + value.outputs = try reader["outputs"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailOutputContent.read(from:), memberNodeInfo: "member", isFlattened: false) + value.usage = try reader["usage"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailUsage.read(from:)) + return value + } +} + +extension ConverseOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConverseOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ConverseOutput() + value.additionalModelResponseFields = try reader["additionalModelResponseFields"].readIfPresent() + value.metrics = try reader["metrics"].readIfPresent(with: BedrockRuntimeClientTypes.ConverseMetrics.read(from:)) + value.output = try reader["output"].readIfPresent(with: BedrockRuntimeClientTypes.ConverseOutput.read(from:)) + value.stopReason = try reader["stopReason"].readIfPresent() + value.trace = try reader["trace"].readIfPresent(with: BedrockRuntimeClientTypes.ConverseTrace.read(from:)) + value.usage = try reader["usage"].readIfPresent(with: BedrockRuntimeClientTypes.TokenUsage.read(from:)) + return value + } +} + +extension ConverseStreamOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConverseStreamOutput { + var value = ConverseStreamOutput() + if case .stream(let stream) = httpResponse.body { + let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() + let decoderStream = SmithyEventStreams.DefaultMessageDecoderStream(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: BedrockRuntimeClientTypes.ConverseStreamOutput.unmarshal) + value.stream = decoderStream.toAsyncStream() + } + return value + } +} + +extension InvokeModelOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeModelOutput { + var value = InvokeModelOutput() + if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { + value.contentType = contentTypeHeaderValue + } + switch httpResponse.body { + case .data(let data): + value.body = data + case .stream(let stream): + value.body = try stream.readToEnd() + case .noStream: + value.body = nil + } + return value + } +} + +extension InvokeModelWithResponseStreamOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeModelWithResponseStreamOutput { + var value = InvokeModelWithResponseStreamOutput() + if let contentTypeHeaderValue = httpResponse.headers.value(for: "X-Amzn-Bedrock-Content-Type") { + value.contentType = contentTypeHeaderValue + } + if case .stream(let stream) = httpResponse.body { + let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() + let decoderStream = SmithyEventStreams.DefaultMessageDecoderStream(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: BedrockRuntimeClientTypes.ResponseStream.unmarshal) + value.body = decoderStream.toAsyncStream() + } + return value + } +} + +enum ApplyGuardrailOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ConverseOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) + case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) + case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ConverseStreamOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) + case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) + case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum InvokeModelOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) + case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) + case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum InvokeModelWithResponseStreamOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) + case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) + case "ModelStreamErrorException": return try ModelStreamErrorException.makeError(baseError: baseError) + case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +extension AccessDeniedException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { + let reader = baseError.errorBodyReader + var value = AccessDeniedException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ResourceNotFoundException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { + let reader = baseError.errorBodyReader + var value = ResourceNotFoundException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ThrottlingException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { + let reader = baseError.errorBodyReader + var value = ThrottlingException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InternalServerException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { + let reader = baseError.errorBodyReader + var value = InternalServerException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ValidationException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { + let reader = baseError.errorBodyReader + var value = ValidationException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ServiceQuotaExceededException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { + let reader = baseError.errorBodyReader + var value = ServiceQuotaExceededException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ModelTimeoutException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelTimeoutException { + let reader = baseError.errorBodyReader + var value = ModelTimeoutException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ModelNotReadyException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelNotReadyException { + let reader = baseError.errorBodyReader + var value = ModelNotReadyException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ModelErrorException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelErrorException { + let reader = baseError.errorBodyReader + var value = ModelErrorException() + value.properties.message = try reader["message"].readIfPresent() + value.properties.originalStatusCode = try reader["originalStatusCode"].readIfPresent() + value.properties.resourceName = try reader["resourceName"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ModelStreamErrorException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelStreamErrorException { + let reader = baseError.errorBodyReader + var value = ModelStreamErrorException() + value.properties.message = try reader["message"].readIfPresent() + value.properties.originalMessage = try reader["originalMessage"].readIfPresent() + value.properties.originalStatusCode = try reader["originalStatusCode"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension BedrockRuntimeClientTypes.ConverseStreamOutput { + static var unmarshal: SmithyEventStreamsAPI.UnmarshalClosure { + { message in + switch try message.type() { + case .event(let params): + switch params.eventType { + case "messageStart": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.MessageStartEvent.read(from:)) + return .messagestart(value) + case "contentBlockStart": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ContentBlockStartEvent.read(from:)) + return .contentblockstart(value) + case "contentBlockDelta": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ContentBlockDeltaEvent.read(from:)) + return .contentblockdelta(value) + case "contentBlockStop": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ContentBlockStopEvent.read(from:)) + return .contentblockstop(value) + case "messageStop": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.MessageStopEvent.read(from:)) + return .messagestop(value) + case "metadata": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ConverseStreamMetadataEvent.read(from:)) + return .metadata(value) + default: + return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") + } + case .exception(let params): + let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in + switch params.exceptionType { + case "internalServerException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalServerException.read(from:)) + return value + case "modelStreamErrorException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ModelStreamErrorException.read(from:)) + return value + case "validationException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ValidationException.read(from:)) + return value + case "throttlingException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ThrottlingException.read(from:)) + return value + default: + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) + } + } + let error = try makeError(message, params) + throw error + case .error(let params): + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) + case .unknown(messageType: let messageType): + throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") + } + } + } +} + +extension BedrockRuntimeClientTypes.ResponseStream { + static var unmarshal: SmithyEventStreamsAPI.UnmarshalClosure { + { message in + switch try message.type() { + case .event(let params): + switch params.eventType { + case "chunk": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.PayloadPart.read(from:)) + return .chunk(value) + default: + return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") + } + case .exception(let params): + let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in + switch params.exceptionType { + case "internalServerException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalServerException.read(from:)) + return value + case "modelStreamErrorException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ModelStreamErrorException.read(from:)) + return value + case "validationException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ValidationException.read(from:)) + return value + case "throttlingException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ThrottlingException.read(from:)) + return value + case "modelTimeoutException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ModelTimeoutException.read(from:)) + return value + default: + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) + } + } + let error = try makeError(message, params) + throw error + case .error(let params): + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) + case .unknown(messageType: let messageType): + throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") + } } - return value } } -extension InvokeModelOutput { +extension BedrockRuntimeClientTypes.GuardrailUsage { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeModelOutput { - var value = InvokeModelOutput() - if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { - value.contentType = contentTypeHeaderValue - } - switch httpResponse.body { - case .data(let data): - value.body = data - case .stream(let stream): - value.body = try stream.readToEnd() - case .noStream: - value.body = nil - } + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailUsage { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailUsage() + value.topicPolicyUnits = try reader["topicPolicyUnits"].readIfPresent() + value.contentPolicyUnits = try reader["contentPolicyUnits"].readIfPresent() + value.wordPolicyUnits = try reader["wordPolicyUnits"].readIfPresent() + value.sensitiveInformationPolicyUnits = try reader["sensitiveInformationPolicyUnits"].readIfPresent() + value.sensitiveInformationPolicyFreeUnits = try reader["sensitiveInformationPolicyFreeUnits"].readIfPresent() + value.contextualGroundingPolicyUnits = try reader["contextualGroundingPolicyUnits"].readIfPresent() return value } } -extension InvokeModelWithResponseStreamOutput { +extension BedrockRuntimeClientTypes.GuardrailOutputContent { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeModelWithResponseStreamOutput { - var value = InvokeModelWithResponseStreamOutput() - if let contentTypeHeaderValue = httpResponse.headers.value(for: "X-Amzn-Bedrock-Content-Type") { - value.contentType = contentTypeHeaderValue - } - if case .stream(let stream) = httpResponse.body { - let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() - let decoderStream = SmithyEventStreams.DefaultMessageDecoderStream(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: BedrockRuntimeClientTypes.ResponseStream.unmarshal) - value.body = decoderStream.toAsyncStream() - } + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailOutputContent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailOutputContent() + value.text = try reader["text"].readIfPresent() return value } } -enum ConverseOutputError { - - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) - case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) - case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } - } -} - -enum ConverseStreamOutputError { - - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) - case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) - case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } - } -} - -enum InvokeModelOutputError { - - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) - case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) - case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } - } -} - -enum InvokeModelWithResponseStreamOutputError { +extension BedrockRuntimeClientTypes.GuardrailAssessment { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { - let data = try await httpResponse.data() - let responseReader = try SmithyJSON.Reader.from(data: data) - let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) - if let error = baseError.customError() { return error } - switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) - case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) - case "ModelErrorException": return try ModelErrorException.makeError(baseError: baseError) - case "ModelNotReadyException": return try ModelNotReadyException.makeError(baseError: baseError) - case "ModelStreamErrorException": return try ModelStreamErrorException.makeError(baseError: baseError) - case "ModelTimeoutException": return try ModelTimeoutException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) - case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) - case "ValidationException": return try ValidationException.makeError(baseError: baseError) - default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) - } + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailAssessment { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailAssessment() + value.topicPolicy = try reader["topicPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment.read(from:)) + value.contentPolicy = try reader["contentPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment.read(from:)) + value.wordPolicy = try reader["wordPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment.read(from:)) + value.sensitiveInformationPolicy = try reader["sensitiveInformationPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment.read(from:)) + value.contextualGroundingPolicy = try reader["contextualGroundingPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAssessment.read(from:)) + return value } } -extension ModelTimeoutException { +extension BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAssessment { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelTimeoutException { - let reader = baseError.errorBodyReader - var value = ModelTimeoutException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAssessment { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailContextualGroundingPolicyAssessment() + value.filters = try reader["filters"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailContextualGroundingFilter.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension AccessDeniedException { +extension BedrockRuntimeClientTypes.GuardrailContextualGroundingFilter { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { - let reader = baseError.errorBodyReader - var value = AccessDeniedException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailContextualGroundingFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailContextualGroundingFilter() + value.type = try reader["type"].readIfPresent() + value.threshold = try reader["threshold"].readIfPresent() + value.score = try reader["score"].readIfPresent() + value.action = try reader["action"].readIfPresent() return value } } -extension ResourceNotFoundException { +extension BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { - let reader = baseError.errorBodyReader - var value = ResourceNotFoundException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment() + value.piiEntities = try reader["piiEntities"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailPiiEntityFilter.read(from:), memberNodeInfo: "member", isFlattened: false) + value.regexes = try reader["regexes"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailRegexFilter.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension ThrottlingException { +extension BedrockRuntimeClientTypes.GuardrailRegexFilter { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { - let reader = baseError.errorBodyReader - var value = ThrottlingException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailRegexFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailRegexFilter() + value.name = try reader["name"].readIfPresent() + value.match = try reader["match"].readIfPresent() + value.regex = try reader["regex"].readIfPresent() + value.action = try reader["action"].readIfPresent() return value } } -extension InternalServerException { +extension BedrockRuntimeClientTypes.GuardrailPiiEntityFilter { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { - let reader = baseError.errorBodyReader - var value = InternalServerException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailPiiEntityFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailPiiEntityFilter() + value.match = try reader["match"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.action = try reader["action"].readIfPresent() return value } } -extension ValidationException { +extension BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { - let reader = baseError.errorBodyReader - var value = ValidationException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment() + value.customWords = try reader["customWords"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailCustomWord.read(from:), memberNodeInfo: "member", isFlattened: false) + value.managedWordLists = try reader["managedWordLists"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailManagedWord.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension ModelNotReadyException { +extension BedrockRuntimeClientTypes.GuardrailManagedWord { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelNotReadyException { - let reader = baseError.errorBodyReader - var value = ModelNotReadyException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailManagedWord { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailManagedWord() + value.match = try reader["match"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.action = try reader["action"].readIfPresent() return value } } -extension ModelErrorException { +extension BedrockRuntimeClientTypes.GuardrailCustomWord { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelErrorException { - let reader = baseError.errorBodyReader - var value = ModelErrorException() - value.properties.message = try reader["message"].readIfPresent() - value.properties.originalStatusCode = try reader["originalStatusCode"].readIfPresent() - value.properties.resourceName = try reader["resourceName"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailCustomWord { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailCustomWord() + value.match = try reader["match"].readIfPresent() + value.action = try reader["action"].readIfPresent() return value } } -extension ServiceQuotaExceededException { +extension BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { - let reader = baseError.errorBodyReader - var value = ServiceQuotaExceededException() - value.properties.message = try reader["message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment() + value.filters = try reader["filters"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailContentFilter.read(from:), memberNodeInfo: "member", isFlattened: false) return value } } -extension ModelStreamErrorException { +extension BedrockRuntimeClientTypes.GuardrailContentFilter { - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ModelStreamErrorException { - let reader = baseError.errorBodyReader - var value = ModelStreamErrorException() - value.properties.message = try reader["message"].readIfPresent() - value.properties.originalMessage = try reader["originalMessage"].readIfPresent() - value.properties.originalStatusCode = try reader["originalStatusCode"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailContentFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailContentFilter() + value.type = try reader["type"].readIfPresent() + value.confidence = try reader["confidence"].readIfPresent() + value.action = try reader["action"].readIfPresent() return value } } -extension BedrockRuntimeClientTypes.ConverseStreamOutput { - static var unmarshal: SmithyEventStreamsAPI.UnmarshalClosure { - { message in - switch try message.type() { - case .event(let params): - switch params.eventType { - case "messageStart": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.MessageStartEvent.read(from:)) - return .messagestart(value) - case "contentBlockStart": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ContentBlockStartEvent.read(from:)) - return .contentblockstart(value) - case "contentBlockDelta": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ContentBlockDeltaEvent.read(from:)) - return .contentblockdelta(value) - case "contentBlockStop": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ContentBlockStopEvent.read(from:)) - return .contentblockstop(value) - case "messageStop": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.MessageStopEvent.read(from:)) - return .messagestop(value) - case "metadata": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.ConverseStreamMetadataEvent.read(from:)) - return .metadata(value) - default: - return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") - } - case .exception(let params): - let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in - switch params.exceptionType { - case "internalServerException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalServerException.read(from:)) - return value - case "modelStreamErrorException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ModelStreamErrorException.read(from:)) - return value - case "validationException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ValidationException.read(from:)) - return value - case "throttlingException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ThrottlingException.read(from:)) - return value - default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) - return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) - } - } - let error = try makeError(message, params) - throw error - case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) - throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) - case .unknown(messageType: let messageType): - throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") - } - } +extension BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment() + value.topics = try reader["topics"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailTopic.read(from:), memberNodeInfo: "member", isFlattened: false) + return value } } -extension BedrockRuntimeClientTypes.ResponseStream { - static var unmarshal: SmithyEventStreamsAPI.UnmarshalClosure { - { message in - switch try message.type() { - case .event(let params): - switch params.eventType { - case "chunk": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockRuntimeClientTypes.PayloadPart.read(from:)) - return .chunk(value) - default: - return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") - } - case .exception(let params): - let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in - switch params.exceptionType { - case "internalServerException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalServerException.read(from:)) - return value - case "modelStreamErrorException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ModelStreamErrorException.read(from:)) - return value - case "validationException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ValidationException.read(from:)) - return value - case "throttlingException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ThrottlingException.read(from:)) - return value - case "modelTimeoutException": - let value = try SmithyJSON.Reader.readFrom(message.payload, with: ModelTimeoutException.read(from:)) - return value - default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) - return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) - } - } - let error = try makeError(message, params) - throw error - case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) - throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) - case .unknown(messageType: let messageType): - throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") - } - } +extension BedrockRuntimeClientTypes.GuardrailTopic { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailTopic { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockRuntimeClientTypes.GuardrailTopic() + value.name = try reader["name"].readIfPresent() + value.type = try reader["type"].readIfPresent() + value.action = try reader["action"].readIfPresent() + return value } } @@ -2878,6 +3514,7 @@ extension BedrockRuntimeClientTypes.GuardrailConverseTextBlock { static func write(value: BedrockRuntimeClientTypes.GuardrailConverseTextBlock?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["qualifiers"].writeList(value.qualifiers, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["text"].write(value.text) } @@ -2885,6 +3522,7 @@ extension BedrockRuntimeClientTypes.GuardrailConverseTextBlock { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = BedrockRuntimeClientTypes.GuardrailConverseTextBlock() value.text = try reader["text"].readIfPresent() + value.qualifiers = try reader["qualifiers"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) return value } } @@ -3091,133 +3729,6 @@ extension BedrockRuntimeClientTypes.GuardrailTraceAssessment { } } -extension BedrockRuntimeClientTypes.GuardrailAssessment { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailAssessment { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailAssessment() - value.topicPolicy = try reader["topicPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment.read(from:)) - value.contentPolicy = try reader["contentPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment.read(from:)) - value.wordPolicy = try reader["wordPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment.read(from:)) - value.sensitiveInformationPolicy = try reader["sensitiveInformationPolicy"].readIfPresent(with: BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment.read(from:)) - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailSensitiveInformationPolicyAssessment() - value.piiEntities = try reader["piiEntities"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailPiiEntityFilter.read(from:), memberNodeInfo: "member", isFlattened: false) - value.regexes = try reader["regexes"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailRegexFilter.read(from:), memberNodeInfo: "member", isFlattened: false) - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailRegexFilter { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailRegexFilter { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailRegexFilter() - value.name = try reader["name"].readIfPresent() - value.match = try reader["match"].readIfPresent() - value.regex = try reader["regex"].readIfPresent() - value.action = try reader["action"].readIfPresent() - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailPiiEntityFilter { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailPiiEntityFilter { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailPiiEntityFilter() - value.match = try reader["match"].readIfPresent() - value.type = try reader["type"].readIfPresent() - value.action = try reader["action"].readIfPresent() - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailWordPolicyAssessment() - value.customWords = try reader["customWords"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailCustomWord.read(from:), memberNodeInfo: "member", isFlattened: false) - value.managedWordLists = try reader["managedWordLists"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailManagedWord.read(from:), memberNodeInfo: "member", isFlattened: false) - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailManagedWord { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailManagedWord { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailManagedWord() - value.match = try reader["match"].readIfPresent() - value.type = try reader["type"].readIfPresent() - value.action = try reader["action"].readIfPresent() - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailCustomWord { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailCustomWord { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailCustomWord() - value.match = try reader["match"].readIfPresent() - value.action = try reader["action"].readIfPresent() - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailContentPolicyAssessment() - value.filters = try reader["filters"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailContentFilter.read(from:), memberNodeInfo: "member", isFlattened: false) - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailContentFilter { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailContentFilter { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailContentFilter() - value.type = try reader["type"].readIfPresent() - value.confidence = try reader["confidence"].readIfPresent() - value.action = try reader["action"].readIfPresent() - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailTopicPolicyAssessment() - value.topics = try reader["topics"].readListIfPresent(memberReadingClosure: BedrockRuntimeClientTypes.GuardrailTopic.read(from:), memberNodeInfo: "member", isFlattened: false) - return value - } -} - -extension BedrockRuntimeClientTypes.GuardrailTopic { - - static func read(from reader: SmithyJSON.Reader) throws -> BedrockRuntimeClientTypes.GuardrailTopic { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = BedrockRuntimeClientTypes.GuardrailTopic() - value.name = try reader["name"].readIfPresent() - value.type = try reader["type"].readIfPresent() - value.action = try reader["action"].readIfPresent() - return value - } -} - extension ThrottlingException { static func read(from reader: SmithyJSON.Reader) throws -> ThrottlingException { @@ -3416,6 +3927,28 @@ extension BedrockRuntimeClientTypes.PayloadPart { } } +extension BedrockRuntimeClientTypes.GuardrailContentBlock { + + static func write(value: BedrockRuntimeClientTypes.GuardrailContentBlock?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .text(text): + try writer["text"].write(text, with: BedrockRuntimeClientTypes.GuardrailTextBlock.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension BedrockRuntimeClientTypes.GuardrailTextBlock { + + static func write(value: BedrockRuntimeClientTypes.GuardrailTextBlock?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["qualifiers"].writeList(value.qualifiers, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["text"].write(value.text) + } +} + extension BedrockRuntimeClientTypes.SystemContentBlock { static func write(value: BedrockRuntimeClientTypes.SystemContentBlock?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/Models.swift b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/Models.swift index 067195af71c..8f3c8c36261 100644 --- a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/Models.swift +++ b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -164,7 +164,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -197,7 +197,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -230,7 +230,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +269,7 @@ public struct ServiceLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -304,7 +304,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -560,7 +560,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1579,6 +1579,11 @@ extension BillingconductorClientTypes { } +extension BillingconductorClientTypes.ListCustomLineItemsFilter: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListCustomLineItemsFilter(accountIds: \(Swift.String(describing: accountIds)), arns: \(Swift.String(describing: arns)), billingGroups: \(Swift.String(describing: billingGroups)), names: \"CONTENT_REDACTED\")"} +} + public struct ListCustomLineItemsInput { /// The preferred billing period to get custom line items (FFLIs). public var billingPeriod: Swift.String? @@ -4015,7 +4020,7 @@ extension UpdatePricingRuleInput { extension AssociateAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4027,7 +4032,7 @@ extension AssociateAccountsOutput { extension AssociatePricingRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePricingRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePricingRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4039,7 +4044,7 @@ extension AssociatePricingRulesOutput { extension BatchAssociateResourcesToCustomLineItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateResourcesToCustomLineItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateResourcesToCustomLineItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4052,7 +4057,7 @@ extension BatchAssociateResourcesToCustomLineItemOutput { extension BatchDisassociateResourcesFromCustomLineItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateResourcesFromCustomLineItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateResourcesFromCustomLineItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4065,7 +4070,7 @@ extension BatchDisassociateResourcesFromCustomLineItemOutput { extension CreateBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4077,7 +4082,7 @@ extension CreateBillingGroupOutput { extension CreateCustomLineItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomLineItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomLineItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4089,7 +4094,7 @@ extension CreateCustomLineItemOutput { extension CreatePricingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePricingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePricingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4101,7 +4106,7 @@ extension CreatePricingPlanOutput { extension CreatePricingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePricingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePricingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4113,7 +4118,7 @@ extension CreatePricingRuleOutput { extension DeleteBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4125,7 +4130,7 @@ extension DeleteBillingGroupOutput { extension DeleteCustomLineItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomLineItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomLineItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4137,7 +4142,7 @@ extension DeleteCustomLineItemOutput { extension DeletePricingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePricingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePricingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4149,7 +4154,7 @@ extension DeletePricingPlanOutput { extension DeletePricingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePricingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePricingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4161,7 +4166,7 @@ extension DeletePricingRuleOutput { extension DisassociateAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4173,7 +4178,7 @@ extension DisassociateAccountsOutput { extension DisassociatePricingRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePricingRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePricingRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4185,7 +4190,7 @@ extension DisassociatePricingRulesOutput { extension GetBillingGroupCostReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBillingGroupCostReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBillingGroupCostReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4198,7 +4203,7 @@ extension GetBillingGroupCostReportOutput { extension ListAccountAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4211,7 +4216,7 @@ extension ListAccountAssociationsOutput { extension ListBillingGroupCostReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBillingGroupCostReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBillingGroupCostReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4224,7 +4229,7 @@ extension ListBillingGroupCostReportsOutput { extension ListBillingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBillingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBillingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4237,7 +4242,7 @@ extension ListBillingGroupsOutput { extension ListCustomLineItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomLineItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomLineItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4250,7 +4255,7 @@ extension ListCustomLineItemsOutput { extension ListCustomLineItemVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomLineItemVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomLineItemVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4263,7 +4268,7 @@ extension ListCustomLineItemVersionsOutput { extension ListPricingPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPricingPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPricingPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4277,7 +4282,7 @@ extension ListPricingPlansOutput { extension ListPricingPlansAssociatedWithPricingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPricingPlansAssociatedWithPricingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPricingPlansAssociatedWithPricingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4292,7 +4297,7 @@ extension ListPricingPlansAssociatedWithPricingRuleOutput { extension ListPricingRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPricingRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPricingRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4306,7 +4311,7 @@ extension ListPricingRulesOutput { extension ListPricingRulesAssociatedToPricingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPricingRulesAssociatedToPricingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPricingRulesAssociatedToPricingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4321,7 +4326,7 @@ extension ListPricingRulesAssociatedToPricingPlanOutput { extension ListResourcesAssociatedToCustomLineItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesAssociatedToCustomLineItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesAssociatedToCustomLineItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4335,7 +4340,7 @@ extension ListResourcesAssociatedToCustomLineItemOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4347,21 +4352,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4382,7 +4387,7 @@ extension UpdateBillingGroupOutput { extension UpdateCustomLineItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomLineItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomLineItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4400,7 +4405,7 @@ extension UpdateCustomLineItemOutput { extension UpdatePricingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePricingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePricingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4416,7 +4421,7 @@ extension UpdatePricingPlanOutput { extension UpdatePricingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePricingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePricingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4440,7 +4445,7 @@ extension UpdatePricingRuleOutput { enum AssociateAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4460,7 +4465,7 @@ enum AssociateAccountsOutputError { enum AssociatePricingRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4480,7 +4485,7 @@ enum AssociatePricingRulesOutputError { enum BatchAssociateResourcesToCustomLineItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4500,7 +4505,7 @@ enum BatchAssociateResourcesToCustomLineItemOutputError { enum BatchDisassociateResourcesFromCustomLineItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4519,7 +4524,7 @@ enum BatchDisassociateResourcesFromCustomLineItemOutputError { enum CreateBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4538,7 +4543,7 @@ enum CreateBillingGroupOutputError { enum CreateCustomLineItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4557,7 +4562,7 @@ enum CreateCustomLineItemOutputError { enum CreatePricingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4577,7 +4582,7 @@ enum CreatePricingPlanOutputError { enum CreatePricingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4596,7 +4601,7 @@ enum CreatePricingRuleOutputError { enum DeleteBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4613,7 +4618,7 @@ enum DeleteBillingGroupOutputError { enum DeleteCustomLineItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4631,7 +4636,7 @@ enum DeleteCustomLineItemOutputError { enum DeletePricingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4649,7 +4654,7 @@ enum DeletePricingPlanOutputError { enum DeletePricingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4667,7 +4672,7 @@ enum DeletePricingRuleOutputError { enum DisassociateAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4686,7 +4691,7 @@ enum DisassociateAccountsOutputError { enum DisassociatePricingRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4705,7 +4710,7 @@ enum DisassociatePricingRulesOutputError { enum GetBillingGroupCostReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4723,7 +4728,7 @@ enum GetBillingGroupCostReportOutputError { enum ListAccountAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4741,7 +4746,7 @@ enum ListAccountAssociationsOutputError { enum ListBillingGroupCostReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4759,7 +4764,7 @@ enum ListBillingGroupCostReportsOutputError { enum ListBillingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4777,7 +4782,7 @@ enum ListBillingGroupsOutputError { enum ListCustomLineItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4795,7 +4800,7 @@ enum ListCustomLineItemsOutputError { enum ListCustomLineItemVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4812,7 +4817,7 @@ enum ListCustomLineItemVersionsOutputError { enum ListPricingPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4829,7 +4834,7 @@ enum ListPricingPlansOutputError { enum ListPricingPlansAssociatedWithPricingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4847,7 +4852,7 @@ enum ListPricingPlansAssociatedWithPricingRuleOutputError { enum ListPricingRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4864,7 +4869,7 @@ enum ListPricingRulesOutputError { enum ListPricingRulesAssociatedToPricingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4882,7 +4887,7 @@ enum ListPricingRulesAssociatedToPricingPlanOutputError { enum ListResourcesAssociatedToCustomLineItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4900,7 +4905,7 @@ enum ListResourcesAssociatedToCustomLineItemOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4918,7 +4923,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4936,7 +4941,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4954,7 +4959,7 @@ enum UntagResourceOutputError { enum UpdateBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4973,7 +4978,7 @@ enum UpdateBillingGroupOutputError { enum UpdateCustomLineItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4991,7 +4996,7 @@ enum UpdateCustomLineItemOutputError { enum UpdatePricingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5010,7 +5015,7 @@ enum UpdatePricingPlanOutputError { enum UpdatePricingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSBraket/Sources/AWSBraket/Models.swift b/Sources/Services/AWSBraket/Sources/AWSBraket/Models.swift index 8d9848a8229..6fecb8a24d2 100644 --- a/Sources/Services/AWSBraket/Sources/AWSBraket/Models.swift +++ b/Sources/Services/AWSBraket/Sources/AWSBraket/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -199,7 +199,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -223,7 +223,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -247,7 +247,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -271,7 +271,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -592,7 +592,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -676,7 +676,7 @@ public struct DeviceOfflineException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -700,7 +700,7 @@ public struct DeviceRetiredException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -724,7 +724,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2333,7 +2333,7 @@ extension TagResourceInput { extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2346,7 +2346,7 @@ extension CancelJobOutput { extension CancelQuantumTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelQuantumTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelQuantumTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2359,7 +2359,7 @@ extension CancelQuantumTaskOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2371,7 +2371,7 @@ extension CreateJobOutput { extension CreateQuantumTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQuantumTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQuantumTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2383,7 +2383,7 @@ extension CreateQuantumTaskOutput { extension GetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2401,7 +2401,7 @@ extension GetDeviceOutput { extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2433,7 +2433,7 @@ extension GetJobOutput { extension GetQuantumTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQuantumTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQuantumTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2458,7 +2458,7 @@ extension GetQuantumTaskOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2470,7 +2470,7 @@ extension ListTagsForResourceOutput { extension SearchDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2483,7 +2483,7 @@ extension SearchDevicesOutput { extension SearchJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2496,7 +2496,7 @@ extension SearchJobsOutput { extension SearchQuantumTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchQuantumTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchQuantumTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2509,21 +2509,21 @@ extension SearchQuantumTasksOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2542,7 +2542,7 @@ enum CancelJobOutputError { enum CancelQuantumTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2561,7 +2561,7 @@ enum CancelQuantumTaskOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2582,7 +2582,7 @@ enum CreateJobOutputError { enum CreateQuantumTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2602,7 +2602,7 @@ enum CreateQuantumTaskOutputError { enum GetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2620,7 +2620,7 @@ enum GetDeviceOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2638,7 +2638,7 @@ enum GetJobOutputError { enum GetQuantumTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2656,7 +2656,7 @@ enum GetQuantumTaskOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2672,7 +2672,7 @@ enum ListTagsForResourceOutputError { enum SearchDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2689,7 +2689,7 @@ enum SearchDevicesOutputError { enum SearchJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2706,7 +2706,7 @@ enum SearchJobsOutputError { enum SearchQuantumTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2723,7 +2723,7 @@ enum SearchQuantumTasksOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2739,7 +2739,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSBudgets/Sources/AWSBudgets/Models.swift b/Sources/Services/AWSBudgets/Sources/AWSBudgets/Models.swift index 87bfc4062a2..86acf391b54 100644 --- a/Sources/Services/AWSBudgets/Sources/AWSBudgets/Models.swift +++ b/Sources/Services/AWSBudgets/Sources/AWSBudgets/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -686,7 +686,7 @@ public struct CreationLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -711,7 +711,7 @@ public struct DuplicateRecordException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -736,7 +736,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -761,7 +761,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -786,7 +786,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -811,7 +811,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1295,7 +1295,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1495,7 +1495,7 @@ public struct ResourceLockedException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1709,7 +1709,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1867,7 +1867,7 @@ public struct ExpiredNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2978,14 +2978,14 @@ extension UpdateSubscriberInput { extension CreateBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBudgetOutput { return CreateBudgetOutput() } } extension CreateBudgetActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBudgetActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBudgetActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2999,28 +2999,28 @@ extension CreateBudgetActionOutput { extension CreateNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNotificationOutput { return CreateNotificationOutput() } } extension CreateSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriberOutput { return CreateSubscriberOutput() } } extension DeleteBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBudgetOutput { return DeleteBudgetOutput() } } extension DeleteBudgetActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBudgetActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBudgetActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3034,21 +3034,21 @@ extension DeleteBudgetActionOutput { extension DeleteNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotificationOutput { return DeleteNotificationOutput() } } extension DeleteSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriberOutput { return DeleteSubscriberOutput() } } extension DescribeBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3060,7 +3060,7 @@ extension DescribeBudgetOutput { extension DescribeBudgetActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3074,7 +3074,7 @@ extension DescribeBudgetActionOutput { extension DescribeBudgetActionHistoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetActionHistoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetActionHistoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3087,7 +3087,7 @@ extension DescribeBudgetActionHistoriesOutput { extension DescribeBudgetActionsForAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetActionsForAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetActionsForAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3100,7 +3100,7 @@ extension DescribeBudgetActionsForAccountOutput { extension DescribeBudgetActionsForBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetActionsForBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetActionsForBudgetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3113,7 +3113,7 @@ extension DescribeBudgetActionsForBudgetOutput { extension DescribeBudgetNotificationsForAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetNotificationsForAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetNotificationsForAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3126,7 +3126,7 @@ extension DescribeBudgetNotificationsForAccountOutput { extension DescribeBudgetPerformanceHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetPerformanceHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetPerformanceHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3139,7 +3139,7 @@ extension DescribeBudgetPerformanceHistoryOutput { extension DescribeBudgetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBudgetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBudgetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3152,7 +3152,7 @@ extension DescribeBudgetsOutput { extension DescribeNotificationsForBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotificationsForBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotificationsForBudgetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3165,7 +3165,7 @@ extension DescribeNotificationsForBudgetOutput { extension DescribeSubscribersForNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubscribersForNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubscribersForNotificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3178,7 +3178,7 @@ extension DescribeSubscribersForNotificationOutput { extension ExecuteBudgetActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteBudgetActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteBudgetActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3193,7 +3193,7 @@ extension ExecuteBudgetActionOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3205,28 +3205,28 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBudgetOutput { return UpdateBudgetOutput() } } extension UpdateBudgetActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBudgetActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBudgetActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3241,21 +3241,21 @@ extension UpdateBudgetActionOutput { extension UpdateNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotificationOutput { return UpdateNotificationOutput() } } extension UpdateSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriberOutput { return UpdateSubscriberOutput() } } enum CreateBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3275,7 +3275,7 @@ enum CreateBudgetOutputError { enum CreateBudgetActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3296,7 +3296,7 @@ enum CreateBudgetActionOutputError { enum CreateNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3316,7 +3316,7 @@ enum CreateNotificationOutputError { enum CreateSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3336,7 +3336,7 @@ enum CreateSubscriberOutputError { enum DeleteBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3354,7 +3354,7 @@ enum DeleteBudgetOutputError { enum DeleteBudgetActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3373,7 +3373,7 @@ enum DeleteBudgetActionOutputError { enum DeleteNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3391,7 +3391,7 @@ enum DeleteNotificationOutputError { enum DeleteSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3409,7 +3409,7 @@ enum DeleteSubscriberOutputError { enum DescribeBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3427,7 +3427,7 @@ enum DescribeBudgetOutputError { enum DescribeBudgetActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3445,7 +3445,7 @@ enum DescribeBudgetActionOutputError { enum DescribeBudgetActionHistoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3464,7 +3464,7 @@ enum DescribeBudgetActionHistoriesOutputError { enum DescribeBudgetActionsForAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3482,7 @@ enum DescribeBudgetActionsForAccountOutputError { enum DescribeBudgetActionsForBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3501,7 +3501,7 @@ enum DescribeBudgetActionsForBudgetOutputError { enum DescribeBudgetNotificationsForAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3521,7 +3521,7 @@ enum DescribeBudgetNotificationsForAccountOutputError { enum DescribeBudgetPerformanceHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3541,7 +3541,7 @@ enum DescribeBudgetPerformanceHistoryOutputError { enum DescribeBudgetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3561,7 +3561,7 @@ enum DescribeBudgetsOutputError { enum DescribeNotificationsForBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3581,7 +3581,7 @@ enum DescribeNotificationsForBudgetOutputError { enum DescribeSubscribersForNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3601,7 +3601,7 @@ enum DescribeSubscribersForNotificationOutputError { enum ExecuteBudgetActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3620,7 +3620,7 @@ enum ExecuteBudgetActionOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3638,7 +3638,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3657,7 +3657,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3675,7 +3675,7 @@ enum UntagResourceOutputError { enum UpdateBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3693,7 +3693,7 @@ enum UpdateBudgetOutputError { enum UpdateBudgetActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3712,7 +3712,7 @@ enum UpdateBudgetActionOutputError { enum UpdateNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3731,7 +3731,7 @@ enum UpdateNotificationOutputError { enum UpdateSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSChatbot/Sources/AWSChatbot/Models.swift b/Sources/Services/AWSChatbot/Sources/AWSChatbot/Models.swift index 669fd04183f..5b4c794e09c 100644 --- a/Sources/Services/AWSChatbot/Sources/AWSChatbot/Models.swift +++ b/Sources/Services/AWSChatbot/Sources/AWSChatbot/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -144,7 +144,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -168,7 +168,7 @@ public struct CreateChimeWebhookConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -216,7 +216,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -240,7 +240,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -317,7 +317,7 @@ public struct CreateTeamsChannelConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -484,7 +484,7 @@ public struct CreateSlackChannelConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -639,7 +639,7 @@ public struct DeleteChimeWebhookConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -663,7 +663,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -705,7 +705,7 @@ public struct DeleteTeamsChannelConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -747,7 +747,7 @@ public struct DeleteTeamsConfiguredTeamException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -789,7 +789,7 @@ public struct DeleteMicrosoftTeamsUserIdentityException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -836,7 +836,7 @@ public struct DeleteSlackChannelConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -878,7 +878,7 @@ public struct DeleteSlackUserIdentityException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -930,7 +930,7 @@ public struct DeleteSlackWorkspaceAuthorizationFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -972,7 +972,7 @@ public struct DescribeChimeWebhookConfigurationsException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1032,7 +1032,7 @@ public struct DescribeSlackChannelConfigurationsException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1092,7 +1092,7 @@ public struct DescribeSlackUserIdentitiesException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1188,7 +1188,7 @@ public struct DescribeSlackWorkspacesException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1266,7 +1266,7 @@ public struct GetAccountPreferencesException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1307,7 +1307,7 @@ public struct GetTeamsChannelConfigurationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1356,7 +1356,7 @@ public struct InternalServiceError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1380,7 +1380,7 @@ public struct ListTeamsChannelConfigurationsException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1440,7 +1440,7 @@ public struct ListMicrosoftTeamsConfiguredTeamsException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1496,7 +1496,7 @@ public struct ListMicrosoftTeamsUserIdentitiesException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1599,7 +1599,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1648,7 +1648,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1718,7 +1718,7 @@ public struct UpdateAccountPreferencesException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1770,7 +1770,7 @@ public struct UpdateChimeWebhookConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1839,7 +1839,7 @@ public struct UpdateTeamsChannelConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1917,7 +1917,7 @@ public struct UpdateSlackChannelConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2430,7 +2430,7 @@ extension UpdateSlackChannelConfigurationInput { extension CreateChimeWebhookConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChimeWebhookConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChimeWebhookConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2442,7 +2442,7 @@ extension CreateChimeWebhookConfigurationOutput { extension CreateMicrosoftTeamsChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMicrosoftTeamsChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMicrosoftTeamsChannelConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2454,7 +2454,7 @@ extension CreateMicrosoftTeamsChannelConfigurationOutput { extension CreateSlackChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSlackChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSlackChannelConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2466,56 +2466,56 @@ extension CreateSlackChannelConfigurationOutput { extension DeleteChimeWebhookConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChimeWebhookConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChimeWebhookConfigurationOutput { return DeleteChimeWebhookConfigurationOutput() } } extension DeleteMicrosoftTeamsChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMicrosoftTeamsChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMicrosoftTeamsChannelConfigurationOutput { return DeleteMicrosoftTeamsChannelConfigurationOutput() } } extension DeleteMicrosoftTeamsConfiguredTeamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMicrosoftTeamsConfiguredTeamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMicrosoftTeamsConfiguredTeamOutput { return DeleteMicrosoftTeamsConfiguredTeamOutput() } } extension DeleteMicrosoftTeamsUserIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMicrosoftTeamsUserIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMicrosoftTeamsUserIdentityOutput { return DeleteMicrosoftTeamsUserIdentityOutput() } } extension DeleteSlackChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlackChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlackChannelConfigurationOutput { return DeleteSlackChannelConfigurationOutput() } } extension DeleteSlackUserIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlackUserIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlackUserIdentityOutput { return DeleteSlackUserIdentityOutput() } } extension DeleteSlackWorkspaceAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlackWorkspaceAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlackWorkspaceAuthorizationOutput { return DeleteSlackWorkspaceAuthorizationOutput() } } extension DescribeChimeWebhookConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChimeWebhookConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChimeWebhookConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2528,7 +2528,7 @@ extension DescribeChimeWebhookConfigurationsOutput { extension DescribeSlackChannelConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSlackChannelConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSlackChannelConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2541,7 +2541,7 @@ extension DescribeSlackChannelConfigurationsOutput { extension DescribeSlackUserIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSlackUserIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSlackUserIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2554,7 +2554,7 @@ extension DescribeSlackUserIdentitiesOutput { extension DescribeSlackWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSlackWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSlackWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2567,7 +2567,7 @@ extension DescribeSlackWorkspacesOutput { extension GetAccountPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2579,7 +2579,7 @@ extension GetAccountPreferencesOutput { extension GetMicrosoftTeamsChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMicrosoftTeamsChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMicrosoftTeamsChannelConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2591,7 +2591,7 @@ extension GetMicrosoftTeamsChannelConfigurationOutput { extension ListMicrosoftTeamsChannelConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMicrosoftTeamsChannelConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMicrosoftTeamsChannelConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2604,7 +2604,7 @@ extension ListMicrosoftTeamsChannelConfigurationsOutput { extension ListMicrosoftTeamsConfiguredTeamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMicrosoftTeamsConfiguredTeamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMicrosoftTeamsConfiguredTeamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2617,7 +2617,7 @@ extension ListMicrosoftTeamsConfiguredTeamsOutput { extension ListMicrosoftTeamsUserIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMicrosoftTeamsUserIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMicrosoftTeamsUserIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2630,7 +2630,7 @@ extension ListMicrosoftTeamsUserIdentitiesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2642,21 +2642,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2668,7 +2668,7 @@ extension UpdateAccountPreferencesOutput { extension UpdateChimeWebhookConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChimeWebhookConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChimeWebhookConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2680,7 +2680,7 @@ extension UpdateChimeWebhookConfigurationOutput { extension UpdateMicrosoftTeamsChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMicrosoftTeamsChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMicrosoftTeamsChannelConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2692,7 +2692,7 @@ extension UpdateMicrosoftTeamsChannelConfigurationOutput { extension UpdateSlackChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSlackChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSlackChannelConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2704,7 +2704,7 @@ extension UpdateSlackChannelConfigurationOutput { enum CreateChimeWebhookConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2722,7 +2722,7 @@ enum CreateChimeWebhookConfigurationOutputError { enum CreateMicrosoftTeamsChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2740,7 +2740,7 @@ enum CreateMicrosoftTeamsChannelConfigurationOutputError { enum CreateSlackChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2758,7 +2758,7 @@ enum CreateSlackChannelConfigurationOutputError { enum DeleteChimeWebhookConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2775,7 +2775,7 @@ enum DeleteChimeWebhookConfigurationOutputError { enum DeleteMicrosoftTeamsChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2792,7 +2792,7 @@ enum DeleteMicrosoftTeamsChannelConfigurationOutputError { enum DeleteMicrosoftTeamsConfiguredTeamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2807,7 +2807,7 @@ enum DeleteMicrosoftTeamsConfiguredTeamOutputError { enum DeleteMicrosoftTeamsUserIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2823,7 +2823,7 @@ enum DeleteMicrosoftTeamsUserIdentityOutputError { enum DeleteSlackChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2840,7 +2840,7 @@ enum DeleteSlackChannelConfigurationOutputError { enum DeleteSlackUserIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2856,7 +2856,7 @@ enum DeleteSlackUserIdentityOutputError { enum DeleteSlackWorkspaceAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2871,7 +2871,7 @@ enum DeleteSlackWorkspaceAuthorizationOutputError { enum DescribeChimeWebhookConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2887,7 +2887,7 @@ enum DescribeChimeWebhookConfigurationsOutputError { enum DescribeSlackChannelConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2903,7 +2903,7 @@ enum DescribeSlackChannelConfigurationsOutputError { enum DescribeSlackUserIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2919,7 +2919,7 @@ enum DescribeSlackUserIdentitiesOutputError { enum DescribeSlackWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2935,7 +2935,7 @@ enum DescribeSlackWorkspacesOutputError { enum GetAccountPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2950,7 +2950,7 @@ enum GetAccountPreferencesOutputError { enum GetMicrosoftTeamsChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2966,7 +2966,7 @@ enum GetMicrosoftTeamsChannelConfigurationOutputError { enum ListMicrosoftTeamsChannelConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2982,7 +2982,7 @@ enum ListMicrosoftTeamsChannelConfigurationsOutputError { enum ListMicrosoftTeamsConfiguredTeamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2998,7 +2998,7 @@ enum ListMicrosoftTeamsConfiguredTeamsOutputError { enum ListMicrosoftTeamsUserIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3014,7 +3014,7 @@ enum ListMicrosoftTeamsUserIdentitiesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3047,7 +3047,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3063,7 +3063,7 @@ enum UntagResourceOutputError { enum UpdateAccountPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3079,7 +3079,7 @@ enum UpdateAccountPreferencesOutputError { enum UpdateChimeWebhookConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3096,7 +3096,7 @@ enum UpdateChimeWebhookConfigurationOutputError { enum UpdateMicrosoftTeamsChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3113,7 +3113,7 @@ enum UpdateMicrosoftTeamsChannelConfigurationOutputError { enum UpdateSlackChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSChime/Sources/AWSChime/Models.swift b/Sources/Services/AWSChime/Sources/AWSChime/Models.swift index a12d90900b9..73b080a350f 100644 --- a/Sources/Services/AWSChime/Sources/AWSChime/Models.swift +++ b/Sources/Services/AWSChime/Sources/AWSChime/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -304,7 +304,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1129,7 +1129,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1156,7 +1156,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1183,7 +1183,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1210,7 +1210,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1237,7 +1237,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1264,7 +1264,7 @@ public struct ThrottledClientException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1291,7 +1291,7 @@ public struct UnauthorizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1327,6 +1327,11 @@ public struct AssociatePhoneNumbersWithVoiceConnectorInput { } } +extension AssociatePhoneNumbersWithVoiceConnectorInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AssociatePhoneNumbersWithVoiceConnectorInput(forceAssociate: \(Swift.String(describing: forceAssociate)), voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + extension ChimeClientTypes { /// If the phone number action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public struct PhoneNumberError { @@ -1385,6 +1390,11 @@ public struct AssociatePhoneNumbersWithVoiceConnectorGroupInput { } } +extension AssociatePhoneNumbersWithVoiceConnectorGroupInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AssociatePhoneNumbersWithVoiceConnectorGroupInput(forceAssociate: \(Swift.String(describing: forceAssociate)), voiceConnectorGroupId: \(Swift.String(describing: voiceConnectorGroupId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct AssociatePhoneNumbersWithVoiceConnectorGroupOutput { /// If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public var phoneNumberErrors: [ChimeClientTypes.PhoneNumberError]? @@ -1550,7 +1560,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2835,6 +2845,11 @@ extension ChimeClientTypes { } +extension ChimeClientTypes.SelectedVideoStreams: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SelectedVideoStreams(attendeeIds: \(Swift.String(describing: attendeeIds)), externalUserIds: \"CONTENT_REDACTED\")"} +} + extension ChimeClientTypes { /// Source configuration for a specified media capture pipeline. public struct SourceConfiguration { @@ -2884,7 +2899,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3799,6 +3814,11 @@ public struct CreatePhoneNumberOrderInput { } } +extension CreatePhoneNumberOrderInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreatePhoneNumberOrderInput(productType: \(Swift.String(describing: productType)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + extension ChimeClientTypes { public enum OrderedPhoneNumberStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -4064,7 +4084,7 @@ public struct CreateProxySessionInput { extension CreateProxySessionInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateProxySessionInput(capabilities: \(Swift.String(describing: capabilities)), expiryMinutes: \(Swift.String(describing: expiryMinutes)), geoMatchLevel: \(Swift.String(describing: geoMatchLevel)), geoMatchParams: \(Swift.String(describing: geoMatchParams)), numberSelectionBehavior: \(Swift.String(describing: numberSelectionBehavior)), participantPhoneNumbers: \(Swift.String(describing: participantPhoneNumbers)), voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), name: \"CONTENT_REDACTED\")"} + "CreateProxySessionInput(capabilities: \(Swift.String(describing: capabilities)), expiryMinutes: \(Swift.String(describing: expiryMinutes)), geoMatchLevel: \(Swift.String(describing: geoMatchLevel)), geoMatchParams: \(Swift.String(describing: geoMatchParams)), numberSelectionBehavior: \(Swift.String(describing: numberSelectionBehavior)), voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), name: \"CONTENT_REDACTED\", participantPhoneNumbers: \"CONTENT_REDACTED\")"} } extension ChimeClientTypes { @@ -4541,7 +4561,7 @@ public struct CreateSipMediaApplicationCallInput { extension CreateSipMediaApplicationCallInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateSipMediaApplicationCallInput(sipHeaders: \(Swift.String(describing: sipHeaders)), sipMediaApplicationId: \(Swift.String(describing: sipMediaApplicationId)), fromPhoneNumber: \"CONTENT_REDACTED\", toPhoneNumber: \"CONTENT_REDACTED\")"} + "CreateSipMediaApplicationCallInput(sipMediaApplicationId: \(Swift.String(describing: sipMediaApplicationId)), fromPhoneNumber: \"CONTENT_REDACTED\", sipHeaders: \"CONTENT_REDACTED\", toPhoneNumber: \"CONTENT_REDACTED\")"} } extension ChimeClientTypes { @@ -5121,7 +5141,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5584,6 +5604,11 @@ public struct DeleteVoiceConnectorTerminationCredentialsInput { } } +extension DeleteVoiceConnectorTerminationCredentialsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DeleteVoiceConnectorTerminationCredentialsInput(voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), usernames: \"CONTENT_REDACTED\")"} +} + public struct DescribeAppInstanceInput { /// The ARN of the AppInstance. /// This member is required. @@ -5904,6 +5929,11 @@ public struct DisassociatePhoneNumbersFromVoiceConnectorInput { } } +extension DisassociatePhoneNumbersFromVoiceConnectorInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DisassociatePhoneNumbersFromVoiceConnectorInput(voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct DisassociatePhoneNumbersFromVoiceConnectorOutput { /// If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public var phoneNumberErrors: [ChimeClientTypes.PhoneNumberError]? @@ -5934,6 +5964,11 @@ public struct DisassociatePhoneNumbersFromVoiceConnectorGroupInput { } } +extension DisassociatePhoneNumbersFromVoiceConnectorGroupInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DisassociatePhoneNumbersFromVoiceConnectorGroupInput(voiceConnectorGroupId: \(Swift.String(describing: voiceConnectorGroupId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { /// If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public var phoneNumberErrors: [ChimeClientTypes.PhoneNumberError]? @@ -8120,6 +8155,11 @@ public struct InviteUsersInput { } } +extension InviteUsersInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InviteUsersInput(accountId: \(Swift.String(describing: accountId)), userType: \(Swift.String(describing: userType)), userEmailList: \"CONTENT_REDACTED\")"} +} + public struct InviteUsersOutput { /// The email invitation details. public var invites: [ChimeClientTypes.Invite]? @@ -9420,6 +9460,11 @@ public struct ListVoiceConnectorTerminationCredentialsOutput { } } +extension ListVoiceConnectorTerminationCredentialsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListVoiceConnectorTerminationCredentialsOutput(usernames: \"CONTENT_REDACTED\")"} +} + public struct LogoutUserInput { /// The Amazon Chime account ID. /// This member is required. @@ -10063,6 +10108,11 @@ public struct SearchAvailablePhoneNumbersOutput { } } +extension SearchAvailablePhoneNumbersOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SearchAvailablePhoneNumbersOutput(nextToken: \(Swift.String(describing: nextToken)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct SendChannelMessageInput { /// The ARN of the channel. /// This member is required. @@ -10273,6 +10323,11 @@ public struct UntagAttendeeInput { } } +extension UntagAttendeeInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagAttendeeInput(attendeeId: \(Swift.String(describing: attendeeId)), meetingId: \(Swift.String(describing: meetingId)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagMeetingInput { /// The Amazon Chime SDK meeting ID. /// This member is required. @@ -10291,6 +10346,11 @@ public struct UntagMeetingInput { } } +extension UntagMeetingInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagMeetingInput(meetingId: \(Swift.String(describing: meetingId)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagResourceInput { /// The resource ARN. /// This member is required. @@ -10311,7 +10371,7 @@ public struct UntagResourceInput { extension UntagResourceInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UntagResourceInput(tagKeys: \(Swift.String(describing: tagKeys)), resourceARN: \"CONTENT_REDACTED\")"} + "UntagResourceInput(resourceARN: \"CONTENT_REDACTED\", tagKeys: \"CONTENT_REDACTED\")"} } public struct UpdateAccountInput { @@ -10855,6 +10915,11 @@ public struct UpdateSipMediaApplicationCallInput { } } +extension UpdateSipMediaApplicationCallInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateSipMediaApplicationCallInput(sipMediaApplicationId: \(Swift.String(describing: sipMediaApplicationId)), transactionId: \(Swift.String(describing: transactionId)), arguments: \"CONTENT_REDACTED\")"} +} + public struct UpdateSipMediaApplicationCallOutput { /// A Call instance for a SIP media application. public var sipMediaApplicationCall: ChimeClientTypes.SipMediaApplicationCall? @@ -15022,7 +15087,7 @@ extension ValidateE911AddressInput { extension AssociatePhoneNumbersWithVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15034,7 +15099,7 @@ extension AssociatePhoneNumbersWithVoiceConnectorOutput { extension AssociatePhoneNumbersWithVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15046,21 +15111,21 @@ extension AssociatePhoneNumbersWithVoiceConnectorGroupOutput { extension AssociatePhoneNumberWithUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePhoneNumberWithUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePhoneNumberWithUserOutput { return AssociatePhoneNumberWithUserOutput() } } extension AssociateSigninDelegateGroupsWithAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSigninDelegateGroupsWithAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSigninDelegateGroupsWithAccountOutput { return AssociateSigninDelegateGroupsWithAccountOutput() } } extension BatchCreateAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateAttendeeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15073,7 +15138,7 @@ extension BatchCreateAttendeeOutput { extension BatchCreateChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateChannelMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15086,7 +15151,7 @@ extension BatchCreateChannelMembershipOutput { extension BatchCreateRoomMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateRoomMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateRoomMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15098,7 +15163,7 @@ extension BatchCreateRoomMembershipOutput { extension BatchDeletePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeletePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeletePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15110,7 +15175,7 @@ extension BatchDeletePhoneNumberOutput { extension BatchSuspendUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchSuspendUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchSuspendUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15122,7 +15187,7 @@ extension BatchSuspendUserOutput { extension BatchUnsuspendUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUnsuspendUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUnsuspendUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15134,7 +15199,7 @@ extension BatchUnsuspendUserOutput { extension BatchUpdatePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdatePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdatePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15146,7 +15211,7 @@ extension BatchUpdatePhoneNumberOutput { extension BatchUpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15158,7 +15223,7 @@ extension BatchUpdateUserOutput { extension CreateAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15170,7 +15235,7 @@ extension CreateAccountOutput { extension CreateAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15182,7 +15247,7 @@ extension CreateAppInstanceOutput { extension CreateAppInstanceAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceAdminOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15195,7 +15260,7 @@ extension CreateAppInstanceAdminOutput { extension CreateAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15207,7 +15272,7 @@ extension CreateAppInstanceUserOutput { extension CreateAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAttendeeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15219,7 +15284,7 @@ extension CreateAttendeeOutput { extension CreateBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15231,7 +15296,7 @@ extension CreateBotOutput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15243,7 +15308,7 @@ extension CreateChannelOutput { extension CreateChannelBanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelBanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelBanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15256,7 +15321,7 @@ extension CreateChannelBanOutput { extension CreateChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15269,7 +15334,7 @@ extension CreateChannelMembershipOutput { extension CreateChannelModeratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelModeratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelModeratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15282,7 +15347,7 @@ extension CreateChannelModeratorOutput { extension CreateMediaCapturePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaCapturePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaCapturePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15294,7 +15359,7 @@ extension CreateMediaCapturePipelineOutput { extension CreateMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMeetingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15306,7 +15371,7 @@ extension CreateMeetingOutput { extension CreateMeetingDialOutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMeetingDialOutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMeetingDialOutOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15318,7 +15383,7 @@ extension CreateMeetingDialOutOutput { extension CreateMeetingWithAttendeesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMeetingWithAttendeesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMeetingWithAttendeesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15332,7 +15397,7 @@ extension CreateMeetingWithAttendeesOutput { extension CreatePhoneNumberOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePhoneNumberOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePhoneNumberOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15344,7 +15409,7 @@ extension CreatePhoneNumberOrderOutput { extension CreateProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProxySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15356,7 +15421,7 @@ extension CreateProxySessionOutput { extension CreateRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15368,7 +15433,7 @@ extension CreateRoomOutput { extension CreateRoomMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoomMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoomMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15380,7 +15445,7 @@ extension CreateRoomMembershipOutput { extension CreateSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSipMediaApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15392,7 +15457,7 @@ extension CreateSipMediaApplicationOutput { extension CreateSipMediaApplicationCallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSipMediaApplicationCallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSipMediaApplicationCallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15404,7 +15469,7 @@ extension CreateSipMediaApplicationCallOutput { extension CreateSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSipRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15416,7 +15481,7 @@ extension CreateSipRuleOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15428,7 +15493,7 @@ extension CreateUserOutput { extension CreateVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15440,7 +15505,7 @@ extension CreateVoiceConnectorOutput { extension CreateVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15452,203 +15517,203 @@ extension CreateVoiceConnectorGroupOutput { extension DeleteAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountOutput { return DeleteAccountOutput() } } extension DeleteAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceOutput { return DeleteAppInstanceOutput() } } extension DeleteAppInstanceAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceAdminOutput { return DeleteAppInstanceAdminOutput() } } extension DeleteAppInstanceStreamingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceStreamingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceStreamingConfigurationsOutput { return DeleteAppInstanceStreamingConfigurationsOutput() } } extension DeleteAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceUserOutput { return DeleteAppInstanceUserOutput() } } extension DeleteAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttendeeOutput { return DeleteAttendeeOutput() } } extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteChannelBanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelBanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelBanOutput { return DeleteChannelBanOutput() } } extension DeleteChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelMembershipOutput { return DeleteChannelMembershipOutput() } } extension DeleteChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelMessageOutput { return DeleteChannelMessageOutput() } } extension DeleteChannelModeratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelModeratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelModeratorOutput { return DeleteChannelModeratorOutput() } } extension DeleteEventsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventsConfigurationOutput { return DeleteEventsConfigurationOutput() } } extension DeleteMediaCapturePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMediaCapturePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMediaCapturePipelineOutput { return DeleteMediaCapturePipelineOutput() } } extension DeleteMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMeetingOutput { return DeleteMeetingOutput() } } extension DeletePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePhoneNumberOutput { return DeletePhoneNumberOutput() } } extension DeleteProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProxySessionOutput { return DeleteProxySessionOutput() } } extension DeleteRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoomOutput { return DeleteRoomOutput() } } extension DeleteRoomMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoomMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoomMembershipOutput { return DeleteRoomMembershipOutput() } } extension DeleteSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSipMediaApplicationOutput { return DeleteSipMediaApplicationOutput() } } extension DeleteSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSipRuleOutput { return DeleteSipRuleOutput() } } extension DeleteVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorOutput { return DeleteVoiceConnectorOutput() } } extension DeleteVoiceConnectorEmergencyCallingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorEmergencyCallingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorEmergencyCallingConfigurationOutput { return DeleteVoiceConnectorEmergencyCallingConfigurationOutput() } } extension DeleteVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorGroupOutput { return DeleteVoiceConnectorGroupOutput() } } extension DeleteVoiceConnectorOriginationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorOriginationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorOriginationOutput { return DeleteVoiceConnectorOriginationOutput() } } extension DeleteVoiceConnectorProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorProxyOutput { return DeleteVoiceConnectorProxyOutput() } } extension DeleteVoiceConnectorStreamingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorStreamingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorStreamingConfigurationOutput { return DeleteVoiceConnectorStreamingConfigurationOutput() } } extension DeleteVoiceConnectorTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorTerminationOutput { return DeleteVoiceConnectorTerminationOutput() } } extension DeleteVoiceConnectorTerminationCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorTerminationCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorTerminationCredentialsOutput { return DeleteVoiceConnectorTerminationCredentialsOutput() } } extension DescribeAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15660,7 +15725,7 @@ extension DescribeAppInstanceOutput { extension DescribeAppInstanceAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceAdminOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15672,7 +15737,7 @@ extension DescribeAppInstanceAdminOutput { extension DescribeAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15684,7 +15749,7 @@ extension DescribeAppInstanceUserOutput { extension DescribeChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15696,7 +15761,7 @@ extension DescribeChannelOutput { extension DescribeChannelBanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelBanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelBanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15708,7 +15773,7 @@ extension DescribeChannelBanOutput { extension DescribeChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15720,7 +15785,7 @@ extension DescribeChannelMembershipOutput { extension DescribeChannelMembershipForAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelMembershipForAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelMembershipForAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15732,7 +15797,7 @@ extension DescribeChannelMembershipForAppInstanceUserOutput { extension DescribeChannelModeratedByAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelModeratedByAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelModeratedByAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15744,7 +15809,7 @@ extension DescribeChannelModeratedByAppInstanceUserOutput { extension DescribeChannelModeratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelModeratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelModeratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15756,14 +15821,14 @@ extension DescribeChannelModeratorOutput { extension DisassociatePhoneNumberFromUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePhoneNumberFromUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePhoneNumberFromUserOutput { return DisassociatePhoneNumberFromUserOutput() } } extension DisassociatePhoneNumbersFromVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15775,7 +15840,7 @@ extension DisassociatePhoneNumbersFromVoiceConnectorOutput { extension DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15787,14 +15852,14 @@ extension DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { extension DisassociateSigninDelegateGroupsFromAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateSigninDelegateGroupsFromAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateSigninDelegateGroupsFromAccountOutput { return DisassociateSigninDelegateGroupsFromAccountOutput() } } extension GetAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15806,7 +15871,7 @@ extension GetAccountOutput { extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15818,7 +15883,7 @@ extension GetAccountSettingsOutput { extension GetAppInstanceRetentionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppInstanceRetentionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppInstanceRetentionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15831,7 +15896,7 @@ extension GetAppInstanceRetentionSettingsOutput { extension GetAppInstanceStreamingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppInstanceStreamingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppInstanceStreamingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15843,7 +15908,7 @@ extension GetAppInstanceStreamingConfigurationsOutput { extension GetAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAttendeeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15855,7 +15920,7 @@ extension GetAttendeeOutput { extension GetBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15867,7 +15932,7 @@ extension GetBotOutput { extension GetChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15879,7 +15944,7 @@ extension GetChannelMessageOutput { extension GetEventsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventsConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15891,7 +15956,7 @@ extension GetEventsConfigurationOutput { extension GetGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGlobalSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15904,7 +15969,7 @@ extension GetGlobalSettingsOutput { extension GetMediaCapturePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaCapturePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaCapturePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15916,7 +15981,7 @@ extension GetMediaCapturePipelineOutput { extension GetMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMeetingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15928,7 +15993,7 @@ extension GetMeetingOutput { extension GetMessagingSessionEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMessagingSessionEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMessagingSessionEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15940,7 +16005,7 @@ extension GetMessagingSessionEndpointOutput { extension GetPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15952,7 +16017,7 @@ extension GetPhoneNumberOutput { extension GetPhoneNumberOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPhoneNumberOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPhoneNumberOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15964,7 +16029,7 @@ extension GetPhoneNumberOrderOutput { extension GetPhoneNumberSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPhoneNumberSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPhoneNumberSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15977,7 +16042,7 @@ extension GetPhoneNumberSettingsOutput { extension GetProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProxySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15989,7 +16054,7 @@ extension GetProxySessionOutput { extension GetRetentionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRetentionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRetentionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16002,7 +16067,7 @@ extension GetRetentionSettingsOutput { extension GetRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRoomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16014,7 +16079,7 @@ extension GetRoomOutput { extension GetSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipMediaApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16026,7 +16091,7 @@ extension GetSipMediaApplicationOutput { extension GetSipMediaApplicationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipMediaApplicationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipMediaApplicationLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16038,7 +16103,7 @@ extension GetSipMediaApplicationLoggingConfigurationOutput { extension GetSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16050,7 +16115,7 @@ extension GetSipRuleOutput { extension GetUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16062,7 +16127,7 @@ extension GetUserOutput { extension GetUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16074,7 +16139,7 @@ extension GetUserSettingsOutput { extension GetVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16086,7 +16151,7 @@ extension GetVoiceConnectorOutput { extension GetVoiceConnectorEmergencyCallingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorEmergencyCallingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorEmergencyCallingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16098,7 +16163,7 @@ extension GetVoiceConnectorEmergencyCallingConfigurationOutput { extension GetVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16110,7 +16175,7 @@ extension GetVoiceConnectorGroupOutput { extension GetVoiceConnectorLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16122,7 +16187,7 @@ extension GetVoiceConnectorLoggingConfigurationOutput { extension GetVoiceConnectorOriginationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorOriginationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorOriginationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16134,7 +16199,7 @@ extension GetVoiceConnectorOriginationOutput { extension GetVoiceConnectorProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16146,7 +16211,7 @@ extension GetVoiceConnectorProxyOutput { extension GetVoiceConnectorStreamingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorStreamingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorStreamingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16158,7 +16223,7 @@ extension GetVoiceConnectorStreamingConfigurationOutput { extension GetVoiceConnectorTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorTerminationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16170,7 +16235,7 @@ extension GetVoiceConnectorTerminationOutput { extension GetVoiceConnectorTerminationHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorTerminationHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorTerminationHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16182,7 +16247,7 @@ extension GetVoiceConnectorTerminationHealthOutput { extension InviteUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InviteUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InviteUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16194,7 +16259,7 @@ extension InviteUsersOutput { extension ListAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16207,7 +16272,7 @@ extension ListAccountsOutput { extension ListAppInstanceAdminsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstanceAdminsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstanceAdminsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16221,7 +16286,7 @@ extension ListAppInstanceAdminsOutput { extension ListAppInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16234,7 +16299,7 @@ extension ListAppInstancesOutput { extension ListAppInstanceUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstanceUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstanceUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16248,7 +16313,7 @@ extension ListAppInstanceUsersOutput { extension ListAttendeesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttendeesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttendeesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16261,7 +16326,7 @@ extension ListAttendeesOutput { extension ListAttendeeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttendeeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttendeeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16273,7 +16338,7 @@ extension ListAttendeeTagsOutput { extension ListBotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16286,7 +16351,7 @@ extension ListBotsOutput { extension ListChannelBansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelBansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelBansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16300,7 +16365,7 @@ extension ListChannelBansOutput { extension ListChannelMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16314,7 +16379,7 @@ extension ListChannelMembershipsOutput { extension ListChannelMembershipsForAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelMembershipsForAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelMembershipsForAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16327,7 +16392,7 @@ extension ListChannelMembershipsForAppInstanceUserOutput { extension ListChannelMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16341,7 +16406,7 @@ extension ListChannelMessagesOutput { extension ListChannelModeratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelModeratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelModeratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16355,7 +16420,7 @@ extension ListChannelModeratorsOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16368,7 +16433,7 @@ extension ListChannelsOutput { extension ListChannelsModeratedByAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsModeratedByAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsModeratedByAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16381,7 +16446,7 @@ extension ListChannelsModeratedByAppInstanceUserOutput { extension ListMediaCapturePipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMediaCapturePipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMediaCapturePipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16394,7 +16459,7 @@ extension ListMediaCapturePipelinesOutput { extension ListMeetingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMeetingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMeetingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16407,7 +16472,7 @@ extension ListMeetingsOutput { extension ListMeetingTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMeetingTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMeetingTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16419,7 +16484,7 @@ extension ListMeetingTagsOutput { extension ListPhoneNumberOrdersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumberOrdersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumberOrdersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16432,7 +16497,7 @@ extension ListPhoneNumberOrdersOutput { extension ListPhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16445,7 +16510,7 @@ extension ListPhoneNumbersOutput { extension ListProxySessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProxySessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProxySessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16458,7 +16523,7 @@ extension ListProxySessionsOutput { extension ListRoomMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoomMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoomMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16471,7 +16536,7 @@ extension ListRoomMembershipsOutput { extension ListRoomsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoomsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoomsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16484,7 +16549,7 @@ extension ListRoomsOutput { extension ListSipMediaApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSipMediaApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSipMediaApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16497,7 +16562,7 @@ extension ListSipMediaApplicationsOutput { extension ListSipRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSipRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSipRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16510,7 +16575,7 @@ extension ListSipRulesOutput { extension ListSupportedPhoneNumberCountriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSupportedPhoneNumberCountriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSupportedPhoneNumberCountriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16522,7 +16587,7 @@ extension ListSupportedPhoneNumberCountriesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16534,7 +16599,7 @@ extension ListTagsForResourceOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16547,7 +16612,7 @@ extension ListUsersOutput { extension ListVoiceConnectorGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceConnectorGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceConnectorGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16560,7 +16625,7 @@ extension ListVoiceConnectorGroupsOutput { extension ListVoiceConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16573,7 +16638,7 @@ extension ListVoiceConnectorsOutput { extension ListVoiceConnectorTerminationCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceConnectorTerminationCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceConnectorTerminationCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16585,14 +16650,14 @@ extension ListVoiceConnectorTerminationCredentialsOutput { extension LogoutUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LogoutUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LogoutUserOutput { return LogoutUserOutput() } } extension PutAppInstanceRetentionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppInstanceRetentionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppInstanceRetentionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16605,7 +16670,7 @@ extension PutAppInstanceRetentionSettingsOutput { extension PutAppInstanceStreamingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppInstanceStreamingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppInstanceStreamingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16617,7 +16682,7 @@ extension PutAppInstanceStreamingConfigurationsOutput { extension PutEventsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventsConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16629,7 +16694,7 @@ extension PutEventsConfigurationOutput { extension PutRetentionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRetentionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRetentionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16642,7 +16707,7 @@ extension PutRetentionSettingsOutput { extension PutSipMediaApplicationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSipMediaApplicationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSipMediaApplicationLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16654,7 +16719,7 @@ extension PutSipMediaApplicationLoggingConfigurationOutput { extension PutVoiceConnectorEmergencyCallingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorEmergencyCallingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorEmergencyCallingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16666,7 +16731,7 @@ extension PutVoiceConnectorEmergencyCallingConfigurationOutput { extension PutVoiceConnectorLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16678,7 +16743,7 @@ extension PutVoiceConnectorLoggingConfigurationOutput { extension PutVoiceConnectorOriginationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorOriginationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorOriginationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16690,7 +16755,7 @@ extension PutVoiceConnectorOriginationOutput { extension PutVoiceConnectorProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16702,7 +16767,7 @@ extension PutVoiceConnectorProxyOutput { extension PutVoiceConnectorStreamingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorStreamingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorStreamingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16714,7 +16779,7 @@ extension PutVoiceConnectorStreamingConfigurationOutput { extension PutVoiceConnectorTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorTerminationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16726,14 +16791,14 @@ extension PutVoiceConnectorTerminationOutput { extension PutVoiceConnectorTerminationCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorTerminationCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorTerminationCredentialsOutput { return PutVoiceConnectorTerminationCredentialsOutput() } } extension RedactChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RedactChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RedactChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16746,21 +16811,21 @@ extension RedactChannelMessageOutput { extension RedactConversationMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RedactConversationMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RedactConversationMessageOutput { return RedactConversationMessageOutput() } } extension RedactRoomMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RedactRoomMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RedactRoomMessageOutput { return RedactRoomMessageOutput() } } extension RegenerateSecurityTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegenerateSecurityTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegenerateSecurityTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16772,7 +16837,7 @@ extension RegenerateSecurityTokenOutput { extension ResetPersonalPINOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetPersonalPINOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetPersonalPINOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16784,7 +16849,7 @@ extension ResetPersonalPINOutput { extension RestorePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestorePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestorePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16796,7 +16861,7 @@ extension RestorePhoneNumberOutput { extension SearchAvailablePhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchAvailablePhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchAvailablePhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16809,7 +16874,7 @@ extension SearchAvailablePhoneNumbersOutput { extension SendChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16822,63 +16887,63 @@ extension SendChannelMessageOutput { extension StartMeetingTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMeetingTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMeetingTranscriptionOutput { return StartMeetingTranscriptionOutput() } } extension StopMeetingTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMeetingTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMeetingTranscriptionOutput { return StopMeetingTranscriptionOutput() } } extension TagAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagAttendeeOutput { return TagAttendeeOutput() } } extension TagMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagMeetingOutput { return TagMeetingOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagAttendeeOutput { return UntagAttendeeOutput() } } extension UntagMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagMeetingOutput { return UntagMeetingOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16890,14 +16955,14 @@ extension UpdateAccountOutput { extension UpdateAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSettingsOutput { return UpdateAccountSettingsOutput() } } extension UpdateAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16909,7 +16974,7 @@ extension UpdateAppInstanceOutput { extension UpdateAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16921,7 +16986,7 @@ extension UpdateAppInstanceUserOutput { extension UpdateBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16933,7 +16998,7 @@ extension UpdateBotOutput { extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16945,7 +17010,7 @@ extension UpdateChannelOutput { extension UpdateChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16958,7 +17023,7 @@ extension UpdateChannelMessageOutput { extension UpdateChannelReadMarkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelReadMarkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelReadMarkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16970,14 +17035,14 @@ extension UpdateChannelReadMarkerOutput { extension UpdateGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalSettingsOutput { return UpdateGlobalSettingsOutput() } } extension UpdatePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16989,14 +17054,14 @@ extension UpdatePhoneNumberOutput { extension UpdatePhoneNumberSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberSettingsOutput { return UpdatePhoneNumberSettingsOutput() } } extension UpdateProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProxySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17008,7 +17073,7 @@ extension UpdateProxySessionOutput { extension UpdateRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17020,7 +17085,7 @@ extension UpdateRoomOutput { extension UpdateRoomMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoomMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoomMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17032,7 +17097,7 @@ extension UpdateRoomMembershipOutput { extension UpdateSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSipMediaApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17044,7 +17109,7 @@ extension UpdateSipMediaApplicationOutput { extension UpdateSipMediaApplicationCallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSipMediaApplicationCallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSipMediaApplicationCallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17056,7 +17121,7 @@ extension UpdateSipMediaApplicationCallOutput { extension UpdateSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSipRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17068,7 +17133,7 @@ extension UpdateSipRuleOutput { extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17080,14 +17145,14 @@ extension UpdateUserOutput { extension UpdateUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserSettingsOutput { return UpdateUserSettingsOutput() } } extension UpdateVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17099,7 +17164,7 @@ extension UpdateVoiceConnectorOutput { extension UpdateVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17111,7 +17176,7 @@ extension UpdateVoiceConnectorGroupOutput { extension ValidateE911AddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateE911AddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateE911AddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17126,7 +17191,7 @@ extension ValidateE911AddressOutput { enum AssociatePhoneNumbersWithVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17147,7 +17212,7 @@ enum AssociatePhoneNumbersWithVoiceConnectorOutputError { enum AssociatePhoneNumbersWithVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17168,7 +17233,7 @@ enum AssociatePhoneNumbersWithVoiceConnectorGroupOutputError { enum AssociatePhoneNumberWithUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17189,7 +17254,7 @@ enum AssociatePhoneNumberWithUserOutputError { enum AssociateSigninDelegateGroupsWithAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17209,7 +17274,7 @@ enum AssociateSigninDelegateGroupsWithAccountOutputError { enum BatchCreateAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17230,7 +17295,7 @@ enum BatchCreateAttendeeOutputError { enum BatchCreateChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17249,7 +17314,7 @@ enum BatchCreateChannelMembershipOutputError { enum BatchCreateRoomMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17269,7 +17334,7 @@ enum BatchCreateRoomMembershipOutputError { enum BatchDeletePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17289,7 +17354,7 @@ enum BatchDeletePhoneNumberOutputError { enum BatchSuspendUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17309,7 +17374,7 @@ enum BatchSuspendUserOutputError { enum BatchUnsuspendUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17329,7 +17394,7 @@ enum BatchUnsuspendUserOutputError { enum BatchUpdatePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17349,7 +17414,7 @@ enum BatchUpdatePhoneNumberOutputError { enum BatchUpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17369,7 +17434,7 @@ enum BatchUpdateUserOutputError { enum CreateAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17389,7 +17454,7 @@ enum CreateAccountOutputError { enum CreateAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17410,7 +17475,7 @@ enum CreateAppInstanceOutputError { enum CreateAppInstanceAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17431,7 +17496,7 @@ enum CreateAppInstanceAdminOutputError { enum CreateAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17452,7 +17517,7 @@ enum CreateAppInstanceUserOutputError { enum CreateAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17473,7 +17538,7 @@ enum CreateAttendeeOutputError { enum CreateBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17494,7 +17559,7 @@ enum CreateBotOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17515,7 +17580,7 @@ enum CreateChannelOutputError { enum CreateChannelBanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17536,7 +17601,7 @@ enum CreateChannelBanOutputError { enum CreateChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17557,7 +17622,7 @@ enum CreateChannelMembershipOutputError { enum CreateChannelModeratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17578,7 +17643,7 @@ enum CreateChannelModeratorOutputError { enum CreateMediaCapturePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17598,7 +17663,7 @@ enum CreateMediaCapturePipelineOutputError { enum CreateMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17618,7 +17683,7 @@ enum CreateMeetingOutputError { enum CreateMeetingDialOutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17639,7 +17704,7 @@ enum CreateMeetingDialOutOutputError { enum CreateMeetingWithAttendeesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17659,7 +17724,7 @@ enum CreateMeetingWithAttendeesOutputError { enum CreatePhoneNumberOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17680,7 +17745,7 @@ enum CreatePhoneNumberOrderOutputError { enum CreateProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17700,7 +17765,7 @@ enum CreateProxySessionOutputError { enum CreateRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17721,7 +17786,7 @@ enum CreateRoomOutputError { enum CreateRoomMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17743,7 +17808,7 @@ enum CreateRoomMembershipOutputError { enum CreateSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17765,7 +17830,7 @@ enum CreateSipMediaApplicationOutputError { enum CreateSipMediaApplicationCallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17786,7 +17851,7 @@ enum CreateSipMediaApplicationCallOutputError { enum CreateSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17808,7 +17873,7 @@ enum CreateSipRuleOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17829,7 +17894,7 @@ enum CreateUserOutputError { enum CreateVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17850,7 +17915,7 @@ enum CreateVoiceConnectorOutputError { enum CreateVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17871,7 +17936,7 @@ enum CreateVoiceConnectorGroupOutputError { enum DeleteAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17892,7 +17957,7 @@ enum DeleteAccountOutputError { enum DeleteAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17911,7 +17976,7 @@ enum DeleteAppInstanceOutputError { enum DeleteAppInstanceAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17931,7 +17996,7 @@ enum DeleteAppInstanceAdminOutputError { enum DeleteAppInstanceStreamingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17951,7 +18016,7 @@ enum DeleteAppInstanceStreamingConfigurationsOutputError { enum DeleteAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17970,7 +18035,7 @@ enum DeleteAppInstanceUserOutputError { enum DeleteAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17990,7 +18055,7 @@ enum DeleteAttendeeOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18009,7 +18074,7 @@ enum DeleteChannelOutputError { enum DeleteChannelBanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18028,7 +18093,7 @@ enum DeleteChannelBanOutputError { enum DeleteChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18048,7 +18113,7 @@ enum DeleteChannelMembershipOutputError { enum DeleteChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18067,7 +18132,7 @@ enum DeleteChannelMessageOutputError { enum DeleteChannelModeratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18086,7 +18151,7 @@ enum DeleteChannelModeratorOutputError { enum DeleteEventsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18105,7 +18170,7 @@ enum DeleteEventsConfigurationOutputError { enum DeleteMediaCapturePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18125,7 +18190,7 @@ enum DeleteMediaCapturePipelineOutputError { enum DeleteMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18145,7 +18210,7 @@ enum DeleteMeetingOutputError { enum DeletePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18165,7 +18230,7 @@ enum DeletePhoneNumberOutputError { enum DeleteProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18185,7 +18250,7 @@ enum DeleteProxySessionOutputError { enum DeleteRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18205,7 +18270,7 @@ enum DeleteRoomOutputError { enum DeleteRoomMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18225,7 +18290,7 @@ enum DeleteRoomMembershipOutputError { enum DeleteSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18246,7 +18311,7 @@ enum DeleteSipMediaApplicationOutputError { enum DeleteSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18267,7 +18332,7 @@ enum DeleteSipRuleOutputError { enum DeleteVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18288,7 +18353,7 @@ enum DeleteVoiceConnectorOutputError { enum DeleteVoiceConnectorEmergencyCallingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18308,7 +18373,7 @@ enum DeleteVoiceConnectorEmergencyCallingConfigurationOutputError { enum DeleteVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18329,7 +18394,7 @@ enum DeleteVoiceConnectorGroupOutputError { enum DeleteVoiceConnectorOriginationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18349,7 +18414,7 @@ enum DeleteVoiceConnectorOriginationOutputError { enum DeleteVoiceConnectorProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18369,7 +18434,7 @@ enum DeleteVoiceConnectorProxyOutputError { enum DeleteVoiceConnectorStreamingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18389,7 +18454,7 @@ enum DeleteVoiceConnectorStreamingConfigurationOutputError { enum DeleteVoiceConnectorTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18409,7 +18474,7 @@ enum DeleteVoiceConnectorTerminationOutputError { enum DeleteVoiceConnectorTerminationCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18429,7 +18494,7 @@ enum DeleteVoiceConnectorTerminationCredentialsOutputError { enum DescribeAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18448,7 +18513,7 @@ enum DescribeAppInstanceOutputError { enum DescribeAppInstanceAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18467,7 +18532,7 @@ enum DescribeAppInstanceAdminOutputError { enum DescribeAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18486,7 +18551,7 @@ enum DescribeAppInstanceUserOutputError { enum DescribeChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18505,7 +18570,7 @@ enum DescribeChannelOutputError { enum DescribeChannelBanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18525,7 +18590,7 @@ enum DescribeChannelBanOutputError { enum DescribeChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18545,7 +18610,7 @@ enum DescribeChannelMembershipOutputError { enum DescribeChannelMembershipForAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18564,7 +18629,7 @@ enum DescribeChannelMembershipForAppInstanceUserOutputError { enum DescribeChannelModeratedByAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18583,7 +18648,7 @@ enum DescribeChannelModeratedByAppInstanceUserOutputError { enum DescribeChannelModeratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18603,7 +18668,7 @@ enum DescribeChannelModeratorOutputError { enum DisassociatePhoneNumberFromUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18623,7 +18688,7 @@ enum DisassociatePhoneNumberFromUserOutputError { enum DisassociatePhoneNumbersFromVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18643,7 +18708,7 @@ enum DisassociatePhoneNumbersFromVoiceConnectorOutputError { enum DisassociatePhoneNumbersFromVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18663,7 +18728,7 @@ enum DisassociatePhoneNumbersFromVoiceConnectorGroupOutputError { enum DisassociateSigninDelegateGroupsFromAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18683,7 +18748,7 @@ enum DisassociateSigninDelegateGroupsFromAccountOutputError { enum GetAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18703,7 +18768,7 @@ enum GetAccountOutputError { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18723,7 +18788,7 @@ enum GetAccountSettingsOutputError { enum GetAppInstanceRetentionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18743,7 +18808,7 @@ enum GetAppInstanceRetentionSettingsOutputError { enum GetAppInstanceStreamingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18763,7 +18828,7 @@ enum GetAppInstanceStreamingConfigurationsOutputError { enum GetAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18783,7 +18848,7 @@ enum GetAttendeeOutputError { enum GetBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18803,7 +18868,7 @@ enum GetBotOutputError { enum GetChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18823,7 +18888,7 @@ enum GetChannelMessageOutputError { enum GetEventsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18843,7 +18908,7 @@ enum GetEventsConfigurationOutputError { enum GetGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18862,7 +18927,7 @@ enum GetGlobalSettingsOutputError { enum GetMediaCapturePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18882,7 +18947,7 @@ enum GetMediaCapturePipelineOutputError { enum GetMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18902,7 +18967,7 @@ enum GetMeetingOutputError { enum GetMessagingSessionEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18920,7 +18985,7 @@ enum GetMessagingSessionEndpointOutputError { enum GetPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18940,7 +19005,7 @@ enum GetPhoneNumberOutputError { enum GetPhoneNumberOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18960,7 +19025,7 @@ enum GetPhoneNumberOrderOutputError { enum GetPhoneNumberSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18979,7 +19044,7 @@ enum GetPhoneNumberSettingsOutputError { enum GetProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18999,7 +19064,7 @@ enum GetProxySessionOutputError { enum GetRetentionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19019,7 +19084,7 @@ enum GetRetentionSettingsOutputError { enum GetRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19039,7 +19104,7 @@ enum GetRoomOutputError { enum GetSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19059,7 +19124,7 @@ enum GetSipMediaApplicationOutputError { enum GetSipMediaApplicationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19079,7 +19144,7 @@ enum GetSipMediaApplicationLoggingConfigurationOutputError { enum GetSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19099,7 +19164,7 @@ enum GetSipRuleOutputError { enum GetUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19119,7 +19184,7 @@ enum GetUserOutputError { enum GetUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19139,7 +19204,7 @@ enum GetUserSettingsOutputError { enum GetVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19159,7 +19224,7 @@ enum GetVoiceConnectorOutputError { enum GetVoiceConnectorEmergencyCallingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19179,7 +19244,7 @@ enum GetVoiceConnectorEmergencyCallingConfigurationOutputError { enum GetVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19199,7 +19264,7 @@ enum GetVoiceConnectorGroupOutputError { enum GetVoiceConnectorLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19219,7 +19284,7 @@ enum GetVoiceConnectorLoggingConfigurationOutputError { enum GetVoiceConnectorOriginationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19239,7 +19304,7 @@ enum GetVoiceConnectorOriginationOutputError { enum GetVoiceConnectorProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19259,7 +19324,7 @@ enum GetVoiceConnectorProxyOutputError { enum GetVoiceConnectorStreamingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19279,7 +19344,7 @@ enum GetVoiceConnectorStreamingConfigurationOutputError { enum GetVoiceConnectorTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19299,7 +19364,7 @@ enum GetVoiceConnectorTerminationOutputError { enum GetVoiceConnectorTerminationHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19319,7 +19384,7 @@ enum GetVoiceConnectorTerminationHealthOutputError { enum InviteUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19339,7 +19404,7 @@ enum InviteUsersOutputError { enum ListAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19359,7 +19424,7 @@ enum ListAccountsOutputError { enum ListAppInstanceAdminsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19378,7 +19443,7 @@ enum ListAppInstanceAdminsOutputError { enum ListAppInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19397,7 +19462,7 @@ enum ListAppInstancesOutputError { enum ListAppInstanceUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19416,7 +19481,7 @@ enum ListAppInstanceUsersOutputError { enum ListAttendeesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19436,7 +19501,7 @@ enum ListAttendeesOutputError { enum ListAttendeeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19456,7 +19521,7 @@ enum ListAttendeeTagsOutputError { enum ListBotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19476,7 +19541,7 @@ enum ListBotsOutputError { enum ListChannelBansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19495,7 +19560,7 @@ enum ListChannelBansOutputError { enum ListChannelMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19514,7 +19579,7 @@ enum ListChannelMembershipsOutputError { enum ListChannelMembershipsForAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19533,7 +19598,7 @@ enum ListChannelMembershipsForAppInstanceUserOutputError { enum ListChannelMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19552,7 +19617,7 @@ enum ListChannelMessagesOutputError { enum ListChannelModeratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19571,7 +19636,7 @@ enum ListChannelModeratorsOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19590,7 +19655,7 @@ enum ListChannelsOutputError { enum ListChannelsModeratedByAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19609,7 +19674,7 @@ enum ListChannelsModeratedByAppInstanceUserOutputError { enum ListMediaCapturePipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19628,7 +19693,7 @@ enum ListMediaCapturePipelinesOutputError { enum ListMeetingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19647,7 +19712,7 @@ enum ListMeetingsOutputError { enum ListMeetingTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19667,7 +19732,7 @@ enum ListMeetingTagsOutputError { enum ListPhoneNumberOrdersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19686,7 +19751,7 @@ enum ListPhoneNumberOrdersOutputError { enum ListPhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19706,7 +19771,7 @@ enum ListPhoneNumbersOutputError { enum ListProxySessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19726,7 +19791,7 @@ enum ListProxySessionsOutputError { enum ListRoomMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19746,7 +19811,7 @@ enum ListRoomMembershipsOutputError { enum ListRoomsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19766,7 +19831,7 @@ enum ListRoomsOutputError { enum ListSipMediaApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19785,7 +19850,7 @@ enum ListSipMediaApplicationsOutputError { enum ListSipRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19804,7 +19869,7 @@ enum ListSipRulesOutputError { enum ListSupportedPhoneNumberCountriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19824,7 +19889,7 @@ enum ListSupportedPhoneNumberCountriesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19843,7 +19908,7 @@ enum ListTagsForResourceOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19863,7 +19928,7 @@ enum ListUsersOutputError { enum ListVoiceConnectorGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19882,7 +19947,7 @@ enum ListVoiceConnectorGroupsOutputError { enum ListVoiceConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19901,7 +19966,7 @@ enum ListVoiceConnectorsOutputError { enum ListVoiceConnectorTerminationCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19921,7 +19986,7 @@ enum ListVoiceConnectorTerminationCredentialsOutputError { enum LogoutUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19941,7 +20006,7 @@ enum LogoutUserOutputError { enum PutAppInstanceRetentionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19962,7 +20027,7 @@ enum PutAppInstanceRetentionSettingsOutputError { enum PutAppInstanceStreamingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19982,7 +20047,7 @@ enum PutAppInstanceStreamingConfigurationsOutputError { enum PutEventsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20002,7 +20067,7 @@ enum PutEventsConfigurationOutputError { enum PutRetentionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20023,7 +20088,7 @@ enum PutRetentionSettingsOutputError { enum PutSipMediaApplicationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20043,7 +20108,7 @@ enum PutSipMediaApplicationLoggingConfigurationOutputError { enum PutVoiceConnectorEmergencyCallingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20063,7 +20128,7 @@ enum PutVoiceConnectorEmergencyCallingConfigurationOutputError { enum PutVoiceConnectorLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20083,7 +20148,7 @@ enum PutVoiceConnectorLoggingConfigurationOutputError { enum PutVoiceConnectorOriginationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20103,7 +20168,7 @@ enum PutVoiceConnectorOriginationOutputError { enum PutVoiceConnectorProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20124,7 +20189,7 @@ enum PutVoiceConnectorProxyOutputError { enum PutVoiceConnectorStreamingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20144,7 +20209,7 @@ enum PutVoiceConnectorStreamingConfigurationOutputError { enum PutVoiceConnectorTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20165,7 +20230,7 @@ enum PutVoiceConnectorTerminationOutputError { enum PutVoiceConnectorTerminationCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20185,7 +20250,7 @@ enum PutVoiceConnectorTerminationCredentialsOutputError { enum RedactChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20204,7 +20269,7 @@ enum RedactChannelMessageOutputError { enum RedactConversationMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20224,7 +20289,7 @@ enum RedactConversationMessageOutputError { enum RedactRoomMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20244,7 +20309,7 @@ enum RedactRoomMessageOutputError { enum RegenerateSecurityTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20264,7 +20329,7 @@ enum RegenerateSecurityTokenOutputError { enum ResetPersonalPINOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20284,7 +20349,7 @@ enum ResetPersonalPINOutputError { enum RestorePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20305,7 +20370,7 @@ enum RestorePhoneNumberOutputError { enum SearchAvailablePhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20325,7 +20390,7 @@ enum SearchAvailablePhoneNumbersOutputError { enum SendChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20345,7 +20410,7 @@ enum SendChannelMessageOutputError { enum StartMeetingTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20367,7 +20432,7 @@ enum StartMeetingTranscriptionOutputError { enum StopMeetingTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20388,7 +20453,7 @@ enum StopMeetingTranscriptionOutputError { enum TagAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20409,7 +20474,7 @@ enum TagAttendeeOutputError { enum TagMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20430,7 +20495,7 @@ enum TagMeetingOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20449,7 +20514,7 @@ enum TagResourceOutputError { enum UntagAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20469,7 +20534,7 @@ enum UntagAttendeeOutputError { enum UntagMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20489,7 +20554,7 @@ enum UntagMeetingOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20508,7 +20573,7 @@ enum UntagResourceOutputError { enum UpdateAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20528,7 +20593,7 @@ enum UpdateAccountOutputError { enum UpdateAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20549,7 +20614,7 @@ enum UpdateAccountSettingsOutputError { enum UpdateAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20569,7 +20634,7 @@ enum UpdateAppInstanceOutputError { enum UpdateAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20589,7 +20654,7 @@ enum UpdateAppInstanceUserOutputError { enum UpdateBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20609,7 +20674,7 @@ enum UpdateBotOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20629,7 +20694,7 @@ enum UpdateChannelOutputError { enum UpdateChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20649,7 +20714,7 @@ enum UpdateChannelMessageOutputError { enum UpdateChannelReadMarkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20669,7 +20734,7 @@ enum UpdateChannelReadMarkerOutputError { enum UpdateGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20688,7 +20753,7 @@ enum UpdateGlobalSettingsOutputError { enum UpdatePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20709,7 +20774,7 @@ enum UpdatePhoneNumberOutputError { enum UpdatePhoneNumberSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20728,7 +20793,7 @@ enum UpdatePhoneNumberSettingsOutputError { enum UpdateProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20748,7 +20813,7 @@ enum UpdateProxySessionOutputError { enum UpdateRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20768,7 +20833,7 @@ enum UpdateRoomOutputError { enum UpdateRoomMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20788,7 +20853,7 @@ enum UpdateRoomMembershipOutputError { enum UpdateSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20809,7 +20874,7 @@ enum UpdateSipMediaApplicationOutputError { enum UpdateSipMediaApplicationCallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20830,7 +20895,7 @@ enum UpdateSipMediaApplicationCallOutputError { enum UpdateSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20852,7 +20917,7 @@ enum UpdateSipRuleOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20872,7 +20937,7 @@ enum UpdateUserOutputError { enum UpdateUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20892,7 +20957,7 @@ enum UpdateUserSettingsOutputError { enum UpdateVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20912,7 +20977,7 @@ enum UpdateVoiceConnectorOutputError { enum UpdateVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20933,7 +20998,7 @@ enum UpdateVoiceConnectorGroupOutputError { enum ValidateE911AddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/Models.swift b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/Models.swift index 2c3095f7112..1ed9de3ede0 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/Models.swift +++ b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -944,7 +944,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -971,7 +971,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -998,7 +998,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1025,7 +1025,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1052,7 +1052,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1079,7 +1079,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1106,7 +1106,7 @@ public struct ThrottledClientException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1133,7 +1133,7 @@ public struct UnauthorizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1503,7 +1503,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2067,6 +2067,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceARN: \(Swift.String(describing: resourceARN)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UpdateAppInstanceInput { /// The ARN of the AppInstance. /// This member is required. @@ -2782,7 +2787,7 @@ extension UpdateAppInstanceUserEndpointInput { extension CreateAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2794,7 +2799,7 @@ extension CreateAppInstanceOutput { extension CreateAppInstanceAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceAdminOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2807,7 +2812,7 @@ extension CreateAppInstanceAdminOutput { extension CreateAppInstanceBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2819,7 +2824,7 @@ extension CreateAppInstanceBotOutput { extension CreateAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2831,42 +2836,42 @@ extension CreateAppInstanceUserOutput { extension DeleteAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceOutput { return DeleteAppInstanceOutput() } } extension DeleteAppInstanceAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceAdminOutput { return DeleteAppInstanceAdminOutput() } } extension DeleteAppInstanceBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceBotOutput { return DeleteAppInstanceBotOutput() } } extension DeleteAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInstanceUserOutput { return DeleteAppInstanceUserOutput() } } extension DeregisterAppInstanceUserEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterAppInstanceUserEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterAppInstanceUserEndpointOutput { return DeregisterAppInstanceUserEndpointOutput() } } extension DescribeAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2878,7 +2883,7 @@ extension DescribeAppInstanceOutput { extension DescribeAppInstanceAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceAdminOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2890,7 +2895,7 @@ extension DescribeAppInstanceAdminOutput { extension DescribeAppInstanceBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2902,7 +2907,7 @@ extension DescribeAppInstanceBotOutput { extension DescribeAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2914,7 +2919,7 @@ extension DescribeAppInstanceUserOutput { extension DescribeAppInstanceUserEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppInstanceUserEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppInstanceUserEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2926,7 +2931,7 @@ extension DescribeAppInstanceUserEndpointOutput { extension GetAppInstanceRetentionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppInstanceRetentionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppInstanceRetentionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2939,7 +2944,7 @@ extension GetAppInstanceRetentionSettingsOutput { extension ListAppInstanceAdminsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstanceAdminsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstanceAdminsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2953,7 +2958,7 @@ extension ListAppInstanceAdminsOutput { extension ListAppInstanceBotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstanceBotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstanceBotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2967,7 +2972,7 @@ extension ListAppInstanceBotsOutput { extension ListAppInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2980,7 +2985,7 @@ extension ListAppInstancesOutput { extension ListAppInstanceUserEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstanceUserEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstanceUserEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2993,7 +2998,7 @@ extension ListAppInstanceUserEndpointsOutput { extension ListAppInstanceUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInstanceUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInstanceUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3007,7 +3012,7 @@ extension ListAppInstanceUsersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3019,7 +3024,7 @@ extension ListTagsForResourceOutput { extension PutAppInstanceRetentionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppInstanceRetentionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppInstanceRetentionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3032,7 +3037,7 @@ extension PutAppInstanceRetentionSettingsOutput { extension PutAppInstanceUserExpirationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppInstanceUserExpirationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppInstanceUserExpirationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3045,7 +3050,7 @@ extension PutAppInstanceUserExpirationSettingsOutput { extension RegisterAppInstanceUserEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterAppInstanceUserEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterAppInstanceUserEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3058,21 +3063,21 @@ extension RegisterAppInstanceUserEndpointOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3084,7 +3089,7 @@ extension UpdateAppInstanceOutput { extension UpdateAppInstanceBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppInstanceBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppInstanceBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3096,7 +3101,7 @@ extension UpdateAppInstanceBotOutput { extension UpdateAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3108,7 +3113,7 @@ extension UpdateAppInstanceUserOutput { extension UpdateAppInstanceUserEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppInstanceUserEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppInstanceUserEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3121,7 +3126,7 @@ extension UpdateAppInstanceUserEndpointOutput { enum CreateAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3142,7 +3147,7 @@ enum CreateAppInstanceOutputError { enum CreateAppInstanceAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3163,7 +3168,7 @@ enum CreateAppInstanceAdminOutputError { enum CreateAppInstanceBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3184,7 +3189,7 @@ enum CreateAppInstanceBotOutputError { enum CreateAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3205,7 +3210,7 @@ enum CreateAppInstanceUserOutputError { enum DeleteAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3225,7 +3230,7 @@ enum DeleteAppInstanceOutputError { enum DeleteAppInstanceAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3246,7 +3251,7 @@ enum DeleteAppInstanceAdminOutputError { enum DeleteAppInstanceBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3267,7 +3272,7 @@ enum DeleteAppInstanceBotOutputError { enum DeleteAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3288,7 +3293,7 @@ enum DeleteAppInstanceUserOutputError { enum DeregisterAppInstanceUserEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3307,7 +3312,7 @@ enum DeregisterAppInstanceUserEndpointOutputError { enum DescribeAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3326,7 +3331,7 @@ enum DescribeAppInstanceOutputError { enum DescribeAppInstanceAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3345,7 +3350,7 @@ enum DescribeAppInstanceAdminOutputError { enum DescribeAppInstanceBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3365,7 +3370,7 @@ enum DescribeAppInstanceBotOutputError { enum DescribeAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3384,7 +3389,7 @@ enum DescribeAppInstanceUserOutputError { enum DescribeAppInstanceUserEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3403,7 +3408,7 @@ enum DescribeAppInstanceUserEndpointOutputError { enum GetAppInstanceRetentionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3422,7 +3427,7 @@ enum GetAppInstanceRetentionSettingsOutputError { enum ListAppInstanceAdminsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3442,7 +3447,7 @@ enum ListAppInstanceAdminsOutputError { enum ListAppInstanceBotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3462,7 +3467,7 @@ enum ListAppInstanceBotsOutputError { enum ListAppInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3481,7 +3486,7 @@ enum ListAppInstancesOutputError { enum ListAppInstanceUserEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3500,7 +3505,7 @@ enum ListAppInstanceUserEndpointsOutputError { enum ListAppInstanceUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3519,7 +3524,7 @@ enum ListAppInstanceUsersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3538,7 +3543,7 @@ enum ListTagsForResourceOutputError { enum PutAppInstanceRetentionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3557,7 +3562,7 @@ enum PutAppInstanceRetentionSettingsOutputError { enum PutAppInstanceUserExpirationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3577,7 +3582,7 @@ enum PutAppInstanceUserExpirationSettingsOutputError { enum RegisterAppInstanceUserEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3598,7 +3603,7 @@ enum RegisterAppInstanceUserEndpointOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3618,7 +3623,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3637,7 +3642,7 @@ enum UntagResourceOutputError { enum UpdateAppInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3657,7 +3662,7 @@ enum UpdateAppInstanceOutputError { enum UpdateAppInstanceBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3678,7 +3683,7 @@ enum UpdateAppInstanceBotOutputError { enum UpdateAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3699,7 +3704,7 @@ enum UpdateAppInstanceUserOutputError { enum UpdateAppInstanceUserEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift index b45d776a4ab..ff67afbee14 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift @@ -458,7 +458,7 @@ extension ChimeSDKMediaPipelinesClient { /// Performs the `CreateMediaPipelineKinesisVideoStreamPool` operation on the `ChimeSDKMediaPipelinesService` service. /// - /// Creates an Kinesis video stream pool for the media pipeline. + /// Creates an Amazon Kinesis Video Stream pool for use with media stream pipelines. If a meeting uses an opt-in Region as its [MediaRegion](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion), the KVS stream must be in that same Region. For example, if a meeting uses the af-south-1 Region, the KVS stream must also be in af-south-1. However, if the meeting uses a Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For example, if the meeting uses ca-central-1, the KVS stream can be in eu-west-2, us-east-1, af-south-1, or any other Region that the Amazon Chime SDK supports. To learn which AWS Region a meeting uses, call the [GetMeeting](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_GetMeeting.html) API and use the [MediaRegion](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion) parameter from the response. For more information about opt-in Regions, refer to [Available Regions](https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html) in the Amazon Chime SDK Developer Guide, and [Specify which AWS Regions your account can use](https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#rande-manage-enable.html), in the AWS Account Management Reference Guide. /// /// - Parameter CreateMediaPipelineKinesisVideoStreamPoolInput : [no documentation found] /// @@ -725,7 +725,7 @@ extension ChimeSDKMediaPipelinesClient { /// Performs the `DeleteMediaPipelineKinesisVideoStreamPool` operation on the `ChimeSDKMediaPipelinesService` service. /// - /// Deletes an Kinesis video stream pool. + /// Deletes an Amazon Kinesis Video Stream pool. /// /// - Parameter DeleteMediaPipelineKinesisVideoStreamPoolInput : [no documentation found] /// @@ -1783,7 +1783,7 @@ extension ChimeSDKMediaPipelinesClient { /// Performs the `UpdateMediaPipelineKinesisVideoStreamPool` operation on the `ChimeSDKMediaPipelinesService` service. /// - /// Updates an Kinesis video stream pool in a media pipeline. + /// Updates an Amazon Kinesis Video Stream pool in a media pipeline. /// /// - Parameter UpdateMediaPipelineKinesisVideoStreamPoolInput : [no documentation found] /// diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/Models.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/Models.swift index e4051fede7a..1c598e2acf3 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/Models.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -374,7 +374,7 @@ extension ChimeSDKMediaPipelinesClientTypes { } extension ChimeSDKMediaPipelinesClientTypes { - /// A structure that contains the configuration settings for an Amazon Transcribe processor. + /// A structure that contains the configuration settings for an Amazon Transcribe processor. Calls to this API must include a LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages parameter. If you include more than one of those parameters, your transcription job fails. public struct AmazonTranscribeProcessorConfiguration { /// Labels all personally identifiable information (PII) identified in your transcript. Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged upon complete transcription of an audio segment. You can’t set ContentIdentificationType and ContentRedactionType in the same request. If you set both, your request returns a BadRequestException. For more information, see [Redacting or identifying personally identifiable information](https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html) in the Amazon Transcribe Developer Guide. public var contentIdentificationType: ChimeSDKMediaPipelinesClientTypes.ContentType? @@ -386,6 +386,8 @@ extension ChimeSDKMediaPipelinesClientTypes { public var filterPartialResults: Swift.Bool /// Turns language identification on or off. public var identifyLanguage: Swift.Bool + /// Turns language identification on or off for multiple languages. + public var identifyMultipleLanguages: Swift.Bool /// The language code that represents the language spoken in your audio. If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable automatic language identification. For a list of languages that real-time Call Analytics supports, see the [Supported languages table](https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) in the Amazon Transcribe Developer Guide. public var languageCode: ChimeSDKMediaPipelinesClientTypes.CallAnalyticsLanguageCode? /// The name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive. The language of the specified language model must match the language code you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch. For more information, see [Custom language models](https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html) in the Amazon Transcribe Developer Guide. @@ -417,6 +419,7 @@ extension ChimeSDKMediaPipelinesClientTypes { enablePartialResultsStabilization: Swift.Bool = false, filterPartialResults: Swift.Bool = false, identifyLanguage: Swift.Bool = false, + identifyMultipleLanguages: Swift.Bool = false, languageCode: ChimeSDKMediaPipelinesClientTypes.CallAnalyticsLanguageCode? = nil, languageModelName: Swift.String? = nil, languageOptions: Swift.String? = nil, @@ -436,6 +439,7 @@ extension ChimeSDKMediaPipelinesClientTypes { self.enablePartialResultsStabilization = enablePartialResultsStabilization self.filterPartialResults = filterPartialResults self.identifyLanguage = identifyLanguage + self.identifyMultipleLanguages = identifyMultipleLanguages self.languageCode = languageCode self.languageModelName = languageModelName self.languageOptions = languageOptions @@ -1454,7 +1458,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1535,7 +1539,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1566,7 +1570,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1597,7 +1601,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1628,7 +1632,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1659,7 +1663,7 @@ public struct ThrottledClientException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1690,7 +1694,7 @@ public struct UnauthorizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1726,6 +1730,11 @@ extension ChimeSDKMediaPipelinesClientTypes { } +extension ChimeSDKMediaPipelinesClientTypes.SelectedVideoStreams: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SelectedVideoStreams(attendeeIds: \(Swift.String(describing: attendeeIds)), externalUserIds: \"CONTENT_REDACTED\")"} +} + extension ChimeSDKMediaPipelinesClientTypes { /// Source configuration for a specified media pipeline. public struct SourceConfiguration { @@ -2254,7 +2263,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3570,7 +3579,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3587,7 +3596,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW } extension ChimeSDKMediaPipelinesClientTypes { - /// The configuration of an Kinesis video stream. + /// The configuration of an Kinesis video stream. If a meeting uses an opt-in Region as its [MediaRegion](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion), the KVS stream must be in that same Region. For example, if a meeting uses the af-south-1 Region, the KVS stream must also be in af-south-1. However, if the meeting uses a Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For example, if the meeting uses ca-central-1, the KVS stream can be in eu-west-2, us-east-1, af-south-1, or any other Region that the Amazon Chime SDK supports. To learn which AWS Region a meeting uses, call the [GetMeeting](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_GetMeeting.html) API and use the [MediaRegion](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion) parameter from the response. For more information about opt-in Regions, refer to [Available Regions](https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html) in the Amazon Chime SDK Developer Guide, and [Specify which AWS Regions your account can use](https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#rande-manage-enable.html), in the AWS Account Management Reference Guide. public struct KinesisVideoStreamConfiguration { /// The amount of time that data is retained. public var dataRetentionInHours: Swift.Int? @@ -3610,13 +3619,13 @@ extension ChimeSDKMediaPipelinesClientTypes { public struct CreateMediaPipelineKinesisVideoStreamPoolInput { /// The token assigned to the client making the request. public var clientRequestToken: Swift.String? - /// The name of the video stream pool. + /// The name of the pool. /// This member is required. public var poolName: Swift.String? - /// The configuration settings for the video stream. + /// The configuration settings for the stream. /// This member is required. public var streamConfiguration: ChimeSDKMediaPipelinesClientTypes.KinesisVideoStreamConfiguration? - /// The tags assigned to the video stream pool. + /// The tags assigned to the stream pool. public var tags: [ChimeSDKMediaPipelinesClientTypes.Tag]? public init( @@ -3726,7 +3735,7 @@ extension ChimeSDKMediaPipelinesClientTypes.KinesisVideoStreamPoolConfiguration: } public struct CreateMediaPipelineKinesisVideoStreamPoolOutput { - /// The configuration for the Kinesis video stream pool. + /// The configuration for applying the streams to the pool. public var kinesisVideoStreamPoolConfiguration: ChimeSDKMediaPipelinesClientTypes.KinesisVideoStreamPoolConfiguration? public init( @@ -3801,7 +3810,7 @@ extension ChimeSDKMediaPipelinesClientTypes { /// Specifies the number of streams that the sink can accept. /// This member is required. public var reservedStreamCapacity: Swift.Int? - /// The ARN of the media stream sink. + /// The ARN of the Kinesis Video Stream pool returned by the [CreateMediaPipelineKinesisVideoStreamPool] API. /// This member is required. public var sinkArn: Swift.String? /// The media stream sink's type. @@ -3832,7 +3841,7 @@ extension ChimeSDKMediaPipelinesClientTypes.MediaStreamSink: Swift.CustomDebugSt extension ChimeSDKMediaPipelinesClientTypes { /// Structure that contains the settings for media stream sources. public struct MediaStreamSource { - /// The ARN of the media stream source. + /// The ARN of the meeting. /// This member is required. public var sourceArn: Swift.String? /// The type of media stream source. @@ -3979,7 +3988,7 @@ public struct DeleteMediaPipelineInput { } public struct DeleteMediaPipelineKinesisVideoStreamPoolInput { - /// The ID of the pool being deleted. + /// The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool. /// This member is required. public var identifier: Swift.String? @@ -4099,7 +4108,7 @@ public struct GetMediaPipelineOutput { } public struct GetMediaPipelineKinesisVideoStreamPoolInput { - /// The ID of the video stream pool. + /// The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool. /// This member is required. public var identifier: Swift.String? @@ -4859,7 +4868,7 @@ extension ChimeSDKMediaPipelinesClientTypes { } public struct UpdateMediaPipelineKinesisVideoStreamPoolInput { - /// The ID of the video stream pool. + /// The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool. /// This member is required. public var identifier: Swift.String? /// The configuration settings for the video stream. @@ -5450,7 +5459,7 @@ extension UpdateMediaPipelineKinesisVideoStreamPoolInput { extension CreateMediaCapturePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaCapturePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaCapturePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5462,7 +5471,7 @@ extension CreateMediaCapturePipelineOutput { extension CreateMediaConcatenationPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaConcatenationPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaConcatenationPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5474,7 +5483,7 @@ extension CreateMediaConcatenationPipelineOutput { extension CreateMediaInsightsPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaInsightsPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaInsightsPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5486,7 +5495,7 @@ extension CreateMediaInsightsPipelineOutput { extension CreateMediaInsightsPipelineConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaInsightsPipelineConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaInsightsPipelineConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5498,7 +5507,7 @@ extension CreateMediaInsightsPipelineConfigurationOutput { extension CreateMediaLiveConnectorPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaLiveConnectorPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaLiveConnectorPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5510,7 +5519,7 @@ extension CreateMediaLiveConnectorPipelineOutput { extension CreateMediaPipelineKinesisVideoStreamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaPipelineKinesisVideoStreamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaPipelineKinesisVideoStreamPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5522,7 +5531,7 @@ extension CreateMediaPipelineKinesisVideoStreamPoolOutput { extension CreateMediaStreamPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMediaStreamPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMediaStreamPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5534,35 +5543,35 @@ extension CreateMediaStreamPipelineOutput { extension DeleteMediaCapturePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMediaCapturePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMediaCapturePipelineOutput { return DeleteMediaCapturePipelineOutput() } } extension DeleteMediaInsightsPipelineConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMediaInsightsPipelineConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMediaInsightsPipelineConfigurationOutput { return DeleteMediaInsightsPipelineConfigurationOutput() } } extension DeleteMediaPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMediaPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMediaPipelineOutput { return DeleteMediaPipelineOutput() } } extension DeleteMediaPipelineKinesisVideoStreamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMediaPipelineKinesisVideoStreamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMediaPipelineKinesisVideoStreamPoolOutput { return DeleteMediaPipelineKinesisVideoStreamPoolOutput() } } extension GetMediaCapturePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaCapturePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaCapturePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5574,7 +5583,7 @@ extension GetMediaCapturePipelineOutput { extension GetMediaInsightsPipelineConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaInsightsPipelineConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaInsightsPipelineConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5586,7 +5595,7 @@ extension GetMediaInsightsPipelineConfigurationOutput { extension GetMediaPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5598,7 +5607,7 @@ extension GetMediaPipelineOutput { extension GetMediaPipelineKinesisVideoStreamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaPipelineKinesisVideoStreamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaPipelineKinesisVideoStreamPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5610,7 +5619,7 @@ extension GetMediaPipelineKinesisVideoStreamPoolOutput { extension GetSpeakerSearchTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSpeakerSearchTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSpeakerSearchTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5622,7 +5631,7 @@ extension GetSpeakerSearchTaskOutput { extension GetVoiceToneAnalysisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceToneAnalysisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceToneAnalysisTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5634,7 +5643,7 @@ extension GetVoiceToneAnalysisTaskOutput { extension ListMediaCapturePipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMediaCapturePipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMediaCapturePipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5647,7 +5656,7 @@ extension ListMediaCapturePipelinesOutput { extension ListMediaInsightsPipelineConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMediaInsightsPipelineConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMediaInsightsPipelineConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5660,7 +5669,7 @@ extension ListMediaInsightsPipelineConfigurationsOutput { extension ListMediaPipelineKinesisVideoStreamPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMediaPipelineKinesisVideoStreamPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMediaPipelineKinesisVideoStreamPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5673,7 +5682,7 @@ extension ListMediaPipelineKinesisVideoStreamPoolsOutput { extension ListMediaPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMediaPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMediaPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5686,7 +5695,7 @@ extension ListMediaPipelinesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5698,7 +5707,7 @@ extension ListTagsForResourceOutput { extension StartSpeakerSearchTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSpeakerSearchTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSpeakerSearchTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5710,7 +5719,7 @@ extension StartSpeakerSearchTaskOutput { extension StartVoiceToneAnalysisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartVoiceToneAnalysisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartVoiceToneAnalysisTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5722,35 +5731,35 @@ extension StartVoiceToneAnalysisTaskOutput { extension StopSpeakerSearchTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSpeakerSearchTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSpeakerSearchTaskOutput { return StopSpeakerSearchTaskOutput() } } extension StopVoiceToneAnalysisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopVoiceToneAnalysisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopVoiceToneAnalysisTaskOutput { return StopVoiceToneAnalysisTaskOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateMediaInsightsPipelineConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMediaInsightsPipelineConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMediaInsightsPipelineConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5762,14 +5771,14 @@ extension UpdateMediaInsightsPipelineConfigurationOutput { extension UpdateMediaInsightsPipelineStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMediaInsightsPipelineStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMediaInsightsPipelineStatusOutput { return UpdateMediaInsightsPipelineStatusOutput() } } extension UpdateMediaPipelineKinesisVideoStreamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMediaPipelineKinesisVideoStreamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMediaPipelineKinesisVideoStreamPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5781,7 +5790,7 @@ extension UpdateMediaPipelineKinesisVideoStreamPoolOutput { enum CreateMediaCapturePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5801,7 +5810,7 @@ enum CreateMediaCapturePipelineOutputError { enum CreateMediaConcatenationPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5821,7 +5830,7 @@ enum CreateMediaConcatenationPipelineOutputError { enum CreateMediaInsightsPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5842,7 +5851,7 @@ enum CreateMediaInsightsPipelineOutputError { enum CreateMediaInsightsPipelineConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5863,7 +5872,7 @@ enum CreateMediaInsightsPipelineConfigurationOutputError { enum CreateMediaLiveConnectorPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5883,7 +5892,7 @@ enum CreateMediaLiveConnectorPipelineOutputError { enum CreateMediaPipelineKinesisVideoStreamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5904,7 +5913,7 @@ enum CreateMediaPipelineKinesisVideoStreamPoolOutputError { enum CreateMediaStreamPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5925,7 +5934,7 @@ enum CreateMediaStreamPipelineOutputError { enum DeleteMediaCapturePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5945,7 +5954,7 @@ enum DeleteMediaCapturePipelineOutputError { enum DeleteMediaInsightsPipelineConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5966,7 +5975,7 @@ enum DeleteMediaInsightsPipelineConfigurationOutputError { enum DeleteMediaPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5987,7 +5996,7 @@ enum DeleteMediaPipelineOutputError { enum DeleteMediaPipelineKinesisVideoStreamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6008,7 +6017,7 @@ enum DeleteMediaPipelineKinesisVideoStreamPoolOutputError { enum GetMediaCapturePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6028,7 +6037,7 @@ enum GetMediaCapturePipelineOutputError { enum GetMediaInsightsPipelineConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6048,7 +6057,7 @@ enum GetMediaInsightsPipelineConfigurationOutputError { enum GetMediaPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6068,7 +6077,7 @@ enum GetMediaPipelineOutputError { enum GetMediaPipelineKinesisVideoStreamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6088,7 +6097,7 @@ enum GetMediaPipelineKinesisVideoStreamPoolOutputError { enum GetSpeakerSearchTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6108,7 +6117,7 @@ enum GetSpeakerSearchTaskOutputError { enum GetVoiceToneAnalysisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6128,7 +6137,7 @@ enum GetVoiceToneAnalysisTaskOutputError { enum ListMediaCapturePipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6148,7 +6157,7 @@ enum ListMediaCapturePipelinesOutputError { enum ListMediaInsightsPipelineConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6168,7 +6177,7 @@ enum ListMediaInsightsPipelineConfigurationsOutputError { enum ListMediaPipelineKinesisVideoStreamPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6188,7 +6197,7 @@ enum ListMediaPipelineKinesisVideoStreamPoolsOutputError { enum ListMediaPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6208,7 +6217,7 @@ enum ListMediaPipelinesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6228,7 +6237,7 @@ enum ListTagsForResourceOutputError { enum StartSpeakerSearchTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6249,7 +6258,7 @@ enum StartSpeakerSearchTaskOutputError { enum StartVoiceToneAnalysisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6270,7 +6279,7 @@ enum StartVoiceToneAnalysisTaskOutputError { enum StopSpeakerSearchTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6291,7 +6300,7 @@ enum StopSpeakerSearchTaskOutputError { enum StopVoiceToneAnalysisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6312,7 +6321,7 @@ enum StopVoiceToneAnalysisTaskOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6332,7 +6341,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6352,7 +6361,7 @@ enum UntagResourceOutputError { enum UpdateMediaInsightsPipelineConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6373,7 +6382,7 @@ enum UpdateMediaInsightsPipelineConfigurationOutputError { enum UpdateMediaInsightsPipelineStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6394,7 +6403,7 @@ enum UpdateMediaInsightsPipelineStatusOutputError { enum UpdateMediaPipelineKinesisVideoStreamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7407,6 +7416,7 @@ extension ChimeSDKMediaPipelinesClientTypes.AmazonTranscribeProcessorConfigurati try writer["EnablePartialResultsStabilization"].write(value.enablePartialResultsStabilization) try writer["FilterPartialResults"].write(value.filterPartialResults) try writer["IdentifyLanguage"].write(value.identifyLanguage) + try writer["IdentifyMultipleLanguages"].write(value.identifyMultipleLanguages) try writer["LanguageCode"].write(value.languageCode) try writer["LanguageModelName"].write(value.languageModelName) try writer["LanguageOptions"].write(value.languageOptions) @@ -7437,6 +7447,7 @@ extension ChimeSDKMediaPipelinesClientTypes.AmazonTranscribeProcessorConfigurati value.languageModelName = try reader["LanguageModelName"].readIfPresent() value.filterPartialResults = try reader["FilterPartialResults"].readIfPresent() ?? false value.identifyLanguage = try reader["IdentifyLanguage"].readIfPresent() ?? false + value.identifyMultipleLanguages = try reader["IdentifyMultipleLanguages"].readIfPresent() ?? false value.languageOptions = try reader["LanguageOptions"].readIfPresent() value.preferredLanguage = try reader["PreferredLanguage"].readIfPresent() value.vocabularyNames = try reader["VocabularyNames"].readIfPresent() diff --git a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/Models.swift b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/Models.swift index d6fc6a6b84a..48cdb077032 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/Models.swift +++ b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -255,7 +255,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -286,7 +286,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -317,7 +317,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -348,7 +348,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -379,7 +379,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -412,7 +412,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -445,7 +445,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -476,7 +476,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -507,7 +507,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -627,7 +627,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1279,7 +1279,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1914,7 +1914,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2355,7 +2355,7 @@ extension UpdateAttendeeCapabilitiesInput { extension BatchCreateAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateAttendeeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2368,14 +2368,14 @@ extension BatchCreateAttendeeOutput { extension BatchUpdateAttendeeCapabilitiesExceptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateAttendeeCapabilitiesExceptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateAttendeeCapabilitiesExceptOutput { return BatchUpdateAttendeeCapabilitiesExceptOutput() } } extension CreateAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAttendeeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2387,7 +2387,7 @@ extension CreateAttendeeOutput { extension CreateMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMeetingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2399,7 +2399,7 @@ extension CreateMeetingOutput { extension CreateMeetingWithAttendeesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMeetingWithAttendeesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMeetingWithAttendeesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2413,21 +2413,21 @@ extension CreateMeetingWithAttendeesOutput { extension DeleteAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttendeeOutput { return DeleteAttendeeOutput() } } extension DeleteMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMeetingOutput { return DeleteMeetingOutput() } } extension GetAttendeeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAttendeeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAttendeeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2439,7 +2439,7 @@ extension GetAttendeeOutput { extension GetMeetingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMeetingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMeetingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2451,7 +2451,7 @@ extension GetMeetingOutput { extension ListAttendeesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttendeesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttendeesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2464,7 +2464,7 @@ extension ListAttendeesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2476,35 +2476,35 @@ extension ListTagsForResourceOutput { extension StartMeetingTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMeetingTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMeetingTranscriptionOutput { return StartMeetingTranscriptionOutput() } } extension StopMeetingTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMeetingTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMeetingTranscriptionOutput { return StopMeetingTranscriptionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAttendeeCapabilitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAttendeeCapabilitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAttendeeCapabilitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2516,7 +2516,7 @@ extension UpdateAttendeeCapabilitiesOutput { enum BatchCreateAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2538,7 +2538,7 @@ enum BatchCreateAttendeeOutputError { enum BatchUpdateAttendeeCapabilitiesExceptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2559,7 +2559,7 @@ enum BatchUpdateAttendeeCapabilitiesExceptOutputError { enum CreateAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2581,7 +2581,7 @@ enum CreateAttendeeOutputError { enum CreateMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2602,7 +2602,7 @@ enum CreateMeetingOutputError { enum CreateMeetingWithAttendeesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2623,7 +2623,7 @@ enum CreateMeetingWithAttendeesOutputError { enum DeleteAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2643,7 +2643,7 @@ enum DeleteAttendeeOutputError { enum DeleteMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2663,7 +2663,7 @@ enum DeleteMeetingOutputError { enum GetAttendeeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2683,7 +2683,7 @@ enum GetAttendeeOutputError { enum GetMeetingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2703,7 +2703,7 @@ enum GetMeetingOutputError { enum ListAttendeesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2723,7 +2723,7 @@ enum ListAttendeesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2744,7 +2744,7 @@ enum ListTagsForResourceOutputError { enum StartMeetingTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2766,7 +2766,7 @@ enum StartMeetingTranscriptionOutputError { enum StopMeetingTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2787,7 +2787,7 @@ enum StopMeetingTranscriptionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2809,7 +2809,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2830,7 +2830,7 @@ enum UntagResourceOutputError { enum UpdateAttendeeCapabilitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/Models.swift b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/Models.swift index ebf73c77a6f..0cbd30a13f7 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/Models.swift +++ b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -247,7 +247,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -301,7 +301,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -328,7 +328,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -355,7 +355,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -382,7 +382,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -409,7 +409,7 @@ public struct ThrottledClientException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -436,7 +436,7 @@ public struct UnauthorizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -543,7 +543,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1094,6 +1094,11 @@ extension ChimeSDKMessagingClientTypes { } +extension ChimeSDKMessagingClientTypes.MessageAttributeValue: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "MessageAttributeValue(stringValues: \"CONTENT_REDACTED\")"} +} + extension ChimeSDKMessagingClientTypes { public enum PushNotificationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1195,7 +1200,7 @@ extension ChimeSDKMessagingClientTypes { extension ChimeSDKMessagingClientTypes.ChannelMessageCallback: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ChannelMessageCallback(messageAttributes: \(Swift.String(describing: messageAttributes)), messageId: \(Swift.String(describing: messageId)), pushNotification: \(Swift.String(describing: pushNotification)), subChannelId: \(Swift.String(describing: subChannelId)), content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", metadata: \"CONTENT_REDACTED\")"} + "ChannelMessageCallback(messageId: \(Swift.String(describing: messageId)), pushNotification: \(Swift.String(describing: pushNotification)), subChannelId: \(Swift.String(describing: subChannelId)), content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", messageAttributes: [keys: \"CONTENT_REDACTED\", values: \(Swift.String(describing: messageAttributes?.values))], metadata: \"CONTENT_REDACTED\")"} } public struct ChannelFlowCallbackInput { @@ -1636,7 +1641,7 @@ extension ChimeSDKMessagingClientTypes { extension ChimeSDKMessagingClientTypes.ChannelMessage: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ChannelMessage(channelArn: \(Swift.String(describing: channelArn)), createdTimestamp: \(Swift.String(describing: createdTimestamp)), lastEditedTimestamp: \(Swift.String(describing: lastEditedTimestamp)), lastUpdatedTimestamp: \(Swift.String(describing: lastUpdatedTimestamp)), messageAttributes: \(Swift.String(describing: messageAttributes)), messageId: \(Swift.String(describing: messageId)), persistence: \(Swift.String(describing: persistence)), redacted: \(Swift.String(describing: redacted)), sender: \(Swift.String(describing: sender)), status: \(Swift.String(describing: status)), subChannelId: \(Swift.String(describing: subChannelId)), target: \(Swift.String(describing: target)), type: \(Swift.String(describing: type)), content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", metadata: \"CONTENT_REDACTED\")"} + "ChannelMessage(channelArn: \(Swift.String(describing: channelArn)), createdTimestamp: \(Swift.String(describing: createdTimestamp)), lastEditedTimestamp: \(Swift.String(describing: lastEditedTimestamp)), lastUpdatedTimestamp: \(Swift.String(describing: lastUpdatedTimestamp)), messageId: \(Swift.String(describing: messageId)), persistence: \(Swift.String(describing: persistence)), redacted: \(Swift.String(describing: redacted)), sender: \(Swift.String(describing: sender)), status: \(Swift.String(describing: status)), subChannelId: \(Swift.String(describing: subChannelId)), target: \(Swift.String(describing: target)), type: \(Swift.String(describing: type)), content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", messageAttributes: [keys: \"CONTENT_REDACTED\", values: \(Swift.String(describing: messageAttributes?.values))], metadata: \"CONTENT_REDACTED\")"} } extension ChimeSDKMessagingClientTypes { @@ -1705,7 +1710,7 @@ extension ChimeSDKMessagingClientTypes { extension ChimeSDKMessagingClientTypes.ChannelMessageSummary: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ChannelMessageSummary(createdTimestamp: \(Swift.String(describing: createdTimestamp)), lastEditedTimestamp: \(Swift.String(describing: lastEditedTimestamp)), lastUpdatedTimestamp: \(Swift.String(describing: lastUpdatedTimestamp)), messageAttributes: \(Swift.String(describing: messageAttributes)), messageId: \(Swift.String(describing: messageId)), redacted: \(Swift.String(describing: redacted)), sender: \(Swift.String(describing: sender)), status: \(Swift.String(describing: status)), target: \(Swift.String(describing: target)), type: \(Swift.String(describing: type)), content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", metadata: \"CONTENT_REDACTED\")"} + "ChannelMessageSummary(createdTimestamp: \(Swift.String(describing: createdTimestamp)), lastEditedTimestamp: \(Swift.String(describing: lastEditedTimestamp)), lastUpdatedTimestamp: \(Swift.String(describing: lastUpdatedTimestamp)), messageId: \(Swift.String(describing: messageId)), redacted: \(Swift.String(describing: redacted)), sender: \(Swift.String(describing: sender)), status: \(Swift.String(describing: status)), target: \(Swift.String(describing: target)), type: \(Swift.String(describing: type)), content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", messageAttributes: [keys: \"CONTENT_REDACTED\", values: \(Swift.String(describing: messageAttributes?.values))], metadata: \"CONTENT_REDACTED\")"} } extension ChimeSDKMessagingClientTypes { @@ -3679,7 +3684,7 @@ public struct SendChannelMessageInput { extension SendChannelMessageInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SendChannelMessageInput(channelArn: \(Swift.String(describing: channelArn)), chimeBearer: \(Swift.String(describing: chimeBearer)), messageAttributes: \(Swift.String(describing: messageAttributes)), persistence: \(Swift.String(describing: persistence)), pushNotification: \(Swift.String(describing: pushNotification)), subChannelId: \(Swift.String(describing: subChannelId)), target: \(Swift.String(describing: target)), type: \(Swift.String(describing: type)), clientRequestToken: \"CONTENT_REDACTED\", content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", metadata: \"CONTENT_REDACTED\")"} + "SendChannelMessageInput(channelArn: \(Swift.String(describing: channelArn)), chimeBearer: \(Swift.String(describing: chimeBearer)), persistence: \(Swift.String(describing: persistence)), pushNotification: \(Swift.String(describing: pushNotification)), subChannelId: \(Swift.String(describing: subChannelId)), target: \(Swift.String(describing: target)), type: \(Swift.String(describing: type)), clientRequestToken: \"CONTENT_REDACTED\", content: \"CONTENT_REDACTED\", contentType: \"CONTENT_REDACTED\", messageAttributes: [keys: \"CONTENT_REDACTED\", values: \(Swift.String(describing: messageAttributes?.values))], metadata: \"CONTENT_REDACTED\")"} } public struct SendChannelMessageOutput { @@ -3742,6 +3747,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceARN: \(Swift.String(describing: resourceARN)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UpdateChannelInput { /// The ARN of the channel. /// This member is required. @@ -5427,14 +5437,14 @@ extension UpdateChannelMessageInput { extension AssociateChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateChannelFlowOutput { return AssociateChannelFlowOutput() } } extension BatchCreateChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateChannelMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5447,7 +5457,7 @@ extension BatchCreateChannelMembershipOutput { extension ChannelFlowCallbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChannelFlowCallbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChannelFlowCallbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5460,7 +5470,7 @@ extension ChannelFlowCallbackOutput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5472,7 +5482,7 @@ extension CreateChannelOutput { extension CreateChannelBanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelBanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelBanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5485,7 +5495,7 @@ extension CreateChannelBanOutput { extension CreateChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5497,7 +5507,7 @@ extension CreateChannelFlowOutput { extension CreateChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5511,7 +5521,7 @@ extension CreateChannelMembershipOutput { extension CreateChannelModeratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelModeratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelModeratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5524,56 +5534,56 @@ extension CreateChannelModeratorOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteChannelBanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelBanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelBanOutput { return DeleteChannelBanOutput() } } extension DeleteChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelFlowOutput { return DeleteChannelFlowOutput() } } extension DeleteChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelMembershipOutput { return DeleteChannelMembershipOutput() } } extension DeleteChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelMessageOutput { return DeleteChannelMessageOutput() } } extension DeleteChannelModeratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelModeratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelModeratorOutput { return DeleteChannelModeratorOutput() } } extension DeleteMessagingStreamingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMessagingStreamingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMessagingStreamingConfigurationsOutput { return DeleteMessagingStreamingConfigurationsOutput() } } extension DescribeChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5585,7 +5595,7 @@ extension DescribeChannelOutput { extension DescribeChannelBanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelBanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelBanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5597,7 +5607,7 @@ extension DescribeChannelBanOutput { extension DescribeChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5609,7 +5619,7 @@ extension DescribeChannelFlowOutput { extension DescribeChannelMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5621,7 +5631,7 @@ extension DescribeChannelMembershipOutput { extension DescribeChannelMembershipForAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelMembershipForAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelMembershipForAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5633,7 +5643,7 @@ extension DescribeChannelMembershipForAppInstanceUserOutput { extension DescribeChannelModeratedByAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelModeratedByAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelModeratedByAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5645,7 +5655,7 @@ extension DescribeChannelModeratedByAppInstanceUserOutput { extension DescribeChannelModeratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelModeratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelModeratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5657,14 +5667,14 @@ extension DescribeChannelModeratorOutput { extension DisassociateChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateChannelFlowOutput { return DisassociateChannelFlowOutput() } } extension GetChannelMembershipPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelMembershipPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelMembershipPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5678,7 +5688,7 @@ extension GetChannelMembershipPreferencesOutput { extension GetChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5690,7 +5700,7 @@ extension GetChannelMessageOutput { extension GetChannelMessageStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelMessageStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelMessageStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5702,7 +5712,7 @@ extension GetChannelMessageStatusOutput { extension GetMessagingSessionEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMessagingSessionEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMessagingSessionEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5714,7 +5724,7 @@ extension GetMessagingSessionEndpointOutput { extension GetMessagingStreamingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMessagingStreamingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMessagingStreamingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5726,7 +5736,7 @@ extension GetMessagingStreamingConfigurationsOutput { extension ListChannelBansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelBansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelBansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5740,7 +5750,7 @@ extension ListChannelBansOutput { extension ListChannelFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelFlowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5753,7 +5763,7 @@ extension ListChannelFlowsOutput { extension ListChannelMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5767,7 +5777,7 @@ extension ListChannelMembershipsOutput { extension ListChannelMembershipsForAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelMembershipsForAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelMembershipsForAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5780,7 +5790,7 @@ extension ListChannelMembershipsForAppInstanceUserOutput { extension ListChannelMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5795,7 +5805,7 @@ extension ListChannelMessagesOutput { extension ListChannelModeratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelModeratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelModeratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5809,7 +5819,7 @@ extension ListChannelModeratorsOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5822,7 +5832,7 @@ extension ListChannelsOutput { extension ListChannelsAssociatedWithChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsAssociatedWithChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsAssociatedWithChannelFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5835,7 +5845,7 @@ extension ListChannelsAssociatedWithChannelFlowOutput { extension ListChannelsModeratedByAppInstanceUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsModeratedByAppInstanceUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsModeratedByAppInstanceUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5848,7 +5858,7 @@ extension ListChannelsModeratedByAppInstanceUserOutput { extension ListSubChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5862,7 +5872,7 @@ extension ListSubChannelsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5874,7 +5884,7 @@ extension ListTagsForResourceOutput { extension PutChannelExpirationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutChannelExpirationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutChannelExpirationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5887,7 +5897,7 @@ extension PutChannelExpirationSettingsOutput { extension PutChannelMembershipPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutChannelMembershipPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutChannelMembershipPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5901,7 +5911,7 @@ extension PutChannelMembershipPreferencesOutput { extension PutMessagingStreamingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMessagingStreamingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMessagingStreamingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5913,7 +5923,7 @@ extension PutMessagingStreamingConfigurationsOutput { extension RedactChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RedactChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RedactChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5927,7 +5937,7 @@ extension RedactChannelMessageOutput { extension SearchChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5940,7 +5950,7 @@ extension SearchChannelsOutput { extension SendChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5955,21 +5965,21 @@ extension SendChannelMessageOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5981,7 +5991,7 @@ extension UpdateChannelOutput { extension UpdateChannelFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5993,7 +6003,7 @@ extension UpdateChannelFlowOutput { extension UpdateChannelMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6008,7 +6018,7 @@ extension UpdateChannelMessageOutput { extension UpdateChannelReadMarkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelReadMarkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelReadMarkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6020,7 +6030,7 @@ extension UpdateChannelReadMarkerOutput { enum AssociateChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6041,7 +6051,7 @@ enum AssociateChannelFlowOutputError { enum BatchCreateChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6062,7 +6072,7 @@ enum BatchCreateChannelMembershipOutputError { enum ChannelFlowCallbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6082,7 +6092,7 @@ enum ChannelFlowCallbackOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6103,7 +6113,7 @@ enum CreateChannelOutputError { enum CreateChannelBanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6124,7 +6134,7 @@ enum CreateChannelBanOutputError { enum CreateChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6145,7 +6155,7 @@ enum CreateChannelFlowOutputError { enum CreateChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6167,7 +6177,7 @@ enum CreateChannelMembershipOutputError { enum CreateChannelModeratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6188,7 +6198,7 @@ enum CreateChannelModeratorOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6208,7 +6218,7 @@ enum DeleteChannelOutputError { enum DeleteChannelBanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6227,7 +6237,7 @@ enum DeleteChannelBanOutputError { enum DeleteChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6247,7 +6257,7 @@ enum DeleteChannelFlowOutputError { enum DeleteChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6267,7 +6277,7 @@ enum DeleteChannelMembershipOutputError { enum DeleteChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6286,7 +6296,7 @@ enum DeleteChannelMessageOutputError { enum DeleteChannelModeratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6305,7 +6315,7 @@ enum DeleteChannelModeratorOutputError { enum DeleteMessagingStreamingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6324,7 +6334,7 @@ enum DeleteMessagingStreamingConfigurationsOutputError { enum DescribeChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6343,7 +6353,7 @@ enum DescribeChannelOutputError { enum DescribeChannelBanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6363,7 +6373,7 @@ enum DescribeChannelBanOutputError { enum DescribeChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6382,7 +6392,7 @@ enum DescribeChannelFlowOutputError { enum DescribeChannelMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6402,7 +6412,7 @@ enum DescribeChannelMembershipOutputError { enum DescribeChannelMembershipForAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6421,7 +6431,7 @@ enum DescribeChannelMembershipForAppInstanceUserOutputError { enum DescribeChannelModeratedByAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6440,7 +6450,7 @@ enum DescribeChannelModeratedByAppInstanceUserOutputError { enum DescribeChannelModeratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6460,7 +6470,7 @@ enum DescribeChannelModeratorOutputError { enum DisassociateChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6481,7 +6491,7 @@ enum DisassociateChannelFlowOutputError { enum GetChannelMembershipPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6500,7 +6510,7 @@ enum GetChannelMembershipPreferencesOutputError { enum GetChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6520,7 +6530,7 @@ enum GetChannelMessageOutputError { enum GetChannelMessageStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6539,7 +6549,7 @@ enum GetChannelMessageStatusOutputError { enum GetMessagingSessionEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6557,7 +6567,7 @@ enum GetMessagingSessionEndpointOutputError { enum GetMessagingStreamingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6577,7 +6587,7 @@ enum GetMessagingStreamingConfigurationsOutputError { enum ListChannelBansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6596,7 +6606,7 @@ enum ListChannelBansOutputError { enum ListChannelFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6615,7 +6625,7 @@ enum ListChannelFlowsOutputError { enum ListChannelMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6634,7 +6644,7 @@ enum ListChannelMembershipsOutputError { enum ListChannelMembershipsForAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6653,7 +6663,7 @@ enum ListChannelMembershipsForAppInstanceUserOutputError { enum ListChannelMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6672,7 +6682,7 @@ enum ListChannelMessagesOutputError { enum ListChannelModeratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6691,7 +6701,7 @@ enum ListChannelModeratorsOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6710,7 +6720,7 @@ enum ListChannelsOutputError { enum ListChannelsAssociatedWithChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6729,7 +6739,7 @@ enum ListChannelsAssociatedWithChannelFlowOutputError { enum ListChannelsModeratedByAppInstanceUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6748,7 +6758,7 @@ enum ListChannelsModeratedByAppInstanceUserOutputError { enum ListSubChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6767,7 +6777,7 @@ enum ListSubChannelsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6786,7 +6796,7 @@ enum ListTagsForResourceOutputError { enum PutChannelExpirationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6806,7 +6816,7 @@ enum PutChannelExpirationSettingsOutputError { enum PutChannelMembershipPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6826,7 +6836,7 @@ enum PutChannelMembershipPreferencesOutputError { enum PutMessagingStreamingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6847,7 +6857,7 @@ enum PutMessagingStreamingConfigurationsOutputError { enum RedactChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6867,7 +6877,7 @@ enum RedactChannelMessageOutputError { enum SearchChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6886,7 +6896,7 @@ enum SearchChannelsOutputError { enum SendChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6906,7 +6916,7 @@ enum SendChannelMessageOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6926,7 +6936,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6945,7 +6955,7 @@ enum UntagResourceOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6965,7 +6975,7 @@ enum UpdateChannelOutputError { enum UpdateChannelFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6985,7 +6995,7 @@ enum UpdateChannelFlowOutputError { enum UpdateChannelMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7005,7 +7015,7 @@ enum UpdateChannelMessageOutputError { enum UpdateChannelReadMarkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/Models.swift b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/Models.swift index 2e60df68735..622eb81b37a 100644 --- a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/Models.swift +++ b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -229,7 +229,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -342,7 +342,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -369,7 +369,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -396,7 +396,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -423,7 +423,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -450,7 +450,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -477,7 +477,7 @@ public struct ThrottledClientException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -504,7 +504,7 @@ public struct UnauthorizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -540,6 +540,11 @@ public struct AssociatePhoneNumbersWithVoiceConnectorInput { } } +extension AssociatePhoneNumbersWithVoiceConnectorInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AssociatePhoneNumbersWithVoiceConnectorInput(forceAssociate: \(Swift.String(describing: forceAssociate)), voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + extension ChimeSDKVoiceClientTypes { /// If a phone number action fails for one or more of the phone numbers in a request, a list of the failed phone numbers is returned, along with error codes and error messages. public struct PhoneNumberError { @@ -603,6 +608,11 @@ public struct AssociatePhoneNumbersWithVoiceConnectorGroupInput { } } +extension AssociatePhoneNumbersWithVoiceConnectorGroupInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AssociatePhoneNumbersWithVoiceConnectorGroupInput(forceAssociate: \(Swift.String(describing: forceAssociate)), voiceConnectorGroupId: \(Swift.String(describing: voiceConnectorGroupId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct AssociatePhoneNumbersWithVoiceConnectorGroupOutput { /// If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public var phoneNumberErrors: [ChimeSDKVoiceClientTypes.PhoneNumberError]? @@ -903,7 +913,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -941,7 +951,7 @@ public struct CreatePhoneNumberOrderInput { extension CreatePhoneNumberOrderInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreatePhoneNumberOrderInput(e164PhoneNumbers: \(Swift.String(describing: e164PhoneNumbers)), productType: \(Swift.String(describing: productType)), name: \"CONTENT_REDACTED\")"} + "CreatePhoneNumberOrderInput(productType: \(Swift.String(describing: productType)), e164PhoneNumbers: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } extension ChimeSDKVoiceClientTypes { @@ -1263,7 +1273,7 @@ public struct CreateProxySessionInput { extension CreateProxySessionInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateProxySessionInput(capabilities: \(Swift.String(describing: capabilities)), expiryMinutes: \(Swift.String(describing: expiryMinutes)), geoMatchLevel: \(Swift.String(describing: geoMatchLevel)), geoMatchParams: \(Swift.String(describing: geoMatchParams)), numberSelectionBehavior: \(Swift.String(describing: numberSelectionBehavior)), participantPhoneNumbers: \(Swift.String(describing: participantPhoneNumbers)), voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), name: \"CONTENT_REDACTED\")"} + "CreateProxySessionInput(capabilities: \(Swift.String(describing: capabilities)), expiryMinutes: \(Swift.String(describing: expiryMinutes)), geoMatchLevel: \(Swift.String(describing: geoMatchLevel)), geoMatchParams: \(Swift.String(describing: geoMatchParams)), numberSelectionBehavior: \(Swift.String(describing: numberSelectionBehavior)), voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), name: \"CONTENT_REDACTED\", participantPhoneNumbers: \"CONTENT_REDACTED\")"} } extension ChimeSDKVoiceClientTypes { @@ -1412,7 +1422,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1586,7 +1596,7 @@ public struct CreateSipMediaApplicationCallInput { extension CreateSipMediaApplicationCallInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateSipMediaApplicationCallInput(argumentsMap: \(Swift.String(describing: argumentsMap)), sipHeaders: \(Swift.String(describing: sipHeaders)), sipMediaApplicationId: \(Swift.String(describing: sipMediaApplicationId)), fromPhoneNumber: \"CONTENT_REDACTED\", toPhoneNumber: \"CONTENT_REDACTED\")"} + "CreateSipMediaApplicationCallInput(sipMediaApplicationId: \(Swift.String(describing: sipMediaApplicationId)), argumentsMap: \"CONTENT_REDACTED\", fromPhoneNumber: \"CONTENT_REDACTED\", sipHeaders: \"CONTENT_REDACTED\", toPhoneNumber: \"CONTENT_REDACTED\")"} } extension ChimeSDKVoiceClientTypes { @@ -1992,7 +2002,7 @@ public struct GoneException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2352,6 +2362,11 @@ public struct DeleteVoiceConnectorTerminationCredentialsInput { } } +extension DeleteVoiceConnectorTerminationCredentialsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DeleteVoiceConnectorTerminationCredentialsInput(voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), usernames: \"CONTENT_REDACTED\")"} +} + public struct DeleteVoiceProfileInput { /// The voice profile ID. /// This member is required. @@ -2396,6 +2411,11 @@ public struct DisassociatePhoneNumbersFromVoiceConnectorInput { } } +extension DisassociatePhoneNumbersFromVoiceConnectorInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DisassociatePhoneNumbersFromVoiceConnectorInput(voiceConnectorId: \(Swift.String(describing: voiceConnectorId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct DisassociatePhoneNumbersFromVoiceConnectorOutput { /// If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public var phoneNumberErrors: [ChimeSDKVoiceClientTypes.PhoneNumberError]? @@ -2426,6 +2446,11 @@ public struct DisassociatePhoneNumbersFromVoiceConnectorGroupInput { } } +extension DisassociatePhoneNumbersFromVoiceConnectorGroupInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DisassociatePhoneNumbersFromVoiceConnectorGroupInput(voiceConnectorGroupId: \(Swift.String(describing: voiceConnectorGroupId)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + public struct DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { /// If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages. public var phoneNumberErrors: [ChimeSDKVoiceClientTypes.PhoneNumberError]? @@ -2886,6 +2911,11 @@ extension ChimeSDKVoiceClientTypes { } +extension ChimeSDKVoiceClientTypes.SipMediaApplicationAlexaSkillConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SipMediaApplicationAlexaSkillConfiguration(alexaSkillStatus: \(Swift.String(describing: alexaSkillStatus)), alexaSkillIds: \"CONTENT_REDACTED\")"} +} + public struct GetSipMediaApplicationAlexaSkillConfigurationOutput { /// Returns the Alexa Skill configuration. public var sipMediaApplicationAlexaSkillConfiguration: ChimeSDKVoiceClientTypes.SipMediaApplicationAlexaSkillConfiguration? @@ -4134,6 +4164,11 @@ public struct ListVoiceConnectorTerminationCredentialsOutput { } } +extension ListVoiceConnectorTerminationCredentialsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListVoiceConnectorTerminationCredentialsOutput(usernames: \"CONTENT_REDACTED\")"} +} + public struct ListVoiceProfileDomainsInput { /// The maximum number of results to return in a single call. public var maxResults: Swift.Int? @@ -4669,6 +4704,11 @@ public struct SearchAvailablePhoneNumbersOutput { } } +extension SearchAvailablePhoneNumbersOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SearchAvailablePhoneNumbersOutput(nextToken: \(Swift.String(describing: nextToken)), e164PhoneNumbers: \"CONTENT_REDACTED\")"} +} + /// A well-formed request couldn't be followed due to semantic errors. public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -4682,7 +4722,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4883,7 +4923,7 @@ public struct UntagResourceInput { extension UntagResourceInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UntagResourceInput(tagKeys: \(Swift.String(describing: tagKeys)), resourceARN: \"CONTENT_REDACTED\")"} + "UntagResourceInput(resourceARN: \"CONTENT_REDACTED\", tagKeys: \"CONTENT_REDACTED\")"} } public struct UpdateGlobalSettingsInput { @@ -5053,6 +5093,11 @@ public struct UpdateSipMediaApplicationCallInput { } } +extension UpdateSipMediaApplicationCallInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateSipMediaApplicationCallInput(sipMediaApplicationId: \(Swift.String(describing: sipMediaApplicationId)), transactionId: \(Swift.String(describing: transactionId)), arguments: \"CONTENT_REDACTED\")"} +} + public struct UpdateSipMediaApplicationCallOutput { /// A Call instance for a SIP media application. public var sipMediaApplicationCall: ChimeSDKVoiceClientTypes.SipMediaApplicationCall? @@ -6935,7 +6980,7 @@ extension ValidateE911AddressInput { extension AssociatePhoneNumbersWithVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6947,7 +6992,7 @@ extension AssociatePhoneNumbersWithVoiceConnectorOutput { extension AssociatePhoneNumbersWithVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePhoneNumbersWithVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6959,7 +7004,7 @@ extension AssociatePhoneNumbersWithVoiceConnectorGroupOutput { extension BatchDeletePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeletePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeletePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6971,7 +7016,7 @@ extension BatchDeletePhoneNumberOutput { extension BatchUpdatePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdatePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdatePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6983,7 +7028,7 @@ extension BatchUpdatePhoneNumberOutput { extension CreatePhoneNumberOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePhoneNumberOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePhoneNumberOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6995,7 +7040,7 @@ extension CreatePhoneNumberOrderOutput { extension CreateProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProxySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7007,7 +7052,7 @@ extension CreateProxySessionOutput { extension CreateSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSipMediaApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7019,7 +7064,7 @@ extension CreateSipMediaApplicationOutput { extension CreateSipMediaApplicationCallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSipMediaApplicationCallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSipMediaApplicationCallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7031,7 +7076,7 @@ extension CreateSipMediaApplicationCallOutput { extension CreateSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSipRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7043,7 +7088,7 @@ extension CreateSipRuleOutput { extension CreateVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7055,7 +7100,7 @@ extension CreateVoiceConnectorOutput { extension CreateVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7067,7 +7112,7 @@ extension CreateVoiceConnectorGroupOutput { extension CreateVoiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7079,7 +7124,7 @@ extension CreateVoiceProfileOutput { extension CreateVoiceProfileDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceProfileDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceProfileDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7091,105 +7136,105 @@ extension CreateVoiceProfileDomainOutput { extension DeletePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePhoneNumberOutput { return DeletePhoneNumberOutput() } } extension DeleteProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProxySessionOutput { return DeleteProxySessionOutput() } } extension DeleteSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSipMediaApplicationOutput { return DeleteSipMediaApplicationOutput() } } extension DeleteSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSipRuleOutput { return DeleteSipRuleOutput() } } extension DeleteVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorOutput { return DeleteVoiceConnectorOutput() } } extension DeleteVoiceConnectorEmergencyCallingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorEmergencyCallingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorEmergencyCallingConfigurationOutput { return DeleteVoiceConnectorEmergencyCallingConfigurationOutput() } } extension DeleteVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorGroupOutput { return DeleteVoiceConnectorGroupOutput() } } extension DeleteVoiceConnectorOriginationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorOriginationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorOriginationOutput { return DeleteVoiceConnectorOriginationOutput() } } extension DeleteVoiceConnectorProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorProxyOutput { return DeleteVoiceConnectorProxyOutput() } } extension DeleteVoiceConnectorStreamingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorStreamingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorStreamingConfigurationOutput { return DeleteVoiceConnectorStreamingConfigurationOutput() } } extension DeleteVoiceConnectorTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorTerminationOutput { return DeleteVoiceConnectorTerminationOutput() } } extension DeleteVoiceConnectorTerminationCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceConnectorTerminationCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceConnectorTerminationCredentialsOutput { return DeleteVoiceConnectorTerminationCredentialsOutput() } } extension DeleteVoiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceProfileOutput { return DeleteVoiceProfileOutput() } } extension DeleteVoiceProfileDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceProfileDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceProfileDomainOutput { return DeleteVoiceProfileDomainOutput() } } extension DisassociatePhoneNumbersFromVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7201,7 +7246,7 @@ extension DisassociatePhoneNumbersFromVoiceConnectorOutput { extension DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7213,7 +7258,7 @@ extension DisassociatePhoneNumbersFromVoiceConnectorGroupOutput { extension GetGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGlobalSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7225,7 +7270,7 @@ extension GetGlobalSettingsOutput { extension GetPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7237,7 +7282,7 @@ extension GetPhoneNumberOutput { extension GetPhoneNumberOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPhoneNumberOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPhoneNumberOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7249,7 +7294,7 @@ extension GetPhoneNumberOrderOutput { extension GetPhoneNumberSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPhoneNumberSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPhoneNumberSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7262,7 +7307,7 @@ extension GetPhoneNumberSettingsOutput { extension GetProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProxySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7274,7 +7319,7 @@ extension GetProxySessionOutput { extension GetSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipMediaApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7286,7 +7331,7 @@ extension GetSipMediaApplicationOutput { extension GetSipMediaApplicationAlexaSkillConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipMediaApplicationAlexaSkillConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipMediaApplicationAlexaSkillConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7298,7 +7343,7 @@ extension GetSipMediaApplicationAlexaSkillConfigurationOutput { extension GetSipMediaApplicationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipMediaApplicationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipMediaApplicationLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7310,7 +7355,7 @@ extension GetSipMediaApplicationLoggingConfigurationOutput { extension GetSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSipRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7322,7 +7367,7 @@ extension GetSipRuleOutput { extension GetSpeakerSearchTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSpeakerSearchTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSpeakerSearchTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7334,7 +7379,7 @@ extension GetSpeakerSearchTaskOutput { extension GetVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7346,7 +7391,7 @@ extension GetVoiceConnectorOutput { extension GetVoiceConnectorEmergencyCallingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorEmergencyCallingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorEmergencyCallingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7358,7 +7403,7 @@ extension GetVoiceConnectorEmergencyCallingConfigurationOutput { extension GetVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7370,7 +7415,7 @@ extension GetVoiceConnectorGroupOutput { extension GetVoiceConnectorLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7382,7 +7427,7 @@ extension GetVoiceConnectorLoggingConfigurationOutput { extension GetVoiceConnectorOriginationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorOriginationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorOriginationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7394,7 +7439,7 @@ extension GetVoiceConnectorOriginationOutput { extension GetVoiceConnectorProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7406,7 +7451,7 @@ extension GetVoiceConnectorProxyOutput { extension GetVoiceConnectorStreamingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorStreamingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorStreamingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7418,7 +7463,7 @@ extension GetVoiceConnectorStreamingConfigurationOutput { extension GetVoiceConnectorTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorTerminationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7430,7 +7475,7 @@ extension GetVoiceConnectorTerminationOutput { extension GetVoiceConnectorTerminationHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceConnectorTerminationHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceConnectorTerminationHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7442,7 +7487,7 @@ extension GetVoiceConnectorTerminationHealthOutput { extension GetVoiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7454,7 +7499,7 @@ extension GetVoiceProfileOutput { extension GetVoiceProfileDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceProfileDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceProfileDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7466,7 +7511,7 @@ extension GetVoiceProfileDomainOutput { extension GetVoiceToneAnalysisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceToneAnalysisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceToneAnalysisTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7478,7 +7523,7 @@ extension GetVoiceToneAnalysisTaskOutput { extension ListAvailableVoiceConnectorRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableVoiceConnectorRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableVoiceConnectorRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7490,7 +7535,7 @@ extension ListAvailableVoiceConnectorRegionsOutput { extension ListPhoneNumberOrdersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumberOrdersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumberOrdersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7503,7 +7548,7 @@ extension ListPhoneNumberOrdersOutput { extension ListPhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7516,7 +7561,7 @@ extension ListPhoneNumbersOutput { extension ListProxySessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProxySessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProxySessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7529,7 +7574,7 @@ extension ListProxySessionsOutput { extension ListSipMediaApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSipMediaApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSipMediaApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7542,7 +7587,7 @@ extension ListSipMediaApplicationsOutput { extension ListSipRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSipRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSipRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7555,7 +7600,7 @@ extension ListSipRulesOutput { extension ListSupportedPhoneNumberCountriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSupportedPhoneNumberCountriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSupportedPhoneNumberCountriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7567,7 +7612,7 @@ extension ListSupportedPhoneNumberCountriesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7579,7 +7624,7 @@ extension ListTagsForResourceOutput { extension ListVoiceConnectorGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceConnectorGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceConnectorGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7592,7 +7637,7 @@ extension ListVoiceConnectorGroupsOutput { extension ListVoiceConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7605,7 +7650,7 @@ extension ListVoiceConnectorsOutput { extension ListVoiceConnectorTerminationCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceConnectorTerminationCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceConnectorTerminationCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7617,7 +7662,7 @@ extension ListVoiceConnectorTerminationCredentialsOutput { extension ListVoiceProfileDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceProfileDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceProfileDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7630,7 +7675,7 @@ extension ListVoiceProfileDomainsOutput { extension ListVoiceProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVoiceProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVoiceProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7643,7 +7688,7 @@ extension ListVoiceProfilesOutput { extension PutSipMediaApplicationAlexaSkillConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSipMediaApplicationAlexaSkillConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSipMediaApplicationAlexaSkillConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7655,7 +7700,7 @@ extension PutSipMediaApplicationAlexaSkillConfigurationOutput { extension PutSipMediaApplicationLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSipMediaApplicationLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSipMediaApplicationLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7667,7 +7712,7 @@ extension PutSipMediaApplicationLoggingConfigurationOutput { extension PutVoiceConnectorEmergencyCallingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorEmergencyCallingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorEmergencyCallingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7679,7 +7724,7 @@ extension PutVoiceConnectorEmergencyCallingConfigurationOutput { extension PutVoiceConnectorLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7691,7 +7736,7 @@ extension PutVoiceConnectorLoggingConfigurationOutput { extension PutVoiceConnectorOriginationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorOriginationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorOriginationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7703,7 +7748,7 @@ extension PutVoiceConnectorOriginationOutput { extension PutVoiceConnectorProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7715,7 +7760,7 @@ extension PutVoiceConnectorProxyOutput { extension PutVoiceConnectorStreamingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorStreamingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorStreamingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7727,7 +7772,7 @@ extension PutVoiceConnectorStreamingConfigurationOutput { extension PutVoiceConnectorTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorTerminationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7739,14 +7784,14 @@ extension PutVoiceConnectorTerminationOutput { extension PutVoiceConnectorTerminationCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVoiceConnectorTerminationCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVoiceConnectorTerminationCredentialsOutput { return PutVoiceConnectorTerminationCredentialsOutput() } } extension RestorePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestorePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestorePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7758,7 +7803,7 @@ extension RestorePhoneNumberOutput { extension SearchAvailablePhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchAvailablePhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchAvailablePhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7771,7 +7816,7 @@ extension SearchAvailablePhoneNumbersOutput { extension StartSpeakerSearchTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSpeakerSearchTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSpeakerSearchTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7783,7 +7828,7 @@ extension StartSpeakerSearchTaskOutput { extension StartVoiceToneAnalysisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartVoiceToneAnalysisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartVoiceToneAnalysisTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7795,42 +7840,42 @@ extension StartVoiceToneAnalysisTaskOutput { extension StopSpeakerSearchTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSpeakerSearchTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSpeakerSearchTaskOutput { return StopSpeakerSearchTaskOutput() } } extension StopVoiceToneAnalysisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopVoiceToneAnalysisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopVoiceToneAnalysisTaskOutput { return StopVoiceToneAnalysisTaskOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalSettingsOutput { return UpdateGlobalSettingsOutput() } } extension UpdatePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7842,14 +7887,14 @@ extension UpdatePhoneNumberOutput { extension UpdatePhoneNumberSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberSettingsOutput { return UpdatePhoneNumberSettingsOutput() } } extension UpdateProxySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProxySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProxySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7861,7 +7906,7 @@ extension UpdateProxySessionOutput { extension UpdateSipMediaApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSipMediaApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSipMediaApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7873,7 +7918,7 @@ extension UpdateSipMediaApplicationOutput { extension UpdateSipMediaApplicationCallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSipMediaApplicationCallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSipMediaApplicationCallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7885,7 +7930,7 @@ extension UpdateSipMediaApplicationCallOutput { extension UpdateSipRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSipRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSipRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7897,7 +7942,7 @@ extension UpdateSipRuleOutput { extension UpdateVoiceConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7909,7 +7954,7 @@ extension UpdateVoiceConnectorOutput { extension UpdateVoiceConnectorGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceConnectorGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceConnectorGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7921,7 +7966,7 @@ extension UpdateVoiceConnectorGroupOutput { extension UpdateVoiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7933,7 +7978,7 @@ extension UpdateVoiceProfileOutput { extension UpdateVoiceProfileDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceProfileDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceProfileDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7945,7 +7990,7 @@ extension UpdateVoiceProfileDomainOutput { extension ValidateE911AddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateE911AddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateE911AddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7960,7 +8005,7 @@ extension ValidateE911AddressOutput { enum AssociatePhoneNumbersWithVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7981,7 +8026,7 @@ enum AssociatePhoneNumbersWithVoiceConnectorOutputError { enum AssociatePhoneNumbersWithVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8002,7 +8047,7 @@ enum AssociatePhoneNumbersWithVoiceConnectorGroupOutputError { enum BatchDeletePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8022,7 +8067,7 @@ enum BatchDeletePhoneNumberOutputError { enum BatchUpdatePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8042,7 +8087,7 @@ enum BatchUpdatePhoneNumberOutputError { enum CreatePhoneNumberOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8063,7 +8108,7 @@ enum CreatePhoneNumberOrderOutputError { enum CreateProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8083,7 +8128,7 @@ enum CreateProxySessionOutputError { enum CreateSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8105,7 +8150,7 @@ enum CreateSipMediaApplicationOutputError { enum CreateSipMediaApplicationCallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8126,7 +8171,7 @@ enum CreateSipMediaApplicationCallOutputError { enum CreateSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8148,7 +8193,7 @@ enum CreateSipRuleOutputError { enum CreateVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8169,7 +8214,7 @@ enum CreateVoiceConnectorOutputError { enum CreateVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8190,7 +8235,7 @@ enum CreateVoiceConnectorGroupOutputError { enum CreateVoiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8214,7 +8259,7 @@ enum CreateVoiceProfileOutputError { enum CreateVoiceProfileDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8236,7 +8281,7 @@ enum CreateVoiceProfileDomainOutputError { enum DeletePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8256,7 +8301,7 @@ enum DeletePhoneNumberOutputError { enum DeleteProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8276,7 +8321,7 @@ enum DeleteProxySessionOutputError { enum DeleteSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8297,7 +8342,7 @@ enum DeleteSipMediaApplicationOutputError { enum DeleteSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8318,7 +8363,7 @@ enum DeleteSipRuleOutputError { enum DeleteVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8339,7 +8384,7 @@ enum DeleteVoiceConnectorOutputError { enum DeleteVoiceConnectorEmergencyCallingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8359,7 +8404,7 @@ enum DeleteVoiceConnectorEmergencyCallingConfigurationOutputError { enum DeleteVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8380,7 +8425,7 @@ enum DeleteVoiceConnectorGroupOutputError { enum DeleteVoiceConnectorOriginationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8400,7 +8445,7 @@ enum DeleteVoiceConnectorOriginationOutputError { enum DeleteVoiceConnectorProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8420,7 +8465,7 @@ enum DeleteVoiceConnectorProxyOutputError { enum DeleteVoiceConnectorStreamingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8440,7 +8485,7 @@ enum DeleteVoiceConnectorStreamingConfigurationOutputError { enum DeleteVoiceConnectorTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8460,7 +8505,7 @@ enum DeleteVoiceConnectorTerminationOutputError { enum DeleteVoiceConnectorTerminationCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8480,7 +8525,7 @@ enum DeleteVoiceConnectorTerminationCredentialsOutputError { enum DeleteVoiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8502,7 +8547,7 @@ enum DeleteVoiceProfileOutputError { enum DeleteVoiceProfileDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8524,7 +8569,7 @@ enum DeleteVoiceProfileDomainOutputError { enum DisassociatePhoneNumbersFromVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8544,7 +8589,7 @@ enum DisassociatePhoneNumbersFromVoiceConnectorOutputError { enum DisassociatePhoneNumbersFromVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8564,7 +8609,7 @@ enum DisassociatePhoneNumbersFromVoiceConnectorGroupOutputError { enum GetGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8583,7 +8628,7 @@ enum GetGlobalSettingsOutputError { enum GetPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8603,7 +8648,7 @@ enum GetPhoneNumberOutputError { enum GetPhoneNumberOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8623,7 +8668,7 @@ enum GetPhoneNumberOrderOutputError { enum GetPhoneNumberSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8642,7 +8687,7 @@ enum GetPhoneNumberSettingsOutputError { enum GetProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8662,7 +8707,7 @@ enum GetProxySessionOutputError { enum GetSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8682,7 +8727,7 @@ enum GetSipMediaApplicationOutputError { enum GetSipMediaApplicationAlexaSkillConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8702,7 +8747,7 @@ enum GetSipMediaApplicationAlexaSkillConfigurationOutputError { enum GetSipMediaApplicationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8722,7 +8767,7 @@ enum GetSipMediaApplicationLoggingConfigurationOutputError { enum GetSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8742,7 +8787,7 @@ enum GetSipRuleOutputError { enum GetSpeakerSearchTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8764,7 +8809,7 @@ enum GetSpeakerSearchTaskOutputError { enum GetVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8784,7 +8829,7 @@ enum GetVoiceConnectorOutputError { enum GetVoiceConnectorEmergencyCallingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8804,7 +8849,7 @@ enum GetVoiceConnectorEmergencyCallingConfigurationOutputError { enum GetVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8824,7 +8869,7 @@ enum GetVoiceConnectorGroupOutputError { enum GetVoiceConnectorLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8844,7 +8889,7 @@ enum GetVoiceConnectorLoggingConfigurationOutputError { enum GetVoiceConnectorOriginationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8864,7 +8909,7 @@ enum GetVoiceConnectorOriginationOutputError { enum GetVoiceConnectorProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8884,7 +8929,7 @@ enum GetVoiceConnectorProxyOutputError { enum GetVoiceConnectorStreamingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8904,7 +8949,7 @@ enum GetVoiceConnectorStreamingConfigurationOutputError { enum GetVoiceConnectorTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8924,7 +8969,7 @@ enum GetVoiceConnectorTerminationOutputError { enum GetVoiceConnectorTerminationHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8944,7 +8989,7 @@ enum GetVoiceConnectorTerminationHealthOutputError { enum GetVoiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8965,7 +9010,7 @@ enum GetVoiceProfileOutputError { enum GetVoiceProfileDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8986,7 +9031,7 @@ enum GetVoiceProfileDomainOutputError { enum GetVoiceToneAnalysisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9008,7 +9053,7 @@ enum GetVoiceToneAnalysisTaskOutputError { enum ListAvailableVoiceConnectorRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9027,7 +9072,7 @@ enum ListAvailableVoiceConnectorRegionsOutputError { enum ListPhoneNumberOrdersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9046,7 +9091,7 @@ enum ListPhoneNumberOrdersOutputError { enum ListPhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9066,7 +9111,7 @@ enum ListPhoneNumbersOutputError { enum ListProxySessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9086,7 +9131,7 @@ enum ListProxySessionsOutputError { enum ListSipMediaApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9105,7 +9150,7 @@ enum ListSipMediaApplicationsOutputError { enum ListSipRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9124,7 +9169,7 @@ enum ListSipRulesOutputError { enum ListSupportedPhoneNumberCountriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9144,7 +9189,7 @@ enum ListSupportedPhoneNumberCountriesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9163,7 +9208,7 @@ enum ListTagsForResourceOutputError { enum ListVoiceConnectorGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9182,7 +9227,7 @@ enum ListVoiceConnectorGroupsOutputError { enum ListVoiceConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9201,7 +9246,7 @@ enum ListVoiceConnectorsOutputError { enum ListVoiceConnectorTerminationCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9221,7 +9266,7 @@ enum ListVoiceConnectorTerminationCredentialsOutputError { enum ListVoiceProfileDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9241,7 +9286,7 @@ enum ListVoiceProfileDomainsOutputError { enum ListVoiceProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9261,7 +9306,7 @@ enum ListVoiceProfilesOutputError { enum PutSipMediaApplicationAlexaSkillConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9281,7 +9326,7 @@ enum PutSipMediaApplicationAlexaSkillConfigurationOutputError { enum PutSipMediaApplicationLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9301,7 +9346,7 @@ enum PutSipMediaApplicationLoggingConfigurationOutputError { enum PutVoiceConnectorEmergencyCallingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9321,7 +9366,7 @@ enum PutVoiceConnectorEmergencyCallingConfigurationOutputError { enum PutVoiceConnectorLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9341,7 +9386,7 @@ enum PutVoiceConnectorLoggingConfigurationOutputError { enum PutVoiceConnectorOriginationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9361,7 +9406,7 @@ enum PutVoiceConnectorOriginationOutputError { enum PutVoiceConnectorProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9382,7 +9427,7 @@ enum PutVoiceConnectorProxyOutputError { enum PutVoiceConnectorStreamingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9402,7 +9447,7 @@ enum PutVoiceConnectorStreamingConfigurationOutputError { enum PutVoiceConnectorTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9423,7 +9468,7 @@ enum PutVoiceConnectorTerminationOutputError { enum PutVoiceConnectorTerminationCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9443,7 +9488,7 @@ enum PutVoiceConnectorTerminationCredentialsOutputError { enum RestorePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9464,7 +9509,7 @@ enum RestorePhoneNumberOutputError { enum SearchAvailablePhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9484,7 +9529,7 @@ enum SearchAvailablePhoneNumbersOutputError { enum StartSpeakerSearchTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9509,7 +9554,7 @@ enum StartSpeakerSearchTaskOutputError { enum StartVoiceToneAnalysisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9534,7 +9579,7 @@ enum StartVoiceToneAnalysisTaskOutputError { enum StopSpeakerSearchTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9557,7 +9602,7 @@ enum StopSpeakerSearchTaskOutputError { enum StopVoiceToneAnalysisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9580,7 +9625,7 @@ enum StopVoiceToneAnalysisTaskOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9600,7 +9645,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9619,7 +9664,7 @@ enum UntagResourceOutputError { enum UpdateGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9638,7 +9683,7 @@ enum UpdateGlobalSettingsOutputError { enum UpdatePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9659,7 +9704,7 @@ enum UpdatePhoneNumberOutputError { enum UpdatePhoneNumberSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9678,7 +9723,7 @@ enum UpdatePhoneNumberSettingsOutputError { enum UpdateProxySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9698,7 +9743,7 @@ enum UpdateProxySessionOutputError { enum UpdateSipMediaApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9719,7 +9764,7 @@ enum UpdateSipMediaApplicationOutputError { enum UpdateSipMediaApplicationCallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9740,7 +9785,7 @@ enum UpdateSipMediaApplicationCallOutputError { enum UpdateSipRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9762,7 +9807,7 @@ enum UpdateSipRuleOutputError { enum UpdateVoiceConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9782,7 +9827,7 @@ enum UpdateVoiceConnectorOutputError { enum UpdateVoiceConnectorGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9803,7 +9848,7 @@ enum UpdateVoiceConnectorGroupOutputError { enum UpdateVoiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9826,7 +9871,7 @@ enum UpdateVoiceProfileOutputError { enum UpdateVoiceProfileDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9847,7 +9892,7 @@ enum UpdateVoiceProfileDomainOutputError { enum ValidateE911AddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/Models.swift b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/Models.swift index d7e2076cd33..43aff5d268a 100644 --- a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/Models.swift +++ b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -65,7 +65,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -935,7 +935,7 @@ extension CleanRoomsClientTypes { extension CleanRoomsClientTypes.AnalysisTemplate: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "AnalysisTemplate(analysisParameters: \(Swift.String(describing: analysisParameters)), arn: \(Swift.String(describing: arn)), collaborationArn: \(Swift.String(describing: collaborationArn)), collaborationId: \(Swift.String(describing: collaborationId)), createTime: \(Swift.String(describing: createTime)), description: \(Swift.String(describing: description)), format: \(Swift.String(describing: format)), id: \(Swift.String(describing: id)), membershipArn: \(Swift.String(describing: membershipArn)), membershipId: \(Swift.String(describing: membershipId)), name: \(Swift.String(describing: name)), schema: \(Swift.String(describing: schema)), updateTime: \(Swift.String(describing: updateTime)), validations: \(Swift.String(describing: validations)), source: \"CONTENT_REDACTED\")"} + "AnalysisTemplate(arn: \(Swift.String(describing: arn)), collaborationArn: \(Swift.String(describing: collaborationArn)), collaborationId: \(Swift.String(describing: collaborationId)), createTime: \(Swift.String(describing: createTime)), description: \(Swift.String(describing: description)), format: \(Swift.String(describing: format)), id: \(Swift.String(describing: id)), membershipArn: \(Swift.String(describing: membershipArn)), membershipId: \(Swift.String(describing: membershipId)), name: \(Swift.String(describing: name)), schema: \(Swift.String(describing: schema)), updateTime: \(Swift.String(describing: updateTime)), validations: \(Swift.String(describing: validations)), analysisParameters: \"CONTENT_REDACTED\", source: \"CONTENT_REDACTED\")"} } extension CleanRoomsClientTypes { @@ -1023,7 +1023,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1053,7 +1053,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1084,7 +1084,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1119,7 +1119,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1147,7 +1147,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1232,7 +1232,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1290,7 +1290,7 @@ public struct CreateAnalysisTemplateInput { extension CreateAnalysisTemplateInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateAnalysisTemplateInput(analysisParameters: \(Swift.String(describing: analysisParameters)), description: \(Swift.String(describing: description)), format: \(Swift.String(describing: format)), membershipIdentifier: \(Swift.String(describing: membershipIdentifier)), name: \(Swift.String(describing: name)), tags: \(Swift.String(describing: tags)), source: \"CONTENT_REDACTED\")"} + "CreateAnalysisTemplateInput(description: \(Swift.String(describing: description)), format: \(Swift.String(describing: format)), membershipIdentifier: \(Swift.String(describing: membershipIdentifier)), name: \(Swift.String(describing: name)), tags: \(Swift.String(describing: tags)), analysisParameters: \"CONTENT_REDACTED\", source: \"CONTENT_REDACTED\")"} } public struct CreateAnalysisTemplateOutput { @@ -1593,7 +1593,7 @@ extension CleanRoomsClientTypes { extension CleanRoomsClientTypes.CollaborationAnalysisTemplate: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CollaborationAnalysisTemplate(analysisParameters: \(Swift.String(describing: analysisParameters)), arn: \(Swift.String(describing: arn)), collaborationArn: \(Swift.String(describing: collaborationArn)), collaborationId: \(Swift.String(describing: collaborationId)), createTime: \(Swift.String(describing: createTime)), creatorAccountId: \(Swift.String(describing: creatorAccountId)), description: \(Swift.String(describing: description)), format: \(Swift.String(describing: format)), id: \(Swift.String(describing: id)), name: \(Swift.String(describing: name)), schema: \(Swift.String(describing: schema)), updateTime: \(Swift.String(describing: updateTime)), validations: \(Swift.String(describing: validations)), source: \"CONTENT_REDACTED\")"} + "CollaborationAnalysisTemplate(arn: \(Swift.String(describing: arn)), collaborationArn: \(Swift.String(describing: collaborationArn)), collaborationId: \(Swift.String(describing: collaborationId)), createTime: \(Swift.String(describing: createTime)), creatorAccountId: \(Swift.String(describing: creatorAccountId)), description: \(Swift.String(describing: description)), format: \(Swift.String(describing: format)), id: \(Swift.String(describing: id)), name: \(Swift.String(describing: name)), schema: \(Swift.String(describing: schema)), updateTime: \(Swift.String(describing: updateTime)), validations: \(Swift.String(describing: validations)), analysisParameters: \"CONTENT_REDACTED\", source: \"CONTENT_REDACTED\")"} } extension CleanRoomsClientTypes { @@ -7706,7 +7706,7 @@ extension UpdateProtectedQueryInput { extension BatchGetCollaborationAnalysisTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCollaborationAnalysisTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCollaborationAnalysisTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7719,7 +7719,7 @@ extension BatchGetCollaborationAnalysisTemplateOutput { extension BatchGetSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7732,7 +7732,7 @@ extension BatchGetSchemaOutput { extension BatchGetSchemaAnalysisRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetSchemaAnalysisRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetSchemaAnalysisRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7745,7 +7745,7 @@ extension BatchGetSchemaAnalysisRuleOutput { extension CreateAnalysisTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnalysisTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnalysisTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7757,7 +7757,7 @@ extension CreateAnalysisTemplateOutput { extension CreateCollaborationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCollaborationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCollaborationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7769,7 +7769,7 @@ extension CreateCollaborationOutput { extension CreateConfiguredAudienceModelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfiguredAudienceModelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfiguredAudienceModelAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7781,7 +7781,7 @@ extension CreateConfiguredAudienceModelAssociationOutput { extension CreateConfiguredTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfiguredTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfiguredTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7793,7 +7793,7 @@ extension CreateConfiguredTableOutput { extension CreateConfiguredTableAnalysisRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfiguredTableAnalysisRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfiguredTableAnalysisRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7805,7 +7805,7 @@ extension CreateConfiguredTableAnalysisRuleOutput { extension CreateConfiguredTableAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfiguredTableAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfiguredTableAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7817,7 +7817,7 @@ extension CreateConfiguredTableAssociationOutput { extension CreateMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7829,7 +7829,7 @@ extension CreateMembershipOutput { extension CreatePrivacyBudgetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePrivacyBudgetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePrivacyBudgetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7841,70 +7841,70 @@ extension CreatePrivacyBudgetTemplateOutput { extension DeleteAnalysisTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnalysisTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnalysisTemplateOutput { return DeleteAnalysisTemplateOutput() } } extension DeleteCollaborationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCollaborationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCollaborationOutput { return DeleteCollaborationOutput() } } extension DeleteConfiguredAudienceModelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfiguredAudienceModelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfiguredAudienceModelAssociationOutput { return DeleteConfiguredAudienceModelAssociationOutput() } } extension DeleteConfiguredTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfiguredTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfiguredTableOutput { return DeleteConfiguredTableOutput() } } extension DeleteConfiguredTableAnalysisRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfiguredTableAnalysisRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfiguredTableAnalysisRuleOutput { return DeleteConfiguredTableAnalysisRuleOutput() } } extension DeleteConfiguredTableAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfiguredTableAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfiguredTableAssociationOutput { return DeleteConfiguredTableAssociationOutput() } } extension DeleteMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMemberOutput { return DeleteMemberOutput() } } extension DeleteMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMembershipOutput { return DeleteMembershipOutput() } } extension DeletePrivacyBudgetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePrivacyBudgetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePrivacyBudgetTemplateOutput { return DeletePrivacyBudgetTemplateOutput() } } extension GetAnalysisTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnalysisTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnalysisTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7916,7 +7916,7 @@ extension GetAnalysisTemplateOutput { extension GetCollaborationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCollaborationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCollaborationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7928,7 +7928,7 @@ extension GetCollaborationOutput { extension GetCollaborationAnalysisTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCollaborationAnalysisTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCollaborationAnalysisTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7940,7 +7940,7 @@ extension GetCollaborationAnalysisTemplateOutput { extension GetCollaborationConfiguredAudienceModelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCollaborationConfiguredAudienceModelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCollaborationConfiguredAudienceModelAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7952,7 +7952,7 @@ extension GetCollaborationConfiguredAudienceModelAssociationOutput { extension GetCollaborationPrivacyBudgetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCollaborationPrivacyBudgetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCollaborationPrivacyBudgetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7964,7 +7964,7 @@ extension GetCollaborationPrivacyBudgetTemplateOutput { extension GetConfiguredAudienceModelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfiguredAudienceModelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfiguredAudienceModelAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7976,7 +7976,7 @@ extension GetConfiguredAudienceModelAssociationOutput { extension GetConfiguredTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfiguredTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfiguredTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7988,7 +7988,7 @@ extension GetConfiguredTableOutput { extension GetConfiguredTableAnalysisRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfiguredTableAnalysisRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfiguredTableAnalysisRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8000,7 +8000,7 @@ extension GetConfiguredTableAnalysisRuleOutput { extension GetConfiguredTableAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfiguredTableAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfiguredTableAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8012,7 +8012,7 @@ extension GetConfiguredTableAssociationOutput { extension GetMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8024,7 +8024,7 @@ extension GetMembershipOutput { extension GetPrivacyBudgetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPrivacyBudgetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPrivacyBudgetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8036,7 +8036,7 @@ extension GetPrivacyBudgetTemplateOutput { extension GetProtectedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProtectedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProtectedQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8048,7 +8048,7 @@ extension GetProtectedQueryOutput { extension GetSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8060,7 +8060,7 @@ extension GetSchemaOutput { extension GetSchemaAnalysisRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaAnalysisRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaAnalysisRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8072,7 +8072,7 @@ extension GetSchemaAnalysisRuleOutput { extension ListAnalysisTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnalysisTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnalysisTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8085,7 +8085,7 @@ extension ListAnalysisTemplatesOutput { extension ListCollaborationAnalysisTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollaborationAnalysisTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollaborationAnalysisTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8098,7 +8098,7 @@ extension ListCollaborationAnalysisTemplatesOutput { extension ListCollaborationConfiguredAudienceModelAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollaborationConfiguredAudienceModelAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollaborationConfiguredAudienceModelAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8111,7 +8111,7 @@ extension ListCollaborationConfiguredAudienceModelAssociationsOutput { extension ListCollaborationPrivacyBudgetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollaborationPrivacyBudgetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollaborationPrivacyBudgetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8124,7 +8124,7 @@ extension ListCollaborationPrivacyBudgetsOutput { extension ListCollaborationPrivacyBudgetTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollaborationPrivacyBudgetTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollaborationPrivacyBudgetTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8137,7 +8137,7 @@ extension ListCollaborationPrivacyBudgetTemplatesOutput { extension ListCollaborationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollaborationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollaborationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8150,7 +8150,7 @@ extension ListCollaborationsOutput { extension ListConfiguredAudienceModelAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfiguredAudienceModelAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfiguredAudienceModelAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8163,7 +8163,7 @@ extension ListConfiguredAudienceModelAssociationsOutput { extension ListConfiguredTableAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfiguredTableAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfiguredTableAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8176,7 +8176,7 @@ extension ListConfiguredTableAssociationsOutput { extension ListConfiguredTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfiguredTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfiguredTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8189,7 +8189,7 @@ extension ListConfiguredTablesOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8202,7 +8202,7 @@ extension ListMembersOutput { extension ListMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8215,7 +8215,7 @@ extension ListMembershipsOutput { extension ListPrivacyBudgetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrivacyBudgetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrivacyBudgetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8228,7 +8228,7 @@ extension ListPrivacyBudgetsOutput { extension ListPrivacyBudgetTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrivacyBudgetTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrivacyBudgetTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8241,7 +8241,7 @@ extension ListPrivacyBudgetTemplatesOutput { extension ListProtectedQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProtectedQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectedQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8254,7 +8254,7 @@ extension ListProtectedQueriesOutput { extension ListSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8267,7 +8267,7 @@ extension ListSchemasOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8279,7 +8279,7 @@ extension ListTagsForResourceOutput { extension PreviewPrivacyImpactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PreviewPrivacyImpactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PreviewPrivacyImpactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8291,7 +8291,7 @@ extension PreviewPrivacyImpactOutput { extension StartProtectedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartProtectedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartProtectedQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8303,21 +8303,21 @@ extension StartProtectedQueryOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAnalysisTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnalysisTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnalysisTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8329,7 +8329,7 @@ extension UpdateAnalysisTemplateOutput { extension UpdateCollaborationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCollaborationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCollaborationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8341,7 +8341,7 @@ extension UpdateCollaborationOutput { extension UpdateConfiguredAudienceModelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfiguredAudienceModelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfiguredAudienceModelAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8353,7 +8353,7 @@ extension UpdateConfiguredAudienceModelAssociationOutput { extension UpdateConfiguredTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfiguredTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfiguredTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8365,7 +8365,7 @@ extension UpdateConfiguredTableOutput { extension UpdateConfiguredTableAnalysisRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfiguredTableAnalysisRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfiguredTableAnalysisRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8377,7 +8377,7 @@ extension UpdateConfiguredTableAnalysisRuleOutput { extension UpdateConfiguredTableAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfiguredTableAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfiguredTableAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8389,7 +8389,7 @@ extension UpdateConfiguredTableAssociationOutput { extension UpdateMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8401,7 +8401,7 @@ extension UpdateMembershipOutput { extension UpdatePrivacyBudgetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePrivacyBudgetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePrivacyBudgetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8413,7 +8413,7 @@ extension UpdatePrivacyBudgetTemplateOutput { extension UpdateProtectedQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProtectedQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProtectedQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8425,7 +8425,7 @@ extension UpdateProtectedQueryOutput { enum BatchGetCollaborationAnalysisTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8443,7 +8443,7 @@ enum BatchGetCollaborationAnalysisTemplateOutputError { enum BatchGetSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8461,7 +8461,7 @@ enum BatchGetSchemaOutputError { enum BatchGetSchemaAnalysisRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8479,7 +8479,7 @@ enum BatchGetSchemaAnalysisRuleOutputError { enum CreateAnalysisTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8499,7 +8499,7 @@ enum CreateAnalysisTemplateOutputError { enum CreateCollaborationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8517,7 +8517,7 @@ enum CreateCollaborationOutputError { enum CreateConfiguredAudienceModelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8537,7 +8537,7 @@ enum CreateConfiguredAudienceModelAssociationOutputError { enum CreateConfiguredTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8557,7 +8557,7 @@ enum CreateConfiguredTableOutputError { enum CreateConfiguredTableAnalysisRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8576,7 +8576,7 @@ enum CreateConfiguredTableAnalysisRuleOutputError { enum CreateConfiguredTableAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8596,7 +8596,7 @@ enum CreateConfiguredTableAssociationOutputError { enum CreateMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8616,7 +8616,7 @@ enum CreateMembershipOutputError { enum CreatePrivacyBudgetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8635,7 +8635,7 @@ enum CreatePrivacyBudgetTemplateOutputError { enum DeleteAnalysisTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8653,7 +8653,7 @@ enum DeleteAnalysisTemplateOutputError { enum DeleteCollaborationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8670,7 +8670,7 @@ enum DeleteCollaborationOutputError { enum DeleteConfiguredAudienceModelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8688,7 +8688,7 @@ enum DeleteConfiguredAudienceModelAssociationOutputError { enum DeleteConfiguredTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8707,7 +8707,7 @@ enum DeleteConfiguredTableOutputError { enum DeleteConfiguredTableAnalysisRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8726,7 +8726,7 @@ enum DeleteConfiguredTableAnalysisRuleOutputError { enum DeleteConfiguredTableAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8745,7 +8745,7 @@ enum DeleteConfiguredTableAssociationOutputError { enum DeleteMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8764,7 +8764,7 @@ enum DeleteMemberOutputError { enum DeleteMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8783,7 +8783,7 @@ enum DeleteMembershipOutputError { enum DeletePrivacyBudgetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8801,7 +8801,7 @@ enum DeletePrivacyBudgetTemplateOutputError { enum GetAnalysisTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8819,7 +8819,7 @@ enum GetAnalysisTemplateOutputError { enum GetCollaborationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8836,7 +8836,7 @@ enum GetCollaborationOutputError { enum GetCollaborationAnalysisTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8854,7 +8854,7 @@ enum GetCollaborationAnalysisTemplateOutputError { enum GetCollaborationConfiguredAudienceModelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8872,7 +8872,7 @@ enum GetCollaborationConfiguredAudienceModelAssociationOutputError { enum GetCollaborationPrivacyBudgetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8890,7 +8890,7 @@ enum GetCollaborationPrivacyBudgetTemplateOutputError { enum GetConfiguredAudienceModelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8908,7 +8908,7 @@ enum GetConfiguredAudienceModelAssociationOutputError { enum GetConfiguredTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8926,7 +8926,7 @@ enum GetConfiguredTableOutputError { enum GetConfiguredTableAnalysisRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8944,7 +8944,7 @@ enum GetConfiguredTableAnalysisRuleOutputError { enum GetConfiguredTableAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8962,7 +8962,7 @@ enum GetConfiguredTableAssociationOutputError { enum GetMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8980,7 +8980,7 @@ enum GetMembershipOutputError { enum GetPrivacyBudgetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8998,7 +8998,7 @@ enum GetPrivacyBudgetTemplateOutputError { enum GetProtectedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9016,7 +9016,7 @@ enum GetProtectedQueryOutputError { enum GetSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9034,7 +9034,7 @@ enum GetSchemaOutputError { enum GetSchemaAnalysisRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9052,7 +9052,7 @@ enum GetSchemaAnalysisRuleOutputError { enum ListAnalysisTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9070,7 +9070,7 @@ enum ListAnalysisTemplatesOutputError { enum ListCollaborationAnalysisTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9088,7 +9088,7 @@ enum ListCollaborationAnalysisTemplatesOutputError { enum ListCollaborationConfiguredAudienceModelAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9106,7 +9106,7 @@ enum ListCollaborationConfiguredAudienceModelAssociationsOutputError { enum ListCollaborationPrivacyBudgetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9124,7 +9124,7 @@ enum ListCollaborationPrivacyBudgetsOutputError { enum ListCollaborationPrivacyBudgetTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9142,7 +9142,7 @@ enum ListCollaborationPrivacyBudgetTemplatesOutputError { enum ListCollaborationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9159,7 +9159,7 @@ enum ListCollaborationsOutputError { enum ListConfiguredAudienceModelAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9177,7 +9177,7 @@ enum ListConfiguredAudienceModelAssociationsOutputError { enum ListConfiguredTableAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9195,7 +9195,7 @@ enum ListConfiguredTableAssociationsOutputError { enum ListConfiguredTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9212,7 +9212,7 @@ enum ListConfiguredTablesOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9230,7 +9230,7 @@ enum ListMembersOutputError { enum ListMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9247,7 +9247,7 @@ enum ListMembershipsOutputError { enum ListPrivacyBudgetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9265,7 +9265,7 @@ enum ListPrivacyBudgetsOutputError { enum ListPrivacyBudgetTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9283,7 +9283,7 @@ enum ListPrivacyBudgetTemplatesOutputError { enum ListProtectedQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9301,7 +9301,7 @@ enum ListProtectedQueriesOutputError { enum ListSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9319,7 +9319,7 @@ enum ListSchemasOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9334,7 +9334,7 @@ enum ListTagsForResourceOutputError { enum PreviewPrivacyImpactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9352,7 +9352,7 @@ enum PreviewPrivacyImpactOutputError { enum StartProtectedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9371,7 +9371,7 @@ enum StartProtectedQueryOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9386,7 +9386,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9401,7 +9401,7 @@ enum UntagResourceOutputError { enum UpdateAnalysisTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9419,7 +9419,7 @@ enum UpdateAnalysisTemplateOutputError { enum UpdateCollaborationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9436,7 +9436,7 @@ enum UpdateCollaborationOutputError { enum UpdateConfiguredAudienceModelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9454,7 +9454,7 @@ enum UpdateConfiguredAudienceModelAssociationOutputError { enum UpdateConfiguredTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9473,7 +9473,7 @@ enum UpdateConfiguredTableOutputError { enum UpdateConfiguredTableAnalysisRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9492,7 +9492,7 @@ enum UpdateConfiguredTableAnalysisRuleOutputError { enum UpdateConfiguredTableAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9511,7 +9511,7 @@ enum UpdateConfiguredTableAssociationOutputError { enum UpdateMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9530,7 +9530,7 @@ enum UpdateMembershipOutputError { enum UpdatePrivacyBudgetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9549,7 +9549,7 @@ enum UpdatePrivacyBudgetTemplateOutputError { enum UpdateProtectedQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/Models.swift b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/Models.swift index 8db4b805252..a4a1db0c065 100644 --- a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/Models.swift +++ b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -68,7 +68,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -349,7 +349,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -374,7 +374,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -399,7 +399,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2558,7 +2558,7 @@ extension UpdateConfiguredAudienceModelInput { extension CreateAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAudienceModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2570,7 +2570,7 @@ extension CreateAudienceModelOutput { extension CreateConfiguredAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfiguredAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfiguredAudienceModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2582,7 +2582,7 @@ extension CreateConfiguredAudienceModelOutput { extension CreateTrainingDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrainingDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrainingDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2594,42 +2594,42 @@ extension CreateTrainingDatasetOutput { extension DeleteAudienceGenerationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAudienceGenerationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAudienceGenerationJobOutput { return DeleteAudienceGenerationJobOutput() } } extension DeleteAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAudienceModelOutput { return DeleteAudienceModelOutput() } } extension DeleteConfiguredAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfiguredAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfiguredAudienceModelOutput { return DeleteConfiguredAudienceModelOutput() } } extension DeleteConfiguredAudienceModelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfiguredAudienceModelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfiguredAudienceModelPolicyOutput { return DeleteConfiguredAudienceModelPolicyOutput() } } extension DeleteTrainingDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrainingDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrainingDatasetOutput { return DeleteTrainingDatasetOutput() } } extension GetAudienceGenerationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAudienceGenerationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAudienceGenerationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2654,7 +2654,7 @@ extension GetAudienceGenerationJobOutput { extension GetAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAudienceModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2677,7 +2677,7 @@ extension GetAudienceModelOutput { extension GetConfiguredAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfiguredAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfiguredAudienceModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2701,7 +2701,7 @@ extension GetConfiguredAudienceModelOutput { extension GetConfiguredAudienceModelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfiguredAudienceModelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfiguredAudienceModelPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2715,7 +2715,7 @@ extension GetConfiguredAudienceModelPolicyOutput { extension GetTrainingDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrainingDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrainingDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2735,7 +2735,7 @@ extension GetTrainingDatasetOutput { extension ListAudienceExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAudienceExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAudienceExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2748,7 +2748,7 @@ extension ListAudienceExportJobsOutput { extension ListAudienceGenerationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAudienceGenerationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAudienceGenerationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2761,7 +2761,7 @@ extension ListAudienceGenerationJobsOutput { extension ListAudienceModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAudienceModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAudienceModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2774,7 +2774,7 @@ extension ListAudienceModelsOutput { extension ListConfiguredAudienceModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfiguredAudienceModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfiguredAudienceModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2787,7 +2787,7 @@ extension ListConfiguredAudienceModelsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2799,7 +2799,7 @@ extension ListTagsForResourceOutput { extension ListTrainingDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrainingDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrainingDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2812,7 +2812,7 @@ extension ListTrainingDatasetsOutput { extension PutConfiguredAudienceModelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfiguredAudienceModelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfiguredAudienceModelPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2825,14 +2825,14 @@ extension PutConfiguredAudienceModelPolicyOutput { extension StartAudienceExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAudienceExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAudienceExportJobOutput { return StartAudienceExportJobOutput() } } extension StartAudienceGenerationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAudienceGenerationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAudienceGenerationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2844,21 +2844,21 @@ extension StartAudienceGenerationJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConfiguredAudienceModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfiguredAudienceModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfiguredAudienceModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2870,7 +2870,7 @@ extension UpdateConfiguredAudienceModelOutput { enum CreateAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2888,7 +2888,7 @@ enum CreateAudienceModelOutputError { enum CreateConfiguredAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2906,7 +2906,7 @@ enum CreateConfiguredAudienceModelOutputError { enum CreateTrainingDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2922,7 +2922,7 @@ enum CreateTrainingDatasetOutputError { enum DeleteAudienceGenerationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2939,7 +2939,7 @@ enum DeleteAudienceGenerationJobOutputError { enum DeleteAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2956,7 +2956,7 @@ enum DeleteAudienceModelOutputError { enum DeleteConfiguredAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2973,7 +2973,7 @@ enum DeleteConfiguredAudienceModelOutputError { enum DeleteConfiguredAudienceModelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2989,7 +2989,7 @@ enum DeleteConfiguredAudienceModelPolicyOutputError { enum DeleteTrainingDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3006,7 +3006,7 @@ enum DeleteTrainingDatasetOutputError { enum GetAudienceGenerationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3022,7 +3022,7 @@ enum GetAudienceGenerationJobOutputError { enum GetAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3038,7 +3038,7 @@ enum GetAudienceModelOutputError { enum GetConfiguredAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3054,7 +3054,7 @@ enum GetConfiguredAudienceModelOutputError { enum GetConfiguredAudienceModelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3070,7 +3070,7 @@ enum GetConfiguredAudienceModelPolicyOutputError { enum GetTrainingDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3086,7 +3086,7 @@ enum GetTrainingDatasetOutputError { enum ListAudienceExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3101,7 +3101,7 @@ enum ListAudienceExportJobsOutputError { enum ListAudienceGenerationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3116,7 +3116,7 @@ enum ListAudienceGenerationJobsOutputError { enum ListAudienceModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3131,7 +3131,7 @@ enum ListAudienceModelsOutputError { enum ListConfiguredAudienceModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3146,7 +3146,7 @@ enum ListConfiguredAudienceModelsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3162,7 +3162,7 @@ enum ListTagsForResourceOutputError { enum ListTrainingDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3177,7 +3177,7 @@ enum ListTrainingDatasetsOutputError { enum PutConfiguredAudienceModelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3193,7 +3193,7 @@ enum PutConfiguredAudienceModelPolicyOutputError { enum StartAudienceExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3211,7 +3211,7 @@ enum StartAudienceExportJobOutputError { enum StartAudienceGenerationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3229,7 +3229,7 @@ enum StartAudienceGenerationJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3245,7 +3245,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3261,7 +3261,7 @@ enum UntagResourceOutputError { enum UpdateConfiguredAudienceModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Models.swift b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Models.swift index eef678c978d..37036044f02 100644 --- a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Models.swift +++ b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -66,7 +66,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -156,7 +156,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -216,7 +216,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1044,7 +1044,7 @@ public struct ConcurrentAccessException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1448,7 +1448,7 @@ extension UpdateEnvironmentMembershipInput { extension CreateEnvironmentEC2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentEC2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentEC2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1460,7 +1460,7 @@ extension CreateEnvironmentEC2Output { extension CreateEnvironmentMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1472,21 +1472,21 @@ extension CreateEnvironmentMembershipOutput { extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension DeleteEnvironmentMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentMembershipOutput { return DeleteEnvironmentMembershipOutput() } } extension DescribeEnvironmentMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1499,7 +1499,7 @@ extension DescribeEnvironmentMembershipsOutput { extension DescribeEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1511,7 +1511,7 @@ extension DescribeEnvironmentsOutput { extension DescribeEnvironmentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1524,7 +1524,7 @@ extension DescribeEnvironmentStatusOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1537,7 +1537,7 @@ extension ListEnvironmentsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1549,28 +1549,28 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { return UpdateEnvironmentOutput() } } extension UpdateEnvironmentMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1582,7 +1582,7 @@ extension UpdateEnvironmentMembershipOutput { enum CreateEnvironmentEC2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1602,7 +1602,7 @@ enum CreateEnvironmentEC2OutputError { enum CreateEnvironmentMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1622,7 +1622,7 @@ enum CreateEnvironmentMembershipOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1642,7 +1642,7 @@ enum DeleteEnvironmentOutputError { enum DeleteEnvironmentMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1662,7 +1662,7 @@ enum DeleteEnvironmentMembershipOutputError { enum DescribeEnvironmentMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1682,7 +1682,7 @@ enum DescribeEnvironmentMembershipsOutputError { enum DescribeEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1702,7 +1702,7 @@ enum DescribeEnvironmentsOutputError { enum DescribeEnvironmentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1722,7 +1722,7 @@ enum DescribeEnvironmentStatusOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1742,7 +1742,7 @@ enum ListEnvironmentsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1758,7 +1758,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1775,7 +1775,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1792,7 +1792,7 @@ enum UntagResourceOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1812,7 +1812,7 @@ enum UpdateEnvironmentOutputError { enum UpdateEnvironmentMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/Models.swift b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/Models.swift index 7fa29663fec..2c55b2999af 100644 --- a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/Models.swift +++ b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -56,7 +56,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -80,7 +80,7 @@ public struct RequestTokenNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct ClientTokenConflictException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -363,7 +363,7 @@ public struct ConcurrentOperationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -387,7 +387,7 @@ public struct GeneralServiceException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -411,7 +411,7 @@ public struct HandlerFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -435,7 +435,7 @@ public struct HandlerInternalFailureException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -459,7 +459,7 @@ public struct InvalidCredentialsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -483,7 +483,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -507,7 +507,7 @@ public struct NetworkFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -531,7 +531,7 @@ public struct NotStabilizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -555,7 +555,7 @@ public struct NotUpdatableException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -579,7 +579,7 @@ public struct PrivateTypeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -603,7 +603,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -627,7 +627,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -651,7 +651,7 @@ public struct ServiceInternalErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -675,7 +675,7 @@ public struct ServiceLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -699,7 +699,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -723,7 +723,7 @@ public struct TypeNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -747,7 +747,7 @@ public struct UnsupportedActionException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1270,7 +1270,7 @@ extension UpdateResourceInput { extension CancelResourceRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelResourceRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelResourceRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1282,7 +1282,7 @@ extension CancelResourceRequestOutput { extension CreateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1294,7 +1294,7 @@ extension CreateResourceOutput { extension DeleteResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1306,7 +1306,7 @@ extension DeleteResourceOutput { extension GetResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1319,7 +1319,7 @@ extension GetResourceOutput { extension GetResourceRequestStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceRequestStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceRequestStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1331,7 +1331,7 @@ extension GetResourceRequestStatusOutput { extension ListResourceRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1344,7 +1344,7 @@ extension ListResourceRequestsOutput { extension ListResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1358,7 +1358,7 @@ extension ListResourcesOutput { extension UpdateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1370,7 +1370,7 @@ extension UpdateResourceOutput { enum CancelResourceRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1385,7 +1385,7 @@ enum CancelResourceRequestOutputError { enum CreateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1417,7 +1417,7 @@ enum CreateResourceOutputError { enum DeleteResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1449,7 +1449,7 @@ enum DeleteResourceOutputError { enum GetResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1479,7 +1479,7 @@ enum GetResourceOutputError { enum GetResourceRequestStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1493,7 +1493,7 @@ enum GetResourceRequestStatusOutputError { enum ListResourceRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1506,7 +1506,7 @@ enum ListResourceRequestsOutputError { enum ListResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1536,7 +1536,7 @@ enum ListResourcesOutputError { enum UpdateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/Models.swift b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/Models.swift index d222a5d5c56..db10201fb8a 100644 --- a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/Models.swift +++ b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -64,7 +64,7 @@ public struct DirectoryNotEnabledException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -88,7 +88,7 @@ public struct FacetValidationException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct InvalidArnException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -208,7 +208,7 @@ public struct RetryableConflictException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -232,7 +232,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -397,7 +397,7 @@ public struct InvalidAttachmentException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -421,7 +421,7 @@ public struct SchemaAlreadyExistsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -479,7 +479,7 @@ public struct LinkNameAlreadyInUseException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -543,7 +543,7 @@ public struct NotPolicyException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -595,7 +595,7 @@ public struct IndexedAttributeMissingException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -619,7 +619,7 @@ public struct NotIndexException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2029,7 +2029,7 @@ public struct BatchWriteException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2899,7 +2899,7 @@ public struct DirectoryAlreadyExistsException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2969,7 +2969,7 @@ public struct FacetAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2993,7 +2993,7 @@ public struct InvalidRuleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3338,7 +3338,7 @@ public struct UnsupportedIndexTypeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3561,7 +3561,7 @@ public struct DirectoryDeletedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3585,7 +3585,7 @@ public struct DirectoryNotDisabledException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3635,7 +3635,7 @@ public struct FacetInUseException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3659,7 +3659,7 @@ public struct FacetNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3706,7 +3706,7 @@ public struct ObjectNotDetachedException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3753,7 +3753,7 @@ public struct StillContainsLinksException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3825,7 +3825,7 @@ public struct ObjectAlreadyDetachedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3884,7 +3884,7 @@ public struct NotNodeException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4356,7 +4356,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4923,7 +4923,7 @@ public struct CannotListParentOfRootException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5183,7 +5183,7 @@ public struct InvalidTaggingRequestException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5385,7 +5385,7 @@ public struct SchemaAlreadyPublishedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5447,7 +5447,7 @@ public struct InvalidSchemaDocException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5575,7 +5575,7 @@ public struct InvalidFacetUpdateException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5798,7 +5798,7 @@ public struct IncompatibleSchemaException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7545,14 +7545,14 @@ extension UpgradePublishedSchemaInput { extension AddFacetToObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddFacetToObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddFacetToObjectOutput { return AddFacetToObjectOutput() } } extension ApplySchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplySchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplySchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7565,7 +7565,7 @@ extension ApplySchemaOutput { extension AttachObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7577,14 +7577,14 @@ extension AttachObjectOutput { extension AttachPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachPolicyOutput { return AttachPolicyOutput() } } extension AttachToIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachToIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachToIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7596,7 +7596,7 @@ extension AttachToIndexOutput { extension AttachTypedLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachTypedLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachTypedLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7608,7 +7608,7 @@ extension AttachTypedLinkOutput { extension BatchReadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchReadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchReadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7620,7 +7620,7 @@ extension BatchReadOutput { extension BatchWriteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchWriteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchWriteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7632,7 +7632,7 @@ extension BatchWriteOutput { extension CreateDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7647,14 +7647,14 @@ extension CreateDirectoryOutput { extension CreateFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFacetOutput { return CreateFacetOutput() } } extension CreateIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7666,7 +7666,7 @@ extension CreateIndexOutput { extension CreateObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7678,7 +7678,7 @@ extension CreateObjectOutput { extension CreateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7690,14 +7690,14 @@ extension CreateSchemaOutput { extension CreateTypedLinkFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTypedLinkFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTypedLinkFacetOutput { return CreateTypedLinkFacetOutput() } } extension DeleteDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7709,21 +7709,21 @@ extension DeleteDirectoryOutput { extension DeleteFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFacetOutput { return DeleteFacetOutput() } } extension DeleteObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObjectOutput { return DeleteObjectOutput() } } extension DeleteSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7735,14 +7735,14 @@ extension DeleteSchemaOutput { extension DeleteTypedLinkFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTypedLinkFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTypedLinkFacetOutput { return DeleteTypedLinkFacetOutput() } } extension DetachFromIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachFromIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachFromIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7754,7 +7754,7 @@ extension DetachFromIndexOutput { extension DetachObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7766,21 +7766,21 @@ extension DetachObjectOutput { extension DetachPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachPolicyOutput { return DetachPolicyOutput() } } extension DetachTypedLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachTypedLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachTypedLinkOutput { return DetachTypedLinkOutput() } } extension DisableDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7792,7 +7792,7 @@ extension DisableDirectoryOutput { extension EnableDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7804,7 +7804,7 @@ extension EnableDirectoryOutput { extension GetAppliedSchemaVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppliedSchemaVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppliedSchemaVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7816,7 +7816,7 @@ extension GetAppliedSchemaVersionOutput { extension GetDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7828,7 +7828,7 @@ extension GetDirectoryOutput { extension GetFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFacetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7840,7 +7840,7 @@ extension GetFacetOutput { extension GetLinkAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLinkAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLinkAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7852,7 +7852,7 @@ extension GetLinkAttributesOutput { extension GetObjectAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7864,7 +7864,7 @@ extension GetObjectAttributesOutput { extension GetObjectInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7877,7 +7877,7 @@ extension GetObjectInformationOutput { extension GetSchemaAsJsonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaAsJsonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaAsJsonOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7890,7 +7890,7 @@ extension GetSchemaAsJsonOutput { extension GetTypedLinkFacetInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTypedLinkFacetInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTypedLinkFacetInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7902,7 +7902,7 @@ extension GetTypedLinkFacetInformationOutput { extension ListAppliedSchemaArnsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppliedSchemaArnsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppliedSchemaArnsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7915,7 +7915,7 @@ extension ListAppliedSchemaArnsOutput { extension ListAttachedIndicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachedIndicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachedIndicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7928,7 +7928,7 @@ extension ListAttachedIndicesOutput { extension ListDevelopmentSchemaArnsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevelopmentSchemaArnsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevelopmentSchemaArnsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7941,7 +7941,7 @@ extension ListDevelopmentSchemaArnsOutput { extension ListDirectoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDirectoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDirectoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7954,7 +7954,7 @@ extension ListDirectoriesOutput { extension ListFacetAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFacetAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFacetAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7967,7 +7967,7 @@ extension ListFacetAttributesOutput { extension ListFacetNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFacetNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFacetNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7980,7 +7980,7 @@ extension ListFacetNamesOutput { extension ListIncomingTypedLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIncomingTypedLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIncomingTypedLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7993,7 +7993,7 @@ extension ListIncomingTypedLinksOutput { extension ListIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8006,7 +8006,7 @@ extension ListIndexOutput { extension ListManagedSchemaArnsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedSchemaArnsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedSchemaArnsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8019,7 +8019,7 @@ extension ListManagedSchemaArnsOutput { extension ListObjectAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8032,7 +8032,7 @@ extension ListObjectAttributesOutput { extension ListObjectChildrenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectChildrenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectChildrenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8045,7 +8045,7 @@ extension ListObjectChildrenOutput { extension ListObjectParentPathsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectParentPathsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectParentPathsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8058,7 +8058,7 @@ extension ListObjectParentPathsOutput { extension ListObjectParentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectParentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectParentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8072,7 +8072,7 @@ extension ListObjectParentsOutput { extension ListObjectPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8085,7 +8085,7 @@ extension ListObjectPoliciesOutput { extension ListOutgoingTypedLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOutgoingTypedLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOutgoingTypedLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8098,7 +8098,7 @@ extension ListOutgoingTypedLinksOutput { extension ListPolicyAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8111,7 +8111,7 @@ extension ListPolicyAttachmentsOutput { extension ListPublishedSchemaArnsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPublishedSchemaArnsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPublishedSchemaArnsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8124,7 +8124,7 @@ extension ListPublishedSchemaArnsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8137,7 +8137,7 @@ extension ListTagsForResourceOutput { extension ListTypedLinkFacetAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypedLinkFacetAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypedLinkFacetAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8150,7 +8150,7 @@ extension ListTypedLinkFacetAttributesOutput { extension ListTypedLinkFacetNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypedLinkFacetNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypedLinkFacetNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8163,7 +8163,7 @@ extension ListTypedLinkFacetNamesOutput { extension LookupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LookupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LookupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8176,7 +8176,7 @@ extension LookupPolicyOutput { extension PublishSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8188,7 +8188,7 @@ extension PublishSchemaOutput { extension PutSchemaFromJsonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSchemaFromJsonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSchemaFromJsonOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8200,42 +8200,42 @@ extension PutSchemaFromJsonOutput { extension RemoveFacetFromObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFacetFromObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFacetFromObjectOutput { return RemoveFacetFromObjectOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFacetOutput { return UpdateFacetOutput() } } extension UpdateLinkAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLinkAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLinkAttributesOutput { return UpdateLinkAttributesOutput() } } extension UpdateObjectAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateObjectAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateObjectAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8247,7 +8247,7 @@ extension UpdateObjectAttributesOutput { extension UpdateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8259,14 +8259,14 @@ extension UpdateSchemaOutput { extension UpdateTypedLinkFacetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTypedLinkFacetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTypedLinkFacetOutput { return UpdateTypedLinkFacetOutput() } } extension UpgradeAppliedSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradeAppliedSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradeAppliedSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8279,7 +8279,7 @@ extension UpgradeAppliedSchemaOutput { extension UpgradePublishedSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradePublishedSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradePublishedSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8291,7 +8291,7 @@ extension UpgradePublishedSchemaOutput { enum AddFacetToObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8313,7 +8313,7 @@ enum AddFacetToObjectOutputError { enum ApplySchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8335,7 +8335,7 @@ enum ApplySchemaOutputError { enum AttachObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8359,7 +8359,7 @@ enum AttachObjectOutputError { enum AttachPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8381,7 +8381,7 @@ enum AttachPolicyOutputError { enum AttachToIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8406,7 +8406,7 @@ enum AttachToIndexOutputError { enum AttachTypedLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8429,7 +8429,7 @@ enum AttachTypedLinkOutputError { enum BatchReadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8449,7 +8449,7 @@ enum BatchReadOutputError { enum BatchWriteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8470,7 +8470,7 @@ enum BatchWriteOutputError { enum CreateDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8491,7 +8491,7 @@ enum CreateDirectoryOutputError { enum CreateFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8514,7 +8514,7 @@ enum CreateFacetOutputError { enum CreateIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8538,7 +8538,7 @@ enum CreateIndexOutputError { enum CreateObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8562,7 +8562,7 @@ enum CreateObjectOutputError { enum CreateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8582,7 +8582,7 @@ enum CreateSchemaOutputError { enum CreateTypedLinkFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8605,7 +8605,7 @@ enum CreateTypedLinkFacetOutputError { enum DeleteDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8627,7 +8627,7 @@ enum DeleteDirectoryOutputError { enum DeleteFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8649,7 +8649,7 @@ enum DeleteFacetOutputError { enum DeleteObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8671,7 +8671,7 @@ enum DeleteObjectOutputError { enum DeleteSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8692,7 +8692,7 @@ enum DeleteSchemaOutputError { enum DeleteTypedLinkFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8713,7 +8713,7 @@ enum DeleteTypedLinkFacetOutputError { enum DetachFromIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8736,7 +8736,7 @@ enum DetachFromIndexOutputError { enum DetachObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8758,7 +8758,7 @@ enum DetachObjectOutputError { enum DetachPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8780,7 +8780,7 @@ enum DetachPolicyOutputError { enum DetachTypedLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8802,7 +8802,7 @@ enum DetachTypedLinkOutputError { enum DisableDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8823,7 +8823,7 @@ enum DisableDirectoryOutputError { enum EnableDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8844,7 +8844,7 @@ enum EnableDirectoryOutputError { enum GetAppliedSchemaVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8864,7 +8864,7 @@ enum GetAppliedSchemaVersionOutputError { enum GetDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8883,7 +8883,7 @@ enum GetDirectoryOutputError { enum GetFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8904,7 +8904,7 @@ enum GetFacetOutputError { enum GetLinkAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8926,7 +8926,7 @@ enum GetLinkAttributesOutputError { enum GetObjectAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8948,7 +8948,7 @@ enum GetObjectAttributesOutputError { enum GetObjectInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8969,7 +8969,7 @@ enum GetObjectInformationOutputError { enum GetSchemaAsJsonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8989,7 +8989,7 @@ enum GetSchemaAsJsonOutputError { enum GetTypedLinkFacetInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9011,7 +9011,7 @@ enum GetTypedLinkFacetInformationOutputError { enum ListAppliedSchemaArnsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9032,7 +9032,7 @@ enum ListAppliedSchemaArnsOutputError { enum ListAttachedIndicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9053,7 +9053,7 @@ enum ListAttachedIndicesOutputError { enum ListDevelopmentSchemaArnsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9074,7 +9074,7 @@ enum ListDevelopmentSchemaArnsOutputError { enum ListDirectoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9094,7 +9094,7 @@ enum ListDirectoriesOutputError { enum ListFacetAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9116,7 +9116,7 @@ enum ListFacetAttributesOutputError { enum ListFacetNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9137,7 +9137,7 @@ enum ListFacetNamesOutputError { enum ListIncomingTypedLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9160,7 +9160,7 @@ enum ListIncomingTypedLinksOutputError { enum ListIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9184,7 +9184,7 @@ enum ListIndexOutputError { enum ListManagedSchemaArnsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9203,7 +9203,7 @@ enum ListManagedSchemaArnsOutputError { enum ListObjectAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9226,7 +9226,7 @@ enum ListObjectAttributesOutputError { enum ListObjectChildrenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9249,7 +9249,7 @@ enum ListObjectChildrenOutputError { enum ListObjectParentPathsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9271,7 +9271,7 @@ enum ListObjectParentPathsOutputError { enum ListObjectParentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9294,7 +9294,7 @@ enum ListObjectParentsOutputError { enum ListObjectPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9316,7 +9316,7 @@ enum ListObjectPoliciesOutputError { enum ListOutgoingTypedLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9339,7 +9339,7 @@ enum ListOutgoingTypedLinksOutputError { enum ListPolicyAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9362,7 +9362,7 @@ enum ListPolicyAttachmentsOutputError { enum ListPublishedSchemaArnsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9383,7 +9383,7 @@ enum ListPublishedSchemaArnsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9404,7 +9404,7 @@ enum ListTagsForResourceOutputError { enum ListTypedLinkFacetAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9426,7 +9426,7 @@ enum ListTypedLinkFacetAttributesOutputError { enum ListTypedLinkFacetNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9447,7 +9447,7 @@ enum ListTypedLinkFacetNamesOutputError { enum LookupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9469,7 +9469,7 @@ enum LookupPolicyOutputError { enum PublishSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9490,7 +9490,7 @@ enum PublishSchemaOutputError { enum PutSchemaFromJsonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9511,7 +9511,7 @@ enum PutSchemaFromJsonOutputError { enum RemoveFacetFromObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9533,7 +9533,7 @@ enum RemoveFacetFromObjectOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9554,7 +9554,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9575,7 +9575,7 @@ enum UntagResourceOutputError { enum UpdateFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9599,7 +9599,7 @@ enum UpdateFacetOutputError { enum UpdateLinkAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9621,7 +9621,7 @@ enum UpdateLinkAttributesOutputError { enum UpdateObjectAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9644,7 +9644,7 @@ enum UpdateObjectAttributesOutputError { enum UpdateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9664,7 +9664,7 @@ enum UpdateSchemaOutputError { enum UpdateTypedLinkFacetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9688,7 +9688,7 @@ enum UpdateTypedLinkFacetOutputError { enum UpgradeAppliedSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9710,7 +9710,7 @@ enum UpgradeAppliedSchemaOutputError { enum UpgradePublishedSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/Models.swift b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/Models.swift index e022eb0e209..268397e955a 100644 --- a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/Models.swift +++ b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -188,7 +188,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -212,7 +212,7 @@ public struct OperationNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -247,7 +247,7 @@ public struct CFNRegistryException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -272,7 +272,7 @@ public struct TypeNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -443,7 +443,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -520,7 +520,7 @@ public struct TypeConfigurationNotFoundException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -702,7 +702,7 @@ public struct TokenAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1504,7 +1504,7 @@ public struct ChangeSetNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1744,7 +1744,7 @@ public struct InsufficientCapabilitiesException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1768,7 +1768,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2098,7 +2098,7 @@ public struct ConcurrentResourcesLimitExceededException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2437,7 +2437,7 @@ public struct OperationIdAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2461,7 +2461,7 @@ public struct OperationInProgressException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2485,7 +2485,7 @@ public struct StackSetNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2509,7 +2509,7 @@ public struct StaleRequestException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2740,7 +2740,7 @@ public struct CreatedButModifiedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2764,7 +2764,7 @@ public struct NameAlreadyExistsException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2990,7 +2990,7 @@ public struct InvalidChangeSetStatusException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3038,7 +3038,7 @@ public struct GeneratedTemplateNotFoundException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3197,7 +3197,7 @@ public struct StackSetNotEmptyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3993,7 +3993,7 @@ public struct ResourceScanNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4532,7 +4532,7 @@ public struct StackInstanceNotFoundException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7036,7 +7036,7 @@ public struct StackNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7321,7 +7321,7 @@ public struct ResourceScanInProgressException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8940,7 +8940,7 @@ public struct InvalidStateTransitionException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8964,7 +8964,7 @@ public struct OperationStatusCheckFailedException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9434,7 +9434,7 @@ public struct ResourceScanLimitExceededException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11718,14 +11718,14 @@ extension ValidateTemplateInput { extension ActivateOrganizationsAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateOrganizationsAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateOrganizationsAccessOutput { return ActivateOrganizationsAccessOutput() } } extension ActivateTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ActivateTypeResult"] @@ -11737,7 +11737,7 @@ extension ActivateTypeOutput { extension BatchDescribeTypeConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDescribeTypeConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDescribeTypeConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchDescribeTypeConfigurationsResult"] @@ -11751,21 +11751,21 @@ extension BatchDescribeTypeConfigurationsOutput { extension CancelUpdateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelUpdateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelUpdateStackOutput { return CancelUpdateStackOutput() } } extension ContinueUpdateRollbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ContinueUpdateRollbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ContinueUpdateRollbackOutput { return ContinueUpdateRollbackOutput() } } extension CreateChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateChangeSetResult"] @@ -11778,7 +11778,7 @@ extension CreateChangeSetOutput { extension CreateGeneratedTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGeneratedTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGeneratedTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateGeneratedTemplateResult"] @@ -11790,7 +11790,7 @@ extension CreateGeneratedTemplateOutput { extension CreateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateStackResult"] @@ -11802,7 +11802,7 @@ extension CreateStackOutput { extension CreateStackInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStackInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStackInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateStackInstancesResult"] @@ -11814,7 +11814,7 @@ extension CreateStackInstancesOutput { extension CreateStackSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStackSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStackSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateStackSetResult"] @@ -11826,42 +11826,42 @@ extension CreateStackSetOutput { extension DeactivateOrganizationsAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateOrganizationsAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateOrganizationsAccessOutput { return DeactivateOrganizationsAccessOutput() } } extension DeactivateTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateTypeOutput { return DeactivateTypeOutput() } } extension DeleteChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChangeSetOutput { return DeleteChangeSetOutput() } } extension DeleteGeneratedTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGeneratedTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGeneratedTemplateOutput { return DeleteGeneratedTemplateOutput() } } extension DeleteStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStackOutput { return DeleteStackOutput() } } extension DeleteStackInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStackInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStackInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteStackInstancesResult"] @@ -11873,21 +11873,21 @@ extension DeleteStackInstancesOutput { extension DeleteStackSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStackSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStackSetOutput { return DeleteStackSetOutput() } } extension DeregisterTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTypeOutput { return DeregisterTypeOutput() } } extension DescribeAccountLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountLimitsResult"] @@ -11900,7 +11900,7 @@ extension DescribeAccountLimitsOutput { extension DescribeChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeChangeSetResult"] @@ -11932,7 +11932,7 @@ extension DescribeChangeSetOutput { extension DescribeChangeSetHooksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChangeSetHooksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChangeSetHooksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeChangeSetHooksResult"] @@ -11950,7 +11950,7 @@ extension DescribeChangeSetHooksOutput { extension DescribeGeneratedTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGeneratedTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGeneratedTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeGeneratedTemplateResult"] @@ -11972,7 +11972,7 @@ extension DescribeGeneratedTemplateOutput { extension DescribeOrganizationsAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationsAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationsAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOrganizationsAccessResult"] @@ -11984,7 +11984,7 @@ extension DescribeOrganizationsAccessOutput { extension DescribePublisherOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePublisherOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePublisherOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePublisherResult"] @@ -11999,7 +11999,7 @@ extension DescribePublisherOutput { extension DescribeResourceScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourceScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourceScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeResourceScanResult"] @@ -12019,7 +12019,7 @@ extension DescribeResourceScanOutput { extension DescribeStackDriftDetectionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackDriftDetectionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackDriftDetectionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackDriftDetectionStatusResult"] @@ -12037,7 +12037,7 @@ extension DescribeStackDriftDetectionStatusOutput { extension DescribeStackEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackEventsResult"] @@ -12050,7 +12050,7 @@ extension DescribeStackEventsOutput { extension DescribeStackInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackInstanceResult"] @@ -12062,7 +12062,7 @@ extension DescribeStackInstanceOutput { extension DescribeStackResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackResourceResult"] @@ -12074,7 +12074,7 @@ extension DescribeStackResourceOutput { extension DescribeStackResourceDriftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackResourceDriftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackResourceDriftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackResourceDriftsResult"] @@ -12087,7 +12087,7 @@ extension DescribeStackResourceDriftsOutput { extension DescribeStackResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackResourcesResult"] @@ -12099,7 +12099,7 @@ extension DescribeStackResourcesOutput { extension DescribeStacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStacksResult"] @@ -12112,7 +12112,7 @@ extension DescribeStacksOutput { extension DescribeStackSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackSetResult"] @@ -12124,7 +12124,7 @@ extension DescribeStackSetOutput { extension DescribeStackSetOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackSetOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackSetOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStackSetOperationResult"] @@ -12136,7 +12136,7 @@ extension DescribeStackSetOperationOutput { extension DescribeTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTypeResult"] @@ -12174,7 +12174,7 @@ extension DescribeTypeOutput { extension DescribeTypeRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTypeRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTypeRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTypeRegistrationResult"] @@ -12189,7 +12189,7 @@ extension DescribeTypeRegistrationOutput { extension DetectStackDriftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectStackDriftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectStackDriftOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DetectStackDriftResult"] @@ -12201,7 +12201,7 @@ extension DetectStackDriftOutput { extension DetectStackResourceDriftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectStackResourceDriftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectStackResourceDriftOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DetectStackResourceDriftResult"] @@ -12213,7 +12213,7 @@ extension DetectStackResourceDriftOutput { extension DetectStackSetDriftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectStackSetDriftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectStackSetDriftOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DetectStackSetDriftResult"] @@ -12225,7 +12225,7 @@ extension DetectStackSetDriftOutput { extension EstimateTemplateCostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EstimateTemplateCostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EstimateTemplateCostOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EstimateTemplateCostResult"] @@ -12237,14 +12237,14 @@ extension EstimateTemplateCostOutput { extension ExecuteChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteChangeSetOutput { return ExecuteChangeSetOutput() } } extension GetGeneratedTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGeneratedTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGeneratedTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetGeneratedTemplateResult"] @@ -12257,7 +12257,7 @@ extension GetGeneratedTemplateOutput { extension GetStackPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStackPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStackPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetStackPolicyResult"] @@ -12269,7 +12269,7 @@ extension GetStackPolicyOutput { extension GetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetTemplateResult"] @@ -12282,7 +12282,7 @@ extension GetTemplateOutput { extension GetTemplateSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetTemplateSummaryResult"] @@ -12303,7 +12303,7 @@ extension GetTemplateSummaryOutput { extension ImportStacksToStackSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportStacksToStackSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportStacksToStackSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ImportStacksToStackSetResult"] @@ -12315,7 +12315,7 @@ extension ImportStacksToStackSetOutput { extension ListChangeSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChangeSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChangeSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListChangeSetsResult"] @@ -12328,7 +12328,7 @@ extension ListChangeSetsOutput { extension ListExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListExportsResult"] @@ -12341,7 +12341,7 @@ extension ListExportsOutput { extension ListGeneratedTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGeneratedTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGeneratedTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListGeneratedTemplatesResult"] @@ -12354,7 +12354,7 @@ extension ListGeneratedTemplatesOutput { extension ListImportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListImportsResult"] @@ -12367,7 +12367,7 @@ extension ListImportsOutput { extension ListResourceScanRelatedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceScanRelatedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceScanRelatedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListResourceScanRelatedResourcesResult"] @@ -12380,7 +12380,7 @@ extension ListResourceScanRelatedResourcesOutput { extension ListResourceScanResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceScanResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceScanResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListResourceScanResourcesResult"] @@ -12393,7 +12393,7 @@ extension ListResourceScanResourcesOutput { extension ListResourceScansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceScansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceScansOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListResourceScansResult"] @@ -12406,7 +12406,7 @@ extension ListResourceScansOutput { extension ListStackInstanceResourceDriftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackInstanceResourceDriftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackInstanceResourceDriftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackInstanceResourceDriftsResult"] @@ -12419,7 +12419,7 @@ extension ListStackInstanceResourceDriftsOutput { extension ListStackInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackInstancesResult"] @@ -12432,7 +12432,7 @@ extension ListStackInstancesOutput { extension ListStackResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackResourcesResult"] @@ -12445,7 +12445,7 @@ extension ListStackResourcesOutput { extension ListStacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStacksResult"] @@ -12458,7 +12458,7 @@ extension ListStacksOutput { extension ListStackSetAutoDeploymentTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackSetAutoDeploymentTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackSetAutoDeploymentTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackSetAutoDeploymentTargetsResult"] @@ -12471,7 +12471,7 @@ extension ListStackSetAutoDeploymentTargetsOutput { extension ListStackSetOperationResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackSetOperationResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackSetOperationResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackSetOperationResultsResult"] @@ -12484,7 +12484,7 @@ extension ListStackSetOperationResultsOutput { extension ListStackSetOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackSetOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackSetOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackSetOperationsResult"] @@ -12497,7 +12497,7 @@ extension ListStackSetOperationsOutput { extension ListStackSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListStackSetsResult"] @@ -12510,7 +12510,7 @@ extension ListStackSetsOutput { extension ListTypeRegistrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypeRegistrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypeRegistrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTypeRegistrationsResult"] @@ -12523,7 +12523,7 @@ extension ListTypeRegistrationsOutput { extension ListTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTypesResult"] @@ -12536,7 +12536,7 @@ extension ListTypesOutput { extension ListTypeVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTypeVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTypeVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTypeVersionsResult"] @@ -12549,7 +12549,7 @@ extension ListTypeVersionsOutput { extension PublishTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PublishTypeResult"] @@ -12561,14 +12561,14 @@ extension PublishTypeOutput { extension RecordHandlerProgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RecordHandlerProgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RecordHandlerProgressOutput { return RecordHandlerProgressOutput() } } extension RegisterPublisherOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterPublisherOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterPublisherOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RegisterPublisherResult"] @@ -12580,7 +12580,7 @@ extension RegisterPublisherOutput { extension RegisterTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RegisterTypeResult"] @@ -12592,7 +12592,7 @@ extension RegisterTypeOutput { extension RollbackStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RollbackStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RollbackStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RollbackStackResult"] @@ -12604,14 +12604,14 @@ extension RollbackStackOutput { extension SetStackPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetStackPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetStackPolicyOutput { return SetStackPolicyOutput() } } extension SetTypeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTypeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTypeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SetTypeConfigurationResult"] @@ -12623,21 +12623,21 @@ extension SetTypeConfigurationOutput { extension SetTypeDefaultVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTypeDefaultVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTypeDefaultVersionOutput { return SetTypeDefaultVersionOutput() } } extension SignalResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignalResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignalResourceOutput { return SignalResourceOutput() } } extension StartResourceScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartResourceScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartResourceScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartResourceScanResult"] @@ -12649,14 +12649,14 @@ extension StartResourceScanOutput { extension StopStackSetOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopStackSetOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopStackSetOperationOutput { return StopStackSetOperationOutput() } } extension TestTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["TestTypeResult"] @@ -12668,7 +12668,7 @@ extension TestTypeOutput { extension UpdateGeneratedTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGeneratedTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGeneratedTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateGeneratedTemplateResult"] @@ -12680,7 +12680,7 @@ extension UpdateGeneratedTemplateOutput { extension UpdateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateStackResult"] @@ -12692,7 +12692,7 @@ extension UpdateStackOutput { extension UpdateStackInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStackInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStackInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateStackInstancesResult"] @@ -12704,7 +12704,7 @@ extension UpdateStackInstancesOutput { extension UpdateStackSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStackSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStackSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateStackSetResult"] @@ -12716,7 +12716,7 @@ extension UpdateStackSetOutput { extension UpdateTerminationProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTerminationProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTerminationProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateTerminationProtectionResult"] @@ -12728,7 +12728,7 @@ extension UpdateTerminationProtectionOutput { extension ValidateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ValidateTemplateResult"] @@ -12744,7 +12744,7 @@ extension ValidateTemplateOutput { enum ActivateOrganizationsAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12759,7 +12759,7 @@ enum ActivateOrganizationsAccessOutputError { enum ActivateTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12774,7 +12774,7 @@ enum ActivateTypeOutputError { enum BatchDescribeTypeConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12789,7 +12789,7 @@ enum BatchDescribeTypeConfigurationsOutputError { enum CancelUpdateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12803,7 +12803,7 @@ enum CancelUpdateStackOutputError { enum ContinueUpdateRollbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12817,7 +12817,7 @@ enum ContinueUpdateRollbackOutputError { enum CreateChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12833,7 +12833,7 @@ enum CreateChangeSetOutputError { enum CreateGeneratedTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12849,7 +12849,7 @@ enum CreateGeneratedTemplateOutputError { enum CreateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12866,7 +12866,7 @@ enum CreateStackOutputError { enum CreateStackInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12885,7 +12885,7 @@ enum CreateStackInstancesOutputError { enum CreateStackSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12901,7 +12901,7 @@ enum CreateStackSetOutputError { enum DeactivateOrganizationsAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12916,7 +12916,7 @@ enum DeactivateOrganizationsAccessOutputError { enum DeactivateTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12931,7 +12931,7 @@ enum DeactivateTypeOutputError { enum DeleteChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12945,7 +12945,7 @@ enum DeleteChangeSetOutputError { enum DeleteGeneratedTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12960,7 +12960,7 @@ enum DeleteGeneratedTemplateOutputError { enum DeleteStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12974,7 +12974,7 @@ enum DeleteStackOutputError { enum DeleteStackInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12992,7 +12992,7 @@ enum DeleteStackInstancesOutputError { enum DeleteStackSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13007,7 +13007,7 @@ enum DeleteStackSetOutputError { enum DeregisterTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13022,7 +13022,7 @@ enum DeregisterTypeOutputError { enum DescribeAccountLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13035,7 +13035,7 @@ enum DescribeAccountLimitsOutputError { enum DescribeChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13049,7 +13049,7 @@ enum DescribeChangeSetOutputError { enum DescribeChangeSetHooksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13063,7 +13063,7 @@ enum DescribeChangeSetHooksOutputError { enum DescribeGeneratedTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13077,7 +13077,7 @@ enum DescribeGeneratedTemplateOutputError { enum DescribeOrganizationsAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13092,7 +13092,7 @@ enum DescribeOrganizationsAccessOutputError { enum DescribePublisherOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13106,7 +13106,7 @@ enum DescribePublisherOutputError { enum DescribeResourceScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13120,7 +13120,7 @@ enum DescribeResourceScanOutputError { enum DescribeStackDriftDetectionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13133,7 +13133,7 @@ enum DescribeStackDriftDetectionStatusOutputError { enum DescribeStackEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13146,7 +13146,7 @@ enum DescribeStackEventsOutputError { enum DescribeStackInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13161,7 +13161,7 @@ enum DescribeStackInstanceOutputError { enum DescribeStackResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13174,7 +13174,7 @@ enum DescribeStackResourceOutputError { enum DescribeStackResourceDriftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13187,7 +13187,7 @@ enum DescribeStackResourceDriftsOutputError { enum DescribeStackResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13200,7 +13200,7 @@ enum DescribeStackResourcesOutputError { enum DescribeStacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13213,7 +13213,7 @@ enum DescribeStacksOutputError { enum DescribeStackSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13227,7 +13227,7 @@ enum DescribeStackSetOutputError { enum DescribeStackSetOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13242,7 +13242,7 @@ enum DescribeStackSetOperationOutputError { enum DescribeTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13257,7 +13257,7 @@ enum DescribeTypeOutputError { enum DescribeTypeRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13271,7 +13271,7 @@ enum DescribeTypeRegistrationOutputError { enum DetectStackDriftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13284,7 +13284,7 @@ enum DetectStackDriftOutputError { enum DetectStackResourceDriftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13297,7 +13297,7 @@ enum DetectStackResourceDriftOutputError { enum DetectStackSetDriftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13313,7 +13313,7 @@ enum DetectStackSetDriftOutputError { enum EstimateTemplateCostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13326,7 +13326,7 @@ enum EstimateTemplateCostOutputError { enum ExecuteChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13343,7 +13343,7 @@ enum ExecuteChangeSetOutputError { enum GetGeneratedTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13357,7 +13357,7 @@ enum GetGeneratedTemplateOutputError { enum GetStackPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13370,7 +13370,7 @@ enum GetStackPolicyOutputError { enum GetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13384,7 +13384,7 @@ enum GetTemplateOutputError { enum GetTemplateSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13398,7 +13398,7 @@ enum GetTemplateSummaryOutputError { enum ImportStacksToStackSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13418,7 +13418,7 @@ enum ImportStacksToStackSetOutputError { enum ListChangeSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13431,7 +13431,7 @@ enum ListChangeSetsOutputError { enum ListExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13444,7 +13444,7 @@ enum ListExportsOutputError { enum ListGeneratedTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13457,7 +13457,7 @@ enum ListGeneratedTemplatesOutputError { enum ListImportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13470,7 +13470,7 @@ enum ListImportsOutputError { enum ListResourceScanRelatedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13485,7 +13485,7 @@ enum ListResourceScanRelatedResourcesOutputError { enum ListResourceScanResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13500,7 +13500,7 @@ enum ListResourceScanResourcesOutputError { enum ListResourceScansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13513,7 +13513,7 @@ enum ListResourceScansOutputError { enum ListStackInstanceResourceDriftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13529,7 +13529,7 @@ enum ListStackInstanceResourceDriftsOutputError { enum ListStackInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13543,7 +13543,7 @@ enum ListStackInstancesOutputError { enum ListStackResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13556,7 +13556,7 @@ enum ListStackResourcesOutputError { enum ListStacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13569,7 +13569,7 @@ enum ListStacksOutputError { enum ListStackSetAutoDeploymentTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13583,7 +13583,7 @@ enum ListStackSetAutoDeploymentTargetsOutputError { enum ListStackSetOperationResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13598,7 +13598,7 @@ enum ListStackSetOperationResultsOutputError { enum ListStackSetOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13612,7 +13612,7 @@ enum ListStackSetOperationsOutputError { enum ListStackSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13625,7 +13625,7 @@ enum ListStackSetsOutputError { enum ListTypeRegistrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13639,7 +13639,7 @@ enum ListTypeRegistrationsOutputError { enum ListTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13653,7 +13653,7 @@ enum ListTypesOutputError { enum ListTypeVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13667,7 +13667,7 @@ enum ListTypeVersionsOutputError { enum PublishTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13682,7 +13682,7 @@ enum PublishTypeOutputError { enum RecordHandlerProgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13697,7 +13697,7 @@ enum RecordHandlerProgressOutputError { enum RegisterPublisherOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13711,7 +13711,7 @@ enum RegisterPublisherOutputError { enum RegisterTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13725,7 +13725,7 @@ enum RegisterTypeOutputError { enum RollbackStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13739,7 +13739,7 @@ enum RollbackStackOutputError { enum SetStackPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13752,7 +13752,7 @@ enum SetStackPolicyOutputError { enum SetTypeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13767,7 +13767,7 @@ enum SetTypeConfigurationOutputError { enum SetTypeDefaultVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13782,7 +13782,7 @@ enum SetTypeDefaultVersionOutputError { enum SignalResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13795,7 +13795,7 @@ enum SignalResourceOutputError { enum StartResourceScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13810,7 +13810,7 @@ enum StartResourceScanOutputError { enum StopStackSetOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13826,7 +13826,7 @@ enum StopStackSetOperationOutputError { enum TestTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13841,7 +13841,7 @@ enum TestTypeOutputError { enum UpdateGeneratedTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13857,7 +13857,7 @@ enum UpdateGeneratedTemplateOutputError { enum UpdateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13872,7 +13872,7 @@ enum UpdateStackOutputError { enum UpdateStackInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13891,7 +13891,7 @@ enum UpdateStackInstancesOutputError { enum UpdateStackSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13910,7 +13910,7 @@ enum UpdateStackSetOutputError { enum UpdateTerminationProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13923,7 +13923,7 @@ enum UpdateTerminationProtectionOutputError { enum ValidateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift index dde84500eaa..42a0a1e6022 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift @@ -4839,7 +4839,7 @@ extension CloudFrontClient { /// Performs the `ListTagsForResource` operation on the `Cloudfront2020_05_31` service. /// - /// List tags for a CloudFront resource. + /// List tags for a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the Amazon CloudFront Developer Guide. /// /// - Parameter ListTagsForResourceInput : The request to list tags for a CloudFront resource. /// @@ -4938,7 +4938,7 @@ extension CloudFrontClient { /// Performs the `TagResource` operation on the `Cloudfront2020_05_31` service. /// - /// Add tags to a CloudFront resource. + /// Add tags to a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the Amazon CloudFront Developer Guide. /// /// - Parameter TagResourceInput : The request to add tags to a CloudFront resource. /// @@ -5043,7 +5043,7 @@ extension CloudFrontClient { /// Performs the `UntagResource` operation on the `Cloudfront2020_05_31` service. /// - /// Remove tags from a CloudFront resource. + /// Remove tags from a CloudFront resource. For more information, see [Tagging a distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) in the Amazon CloudFront Developer Guide. /// /// - Parameter UntagResourceInput : The request to remove tags from a CloudFront resource. /// diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift index 729415f4097..4f6d7a3f2ab 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import class SmithyXML.Writer import enum ClientRuntime.ErrorFault @@ -176,7 +176,7 @@ public struct AccessDenied: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -434,7 +434,7 @@ extension CloudFrontClientTypes { /// /// If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly. public struct CachedMethods : Swift.Equatable { - /// A complex type that contains the HTTP methods that you want CloudFront to cache responses to. + /// A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section. /// This member is required. public var items: [CloudFrontClientTypes.Method]? /// The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests). @@ -507,7 +507,7 @@ public struct IllegalUpdate: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -531,7 +531,7 @@ public struct InvalidArgument: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -555,7 +555,7 @@ public struct NoSuchDistribution: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -579,7 +579,7 @@ public struct TooManyDistributionCNAMEs: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -621,7 +621,7 @@ public struct BatchTooLarge: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -997,7 +997,7 @@ extension CloudFrontClientTypes { } extension CloudFrontClientTypes { - /// A complex type that describes how CloudFront processes requests. You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used. For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) in the Amazon CloudFront Developer Guide. If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. For more information, see [CacheBehaviors](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). Don't include an empty CacheBehavior element because this is invalid. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution. For more information about cache behaviors, see [Cache Behavior Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) in the Amazon CloudFront Developer Guide. + /// A complex type that describes how CloudFront processes requests. You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used. For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) in the Amazon CloudFront Developer Guide. If you don't want to specify any cache behaviors, include only an empty CacheBehaviors element. Don't specify an empty individual CacheBehavior element, because this is invalid. For more information, see [CacheBehaviors](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution. For more information about cache behaviors, see [Cache Behavior Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) in the Amazon CloudFront Developer Guide. public struct CacheBehavior : Swift.Equatable { /// A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices: /// @@ -1478,7 +1478,7 @@ public struct CachePolicyAlreadyExists: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1502,7 +1502,7 @@ public struct CachePolicyInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1607,7 +1607,7 @@ public struct CannotChangeImmutablePublicKeyFields: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1631,7 +1631,7 @@ public struct CannotDeleteEntityWhileInUse: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1687,7 +1687,7 @@ public struct CNAMEAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1711,7 +1711,7 @@ public struct DistributionAlreadyExists: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1735,7 +1735,7 @@ public struct IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior: Cli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1759,7 +1759,7 @@ public struct InconsistentQuantities: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1783,7 +1783,7 @@ public struct InvalidDefaultRootObject: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1807,7 +1807,7 @@ public struct InvalidErrorCode: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1831,7 +1831,7 @@ public struct InvalidForwardCookies: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1855,7 +1855,7 @@ public struct InvalidFunctionAssociation: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1879,7 +1879,7 @@ public struct InvalidGeoRestrictionParameter: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1903,7 +1903,7 @@ public struct InvalidHeadersForS3Origin: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1927,7 +1927,7 @@ public struct InvalidIfMatchVersion: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1951,7 +1951,7 @@ public struct InvalidLambdaFunctionAssociation: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1975,7 +1975,7 @@ public struct InvalidLocationCode: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1999,7 +1999,7 @@ public struct InvalidMinimumProtocolVersion: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2023,7 +2023,7 @@ public struct InvalidOrigin: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2047,7 +2047,7 @@ public struct InvalidOriginAccessControl: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2071,7 +2071,7 @@ public struct InvalidOriginAccessIdentity: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2095,7 +2095,7 @@ public struct InvalidOriginKeepaliveTimeout: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2119,7 +2119,7 @@ public struct InvalidOriginReadTimeout: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2143,7 +2143,7 @@ public struct InvalidProtocolSettings: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2167,7 +2167,7 @@ public struct InvalidQueryStringParameters: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2191,7 +2191,7 @@ public struct InvalidRelativePath: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2215,7 +2215,7 @@ public struct InvalidRequiredProtocol: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2239,7 +2239,7 @@ public struct InvalidResponseCode: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2263,7 +2263,7 @@ public struct InvalidTTLOrder: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2287,7 +2287,7 @@ public struct InvalidViewerCertificate: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2311,7 +2311,7 @@ public struct InvalidWebACLId: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2335,7 +2335,7 @@ public struct MissingBody: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2359,7 +2359,7 @@ public struct NoSuchCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2383,7 +2383,7 @@ public struct NoSuchFieldLevelEncryptionConfig: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2407,7 +2407,7 @@ public struct NoSuchOrigin: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2431,7 +2431,7 @@ public struct NoSuchOriginRequestPolicy: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2455,7 +2455,7 @@ public struct NoSuchRealtimeLogConfig: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2479,7 +2479,7 @@ public struct NoSuchResponseHeadersPolicy: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2503,7 +2503,7 @@ public struct PreconditionFailed: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2527,7 +2527,7 @@ public struct RealtimeLogConfigOwnerMismatch: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2551,7 +2551,7 @@ public struct TooManyCacheBehaviors: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2575,7 +2575,7 @@ public struct TooManyCertificates: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2599,7 +2599,7 @@ public struct TooManyCookieNamesInWhiteList: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2623,7 +2623,7 @@ public struct TooManyDistributions: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2647,7 +2647,7 @@ public struct TooManyDistributionsAssociatedToCachePolicy: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2671,7 +2671,7 @@ public struct TooManyDistributionsAssociatedToFieldLevelEncryptionConfig: Client public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2695,7 +2695,7 @@ public struct TooManyDistributionsAssociatedToKeyGroup: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2719,7 +2719,7 @@ public struct TooManyDistributionsAssociatedToOriginAccessControl: ClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2743,7 +2743,7 @@ public struct TooManyDistributionsAssociatedToOriginRequestPolicy: ClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2767,7 +2767,7 @@ public struct TooManyDistributionsAssociatedToResponseHeadersPolicy: ClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2791,7 +2791,7 @@ public struct TooManyDistributionsWithFunctionAssociations: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2815,7 +2815,7 @@ public struct TooManyDistributionsWithLambdaAssociations: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2839,7 +2839,7 @@ public struct TooManyDistributionsWithSingleFunctionARN: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2863,7 +2863,7 @@ public struct TooManyFunctionAssociations: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2887,7 +2887,7 @@ public struct TooManyHeadersInForwardedValues: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2911,7 +2911,7 @@ public struct TooManyKeyGroupsAssociatedToDistribution: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2935,7 +2935,7 @@ public struct TooManyLambdaFunctionAssociations: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2959,7 +2959,7 @@ public struct TooManyOriginCustomHeaders: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2983,7 +2983,7 @@ public struct TooManyOriginGroupsPerDistribution: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3007,7 +3007,7 @@ public struct TooManyOrigins: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3031,7 +3031,7 @@ public struct TooManyQueryStringParameters: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3055,7 +3055,7 @@ public struct TooManyTrustedSigners: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3079,7 +3079,7 @@ public struct TrustedKeyGroupDoesNotExist: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3103,7 +3103,7 @@ public struct TrustedSignerDoesNotExist: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4333,7 +4333,7 @@ public struct TooManyCachePolicies: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4357,7 +4357,7 @@ public struct TooManyCookiesInCachePolicy: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4381,7 +4381,7 @@ public struct TooManyHeadersInCachePolicy: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4405,7 +4405,7 @@ public struct TooManyQueryStringsInCachePolicy: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4462,7 +4462,7 @@ public struct CloudFrontOriginAccessIdentityAlreadyExists: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4486,7 +4486,7 @@ public struct TooManyCloudFrontOriginAccessIdentities: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4593,7 +4593,7 @@ public struct ContinuousDeploymentPolicyAlreadyExists: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4617,7 +4617,7 @@ public struct StagingDistributionInUse: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4641,7 +4641,7 @@ public struct TooManyContinuousDeploymentPolicies: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4891,7 +4891,7 @@ public struct ContinuousDeploymentPolicyInUse: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4915,7 +4915,7 @@ public struct IllegalOriginAccessConfiguration: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4939,7 +4939,7 @@ public struct InvalidDomainNameForOriginAccessControl: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4963,7 +4963,7 @@ public struct NoSuchContinuousDeploymentPolicy: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5022,7 +5022,7 @@ public struct InvalidTagging: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5140,7 +5140,7 @@ public struct FieldLevelEncryptionConfigAlreadyExists: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5164,7 +5164,7 @@ public struct NoSuchFieldLevelEncryptionProfile: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5188,7 +5188,7 @@ public struct QueryArgProfileEmpty: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5212,7 +5212,7 @@ public struct TooManyFieldLevelEncryptionConfigs: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5236,7 +5236,7 @@ public struct TooManyFieldLevelEncryptionContentTypeProfiles: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5260,7 +5260,7 @@ public struct TooManyFieldLevelEncryptionQueryArgProfiles: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5531,7 +5531,7 @@ public struct FieldLevelEncryptionProfileAlreadyExists: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5555,7 +5555,7 @@ public struct FieldLevelEncryptionProfileSizeExceeded: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5579,7 +5579,7 @@ public struct NoSuchPublicKey: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5603,7 +5603,7 @@ public struct TooManyFieldLevelEncryptionEncryptionEntities: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5627,7 +5627,7 @@ public struct TooManyFieldLevelEncryptionFieldPatterns: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5651,7 +5651,7 @@ public struct TooManyFieldLevelEncryptionProfiles: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5835,7 +5835,7 @@ public struct FunctionAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5859,7 +5859,7 @@ public struct FunctionSizeLimitExceeded: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5883,7 +5883,7 @@ public struct TooManyFunctions: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5907,7 +5907,7 @@ public struct UnsupportedOperation: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6162,7 +6162,7 @@ public struct TooManyInvalidationsInProgress: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6297,7 +6297,7 @@ public struct KeyGroupAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6321,7 +6321,7 @@ public struct TooManyKeyGroups: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6345,7 +6345,7 @@ public struct TooManyPublicKeysInKeyGroup: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6455,7 +6455,7 @@ public struct EntityAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6479,7 +6479,7 @@ public struct EntityLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6503,7 +6503,7 @@ public struct EntitySizeLimitExceeded: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6657,7 +6657,7 @@ public struct MonitoringSubscriptionAlreadyExists: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6773,7 +6773,7 @@ public struct OriginAccessControlAlreadyExists: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6797,7 +6797,7 @@ public struct TooManyOriginAccessControls: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7010,7 +7010,7 @@ public struct OriginRequestPolicyAlreadyExists: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7034,7 +7034,7 @@ public struct TooManyCookiesInOriginRequestPolicy: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7058,7 +7058,7 @@ public struct TooManyHeadersInOriginRequestPolicy: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7082,7 +7082,7 @@ public struct TooManyOriginRequestPolicies: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7106,7 +7106,7 @@ public struct TooManyQueryStringsInOriginRequestPolicy: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7441,7 +7441,7 @@ public struct PublicKeyAlreadyExists: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7465,7 +7465,7 @@ public struct TooManyPublicKeys: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7580,7 +7580,7 @@ public struct RealtimeLogConfigAlreadyExists: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7604,7 +7604,7 @@ public struct TooManyRealtimeLogConfigs: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7748,7 +7748,7 @@ public struct ResponseHeadersPolicyAlreadyExists: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7772,7 +7772,7 @@ public struct TooLongCSPInResponseHeadersPolicy: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7796,7 +7796,7 @@ public struct TooManyCustomHeadersInResponseHeadersPolicy: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7820,7 +7820,7 @@ public struct TooManyRemoveHeadersInResponseHeadersPolicy: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7844,7 +7844,7 @@ public struct TooManyResponseHeadersPolicies: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8501,7 +8501,7 @@ public struct StreamingDistributionAlreadyExists: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8525,7 +8525,7 @@ public struct TooManyStreamingDistributionCNAMEs: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8549,7 +8549,7 @@ public struct TooManyStreamingDistributions: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8809,7 +8809,7 @@ public struct IllegalDelete: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8850,7 +8850,7 @@ public struct CloudFrontOriginAccessIdentityInUse: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8874,7 +8874,7 @@ public struct NoSuchCloudFrontOriginAccessIdentity: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8933,7 +8933,7 @@ public struct DistributionNotDisabled: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8994,7 +8994,7 @@ public struct FieldLevelEncryptionConfigInUse: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9035,7 +9035,7 @@ public struct FieldLevelEncryptionProfileInUse: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9076,7 +9076,7 @@ public struct FunctionInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9100,7 +9100,7 @@ public struct NoSuchFunctionExists: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9142,7 +9142,7 @@ public struct NoSuchResource: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9166,7 +9166,7 @@ public struct ResourceInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9207,7 +9207,7 @@ public struct EntityNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9249,7 +9249,7 @@ public struct NoSuchMonitoringSubscription: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9291,7 +9291,7 @@ public struct NoSuchOriginAccessControl: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9315,7 +9315,7 @@ public struct OriginAccessControlInUse: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9356,7 +9356,7 @@ public struct OriginRequestPolicyInUse: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9397,7 +9397,7 @@ public struct PublicKeyInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9438,7 +9438,7 @@ public struct RealtimeLogConfigInUse: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9478,7 +9478,7 @@ public struct ResponseHeadersPolicyInUse: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9519,7 +9519,7 @@ public struct NoSuchStreamingDistribution: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9543,7 +9543,7 @@ public struct StreamingDistributionNotDisabled: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10045,7 +10045,7 @@ public struct NoSuchInvalidation: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12440,7 +12440,7 @@ public struct TestFunctionFailed: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15388,14 +15388,14 @@ extension UpdateStreamingDistributionInput { extension AssociateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAliasOutput { return AssociateAliasOutput() } } extension CopyDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15413,7 +15413,7 @@ extension CopyDistributionOutput { extension CreateCachePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCachePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCachePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15431,7 +15431,7 @@ extension CreateCachePolicyOutput { extension CreateCloudFrontOriginAccessIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCloudFrontOriginAccessIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudFrontOriginAccessIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15449,7 +15449,7 @@ extension CreateCloudFrontOriginAccessIdentityOutput { extension CreateContinuousDeploymentPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContinuousDeploymentPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContinuousDeploymentPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15467,7 +15467,7 @@ extension CreateContinuousDeploymentPolicyOutput { extension CreateDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15485,7 +15485,7 @@ extension CreateDistributionOutput { extension CreateDistributionWithTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDistributionWithTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDistributionWithTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15503,7 +15503,7 @@ extension CreateDistributionWithTagsOutput { extension CreateFieldLevelEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFieldLevelEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFieldLevelEncryptionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15521,7 +15521,7 @@ extension CreateFieldLevelEncryptionConfigOutput { extension CreateFieldLevelEncryptionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFieldLevelEncryptionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFieldLevelEncryptionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15539,7 +15539,7 @@ extension CreateFieldLevelEncryptionProfileOutput { extension CreateFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15557,7 +15557,7 @@ extension CreateFunctionOutput { extension CreateInvalidationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInvalidationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInvalidationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15572,7 +15572,7 @@ extension CreateInvalidationOutput { extension CreateKeyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15590,7 +15590,7 @@ extension CreateKeyGroupOutput { extension CreateKeyValueStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyValueStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyValueStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15608,7 +15608,7 @@ extension CreateKeyValueStoreOutput { extension CreateMonitoringSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMonitoringSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMonitoringSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15620,7 +15620,7 @@ extension CreateMonitoringSubscriptionOutput { extension CreateOriginAccessControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOriginAccessControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOriginAccessControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15638,7 +15638,7 @@ extension CreateOriginAccessControlOutput { extension CreateOriginRequestPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOriginRequestPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOriginRequestPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15656,7 +15656,7 @@ extension CreateOriginRequestPolicyOutput { extension CreatePublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15674,7 +15674,7 @@ extension CreatePublicKeyOutput { extension CreateRealtimeLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRealtimeLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRealtimeLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15686,7 +15686,7 @@ extension CreateRealtimeLogConfigOutput { extension CreateResponseHeadersPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResponseHeadersPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResponseHeadersPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15704,7 +15704,7 @@ extension CreateResponseHeadersPolicyOutput { extension CreateStreamingDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamingDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamingDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15722,7 +15722,7 @@ extension CreateStreamingDistributionOutput { extension CreateStreamingDistributionWithTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamingDistributionWithTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamingDistributionWithTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15740,119 +15740,119 @@ extension CreateStreamingDistributionWithTagsOutput { extension DeleteCachePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCachePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCachePolicyOutput { return DeleteCachePolicyOutput() } } extension DeleteCloudFrontOriginAccessIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCloudFrontOriginAccessIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCloudFrontOriginAccessIdentityOutput { return DeleteCloudFrontOriginAccessIdentityOutput() } } extension DeleteContinuousDeploymentPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContinuousDeploymentPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContinuousDeploymentPolicyOutput { return DeleteContinuousDeploymentPolicyOutput() } } extension DeleteDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDistributionOutput { return DeleteDistributionOutput() } } extension DeleteFieldLevelEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFieldLevelEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFieldLevelEncryptionConfigOutput { return DeleteFieldLevelEncryptionConfigOutput() } } extension DeleteFieldLevelEncryptionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFieldLevelEncryptionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFieldLevelEncryptionProfileOutput { return DeleteFieldLevelEncryptionProfileOutput() } } extension DeleteFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionOutput { return DeleteFunctionOutput() } } extension DeleteKeyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyGroupOutput { return DeleteKeyGroupOutput() } } extension DeleteKeyValueStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyValueStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyValueStoreOutput { return DeleteKeyValueStoreOutput() } } extension DeleteMonitoringSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMonitoringSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMonitoringSubscriptionOutput { return DeleteMonitoringSubscriptionOutput() } } extension DeleteOriginAccessControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOriginAccessControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOriginAccessControlOutput { return DeleteOriginAccessControlOutput() } } extension DeleteOriginRequestPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOriginRequestPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOriginRequestPolicyOutput { return DeleteOriginRequestPolicyOutput() } } extension DeletePublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePublicKeyOutput { return DeletePublicKeyOutput() } } extension DeleteRealtimeLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRealtimeLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRealtimeLogConfigOutput { return DeleteRealtimeLogConfigOutput() } } extension DeleteResponseHeadersPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResponseHeadersPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResponseHeadersPolicyOutput { return DeleteResponseHeadersPolicyOutput() } } extension DeleteStreamingDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamingDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamingDistributionOutput { return DeleteStreamingDistributionOutput() } } extension DescribeFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15867,7 +15867,7 @@ extension DescribeFunctionOutput { extension DescribeKeyValueStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyValueStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyValueStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15882,7 +15882,7 @@ extension DescribeKeyValueStoreOutput { extension GetCachePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCachePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCachePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15897,7 +15897,7 @@ extension GetCachePolicyOutput { extension GetCachePolicyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCachePolicyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCachePolicyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15912,7 +15912,7 @@ extension GetCachePolicyConfigOutput { extension GetCloudFrontOriginAccessIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCloudFrontOriginAccessIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCloudFrontOriginAccessIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15927,7 +15927,7 @@ extension GetCloudFrontOriginAccessIdentityOutput { extension GetCloudFrontOriginAccessIdentityConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCloudFrontOriginAccessIdentityConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCloudFrontOriginAccessIdentityConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15942,7 +15942,7 @@ extension GetCloudFrontOriginAccessIdentityConfigOutput { extension GetContinuousDeploymentPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContinuousDeploymentPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContinuousDeploymentPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15957,7 +15957,7 @@ extension GetContinuousDeploymentPolicyOutput { extension GetContinuousDeploymentPolicyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContinuousDeploymentPolicyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContinuousDeploymentPolicyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15972,7 +15972,7 @@ extension GetContinuousDeploymentPolicyConfigOutput { extension GetDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -15987,7 +15987,7 @@ extension GetDistributionOutput { extension GetDistributionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16002,7 +16002,7 @@ extension GetDistributionConfigOutput { extension GetFieldLevelEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFieldLevelEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFieldLevelEncryptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16017,7 +16017,7 @@ extension GetFieldLevelEncryptionOutput { extension GetFieldLevelEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFieldLevelEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFieldLevelEncryptionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16032,7 +16032,7 @@ extension GetFieldLevelEncryptionConfigOutput { extension GetFieldLevelEncryptionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFieldLevelEncryptionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFieldLevelEncryptionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16047,7 +16047,7 @@ extension GetFieldLevelEncryptionProfileOutput { extension GetFieldLevelEncryptionProfileConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFieldLevelEncryptionProfileConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFieldLevelEncryptionProfileConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16062,7 +16062,7 @@ extension GetFieldLevelEncryptionProfileConfigOutput { extension GetFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionOutput { var value = GetFunctionOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -16084,7 +16084,7 @@ extension GetFunctionOutput { extension GetInvalidationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInvalidationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInvalidationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16096,7 +16096,7 @@ extension GetInvalidationOutput { extension GetKeyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16111,7 +16111,7 @@ extension GetKeyGroupOutput { extension GetKeyGroupConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyGroupConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyGroupConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16126,7 +16126,7 @@ extension GetKeyGroupConfigOutput { extension GetMonitoringSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMonitoringSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMonitoringSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16138,7 +16138,7 @@ extension GetMonitoringSubscriptionOutput { extension GetOriginAccessControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOriginAccessControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOriginAccessControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16153,7 +16153,7 @@ extension GetOriginAccessControlOutput { extension GetOriginAccessControlConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOriginAccessControlConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOriginAccessControlConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16168,7 +16168,7 @@ extension GetOriginAccessControlConfigOutput { extension GetOriginRequestPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOriginRequestPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOriginRequestPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16183,7 +16183,7 @@ extension GetOriginRequestPolicyOutput { extension GetOriginRequestPolicyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOriginRequestPolicyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOriginRequestPolicyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16198,7 +16198,7 @@ extension GetOriginRequestPolicyConfigOutput { extension GetPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16213,7 +16213,7 @@ extension GetPublicKeyOutput { extension GetPublicKeyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPublicKeyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicKeyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16228,7 +16228,7 @@ extension GetPublicKeyConfigOutput { extension GetRealtimeLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRealtimeLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRealtimeLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16240,7 +16240,7 @@ extension GetRealtimeLogConfigOutput { extension GetResponseHeadersPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResponseHeadersPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResponseHeadersPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16255,7 +16255,7 @@ extension GetResponseHeadersPolicyOutput { extension GetResponseHeadersPolicyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResponseHeadersPolicyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResponseHeadersPolicyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16270,7 +16270,7 @@ extension GetResponseHeadersPolicyConfigOutput { extension GetStreamingDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamingDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16285,7 +16285,7 @@ extension GetStreamingDistributionOutput { extension GetStreamingDistributionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamingDistributionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingDistributionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16300,7 +16300,7 @@ extension GetStreamingDistributionConfigOutput { extension ListCachePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCachePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCachePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16312,7 +16312,7 @@ extension ListCachePoliciesOutput { extension ListCloudFrontOriginAccessIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCloudFrontOriginAccessIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCloudFrontOriginAccessIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16324,7 +16324,7 @@ extension ListCloudFrontOriginAccessIdentitiesOutput { extension ListConflictingAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConflictingAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConflictingAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16336,7 +16336,7 @@ extension ListConflictingAliasesOutput { extension ListContinuousDeploymentPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContinuousDeploymentPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContinuousDeploymentPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16348,7 +16348,7 @@ extension ListContinuousDeploymentPoliciesOutput { extension ListDistributionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16360,7 +16360,7 @@ extension ListDistributionsOutput { extension ListDistributionsByCachePolicyIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsByCachePolicyIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByCachePolicyIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16372,7 +16372,7 @@ extension ListDistributionsByCachePolicyIdOutput { extension ListDistributionsByKeyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsByKeyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByKeyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16384,7 +16384,7 @@ extension ListDistributionsByKeyGroupOutput { extension ListDistributionsByOriginRequestPolicyIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsByOriginRequestPolicyIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByOriginRequestPolicyIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16396,7 +16396,7 @@ extension ListDistributionsByOriginRequestPolicyIdOutput { extension ListDistributionsByRealtimeLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsByRealtimeLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByRealtimeLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16408,7 +16408,7 @@ extension ListDistributionsByRealtimeLogConfigOutput { extension ListDistributionsByResponseHeadersPolicyIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsByResponseHeadersPolicyIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByResponseHeadersPolicyIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16420,7 +16420,7 @@ extension ListDistributionsByResponseHeadersPolicyIdOutput { extension ListDistributionsByWebACLIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionsByWebACLIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByWebACLIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16432,7 +16432,7 @@ extension ListDistributionsByWebACLIdOutput { extension ListFieldLevelEncryptionConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFieldLevelEncryptionConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFieldLevelEncryptionConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16444,7 +16444,7 @@ extension ListFieldLevelEncryptionConfigsOutput { extension ListFieldLevelEncryptionProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFieldLevelEncryptionProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFieldLevelEncryptionProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16456,7 +16456,7 @@ extension ListFieldLevelEncryptionProfilesOutput { extension ListFunctionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16468,7 +16468,7 @@ extension ListFunctionsOutput { extension ListInvalidationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvalidationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvalidationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16480,7 +16480,7 @@ extension ListInvalidationsOutput { extension ListKeyGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeyGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeyGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16492,7 +16492,7 @@ extension ListKeyGroupsOutput { extension ListKeyValueStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeyValueStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeyValueStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16504,7 +16504,7 @@ extension ListKeyValueStoresOutput { extension ListOriginAccessControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOriginAccessControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOriginAccessControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16516,7 +16516,7 @@ extension ListOriginAccessControlsOutput { extension ListOriginRequestPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOriginRequestPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOriginRequestPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16528,7 +16528,7 @@ extension ListOriginRequestPoliciesOutput { extension ListPublicKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPublicKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPublicKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16540,7 +16540,7 @@ extension ListPublicKeysOutput { extension ListRealtimeLogConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRealtimeLogConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRealtimeLogConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16552,7 +16552,7 @@ extension ListRealtimeLogConfigsOutput { extension ListResponseHeadersPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResponseHeadersPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResponseHeadersPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16564,7 +16564,7 @@ extension ListResponseHeadersPoliciesOutput { extension ListStreamingDistributionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamingDistributionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamingDistributionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16576,7 +16576,7 @@ extension ListStreamingDistributionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16588,7 +16588,7 @@ extension ListTagsForResourceOutput { extension PublishFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16600,14 +16600,14 @@ extension PublishFunctionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16619,14 +16619,14 @@ extension TestFunctionOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCachePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCachePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCachePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16641,7 +16641,7 @@ extension UpdateCachePolicyOutput { extension UpdateCloudFrontOriginAccessIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCloudFrontOriginAccessIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCloudFrontOriginAccessIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16656,7 +16656,7 @@ extension UpdateCloudFrontOriginAccessIdentityOutput { extension UpdateContinuousDeploymentPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContinuousDeploymentPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContinuousDeploymentPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16671,7 +16671,7 @@ extension UpdateContinuousDeploymentPolicyOutput { extension UpdateDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16686,7 +16686,7 @@ extension UpdateDistributionOutput { extension UpdateDistributionWithStagingConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDistributionWithStagingConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDistributionWithStagingConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16701,7 +16701,7 @@ extension UpdateDistributionWithStagingConfigOutput { extension UpdateFieldLevelEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFieldLevelEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFieldLevelEncryptionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16716,7 +16716,7 @@ extension UpdateFieldLevelEncryptionConfigOutput { extension UpdateFieldLevelEncryptionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFieldLevelEncryptionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFieldLevelEncryptionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16731,7 +16731,7 @@ extension UpdateFieldLevelEncryptionProfileOutput { extension UpdateFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16746,7 +16746,7 @@ extension UpdateFunctionOutput { extension UpdateKeyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKeyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKeyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16761,7 +16761,7 @@ extension UpdateKeyGroupOutput { extension UpdateKeyValueStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKeyValueStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKeyValueStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16776,7 +16776,7 @@ extension UpdateKeyValueStoreOutput { extension UpdateOriginAccessControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOriginAccessControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOriginAccessControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16791,7 +16791,7 @@ extension UpdateOriginAccessControlOutput { extension UpdateOriginRequestPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOriginRequestPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOriginRequestPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16806,7 +16806,7 @@ extension UpdateOriginRequestPolicyOutput { extension UpdatePublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16821,7 +16821,7 @@ extension UpdatePublicKeyOutput { extension UpdateRealtimeLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRealtimeLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRealtimeLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16833,7 +16833,7 @@ extension UpdateRealtimeLogConfigOutput { extension UpdateResponseHeadersPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResponseHeadersPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResponseHeadersPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16848,7 +16848,7 @@ extension UpdateResponseHeadersPolicyOutput { extension UpdateStreamingDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStreamingDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStreamingDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16863,7 +16863,7 @@ extension UpdateStreamingDistributionOutput { enum AssociateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16881,7 +16881,7 @@ enum AssociateAliasOutputError { enum CopyDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16958,7 +16958,7 @@ enum CopyDistributionOutputError { enum CreateCachePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16979,7 +16979,7 @@ enum CreateCachePolicyOutputError { enum CreateCloudFrontOriginAccessIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16997,7 +16997,7 @@ enum CreateCloudFrontOriginAccessIdentityOutputError { enum CreateContinuousDeploymentPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17016,7 +17016,7 @@ enum CreateContinuousDeploymentPolicyOutputError { enum CreateDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17094,7 +17094,7 @@ enum CreateDistributionOutputError { enum CreateDistributionWithTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17173,7 +17173,7 @@ enum CreateDistributionWithTagsOutputError { enum CreateFieldLevelEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17194,7 +17194,7 @@ enum CreateFieldLevelEncryptionConfigOutputError { enum CreateFieldLevelEncryptionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17215,7 +17215,7 @@ enum CreateFieldLevelEncryptionProfileOutputError { enum CreateFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17233,7 +17233,7 @@ enum CreateFunctionOutputError { enum CreateInvalidationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17253,7 +17253,7 @@ enum CreateInvalidationOutputError { enum CreateKeyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17270,7 +17270,7 @@ enum CreateKeyGroupOutputError { enum CreateKeyValueStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17289,7 +17289,7 @@ enum CreateKeyValueStoreOutputError { enum CreateMonitoringSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17306,7 +17306,7 @@ enum CreateMonitoringSubscriptionOutputError { enum CreateOriginAccessControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17322,7 +17322,7 @@ enum CreateOriginAccessControlOutputError { enum CreateOriginRequestPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17343,7 +17343,7 @@ enum CreateOriginRequestPolicyOutputError { enum CreatePublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17359,7 +17359,7 @@ enum CreatePublicKeyOutputError { enum CreateRealtimeLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17376,7 +17376,7 @@ enum CreateRealtimeLogConfigOutputError { enum CreateResponseHeadersPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17397,7 +17397,7 @@ enum CreateResponseHeadersPolicyOutputError { enum CreateStreamingDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17423,7 +17423,7 @@ enum CreateStreamingDistributionOutputError { enum CreateStreamingDistributionWithTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17450,7 +17450,7 @@ enum CreateStreamingDistributionWithTagsOutputError { enum DeleteCachePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17469,7 +17469,7 @@ enum DeleteCachePolicyOutputError { enum DeleteCloudFrontOriginAccessIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17487,7 +17487,7 @@ enum DeleteCloudFrontOriginAccessIdentityOutputError { enum DeleteContinuousDeploymentPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17506,7 +17506,7 @@ enum DeleteContinuousDeploymentPolicyOutputError { enum DeleteDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17524,7 +17524,7 @@ enum DeleteDistributionOutputError { enum DeleteFieldLevelEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17542,7 +17542,7 @@ enum DeleteFieldLevelEncryptionConfigOutputError { enum DeleteFieldLevelEncryptionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17560,7 +17560,7 @@ enum DeleteFieldLevelEncryptionProfileOutputError { enum DeleteFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17578,7 +17578,7 @@ enum DeleteFunctionOutputError { enum DeleteKeyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17595,7 +17595,7 @@ enum DeleteKeyGroupOutputError { enum DeleteKeyValueStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17614,7 +17614,7 @@ enum DeleteKeyValueStoreOutputError { enum DeleteMonitoringSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17631,7 +17631,7 @@ enum DeleteMonitoringSubscriptionOutputError { enum DeleteOriginAccessControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17649,7 +17649,7 @@ enum DeleteOriginAccessControlOutputError { enum DeleteOriginRequestPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17668,7 +17668,7 @@ enum DeleteOriginRequestPolicyOutputError { enum DeletePublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17686,7 +17686,7 @@ enum DeletePublicKeyOutputError { enum DeleteRealtimeLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17703,7 +17703,7 @@ enum DeleteRealtimeLogConfigOutputError { enum DeleteResponseHeadersPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17722,7 +17722,7 @@ enum DeleteResponseHeadersPolicyOutputError { enum DeleteStreamingDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17740,7 +17740,7 @@ enum DeleteStreamingDistributionOutputError { enum DescribeFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17755,7 +17755,7 @@ enum DescribeFunctionOutputError { enum DescribeKeyValueStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17772,7 +17772,7 @@ enum DescribeKeyValueStoreOutputError { enum GetCachePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17787,7 +17787,7 @@ enum GetCachePolicyOutputError { enum GetCachePolicyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17802,7 +17802,7 @@ enum GetCachePolicyConfigOutputError { enum GetCloudFrontOriginAccessIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17817,7 +17817,7 @@ enum GetCloudFrontOriginAccessIdentityOutputError { enum GetCloudFrontOriginAccessIdentityConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17832,7 +17832,7 @@ enum GetCloudFrontOriginAccessIdentityConfigOutputError { enum GetContinuousDeploymentPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17847,7 +17847,7 @@ enum GetContinuousDeploymentPolicyOutputError { enum GetContinuousDeploymentPolicyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17862,7 +17862,7 @@ enum GetContinuousDeploymentPolicyConfigOutputError { enum GetDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17877,7 +17877,7 @@ enum GetDistributionOutputError { enum GetDistributionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17892,7 +17892,7 @@ enum GetDistributionConfigOutputError { enum GetFieldLevelEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17907,7 +17907,7 @@ enum GetFieldLevelEncryptionOutputError { enum GetFieldLevelEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17922,7 +17922,7 @@ enum GetFieldLevelEncryptionConfigOutputError { enum GetFieldLevelEncryptionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17937,7 +17937,7 @@ enum GetFieldLevelEncryptionProfileOutputError { enum GetFieldLevelEncryptionProfileConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17952,7 +17952,7 @@ enum GetFieldLevelEncryptionProfileConfigOutputError { enum GetFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17967,7 +17967,7 @@ enum GetFunctionOutputError { enum GetInvalidationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17983,7 +17983,7 @@ enum GetInvalidationOutputError { enum GetKeyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17997,7 +17997,7 @@ enum GetKeyGroupOutputError { enum GetKeyGroupConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18011,7 +18011,7 @@ enum GetKeyGroupConfigOutputError { enum GetMonitoringSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18028,7 +18028,7 @@ enum GetMonitoringSubscriptionOutputError { enum GetOriginAccessControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18043,7 +18043,7 @@ enum GetOriginAccessControlOutputError { enum GetOriginAccessControlConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18058,7 +18058,7 @@ enum GetOriginAccessControlConfigOutputError { enum GetOriginRequestPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18073,7 +18073,7 @@ enum GetOriginRequestPolicyOutputError { enum GetOriginRequestPolicyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18088,7 +18088,7 @@ enum GetOriginRequestPolicyConfigOutputError { enum GetPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18103,7 +18103,7 @@ enum GetPublicKeyOutputError { enum GetPublicKeyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18118,7 +18118,7 @@ enum GetPublicKeyConfigOutputError { enum GetRealtimeLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18134,7 +18134,7 @@ enum GetRealtimeLogConfigOutputError { enum GetResponseHeadersPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18149,7 +18149,7 @@ enum GetResponseHeadersPolicyOutputError { enum GetResponseHeadersPolicyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18164,7 +18164,7 @@ enum GetResponseHeadersPolicyConfigOutputError { enum GetStreamingDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18179,7 +18179,7 @@ enum GetStreamingDistributionOutputError { enum GetStreamingDistributionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18194,7 +18194,7 @@ enum GetStreamingDistributionConfigOutputError { enum ListCachePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18210,7 +18210,7 @@ enum ListCachePoliciesOutputError { enum ListCloudFrontOriginAccessIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18224,7 +18224,7 @@ enum ListCloudFrontOriginAccessIdentitiesOutputError { enum ListConflictingAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18239,7 +18239,7 @@ enum ListConflictingAliasesOutputError { enum ListContinuousDeploymentPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18255,7 +18255,7 @@ enum ListContinuousDeploymentPoliciesOutputError { enum ListDistributionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18269,7 +18269,7 @@ enum ListDistributionsOutputError { enum ListDistributionsByCachePolicyIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18285,7 +18285,7 @@ enum ListDistributionsByCachePolicyIdOutputError { enum ListDistributionsByKeyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18300,7 +18300,7 @@ enum ListDistributionsByKeyGroupOutputError { enum ListDistributionsByOriginRequestPolicyIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18316,7 +18316,7 @@ enum ListDistributionsByOriginRequestPolicyIdOutputError { enum ListDistributionsByRealtimeLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18330,7 +18330,7 @@ enum ListDistributionsByRealtimeLogConfigOutputError { enum ListDistributionsByResponseHeadersPolicyIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18346,7 +18346,7 @@ enum ListDistributionsByResponseHeadersPolicyIdOutputError { enum ListDistributionsByWebACLIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18361,7 +18361,7 @@ enum ListDistributionsByWebACLIdOutputError { enum ListFieldLevelEncryptionConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18375,7 +18375,7 @@ enum ListFieldLevelEncryptionConfigsOutputError { enum ListFieldLevelEncryptionProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18389,7 +18389,7 @@ enum ListFieldLevelEncryptionProfilesOutputError { enum ListFunctionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18404,7 +18404,7 @@ enum ListFunctionsOutputError { enum ListInvalidationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18420,7 +18420,7 @@ enum ListInvalidationsOutputError { enum ListKeyGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18434,7 +18434,7 @@ enum ListKeyGroupsOutputError { enum ListKeyValueStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18450,7 +18450,7 @@ enum ListKeyValueStoresOutputError { enum ListOriginAccessControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18464,7 +18464,7 @@ enum ListOriginAccessControlsOutputError { enum ListOriginRequestPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18480,7 +18480,7 @@ enum ListOriginRequestPoliciesOutputError { enum ListPublicKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18494,7 +18494,7 @@ enum ListPublicKeysOutputError { enum ListRealtimeLogConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18510,7 +18510,7 @@ enum ListRealtimeLogConfigsOutputError { enum ListResponseHeadersPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18526,7 +18526,7 @@ enum ListResponseHeadersPoliciesOutputError { enum ListStreamingDistributionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18540,7 +18540,7 @@ enum ListStreamingDistributionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18557,7 +18557,7 @@ enum ListTagsForResourceOutputError { enum PublishFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18575,7 +18575,7 @@ enum PublishFunctionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18592,7 +18592,7 @@ enum TagResourceOutputError { enum TestFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18610,7 +18610,7 @@ enum TestFunctionOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18627,7 +18627,7 @@ enum UntagResourceOutputError { enum UpdateCachePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18651,7 +18651,7 @@ enum UpdateCachePolicyOutputError { enum UpdateCloudFrontOriginAccessIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18672,7 +18672,7 @@ enum UpdateCloudFrontOriginAccessIdentityOutputError { enum UpdateContinuousDeploymentPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18692,7 +18692,7 @@ enum UpdateContinuousDeploymentPolicyOutputError { enum UpdateDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18771,7 +18771,7 @@ enum UpdateDistributionOutputError { enum UpdateDistributionWithStagingConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18845,7 +18845,7 @@ enum UpdateDistributionWithStagingConfigOutputError { enum UpdateFieldLevelEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18869,7 +18869,7 @@ enum UpdateFieldLevelEncryptionConfigOutputError { enum UpdateFieldLevelEncryptionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18894,7 +18894,7 @@ enum UpdateFieldLevelEncryptionProfileOutputError { enum UpdateFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18913,7 +18913,7 @@ enum UpdateFunctionOutputError { enum UpdateKeyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18932,7 +18932,7 @@ enum UpdateKeyGroupOutputError { enum UpdateKeyValueStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18951,7 +18951,7 @@ enum UpdateKeyValueStoreOutputError { enum UpdateOriginAccessControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18971,7 +18971,7 @@ enum UpdateOriginAccessControlOutputError { enum UpdateOriginRequestPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18995,7 +18995,7 @@ enum UpdateOriginRequestPolicyOutputError { enum UpdatePublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19015,7 +19015,7 @@ enum UpdatePublicKeyOutputError { enum UpdateRealtimeLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19031,7 +19031,7 @@ enum UpdateRealtimeLogConfigOutputError { enum UpdateResponseHeadersPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19055,7 +19055,7 @@ enum UpdateResponseHeadersPolicyOutputError { enum UpdateStreamingDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift index f174b3e4323..37f303d6277 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift @@ -17,8 +17,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -222,7 +222,7 @@ extension CloudFrontKeyValueStoreClient { .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -289,7 +289,7 @@ extension CloudFrontKeyValueStoreClient { .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -355,7 +355,7 @@ extension CloudFrontKeyValueStoreClient { .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -422,7 +422,7 @@ extension CloudFrontKeyValueStoreClient { .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -491,7 +491,7 @@ extension CloudFrontKeyValueStoreClient { .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -563,7 +563,7 @@ extension CloudFrontKeyValueStoreClient { .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/Models.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/Models.swift index 76a74ed2f2d..be4d4d35a19 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/Models.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -130,7 +130,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -677,7 +677,7 @@ extension UpdateKeysInput { extension DeleteKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -693,7 +693,7 @@ extension DeleteKeyOutput { extension DescribeKeyValueStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyValueStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyValueStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -714,7 +714,7 @@ extension DescribeKeyValueStoreOutput { extension GetKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -729,7 +729,7 @@ extension GetKeyOutput { extension ListKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -742,7 +742,7 @@ extension ListKeysOutput { extension PutKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -758,7 +758,7 @@ extension PutKeyOutput { extension UpdateKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -774,7 +774,7 @@ extension UpdateKeysOutput { enum DeleteKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -793,7 +793,7 @@ enum DeleteKeyOutputError { enum DescribeKeyValueStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -810,7 +810,7 @@ enum DescribeKeyValueStoreOutputError { enum GetKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -827,7 +827,7 @@ enum GetKeyOutputError { enum ListKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -845,7 +845,7 @@ enum ListKeysOutputError { enum PutKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -864,7 +864,7 @@ enum PutKeyOutputError { enum UpdateKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/Models.swift b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/Models.swift index 9aeb6ce8689..c33700b7fd3 100644 --- a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/Models.swift +++ b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct CloudHsmInternalException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -64,7 +64,7 @@ public struct CloudHsmServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1354,7 +1354,7 @@ extension RemoveTagsFromResourceInput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1366,7 +1366,7 @@ extension AddTagsToResourceOutput { extension CreateHapgOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHapgOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHapgOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1378,7 +1378,7 @@ extension CreateHapgOutput { extension CreateHsmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHsmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHsmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1390,7 +1390,7 @@ extension CreateHsmOutput { extension CreateLunaClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLunaClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLunaClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1402,7 +1402,7 @@ extension CreateLunaClientOutput { extension DeleteHapgOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHapgOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHapgOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1414,7 +1414,7 @@ extension DeleteHapgOutput { extension DeleteHsmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHsmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHsmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1426,7 +1426,7 @@ extension DeleteHsmOutput { extension DeleteLunaClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLunaClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLunaClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1438,7 +1438,7 @@ extension DeleteLunaClientOutput { extension DescribeHapgOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHapgOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHapgOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1458,7 +1458,7 @@ extension DescribeHapgOutput { extension DescribeHsmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHsmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHsmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1490,7 +1490,7 @@ extension DescribeHsmOutput { extension DescribeLunaClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLunaClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLunaClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1506,7 +1506,7 @@ extension DescribeLunaClientOutput { extension GetConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1520,7 +1520,7 @@ extension GetConfigOutput { extension ListAvailableZonesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableZonesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableZonesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1532,7 +1532,7 @@ extension ListAvailableZonesOutput { extension ListHapgsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHapgsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHapgsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1545,7 +1545,7 @@ extension ListHapgsOutput { extension ListHsmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHsmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHsmsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1558,7 +1558,7 @@ extension ListHsmsOutput { extension ListLunaClientsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLunaClientsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLunaClientsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1571,7 +1571,7 @@ extension ListLunaClientsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1583,7 +1583,7 @@ extension ListTagsForResourceOutput { extension ModifyHapgOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyHapgOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyHapgOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1595,7 +1595,7 @@ extension ModifyHapgOutput { extension ModifyHsmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyHsmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyHsmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1607,7 +1607,7 @@ extension ModifyHsmOutput { extension ModifyLunaClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyLunaClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyLunaClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1619,7 +1619,7 @@ extension ModifyLunaClientOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1631,7 +1631,7 @@ extension RemoveTagsFromResourceOutput { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1647,7 +1647,7 @@ enum AddTagsToResourceOutputError { enum CreateHapgOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1663,7 +1663,7 @@ enum CreateHapgOutputError { enum CreateHsmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1679,7 +1679,7 @@ enum CreateHsmOutputError { enum CreateLunaClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1695,7 +1695,7 @@ enum CreateLunaClientOutputError { enum DeleteHapgOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1711,7 +1711,7 @@ enum DeleteHapgOutputError { enum DeleteHsmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1727,7 +1727,7 @@ enum DeleteHsmOutputError { enum DeleteLunaClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1743,7 +1743,7 @@ enum DeleteLunaClientOutputError { enum DescribeHapgOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1759,7 +1759,7 @@ enum DescribeHapgOutputError { enum DescribeHsmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1775,7 +1775,7 @@ enum DescribeHsmOutputError { enum DescribeLunaClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1791,7 +1791,7 @@ enum DescribeLunaClientOutputError { enum GetConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1807,7 +1807,7 @@ enum GetConfigOutputError { enum ListAvailableZonesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1823,7 +1823,7 @@ enum ListAvailableZonesOutputError { enum ListHapgsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1839,7 +1839,7 @@ enum ListHapgsOutputError { enum ListHsmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1855,7 +1855,7 @@ enum ListHsmsOutputError { enum ListLunaClientsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1871,7 +1871,7 @@ enum ListLunaClientsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1887,7 +1887,7 @@ enum ListTagsForResourceOutputError { enum ModifyHapgOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1903,7 +1903,7 @@ enum ModifyHapgOutputError { enum ModifyHsmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1919,7 +1919,7 @@ enum ModifyHsmOutputError { enum ModifyLunaClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1933,7 +1933,7 @@ enum ModifyLunaClientOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift index 602d838a029..05a4f826ac8 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift @@ -180,7 +180,7 @@ extension CloudHSMV2Client { extension CloudHSMV2Client { /// Performs the `CopyBackupToRegion` operation on the `BaldrApiService` service. /// - /// Copy an AWS CloudHSM cluster backup to a different region. + /// Copy an CloudHSM cluster backup to a different region. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account. /// /// - Parameter CopyBackupToRegionInput : [no documentation found] /// @@ -190,7 +190,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -234,7 +234,7 @@ extension CloudHSMV2Client { /// Performs the `CreateCluster` operation on the `BaldrApiService` service. /// - /// Creates a new AWS CloudHSM cluster. + /// Creates a new CloudHSM cluster. Cross-account use: Yes. To perform this operation with an CloudHSM backup in a different AWS account, specify the full backup ARN in the value of the SourceBackupId parameter. /// /// - Parameter CreateClusterInput : [no documentation found] /// @@ -244,7 +244,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -288,7 +288,7 @@ extension CloudHSMV2Client { /// Performs the `CreateHsm` operation on the `BaldrApiService` service. /// - /// Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster. + /// Creates a new hardware security module (HSM) in the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Service account. /// /// - Parameter CreateHsmInput : [no documentation found] /// @@ -298,7 +298,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -341,7 +341,7 @@ extension CloudHSMV2Client { /// Performs the `DeleteBackup` operation on the `BaldrApiService` service. /// - /// Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see [RestoreBackup]. + /// Deletes a specified CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see [RestoreBackup]. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account. /// /// - Parameter DeleteBackupInput : [no documentation found] /// @@ -351,7 +351,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -394,7 +394,7 @@ extension CloudHSMV2Client { /// Performs the `DeleteCluster` operation on the `BaldrApiService` service. /// - /// Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use [DescribeClusters]. To delete an HSM, use [DeleteHsm]. + /// Deletes the specified CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use [DescribeClusters]. To delete an HSM, use [DeleteHsm]. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account. /// /// - Parameter DeleteClusterInput : [no documentation found] /// @@ -404,7 +404,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -448,7 +448,7 @@ extension CloudHSMV2Client { /// Performs the `DeleteHsm` operation on the `BaldrApiService` service. /// - /// Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use [DescribeClusters]. + /// Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use [DescribeClusters]. Cross-account use: No. You cannot perform this operation on an CloudHSM hsm in a different Amazon Web Services account. /// /// - Parameter DeleteHsmInput : [no documentation found] /// @@ -458,7 +458,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -499,9 +499,62 @@ extension CloudHSMV2Client { return result } + /// Performs the `DeleteResourcePolicy` operation on the `BaldrApiService` service. + /// + /// Deletes an CloudHSM resource policy. Deleting a resource policy will result in the resource being unshared and removed from any RAM resource shares. Deleting the resource policy attached to a backup will not impact any clusters created from that backup. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account. + /// + /// - Parameter DeleteResourcePolicyInput : [no documentation found] + /// + /// - Returns: `DeleteResourcePolicyOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. + /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. + /// - `CloudHsmServiceException` : The request was rejected because an error occurred. + public func deleteResourcePolicy(input: DeleteResourcePolicyInput) async throws -> DeleteResourcePolicyOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteResourcePolicy") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "cloudhsm") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deleteResourcePolicy") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteResourcePolicyInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "BaldrApiService.DeleteResourcePolicy")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteResourcePolicyInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteResourcePolicyOutput.httpOutput(from:), DeleteResourcePolicyOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DescribeBackups` operation on the `BaldrApiService` service. /// - /// Gets information about backups of AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get. + /// Gets information about backups of CloudHSM clusters. Lists either the backups you own or the backups shared with you when the Shared parameter is true. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get. Cross-account use: Yes. Customers can describe backups in other Amazon Web Services accounts that are shared with them. /// /// - Parameter DescribeBackupsInput : [no documentation found] /// @@ -511,7 +564,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -555,7 +608,7 @@ extension CloudHSMV2Client { /// Performs the `DescribeClusters` operation on the `BaldrApiService` service. /// - /// Gets information about AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get. + /// Gets information about CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get. Cross-account use: No. You cannot perform this operation on CloudHSM clusters in a different Amazon Web Services account. /// /// - Parameter DescribeClustersInput : [no documentation found] /// @@ -565,7 +618,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. /// - `CloudHsmTagException` : The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request. @@ -606,9 +659,62 @@ extension CloudHSMV2Client { return result } + /// Performs the `GetResourcePolicy` operation on the `BaldrApiService` service. + /// + /// Retrieves the resource policy document attached to a given resource. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account. + /// + /// - Parameter GetResourcePolicyInput : [no documentation found] + /// + /// - Returns: `GetResourcePolicyOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. + /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. + /// - `CloudHsmServiceException` : The request was rejected because an error occurred. + public func getResourcePolicy(input: GetResourcePolicyInput) async throws -> GetResourcePolicyOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "getResourcePolicy") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "cloudhsm") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getResourcePolicy") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetResourcePolicyInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "BaldrApiService.GetResourcePolicy")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: GetResourcePolicyInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetResourcePolicyOutput.httpOutput(from:), GetResourcePolicyOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `InitializeCluster` operation on the `BaldrApiService` service. /// - /// Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use [DescribeClusters]. + /// Claims an CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use [DescribeClusters]. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account. /// /// - Parameter InitializeClusterInput : [no documentation found] /// @@ -618,7 +724,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -661,7 +767,7 @@ extension CloudHSMV2Client { /// Performs the `ListTags` operation on the `BaldrApiService` service. /// - /// Gets a list of tags for the specified AWS CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get. + /// Gets a list of tags for the specified CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account. /// /// - Parameter ListTagsInput : [no documentation found] /// @@ -671,7 +777,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -715,7 +821,7 @@ extension CloudHSMV2Client { /// Performs the `ModifyBackupAttributes` operation on the `BaldrApiService` service. /// - /// Modifies attributes for AWS CloudHSM backup. + /// Modifies attributes for CloudHSM backup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account. /// /// - Parameter ModifyBackupAttributesInput : [no documentation found] /// @@ -725,7 +831,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -768,7 +874,7 @@ extension CloudHSMV2Client { /// Performs the `ModifyCluster` operation on the `BaldrApiService` service. /// - /// Modifies AWS CloudHSM cluster. + /// Modifies CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account. /// /// - Parameter ModifyClusterInput : [no documentation found] /// @@ -778,7 +884,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -819,9 +925,67 @@ extension CloudHSMV2Client { return result } + /// Performs the `PutResourcePolicy` operation on the `BaldrApiService` service. + /// + /// Creates or updates an CloudHSM resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your CloudHSM resources. The following resources support CloudHSM resource policies: + /// + /// * Backup - The resource policy allows you to describe the backup and restore a cluster from the backup in another Amazon Web Services account. + /// + /// + /// In order to share a backup, it must be in a 'READY' state and you must own it. While you can share a backup using the CloudHSM PutResourcePolicy operation, we recommend using Resource Access Manager (RAM) instead. Using RAM provides multiple benefits as it creates the policy for you, allows multiple resources to be shared at one time, and increases the discoverability of shared resources. If you use PutResourcePolicy and want consumers to be able to describe the backups you share with them, you must promote the backup to a standard RAM Resource Share using the RAM PromoteResourceShareCreatedFromPolicy API operation. For more information, see [ Working with shared backups](https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html) in the CloudHSM User Guide Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account. + /// + /// - Parameter PutResourcePolicyInput : [no documentation found] + /// + /// - Returns: `PutResourcePolicyOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. + /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. + /// - `CloudHsmServiceException` : The request was rejected because an error occurred. + public func putResourcePolicy(input: PutResourcePolicyInput) async throws -> PutResourcePolicyOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "putResourcePolicy") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "cloudhsm") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "putResourcePolicy") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(PutResourcePolicyInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "BaldrApiService.PutResourcePolicy")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutResourcePolicyInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(PutResourcePolicyOutput.httpOutput(from:), PutResourcePolicyOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `RestoreBackup` operation on the `BaldrApiService` service. /// - /// Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see [DeleteBackup]. + /// Restores a specified CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see [DeleteBackup]. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account. /// /// - Parameter RestoreBackupInput : [no documentation found] /// @@ -831,7 +995,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -874,7 +1038,7 @@ extension CloudHSMV2Client { /// Performs the `TagResource` operation on the `BaldrApiService` service. /// - /// Adds or overwrites one or more tags for the specified AWS CloudHSM cluster. + /// Adds or overwrites one or more tags for the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account. /// /// - Parameter TagResourceInput : [no documentation found] /// @@ -884,7 +1048,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. @@ -928,7 +1092,7 @@ extension CloudHSMV2Client { /// Performs the `UntagResource` operation on the `BaldrApiService` service. /// - /// Removes the specified tag or tags from the specified AWS CloudHSM cluster. + /// Removes the specified tag or tags from the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account. /// /// - Parameter UntagResourceInput : [no documentation found] /// @@ -938,7 +1102,7 @@ extension CloudHSMV2Client { /// /// __Possible Exceptions:__ /// - `CloudHsmAccessDeniedException` : The request was rejected because the requester does not have permission to perform the requested operation. - /// - `CloudHsmInternalFailureException` : The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. + /// - `CloudHsmInternalFailureException` : The request was rejected because of an CloudHSM internal failure. The request can be retried. /// - `CloudHsmInvalidRequestException` : The request was rejected because it is not a valid request. /// - `CloudHsmResourceNotFoundException` : The request was rejected because it refers to a resource that cannot be found. /// - `CloudHsmServiceException` : The request was rejected because an error occurred. diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Models.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Models.swift index 52d4ead9fb0..926515957f2 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Models.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -109,8 +109,10 @@ extension CloudHSMV2ClientTypes { } extension CloudHSMV2ClientTypes { - /// Contains information about a backup of an AWS CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter. + /// Contains information about a backup of an CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter. public struct Backup { + /// The Amazon Resource Name (ARN) of the backup. + public var backupArn: Swift.String? /// The identifier (ID) of the backup. /// This member is required. public var backupId: Swift.String? @@ -124,7 +126,7 @@ extension CloudHSMV2ClientTypes { public var createTimestamp: Foundation.Date? /// The date and time when the backup will be permanently deleted. public var deleteTimestamp: Foundation.Date? - /// The HSM type of the cluster that was backed up. + /// The HSM type used to create the backup. public var hsmType: Swift.String? /// The mode of the cluster that was backed up. public var mode: CloudHSMV2ClientTypes.ClusterMode? @@ -140,6 +142,7 @@ extension CloudHSMV2ClientTypes { public var tagList: [CloudHSMV2ClientTypes.Tag]? public init( + backupArn: Swift.String? = nil, backupId: Swift.String? = nil, backupState: CloudHSMV2ClientTypes.BackupState? = nil, clusterId: Swift.String? = nil, @@ -155,6 +158,7 @@ extension CloudHSMV2ClientTypes { tagList: [CloudHSMV2ClientTypes.Tag]? = nil ) { + self.backupArn = backupArn self.backupId = backupId self.backupState = backupState self.clusterId = clusterId @@ -257,7 +261,7 @@ public struct CloudHsmAccessDeniedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +273,7 @@ public struct CloudHsmAccessDeniedException: ClientRuntime.ModeledError, AWSClie } } -/// The request was rejected because of an AWS CloudHSM internal failure. The request can be retried. +/// The request was rejected because of an CloudHSM internal failure. The request can be retried. public struct CloudHsmInternalFailureException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -281,7 +285,7 @@ public struct CloudHsmInternalFailureException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -305,7 +309,7 @@ public struct CloudHsmInvalidRequestException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -329,7 +333,7 @@ public struct CloudHsmResourceNotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -353,7 +357,7 @@ public struct CloudHsmServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -377,7 +381,7 @@ public struct CloudHsmTagException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -459,7 +463,7 @@ public struct CreateClusterInput { public var hsmType: Swift.String? /// The mode to use in the cluster. The allowed values are FIPS and NON_FIPS. public var mode: CloudHSMV2ClientTypes.ClusterMode? - /// The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use [DescribeBackups]. + /// The identifier (ID) or the Amazon Resource Name (ARN) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID or ARN, use [DescribeBackups]. If using a backup in another account, the full ARN must be supplied. public var sourceBackupId: Swift.String? /// The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria: /// @@ -492,7 +496,7 @@ public struct CreateClusterInput { extension CloudHSMV2ClientTypes { /// Contains one or more certificates or a certificate signing request (CSR). public struct Certificates { - /// The HSM hardware certificate issued (signed) by AWS CloudHSM. + /// The HSM hardware certificate issued (signed) by CloudHSM. public var awsHardwareCertificate: Swift.String? /// The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner. public var clusterCertificate: Swift.String? @@ -560,7 +564,7 @@ extension CloudHSMV2ClientTypes { } extension CloudHSMV2ClientTypes { - /// Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster. + /// Contains information about a hardware security module (HSM) in an CloudHSM cluster. public struct Hsm { /// The Availability Zone that contains the HSM. public var availabilityZone: Swift.String? @@ -655,7 +659,7 @@ extension CloudHSMV2ClientTypes { } extension CloudHSMV2ClientTypes { - /// Contains information about an AWS CloudHSM cluster. + /// Contains information about an CloudHSM cluster. public struct Cluster { /// The cluster's backup policy. public var backupPolicy: CloudHSMV2ClientTypes.BackupPolicy? @@ -863,6 +867,34 @@ public struct DeleteHsmOutput { } } +public struct DeleteResourcePolicyInput { + /// Amazon Resource Name (ARN) of the resource from which the policy will be removed. + public var resourceArn: Swift.String? + + public init( + resourceArn: Swift.String? = nil + ) + { + self.resourceArn = resourceArn + } +} + +public struct DeleteResourcePolicyOutput { + /// The policy previously attached to the resource. + public var policy: Swift.String? + /// Amazon Resource Name (ARN) of the resource from which the policy was deleted. + public var resourceArn: Swift.String? + + public init( + policy: Swift.String? = nil, + resourceArn: Swift.String? = nil + ) + { + self.policy = policy + self.resourceArn = resourceArn + } +} + public struct DescribeBackupsInput { /// One or more filters to limit the items returned in the response. Use the backupIds filter to return only the specified backups. Specify backups by their backup identifier (ID). Use the sourceBackupIds filter to return only the backups created from a source backup. The sourceBackupID of a source backup is returned by the [CopyBackupToRegion] operation. Use the clusterIds filter to return only the backups for the specified clusters. Specify clusters by their cluster identifier (ID). Use the states filter to return only backups that match the specified state. Use the neverExpires filter to return backups filtered by the value in the neverExpires parameter. True returns all backups exempt from the backup retention policy. False returns all backups with a backup retention policy defined at the cluster. public var filters: [Swift.String: [Swift.String]]? @@ -870,6 +902,8 @@ public struct DescribeBackupsInput { public var maxResults: Swift.Int? /// The NextToken value that you received in the previous response. Use this value to get more backups. public var nextToken: Swift.String? + /// Describe backups that are shared with you. By default when using this option, the command returns backups that have been shared using a standard Resource Access Manager resource share. In order for a backup that was shared using the PutResourcePolicy command to be returned, the share must be promoted to a standard resource share using the RAM [PromoteResourceShareCreatedFromPolicy](https://docs.aws.amazon.com/cli/latest/reference/ram/promote-resource-share-created-from-policy.html) API operation. For more information about sharing backups, see [ Working with shared backups](https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html) in the CloudHSM User Guide. + public var shared: Swift.Bool? /// Designates whether or not to sort the return backups by ascending chronological order of generation. public var sortAscending: Swift.Bool? @@ -877,12 +911,14 @@ public struct DescribeBackupsInput { filters: [Swift.String: [Swift.String]]? = nil, maxResults: Swift.Int? = nil, nextToken: Swift.String? = nil, + shared: Swift.Bool? = nil, sortAscending: Swift.Bool? = nil ) { self.filters = filters self.maxResults = maxResults self.nextToken = nextToken + self.shared = shared self.sortAscending = sortAscending } } @@ -939,6 +975,30 @@ public struct DescribeClustersOutput { } } +public struct GetResourcePolicyInput { + /// Amazon Resource Name (ARN) of the resource to which a policy is attached. + public var resourceArn: Swift.String? + + public init( + resourceArn: Swift.String? = nil + ) + { + self.resourceArn = resourceArn + } +} + +public struct GetResourcePolicyOutput { + /// The policy attached to a resource. + public var policy: Swift.String? + + public init( + policy: Swift.String? = nil + ) + { + self.policy = policy + } +} + public struct InitializeClusterInput { /// The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use [DescribeClusters]. /// This member is required. @@ -1035,7 +1095,7 @@ public struct ModifyBackupAttributesInput { } public struct ModifyBackupAttributesOutput { - /// Contains information about a backup of an AWS CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter. + /// Contains information about a backup of an CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter. public var backup: CloudHSMV2ClientTypes.Backup? public init( @@ -1065,7 +1125,7 @@ public struct ModifyClusterInput { } public struct ModifyClusterOutput { - /// Contains information about an AWS CloudHSM cluster. + /// Contains information about an CloudHSM cluster. public var cluster: CloudHSMV2ClientTypes.Cluster? public init( @@ -1076,6 +1136,38 @@ public struct ModifyClusterOutput { } } +public struct PutResourcePolicyInput { + /// The policy you want to associate with a resource. For an example policy, see [ Working with shared backups](https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html) in the CloudHSM User Guide + public var policy: Swift.String? + /// Amazon Resource Name (ARN) of the resource to which you want to attach a policy. + public var resourceArn: Swift.String? + + public init( + policy: Swift.String? = nil, + resourceArn: Swift.String? = nil + ) + { + self.policy = policy + self.resourceArn = resourceArn + } +} + +public struct PutResourcePolicyOutput { + /// The policy attached to a resource. + public var policy: Swift.String? + /// Amazon Resource Name (ARN) of the resource to which a policy is attached. + public var resourceArn: Swift.String? + + public init( + policy: Swift.String? = nil, + resourceArn: Swift.String? = nil + ) + { + self.policy = policy + self.resourceArn = resourceArn + } +} + public struct RestoreBackupInput { /// The ID of the backup to be restored. To find the ID of a backup, use the [DescribeBackups] operation. /// This member is required. @@ -1189,6 +1281,13 @@ extension DeleteHsmInput { } } +extension DeleteResourcePolicyInput { + + static func urlPathProvider(_ value: DeleteResourcePolicyInput) -> Swift.String? { + return "/" + } +} + extension DescribeBackupsInput { static func urlPathProvider(_ value: DescribeBackupsInput) -> Swift.String? { @@ -1203,6 +1302,13 @@ extension DescribeClustersInput { } } +extension GetResourcePolicyInput { + + static func urlPathProvider(_ value: GetResourcePolicyInput) -> Swift.String? { + return "/" + } +} + extension InitializeClusterInput { static func urlPathProvider(_ value: InitializeClusterInput) -> Swift.String? { @@ -1231,6 +1337,13 @@ extension ModifyClusterInput { } } +extension PutResourcePolicyInput { + + static func urlPathProvider(_ value: PutResourcePolicyInput) -> Swift.String? { + return "/" + } +} + extension RestoreBackupInput { static func urlPathProvider(_ value: RestoreBackupInput) -> Swift.String? { @@ -1312,6 +1425,14 @@ extension DeleteHsmInput { } } +extension DeleteResourcePolicyInput { + + static func write(value: DeleteResourcePolicyInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ResourceArn"].write(value.resourceArn) + } +} + extension DescribeBackupsInput { static func write(value: DescribeBackupsInput?, to writer: SmithyJSON.Writer) throws { @@ -1319,6 +1440,7 @@ extension DescribeBackupsInput { try writer["Filters"].writeMap(value.filters, valueWritingClosure: SmithyReadWrite.listWritingClosure(memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["MaxResults"].write(value.maxResults) try writer["NextToken"].write(value.nextToken) + try writer["Shared"].write(value.shared) try writer["SortAscending"].write(value.sortAscending) } } @@ -1333,6 +1455,14 @@ extension DescribeClustersInput { } } +extension GetResourcePolicyInput { + + static func write(value: GetResourcePolicyInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ResourceArn"].write(value.resourceArn) + } +} + extension InitializeClusterInput { static func write(value: InitializeClusterInput?, to writer: SmithyJSON.Writer) throws { @@ -1371,6 +1501,15 @@ extension ModifyClusterInput { } } +extension PutResourcePolicyInput { + + static func write(value: PutResourcePolicyInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Policy"].write(value.policy) + try writer["ResourceArn"].write(value.resourceArn) + } +} + extension RestoreBackupInput { static func write(value: RestoreBackupInput?, to writer: SmithyJSON.Writer) throws { @@ -1399,7 +1538,7 @@ extension UntagResourceInput { extension CopyBackupToRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyBackupToRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyBackupToRegionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1411,7 +1550,7 @@ extension CopyBackupToRegionOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1423,7 +1562,7 @@ extension CreateClusterOutput { extension CreateHsmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHsmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHsmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1435,7 +1574,7 @@ extension CreateHsmOutput { extension DeleteBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1447,7 +1586,7 @@ extension DeleteBackupOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1459,7 +1598,7 @@ extension DeleteClusterOutput { extension DeleteHsmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHsmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHsmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1469,9 +1608,22 @@ extension DeleteHsmOutput { } } +extension DeleteResourcePolicyOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteResourcePolicyOutput() + value.policy = try reader["Policy"].readIfPresent() + value.resourceArn = try reader["ResourceArn"].readIfPresent() + return value + } +} + extension DescribeBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1484,7 +1636,7 @@ extension DescribeBackupsOutput { extension DescribeClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1495,9 +1647,21 @@ extension DescribeClustersOutput { } } +extension GetResourcePolicyOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetResourcePolicyOutput() + value.policy = try reader["Policy"].readIfPresent() + return value + } +} + extension InitializeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitializeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitializeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1510,7 +1674,7 @@ extension InitializeClusterOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1523,7 +1687,7 @@ extension ListTagsOutput { extension ModifyBackupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyBackupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyBackupAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1535,7 +1699,7 @@ extension ModifyBackupAttributesOutput { extension ModifyClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1545,9 +1709,22 @@ extension ModifyClusterOutput { } } +extension PutResourcePolicyOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutResourcePolicyOutput() + value.policy = try reader["Policy"].readIfPresent() + value.resourceArn = try reader["ResourceArn"].readIfPresent() + return value + } +} + extension RestoreBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1559,21 +1736,21 @@ extension RestoreBackupOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CopyBackupToRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1592,7 +1769,7 @@ enum CopyBackupToRegionOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1611,7 +1788,7 @@ enum CreateClusterOutputError { enum CreateHsmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1629,7 +1806,7 @@ enum CreateHsmOutputError { enum DeleteBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1647,7 +1824,7 @@ enum DeleteBackupOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1666,7 +1843,25 @@ enum DeleteClusterOutputError { enum DeleteHsmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "CloudHsmAccessDeniedException": return try CloudHsmAccessDeniedException.makeError(baseError: baseError) + case "CloudHsmInternalFailureException": return try CloudHsmInternalFailureException.makeError(baseError: baseError) + case "CloudHsmInvalidRequestException": return try CloudHsmInvalidRequestException.makeError(baseError: baseError) + case "CloudHsmResourceNotFoundException": return try CloudHsmResourceNotFoundException.makeError(baseError: baseError) + case "CloudHsmServiceException": return try CloudHsmServiceException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteResourcePolicyOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1684,7 +1879,7 @@ enum DeleteHsmOutputError { enum DescribeBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1703,7 +1898,7 @@ enum DescribeBackupsOutputError { enum DescribeClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1719,9 +1914,27 @@ enum DescribeClustersOutputError { } } +enum GetResourcePolicyOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "CloudHsmAccessDeniedException": return try CloudHsmAccessDeniedException.makeError(baseError: baseError) + case "CloudHsmInternalFailureException": return try CloudHsmInternalFailureException.makeError(baseError: baseError) + case "CloudHsmInvalidRequestException": return try CloudHsmInvalidRequestException.makeError(baseError: baseError) + case "CloudHsmResourceNotFoundException": return try CloudHsmResourceNotFoundException.makeError(baseError: baseError) + case "CloudHsmServiceException": return try CloudHsmServiceException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum InitializeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1739,7 +1952,7 @@ enum InitializeClusterOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1758,7 +1971,7 @@ enum ListTagsOutputError { enum ModifyBackupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1776,7 +1989,25 @@ enum ModifyBackupAttributesOutputError { enum ModifyClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "CloudHsmAccessDeniedException": return try CloudHsmAccessDeniedException.makeError(baseError: baseError) + case "CloudHsmInternalFailureException": return try CloudHsmInternalFailureException.makeError(baseError: baseError) + case "CloudHsmInvalidRequestException": return try CloudHsmInvalidRequestException.makeError(baseError: baseError) + case "CloudHsmResourceNotFoundException": return try CloudHsmResourceNotFoundException.makeError(baseError: baseError) + case "CloudHsmServiceException": return try CloudHsmServiceException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PutResourcePolicyOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1794,7 +2025,7 @@ enum ModifyClusterOutputError { enum RestoreBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1812,7 +2043,7 @@ enum RestoreBackupOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1831,7 +2062,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2035,6 +2266,7 @@ extension CloudHSMV2ClientTypes.Backup { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = CloudHSMV2ClientTypes.Backup() value.backupId = try reader["BackupId"].readIfPresent() + value.backupArn = try reader["BackupArn"].readIfPresent() value.backupState = try reader["BackupState"].readIfPresent() value.clusterId = try reader["ClusterId"].readIfPresent() value.createTimestamp = try reader["CreateTimestamp"].readTimestampIfPresent(format: .epochSeconds) diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Paginators.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Paginators.swift index 8f85bfe7639..05da9668083 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Paginators.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/Paginators.swift @@ -30,6 +30,7 @@ extension DescribeBackupsInput: ClientRuntime.PaginateToken { filters: self.filters, maxResults: self.maxResults, nextToken: token, + shared: self.shared, sortAscending: self.sortAscending )} } diff --git a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/Models.swift b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/Models.swift index 8466f6e20e9..7eaca563698 100644 --- a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/Models.swift +++ b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -41,7 +41,7 @@ public struct BaseException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -70,7 +70,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -128,7 +128,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -213,7 +213,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -370,7 +370,7 @@ public struct InvalidTypeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1723,7 +1723,7 @@ public struct DisabledOperationException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2868,7 +2868,7 @@ extension UpdateServiceAccessPoliciesInput { extension BuildSuggestersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BuildSuggestersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BuildSuggestersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BuildSuggestersResult"] @@ -2880,7 +2880,7 @@ extension BuildSuggestersOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDomainResult"] @@ -2892,7 +2892,7 @@ extension CreateDomainOutput { extension DefineAnalysisSchemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DefineAnalysisSchemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DefineAnalysisSchemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DefineAnalysisSchemeResult"] @@ -2904,7 +2904,7 @@ extension DefineAnalysisSchemeOutput { extension DefineExpressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DefineExpressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DefineExpressionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DefineExpressionResult"] @@ -2916,7 +2916,7 @@ extension DefineExpressionOutput { extension DefineIndexFieldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DefineIndexFieldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DefineIndexFieldOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DefineIndexFieldResult"] @@ -2928,7 +2928,7 @@ extension DefineIndexFieldOutput { extension DefineSuggesterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DefineSuggesterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DefineSuggesterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DefineSuggesterResult"] @@ -2940,7 +2940,7 @@ extension DefineSuggesterOutput { extension DeleteAnalysisSchemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnalysisSchemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnalysisSchemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteAnalysisSchemeResult"] @@ -2952,7 +2952,7 @@ extension DeleteAnalysisSchemeOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDomainResult"] @@ -2964,7 +2964,7 @@ extension DeleteDomainOutput { extension DeleteExpressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExpressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExpressionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteExpressionResult"] @@ -2976,7 +2976,7 @@ extension DeleteExpressionOutput { extension DeleteIndexFieldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIndexFieldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIndexFieldOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteIndexFieldResult"] @@ -2988,7 +2988,7 @@ extension DeleteIndexFieldOutput { extension DeleteSuggesterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSuggesterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSuggesterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteSuggesterResult"] @@ -3000,7 +3000,7 @@ extension DeleteSuggesterOutput { extension DescribeAnalysisSchemesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnalysisSchemesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnalysisSchemesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAnalysisSchemesResult"] @@ -3012,7 +3012,7 @@ extension DescribeAnalysisSchemesOutput { extension DescribeAvailabilityOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAvailabilityOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAvailabilityOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAvailabilityOptionsResult"] @@ -3024,7 +3024,7 @@ extension DescribeAvailabilityOptionsOutput { extension DescribeDomainEndpointOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainEndpointOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainEndpointOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDomainEndpointOptionsResult"] @@ -3036,7 +3036,7 @@ extension DescribeDomainEndpointOptionsOutput { extension DescribeDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDomainsResult"] @@ -3048,7 +3048,7 @@ extension DescribeDomainsOutput { extension DescribeExpressionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExpressionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExpressionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeExpressionsResult"] @@ -3060,7 +3060,7 @@ extension DescribeExpressionsOutput { extension DescribeIndexFieldsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIndexFieldsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIndexFieldsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeIndexFieldsResult"] @@ -3072,7 +3072,7 @@ extension DescribeIndexFieldsOutput { extension DescribeScalingParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeScalingParametersResult"] @@ -3084,7 +3084,7 @@ extension DescribeScalingParametersOutput { extension DescribeServiceAccessPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceAccessPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceAccessPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeServiceAccessPoliciesResult"] @@ -3096,7 +3096,7 @@ extension DescribeServiceAccessPoliciesOutput { extension DescribeSuggestersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSuggestersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSuggestersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeSuggestersResult"] @@ -3108,7 +3108,7 @@ extension DescribeSuggestersOutput { extension IndexDocumentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IndexDocumentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IndexDocumentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["IndexDocumentsResult"] @@ -3120,7 +3120,7 @@ extension IndexDocumentsOutput { extension ListDomainNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListDomainNamesResult"] @@ -3132,7 +3132,7 @@ extension ListDomainNamesOutput { extension UpdateAvailabilityOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAvailabilityOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAvailabilityOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateAvailabilityOptionsResult"] @@ -3144,7 +3144,7 @@ extension UpdateAvailabilityOptionsOutput { extension UpdateDomainEndpointOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainEndpointOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainEndpointOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateDomainEndpointOptionsResult"] @@ -3156,7 +3156,7 @@ extension UpdateDomainEndpointOptionsOutput { extension UpdateScalingParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScalingParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScalingParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateScalingParametersResult"] @@ -3168,7 +3168,7 @@ extension UpdateScalingParametersOutput { extension UpdateServiceAccessPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceAccessPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceAccessPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateServiceAccessPoliciesResult"] @@ -3180,7 +3180,7 @@ extension UpdateServiceAccessPoliciesOutput { enum BuildSuggestersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3197,7 +3197,7 @@ enum BuildSuggestersOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3215,7 +3215,7 @@ enum CreateDomainOutputError { enum DefineAnalysisSchemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3234,7 +3234,7 @@ enum DefineAnalysisSchemeOutputError { enum DefineExpressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3253,7 +3253,7 @@ enum DefineExpressionOutputError { enum DefineIndexFieldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3272,7 +3272,7 @@ enum DefineIndexFieldOutputError { enum DefineSuggesterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3291,7 +3291,7 @@ enum DefineSuggesterOutputError { enum DeleteAnalysisSchemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3309,7 +3309,7 @@ enum DeleteAnalysisSchemeOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3324,7 +3324,7 @@ enum DeleteDomainOutputError { enum DeleteExpressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3342,7 +3342,7 @@ enum DeleteExpressionOutputError { enum DeleteIndexFieldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3360,7 +3360,7 @@ enum DeleteIndexFieldOutputError { enum DeleteSuggesterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3378,7 +3378,7 @@ enum DeleteSuggesterOutputError { enum DescribeAnalysisSchemesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3394,7 +3394,7 @@ enum DescribeAnalysisSchemesOutputError { enum DescribeAvailabilityOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3413,7 +3413,7 @@ enum DescribeAvailabilityOptionsOutputError { enum DescribeDomainEndpointOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3431,7 +3431,7 @@ enum DescribeDomainEndpointOptionsOutputError { enum DescribeDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3446,7 +3446,7 @@ enum DescribeDomainsOutputError { enum DescribeExpressionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3462,7 +3462,7 @@ enum DescribeExpressionsOutputError { enum DescribeIndexFieldsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3478,7 +3478,7 @@ enum DescribeIndexFieldsOutputError { enum DescribeScalingParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3494,7 +3494,7 @@ enum DescribeScalingParametersOutputError { enum DescribeServiceAccessPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3510,7 +3510,7 @@ enum DescribeServiceAccessPoliciesOutputError { enum DescribeSuggestersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3526,7 +3526,7 @@ enum DescribeSuggestersOutputError { enum IndexDocumentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3543,7 +3543,7 @@ enum IndexDocumentsOutputError { enum ListDomainNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3557,7 +3557,7 @@ enum ListDomainNamesOutputError { enum UpdateAvailabilityOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3577,7 +3577,7 @@ enum UpdateAvailabilityOptionsOutputError { enum UpdateDomainEndpointOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3597,7 +3597,7 @@ enum UpdateDomainEndpointOptionsOutputError { enum UpdateScalingParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3616,7 +3616,7 @@ enum UpdateScalingParametersOutputError { enum UpdateServiceAccessPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/Models.swift b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/Models.swift index c216100377a..3b77eb2abad 100644 --- a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/Models.swift +++ b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct SearchException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -497,7 +497,7 @@ public struct DocumentServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -749,7 +749,7 @@ extension UploadDocumentsInput { extension SearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -764,7 +764,7 @@ extension SearchOutput { extension SuggestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SuggestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SuggestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -777,7 +777,7 @@ extension SuggestOutput { extension UploadDocumentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadDocumentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadDocumentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -792,7 +792,7 @@ extension UploadDocumentsOutput { enum SearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -806,7 +806,7 @@ enum SearchOutputError { enum SuggestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -820,7 +820,7 @@ enum SuggestOutputError { enum UploadDocumentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/Models.swift b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/Models.swift index 5e3d9142ea8..5b56342951a 100644 --- a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/Models.swift +++ b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct AccountHasOngoingImportException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct AccountNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct AccountNotRegisteredException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -137,7 +137,7 @@ public struct AccountRegisteredException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,7 +162,7 @@ public struct ChannelARNInvalidException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -187,7 +187,7 @@ public struct ChannelNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -212,7 +212,7 @@ public struct CloudTrailARNInvalidException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -237,7 +237,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -262,7 +262,7 @@ public struct EventDataStoreARNInvalidException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -287,7 +287,7 @@ public struct EventDataStoreNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -312,7 +312,7 @@ public struct InactiveEventDataStoreException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -337,7 +337,7 @@ public struct InvalidTagParameterException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -372,7 +372,7 @@ public struct InvalidTrailNameException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -397,7 +397,7 @@ public struct NoManagementAccountSLRExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -422,7 +422,7 @@ public struct NotOrganizationMasterAccountException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -447,7 +447,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -472,7 +472,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -497,7 +497,7 @@ public struct ResourceTypeNotSupportedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -522,7 +522,7 @@ public struct TagsLimitExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -547,7 +547,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1189,7 +1189,7 @@ public struct InactiveQueryException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1214,7 +1214,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1239,7 +1239,7 @@ public struct QueryIdNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1341,7 +1341,7 @@ public struct CannotDelegateManagementAccountException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1386,7 +1386,7 @@ public struct ChannelAlreadyExistsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1411,7 +1411,7 @@ public struct ChannelExistsForEDSException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1436,7 +1436,7 @@ public struct ChannelMaxLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1461,7 +1461,7 @@ public struct InvalidEventDataStoreCategoryException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1486,7 +1486,7 @@ public struct InvalidSourceException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1617,7 +1617,7 @@ public struct CloudTrailAccessNotEnabledException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1642,7 +1642,7 @@ public struct EventDataStoreAlreadyExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1667,7 +1667,7 @@ public struct EventDataStoreMaxLimitExceededException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1692,7 +1692,7 @@ public struct InsufficientDependencyServiceAccessPermissionException: ClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1717,7 +1717,7 @@ public struct InsufficientEncryptionPolicyException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1750,7 +1750,7 @@ public struct InvalidEventSelectorsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1775,7 +1775,7 @@ public struct InvalidKmsKeyIdException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1800,7 +1800,7 @@ public struct KmsException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1825,7 +1825,7 @@ public struct KmsKeyNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1850,7 +1850,7 @@ public struct OrganizationNotInAllFeaturesModeException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1875,7 +1875,7 @@ public struct OrganizationsNotInUseException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2065,7 +2065,7 @@ public struct CloudTrailInvalidClientTokenIdException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2090,7 +2090,7 @@ public struct CloudWatchLogsDeliveryUnavailableException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2115,7 +2115,7 @@ public struct InsufficientS3BucketPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2140,7 +2140,7 @@ public struct InsufficientSnsTopicPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2165,7 +2165,7 @@ public struct InvalidCloudWatchLogsLogGroupArnException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2190,7 +2190,7 @@ public struct InvalidCloudWatchLogsRoleArnException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2215,7 +2215,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2240,7 +2240,7 @@ public struct InvalidS3BucketNameException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2265,7 +2265,7 @@ public struct InvalidS3PrefixException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2290,7 +2290,7 @@ public struct InvalidSnsTopicNameException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2316,7 +2316,7 @@ public struct KmsKeyDisabledException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2341,7 +2341,7 @@ public struct MaximumNumberOfTrailsExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2366,7 +2366,7 @@ public struct S3BucketDoesNotExistException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2391,7 +2391,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2416,7 +2416,7 @@ public struct TrailAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2441,7 +2441,7 @@ public struct TrailNotProvidedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2623,7 +2623,7 @@ public struct EventDataStoreFederationEnabledException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2648,7 +2648,7 @@ public struct EventDataStoreHasOngoingImportException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2673,7 +2673,7 @@ public struct EventDataStoreTerminationProtectedException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2716,7 +2716,7 @@ public struct ResourceARNNotValidException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2741,7 +2741,7 @@ public struct ResourcePolicyNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2784,7 +2784,7 @@ public struct InvalidHomeRegionException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2809,7 +2809,7 @@ public struct TrailNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2854,7 +2854,7 @@ public struct NotOrganizationManagementAccountException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3152,7 +3152,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3652,7 +3652,7 @@ public struct ImportNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3848,7 +3848,7 @@ public struct InsightNotEnabledException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3971,7 +3971,7 @@ public struct InvalidMaxResultsException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3996,7 +3996,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4657,7 +4657,7 @@ public struct InvalidTimeRangeException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4682,7 +4682,7 @@ public struct InvalidTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4773,7 +4773,7 @@ public struct InvalidDateRangeException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4798,7 +4798,7 @@ public struct InvalidQueryStatusException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5003,7 +5003,7 @@ public struct InvalidEventCategoryException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5028,7 +5028,7 @@ public struct InvalidLookupAttributesException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5320,7 +5320,7 @@ public struct InvalidInsightSelectorsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5400,7 +5400,7 @@ public struct ResourcePolicyNotValidException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5465,7 +5465,7 @@ public struct DelegatedAdminAccountLimitExceededException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5535,7 +5535,7 @@ public struct InvalidEventDataStoreStatusException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5647,7 +5647,7 @@ public struct InvalidImportSourceException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5760,7 +5760,7 @@ public struct InvalidQueryStatementException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5785,7 +5785,7 @@ public struct MaxConcurrentQueriesException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7067,14 +7067,14 @@ extension UpdateTrailInput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension CancelQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7087,7 +7087,7 @@ extension CancelQueryOutput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7103,7 +7103,7 @@ extension CreateChannelOutput { extension CreateEventDataStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventDataStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventDataStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7127,7 +7127,7 @@ extension CreateEventDataStoreOutput { extension CreateTrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7151,42 +7151,42 @@ extension CreateTrailOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteEventDataStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventDataStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventDataStoreOutput { return DeleteEventDataStoreOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteTrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrailOutput { return DeleteTrailOutput() } } extension DeregisterOrganizationDelegatedAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterOrganizationDelegatedAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterOrganizationDelegatedAdminOutput { return DeregisterOrganizationDelegatedAdminOutput() } } extension DescribeQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7204,7 +7204,7 @@ extension DescribeQueryOutput { extension DescribeTrailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7216,7 +7216,7 @@ extension DescribeTrailsOutput { extension DisableFederationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableFederationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableFederationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7229,7 +7229,7 @@ extension DisableFederationOutput { extension EnableFederationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableFederationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableFederationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7243,7 +7243,7 @@ extension EnableFederationOutput { extension GetChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7260,7 +7260,7 @@ extension GetChannelOutput { extension GetEventDataStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventDataStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventDataStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7286,7 +7286,7 @@ extension GetEventDataStoreOutput { extension GetEventSelectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventSelectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventSelectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7300,7 +7300,7 @@ extension GetEventSelectorsOutput { extension GetImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7320,7 +7320,7 @@ extension GetImportOutput { extension GetInsightSelectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightSelectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightSelectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7335,7 +7335,7 @@ extension GetInsightSelectorsOutput { extension GetQueryResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7351,7 +7351,7 @@ extension GetQueryResultsOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7364,7 +7364,7 @@ extension GetResourcePolicyOutput { extension GetTrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7376,7 +7376,7 @@ extension GetTrailOutput { extension GetTrailStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrailStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrailStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7404,7 +7404,7 @@ extension GetTrailStatusOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7417,7 +7417,7 @@ extension ListChannelsOutput { extension ListEventDataStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventDataStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventDataStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7430,7 +7430,7 @@ extension ListEventDataStoresOutput { extension ListImportFailuresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportFailuresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportFailuresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7443,7 +7443,7 @@ extension ListImportFailuresOutput { extension ListImportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7456,7 +7456,7 @@ extension ListImportsOutput { extension ListInsightsMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInsightsMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInsightsMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7474,7 +7474,7 @@ extension ListInsightsMetricDataOutput { extension ListPublicKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPublicKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPublicKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7487,7 +7487,7 @@ extension ListPublicKeysOutput { extension ListQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7500,7 +7500,7 @@ extension ListQueriesOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7513,7 +7513,7 @@ extension ListTagsOutput { extension ListTrailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7526,7 +7526,7 @@ extension ListTrailsOutput { extension LookupEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LookupEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LookupEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7539,7 +7539,7 @@ extension LookupEventsOutput { extension PutEventSelectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventSelectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventSelectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7553,7 +7553,7 @@ extension PutEventSelectorsOutput { extension PutInsightSelectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutInsightSelectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutInsightSelectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7568,7 +7568,7 @@ extension PutInsightSelectorsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7581,21 +7581,21 @@ extension PutResourcePolicyOutput { extension RegisterOrganizationDelegatedAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterOrganizationDelegatedAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterOrganizationDelegatedAdminOutput { return RegisterOrganizationDelegatedAdminOutput() } } extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension RestoreEventDataStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreEventDataStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreEventDataStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7618,14 +7618,14 @@ extension RestoreEventDataStoreOutput { extension StartEventDataStoreIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEventDataStoreIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEventDataStoreIngestionOutput { return StartEventDataStoreIngestionOutput() } } extension StartImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7644,14 +7644,14 @@ extension StartImportOutput { extension StartLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLoggingOutput { return StartLoggingOutput() } } extension StartQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7663,14 +7663,14 @@ extension StartQueryOutput { extension StopEventDataStoreIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEventDataStoreIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEventDataStoreIngestionOutput { return StopEventDataStoreIngestionOutput() } } extension StopImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7690,14 +7690,14 @@ extension StopImportOutput { extension StopLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopLoggingOutput { return StopLoggingOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7712,7 +7712,7 @@ extension UpdateChannelOutput { extension UpdateEventDataStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventDataStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventDataStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7737,7 +7737,7 @@ extension UpdateEventDataStoreOutput { extension UpdateTrailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7761,7 +7761,7 @@ extension UpdateTrailOutput { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7790,7 +7790,7 @@ enum AddTagsOutputError { enum CancelQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7813,7 +7813,7 @@ enum CancelQueryOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7838,7 +7838,7 @@ enum CreateChannelOutputError { enum CreateEventDataStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7869,7 +7869,7 @@ enum CreateEventDataStoreOutputError { enum CreateTrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7915,7 +7915,7 @@ enum CreateTrailOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7932,7 +7932,7 @@ enum DeleteChannelOutputError { enum DeleteEventDataStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7959,7 +7959,7 @@ enum DeleteEventDataStoreOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7978,7 +7978,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteTrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8002,7 +8002,7 @@ enum DeleteTrailOutputError { enum DeregisterOrganizationDelegatedAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8026,7 +8026,7 @@ enum DeregisterOrganizationDelegatedAdminOutputError { enum DescribeQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8047,7 +8047,7 @@ enum DescribeQueryOutputError { enum DescribeTrailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8065,7 +8065,7 @@ enum DescribeTrailsOutputError { enum DisableFederationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8092,7 +8092,7 @@ enum DisableFederationOutputError { enum EnableFederationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8120,7 +8120,7 @@ enum EnableFederationOutputError { enum GetChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8137,7 +8137,7 @@ enum GetChannelOutputError { enum GetEventDataStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8156,7 +8156,7 @@ enum GetEventDataStoreOutputError { enum GetEventSelectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8175,7 +8175,7 @@ enum GetEventSelectorsOutputError { enum GetImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8192,7 +8192,7 @@ enum GetImportOutputError { enum GetInsightSelectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8215,7 +8215,7 @@ enum GetInsightSelectorsOutputError { enum GetQueryResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8239,7 +8239,7 @@ enum GetQueryResultsOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8258,7 +8258,7 @@ enum GetResourcePolicyOutputError { enum GetTrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8276,7 +8276,7 @@ enum GetTrailOutputError { enum GetTrailStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8294,7 +8294,7 @@ enum GetTrailStatusOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8310,7 +8310,7 @@ enum ListChannelsOutputError { enum ListEventDataStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8328,7 +8328,7 @@ enum ListEventDataStoresOutputError { enum ListImportFailuresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8345,7 +8345,7 @@ enum ListImportFailuresOutputError { enum ListImportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8363,7 +8363,7 @@ enum ListImportsOutputError { enum ListInsightsMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8379,7 +8379,7 @@ enum ListInsightsMetricDataOutputError { enum ListPublicKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8396,7 +8396,7 @@ enum ListPublicKeysOutputError { enum ListQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8420,7 +8420,7 @@ enum ListQueriesOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8445,7 +8445,7 @@ enum ListTagsOutputError { enum ListTrailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8460,7 +8460,7 @@ enum ListTrailsOutputError { enum LookupEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8480,7 +8480,7 @@ enum LookupEventsOutputError { enum PutEventSelectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8505,7 +8505,7 @@ enum PutEventSelectorsOutputError { enum PutInsightSelectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8534,7 +8534,7 @@ enum PutInsightSelectorsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8553,7 +8553,7 @@ enum PutResourcePolicyOutputError { enum RegisterOrganizationDelegatedAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8579,7 +8579,7 @@ enum RegisterOrganizationDelegatedAdminOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8606,7 +8606,7 @@ enum RemoveTagsOutputError { enum RestoreEventDataStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8632,7 +8632,7 @@ enum RestoreEventDataStoreOutputError { enum StartEventDataStoreIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8655,7 +8655,7 @@ enum StartEventDataStoreIngestionOutputError { enum StartImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8680,7 +8680,7 @@ enum StartImportOutputError { enum StartLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8704,7 +8704,7 @@ enum StartLoggingOutputError { enum StartQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8731,7 +8731,7 @@ enum StartQueryOutputError { enum StopEventDataStoreIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8754,7 +8754,7 @@ enum StopEventDataStoreIngestionOutputError { enum StopImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8771,7 +8771,7 @@ enum StopImportOutputError { enum StopLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8795,7 +8795,7 @@ enum StopLoggingOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8818,7 +8818,7 @@ enum UpdateChannelOutputError { enum UpdateEventDataStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8851,7 +8851,7 @@ enum UpdateEventDataStoreOutputError { enum UpdateTrailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/Models.swift b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/Models.swift index 9a96a811f50..91ea3e5dd03 100644 --- a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/Models.swift +++ b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -80,7 +80,7 @@ public struct ChannelInsufficientPermission: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -104,7 +104,7 @@ public struct ChannelNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -128,7 +128,7 @@ public struct ChannelUnsupportedSchema: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -152,7 +152,7 @@ public struct DuplicatedAuditEventId: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -176,7 +176,7 @@ public struct InvalidChannelARN: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -200,7 +200,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -314,7 +314,7 @@ extension PutAuditEventsInput { extension PutAuditEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAuditEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAuditEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -327,7 +327,7 @@ extension PutAuditEventsOutput { enum PutAuditEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift index 9edbd9115a5..5efd066d850 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -838,7 +838,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -911,7 +911,7 @@ public struct DashboardInvalidInputError: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -937,7 +937,7 @@ public struct DashboardNotFoundError: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1006,7 +1006,7 @@ public struct ResourceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1044,7 +1044,7 @@ public struct InternalServiceFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1069,7 +1069,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1094,7 +1094,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1119,7 +1119,7 @@ public struct MissingRequiredParameterException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1145,7 +1145,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1302,7 +1302,7 @@ public struct InvalidNextToken: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1905,7 +1905,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3032,7 +3032,7 @@ public struct LimitExceededFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3679,7 +3679,7 @@ public struct InvalidFormatFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4567,28 +4567,28 @@ extension UntagResourceInput { extension DeleteAlarmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlarmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlarmsOutput { return DeleteAlarmsOutput() } } extension DeleteAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnomalyDetectorOutput { return DeleteAnomalyDetectorOutput() } } extension DeleteDashboardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDashboardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDashboardsOutput { return DeleteDashboardsOutput() } } extension DeleteInsightRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInsightRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInsightRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteInsightRulesResult"] @@ -4600,14 +4600,14 @@ extension DeleteInsightRulesOutput { extension DeleteMetricStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMetricStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMetricStreamOutput { return DeleteMetricStreamOutput() } } extension DescribeAlarmHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlarmHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlarmHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAlarmHistoryResult"] @@ -4620,7 +4620,7 @@ extension DescribeAlarmHistoryOutput { extension DescribeAlarmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlarmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlarmsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAlarmsResult"] @@ -4634,7 +4634,7 @@ extension DescribeAlarmsOutput { extension DescribeAlarmsForMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlarmsForMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlarmsForMetricOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAlarmsForMetricResult"] @@ -4646,7 +4646,7 @@ extension DescribeAlarmsForMetricOutput { extension DescribeAnomalyDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnomalyDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnomalyDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAnomalyDetectorsResult"] @@ -4659,7 +4659,7 @@ extension DescribeAnomalyDetectorsOutput { extension DescribeInsightRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInsightRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInsightRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeInsightRulesResult"] @@ -4672,14 +4672,14 @@ extension DescribeInsightRulesOutput { extension DisableAlarmActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAlarmActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAlarmActionsOutput { return DisableAlarmActionsOutput() } } extension DisableInsightRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableInsightRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableInsightRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisableInsightRulesResult"] @@ -4691,14 +4691,14 @@ extension DisableInsightRulesOutput { extension EnableAlarmActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAlarmActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAlarmActionsOutput { return EnableAlarmActionsOutput() } } extension EnableInsightRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableInsightRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableInsightRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EnableInsightRulesResult"] @@ -4710,7 +4710,7 @@ extension EnableInsightRulesOutput { extension GetDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetDashboardResult"] @@ -4724,7 +4724,7 @@ extension GetDashboardOutput { extension GetInsightRuleReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightRuleReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightRuleReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetInsightRuleReportResult"] @@ -4741,7 +4741,7 @@ extension GetInsightRuleReportOutput { extension GetMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetMetricDataResult"] @@ -4755,7 +4755,7 @@ extension GetMetricDataOutput { extension GetMetricStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetMetricStatisticsResult"] @@ -4768,7 +4768,7 @@ extension GetMetricStatisticsOutput { extension GetMetricStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetMetricStreamResult"] @@ -4791,7 +4791,7 @@ extension GetMetricStreamOutput { extension GetMetricWidgetImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricWidgetImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricWidgetImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetMetricWidgetImageResult"] @@ -4803,7 +4803,7 @@ extension GetMetricWidgetImageOutput { extension ListDashboardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDashboardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDashboardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListDashboardsResult"] @@ -4816,7 +4816,7 @@ extension ListDashboardsOutput { extension ListManagedInsightRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedInsightRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedInsightRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListManagedInsightRulesResult"] @@ -4829,7 +4829,7 @@ extension ListManagedInsightRulesOutput { extension ListMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListMetricsResult"] @@ -4843,7 +4843,7 @@ extension ListMetricsOutput { extension ListMetricStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetricStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetricStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListMetricStreamsResult"] @@ -4856,7 +4856,7 @@ extension ListMetricStreamsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -4868,21 +4868,21 @@ extension ListTagsForResourceOutput { extension PutAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAnomalyDetectorOutput { return PutAnomalyDetectorOutput() } } extension PutCompositeAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCompositeAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCompositeAlarmOutput { return PutCompositeAlarmOutput() } } extension PutDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PutDashboardResult"] @@ -4894,14 +4894,14 @@ extension PutDashboardOutput { extension PutInsightRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutInsightRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutInsightRuleOutput { return PutInsightRuleOutput() } } extension PutManagedInsightRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutManagedInsightRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutManagedInsightRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PutManagedInsightRulesResult"] @@ -4913,21 +4913,21 @@ extension PutManagedInsightRulesOutput { extension PutMetricAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetricAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetricAlarmOutput { return PutMetricAlarmOutput() } } extension PutMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetricDataOutput { return PutMetricDataOutput() } } extension PutMetricStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetricStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetricStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PutMetricStreamResult"] @@ -4939,42 +4939,42 @@ extension PutMetricStreamOutput { extension SetAlarmStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetAlarmStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetAlarmStateOutput { return SetAlarmStateOutput() } } extension StartMetricStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetricStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetricStreamsOutput { return StartMetricStreamsOutput() } } extension StopMetricStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMetricStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMetricStreamsOutput { return StopMetricStreamsOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum DeleteAlarmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4988,7 +4988,7 @@ enum DeleteAlarmsOutputError { enum DeleteAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5006,7 +5006,7 @@ enum DeleteAnomalyDetectorOutputError { enum DeleteDashboardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5022,7 +5022,7 @@ enum DeleteDashboardsOutputError { enum DeleteInsightRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5037,7 +5037,7 @@ enum DeleteInsightRulesOutputError { enum DeleteMetricStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5053,7 +5053,7 @@ enum DeleteMetricStreamOutputError { enum DescribeAlarmHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5067,7 +5067,7 @@ enum DescribeAlarmHistoryOutputError { enum DescribeAlarmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5081,7 +5081,7 @@ enum DescribeAlarmsOutputError { enum DescribeAlarmsForMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5094,7 +5094,7 @@ enum DescribeAlarmsForMetricOutputError { enum DescribeAnomalyDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5111,7 +5111,7 @@ enum DescribeAnomalyDetectorsOutputError { enum DescribeInsightRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5125,7 +5125,7 @@ enum DescribeInsightRulesOutputError { enum DisableAlarmActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5138,7 +5138,7 @@ enum DisableAlarmActionsOutputError { enum DisableInsightRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5153,7 +5153,7 @@ enum DisableInsightRulesOutputError { enum EnableAlarmActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5166,7 +5166,7 @@ enum EnableAlarmActionsOutputError { enum EnableInsightRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5182,7 +5182,7 @@ enum EnableInsightRulesOutputError { enum GetDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5198,7 +5198,7 @@ enum GetDashboardOutputError { enum GetInsightRuleReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5214,7 +5214,7 @@ enum GetInsightRuleReportOutputError { enum GetMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5228,7 +5228,7 @@ enum GetMetricDataOutputError { enum GetMetricStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5245,7 +5245,7 @@ enum GetMetricStatisticsOutputError { enum GetMetricStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5263,7 +5263,7 @@ enum GetMetricStreamOutputError { enum GetMetricWidgetImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5276,7 +5276,7 @@ enum GetMetricWidgetImageOutputError { enum ListDashboardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5291,7 +5291,7 @@ enum ListDashboardsOutputError { enum ListManagedInsightRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5307,7 +5307,7 @@ enum ListManagedInsightRulesOutputError { enum ListMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5322,7 +5322,7 @@ enum ListMetricsOutputError { enum ListMetricStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5339,7 +5339,7 @@ enum ListMetricStreamsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5355,7 +5355,7 @@ enum ListTagsForResourceOutputError { enum PutAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5373,7 +5373,7 @@ enum PutAnomalyDetectorOutputError { enum PutCompositeAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5387,7 +5387,7 @@ enum PutCompositeAlarmOutputError { enum PutDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5402,7 +5402,7 @@ enum PutDashboardOutputError { enum PutInsightRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5418,7 +5418,7 @@ enum PutInsightRuleOutputError { enum PutManagedInsightRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5433,7 +5433,7 @@ enum PutManagedInsightRulesOutputError { enum PutMetricAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5447,7 +5447,7 @@ enum PutMetricAlarmOutputError { enum PutMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5464,7 +5464,7 @@ enum PutMetricDataOutputError { enum PutMetricStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5482,7 +5482,7 @@ enum PutMetricStreamOutputError { enum SetAlarmStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5497,7 +5497,7 @@ enum SetAlarmStateOutputError { enum StartMetricStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5513,7 +5513,7 @@ enum StartMetricStreamsOutputError { enum StopMetricStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5529,7 +5529,7 @@ enum StopMetricStreamsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5546,7 +5546,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift index 07441af7939..5a6fccd25ad 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift @@ -2299,7 +2299,7 @@ extension CloudWatchEventsClient { /// /// * Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. /// - /// * Firehose delivery stream (Kinesis Data Firehose) + /// * Firehose delivery stream (Firehose) /// /// * Inspector assessment template (Amazon Inspector) /// diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/Models.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/Models.swift index d96f4dc1329..87c79af96e4 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/Models.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -78,7 +78,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -102,7 +102,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct OperationDisabledException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -446,7 +446,7 @@ public struct IllegalStatusException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -544,7 +544,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -568,7 +568,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -652,7 +652,7 @@ public struct InvalidEventPatternException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1387,7 +1387,7 @@ public struct ManagedRuleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3666,7 +3666,7 @@ public struct PolicyLengthExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5236,14 +5236,14 @@ extension UpdateConnectionInput { extension ActivateEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateEventSourceOutput { return ActivateEventSourceOutput() } } extension CancelReplayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelReplayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelReplayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5257,7 +5257,7 @@ extension CancelReplayOutput { extension CreateApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5272,7 +5272,7 @@ extension CreateApiDestinationOutput { extension CreateArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5287,7 +5287,7 @@ extension CreateArchiveOutput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5302,7 +5302,7 @@ extension CreateConnectionOutput { extension CreateEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventBusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5314,7 +5314,7 @@ extension CreateEventBusOutput { extension CreatePartnerEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePartnerEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartnerEventSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5326,14 +5326,14 @@ extension CreatePartnerEventSourceOutput { extension DeactivateEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateEventSourceOutput { return DeactivateEventSourceOutput() } } extension DeauthorizeConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeauthorizeConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeauthorizeConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5349,21 +5349,21 @@ extension DeauthorizeConnectionOutput { extension DeleteApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiDestinationOutput { return DeleteApiDestinationOutput() } } extension DeleteArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteArchiveOutput { return DeleteArchiveOutput() } } extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5379,28 +5379,28 @@ extension DeleteConnectionOutput { extension DeleteEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventBusOutput { return DeleteEventBusOutput() } } extension DeletePartnerEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePartnerEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePartnerEventSourceOutput { return DeletePartnerEventSourceOutput() } } extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension DescribeApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApiDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5421,7 +5421,7 @@ extension DescribeApiDestinationOutput { extension DescribeArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5443,7 +5443,7 @@ extension DescribeArchiveOutput { extension DescribeConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5465,7 +5465,7 @@ extension DescribeConnectionOutput { extension DescribeEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventBusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5479,7 +5479,7 @@ extension DescribeEventBusOutput { extension DescribeEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5496,7 +5496,7 @@ extension DescribeEventSourceOutput { extension DescribePartnerEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePartnerEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePartnerEventSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5509,7 +5509,7 @@ extension DescribePartnerEventSourceOutput { extension DescribeReplayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5532,7 +5532,7 @@ extension DescribeReplayOutput { extension DescribeRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5553,21 +5553,21 @@ extension DescribeRuleOutput { extension DisableRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableRuleOutput { return DisableRuleOutput() } } extension EnableRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableRuleOutput { return EnableRuleOutput() } } extension ListApiDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApiDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApiDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5580,7 +5580,7 @@ extension ListApiDestinationsOutput { extension ListArchivesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArchivesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArchivesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5593,7 +5593,7 @@ extension ListArchivesOutput { extension ListConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5606,7 +5606,7 @@ extension ListConnectionsOutput { extension ListEventBusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventBusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventBusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5619,7 +5619,7 @@ extension ListEventBusesOutput { extension ListEventSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5632,7 +5632,7 @@ extension ListEventSourcesOutput { extension ListPartnerEventSourceAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartnerEventSourceAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartnerEventSourceAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5645,7 +5645,7 @@ extension ListPartnerEventSourceAccountsOutput { extension ListPartnerEventSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartnerEventSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartnerEventSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5658,7 +5658,7 @@ extension ListPartnerEventSourcesOutput { extension ListReplaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReplaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReplaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5671,7 +5671,7 @@ extension ListReplaysOutput { extension ListRuleNamesByTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleNamesByTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleNamesByTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5684,7 +5684,7 @@ extension ListRuleNamesByTargetOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5697,7 +5697,7 @@ extension ListRulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5709,7 +5709,7 @@ extension ListTagsForResourceOutput { extension ListTargetsByRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsByRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsByRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5722,7 +5722,7 @@ extension ListTargetsByRuleOutput { extension PutEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5735,7 +5735,7 @@ extension PutEventsOutput { extension PutPartnerEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPartnerEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPartnerEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5748,14 +5748,14 @@ extension PutPartnerEventsOutput { extension PutPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionOutput { return PutPermissionOutput() } } extension PutRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5767,7 +5767,7 @@ extension PutRuleOutput { extension PutTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5780,14 +5780,14 @@ extension PutTargetsOutput { extension RemovePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemovePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemovePermissionOutput { return RemovePermissionOutput() } } extension RemoveTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5800,7 +5800,7 @@ extension RemoveTargetsOutput { extension StartReplayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5815,14 +5815,14 @@ extension StartReplayOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestEventPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestEventPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestEventPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5834,14 +5834,14 @@ extension TestEventPatternOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5856,7 +5856,7 @@ extension UpdateApiDestinationOutput { extension UpdateArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5871,7 +5871,7 @@ extension UpdateArchiveOutput { extension UpdateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5887,7 +5887,7 @@ extension UpdateConnectionOutput { enum ActivateEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5905,7 +5905,7 @@ enum ActivateEventSourceOutputError { enum CancelReplayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5922,7 +5922,7 @@ enum CancelReplayOutputError { enum CreateApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5939,7 +5939,7 @@ enum CreateApiDestinationOutputError { enum CreateArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5958,7 +5958,7 @@ enum CreateArchiveOutputError { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5974,7 +5974,7 @@ enum CreateConnectionOutputError { enum CreateEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5994,7 +5994,7 @@ enum CreateEventBusOutputError { enum CreatePartnerEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6012,7 +6012,7 @@ enum CreatePartnerEventSourceOutputError { enum DeactivateEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6030,7 +6030,7 @@ enum DeactivateEventSourceOutputError { enum DeauthorizeConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6046,7 +6046,7 @@ enum DeauthorizeConnectionOutputError { enum DeleteApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6062,7 +6062,7 @@ enum DeleteApiDestinationOutputError { enum DeleteArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6078,7 +6078,7 @@ enum DeleteArchiveOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6094,7 +6094,7 @@ enum DeleteConnectionOutputError { enum DeleteEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6109,7 +6109,7 @@ enum DeleteEventBusOutputError { enum DeletePartnerEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6125,7 +6125,7 @@ enum DeletePartnerEventSourceOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6142,7 +6142,7 @@ enum DeleteRuleOutputError { enum DescribeApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6157,7 +6157,7 @@ enum DescribeApiDestinationOutputError { enum DescribeArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6173,7 +6173,7 @@ enum DescribeArchiveOutputError { enum DescribeConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6188,7 +6188,7 @@ enum DescribeConnectionOutputError { enum DescribeEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6203,7 +6203,7 @@ enum DescribeEventBusOutputError { enum DescribeEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6219,7 +6219,7 @@ enum DescribeEventSourceOutputError { enum DescribePartnerEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6235,7 +6235,7 @@ enum DescribePartnerEventSourceOutputError { enum DescribeReplayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6250,7 +6250,7 @@ enum DescribeReplayOutputError { enum DescribeRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6265,7 +6265,7 @@ enum DescribeRuleOutputError { enum DisableRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6282,7 +6282,7 @@ enum DisableRuleOutputError { enum EnableRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6299,7 +6299,7 @@ enum EnableRuleOutputError { enum ListApiDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6313,7 +6313,7 @@ enum ListApiDestinationsOutputError { enum ListArchivesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6328,7 +6328,7 @@ enum ListArchivesOutputError { enum ListConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6342,7 +6342,7 @@ enum ListConnectionsOutputError { enum ListEventBusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6356,7 +6356,7 @@ enum ListEventBusesOutputError { enum ListEventSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6371,7 +6371,7 @@ enum ListEventSourcesOutputError { enum ListPartnerEventSourceAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6387,7 +6387,7 @@ enum ListPartnerEventSourceAccountsOutputError { enum ListPartnerEventSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6402,7 +6402,7 @@ enum ListPartnerEventSourcesOutputError { enum ListReplaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6416,7 +6416,7 @@ enum ListReplaysOutputError { enum ListRuleNamesByTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6431,7 +6431,7 @@ enum ListRuleNamesByTargetOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6446,7 +6446,7 @@ enum ListRulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6461,7 +6461,7 @@ enum ListTagsForResourceOutputError { enum ListTargetsByRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6476,7 +6476,7 @@ enum ListTargetsByRuleOutputError { enum PutEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6490,7 +6490,7 @@ enum PutEventsOutputError { enum PutPartnerEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6505,7 +6505,7 @@ enum PutPartnerEventsOutputError { enum PutPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6523,7 +6523,7 @@ enum PutPermissionOutputError { enum PutRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6542,7 +6542,7 @@ enum PutRuleOutputError { enum PutTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6560,7 +6560,7 @@ enum PutTargetsOutputError { enum RemovePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6577,7 +6577,7 @@ enum RemovePermissionOutputError { enum RemoveTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6594,7 +6594,7 @@ enum RemoveTargetsOutputError { enum StartReplayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6612,7 +6612,7 @@ enum StartReplayOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6629,7 +6629,7 @@ enum TagResourceOutputError { enum TestEventPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6644,7 +6644,7 @@ enum TestEventPatternOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6661,7 +6661,7 @@ enum UntagResourceOutputError { enum UpdateApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6678,7 +6678,7 @@ enum UpdateApiDestinationOutputError { enum UpdateArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6696,7 +6696,7 @@ enum UpdateArchiveOutputError { enum UpdateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/Models.swift b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/Models.swift index 973347b72e0..5d2218a2e40 100644 --- a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/Models.swift +++ b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -185,7 +185,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -619,7 +619,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -643,7 +643,7 @@ public struct OperationAbortedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -667,7 +667,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -691,7 +691,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -743,7 +743,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -780,7 +780,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -804,7 +804,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -828,7 +828,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -852,7 +852,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -978,7 +978,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1002,7 +1002,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1207,7 +1207,7 @@ public struct DataAlreadyAcceptedException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3495,7 +3495,7 @@ public struct InvalidSequenceTokenException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4070,7 +4070,7 @@ public struct UnrecognizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4346,7 +4346,7 @@ public struct SessionStreamingException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4370,7 +4370,7 @@ public struct SessionTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4460,7 +4460,7 @@ public struct MalformedQueryException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4583,7 +4583,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6101,21 +6101,21 @@ extension UpdateLogAnomalyDetectorInput { extension AssociateKmsKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateKmsKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateKmsKeyOutput { return AssociateKmsKeyOutput() } } extension CancelExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelExportTaskOutput { return CancelExportTaskOutput() } } extension CreateDeliveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeliveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeliveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6127,7 +6127,7 @@ extension CreateDeliveryOutput { extension CreateExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6139,7 +6139,7 @@ extension CreateExportTaskOutput { extension CreateLogAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLogAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLogAnomalyDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6151,98 +6151,98 @@ extension CreateLogAnomalyDetectorOutput { extension CreateLogGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLogGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLogGroupOutput { return CreateLogGroupOutput() } } extension CreateLogStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLogStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLogStreamOutput { return CreateLogStreamOutput() } } extension DeleteAccountPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountPolicyOutput { return DeleteAccountPolicyOutput() } } extension DeleteDataProtectionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataProtectionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataProtectionPolicyOutput { return DeleteDataProtectionPolicyOutput() } } extension DeleteDeliveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeliveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeliveryOutput { return DeleteDeliveryOutput() } } extension DeleteDeliveryDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeliveryDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeliveryDestinationOutput { return DeleteDeliveryDestinationOutput() } } extension DeleteDeliveryDestinationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeliveryDestinationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeliveryDestinationPolicyOutput { return DeleteDeliveryDestinationPolicyOutput() } } extension DeleteDeliverySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeliverySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeliverySourceOutput { return DeleteDeliverySourceOutput() } } extension DeleteDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDestinationOutput { return DeleteDestinationOutput() } } extension DeleteLogAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLogAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLogAnomalyDetectorOutput { return DeleteLogAnomalyDetectorOutput() } } extension DeleteLogGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLogGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLogGroupOutput { return DeleteLogGroupOutput() } } extension DeleteLogStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLogStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLogStreamOutput { return DeleteLogStreamOutput() } } extension DeleteMetricFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMetricFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMetricFilterOutput { return DeleteMetricFilterOutput() } } extension DeleteQueryDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueryDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueryDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6254,28 +6254,28 @@ extension DeleteQueryDefinitionOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteRetentionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRetentionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRetentionPolicyOutput { return DeleteRetentionPolicyOutput() } } extension DeleteSubscriptionFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriptionFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionFilterOutput { return DeleteSubscriptionFilterOutput() } } extension DescribeAccountPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6287,7 +6287,7 @@ extension DescribeAccountPoliciesOutput { extension DescribeDeliveriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeliveriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeliveriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6300,7 +6300,7 @@ extension DescribeDeliveriesOutput { extension DescribeDeliveryDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeliveryDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeliveryDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6313,7 +6313,7 @@ extension DescribeDeliveryDestinationsOutput { extension DescribeDeliverySourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeliverySourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeliverySourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6326,7 +6326,7 @@ extension DescribeDeliverySourcesOutput { extension DescribeDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6339,7 +6339,7 @@ extension DescribeDestinationsOutput { extension DescribeExportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6352,7 +6352,7 @@ extension DescribeExportTasksOutput { extension DescribeLogGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLogGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLogGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6365,7 +6365,7 @@ extension DescribeLogGroupsOutput { extension DescribeLogStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLogStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLogStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6378,7 +6378,7 @@ extension DescribeLogStreamsOutput { extension DescribeMetricFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetricFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetricFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6391,7 +6391,7 @@ extension DescribeMetricFiltersOutput { extension DescribeQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6404,7 +6404,7 @@ extension DescribeQueriesOutput { extension DescribeQueryDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQueryDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQueryDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6417,7 +6417,7 @@ extension DescribeQueryDefinitionsOutput { extension DescribeResourcePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6430,7 +6430,7 @@ extension DescribeResourcePoliciesOutput { extension DescribeSubscriptionFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubscriptionFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubscriptionFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6443,14 +6443,14 @@ extension DescribeSubscriptionFiltersOutput { extension DisassociateKmsKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateKmsKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateKmsKeyOutput { return DisassociateKmsKeyOutput() } } extension FilterLogEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FilterLogEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FilterLogEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6464,7 +6464,7 @@ extension FilterLogEventsOutput { extension GetDataProtectionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataProtectionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataProtectionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6478,7 +6478,7 @@ extension GetDataProtectionPolicyOutput { extension GetDeliveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6490,7 +6490,7 @@ extension GetDeliveryOutput { extension GetDeliveryDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliveryDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliveryDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6502,7 +6502,7 @@ extension GetDeliveryDestinationOutput { extension GetDeliveryDestinationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliveryDestinationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliveryDestinationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6514,7 +6514,7 @@ extension GetDeliveryDestinationPolicyOutput { extension GetDeliverySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliverySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliverySourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6526,7 +6526,7 @@ extension GetDeliverySourceOutput { extension GetLogAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLogAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLogAnomalyDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6546,7 +6546,7 @@ extension GetLogAnomalyDetectorOutput { extension GetLogEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLogEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLogEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6560,7 +6560,7 @@ extension GetLogEventsOutput { extension GetLogGroupFieldsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLogGroupFieldsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLogGroupFieldsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6572,7 +6572,7 @@ extension GetLogGroupFieldsOutput { extension GetLogRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLogRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLogRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6584,7 +6584,7 @@ extension GetLogRecordOutput { extension GetQueryResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6599,7 +6599,7 @@ extension GetQueryResultsOutput { extension ListAnomaliesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomaliesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomaliesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6612,7 +6612,7 @@ extension ListAnomaliesOutput { extension ListLogAnomalyDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLogAnomalyDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLogAnomalyDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6625,7 +6625,7 @@ extension ListLogAnomalyDetectorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6637,7 +6637,7 @@ extension ListTagsForResourceOutput { extension ListTagsLogGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsLogGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsLogGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6649,7 +6649,7 @@ extension ListTagsLogGroupOutput { extension PutAccountPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6661,7 +6661,7 @@ extension PutAccountPolicyOutput { extension PutDataProtectionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDataProtectionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDataProtectionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6675,7 +6675,7 @@ extension PutDataProtectionPolicyOutput { extension PutDeliveryDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeliveryDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeliveryDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6687,7 +6687,7 @@ extension PutDeliveryDestinationOutput { extension PutDeliveryDestinationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeliveryDestinationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeliveryDestinationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6699,7 +6699,7 @@ extension PutDeliveryDestinationPolicyOutput { extension PutDeliverySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeliverySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeliverySourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6711,7 +6711,7 @@ extension PutDeliverySourceOutput { extension PutDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6723,14 +6723,14 @@ extension PutDestinationOutput { extension PutDestinationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDestinationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDestinationPolicyOutput { return PutDestinationPolicyOutput() } } extension PutLogEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLogEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLogEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6743,14 +6743,14 @@ extension PutLogEventsOutput { extension PutMetricFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetricFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetricFilterOutput { return PutMetricFilterOutput() } } extension PutQueryDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutQueryDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutQueryDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6762,7 +6762,7 @@ extension PutQueryDefinitionOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6774,21 +6774,21 @@ extension PutResourcePolicyOutput { extension PutRetentionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRetentionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRetentionPolicyOutput { return PutRetentionPolicyOutput() } } extension PutSubscriptionFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSubscriptionFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSubscriptionFilterOutput { return PutSubscriptionFilterOutput() } } extension StartLiveTailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLiveTailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLiveTailOutput { var value = StartLiveTailOutput() if case let .stream(stream) = httpResponse.body { let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() @@ -6801,7 +6801,7 @@ extension StartLiveTailOutput { extension StartQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6813,7 +6813,7 @@ extension StartQueryOutput { extension StopQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6825,21 +6825,21 @@ extension StopQueryOutput { extension TagLogGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagLogGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagLogGroupOutput { return TagLogGroupOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestMetricFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestMetricFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestMetricFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6851,35 +6851,35 @@ extension TestMetricFilterOutput { extension UntagLogGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagLogGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagLogGroupOutput { return UntagLogGroupOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAnomalyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnomalyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnomalyOutput { return UpdateAnomalyOutput() } } extension UpdateLogAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLogAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLogAnomalyDetectorOutput { return UpdateLogAnomalyDetectorOutput() } } enum AssociateKmsKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6896,7 +6896,7 @@ enum AssociateKmsKeyOutputError { enum CancelExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6913,7 +6913,7 @@ enum CancelExportTaskOutputError { enum CreateDeliveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6933,7 +6933,7 @@ enum CreateDeliveryOutputError { enum CreateExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6952,7 +6952,7 @@ enum CreateExportTaskOutputError { enum CreateLogAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6970,7 +6970,7 @@ enum CreateLogAnomalyDetectorOutputError { enum CreateLogGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6988,7 +6988,7 @@ enum CreateLogGroupOutputError { enum CreateLogStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7005,7 +7005,7 @@ enum CreateLogStreamOutputError { enum DeleteAccountPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7022,7 +7022,7 @@ enum DeleteAccountPolicyOutputError { enum DeleteDataProtectionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7039,7 +7039,7 @@ enum DeleteDataProtectionPolicyOutputError { enum DeleteDeliveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7058,7 +7058,7 @@ enum DeleteDeliveryOutputError { enum DeleteDeliveryDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7077,7 +7077,7 @@ enum DeleteDeliveryDestinationOutputError { enum DeleteDeliveryDestinationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7094,7 +7094,7 @@ enum DeleteDeliveryDestinationPolicyOutputError { enum DeleteDeliverySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7113,7 +7113,7 @@ enum DeleteDeliverySourceOutputError { enum DeleteDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7130,7 +7130,7 @@ enum DeleteDestinationOutputError { enum DeleteLogAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7147,7 +7147,7 @@ enum DeleteLogAnomalyDetectorOutputError { enum DeleteLogGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7164,7 +7164,7 @@ enum DeleteLogGroupOutputError { enum DeleteLogStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7181,7 +7181,7 @@ enum DeleteLogStreamOutputError { enum DeleteMetricFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7198,7 +7198,7 @@ enum DeleteMetricFilterOutputError { enum DeleteQueryDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7214,7 +7214,7 @@ enum DeleteQueryDefinitionOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7230,7 +7230,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteRetentionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7247,7 +7247,7 @@ enum DeleteRetentionPolicyOutputError { enum DeleteSubscriptionFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7264,7 +7264,7 @@ enum DeleteSubscriptionFilterOutputError { enum DescribeAccountPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7281,7 +7281,7 @@ enum DescribeAccountPoliciesOutputError { enum DescribeDeliveriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7298,7 +7298,7 @@ enum DescribeDeliveriesOutputError { enum DescribeDeliveryDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7315,7 +7315,7 @@ enum DescribeDeliveryDestinationsOutputError { enum DescribeDeliverySourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7332,7 +7332,7 @@ enum DescribeDeliverySourcesOutputError { enum DescribeDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7347,7 +7347,7 @@ enum DescribeDestinationsOutputError { enum DescribeExportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7362,7 +7362,7 @@ enum DescribeExportTasksOutputError { enum DescribeLogGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7377,7 +7377,7 @@ enum DescribeLogGroupsOutputError { enum DescribeLogStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7393,7 +7393,7 @@ enum DescribeLogStreamsOutputError { enum DescribeMetricFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7409,7 +7409,7 @@ enum DescribeMetricFiltersOutputError { enum DescribeQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7425,7 +7425,7 @@ enum DescribeQueriesOutputError { enum DescribeQueryDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7440,7 +7440,7 @@ enum DescribeQueryDefinitionsOutputError { enum DescribeResourcePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7455,7 +7455,7 @@ enum DescribeResourcePoliciesOutputError { enum DescribeSubscriptionFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7471,7 +7471,7 @@ enum DescribeSubscriptionFiltersOutputError { enum DisassociateKmsKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7488,7 +7488,7 @@ enum DisassociateKmsKeyOutputError { enum FilterLogEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7504,7 +7504,7 @@ enum FilterLogEventsOutputError { enum GetDataProtectionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7521,7 +7521,7 @@ enum GetDataProtectionPolicyOutputError { enum GetDeliveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7539,7 +7539,7 @@ enum GetDeliveryOutputError { enum GetDeliveryDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7557,7 +7557,7 @@ enum GetDeliveryDestinationOutputError { enum GetDeliveryDestinationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7573,7 +7573,7 @@ enum GetDeliveryDestinationPolicyOutputError { enum GetDeliverySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7591,7 +7591,7 @@ enum GetDeliverySourceOutputError { enum GetLogAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7608,7 +7608,7 @@ enum GetLogAnomalyDetectorOutputError { enum GetLogEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7624,7 +7624,7 @@ enum GetLogEventsOutputError { enum GetLogGroupFieldsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7641,7 +7641,7 @@ enum GetLogGroupFieldsOutputError { enum GetLogRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7658,7 +7658,7 @@ enum GetLogRecordOutputError { enum GetQueryResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7674,7 +7674,7 @@ enum GetQueryResultsOutputError { enum ListAnomaliesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7691,7 +7691,7 @@ enum ListAnomaliesOutputError { enum ListLogAnomalyDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7708,7 +7708,7 @@ enum ListLogAnomalyDetectorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7724,7 +7724,7 @@ enum ListTagsForResourceOutputError { enum ListTagsLogGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7739,7 +7739,7 @@ enum ListTagsLogGroupOutputError { enum PutAccountPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7756,7 +7756,7 @@ enum PutAccountPolicyOutputError { enum PutDataProtectionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7774,7 +7774,7 @@ enum PutDataProtectionPolicyOutputError { enum PutDeliveryDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7793,7 +7793,7 @@ enum PutDeliveryDestinationOutputError { enum PutDeliveryDestinationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7810,7 +7810,7 @@ enum PutDeliveryDestinationPolicyOutputError { enum PutDeliverySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7829,7 +7829,7 @@ enum PutDeliverySourceOutputError { enum PutDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7845,7 +7845,7 @@ enum PutDestinationOutputError { enum PutDestinationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7861,7 +7861,7 @@ enum PutDestinationPolicyOutputError { enum PutLogEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7880,7 +7880,7 @@ enum PutLogEventsOutputError { enum PutMetricFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7898,7 +7898,7 @@ enum PutMetricFilterOutputError { enum PutQueryDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7915,7 +7915,7 @@ enum PutQueryDefinitionOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7931,7 +7931,7 @@ enum PutResourcePolicyOutputError { enum PutRetentionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7948,7 +7948,7 @@ enum PutRetentionPolicyOutputError { enum PutSubscriptionFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7966,7 +7966,7 @@ enum PutSubscriptionFilterOutputError { enum StartLiveTailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7984,7 +7984,7 @@ enum StartLiveTailOutputError { enum StartQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8002,7 +8002,7 @@ enum StartQueryOutputError { enum StopQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8018,7 +8018,7 @@ enum StopQueryOutputError { enum TagLogGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8033,7 +8033,7 @@ enum TagLogGroupOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8050,7 +8050,7 @@ enum TagResourceOutputError { enum TestMetricFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8065,7 +8065,7 @@ enum TestMetricFilterOutputError { enum UntagLogGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8079,7 +8079,7 @@ enum UntagLogGroupOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8095,7 +8095,7 @@ enum UntagResourceOutputError { enum UpdateAnomalyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8112,7 +8112,7 @@ enum UpdateAnomalyOutputError { enum UpdateLogAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8377,14 +8377,14 @@ extension CloudWatchLogsClientTypes.StartLiveTailResponseStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: SessionStreamingException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") diff --git a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/Models.swift b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/Models.swift index db4a69a572b..e26f0b2b743 100644 --- a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/Models.swift +++ b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccountLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3689,7 +3689,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4006,7 +4006,7 @@ public struct OAuthProviderException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4030,7 +4030,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7409,7 +7409,7 @@ extension UpdateWebhookInput { extension BatchDeleteBuildsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteBuildsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteBuildsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7422,7 +7422,7 @@ extension BatchDeleteBuildsOutput { extension BatchGetBuildBatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetBuildBatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetBuildBatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7435,7 +7435,7 @@ extension BatchGetBuildBatchesOutput { extension BatchGetBuildsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetBuildsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetBuildsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7448,7 +7448,7 @@ extension BatchGetBuildsOutput { extension BatchGetFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7461,7 +7461,7 @@ extension BatchGetFleetsOutput { extension BatchGetProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7474,7 +7474,7 @@ extension BatchGetProjectsOutput { extension BatchGetReportGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetReportGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetReportGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7487,7 +7487,7 @@ extension BatchGetReportGroupsOutput { extension BatchGetReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7500,7 +7500,7 @@ extension BatchGetReportsOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7512,7 +7512,7 @@ extension CreateFleetOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7524,7 +7524,7 @@ extension CreateProjectOutput { extension CreateReportGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReportGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReportGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7536,7 +7536,7 @@ extension CreateReportGroupOutput { extension CreateWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7548,7 +7548,7 @@ extension CreateWebhookOutput { extension DeleteBuildBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBuildBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBuildBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7562,42 +7562,42 @@ extension DeleteBuildBatchOutput { extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { return DeleteFleetOutput() } } extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DeleteReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReportOutput { return DeleteReportOutput() } } extension DeleteReportGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReportGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReportGroupOutput { return DeleteReportGroupOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteSourceCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSourceCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSourceCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7609,14 +7609,14 @@ extension DeleteSourceCredentialsOutput { extension DeleteWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebhookOutput { return DeleteWebhookOutput() } } extension DescribeCodeCoveragesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCodeCoveragesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCodeCoveragesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7629,7 +7629,7 @@ extension DescribeCodeCoveragesOutput { extension DescribeTestCasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTestCasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTestCasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7642,7 +7642,7 @@ extension DescribeTestCasesOutput { extension GetReportGroupTrendOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReportGroupTrendOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReportGroupTrendOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7655,7 +7655,7 @@ extension GetReportGroupTrendOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7667,7 +7667,7 @@ extension GetResourcePolicyOutput { extension ImportSourceCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportSourceCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportSourceCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7679,14 +7679,14 @@ extension ImportSourceCredentialsOutput { extension InvalidateProjectCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvalidateProjectCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvalidateProjectCacheOutput { return InvalidateProjectCacheOutput() } } extension ListBuildBatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuildBatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuildBatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7699,7 +7699,7 @@ extension ListBuildBatchesOutput { extension ListBuildBatchesForProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuildBatchesForProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuildBatchesForProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7712,7 +7712,7 @@ extension ListBuildBatchesForProjectOutput { extension ListBuildsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuildsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuildsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7725,7 +7725,7 @@ extension ListBuildsOutput { extension ListBuildsForProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuildsForProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuildsForProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7738,7 +7738,7 @@ extension ListBuildsForProjectOutput { extension ListCuratedEnvironmentImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCuratedEnvironmentImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCuratedEnvironmentImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7750,7 +7750,7 @@ extension ListCuratedEnvironmentImagesOutput { extension ListFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7763,7 +7763,7 @@ extension ListFleetsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7776,7 +7776,7 @@ extension ListProjectsOutput { extension ListReportGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7789,7 +7789,7 @@ extension ListReportGroupsOutput { extension ListReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7802,7 +7802,7 @@ extension ListReportsOutput { extension ListReportsForReportGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReportsForReportGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReportsForReportGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7815,7 +7815,7 @@ extension ListReportsForReportGroupOutput { extension ListSharedProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSharedProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSharedProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7828,7 +7828,7 @@ extension ListSharedProjectsOutput { extension ListSharedReportGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSharedReportGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSharedReportGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7841,7 +7841,7 @@ extension ListSharedReportGroupsOutput { extension ListSourceCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSourceCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSourceCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7853,7 +7853,7 @@ extension ListSourceCredentialsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7865,7 +7865,7 @@ extension PutResourcePolicyOutput { extension RetryBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryBuildOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7877,7 +7877,7 @@ extension RetryBuildOutput { extension RetryBuildBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryBuildBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryBuildBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7889,7 +7889,7 @@ extension RetryBuildBatchOutput { extension StartBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBuildOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7901,7 +7901,7 @@ extension StartBuildOutput { extension StartBuildBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBuildBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBuildBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7913,7 +7913,7 @@ extension StartBuildBatchOutput { extension StopBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopBuildOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7925,7 +7925,7 @@ extension StopBuildOutput { extension StopBuildBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopBuildBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopBuildBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7937,7 +7937,7 @@ extension StopBuildBatchOutput { extension UpdateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7949,7 +7949,7 @@ extension UpdateFleetOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7961,7 +7961,7 @@ extension UpdateProjectOutput { extension UpdateProjectVisibilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectVisibilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectVisibilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7975,7 +7975,7 @@ extension UpdateProjectVisibilityOutput { extension UpdateReportGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReportGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReportGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7987,7 +7987,7 @@ extension UpdateReportGroupOutput { extension UpdateWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7999,7 +7999,7 @@ extension UpdateWebhookOutput { enum BatchDeleteBuildsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8013,7 +8013,7 @@ enum BatchDeleteBuildsOutputError { enum BatchGetBuildBatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8027,7 +8027,7 @@ enum BatchGetBuildBatchesOutputError { enum BatchGetBuildsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8041,7 +8041,7 @@ enum BatchGetBuildsOutputError { enum BatchGetFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8055,7 +8055,7 @@ enum BatchGetFleetsOutputError { enum BatchGetProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8069,7 +8069,7 @@ enum BatchGetProjectsOutputError { enum BatchGetReportGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8083,7 +8083,7 @@ enum BatchGetReportGroupsOutputError { enum BatchGetReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8097,7 +8097,7 @@ enum BatchGetReportsOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8113,7 +8113,7 @@ enum CreateFleetOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8129,7 +8129,7 @@ enum CreateProjectOutputError { enum CreateReportGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8145,7 +8145,7 @@ enum CreateReportGroupOutputError { enum CreateWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8162,7 +8162,7 @@ enum CreateWebhookOutputError { enum DeleteBuildBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8176,7 +8176,7 @@ enum DeleteBuildBatchOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8190,7 +8190,7 @@ enum DeleteFleetOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8204,7 +8204,7 @@ enum DeleteProjectOutputError { enum DeleteReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8218,7 +8218,7 @@ enum DeleteReportOutputError { enum DeleteReportGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8232,7 +8232,7 @@ enum DeleteReportGroupOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8246,7 +8246,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteSourceCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8261,7 +8261,7 @@ enum DeleteSourceCredentialsOutputError { enum DeleteWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8277,7 +8277,7 @@ enum DeleteWebhookOutputError { enum DescribeCodeCoveragesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8291,7 +8291,7 @@ enum DescribeCodeCoveragesOutputError { enum DescribeTestCasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8306,7 +8306,7 @@ enum DescribeTestCasesOutputError { enum GetReportGroupTrendOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8321,7 +8321,7 @@ enum GetReportGroupTrendOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8336,7 +8336,7 @@ enum GetResourcePolicyOutputError { enum ImportSourceCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8352,7 +8352,7 @@ enum ImportSourceCredentialsOutputError { enum InvalidateProjectCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8367,7 +8367,7 @@ enum InvalidateProjectCacheOutputError { enum ListBuildBatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8381,7 +8381,7 @@ enum ListBuildBatchesOutputError { enum ListBuildBatchesForProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8396,7 +8396,7 @@ enum ListBuildBatchesForProjectOutputError { enum ListBuildsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8410,7 +8410,7 @@ enum ListBuildsOutputError { enum ListBuildsForProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8425,7 +8425,7 @@ enum ListBuildsForProjectOutputError { enum ListCuratedEnvironmentImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8438,7 +8438,7 @@ enum ListCuratedEnvironmentImagesOutputError { enum ListFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8452,7 +8452,7 @@ enum ListFleetsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8466,7 +8466,7 @@ enum ListProjectsOutputError { enum ListReportGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8480,7 +8480,7 @@ enum ListReportGroupsOutputError { enum ListReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8494,7 +8494,7 @@ enum ListReportsOutputError { enum ListReportsForReportGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8509,7 +8509,7 @@ enum ListReportsForReportGroupOutputError { enum ListSharedProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8523,7 +8523,7 @@ enum ListSharedProjectsOutputError { enum ListSharedReportGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8537,7 +8537,7 @@ enum ListSharedReportGroupsOutputError { enum ListSourceCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8551,7 +8551,7 @@ enum ListSourceCredentialsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8566,7 +8566,7 @@ enum PutResourcePolicyOutputError { enum RetryBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8582,7 +8582,7 @@ enum RetryBuildOutputError { enum RetryBuildBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8597,7 +8597,7 @@ enum RetryBuildBatchOutputError { enum StartBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8613,7 +8613,7 @@ enum StartBuildOutputError { enum StartBuildBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8628,7 +8628,7 @@ enum StartBuildBatchOutputError { enum StopBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8643,7 +8643,7 @@ enum StopBuildOutputError { enum StopBuildBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8658,7 +8658,7 @@ enum StopBuildBatchOutputError { enum UpdateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8674,7 +8674,7 @@ enum UpdateFleetOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8689,7 +8689,7 @@ enum UpdateProjectOutputError { enum UpdateProjectVisibilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8704,7 +8704,7 @@ enum UpdateProjectVisibilityOutputError { enum UpdateReportGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8719,7 +8719,7 @@ enum UpdateReportGroupOutputError { enum UpdateWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/Models.swift b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/Models.swift index 872e1587ffd..09b9a3785a4 100644 --- a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/Models.swift +++ b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -281,7 +281,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -306,7 +306,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3206,7 +3206,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3231,7 +3231,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4010,7 +4010,7 @@ extension UpdateSpaceInput { extension CreateAccessTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4025,7 +4025,7 @@ extension CreateAccessTokenOutput { extension CreateDevEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDevEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDevEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4040,7 +4040,7 @@ extension CreateDevEnvironmentOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4055,7 +4055,7 @@ extension CreateProjectOutput { extension CreateSourceRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSourceRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSourceRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4070,7 +4070,7 @@ extension CreateSourceRepositoryOutput { extension CreateSourceRepositoryBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSourceRepositoryBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSourceRepositoryBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4085,14 +4085,14 @@ extension CreateSourceRepositoryBranchOutput { extension DeleteAccessTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessTokenOutput { return DeleteAccessTokenOutput() } } extension DeleteDevEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDevEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDevEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4106,7 +4106,7 @@ extension DeleteDevEnvironmentOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4120,7 +4120,7 @@ extension DeleteProjectOutput { extension DeleteSourceRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSourceRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSourceRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4134,7 +4134,7 @@ extension DeleteSourceRepositoryOutput { extension DeleteSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4147,7 +4147,7 @@ extension DeleteSpaceOutput { extension GetDevEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4172,7 +4172,7 @@ extension GetDevEnvironmentOutput { extension GetProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4187,7 +4187,7 @@ extension GetProjectOutput { extension GetSourceRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSourceRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSourceRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4204,7 +4204,7 @@ extension GetSourceRepositoryOutput { extension GetSourceRepositoryCloneUrlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSourceRepositoryCloneUrlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSourceRepositoryCloneUrlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4216,7 +4216,7 @@ extension GetSourceRepositoryCloneUrlsOutput { extension GetSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4231,7 +4231,7 @@ extension GetSpaceOutput { extension GetSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4246,7 +4246,7 @@ extension GetSubscriptionOutput { extension GetUserDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4262,7 +4262,7 @@ extension GetUserDetailsOutput { extension GetWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4284,7 +4284,7 @@ extension GetWorkflowOutput { extension GetWorkflowRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4304,7 +4304,7 @@ extension GetWorkflowRunOutput { extension ListAccessTokensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessTokensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessTokensOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4317,7 +4317,7 @@ extension ListAccessTokensOutput { extension ListDevEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4330,7 +4330,7 @@ extension ListDevEnvironmentsOutput { extension ListDevEnvironmentSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevEnvironmentSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevEnvironmentSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4343,7 +4343,7 @@ extension ListDevEnvironmentSessionsOutput { extension ListEventLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4356,7 +4356,7 @@ extension ListEventLogsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4369,7 +4369,7 @@ extension ListProjectsOutput { extension ListSourceRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSourceRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSourceRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4382,7 +4382,7 @@ extension ListSourceRepositoriesOutput { extension ListSourceRepositoryBranchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSourceRepositoryBranchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSourceRepositoryBranchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4395,7 +4395,7 @@ extension ListSourceRepositoryBranchesOutput { extension ListSpacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSpacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSpacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4408,7 +4408,7 @@ extension ListSpacesOutput { extension ListWorkflowRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4421,7 +4421,7 @@ extension ListWorkflowRunsOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4434,7 +4434,7 @@ extension ListWorkflowsOutput { extension StartDevEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDevEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDevEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4449,7 +4449,7 @@ extension StartDevEnvironmentOutput { extension StartDevEnvironmentSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDevEnvironmentSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDevEnvironmentSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4465,7 +4465,7 @@ extension StartDevEnvironmentSessionOutput { extension StartWorkflowRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWorkflowRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWorkflowRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4480,7 +4480,7 @@ extension StartWorkflowRunOutput { extension StopDevEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDevEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDevEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4495,7 +4495,7 @@ extension StopDevEnvironmentOutput { extension StopDevEnvironmentSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDevEnvironmentSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDevEnvironmentSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4510,7 +4510,7 @@ extension StopDevEnvironmentSessionOutput { extension UpdateDevEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDevEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDevEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4529,7 +4529,7 @@ extension UpdateDevEnvironmentOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4544,7 +4544,7 @@ extension UpdateProjectOutput { extension UpdateSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4558,7 +4558,7 @@ extension UpdateSpaceOutput { extension VerifySessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifySessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifySessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4582,7 +4582,7 @@ func httpServiceError(baseError: AWSClientRuntime.RestJSONError) throws -> Swift enum CreateAccessTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4596,7 +4596,7 @@ enum CreateAccessTokenOutputError { enum CreateDevEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4610,7 +4610,7 @@ enum CreateDevEnvironmentOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4624,7 +4624,7 @@ enum CreateProjectOutputError { enum CreateSourceRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4638,7 +4638,7 @@ enum CreateSourceRepositoryOutputError { enum CreateSourceRepositoryBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4652,7 +4652,7 @@ enum CreateSourceRepositoryBranchOutputError { enum DeleteAccessTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4666,7 +4666,7 @@ enum DeleteAccessTokenOutputError { enum DeleteDevEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4680,7 +4680,7 @@ enum DeleteDevEnvironmentOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4694,7 +4694,7 @@ enum DeleteProjectOutputError { enum DeleteSourceRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4708,7 +4708,7 @@ enum DeleteSourceRepositoryOutputError { enum DeleteSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4722,7 +4722,7 @@ enum DeleteSpaceOutputError { enum GetDevEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4736,7 +4736,7 @@ enum GetDevEnvironmentOutputError { enum GetProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4750,7 +4750,7 @@ enum GetProjectOutputError { enum GetSourceRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4764,7 +4764,7 @@ enum GetSourceRepositoryOutputError { enum GetSourceRepositoryCloneUrlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4778,7 +4778,7 @@ enum GetSourceRepositoryCloneUrlsOutputError { enum GetSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4792,7 +4792,7 @@ enum GetSpaceOutputError { enum GetSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4806,7 +4806,7 @@ enum GetSubscriptionOutputError { enum GetUserDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4820,7 +4820,7 @@ enum GetUserDetailsOutputError { enum GetWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4834,7 +4834,7 @@ enum GetWorkflowOutputError { enum GetWorkflowRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4848,7 +4848,7 @@ enum GetWorkflowRunOutputError { enum ListAccessTokensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4862,7 +4862,7 @@ enum ListAccessTokensOutputError { enum ListDevEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4876,7 +4876,7 @@ enum ListDevEnvironmentsOutputError { enum ListDevEnvironmentSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4890,7 +4890,7 @@ enum ListDevEnvironmentSessionsOutputError { enum ListEventLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4904,7 +4904,7 @@ enum ListEventLogsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4918,7 +4918,7 @@ enum ListProjectsOutputError { enum ListSourceRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4932,7 +4932,7 @@ enum ListSourceRepositoriesOutputError { enum ListSourceRepositoryBranchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4946,7 +4946,7 @@ enum ListSourceRepositoryBranchesOutputError { enum ListSpacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4960,7 +4960,7 @@ enum ListSpacesOutputError { enum ListWorkflowRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4974,7 +4974,7 @@ enum ListWorkflowRunsOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4988,7 +4988,7 @@ enum ListWorkflowsOutputError { enum StartDevEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5002,7 +5002,7 @@ enum StartDevEnvironmentOutputError { enum StartDevEnvironmentSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5016,7 +5016,7 @@ enum StartDevEnvironmentSessionOutputError { enum StartWorkflowRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5030,7 +5030,7 @@ enum StartWorkflowRunOutputError { enum StopDevEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5044,7 +5044,7 @@ enum StopDevEnvironmentOutputError { enum StopDevEnvironmentSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5058,7 +5058,7 @@ enum StopDevEnvironmentSessionOutputError { enum UpdateDevEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5072,7 +5072,7 @@ enum UpdateDevEnvironmentOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5086,7 +5086,7 @@ enum UpdateProjectOutputError { enum UpdateSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5100,7 +5100,7 @@ enum UpdateSpaceOutputError { enum VerifySessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/Models.swift b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/Models.swift index 7c51f4c3631..97d4ced73a2 100644 --- a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/Models.swift +++ b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -91,7 +91,7 @@ public struct ActorDoesNotExistException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -229,7 +229,7 @@ public struct ApprovalRuleContentRequiredException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -254,7 +254,7 @@ public struct ApprovalRuleDoesNotExistException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -303,7 +303,7 @@ public struct ApprovalRuleNameAlreadyExistsException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -328,7 +328,7 @@ public struct ApprovalRuleNameRequiredException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -446,7 +446,7 @@ public struct ApprovalRuleTemplateContentRequiredException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -471,7 +471,7 @@ public struct ApprovalRuleTemplateDoesNotExistException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -496,7 +496,7 @@ public struct ApprovalRuleTemplateInUseException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -521,7 +521,7 @@ public struct ApprovalRuleTemplateNameAlreadyExistsException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -546,7 +546,7 @@ public struct ApprovalRuleTemplateNameRequiredException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -591,7 +591,7 @@ public struct ApprovalStateRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -616,7 +616,7 @@ public struct EncryptionIntegrityChecksFailedException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -641,7 +641,7 @@ public struct EncryptionKeyAccessDeniedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -666,7 +666,7 @@ public struct EncryptionKeyDisabledException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -691,7 +691,7 @@ public struct EncryptionKeyNotFoundException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -716,7 +716,7 @@ public struct EncryptionKeyUnavailableException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -741,7 +741,7 @@ public struct InvalidApprovalRuleTemplateNameException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -766,7 +766,7 @@ public struct InvalidRepositoryNameException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -791,7 +791,7 @@ public struct MaximumRuleTemplatesAssociatedWithRepositoryException: ClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -816,7 +816,7 @@ public struct RepositoryDoesNotExistException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -841,7 +841,7 @@ public struct RepositoryNameRequiredException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -884,7 +884,7 @@ public struct AuthorDoesNotExistException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -909,7 +909,7 @@ public struct MaximumRepositoryNamesExceededException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -934,7 +934,7 @@ public struct RepositoryNamesRequiredException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1019,7 +1019,7 @@ public struct CommitDoesNotExistException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1044,7 +1044,7 @@ public struct CommitRequiredException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1069,7 +1069,7 @@ public struct InvalidCommitException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1094,7 +1094,7 @@ public struct InvalidConflictDetailLevelException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1119,7 +1119,7 @@ public struct InvalidConflictResolutionStrategyException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1144,7 +1144,7 @@ public struct InvalidContinuationTokenException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1169,7 +1169,7 @@ public struct InvalidMaxConflictFilesException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1194,7 +1194,7 @@ public struct InvalidMaxMergeHunksException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1219,7 +1219,7 @@ public struct InvalidMergeOptionException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1244,7 +1244,7 @@ public struct MaximumFileContentToLoadExceededException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1269,7 +1269,7 @@ public struct MaximumItemsToCompareExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1294,7 +1294,7 @@ public struct MergeOptionRequiredException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1319,7 +1319,7 @@ public struct TipsDivergenceExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1953,7 +1953,7 @@ public struct CommitIdsLimitExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1978,7 +1978,7 @@ public struct CommitIdsListRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2285,7 +2285,7 @@ public struct BeforeCommitIdAndAfterCommitIdAreSameException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2310,7 +2310,7 @@ public struct BlobIdDoesNotExistException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2335,7 +2335,7 @@ public struct BlobIdRequiredException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2392,7 +2392,7 @@ public struct BranchDoesNotExistException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2437,7 +2437,7 @@ public struct BranchNameExistsException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2462,7 +2462,7 @@ public struct BranchNameIsTagNameException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2487,7 +2487,7 @@ public struct BranchNameRequiredException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2512,7 +2512,7 @@ public struct CannotDeleteApprovalRuleFromTemplateException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2537,7 +2537,7 @@ public struct CannotModifyApprovalRuleFromTemplateException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2562,7 +2562,7 @@ public struct ClientRequestTokenRequiredException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2587,7 +2587,7 @@ public struct InvalidApprovalRuleTemplateContentException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2612,7 +2612,7 @@ public struct InvalidApprovalRuleTemplateDescriptionException: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2637,7 +2637,7 @@ public struct NumberOfRuleTemplatesExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2711,7 +2711,7 @@ public struct CommitIdRequiredException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2736,7 +2736,7 @@ public struct InvalidBranchNameException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2761,7 +2761,7 @@ public struct InvalidCommitIdException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2810,7 +2810,7 @@ public struct CommitMessageLengthExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2835,7 +2835,7 @@ public struct DirectoryNameConflictsWithFileNameException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2860,7 +2860,7 @@ public struct FileContentAndSourceFileSpecifiedException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2885,7 +2885,7 @@ public struct FileContentSizeLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2910,7 +2910,7 @@ public struct FileDoesNotExistException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2935,7 +2935,7 @@ public struct FileEntryRequiredException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2960,7 +2960,7 @@ public struct FileModeRequiredException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2985,7 +2985,7 @@ public struct FileNameConflictsWithDirectoryNameException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3010,7 +3010,7 @@ public struct FilePathConflictsWithSubmodulePathException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3035,7 +3035,7 @@ public struct FolderContentSizeLimitExceededException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3060,7 +3060,7 @@ public struct InvalidDeletionParameterException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3085,7 +3085,7 @@ public struct InvalidEmailException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3110,7 +3110,7 @@ public struct InvalidFileModeException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3135,7 +3135,7 @@ public struct InvalidParentCommitIdException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3160,7 +3160,7 @@ public struct InvalidPathException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3185,7 +3185,7 @@ public struct MaximumFileEntriesExceededException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3210,7 +3210,7 @@ public struct NameLengthExceededException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3235,7 +3235,7 @@ public struct NoChangeException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3260,7 +3260,7 @@ public struct ParentCommitDoesNotExistException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3285,7 +3285,7 @@ public struct ParentCommitIdOutdatedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3310,7 +3310,7 @@ public struct ParentCommitIdRequiredException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3335,7 +3335,7 @@ public struct PathRequiredException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3360,7 +3360,7 @@ public struct PutFileEntryConflictException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3385,7 +3385,7 @@ public struct RestrictedSourceFileException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3410,7 +3410,7 @@ public struct SamePathRequestException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3435,7 +3435,7 @@ public struct SourceFileOrContentRequiredException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3651,7 +3651,7 @@ public struct IdempotencyParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3676,7 +3676,7 @@ public struct InvalidClientRequestTokenException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3701,7 +3701,7 @@ public struct InvalidDescriptionException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3726,7 +3726,7 @@ public struct InvalidReferenceNameException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3751,7 +3751,7 @@ public struct InvalidTargetException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3776,7 +3776,7 @@ public struct InvalidTargetsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3801,7 +3801,7 @@ public struct InvalidTitleException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3826,7 +3826,7 @@ public struct MaximumOpenPullRequestsExceededException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3851,7 +3851,7 @@ public struct MultipleRepositoriesInPullRequestException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3876,7 +3876,7 @@ public struct ReferenceDoesNotExistException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3901,7 +3901,7 @@ public struct ReferenceNameRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3926,7 +3926,7 @@ public struct ReferenceTypeNotSupportedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3951,7 +3951,7 @@ public struct SourceAndDestinationAreSameException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3976,7 +3976,7 @@ public struct TargetRequiredException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4001,7 +4001,7 @@ public struct TargetsRequiredException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4026,7 +4026,7 @@ public struct TitleRequiredException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4269,7 +4269,7 @@ public struct InvalidApprovalRuleContentException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4294,7 +4294,7 @@ public struct InvalidApprovalRuleNameException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4319,7 +4319,7 @@ public struct InvalidPullRequestIdException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4344,7 +4344,7 @@ public struct NumberOfRulesExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4369,7 +4369,7 @@ public struct PullRequestAlreadyClosedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4394,7 +4394,7 @@ public struct PullRequestDoesNotExistException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4419,7 +4419,7 @@ public struct PullRequestIdRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4494,7 +4494,7 @@ public struct EncryptionKeyInvalidIdException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4519,7 +4519,7 @@ public struct EncryptionKeyInvalidUsageException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4544,7 +4544,7 @@ public struct InvalidRepositoryDescriptionException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4569,7 +4569,7 @@ public struct InvalidSystemTagUsageException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4594,7 +4594,7 @@ public struct InvalidTagsMapException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4619,7 +4619,7 @@ public struct RepositoryLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4644,7 +4644,7 @@ public struct RepositoryNameExistsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4669,7 +4669,7 @@ public struct TagPolicyException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4694,7 +4694,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4758,7 +4758,7 @@ public struct ConcurrentReferenceUpdateException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4783,7 +4783,7 @@ public struct InvalidConflictResolutionException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4808,7 +4808,7 @@ public struct InvalidReplacementContentException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4833,7 +4833,7 @@ public struct InvalidReplacementTypeException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4858,7 +4858,7 @@ public struct ManualMergeRequiredException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4883,7 +4883,7 @@ public struct MaximumConflictResolutionEntriesExceededException: ClientRuntime.M public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4908,7 +4908,7 @@ public struct MultipleConflictResolutionEntriesException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4933,7 +4933,7 @@ public struct ReplacementContentRequiredException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4958,7 +4958,7 @@ public struct ReplacementTypeRequiredException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5170,7 +5170,7 @@ public struct DefaultBranchCannotBeDeletedException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5227,7 +5227,7 @@ public struct CommentDeletedException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5252,7 +5252,7 @@ public struct CommentDoesNotExistException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5277,7 +5277,7 @@ public struct CommentIdRequiredException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5302,7 +5302,7 @@ public struct InvalidCommentIdException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5619,7 +5619,7 @@ public struct InvalidActorArnException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5644,7 +5644,7 @@ public struct InvalidMaxResultsException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5669,7 +5669,7 @@ public struct InvalidPullRequestEventTypeException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5960,7 +5960,7 @@ public struct InvalidRevisionIdException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5985,7 +5985,7 @@ public struct RevisionIdRequiredException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6010,7 +6010,7 @@ public struct RevisionNotCurrentException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6120,7 +6120,7 @@ public struct FileTooLargeException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6145,7 +6145,7 @@ public struct InvalidBlobIdException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6258,7 +6258,7 @@ public struct InvalidReactionUserArnException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6512,7 +6512,7 @@ public struct RepositoryNotAssociatedWithPullRequestException: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6630,7 +6630,7 @@ public struct CommitIdDoesNotExistException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6688,7 +6688,7 @@ public struct PathDoesNotExistException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6851,7 +6851,7 @@ public struct FolderDoesNotExistException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7095,7 +7095,7 @@ public struct InvalidDestinationCommitSpecifierException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7120,7 +7120,7 @@ public struct InvalidSourceCommitSpecifierException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7681,7 +7681,7 @@ public struct InvalidAuthorArnException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7706,7 +7706,7 @@ public struct InvalidPullRequestStatusException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7777,7 +7777,7 @@ public struct InvalidOrderException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7802,7 +7802,7 @@ public struct InvalidSortByException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7980,7 +7980,7 @@ public struct InvalidResourceArnException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8005,7 +8005,7 @@ public struct ResourceArnRequiredException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8063,7 +8063,7 @@ public struct InvalidTargetBranchException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8273,7 +8273,7 @@ public struct PullRequestApprovalRulesNotSatisfiedException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8298,7 +8298,7 @@ public struct TipOfSourceReferenceIsDifferentException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8481,7 +8481,7 @@ public struct InvalidOverrideStatusException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8506,7 +8506,7 @@ public struct OverrideAlreadySetException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8531,7 +8531,7 @@ public struct OverrideStatusRequiredException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8579,7 +8579,7 @@ public struct CommentContentRequiredException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8604,7 +8604,7 @@ public struct CommentContentSizeLimitExceededException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8629,7 +8629,7 @@ public struct InvalidFileLocationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8654,7 +8654,7 @@ public struct InvalidFilePositionException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8679,7 +8679,7 @@ public struct InvalidRelativeFileVersionEnumException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8890,7 +8890,7 @@ public struct InvalidReactionValueException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8915,7 +8915,7 @@ public struct ReactionLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8940,7 +8940,7 @@ public struct ReactionValueRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8983,7 +8983,7 @@ public struct FileContentRequiredException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9008,7 +9008,7 @@ public struct SameFileContentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9104,7 +9104,7 @@ public struct InvalidRepositoryTriggerBranchNameException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9129,7 +9129,7 @@ public struct InvalidRepositoryTriggerCustomDataException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9154,7 +9154,7 @@ public struct InvalidRepositoryTriggerDestinationArnException: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9179,7 +9179,7 @@ public struct InvalidRepositoryTriggerEventsException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9204,7 +9204,7 @@ public struct InvalidRepositoryTriggerNameException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9229,7 +9229,7 @@ public struct InvalidRepositoryTriggerRegionException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9254,7 +9254,7 @@ public struct MaximumBranchesExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9279,7 +9279,7 @@ public struct MaximumRepositoryTriggersExceededException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9304,7 +9304,7 @@ public struct RepositoryTriggerBranchNameListRequiredException: ClientRuntime.Mo public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9329,7 +9329,7 @@ public struct RepositoryTriggerDestinationArnRequiredException: ClientRuntime.Mo public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9354,7 +9354,7 @@ public struct RepositoryTriggerEventsListRequiredException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9379,7 +9379,7 @@ public struct RepositoryTriggerNameRequiredException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9404,7 +9404,7 @@ public struct RepositoryTriggersListRequiredException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9461,7 +9461,7 @@ public struct TagsMapRequiredException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9560,7 +9560,7 @@ public struct InvalidTagKeysListException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9585,7 +9585,7 @@ public struct TagKeysListRequiredException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9628,7 +9628,7 @@ public struct InvalidRuleContentSha256Exception: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9750,7 +9750,7 @@ public struct CommentNotCreatedByCallerException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9878,7 +9878,7 @@ public struct InvalidApprovalStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9903,7 +9903,7 @@ public struct MaximumNumberOfApprovalsExceededException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9928,7 +9928,7 @@ public struct PullRequestCannotBeApprovedByAuthorException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10007,7 +10007,7 @@ public struct InvalidPullRequestStatusUpdateException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10032,7 +10032,7 @@ public struct PullRequestStatusRequiredException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10137,7 +10137,7 @@ public struct EncryptionKeyRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11607,14 +11607,14 @@ extension UpdateRepositoryNameInput { extension AssociateApprovalRuleTemplateWithRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateApprovalRuleTemplateWithRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateApprovalRuleTemplateWithRepositoryOutput { return AssociateApprovalRuleTemplateWithRepositoryOutput() } } extension BatchAssociateApprovalRuleTemplateWithRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateApprovalRuleTemplateWithRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateApprovalRuleTemplateWithRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11627,7 +11627,7 @@ extension BatchAssociateApprovalRuleTemplateWithRepositoriesOutput { extension BatchDescribeMergeConflictsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDescribeMergeConflictsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDescribeMergeConflictsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11644,7 +11644,7 @@ extension BatchDescribeMergeConflictsOutput { extension BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11657,7 +11657,7 @@ extension BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput { extension BatchGetCommitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCommitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCommitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11670,7 +11670,7 @@ extension BatchGetCommitsOutput { extension BatchGetRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11684,7 +11684,7 @@ extension BatchGetRepositoriesOutput { extension CreateApprovalRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApprovalRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApprovalRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11696,14 +11696,14 @@ extension CreateApprovalRuleTemplateOutput { extension CreateBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBranchOutput { return CreateBranchOutput() } } extension CreateCommitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCommitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCommitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11719,7 +11719,7 @@ extension CreateCommitOutput { extension CreatePullRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePullRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePullRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11731,7 +11731,7 @@ extension CreatePullRequestOutput { extension CreatePullRequestApprovalRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePullRequestApprovalRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePullRequestApprovalRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11743,7 +11743,7 @@ extension CreatePullRequestApprovalRuleOutput { extension CreateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11755,7 +11755,7 @@ extension CreateRepositoryOutput { extension CreateUnreferencedMergeCommitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUnreferencedMergeCommitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUnreferencedMergeCommitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11768,7 +11768,7 @@ extension CreateUnreferencedMergeCommitOutput { extension DeleteApprovalRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApprovalRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApprovalRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11780,7 +11780,7 @@ extension DeleteApprovalRuleTemplateOutput { extension DeleteBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11792,7 +11792,7 @@ extension DeleteBranchOutput { extension DeleteCommentContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCommentContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCommentContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11804,7 +11804,7 @@ extension DeleteCommentContentOutput { extension DeleteFileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11819,7 +11819,7 @@ extension DeleteFileOutput { extension DeletePullRequestApprovalRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePullRequestApprovalRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePullRequestApprovalRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11831,7 +11831,7 @@ extension DeletePullRequestApprovalRuleOutput { extension DeleteRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11843,7 +11843,7 @@ extension DeleteRepositoryOutput { extension DescribeMergeConflictsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMergeConflictsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMergeConflictsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11860,7 +11860,7 @@ extension DescribeMergeConflictsOutput { extension DescribePullRequestEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePullRequestEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePullRequestEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11873,14 +11873,14 @@ extension DescribePullRequestEventsOutput { extension DisassociateApprovalRuleTemplateFromRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateApprovalRuleTemplateFromRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateApprovalRuleTemplateFromRepositoryOutput { return DisassociateApprovalRuleTemplateFromRepositoryOutput() } } extension EvaluatePullRequestApprovalRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EvaluatePullRequestApprovalRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EvaluatePullRequestApprovalRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11892,7 +11892,7 @@ extension EvaluatePullRequestApprovalRulesOutput { extension GetApprovalRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApprovalRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApprovalRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11904,7 +11904,7 @@ extension GetApprovalRuleTemplateOutput { extension GetBlobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11916,7 +11916,7 @@ extension GetBlobOutput { extension GetBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBranchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11928,7 +11928,7 @@ extension GetBranchOutput { extension GetCommentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCommentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCommentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11940,7 +11940,7 @@ extension GetCommentOutput { extension GetCommentReactionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCommentReactionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCommentReactionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11953,7 +11953,7 @@ extension GetCommentReactionsOutput { extension GetCommentsForComparedCommitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCommentsForComparedCommitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCommentsForComparedCommitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11966,7 +11966,7 @@ extension GetCommentsForComparedCommitOutput { extension GetCommentsForPullRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCommentsForPullRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCommentsForPullRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11979,7 +11979,7 @@ extension GetCommentsForPullRequestOutput { extension GetCommitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCommitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCommitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11991,7 +11991,7 @@ extension GetCommitOutput { extension GetDifferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDifferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDifferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12004,7 +12004,7 @@ extension GetDifferencesOutput { extension GetFileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12021,7 +12021,7 @@ extension GetFileOutput { extension GetFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12039,7 +12039,7 @@ extension GetFolderOutput { extension GetMergeCommitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMergeCommitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMergeCommitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12054,7 +12054,7 @@ extension GetMergeCommitOutput { extension GetMergeConflictsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMergeConflictsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMergeConflictsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12071,7 +12071,7 @@ extension GetMergeConflictsOutput { extension GetMergeOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMergeOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMergeOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12086,7 +12086,7 @@ extension GetMergeOptionsOutput { extension GetPullRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPullRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPullRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12098,7 +12098,7 @@ extension GetPullRequestOutput { extension GetPullRequestApprovalStatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPullRequestApprovalStatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPullRequestApprovalStatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12110,7 +12110,7 @@ extension GetPullRequestApprovalStatesOutput { extension GetPullRequestOverrideStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPullRequestOverrideStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPullRequestOverrideStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12123,7 +12123,7 @@ extension GetPullRequestOverrideStateOutput { extension GetRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12135,7 +12135,7 @@ extension GetRepositoryOutput { extension GetRepositoryTriggersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryTriggersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryTriggersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12148,7 +12148,7 @@ extension GetRepositoryTriggersOutput { extension ListApprovalRuleTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApprovalRuleTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApprovalRuleTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12161,7 +12161,7 @@ extension ListApprovalRuleTemplatesOutput { extension ListAssociatedApprovalRuleTemplatesForRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedApprovalRuleTemplatesForRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedApprovalRuleTemplatesForRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12174,7 +12174,7 @@ extension ListAssociatedApprovalRuleTemplatesForRepositoryOutput { extension ListBranchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBranchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBranchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12187,7 +12187,7 @@ extension ListBranchesOutput { extension ListFileCommitHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFileCommitHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFileCommitHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12200,7 +12200,7 @@ extension ListFileCommitHistoryOutput { extension ListPullRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPullRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPullRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12213,7 +12213,7 @@ extension ListPullRequestsOutput { extension ListRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12226,7 +12226,7 @@ extension ListRepositoriesOutput { extension ListRepositoriesForApprovalRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoriesForApprovalRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoriesForApprovalRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12239,7 +12239,7 @@ extension ListRepositoriesForApprovalRuleTemplateOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12252,7 +12252,7 @@ extension ListTagsForResourceOutput { extension MergeBranchesByFastForwardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergeBranchesByFastForwardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergeBranchesByFastForwardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12265,7 +12265,7 @@ extension MergeBranchesByFastForwardOutput { extension MergeBranchesBySquashOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergeBranchesBySquashOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergeBranchesBySquashOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12278,7 +12278,7 @@ extension MergeBranchesBySquashOutput { extension MergeBranchesByThreeWayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergeBranchesByThreeWayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergeBranchesByThreeWayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12291,7 +12291,7 @@ extension MergeBranchesByThreeWayOutput { extension MergePullRequestByFastForwardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergePullRequestByFastForwardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergePullRequestByFastForwardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12303,7 +12303,7 @@ extension MergePullRequestByFastForwardOutput { extension MergePullRequestBySquashOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergePullRequestBySquashOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergePullRequestBySquashOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12315,7 +12315,7 @@ extension MergePullRequestBySquashOutput { extension MergePullRequestByThreeWayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergePullRequestByThreeWayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergePullRequestByThreeWayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12327,14 +12327,14 @@ extension MergePullRequestByThreeWayOutput { extension OverridePullRequestApprovalRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> OverridePullRequestApprovalRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> OverridePullRequestApprovalRulesOutput { return OverridePullRequestApprovalRulesOutput() } } extension PostCommentForComparedCommitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostCommentForComparedCommitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostCommentForComparedCommitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12352,7 +12352,7 @@ extension PostCommentForComparedCommitOutput { extension PostCommentForPullRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostCommentForPullRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostCommentForPullRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12371,7 +12371,7 @@ extension PostCommentForPullRequestOutput { extension PostCommentReplyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostCommentReplyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostCommentReplyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12383,14 +12383,14 @@ extension PostCommentReplyOutput { extension PutCommentReactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCommentReactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCommentReactionOutput { return PutCommentReactionOutput() } } extension PutFileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12404,7 +12404,7 @@ extension PutFileOutput { extension PutRepositoryTriggersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRepositoryTriggersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRepositoryTriggersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12416,14 +12416,14 @@ extension PutRepositoryTriggersOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestRepositoryTriggersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestRepositoryTriggersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestRepositoryTriggersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12436,14 +12436,14 @@ extension TestRepositoryTriggersOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApprovalRuleTemplateContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApprovalRuleTemplateContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApprovalRuleTemplateContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12455,7 +12455,7 @@ extension UpdateApprovalRuleTemplateContentOutput { extension UpdateApprovalRuleTemplateDescriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApprovalRuleTemplateDescriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApprovalRuleTemplateDescriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12467,7 +12467,7 @@ extension UpdateApprovalRuleTemplateDescriptionOutput { extension UpdateApprovalRuleTemplateNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApprovalRuleTemplateNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApprovalRuleTemplateNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12479,7 +12479,7 @@ extension UpdateApprovalRuleTemplateNameOutput { extension UpdateCommentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCommentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCommentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12491,14 +12491,14 @@ extension UpdateCommentOutput { extension UpdateDefaultBranchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDefaultBranchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDefaultBranchOutput { return UpdateDefaultBranchOutput() } } extension UpdatePullRequestApprovalRuleContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePullRequestApprovalRuleContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePullRequestApprovalRuleContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12510,14 +12510,14 @@ extension UpdatePullRequestApprovalRuleContentOutput { extension UpdatePullRequestApprovalStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePullRequestApprovalStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePullRequestApprovalStateOutput { return UpdatePullRequestApprovalStateOutput() } } extension UpdatePullRequestDescriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePullRequestDescriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePullRequestDescriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12529,7 +12529,7 @@ extension UpdatePullRequestDescriptionOutput { extension UpdatePullRequestStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePullRequestStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePullRequestStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12541,7 +12541,7 @@ extension UpdatePullRequestStatusOutput { extension UpdatePullRequestTitleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePullRequestTitleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePullRequestTitleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12553,14 +12553,14 @@ extension UpdatePullRequestTitleOutput { extension UpdateRepositoryDescriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRepositoryDescriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRepositoryDescriptionOutput { return UpdateRepositoryDescriptionOutput() } } extension UpdateRepositoryEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRepositoryEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRepositoryEncryptionKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12574,14 +12574,14 @@ extension UpdateRepositoryEncryptionKeyOutput { extension UpdateRepositoryNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRepositoryNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRepositoryNameOutput { return UpdateRepositoryNameOutput() } } enum AssociateApprovalRuleTemplateWithRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12606,7 +12606,7 @@ enum AssociateApprovalRuleTemplateWithRepositoryOutputError { enum BatchAssociateApprovalRuleTemplateWithRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12629,7 +12629,7 @@ enum BatchAssociateApprovalRuleTemplateWithRepositoriesOutputError { enum BatchDescribeMergeConflictsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12663,7 +12663,7 @@ enum BatchDescribeMergeConflictsOutputError { enum BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12686,7 +12686,7 @@ enum BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputError { enum BatchGetCommitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12709,7 +12709,7 @@ enum BatchGetCommitsOutputError { enum BatchGetRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12730,7 +12730,7 @@ enum BatchGetRepositoriesOutputError { enum CreateApprovalRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12750,7 +12750,7 @@ enum CreateApprovalRuleTemplateOutputError { enum CreateBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12777,7 +12777,7 @@ enum CreateBranchOutputError { enum CreateCommitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12828,7 +12828,7 @@ enum CreateCommitOutputError { enum CreatePullRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12866,7 +12866,7 @@ enum CreatePullRequestOutputError { enum CreatePullRequestApprovalRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12894,7 +12894,7 @@ enum CreatePullRequestApprovalRuleOutputError { enum CreateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12923,7 +12923,7 @@ enum CreateRepositoryOutputError { enum CreateUnreferencedMergeCommitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12972,7 +12972,7 @@ enum CreateUnreferencedMergeCommitOutputError { enum DeleteApprovalRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12988,7 +12988,7 @@ enum DeleteApprovalRuleTemplateOutputError { enum DeleteBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13012,7 +13012,7 @@ enum DeleteBranchOutputError { enum DeleteCommentContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13029,7 +13029,7 @@ enum DeleteCommentContentOutputError { enum DeleteFileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13064,7 +13064,7 @@ enum DeleteFileOutputError { enum DeletePullRequestApprovalRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13089,7 +13089,7 @@ enum DeletePullRequestApprovalRuleOutputError { enum DeleteRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13109,7 +13109,7 @@ enum DeleteRepositoryOutputError { enum DescribeMergeConflictsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13145,7 +13145,7 @@ enum DescribeMergeConflictsOutputError { enum DescribePullRequestEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13171,7 +13171,7 @@ enum DescribePullRequestEventsOutputError { enum DisassociateApprovalRuleTemplateFromRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13195,7 +13195,7 @@ enum DisassociateApprovalRuleTemplateFromRepositoryOutputError { enum EvaluatePullRequestApprovalRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13219,7 +13219,7 @@ enum EvaluatePullRequestApprovalRulesOutputError { enum GetApprovalRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13235,7 +13235,7 @@ enum GetApprovalRuleTemplateOutputError { enum GetBlobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13260,7 +13260,7 @@ enum GetBlobOutputError { enum GetBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13284,7 +13284,7 @@ enum GetBranchOutputError { enum GetCommentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13306,7 +13306,7 @@ enum GetCommentOutputError { enum GetCommentReactionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13326,7 +13326,7 @@ enum GetCommentReactionsOutputError { enum GetCommentsForComparedCommitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13352,7 +13352,7 @@ enum GetCommentsForComparedCommitOutputError { enum GetCommentsForPullRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13382,7 +13382,7 @@ enum GetCommentsForPullRequestOutputError { enum GetCommitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13406,7 +13406,7 @@ enum GetCommitOutputError { enum GetDifferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13435,7 +13435,7 @@ enum GetDifferencesOutputError { enum GetFileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13462,7 +13462,7 @@ enum GetFileOutputError { enum GetFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13488,7 +13488,7 @@ enum GetFolderOutputError { enum GetMergeCommitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13514,7 +13514,7 @@ enum GetMergeCommitOutputError { enum GetMergeConflictsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13549,7 +13549,7 @@ enum GetMergeConflictsOutputError { enum GetMergeOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13578,7 +13578,7 @@ enum GetMergeOptionsOutputError { enum GetPullRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13599,7 +13599,7 @@ enum GetPullRequestOutputError { enum GetPullRequestApprovalStatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13622,7 +13622,7 @@ enum GetPullRequestApprovalStatesOutputError { enum GetPullRequestOverrideStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13645,7 +13645,7 @@ enum GetPullRequestOverrideStateOutputError { enum GetRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13666,7 +13666,7 @@ enum GetRepositoryOutputError { enum GetRepositoryTriggersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13687,7 +13687,7 @@ enum GetRepositoryTriggersOutputError { enum ListApprovalRuleTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13702,7 +13702,7 @@ enum ListApprovalRuleTemplatesOutputError { enum ListAssociatedApprovalRuleTemplatesForRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13725,7 +13725,7 @@ enum ListAssociatedApprovalRuleTemplatesForRepositoryOutputError { enum ListBranchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13747,7 +13747,7 @@ enum ListBranchesOutputError { enum ListFileCommitHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13774,7 +13774,7 @@ enum ListFileCommitHistoryOutputError { enum ListPullRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13800,7 +13800,7 @@ enum ListPullRequestsOutputError { enum ListRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13816,7 +13816,7 @@ enum ListRepositoriesOutputError { enum ListRepositoriesForApprovalRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13839,7 +13839,7 @@ enum ListRepositoriesForApprovalRuleTemplateOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13856,7 +13856,7 @@ enum ListTagsForResourceOutputError { enum MergeBranchesByFastForwardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13888,7 +13888,7 @@ enum MergeBranchesByFastForwardOutputError { enum MergeBranchesBySquashOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13940,7 +13940,7 @@ enum MergeBranchesBySquashOutputError { enum MergeBranchesByThreeWayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13992,7 +13992,7 @@ enum MergeBranchesByThreeWayOutputError { enum MergePullRequestByFastForwardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14024,7 +14024,7 @@ enum MergePullRequestByFastForwardOutputError { enum MergePullRequestBySquashOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14075,7 +14075,7 @@ enum MergePullRequestBySquashOutputError { enum MergePullRequestByThreeWayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14126,7 +14126,7 @@ enum MergePullRequestByThreeWayOutputError { enum OverridePullRequestApprovalRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14154,7 +14154,7 @@ enum OverridePullRequestApprovalRulesOutputError { enum PostCommentForComparedCommitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14190,7 +14190,7 @@ enum PostCommentForComparedCommitOutputError { enum PostCommentForPullRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14230,7 +14230,7 @@ enum PostCommentForPullRequestOutputError { enum PostCommentReplyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14251,7 +14251,7 @@ enum PostCommentReplyOutputError { enum PutCommentReactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14271,7 +14271,7 @@ enum PutCommentReactionOutputError { enum PutFileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14314,7 +14314,7 @@ enum PutFileOutputError { enum PutRepositoryTriggersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14348,7 +14348,7 @@ enum PutRepositoryTriggersOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14370,7 +14370,7 @@ enum TagResourceOutputError { enum TestRepositoryTriggersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14404,7 +14404,7 @@ enum TestRepositoryTriggersOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14426,7 +14426,7 @@ enum UntagResourceOutputError { enum UpdateApprovalRuleTemplateContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14445,7 +14445,7 @@ enum UpdateApprovalRuleTemplateContentOutputError { enum UpdateApprovalRuleTemplateDescriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14462,7 +14462,7 @@ enum UpdateApprovalRuleTemplateDescriptionOutputError { enum UpdateApprovalRuleTemplateNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14479,7 +14479,7 @@ enum UpdateApprovalRuleTemplateNameOutputError { enum UpdateCommentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14499,7 +14499,7 @@ enum UpdateCommentOutputError { enum UpdateDefaultBranchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14523,7 +14523,7 @@ enum UpdateDefaultBranchOutputError { enum UpdatePullRequestApprovalRuleContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14552,7 +14552,7 @@ enum UpdatePullRequestApprovalRuleContentOutputError { enum UpdatePullRequestApprovalStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14581,7 +14581,7 @@ enum UpdatePullRequestApprovalStateOutputError { enum UpdatePullRequestDescriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14599,7 +14599,7 @@ enum UpdatePullRequestDescriptionOutputError { enum UpdatePullRequestStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14623,7 +14623,7 @@ enum UpdatePullRequestStatusOutputError { enum UpdatePullRequestTitleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14642,7 +14642,7 @@ enum UpdatePullRequestTitleOutputError { enum UpdateRepositoryDescriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14664,7 +14664,7 @@ enum UpdateRepositoryDescriptionOutputError { enum UpdateRepositoryEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14688,7 +14688,7 @@ enum UpdateRepositoryEncryptionKeyOutputError { enum UpdateRepositoryNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/Models.swift b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/Models.swift index c6197cbb70d..eb84cf62d3d 100644 --- a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/Models.swift +++ b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -364,7 +364,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -388,7 +388,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -412,7 +412,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -436,7 +436,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -460,7 +460,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -817,7 +817,7 @@ public struct SyncConfigurationStillExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -841,7 +841,7 @@ public struct UnsupportedProviderTypeException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1889,7 +1889,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1913,7 +1913,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1963,7 +1963,7 @@ public struct ConditionalCheckFailedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1987,7 +1987,7 @@ public struct UpdateOutOfSyncException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2045,7 +2045,7 @@ public struct RetryLatestCommitFailedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2069,7 +2069,7 @@ public struct SyncBlockerDoesNotExistException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2642,7 +2642,7 @@ extension UpdateSyncConfigurationInput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2655,7 +2655,7 @@ extension CreateConnectionOutput { extension CreateHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2668,7 +2668,7 @@ extension CreateHostOutput { extension CreateRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2680,7 +2680,7 @@ extension CreateRepositoryLinkOutput { extension CreateSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSyncConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2692,35 +2692,35 @@ extension CreateSyncConfigurationOutput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { return DeleteConnectionOutput() } } extension DeleteHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHostOutput { return DeleteHostOutput() } } extension DeleteRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryLinkOutput { return DeleteRepositoryLinkOutput() } } extension DeleteSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSyncConfigurationOutput { return DeleteSyncConfigurationOutput() } } extension GetConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2732,7 +2732,7 @@ extension GetConnectionOutput { extension GetHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2748,7 +2748,7 @@ extension GetHostOutput { extension GetRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2760,7 +2760,7 @@ extension GetRepositoryLinkOutput { extension GetRepositorySyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositorySyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositorySyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2772,7 +2772,7 @@ extension GetRepositorySyncStatusOutput { extension GetResourceSyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceSyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceSyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2786,7 +2786,7 @@ extension GetResourceSyncStatusOutput { extension GetSyncBlockerSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSyncBlockerSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSyncBlockerSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2798,7 +2798,7 @@ extension GetSyncBlockerSummaryOutput { extension GetSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSyncConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2810,7 +2810,7 @@ extension GetSyncConfigurationOutput { extension ListConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2823,7 +2823,7 @@ extension ListConnectionsOutput { extension ListHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2836,7 +2836,7 @@ extension ListHostsOutput { extension ListRepositoryLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoryLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoryLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2849,7 +2849,7 @@ extension ListRepositoryLinksOutput { extension ListRepositorySyncDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositorySyncDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositorySyncDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2862,7 +2862,7 @@ extension ListRepositorySyncDefinitionsOutput { extension ListSyncConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSyncConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSyncConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2875,7 +2875,7 @@ extension ListSyncConfigurationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2887,28 +2887,28 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHostOutput { return UpdateHostOutput() } } extension UpdateRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRepositoryLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2920,7 +2920,7 @@ extension UpdateRepositoryLinkOutput { extension UpdateSyncBlockerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSyncBlockerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSyncBlockerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2934,7 +2934,7 @@ extension UpdateSyncBlockerOutput { extension UpdateSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSyncConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2946,7 +2946,7 @@ extension UpdateSyncConfigurationOutput { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2962,7 +2962,7 @@ enum CreateConnectionOutputError { enum CreateHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2976,7 +2976,7 @@ enum CreateHostOutputError { enum CreateRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2996,7 +2996,7 @@ enum CreateRepositoryLinkOutputError { enum CreateSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3016,7 +3016,7 @@ enum CreateSyncConfigurationOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum DeleteConnectionOutputError { enum DeleteHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3045,7 +3045,7 @@ enum DeleteHostOutputError { enum DeleteRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3066,7 +3066,7 @@ enum DeleteRepositoryLinkOutputError { enum DeleteSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3085,7 +3085,7 @@ enum DeleteSyncConfigurationOutputError { enum GetConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3100,7 +3100,7 @@ enum GetConnectionOutputError { enum GetHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3115,7 +3115,7 @@ enum GetHostOutputError { enum GetRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3134,7 +3134,7 @@ enum GetRepositoryLinkOutputError { enum GetRepositorySyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3152,7 +3152,7 @@ enum GetRepositorySyncStatusOutputError { enum GetResourceSyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3170,7 +3170,7 @@ enum GetResourceSyncStatusOutputError { enum GetSyncBlockerSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3188,7 +3188,7 @@ enum GetSyncBlockerSummaryOutputError { enum GetSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3206,7 +3206,7 @@ enum GetSyncConfigurationOutputError { enum ListConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3220,7 +3220,7 @@ enum ListConnectionsOutputError { enum ListHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3233,7 +3233,7 @@ enum ListHostsOutputError { enum ListRepositoryLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3252,7 +3252,7 @@ enum ListRepositoryLinksOutputError { enum ListRepositorySyncDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3270,7 +3270,7 @@ enum ListRepositorySyncDefinitionsOutputError { enum ListSyncConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3288,7 +3288,7 @@ enum ListSyncConfigurationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3302,7 +3302,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3317,7 +3317,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3331,7 +3331,7 @@ enum UntagResourceOutputError { enum UpdateHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3348,7 +3348,7 @@ enum UpdateHostOutputError { enum UpdateRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3368,7 +3368,7 @@ enum UpdateRepositoryLinkOutputError { enum UpdateSyncBlockerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3388,7 +3388,7 @@ enum UpdateSyncBlockerOutputError { enum UpdateSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/Models.swift b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/Models.swift index 62250153ea5..a9528b34dc6 100644 --- a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/Models.swift +++ b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -88,7 +88,7 @@ public struct InstanceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -113,7 +113,7 @@ public struct InstanceNameRequiredException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -138,7 +138,7 @@ public struct InstanceNotRegisteredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct InvalidInstanceNameException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -188,7 +188,7 @@ public struct InvalidTagException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -213,7 +213,7 @@ public struct TagLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -238,7 +238,7 @@ public struct TagRequiredException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -346,7 +346,7 @@ public struct AlarmsLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -371,7 +371,7 @@ public struct ApplicationAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -396,7 +396,7 @@ public struct ApplicationDoesNotExistException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -489,7 +489,7 @@ public struct ApplicationLimitExceededException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -514,7 +514,7 @@ public struct ApplicationNameRequiredException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -591,7 +591,7 @@ public struct ArnNotSupportedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -692,7 +692,7 @@ public struct BatchLimitExceededException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -717,7 +717,7 @@ public struct InvalidApplicationNameException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -742,7 +742,7 @@ public struct InvalidRevisionException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -767,7 +767,7 @@ public struct RevisionRequiredException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1108,7 +1108,7 @@ public struct DeploymentConfigDoesNotExistException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1133,7 +1133,7 @@ public struct DeploymentGroupNameRequiredException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1158,7 +1158,7 @@ public struct InvalidDeploymentGroupNameException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2033,7 +2033,7 @@ public struct DeploymentDoesNotExistException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2058,7 +2058,7 @@ public struct DeploymentIdRequiredException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2084,7 +2084,7 @@ public struct InstanceIdRequiredException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2109,7 +2109,7 @@ public struct InvalidComputePlatformException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2134,7 +2134,7 @@ public struct InvalidDeploymentIdException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3017,7 +3017,7 @@ public struct DeploymentNotStartedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3042,7 +3042,7 @@ public struct DeploymentTargetDoesNotExistException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3067,7 +3067,7 @@ public struct DeploymentTargetIdRequiredException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3092,7 +3092,7 @@ public struct DeploymentTargetListSizeExceededException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3118,7 +3118,7 @@ public struct InstanceDoesNotExistException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3143,7 +3143,7 @@ public struct InvalidDeploymentTargetIdException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3663,7 +3663,7 @@ public struct BucketNameFilterRequiredException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3688,7 +3688,7 @@ public struct DeploymentAlreadyCompletedException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3713,7 +3713,7 @@ public struct DeploymentIsNotInReadyStateException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3738,7 +3738,7 @@ public struct InvalidDeploymentStatusException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3763,7 +3763,7 @@ public struct InvalidDeploymentWaitTypeException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3788,7 +3788,7 @@ public struct UnsupportedActionForDeploymentTypeException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3858,7 +3858,7 @@ public struct InvalidTagsToAddException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3918,7 +3918,7 @@ public struct DeploymentGroupDoesNotExistException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3943,7 +3943,7 @@ public struct DeploymentLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3968,7 +3968,7 @@ public struct DescriptionTooLongException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4003,7 +4003,7 @@ public struct InvalidAlarmConfigException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4028,7 +4028,7 @@ public struct InvalidAutoRollbackConfigException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4053,7 +4053,7 @@ public struct InvalidAutoScalingGroupException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4078,7 +4078,7 @@ public struct InvalidDeploymentConfigNameException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4103,7 +4103,7 @@ public struct InvalidFileExistsBehaviorException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4128,7 +4128,7 @@ public struct InvalidGitHubAccountTokenException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4153,7 +4153,7 @@ public struct InvalidIgnoreApplicationStopFailuresValueException: ClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4178,7 +4178,7 @@ public struct InvalidLoadBalancerInfoException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4203,7 +4203,7 @@ public struct InvalidRoleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4236,7 +4236,7 @@ public struct InvalidTargetInstancesException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4261,7 +4261,7 @@ public struct InvalidTrafficRoutingConfigurationException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4286,7 +4286,7 @@ public struct InvalidUpdateOutdatedInstancesOnlyValueException: ClientRuntime.Mo public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4311,7 +4311,7 @@ public struct RevisionDoesNotExistException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4336,7 +4336,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4434,7 +4434,7 @@ public struct DeploymentConfigAlreadyExistsException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4459,7 +4459,7 @@ public struct DeploymentConfigLimitExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4484,7 +4484,7 @@ public struct DeploymentConfigNameRequiredException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4509,7 +4509,7 @@ public struct InvalidMinimumHealthyHostValueException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4534,7 +4534,7 @@ public struct InvalidZonalDeploymentConfigurationException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4834,7 +4834,7 @@ public struct DeploymentGroupAlreadyExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4859,7 +4859,7 @@ public struct DeploymentGroupLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4884,7 +4884,7 @@ public struct ECSServiceMappingLimitExceededException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4909,7 +4909,7 @@ public struct InvalidBlueGreenDeploymentConfigurationException: ClientRuntime.Mo public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4934,7 +4934,7 @@ public struct InvalidDeploymentStyleException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4959,7 +4959,7 @@ public struct InvalidEC2TagCombinationException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4984,7 +4984,7 @@ public struct InvalidEC2TagException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5009,7 +5009,7 @@ public struct InvalidECSServiceException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5034,7 +5034,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5059,7 +5059,7 @@ public struct InvalidOnPremisesTagCombinationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5084,7 +5084,7 @@ public struct InvalidTargetGroupPairException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5109,7 +5109,7 @@ public struct InvalidTriggerConfigException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5134,7 +5134,7 @@ public struct LifecycleHookLimitExceededException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5159,7 +5159,7 @@ public struct RoleRequiredException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5184,7 +5184,7 @@ public struct TagSetListLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5209,7 +5209,7 @@ public struct TriggerTargetsLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5349,7 +5349,7 @@ public struct DeploymentConfigInUseException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5374,7 +5374,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5445,7 +5445,7 @@ public struct GitHubAccountTokenDoesNotExistException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5470,7 +5470,7 @@ public struct GitHubAccountTokenNameRequiredException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5495,7 +5495,7 @@ public struct InvalidGitHubAccountTokenNameException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5520,7 +5520,7 @@ public struct OperationNotSupportedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5545,7 +5545,7 @@ public struct ResourceValidationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5910,7 +5910,7 @@ public struct InvalidBucketNameFilterException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5935,7 +5935,7 @@ public struct InvalidDeployedStateFilterException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5960,7 +5960,7 @@ public struct InvalidKeyPrefixFilterException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5985,7 +5985,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6010,7 +6010,7 @@ public struct InvalidSortByException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6035,7 +6035,7 @@ public struct InvalidSortOrderException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6297,7 +6297,7 @@ public struct InvalidDeploymentInstanceTypeException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6322,7 +6322,7 @@ public struct InvalidInstanceStatusException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6347,7 +6347,7 @@ public struct InvalidInstanceTypeException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6372,7 +6372,7 @@ public struct InvalidTargetFilterNameException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6452,7 +6452,7 @@ public struct InvalidExternalIdException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6477,7 +6477,7 @@ public struct InvalidTimeRangeException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6684,7 +6684,7 @@ public struct InvalidRegistrationStatusException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6709,7 +6709,7 @@ public struct InvalidTagFilterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6805,7 +6805,7 @@ public struct InvalidArnException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6830,7 +6830,7 @@ public struct ResourceArnRequiredException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6888,7 +6888,7 @@ public struct InvalidLifecycleEventHookExecutionIdException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6913,7 +6913,7 @@ public struct InvalidLifecycleEventHookExecutionStatusException: ClientRuntime.M public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6938,7 +6938,7 @@ public struct LifecycleEventAlreadyCompletedException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7018,7 +7018,7 @@ public struct IamArnRequiredException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7043,7 +7043,7 @@ public struct IamSessionArnAlreadyRegisteredException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7068,7 +7068,7 @@ public struct IamUserArnAlreadyRegisteredException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7093,7 +7093,7 @@ public struct IamUserArnRequiredException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7118,7 +7118,7 @@ public struct InstanceNameAlreadyRegisteredException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7143,7 +7143,7 @@ public struct InvalidIamSessionArnException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7168,7 +7168,7 @@ public struct InvalidIamUserArnException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7193,7 +7193,7 @@ public struct MultipleIamArnsProvidedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8294,14 +8294,14 @@ extension UpdateDeploymentGroupInput { extension AddTagsToOnPremisesInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToOnPremisesInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToOnPremisesInstancesOutput { return AddTagsToOnPremisesInstancesOutput() } } extension BatchGetApplicationRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetApplicationRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetApplicationRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8315,7 +8315,7 @@ extension BatchGetApplicationRevisionsOutput { extension BatchGetApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8327,7 +8327,7 @@ extension BatchGetApplicationsOutput { extension BatchGetDeploymentGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDeploymentGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDeploymentGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8340,7 +8340,7 @@ extension BatchGetDeploymentGroupsOutput { extension BatchGetDeploymentInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDeploymentInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDeploymentInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8353,7 +8353,7 @@ extension BatchGetDeploymentInstancesOutput { extension BatchGetDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8365,7 +8365,7 @@ extension BatchGetDeploymentsOutput { extension BatchGetDeploymentTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDeploymentTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDeploymentTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8377,7 +8377,7 @@ extension BatchGetDeploymentTargetsOutput { extension BatchGetOnPremisesInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetOnPremisesInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetOnPremisesInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8389,14 +8389,14 @@ extension BatchGetOnPremisesInstancesOutput { extension ContinueDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ContinueDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ContinueDeploymentOutput { return ContinueDeploymentOutput() } } extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8408,7 +8408,7 @@ extension CreateApplicationOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8420,7 +8420,7 @@ extension CreateDeploymentOutput { extension CreateDeploymentConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8432,7 +8432,7 @@ extension CreateDeploymentConfigOutput { extension CreateDeploymentGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8444,21 +8444,21 @@ extension CreateDeploymentGroupOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteDeploymentConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentConfigOutput { return DeleteDeploymentConfigOutput() } } extension DeleteDeploymentGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8470,7 +8470,7 @@ extension DeleteDeploymentGroupOutput { extension DeleteGitHubAccountTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGitHubAccountTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGitHubAccountTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8482,21 +8482,21 @@ extension DeleteGitHubAccountTokenOutput { extension DeleteResourcesByExternalIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcesByExternalIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcesByExternalIdOutput { return DeleteResourcesByExternalIdOutput() } } extension DeregisterOnPremisesInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterOnPremisesInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterOnPremisesInstanceOutput { return DeregisterOnPremisesInstanceOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8508,7 +8508,7 @@ extension GetApplicationOutput { extension GetApplicationRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8522,7 +8522,7 @@ extension GetApplicationRevisionOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8534,7 +8534,7 @@ extension GetDeploymentOutput { extension GetDeploymentConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8546,7 +8546,7 @@ extension GetDeploymentConfigOutput { extension GetDeploymentGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8558,7 +8558,7 @@ extension GetDeploymentGroupOutput { extension GetDeploymentInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8570,7 +8570,7 @@ extension GetDeploymentInstanceOutput { extension GetDeploymentTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8582,7 +8582,7 @@ extension GetDeploymentTargetOutput { extension GetOnPremisesInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOnPremisesInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOnPremisesInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8594,7 +8594,7 @@ extension GetOnPremisesInstanceOutput { extension ListApplicationRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8607,7 +8607,7 @@ extension ListApplicationRevisionsOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8620,7 +8620,7 @@ extension ListApplicationsOutput { extension ListDeploymentConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8633,7 +8633,7 @@ extension ListDeploymentConfigsOutput { extension ListDeploymentGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8647,7 +8647,7 @@ extension ListDeploymentGroupsOutput { extension ListDeploymentInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8660,7 +8660,7 @@ extension ListDeploymentInstancesOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8673,7 +8673,7 @@ extension ListDeploymentsOutput { extension ListDeploymentTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8686,7 +8686,7 @@ extension ListDeploymentTargetsOutput { extension ListGitHubAccountTokenNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGitHubAccountTokenNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGitHubAccountTokenNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8699,7 +8699,7 @@ extension ListGitHubAccountTokenNamesOutput { extension ListOnPremisesInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOnPremisesInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOnPremisesInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8712,7 +8712,7 @@ extension ListOnPremisesInstancesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8725,7 +8725,7 @@ extension ListTagsForResourceOutput { extension PutLifecycleEventHookExecutionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLifecycleEventHookExecutionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLifecycleEventHookExecutionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8737,35 +8737,35 @@ extension PutLifecycleEventHookExecutionStatusOutput { extension RegisterApplicationRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterApplicationRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterApplicationRevisionOutput { return RegisterApplicationRevisionOutput() } } extension RegisterOnPremisesInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterOnPremisesInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterOnPremisesInstanceOutput { return RegisterOnPremisesInstanceOutput() } } extension RemoveTagsFromOnPremisesInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromOnPremisesInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromOnPremisesInstancesOutput { return RemoveTagsFromOnPremisesInstancesOutput() } } extension SkipWaitTimeForInstanceTerminationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SkipWaitTimeForInstanceTerminationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SkipWaitTimeForInstanceTerminationOutput { return SkipWaitTimeForInstanceTerminationOutput() } } extension StopDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8778,28 +8778,28 @@ extension StopDeploymentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } extension UpdateDeploymentGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeploymentGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeploymentGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8811,7 +8811,7 @@ extension UpdateDeploymentGroupOutput { enum AddTagsToOnPremisesInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8831,7 +8831,7 @@ enum AddTagsToOnPremisesInstancesOutputError { enum BatchGetApplicationRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8850,7 +8850,7 @@ enum BatchGetApplicationRevisionsOutputError { enum BatchGetApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8867,7 +8867,7 @@ enum BatchGetApplicationsOutputError { enum BatchGetDeploymentGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8887,7 +8887,7 @@ enum BatchGetDeploymentGroupsOutputError { enum BatchGetDeploymentInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8907,7 +8907,7 @@ enum BatchGetDeploymentInstancesOutputError { enum BatchGetDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8923,7 +8923,7 @@ enum BatchGetDeploymentsOutputError { enum BatchGetDeploymentTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8945,7 +8945,7 @@ enum BatchGetDeploymentTargetsOutputError { enum BatchGetOnPremisesInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8961,7 +8961,7 @@ enum BatchGetOnPremisesInstancesOutputError { enum ContinueDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8982,7 +8982,7 @@ enum ContinueDeploymentOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9001,7 +9001,7 @@ enum CreateApplicationOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9040,7 +9040,7 @@ enum CreateDeploymentOutputError { enum CreateDeploymentConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9061,7 +9061,7 @@ enum CreateDeploymentConfigOutputError { enum CreateDeploymentGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9107,7 +9107,7 @@ enum CreateDeploymentGroupOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9123,7 +9123,7 @@ enum DeleteApplicationOutputError { enum DeleteDeploymentConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9140,7 +9140,7 @@ enum DeleteDeploymentConfigOutputError { enum DeleteDeploymentGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9158,7 +9158,7 @@ enum DeleteDeploymentGroupOutputError { enum DeleteGitHubAccountTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9176,7 +9176,7 @@ enum DeleteGitHubAccountTokenOutputError { enum DeleteResourcesByExternalIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9189,7 +9189,7 @@ enum DeleteResourcesByExternalIdOutputError { enum DeregisterOnPremisesInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9204,7 +9204,7 @@ enum DeregisterOnPremisesInstanceOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9220,7 +9220,7 @@ enum GetApplicationOutputError { enum GetApplicationRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9239,7 +9239,7 @@ enum GetApplicationRevisionOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9255,7 +9255,7 @@ enum GetDeploymentOutputError { enum GetDeploymentConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9272,7 +9272,7 @@ enum GetDeploymentConfigOutputError { enum GetDeploymentGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9292,7 +9292,7 @@ enum GetDeploymentGroupOutputError { enum GetDeploymentInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9312,7 +9312,7 @@ enum GetDeploymentInstanceOutputError { enum GetDeploymentTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9333,7 +9333,7 @@ enum GetDeploymentTargetOutputError { enum GetOnPremisesInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9349,7 +9349,7 @@ enum GetOnPremisesInstanceOutputError { enum ListApplicationRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9372,7 +9372,7 @@ enum ListApplicationRevisionsOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9386,7 +9386,7 @@ enum ListApplicationsOutputError { enum ListDeploymentConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9400,7 +9400,7 @@ enum ListDeploymentConfigsOutputError { enum ListDeploymentGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9417,7 +9417,7 @@ enum ListDeploymentGroupsOutputError { enum ListDeploymentInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9440,7 +9440,7 @@ enum ListDeploymentInstancesOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9464,7 +9464,7 @@ enum ListDeploymentsOutputError { enum ListDeploymentTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9486,7 +9486,7 @@ enum ListDeploymentTargetsOutputError { enum ListGitHubAccountTokenNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9502,7 +9502,7 @@ enum ListGitHubAccountTokenNamesOutputError { enum ListOnPremisesInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9518,7 +9518,7 @@ enum ListOnPremisesInstancesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9534,7 +9534,7 @@ enum ListTagsForResourceOutputError { enum PutLifecycleEventHookExecutionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9554,7 +9554,7 @@ enum PutLifecycleEventHookExecutionStatusOutputError { enum RegisterApplicationRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9573,7 +9573,7 @@ enum RegisterApplicationRevisionOutputError { enum RegisterOnPremisesInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9596,7 +9596,7 @@ enum RegisterOnPremisesInstanceOutputError { enum RemoveTagsFromOnPremisesInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9616,7 +9616,7 @@ enum RemoveTagsFromOnPremisesInstancesOutputError { enum SkipWaitTimeForInstanceTerminationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9635,7 +9635,7 @@ enum SkipWaitTimeForInstanceTerminationOutputError { enum StopDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9654,7 +9654,7 @@ enum StopDeploymentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9675,7 +9675,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9696,7 +9696,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9713,7 +9713,7 @@ enum UpdateApplicationOutputError { enum UpdateDeploymentGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/Models.swift b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/Models.swift index 6578b83c1be..26c928e3308 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/Models.swift +++ b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -69,7 +69,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -94,7 +94,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -119,7 +119,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -169,7 +169,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -194,7 +194,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2542,7 +2542,7 @@ extension UpdateProfilingGroupInput { extension AddNotificationChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddNotificationChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddNotificationChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2554,7 +2554,7 @@ extension AddNotificationChannelsOutput { extension BatchGetFrameMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFrameMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFrameMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2571,7 +2571,7 @@ extension BatchGetFrameMetricDataOutput { extension ConfigureAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureAgentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2583,7 +2583,7 @@ extension ConfigureAgentOutput { extension CreateProfilingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfilingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfilingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2595,14 +2595,14 @@ extension CreateProfilingGroupOutput { extension DeleteProfilingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfilingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfilingGroupOutput { return DeleteProfilingGroupOutput() } } extension DescribeProfilingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProfilingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProfilingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2614,7 +2614,7 @@ extension DescribeProfilingGroupOutput { extension GetFindingsReportAccountSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsReportAccountSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsReportAccountSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2627,7 +2627,7 @@ extension GetFindingsReportAccountSummaryOutput { extension GetNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNotificationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2639,7 +2639,7 @@ extension GetNotificationConfigurationOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2652,7 +2652,7 @@ extension GetPolicyOutput { extension GetProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileOutput { var value = GetProfileOutput() if let contentEncodingHeaderValue = httpResponse.headers.value(for: "Content-Encoding") { value.contentEncoding = contentEncodingHeaderValue @@ -2674,7 +2674,7 @@ extension GetProfileOutput { extension GetRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2690,7 +2690,7 @@ extension GetRecommendationsOutput { extension ListFindingsReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2703,7 +2703,7 @@ extension ListFindingsReportsOutput { extension ListProfileTimesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileTimesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileTimesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2716,7 +2716,7 @@ extension ListProfileTimesOutput { extension ListProfilingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2730,7 +2730,7 @@ extension ListProfilingGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2742,14 +2742,14 @@ extension ListTagsForResourceOutput { extension PostAgentProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostAgentProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostAgentProfileOutput { return PostAgentProfileOutput() } } extension PutPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2762,7 +2762,7 @@ extension PutPermissionOutput { extension RemoveNotificationChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveNotificationChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveNotificationChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2774,7 +2774,7 @@ extension RemoveNotificationChannelOutput { extension RemovePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemovePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemovePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2787,28 +2787,28 @@ extension RemovePermissionOutput { extension SubmitFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitFeedbackOutput { return SubmitFeedbackOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateProfilingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfilingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfilingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2820,7 +2820,7 @@ extension UpdateProfilingGroupOutput { enum AddNotificationChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2839,7 +2839,7 @@ enum AddNotificationChannelsOutputError { enum BatchGetFrameMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2856,7 +2856,7 @@ enum BatchGetFrameMetricDataOutputError { enum ConfigureAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2873,7 +2873,7 @@ enum ConfigureAgentOutputError { enum CreateProfilingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2891,7 +2891,7 @@ enum CreateProfilingGroupOutputError { enum DeleteProfilingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2909,7 +2909,7 @@ enum DeleteProfilingGroupOutputError { enum DescribeProfilingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2926,7 +2926,7 @@ enum DescribeProfilingGroupOutputError { enum GetFindingsReportAccountSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2942,7 +2942,7 @@ enum GetFindingsReportAccountSummaryOutputError { enum GetNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2959,7 +2959,7 @@ enum GetNotificationConfigurationOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2975,7 +2975,7 @@ enum GetPolicyOutputError { enum GetProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2992,7 +2992,7 @@ enum GetProfileOutputError { enum GetRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3009,7 +3009,7 @@ enum GetRecommendationsOutputError { enum ListFindingsReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3026,7 +3026,7 @@ enum ListFindingsReportsOutputError { enum ListProfileTimesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3043,7 +3043,7 @@ enum ListProfileTimesOutputError { enum ListProfilingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3058,7 +3058,7 @@ enum ListProfilingGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3074,7 +3074,7 @@ enum ListTagsForResourceOutputError { enum PostAgentProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3091,7 +3091,7 @@ enum PostAgentProfileOutputError { enum PutPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3109,7 +3109,7 @@ enum PutPermissionOutputError { enum RemoveNotificationChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3126,7 +3126,7 @@ enum RemoveNotificationChannelOutputError { enum RemovePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3144,7 +3144,7 @@ enum RemovePermissionOutputError { enum SubmitFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3161,7 +3161,7 @@ enum SubmitFeedbackOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3177,7 +3177,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3193,7 +3193,7 @@ enum UntagResourceOutputError { enum UpdateProfilingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/Models.swift b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/Models.swift index 8e287a2b7b9..c81ba867a0a 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/Models.swift +++ b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -90,7 +90,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -114,7 +114,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -138,7 +138,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,7 +162,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -588,7 +588,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1220,7 +1220,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2281,7 +2281,7 @@ extension TagResourceInput { extension AssociateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2294,7 +2294,7 @@ extension AssociateRepositoryOutput { extension CreateCodeReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCodeReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCodeReviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2306,7 +2306,7 @@ extension CreateCodeReviewOutput { extension DescribeCodeReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCodeReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCodeReviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2318,7 +2318,7 @@ extension DescribeCodeReviewOutput { extension DescribeRecommendationFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecommendationFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecommendationFeedbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2330,7 +2330,7 @@ extension DescribeRecommendationFeedbackOutput { extension DescribeRepositoryAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRepositoryAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRepositoryAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2343,7 +2343,7 @@ extension DescribeRepositoryAssociationOutput { extension DisassociateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2356,7 +2356,7 @@ extension DisassociateRepositoryOutput { extension ListCodeReviewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCodeReviewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCodeReviewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2369,7 +2369,7 @@ extension ListCodeReviewsOutput { extension ListRecommendationFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationFeedbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2382,7 +2382,7 @@ extension ListRecommendationFeedbackOutput { extension ListRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2395,7 +2395,7 @@ extension ListRecommendationsOutput { extension ListRepositoryAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoryAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoryAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2408,7 +2408,7 @@ extension ListRepositoryAssociationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2420,28 +2420,28 @@ extension ListTagsForResourceOutput { extension PutRecommendationFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecommendationFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecommendationFeedbackOutput { return PutRecommendationFeedbackOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum AssociateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2459,7 +2459,7 @@ enum AssociateRepositoryOutputError { enum CreateCodeReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2478,7 +2478,7 @@ enum CreateCodeReviewOutputError { enum DescribeCodeReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2496,7 +2496,7 @@ enum DescribeCodeReviewOutputError { enum DescribeRecommendationFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2514,7 +2514,7 @@ enum DescribeRecommendationFeedbackOutputError { enum DescribeRepositoryAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2532,7 +2532,7 @@ enum DescribeRepositoryAssociationOutputError { enum DisassociateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2551,7 +2551,7 @@ enum DisassociateRepositoryOutputError { enum ListCodeReviewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2568,7 +2568,7 @@ enum ListCodeReviewsOutputError { enum ListRecommendationFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2586,7 +2586,7 @@ enum ListRecommendationFeedbackOutputError { enum ListRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2604,7 +2604,7 @@ enum ListRecommendationsOutputError { enum ListRepositoryAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2620,7 +2620,7 @@ enum ListRepositoryAssociationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2636,7 +2636,7 @@ enum ListTagsForResourceOutputError { enum PutRecommendationFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2654,7 +2654,7 @@ enum PutRecommendationFeedbackOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2670,7 +2670,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/Models.swift b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/Models.swift index 220c6bea6e2..8ffdeace924 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/Models.swift +++ b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -45,7 +45,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -206,7 +206,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -306,7 +306,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -781,7 +781,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -822,7 +822,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1738,7 +1738,7 @@ extension UpdateAccountConfigurationInput { extension BatchGetFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1751,7 +1751,7 @@ extension BatchGetFindingsOutput { extension CreateScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1767,7 +1767,7 @@ extension CreateScanOutput { extension CreateUploadUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUploadUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUploadUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1781,7 +1781,7 @@ extension CreateUploadUrlOutput { extension GetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1793,7 +1793,7 @@ extension GetAccountConfigurationOutput { extension GetFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1806,7 +1806,7 @@ extension GetFindingsOutput { extension GetMetricsSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricsSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricsSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1818,7 +1818,7 @@ extension GetMetricsSummaryOutput { extension GetScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1838,7 +1838,7 @@ extension GetScanOutput { extension ListFindingsMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1851,7 +1851,7 @@ extension ListFindingsMetricsOutput { extension ListScansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1864,7 +1864,7 @@ extension ListScansOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1876,21 +1876,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1902,7 +1902,7 @@ extension UpdateAccountConfigurationOutput { enum BatchGetFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1919,7 +1919,7 @@ enum BatchGetFindingsOutputError { enum CreateScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1938,7 +1938,7 @@ enum CreateScanOutputError { enum CreateUploadUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1955,7 +1955,7 @@ enum CreateUploadUrlOutputError { enum GetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1972,7 +1972,7 @@ enum GetAccountConfigurationOutputError { enum GetFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1991,7 +1991,7 @@ enum GetFindingsOutputError { enum GetMetricsSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2008,7 +2008,7 @@ enum GetMetricsSummaryOutputError { enum GetScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2026,7 +2026,7 @@ enum GetScanOutputError { enum ListFindingsMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2043,7 +2043,7 @@ enum ListFindingsMetricsOutputError { enum ListScansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2060,7 +2060,7 @@ enum ListScansOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2079,7 +2079,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2098,7 +2098,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2117,7 +2117,7 @@ enum UntagResourceOutputError { enum UpdateAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/Models.swift b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/Models.swift index 53930620ae4..e20eec2c8c9 100644 --- a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/Models.swift +++ b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -81,7 +81,7 @@ public struct InvalidNonceException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct JobNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -232,7 +232,7 @@ public struct InvalidClientTokenException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -981,7 +981,7 @@ public struct ActionNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1465,7 +1465,7 @@ public struct ActionTypeNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1490,7 +1490,7 @@ public struct ApprovalAlreadyCompletedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1874,7 +1874,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1898,7 +1898,7 @@ public struct InvalidTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1923,7 +1923,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1947,7 +1947,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2058,7 +2058,7 @@ public struct InvalidActionDeclarationException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2083,7 +2083,7 @@ public struct InvalidBlockerDeclarationException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2108,7 +2108,7 @@ public struct InvalidStageDeclarationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2133,7 +2133,7 @@ public struct InvalidStructureException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2158,7 +2158,7 @@ public struct PipelineNameInUseException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2700,7 +2700,7 @@ public struct WebhookNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2737,7 +2737,7 @@ public struct PipelineNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2762,7 +2762,7 @@ public struct StageNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3069,7 +3069,7 @@ public struct PipelineVersionNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3157,7 +3157,7 @@ public struct PipelineExecutionNotFoundException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3637,7 +3637,7 @@ public struct InvalidJobException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3767,7 +3767,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4136,7 +4136,7 @@ public struct InvalidArnException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4161,7 +4161,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4578,7 +4578,7 @@ public struct InvalidApprovalTokenException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4650,7 +4650,7 @@ public struct InvalidJobStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4760,7 +4760,7 @@ public struct OutputVariablesSizeExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4924,7 +4924,7 @@ public struct InvalidWebhookAuthenticationParametersException: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4949,7 +4949,7 @@ public struct InvalidWebhookFilterPatternException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5019,7 +5019,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5044,7 +5044,7 @@ public struct NotLatestPipelineExecutionException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5069,7 +5069,7 @@ public struct StageNotRetryableException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5164,7 +5164,7 @@ public struct PipelineExecutionOutdatedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5188,7 +5188,7 @@ public struct UnableToRollbackStageException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5248,7 +5248,7 @@ public struct ConcurrentPipelineExecutionsLimitExceededException: ClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5395,7 +5395,7 @@ public struct DuplicatedStopRequestException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5419,7 +5419,7 @@ public struct PipelineExecutionNotStoppableException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5527,7 +5527,7 @@ public struct RequestFailedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6252,7 +6252,7 @@ extension UpdatePipelineInput { extension AcknowledgeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcknowledgeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcknowledgeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6264,7 +6264,7 @@ extension AcknowledgeJobOutput { extension AcknowledgeThirdPartyJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcknowledgeThirdPartyJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcknowledgeThirdPartyJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6276,7 +6276,7 @@ extension AcknowledgeThirdPartyJobOutput { extension CreateCustomActionTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomActionTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomActionTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6289,7 +6289,7 @@ extension CreateCustomActionTypeOutput { extension CreatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6302,49 +6302,49 @@ extension CreatePipelineOutput { extension DeleteCustomActionTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomActionTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomActionTypeOutput { return DeleteCustomActionTypeOutput() } } extension DeletePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipelineOutput { return DeletePipelineOutput() } } extension DeleteWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebhookOutput { return DeleteWebhookOutput() } } extension DeregisterWebhookWithThirdPartyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterWebhookWithThirdPartyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterWebhookWithThirdPartyOutput { return DeregisterWebhookWithThirdPartyOutput() } } extension DisableStageTransitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableStageTransitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableStageTransitionOutput { return DisableStageTransitionOutput() } } extension EnableStageTransitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableStageTransitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableStageTransitionOutput { return EnableStageTransitionOutput() } } extension GetActionTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetActionTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetActionTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6356,7 +6356,7 @@ extension GetActionTypeOutput { extension GetJobDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6368,7 +6368,7 @@ extension GetJobDetailsOutput { extension GetPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6381,7 +6381,7 @@ extension GetPipelineOutput { extension GetPipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6393,7 +6393,7 @@ extension GetPipelineExecutionOutput { extension GetPipelineStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6409,7 +6409,7 @@ extension GetPipelineStateOutput { extension GetThirdPartyJobDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetThirdPartyJobDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetThirdPartyJobDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6421,7 +6421,7 @@ extension GetThirdPartyJobDetailsOutput { extension ListActionExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActionExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActionExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6434,7 +6434,7 @@ extension ListActionExecutionsOutput { extension ListActionTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActionTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActionTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6447,7 +6447,7 @@ extension ListActionTypesOutput { extension ListPipelineExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelineExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelineExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6460,7 +6460,7 @@ extension ListPipelineExecutionsOutput { extension ListPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6473,7 +6473,7 @@ extension ListPipelinesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6486,7 +6486,7 @@ extension ListTagsForResourceOutput { extension ListWebhooksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebhooksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebhooksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6499,7 +6499,7 @@ extension ListWebhooksOutput { extension PollForJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PollForJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PollForJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6511,7 +6511,7 @@ extension PollForJobsOutput { extension PollForThirdPartyJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PollForThirdPartyJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PollForThirdPartyJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6523,7 +6523,7 @@ extension PollForThirdPartyJobsOutput { extension PutActionRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutActionRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutActionRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6536,7 +6536,7 @@ extension PutActionRevisionOutput { extension PutApprovalResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutApprovalResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutApprovalResultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6548,35 +6548,35 @@ extension PutApprovalResultOutput { extension PutJobFailureResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutJobFailureResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutJobFailureResultOutput { return PutJobFailureResultOutput() } } extension PutJobSuccessResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutJobSuccessResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutJobSuccessResultOutput { return PutJobSuccessResultOutput() } } extension PutThirdPartyJobFailureResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutThirdPartyJobFailureResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutThirdPartyJobFailureResultOutput { return PutThirdPartyJobFailureResultOutput() } } extension PutThirdPartyJobSuccessResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutThirdPartyJobSuccessResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutThirdPartyJobSuccessResultOutput { return PutThirdPartyJobSuccessResultOutput() } } extension PutWebhookOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutWebhookOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutWebhookOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6588,14 +6588,14 @@ extension PutWebhookOutput { extension RegisterWebhookWithThirdPartyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterWebhookWithThirdPartyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterWebhookWithThirdPartyOutput { return RegisterWebhookWithThirdPartyOutput() } } extension RetryStageExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryStageExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryStageExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6607,7 +6607,7 @@ extension RetryStageExecutionOutput { extension RollbackStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RollbackStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RollbackStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6619,7 +6619,7 @@ extension RollbackStageOutput { extension StartPipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6631,7 +6631,7 @@ extension StartPipelineExecutionOutput { extension StopPipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopPipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopPipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6643,28 +6643,28 @@ extension StopPipelineExecutionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateActionTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateActionTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateActionTypeOutput { return UpdateActionTypeOutput() } } extension UpdatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6676,7 +6676,7 @@ extension UpdatePipelineOutput { enum AcknowledgeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6692,7 +6692,7 @@ enum AcknowledgeJobOutputError { enum AcknowledgeThirdPartyJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6709,7 +6709,7 @@ enum AcknowledgeThirdPartyJobOutputError { enum CreateCustomActionTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6727,7 +6727,7 @@ enum CreateCustomActionTypeOutputError { enum CreatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6750,7 +6750,7 @@ enum CreatePipelineOutputError { enum DeleteCustomActionTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6765,7 +6765,7 @@ enum DeleteCustomActionTypeOutputError { enum DeletePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6780,7 +6780,7 @@ enum DeletePipelineOutputError { enum DeleteWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6795,7 +6795,7 @@ enum DeleteWebhookOutputError { enum DeregisterWebhookWithThirdPartyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6810,7 +6810,7 @@ enum DeregisterWebhookWithThirdPartyOutputError { enum DisableStageTransitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6826,7 +6826,7 @@ enum DisableStageTransitionOutputError { enum EnableStageTransitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6842,7 +6842,7 @@ enum EnableStageTransitionOutputError { enum GetActionTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6857,7 +6857,7 @@ enum GetActionTypeOutputError { enum GetJobDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6872,7 +6872,7 @@ enum GetJobDetailsOutputError { enum GetPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6888,7 +6888,7 @@ enum GetPipelineOutputError { enum GetPipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6904,7 +6904,7 @@ enum GetPipelineExecutionOutputError { enum GetPipelineStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6919,7 +6919,7 @@ enum GetPipelineStateOutputError { enum GetThirdPartyJobDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6936,7 +6936,7 @@ enum GetThirdPartyJobDetailsOutputError { enum ListActionExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6953,7 +6953,7 @@ enum ListActionExecutionsOutputError { enum ListActionTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6968,7 +6968,7 @@ enum ListActionTypesOutputError { enum ListPipelineExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6984,7 +6984,7 @@ enum ListPipelineExecutionsOutputError { enum ListPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6999,7 +6999,7 @@ enum ListPipelinesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7016,7 +7016,7 @@ enum ListTagsForResourceOutputError { enum ListWebhooksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7031,7 +7031,7 @@ enum ListWebhooksOutputError { enum PollForJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7046,7 +7046,7 @@ enum PollForJobsOutputError { enum PollForThirdPartyJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7061,7 +7061,7 @@ enum PollForThirdPartyJobsOutputError { enum PutActionRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7078,7 +7078,7 @@ enum PutActionRevisionOutputError { enum PutApprovalResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7097,7 +7097,7 @@ enum PutApprovalResultOutputError { enum PutJobFailureResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7113,7 +7113,7 @@ enum PutJobFailureResultOutputError { enum PutJobSuccessResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7130,7 +7130,7 @@ enum PutJobSuccessResultOutputError { enum PutThirdPartyJobFailureResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7147,7 +7147,7 @@ enum PutThirdPartyJobFailureResultOutputError { enum PutThirdPartyJobSuccessResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7164,7 +7164,7 @@ enum PutThirdPartyJobSuccessResultOutputError { enum PutWebhookOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7185,7 +7185,7 @@ enum PutWebhookOutputError { enum RegisterWebhookWithThirdPartyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7200,7 +7200,7 @@ enum RegisterWebhookWithThirdPartyOutputError { enum RetryStageExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7219,7 +7219,7 @@ enum RetryStageExecutionOutputError { enum RollbackStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7239,7 +7239,7 @@ enum RollbackStageOutputError { enum StartPipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7256,7 +7256,7 @@ enum StartPipelineExecutionOutputError { enum StopPipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7274,7 +7274,7 @@ enum StopPipelineExecutionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7293,7 +7293,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7311,7 +7311,7 @@ enum UntagResourceOutputError { enum UpdateActionTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7327,7 +7327,7 @@ enum UpdateActionTypeOutputError { enum UpdatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeStar/Sources/AWSCodeStar/Models.swift b/Sources/Services/AWSCodeStar/Sources/AWSCodeStar/Models.swift index 1c5548ba85e..647241ec6c7 100644 --- a/Sources/Services/AWSCodeStar/Sources/AWSCodeStar/Models.swift +++ b/Sources/Services/AWSCodeStar/Sources/AWSCodeStar/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -57,7 +57,7 @@ public struct InvalidServiceRoleException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -105,7 +105,7 @@ public struct ProjectConfigurationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ProjectNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct TeamMemberAlreadyAssociatedException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -177,7 +177,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -391,7 +391,7 @@ public struct ProjectAlreadyExistsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -415,7 +415,7 @@ public struct ProjectCreationFailedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -469,6 +469,11 @@ extension CodeStarClientTypes { } +extension CodeStarClientTypes.Toolchain: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Toolchain(roleArn: \(Swift.String(describing: roleArn)), source: \(Swift.String(describing: source)), stackParameters: [keys: \(Swift.String(describing: stackParameters?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct CreateProjectInput { /// A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request. public var clientRequestToken: Swift.String? @@ -550,7 +555,7 @@ public struct UserProfileAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -790,7 +795,7 @@ public struct UserProfileNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -890,7 +895,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1272,7 +1277,7 @@ public struct TeamMemberNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1704,7 +1709,7 @@ extension UpdateUserProfileInput { extension AssociateTeamMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTeamMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTeamMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1716,7 +1721,7 @@ extension AssociateTeamMemberOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1731,7 +1736,7 @@ extension CreateProjectOutput { extension CreateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1748,7 +1753,7 @@ extension CreateUserProfileOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1761,7 +1766,7 @@ extension DeleteProjectOutput { extension DeleteUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1773,7 +1778,7 @@ extension DeleteUserProfileOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1793,7 +1798,7 @@ extension DescribeProjectOutput { extension DescribeUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1810,14 +1815,14 @@ extension DescribeUserProfileOutput { extension DisassociateTeamMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTeamMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTeamMemberOutput { return DisassociateTeamMemberOutput() } } extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1830,7 +1835,7 @@ extension ListProjectsOutput { extension ListResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1843,7 +1848,7 @@ extension ListResourcesOutput { extension ListTagsForProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1856,7 +1861,7 @@ extension ListTagsForProjectOutput { extension ListTeamMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTeamMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTeamMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1869,7 +1874,7 @@ extension ListTeamMembersOutput { extension ListUserProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1882,7 +1887,7 @@ extension ListUserProfilesOutput { extension TagProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1894,21 +1899,21 @@ extension TagProjectOutput { extension UntagProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagProjectOutput { return UntagProjectOutput() } } extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { return UpdateProjectOutput() } } extension UpdateTeamMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTeamMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTeamMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1922,7 +1927,7 @@ extension UpdateTeamMemberOutput { extension UpdateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1939,7 +1944,7 @@ extension UpdateUserProfileOutput { enum AssociateTeamMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1959,7 +1964,7 @@ enum AssociateTeamMemberOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1979,7 +1984,7 @@ enum CreateProjectOutputError { enum CreateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1994,7 +1999,7 @@ enum CreateUserProfileOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2010,7 +2015,7 @@ enum DeleteProjectOutputError { enum DeleteUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2024,7 +2029,7 @@ enum DeleteUserProfileOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2042,7 +2047,7 @@ enum DescribeProjectOutputError { enum DescribeUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2057,7 +2062,7 @@ enum DescribeUserProfileOutputError { enum DisassociateTeamMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2074,7 +2079,7 @@ enum DisassociateTeamMemberOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2089,7 +2094,7 @@ enum ListProjectsOutputError { enum ListResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2105,7 +2110,7 @@ enum ListResourcesOutputError { enum ListTagsForProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2121,7 +2126,7 @@ enum ListTagsForProjectOutputError { enum ListTeamMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2137,7 +2142,7 @@ enum ListTeamMembersOutputError { enum ListUserProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2152,7 +2157,7 @@ enum ListUserProfilesOutputError { enum TagProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2169,7 +2174,7 @@ enum TagProjectOutputError { enum UntagProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2186,7 +2191,7 @@ enum UntagProjectOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2201,7 +2206,7 @@ enum UpdateProjectOutputError { enum UpdateTeamMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2221,7 +2226,7 @@ enum UpdateTeamMemberOutputError { enum UpdateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/Models.swift b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/Models.swift index fe7ed06cf70..c49e2cc1d54 100644 --- a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/Models.swift +++ b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -364,7 +364,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -388,7 +388,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -412,7 +412,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -436,7 +436,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -460,7 +460,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -817,7 +817,7 @@ public struct SyncConfigurationStillExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -841,7 +841,7 @@ public struct UnsupportedProviderTypeException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1889,7 +1889,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1913,7 +1913,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1963,7 +1963,7 @@ public struct ConditionalCheckFailedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1987,7 +1987,7 @@ public struct UpdateOutOfSyncException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2045,7 +2045,7 @@ public struct RetryLatestCommitFailedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2069,7 +2069,7 @@ public struct SyncBlockerDoesNotExistException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2642,7 +2642,7 @@ extension UpdateSyncConfigurationInput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2655,7 +2655,7 @@ extension CreateConnectionOutput { extension CreateHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2668,7 +2668,7 @@ extension CreateHostOutput { extension CreateRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2680,7 +2680,7 @@ extension CreateRepositoryLinkOutput { extension CreateSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSyncConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2692,35 +2692,35 @@ extension CreateSyncConfigurationOutput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { return DeleteConnectionOutput() } } extension DeleteHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHostOutput { return DeleteHostOutput() } } extension DeleteRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryLinkOutput { return DeleteRepositoryLinkOutput() } } extension DeleteSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSyncConfigurationOutput { return DeleteSyncConfigurationOutput() } } extension GetConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2732,7 +2732,7 @@ extension GetConnectionOutput { extension GetHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2748,7 +2748,7 @@ extension GetHostOutput { extension GetRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2760,7 +2760,7 @@ extension GetRepositoryLinkOutput { extension GetRepositorySyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositorySyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositorySyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2772,7 +2772,7 @@ extension GetRepositorySyncStatusOutput { extension GetResourceSyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceSyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceSyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2786,7 +2786,7 @@ extension GetResourceSyncStatusOutput { extension GetSyncBlockerSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSyncBlockerSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSyncBlockerSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2798,7 +2798,7 @@ extension GetSyncBlockerSummaryOutput { extension GetSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSyncConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2810,7 +2810,7 @@ extension GetSyncConfigurationOutput { extension ListConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2823,7 +2823,7 @@ extension ListConnectionsOutput { extension ListHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2836,7 +2836,7 @@ extension ListHostsOutput { extension ListRepositoryLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoryLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoryLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2849,7 +2849,7 @@ extension ListRepositoryLinksOutput { extension ListRepositorySyncDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositorySyncDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositorySyncDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2862,7 +2862,7 @@ extension ListRepositorySyncDefinitionsOutput { extension ListSyncConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSyncConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSyncConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2875,7 +2875,7 @@ extension ListSyncConfigurationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2887,28 +2887,28 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateHostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHostOutput { return UpdateHostOutput() } } extension UpdateRepositoryLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRepositoryLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRepositoryLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2920,7 +2920,7 @@ extension UpdateRepositoryLinkOutput { extension UpdateSyncBlockerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSyncBlockerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSyncBlockerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2934,7 +2934,7 @@ extension UpdateSyncBlockerOutput { extension UpdateSyncConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSyncConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSyncConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2946,7 +2946,7 @@ extension UpdateSyncConfigurationOutput { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2962,7 +2962,7 @@ enum CreateConnectionOutputError { enum CreateHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2976,7 +2976,7 @@ enum CreateHostOutputError { enum CreateRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2996,7 +2996,7 @@ enum CreateRepositoryLinkOutputError { enum CreateSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3016,7 +3016,7 @@ enum CreateSyncConfigurationOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum DeleteConnectionOutputError { enum DeleteHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3045,7 +3045,7 @@ enum DeleteHostOutputError { enum DeleteRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3066,7 +3066,7 @@ enum DeleteRepositoryLinkOutputError { enum DeleteSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3085,7 +3085,7 @@ enum DeleteSyncConfigurationOutputError { enum GetConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3100,7 +3100,7 @@ enum GetConnectionOutputError { enum GetHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3115,7 +3115,7 @@ enum GetHostOutputError { enum GetRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3134,7 +3134,7 @@ enum GetRepositoryLinkOutputError { enum GetRepositorySyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3152,7 +3152,7 @@ enum GetRepositorySyncStatusOutputError { enum GetResourceSyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3170,7 +3170,7 @@ enum GetResourceSyncStatusOutputError { enum GetSyncBlockerSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3188,7 +3188,7 @@ enum GetSyncBlockerSummaryOutputError { enum GetSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3206,7 +3206,7 @@ enum GetSyncConfigurationOutputError { enum ListConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3220,7 +3220,7 @@ enum ListConnectionsOutputError { enum ListHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3233,7 +3233,7 @@ enum ListHostsOutputError { enum ListRepositoryLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3252,7 +3252,7 @@ enum ListRepositoryLinksOutputError { enum ListRepositorySyncDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3270,7 +3270,7 @@ enum ListRepositorySyncDefinitionsOutputError { enum ListSyncConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3288,7 +3288,7 @@ enum ListSyncConfigurationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3302,7 +3302,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3317,7 +3317,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3331,7 +3331,7 @@ enum UntagResourceOutputError { enum UpdateHostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3348,7 +3348,7 @@ enum UpdateHostOutputError { enum UpdateRepositoryLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3368,7 +3368,7 @@ enum UpdateRepositoryLinkOutputError { enum UpdateSyncBlockerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3388,7 +3388,7 @@ enum UpdateSyncBlockerOutputError { enum UpdateSyncConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/Models.swift b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/Models.swift index 362277dbb46..bc2a3783be3 100644 --- a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/Models.swift +++ b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -42,7 +42,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -368,7 +368,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -397,7 +397,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -430,7 +430,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -461,7 +461,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -528,7 +528,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6236,7 +6236,7 @@ extension UpdateRepositoryInput { extension AssociateExternalConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateExternalConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateExternalConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6248,7 +6248,7 @@ extension AssociateExternalConnectionOutput { extension CopyPackageVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyPackageVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyPackageVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6261,7 +6261,7 @@ extension CopyPackageVersionsOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6273,7 +6273,7 @@ extension CreateDomainOutput { extension CreatePackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6285,7 +6285,7 @@ extension CreatePackageGroupOutput { extension CreateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6297,7 +6297,7 @@ extension CreateRepositoryOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6309,7 +6309,7 @@ extension DeleteDomainOutput { extension DeleteDomainPermissionsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainPermissionsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainPermissionsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6321,7 +6321,7 @@ extension DeleteDomainPermissionsPolicyOutput { extension DeletePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6333,7 +6333,7 @@ extension DeletePackageOutput { extension DeletePackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6345,7 +6345,7 @@ extension DeletePackageGroupOutput { extension DeletePackageVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6358,7 +6358,7 @@ extension DeletePackageVersionsOutput { extension DeleteRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6370,7 +6370,7 @@ extension DeleteRepositoryOutput { extension DeleteRepositoryPermissionsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryPermissionsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryPermissionsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6382,7 +6382,7 @@ extension DeleteRepositoryPermissionsPolicyOutput { extension DescribeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6394,7 +6394,7 @@ extension DescribeDomainOutput { extension DescribePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6406,7 +6406,7 @@ extension DescribePackageOutput { extension DescribePackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6418,7 +6418,7 @@ extension DescribePackageGroupOutput { extension DescribePackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6430,7 +6430,7 @@ extension DescribePackageVersionOutput { extension DescribeRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6442,7 +6442,7 @@ extension DescribeRepositoryOutput { extension DisassociateExternalConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateExternalConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateExternalConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6454,7 +6454,7 @@ extension DisassociateExternalConnectionOutput { extension DisposePackageVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisposePackageVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisposePackageVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6467,7 +6467,7 @@ extension DisposePackageVersionsOutput { extension GetAssociatedPackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssociatedPackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssociatedPackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6480,7 +6480,7 @@ extension GetAssociatedPackageGroupOutput { extension GetAuthorizationTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizationTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizationTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6493,7 +6493,7 @@ extension GetAuthorizationTokenOutput { extension GetDomainPermissionsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainPermissionsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainPermissionsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6505,7 +6505,7 @@ extension GetDomainPermissionsPolicyOutput { extension GetPackageVersionAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageVersionAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageVersionAssetOutput { var value = GetPackageVersionAssetOutput() if let assetNameHeaderValue = httpResponse.headers.value(for: "X-AssetName") { value.assetName = assetNameHeaderValue @@ -6530,7 +6530,7 @@ extension GetPackageVersionAssetOutput { extension GetPackageVersionReadmeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageVersionReadmeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageVersionReadmeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6547,7 +6547,7 @@ extension GetPackageVersionReadmeOutput { extension GetRepositoryEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6559,7 +6559,7 @@ extension GetRepositoryEndpointOutput { extension GetRepositoryPermissionsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryPermissionsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryPermissionsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6571,7 +6571,7 @@ extension GetRepositoryPermissionsPolicyOutput { extension ListAllowedRepositoriesForGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAllowedRepositoriesForGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAllowedRepositoriesForGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6584,7 +6584,7 @@ extension ListAllowedRepositoriesForGroupOutput { extension ListAssociatedPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6597,7 +6597,7 @@ extension ListAssociatedPackagesOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6610,7 +6610,7 @@ extension ListDomainsOutput { extension ListPackageGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackageGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackageGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6623,7 +6623,7 @@ extension ListPackageGroupsOutput { extension ListPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6636,7 +6636,7 @@ extension ListPackagesOutput { extension ListPackageVersionAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackageVersionAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackageVersionAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6654,7 +6654,7 @@ extension ListPackageVersionAssetsOutput { extension ListPackageVersionDependenciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackageVersionDependenciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackageVersionDependenciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6672,7 +6672,7 @@ extension ListPackageVersionDependenciesOutput { extension ListPackageVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackageVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackageVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6689,7 +6689,7 @@ extension ListPackageVersionsOutput { extension ListRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6702,7 +6702,7 @@ extension ListRepositoriesOutput { extension ListRepositoriesInDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoriesInDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoriesInDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6715,7 +6715,7 @@ extension ListRepositoriesInDomainOutput { extension ListSubPackageGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubPackageGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubPackageGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6728,7 +6728,7 @@ extension ListSubPackageGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6740,7 +6740,7 @@ extension ListTagsForResourceOutput { extension PublishPackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishPackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishPackageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6758,7 +6758,7 @@ extension PublishPackageVersionOutput { extension PutDomainPermissionsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDomainPermissionsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDomainPermissionsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6770,7 +6770,7 @@ extension PutDomainPermissionsPolicyOutput { extension PutPackageOriginConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPackageOriginConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPackageOriginConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6782,7 +6782,7 @@ extension PutPackageOriginConfigurationOutput { extension PutRepositoryPermissionsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRepositoryPermissionsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRepositoryPermissionsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6794,21 +6794,21 @@ extension PutRepositoryPermissionsPolicyOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6820,7 +6820,7 @@ extension UpdatePackageGroupOutput { extension UpdatePackageGroupOriginConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageGroupOriginConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageGroupOriginConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6833,7 +6833,7 @@ extension UpdatePackageGroupOriginConfigurationOutput { extension UpdatePackageVersionsStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageVersionsStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageVersionsStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6846,7 +6846,7 @@ extension UpdatePackageVersionsStatusOutput { extension UpdateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6858,7 +6858,7 @@ extension UpdateRepositoryOutput { enum AssociateExternalConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6878,7 +6878,7 @@ enum AssociateExternalConnectionOutputError { enum CopyPackageVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6898,7 +6898,7 @@ enum CopyPackageVersionsOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6918,7 +6918,7 @@ enum CreateDomainOutputError { enum CreatePackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6938,7 +6938,7 @@ enum CreatePackageGroupOutputError { enum CreateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6958,7 +6958,7 @@ enum CreateRepositoryOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6976,7 +6976,7 @@ enum DeleteDomainOutputError { enum DeleteDomainPermissionsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6995,7 +6995,7 @@ enum DeleteDomainPermissionsPolicyOutputError { enum DeletePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7014,7 +7014,7 @@ enum DeletePackageOutputError { enum DeletePackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7034,7 +7034,7 @@ enum DeletePackageGroupOutputError { enum DeletePackageVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7053,7 +7053,7 @@ enum DeletePackageVersionsOutputError { enum DeleteRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7072,7 +7072,7 @@ enum DeleteRepositoryOutputError { enum DeleteRepositoryPermissionsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7091,7 +7091,7 @@ enum DeleteRepositoryPermissionsPolicyOutputError { enum DescribeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7109,7 +7109,7 @@ enum DescribeDomainOutputError { enum DescribePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7127,7 +7127,7 @@ enum DescribePackageOutputError { enum DescribePackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7145,7 +7145,7 @@ enum DescribePackageGroupOutputError { enum DescribePackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7164,7 +7164,7 @@ enum DescribePackageVersionOutputError { enum DescribeRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7182,7 +7182,7 @@ enum DescribeRepositoryOutputError { enum DisassociateExternalConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7202,7 +7202,7 @@ enum DisassociateExternalConnectionOutputError { enum DisposePackageVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7221,7 +7221,7 @@ enum DisposePackageVersionsOutputError { enum GetAssociatedPackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7238,7 +7238,7 @@ enum GetAssociatedPackageGroupOutputError { enum GetAuthorizationTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7256,7 +7256,7 @@ enum GetAuthorizationTokenOutputError { enum GetDomainPermissionsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7274,7 +7274,7 @@ enum GetDomainPermissionsPolicyOutputError { enum GetPackageVersionAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7293,7 +7293,7 @@ enum GetPackageVersionAssetOutputError { enum GetPackageVersionReadmeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7311,7 +7311,7 @@ enum GetPackageVersionReadmeOutputError { enum GetRepositoryEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7329,7 +7329,7 @@ enum GetRepositoryEndpointOutputError { enum GetRepositoryPermissionsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7347,7 +7347,7 @@ enum GetRepositoryPermissionsPolicyOutputError { enum ListAllowedRepositoriesForGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7366,7 +7366,7 @@ enum ListAllowedRepositoriesForGroupOutputError { enum ListAssociatedPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7383,7 +7383,7 @@ enum ListAssociatedPackagesOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7400,7 +7400,7 @@ enum ListDomainsOutputError { enum ListPackageGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7418,7 +7418,7 @@ enum ListPackageGroupsOutputError { enum ListPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7436,7 +7436,7 @@ enum ListPackagesOutputError { enum ListPackageVersionAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7454,7 +7454,7 @@ enum ListPackageVersionAssetsOutputError { enum ListPackageVersionDependenciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7472,7 +7472,7 @@ enum ListPackageVersionDependenciesOutputError { enum ListPackageVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7490,7 +7490,7 @@ enum ListPackageVersionsOutputError { enum ListRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7507,7 +7507,7 @@ enum ListRepositoriesOutputError { enum ListRepositoriesInDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7525,7 +7525,7 @@ enum ListRepositoriesInDomainOutputError { enum ListSubPackageGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7543,7 +7543,7 @@ enum ListSubPackageGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7560,7 +7560,7 @@ enum ListTagsForResourceOutputError { enum PublishPackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7580,7 +7580,7 @@ enum PublishPackageVersionOutputError { enum PutDomainPermissionsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7600,7 +7600,7 @@ enum PutDomainPermissionsPolicyOutputError { enum PutPackageOriginConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7618,7 +7618,7 @@ enum PutPackageOriginConfigurationOutputError { enum PutRepositoryPermissionsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7638,7 +7638,7 @@ enum PutRepositoryPermissionsPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7656,7 +7656,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7673,7 +7673,7 @@ enum UntagResourceOutputError { enum UpdatePackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7692,7 +7692,7 @@ enum UpdatePackageGroupOutputError { enum UpdatePackageGroupOriginConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7711,7 +7711,7 @@ enum UpdatePackageGroupOriginConfigurationOutputError { enum UpdatePackageVersionsStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7730,7 +7730,7 @@ enum UpdatePackageVersionsStatusOutputError { enum UpdateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/Models.swift b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/Models.swift index acd0c6c4e45..60b96e70d1b 100644 --- a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/Models.swift +++ b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct ConfigurationException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -155,7 +155,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -380,7 +380,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -574,7 +574,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1298,7 +1298,7 @@ extension UpdateNotificationRuleInput { extension CreateNotificationRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNotificationRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNotificationRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1310,7 +1310,7 @@ extension CreateNotificationRuleOutput { extension DeleteNotificationRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotificationRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotificationRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1322,14 +1322,14 @@ extension DeleteNotificationRuleOutput { extension DeleteTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTargetOutput { return DeleteTargetOutput() } } extension DescribeNotificationRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotificationRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotificationRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1351,7 +1351,7 @@ extension DescribeNotificationRuleOutput { extension ListEventTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1364,7 +1364,7 @@ extension ListEventTypesOutput { extension ListNotificationRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotificationRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotificationRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1377,7 +1377,7 @@ extension ListNotificationRulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1389,7 +1389,7 @@ extension ListTagsForResourceOutput { extension ListTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1402,7 +1402,7 @@ extension ListTargetsOutput { extension SubscribeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubscribeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubscribeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1414,7 +1414,7 @@ extension SubscribeOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1426,7 +1426,7 @@ extension TagResourceOutput { extension UnsubscribeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnsubscribeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnsubscribeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1438,21 +1438,21 @@ extension UnsubscribeOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateNotificationRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotificationRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotificationRuleOutput { return UpdateNotificationRuleOutput() } } enum CreateNotificationRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1471,7 +1471,7 @@ enum CreateNotificationRuleOutputError { enum DeleteNotificationRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1487,7 +1487,7 @@ enum DeleteNotificationRuleOutputError { enum DeleteTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1501,7 +1501,7 @@ enum DeleteTargetOutputError { enum DescribeNotificationRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1516,7 +1516,7 @@ enum DescribeNotificationRuleOutputError { enum ListEventTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1531,7 +1531,7 @@ enum ListEventTypesOutputError { enum ListNotificationRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1546,7 +1546,7 @@ enum ListNotificationRulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1561,7 +1561,7 @@ enum ListTagsForResourceOutputError { enum ListTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1576,7 +1576,7 @@ enum ListTargetsOutputError { enum SubscribeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1592,7 +1592,7 @@ enum SubscribeOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1609,7 +1609,7 @@ enum TagResourceOutputError { enum UnsubscribeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1623,7 +1623,7 @@ enum UnsubscribeOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1640,7 +1640,7 @@ enum UntagResourceOutputError { enum UpdateNotificationRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Models.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Models.swift index 63b738e227a..e4cd86fca86 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Models.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -83,7 +83,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -108,7 +108,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -133,7 +133,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -158,7 +158,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -183,7 +183,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -208,7 +208,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -432,7 +432,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -576,7 +576,7 @@ public struct ExternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -601,7 +601,7 @@ public struct InvalidIdentityPoolConfigurationException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -948,7 +948,7 @@ public struct DeveloperUserAlreadyRegisteredException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1312,7 +1312,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1997,7 +1997,7 @@ extension UpdateIdentityPoolInput { extension CreateIdentityPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIdentityPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdentityPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2018,7 +2018,7 @@ extension CreateIdentityPoolOutput { extension DeleteIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2030,14 +2030,14 @@ extension DeleteIdentitiesOutput { extension DeleteIdentityPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentityPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityPoolOutput { return DeleteIdentityPoolOutput() } } extension DescribeIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2052,7 +2052,7 @@ extension DescribeIdentityOutput { extension DescribeIdentityPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2073,7 +2073,7 @@ extension DescribeIdentityPoolOutput { extension GetCredentialsForIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCredentialsForIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCredentialsForIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2086,7 +2086,7 @@ extension GetCredentialsForIdentityOutput { extension GetIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2098,7 +2098,7 @@ extension GetIdOutput { extension GetIdentityPoolRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityPoolRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityPoolRolesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2112,7 +2112,7 @@ extension GetIdentityPoolRolesOutput { extension GetOpenIdTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpenIdTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpenIdTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2125,7 +2125,7 @@ extension GetOpenIdTokenOutput { extension GetOpenIdTokenForDeveloperIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpenIdTokenForDeveloperIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpenIdTokenForDeveloperIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2138,7 +2138,7 @@ extension GetOpenIdTokenForDeveloperIdentityOutput { extension GetPrincipalTagAttributeMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPrincipalTagAttributeMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPrincipalTagAttributeMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2153,7 +2153,7 @@ extension GetPrincipalTagAttributeMapOutput { extension ListIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2167,7 +2167,7 @@ extension ListIdentitiesOutput { extension ListIdentityPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2180,7 +2180,7 @@ extension ListIdentityPoolsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2192,7 +2192,7 @@ extension ListTagsForResourceOutput { extension LookupDeveloperIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LookupDeveloperIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LookupDeveloperIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2206,7 +2206,7 @@ extension LookupDeveloperIdentityOutput { extension MergeDeveloperIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergeDeveloperIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergeDeveloperIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2218,14 +2218,14 @@ extension MergeDeveloperIdentitiesOutput { extension SetIdentityPoolRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityPoolRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityPoolRolesOutput { return SetIdentityPoolRolesOutput() } } extension SetPrincipalTagAttributeMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetPrincipalTagAttributeMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetPrincipalTagAttributeMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2240,35 +2240,35 @@ extension SetPrincipalTagAttributeMapOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnlinkDeveloperIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnlinkDeveloperIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnlinkDeveloperIdentityOutput { return UnlinkDeveloperIdentityOutput() } } extension UnlinkIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnlinkIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnlinkIdentityOutput { return UnlinkIdentityOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateIdentityPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentityPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2289,7 +2289,7 @@ extension UpdateIdentityPoolOutput { enum CreateIdentityPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2308,7 +2308,7 @@ enum CreateIdentityPoolOutputError { enum DeleteIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2324,7 +2324,7 @@ enum DeleteIdentitiesOutputError { enum DeleteIdentityPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2342,7 +2342,7 @@ enum DeleteIdentityPoolOutputError { enum DescribeIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2360,7 +2360,7 @@ enum DescribeIdentityOutputError { enum DescribeIdentityPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2378,7 +2378,7 @@ enum DescribeIdentityPoolOutputError { enum GetCredentialsForIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2399,7 +2399,7 @@ enum GetCredentialsForIdentityOutputError { enum GetIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2420,7 +2420,7 @@ enum GetIdOutputError { enum GetIdentityPoolRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2439,7 +2439,7 @@ enum GetIdentityPoolRolesOutputError { enum GetOpenIdTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2459,7 +2459,7 @@ enum GetOpenIdTokenOutputError { enum GetOpenIdTokenForDeveloperIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2479,7 +2479,7 @@ enum GetOpenIdTokenForDeveloperIdentityOutputError { enum GetPrincipalTagAttributeMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2497,7 +2497,7 @@ enum GetPrincipalTagAttributeMapOutputError { enum ListIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2515,7 +2515,7 @@ enum ListIdentitiesOutputError { enum ListIdentityPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2533,7 +2533,7 @@ enum ListIdentityPoolsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2551,7 +2551,7 @@ enum ListTagsForResourceOutputError { enum LookupDeveloperIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2570,7 +2570,7 @@ enum LookupDeveloperIdentityOutputError { enum MergeDeveloperIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2589,7 +2589,7 @@ enum MergeDeveloperIdentitiesOutputError { enum SetIdentityPoolRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2609,7 +2609,7 @@ enum SetIdentityPoolRolesOutputError { enum SetPrincipalTagAttributeMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2627,7 +2627,7 @@ enum SetPrincipalTagAttributeMapOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2645,7 +2645,7 @@ enum TagResourceOutputError { enum UnlinkDeveloperIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2664,7 +2664,7 @@ enum UnlinkDeveloperIdentityOutputError { enum UnlinkIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2684,7 +2684,7 @@ enum UnlinkIdentityOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2702,7 +2702,7 @@ enum UntagResourceOutputError { enum UpdateIdentityPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/Models.swift b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/Models.swift index 49c46ade4b8..d584078713e 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/Models.swift +++ b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -333,7 +333,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -358,7 +358,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -383,7 +383,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -408,7 +408,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -433,7 +433,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -458,7 +458,7 @@ public struct UserImportInProgressException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -623,7 +623,7 @@ public struct UserNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -676,7 +676,7 @@ public struct InvalidLambdaResponseException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -701,7 +701,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -726,7 +726,7 @@ public struct TooManyFailedAttemptsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -751,7 +751,7 @@ public struct UnexpectedLambdaException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -776,7 +776,7 @@ public struct UserLambdaValidationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -841,7 +841,7 @@ public struct CodeDeliveryFailureException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -866,7 +866,7 @@ public struct InvalidPasswordException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -891,7 +891,7 @@ public struct InvalidSmsRoleAccessPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -916,7 +916,7 @@ public struct InvalidSmsRoleTrustRelationshipException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -941,7 +941,7 @@ public struct PreconditionNotMetException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -966,7 +966,7 @@ public struct UnsupportedUserStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -991,7 +991,7 @@ public struct UsernameExistsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1412,7 +1412,7 @@ public struct AliasExistsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1544,7 +1544,7 @@ public struct InvalidUserPoolConfigurationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1758,7 +1758,7 @@ public struct MFAMethodNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1783,7 +1783,7 @@ public struct PasswordResetRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1808,7 +1808,7 @@ public struct UserNotConfirmedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2379,7 +2379,7 @@ public struct UserPoolAddOnNotEnabledException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2846,7 +2846,7 @@ public struct InvalidEmailRoleAccessPolicyException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2911,7 +2911,7 @@ public struct CodeMismatchException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2936,7 +2936,7 @@ public struct ExpiredCodeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2960,7 +2960,7 @@ public struct SoftwareTokenMFANotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3514,7 +3514,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3539,7 +3539,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3883,7 +3883,7 @@ public struct GroupExistsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3949,7 +3949,7 @@ public struct DuplicateProviderException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4361,7 +4361,7 @@ public struct UserPoolTaggingException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5265,7 +5265,7 @@ public struct InvalidOAuthFlowException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5289,7 +5289,7 @@ public struct ScopeDoesNotExistException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5870,7 +5870,7 @@ public struct UnsupportedIdentityProviderException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6955,7 +6955,7 @@ extension CognitoIdentityProviderClientTypes { extension CognitoIdentityProviderClientTypes.UICustomizationType: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UICustomizationType(css: \(Swift.String(describing: css)), cssVersion: \(Swift.String(describing: cssVersion)), creationDate: \(Swift.String(describing: creationDate)), imageUrl: \(Swift.String(describing: imageUrl)), lastModifiedDate: \(Swift.String(describing: lastModifiedDate)), userPoolId: \(Swift.String(describing: userPoolId)), clientId: \"CONTENT_REDACTED\")"} + "UICustomizationType(creationDate: \(Swift.String(describing: creationDate)), css: \(Swift.String(describing: css)), cssVersion: \(Swift.String(describing: cssVersion)), imageUrl: \(Swift.String(describing: imageUrl)), lastModifiedDate: \(Swift.String(describing: lastModifiedDate)), userPoolId: \(Swift.String(describing: userPoolId)), clientId: \"CONTENT_REDACTED\")"} } public struct GetUICustomizationOutput { @@ -7978,7 +7978,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8002,7 +8002,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8026,7 +8026,7 @@ public struct UnsupportedTokenTypeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9059,7 +9059,7 @@ public struct EnableSoftwareTokenMFAException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11034,28 +11034,28 @@ extension VerifyUserAttributeInput { extension AddCustomAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddCustomAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddCustomAttributesOutput { return AddCustomAttributesOutput() } } extension AdminAddUserToGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminAddUserToGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminAddUserToGroupOutput { return AdminAddUserToGroupOutput() } } extension AdminConfirmSignUpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminConfirmSignUpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminConfirmSignUpOutput { return AdminConfirmSignUpOutput() } } extension AdminCreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminCreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminCreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11067,49 +11067,49 @@ extension AdminCreateUserOutput { extension AdminDeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminDeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminDeleteUserOutput { return AdminDeleteUserOutput() } } extension AdminDeleteUserAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminDeleteUserAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminDeleteUserAttributesOutput { return AdminDeleteUserAttributesOutput() } } extension AdminDisableProviderForUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminDisableProviderForUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminDisableProviderForUserOutput { return AdminDisableProviderForUserOutput() } } extension AdminDisableUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminDisableUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminDisableUserOutput { return AdminDisableUserOutput() } } extension AdminEnableUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminEnableUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminEnableUserOutput { return AdminEnableUserOutput() } } extension AdminForgetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminForgetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminForgetDeviceOutput { return AdminForgetDeviceOutput() } } extension AdminGetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminGetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminGetDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11121,7 +11121,7 @@ extension AdminGetDeviceOutput { extension AdminGetUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminGetUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminGetUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11141,7 +11141,7 @@ extension AdminGetUserOutput { extension AdminInitiateAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminInitiateAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminInitiateAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11156,14 +11156,14 @@ extension AdminInitiateAuthOutput { extension AdminLinkProviderForUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminLinkProviderForUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminLinkProviderForUserOutput { return AdminLinkProviderForUserOutput() } } extension AdminListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11176,7 +11176,7 @@ extension AdminListDevicesOutput { extension AdminListGroupsForUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminListGroupsForUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminListGroupsForUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11189,7 +11189,7 @@ extension AdminListGroupsForUserOutput { extension AdminListUserAuthEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminListUserAuthEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminListUserAuthEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11202,21 +11202,21 @@ extension AdminListUserAuthEventsOutput { extension AdminRemoveUserFromGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminRemoveUserFromGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminRemoveUserFromGroupOutput { return AdminRemoveUserFromGroupOutput() } } extension AdminResetUserPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminResetUserPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminResetUserPasswordOutput { return AdminResetUserPasswordOutput() } } extension AdminRespondToAuthChallengeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminRespondToAuthChallengeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminRespondToAuthChallengeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11231,56 +11231,56 @@ extension AdminRespondToAuthChallengeOutput { extension AdminSetUserMFAPreferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminSetUserMFAPreferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminSetUserMFAPreferenceOutput { return AdminSetUserMFAPreferenceOutput() } } extension AdminSetUserPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminSetUserPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminSetUserPasswordOutput { return AdminSetUserPasswordOutput() } } extension AdminSetUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminSetUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminSetUserSettingsOutput { return AdminSetUserSettingsOutput() } } extension AdminUpdateAuthEventFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminUpdateAuthEventFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminUpdateAuthEventFeedbackOutput { return AdminUpdateAuthEventFeedbackOutput() } } extension AdminUpdateDeviceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminUpdateDeviceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminUpdateDeviceStatusOutput { return AdminUpdateDeviceStatusOutput() } } extension AdminUpdateUserAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminUpdateUserAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminUpdateUserAttributesOutput { return AdminUpdateUserAttributesOutput() } } extension AdminUserGlobalSignOutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdminUserGlobalSignOutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdminUserGlobalSignOutOutput { return AdminUserGlobalSignOutOutput() } } extension AssociateSoftwareTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSoftwareTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSoftwareTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11293,14 +11293,14 @@ extension AssociateSoftwareTokenOutput { extension ChangePasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangePasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangePasswordOutput { return ChangePasswordOutput() } } extension ConfirmDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11312,21 +11312,21 @@ extension ConfirmDeviceOutput { extension ConfirmForgotPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmForgotPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmForgotPasswordOutput { return ConfirmForgotPasswordOutput() } } extension ConfirmSignUpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmSignUpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmSignUpOutput { return ConfirmSignUpOutput() } } extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11338,7 +11338,7 @@ extension CreateGroupOutput { extension CreateIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11350,7 +11350,7 @@ extension CreateIdentityProviderOutput { extension CreateResourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11362,7 +11362,7 @@ extension CreateResourceServerOutput { extension CreateUserImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11374,7 +11374,7 @@ extension CreateUserImportJobOutput { extension CreateUserPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11386,7 +11386,7 @@ extension CreateUserPoolOutput { extension CreateUserPoolClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserPoolClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserPoolClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11398,7 +11398,7 @@ extension CreateUserPoolClientOutput { extension CreateUserPoolDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserPoolDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserPoolDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11410,63 +11410,63 @@ extension CreateUserPoolDomainOutput { extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityProviderOutput { return DeleteIdentityProviderOutput() } } extension DeleteResourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceServerOutput { return DeleteResourceServerOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DeleteUserAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserAttributesOutput { return DeleteUserAttributesOutput() } } extension DeleteUserPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserPoolOutput { return DeleteUserPoolOutput() } } extension DeleteUserPoolClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserPoolClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserPoolClientOutput { return DeleteUserPoolClientOutput() } } extension DeleteUserPoolDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserPoolDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserPoolDomainOutput { return DeleteUserPoolDomainOutput() } } extension DescribeIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11478,7 +11478,7 @@ extension DescribeIdentityProviderOutput { extension DescribeResourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourceServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11490,7 +11490,7 @@ extension DescribeResourceServerOutput { extension DescribeRiskConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRiskConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRiskConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11502,7 +11502,7 @@ extension DescribeRiskConfigurationOutput { extension DescribeUserImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11514,7 +11514,7 @@ extension DescribeUserImportJobOutput { extension DescribeUserPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11526,7 +11526,7 @@ extension DescribeUserPoolOutput { extension DescribeUserPoolClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserPoolClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserPoolClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11538,7 +11538,7 @@ extension DescribeUserPoolClientOutput { extension DescribeUserPoolDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserPoolDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserPoolDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11550,14 +11550,14 @@ extension DescribeUserPoolDomainOutput { extension ForgetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ForgetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ForgetDeviceOutput { return ForgetDeviceOutput() } } extension ForgotPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ForgotPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ForgotPasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11569,7 +11569,7 @@ extension ForgotPasswordOutput { extension GetCSVHeaderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCSVHeaderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCSVHeaderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11582,7 +11582,7 @@ extension GetCSVHeaderOutput { extension GetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11594,7 +11594,7 @@ extension GetDeviceOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11606,7 +11606,7 @@ extension GetGroupOutput { extension GetIdentityProviderByIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityProviderByIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityProviderByIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11618,7 +11618,7 @@ extension GetIdentityProviderByIdentifierOutput { extension GetLogDeliveryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLogDeliveryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLogDeliveryConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11630,7 +11630,7 @@ extension GetLogDeliveryConfigurationOutput { extension GetSigningCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSigningCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSigningCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11642,7 +11642,7 @@ extension GetSigningCertificateOutput { extension GetUICustomizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUICustomizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUICustomizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11654,7 +11654,7 @@ extension GetUICustomizationOutput { extension GetUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11670,7 +11670,7 @@ extension GetUserOutput { extension GetUserAttributeVerificationCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserAttributeVerificationCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserAttributeVerificationCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11682,7 +11682,7 @@ extension GetUserAttributeVerificationCodeOutput { extension GetUserPoolMfaConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserPoolMfaConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserPoolMfaConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11696,14 +11696,14 @@ extension GetUserPoolMfaConfigOutput { extension GlobalSignOutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GlobalSignOutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GlobalSignOutOutput { return GlobalSignOutOutput() } } extension InitiateAuthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateAuthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateAuthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11718,7 +11718,7 @@ extension InitiateAuthOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11731,7 +11731,7 @@ extension ListDevicesOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11744,7 +11744,7 @@ extension ListGroupsOutput { extension ListIdentityProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11757,7 +11757,7 @@ extension ListIdentityProvidersOutput { extension ListResourceServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11770,7 +11770,7 @@ extension ListResourceServersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11782,7 +11782,7 @@ extension ListTagsForResourceOutput { extension ListUserImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11795,7 +11795,7 @@ extension ListUserImportJobsOutput { extension ListUserPoolClientsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserPoolClientsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserPoolClientsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11808,7 +11808,7 @@ extension ListUserPoolClientsOutput { extension ListUserPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11821,7 +11821,7 @@ extension ListUserPoolsOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11834,7 +11834,7 @@ extension ListUsersOutput { extension ListUsersInGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersInGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersInGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11847,7 +11847,7 @@ extension ListUsersInGroupOutput { extension ResendConfirmationCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResendConfirmationCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResendConfirmationCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11859,7 +11859,7 @@ extension ResendConfirmationCodeOutput { extension RespondToAuthChallengeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RespondToAuthChallengeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RespondToAuthChallengeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11874,14 +11874,14 @@ extension RespondToAuthChallengeOutput { extension RevokeTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeTokenOutput { return RevokeTokenOutput() } } extension SetLogDeliveryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLogDeliveryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLogDeliveryConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11893,7 +11893,7 @@ extension SetLogDeliveryConfigurationOutput { extension SetRiskConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetRiskConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetRiskConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11905,7 +11905,7 @@ extension SetRiskConfigurationOutput { extension SetUICustomizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetUICustomizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetUICustomizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11917,14 +11917,14 @@ extension SetUICustomizationOutput { extension SetUserMFAPreferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetUserMFAPreferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetUserMFAPreferenceOutput { return SetUserMFAPreferenceOutput() } } extension SetUserPoolMfaConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetUserPoolMfaConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetUserPoolMfaConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11938,14 +11938,14 @@ extension SetUserPoolMfaConfigOutput { extension SetUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetUserSettingsOutput { return SetUserSettingsOutput() } } extension SignUpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignUpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignUpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11959,7 +11959,7 @@ extension SignUpOutput { extension StartUserImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartUserImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartUserImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11971,7 +11971,7 @@ extension StartUserImportJobOutput { extension StopUserImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopUserImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopUserImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11983,35 +11983,35 @@ extension StopUserImportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAuthEventFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAuthEventFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuthEventFeedbackOutput { return UpdateAuthEventFeedbackOutput() } } extension UpdateDeviceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceStatusOutput { return UpdateDeviceStatusOutput() } } extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12023,7 +12023,7 @@ extension UpdateGroupOutput { extension UpdateIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12035,7 +12035,7 @@ extension UpdateIdentityProviderOutput { extension UpdateResourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12047,7 +12047,7 @@ extension UpdateResourceServerOutput { extension UpdateUserAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12059,14 +12059,14 @@ extension UpdateUserAttributesOutput { extension UpdateUserPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserPoolOutput { return UpdateUserPoolOutput() } } extension UpdateUserPoolClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserPoolClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserPoolClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12078,7 +12078,7 @@ extension UpdateUserPoolClientOutput { extension UpdateUserPoolDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserPoolDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserPoolDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12090,7 +12090,7 @@ extension UpdateUserPoolDomainOutput { extension VerifySoftwareTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifySoftwareTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifySoftwareTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12103,14 +12103,14 @@ extension VerifySoftwareTokenOutput { extension VerifyUserAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyUserAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyUserAttributeOutput { return VerifyUserAttributeOutput() } } enum AddCustomAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12129,7 +12129,7 @@ enum AddCustomAttributesOutputError { enum AdminAddUserToGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12148,7 +12148,7 @@ enum AdminAddUserToGroupOutputError { enum AdminConfirmSignUpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12172,7 +12172,7 @@ enum AdminConfirmSignUpOutputError { enum AdminCreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12201,7 +12201,7 @@ enum AdminCreateUserOutputError { enum AdminDeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12220,7 +12220,7 @@ enum AdminDeleteUserOutputError { enum AdminDeleteUserAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12239,7 +12239,7 @@ enum AdminDeleteUserAttributesOutputError { enum AdminDisableProviderForUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12259,7 +12259,7 @@ enum AdminDisableProviderForUserOutputError { enum AdminDisableUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12278,7 +12278,7 @@ enum AdminDisableUserOutputError { enum AdminEnableUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12297,7 +12297,7 @@ enum AdminEnableUserOutputError { enum AdminForgetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12317,7 +12317,7 @@ enum AdminForgetDeviceOutputError { enum AdminGetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12336,7 +12336,7 @@ enum AdminGetDeviceOutputError { enum AdminGetUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12355,7 +12355,7 @@ enum AdminGetUserOutputError { enum AdminInitiateAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12383,7 +12383,7 @@ enum AdminInitiateAuthOutputError { enum AdminLinkProviderForUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12404,7 +12404,7 @@ enum AdminLinkProviderForUserOutputError { enum AdminListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12423,7 +12423,7 @@ enum AdminListDevicesOutputError { enum AdminListGroupsForUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12442,7 +12442,7 @@ enum AdminListGroupsForUserOutputError { enum AdminListUserAuthEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12462,7 +12462,7 @@ enum AdminListUserAuthEventsOutputError { enum AdminRemoveUserFromGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12481,7 +12481,7 @@ enum AdminRemoveUserFromGroupOutputError { enum AdminResetUserPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12507,7 +12507,7 @@ enum AdminResetUserPasswordOutputError { enum AdminRespondToAuthChallengeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12540,7 +12540,7 @@ enum AdminRespondToAuthChallengeOutputError { enum AdminSetUserMFAPreferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12560,7 +12560,7 @@ enum AdminSetUserMFAPreferenceOutputError { enum AdminSetUserPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12580,7 +12580,7 @@ enum AdminSetUserPasswordOutputError { enum AdminSetUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12598,7 +12598,7 @@ enum AdminSetUserSettingsOutputError { enum AdminUpdateAuthEventFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12618,7 +12618,7 @@ enum AdminUpdateAuthEventFeedbackOutputError { enum AdminUpdateDeviceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12638,7 +12638,7 @@ enum AdminUpdateDeviceStatusOutputError { enum AdminUpdateUserAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12664,7 +12664,7 @@ enum AdminUpdateUserAttributesOutputError { enum AdminUserGlobalSignOutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12683,7 +12683,7 @@ enum AdminUserGlobalSignOutOutputError { enum AssociateSoftwareTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12703,7 +12703,7 @@ enum AssociateSoftwareTokenOutputError { enum ChangePasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12727,7 +12727,7 @@ enum ChangePasswordOutputError { enum ConfirmDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12753,7 +12753,7 @@ enum ConfirmDeviceOutputError { enum ConfirmForgotPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12782,7 +12782,7 @@ enum ConfirmForgotPasswordOutputError { enum ConfirmSignUpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12810,7 +12810,7 @@ enum ConfirmSignUpOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12830,7 +12830,7 @@ enum CreateGroupOutputError { enum CreateIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12850,7 +12850,7 @@ enum CreateIdentityProviderOutputError { enum CreateResourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12869,7 +12869,7 @@ enum CreateResourceServerOutputError { enum CreateUserImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12889,7 +12889,7 @@ enum CreateUserImportJobOutputError { enum CreateUserPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12911,7 +12911,7 @@ enum CreateUserPoolOutputError { enum CreateUserPoolClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12932,7 +12932,7 @@ enum CreateUserPoolClientOutputError { enum CreateUserPoolDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12950,7 +12950,7 @@ enum CreateUserPoolDomainOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12968,7 +12968,7 @@ enum DeleteGroupOutputError { enum DeleteIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12988,7 +12988,7 @@ enum DeleteIdentityProviderOutputError { enum DeleteResourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13006,7 +13006,7 @@ enum DeleteResourceServerOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13028,7 +13028,7 @@ enum DeleteUserOutputError { enum DeleteUserAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13050,7 +13050,7 @@ enum DeleteUserAttributesOutputError { enum DeleteUserPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13069,7 +13069,7 @@ enum DeleteUserPoolOutputError { enum DeleteUserPoolClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13088,7 +13088,7 @@ enum DeleteUserPoolClientOutputError { enum DeleteUserPoolDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13105,7 +13105,7 @@ enum DeleteUserPoolDomainOutputError { enum DescribeIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13123,7 +13123,7 @@ enum DescribeIdentityProviderOutputError { enum DescribeResourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13141,7 +13141,7 @@ enum DescribeResourceServerOutputError { enum DescribeRiskConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13160,7 +13160,7 @@ enum DescribeRiskConfigurationOutputError { enum DescribeUserImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13178,7 +13178,7 @@ enum DescribeUserImportJobOutputError { enum DescribeUserPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13197,7 +13197,7 @@ enum DescribeUserPoolOutputError { enum DescribeUserPoolClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13215,7 +13215,7 @@ enum DescribeUserPoolClientOutputError { enum DescribeUserPoolDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13232,7 +13232,7 @@ enum DescribeUserPoolDomainOutputError { enum ForgetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13255,7 +13255,7 @@ enum ForgetDeviceOutputError { enum ForgotPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13283,7 +13283,7 @@ enum ForgotPasswordOutputError { enum GetCSVHeaderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13301,7 +13301,7 @@ enum GetCSVHeaderOutputError { enum GetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13324,7 +13324,7 @@ enum GetDeviceOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13342,7 +13342,7 @@ enum GetGroupOutputError { enum GetIdentityProviderByIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13360,7 +13360,7 @@ enum GetIdentityProviderByIdentifierOutputError { enum GetLogDeliveryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13378,7 +13378,7 @@ enum GetLogDeliveryConfigurationOutputError { enum GetSigningCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13394,7 +13394,7 @@ enum GetSigningCertificateOutputError { enum GetUICustomizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13412,7 +13412,7 @@ enum GetUICustomizationOutputError { enum GetUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13434,7 +13434,7 @@ enum GetUserOutputError { enum GetUserAttributeVerificationCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13464,7 +13464,7 @@ enum GetUserAttributeVerificationCodeOutputError { enum GetUserPoolMfaConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13482,7 +13482,7 @@ enum GetUserPoolMfaConfigOutputError { enum GlobalSignOutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13503,7 +13503,7 @@ enum GlobalSignOutOutputError { enum InitiateAuthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13531,7 +13531,7 @@ enum InitiateAuthOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13554,7 +13554,7 @@ enum ListDevicesOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13572,7 +13572,7 @@ enum ListGroupsOutputError { enum ListIdentityProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13590,7 +13590,7 @@ enum ListIdentityProvidersOutputError { enum ListResourceServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13608,7 +13608,7 @@ enum ListResourceServersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13626,7 +13626,7 @@ enum ListTagsForResourceOutputError { enum ListUserImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13644,7 +13644,7 @@ enum ListUserImportJobsOutputError { enum ListUserPoolClientsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13662,7 +13662,7 @@ enum ListUserPoolClientsOutputError { enum ListUserPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13679,7 +13679,7 @@ enum ListUserPoolsOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13697,7 +13697,7 @@ enum ListUsersOutputError { enum ListUsersInGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13715,7 +13715,7 @@ enum ListUsersInGroupOutputError { enum ResendConfirmationCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13743,7 +13743,7 @@ enum ResendConfirmationCodeOutputError { enum RespondToAuthChallengeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13777,7 +13777,7 @@ enum RespondToAuthChallengeOutputError { enum RevokeTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13797,7 +13797,7 @@ enum RevokeTokenOutputError { enum SetLogDeliveryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13815,7 +13815,7 @@ enum SetLogDeliveryConfigurationOutputError { enum SetRiskConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13836,7 +13836,7 @@ enum SetRiskConfigurationOutputError { enum SetUICustomizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13854,7 +13854,7 @@ enum SetUICustomizationOutputError { enum SetUserMFAPreferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13875,7 +13875,7 @@ enum SetUserMFAPreferenceOutputError { enum SetUserPoolMfaConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13896,7 +13896,7 @@ enum SetUserPoolMfaConfigOutputError { enum SetUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13917,7 +13917,7 @@ enum SetUserSettingsOutputError { enum SignUpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13946,7 +13946,7 @@ enum SignUpOutputError { enum StartUserImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13965,7 +13965,7 @@ enum StartUserImportJobOutputError { enum StopUserImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13984,7 +13984,7 @@ enum StopUserImportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14002,7 +14002,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14020,7 +14020,7 @@ enum UntagResourceOutputError { enum UpdateAuthEventFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14040,7 +14040,7 @@ enum UpdateAuthEventFeedbackOutputError { enum UpdateDeviceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14063,7 +14063,7 @@ enum UpdateDeviceStatusOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14081,7 +14081,7 @@ enum UpdateGroupOutputError { enum UpdateIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14101,7 +14101,7 @@ enum UpdateIdentityProviderOutputError { enum UpdateResourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14119,7 +14119,7 @@ enum UpdateResourceServerOutputError { enum UpdateUserAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14151,7 +14151,7 @@ enum UpdateUserAttributesOutputError { enum UpdateUserPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14175,7 +14175,7 @@ enum UpdateUserPoolOutputError { enum UpdateUserPoolClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14196,7 +14196,7 @@ enum UpdateUserPoolClientOutputError { enum UpdateUserPoolDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14214,7 +14214,7 @@ enum UpdateUserPoolDomainOutputError { enum VerifySoftwareTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14240,7 +14240,7 @@ enum VerifySoftwareTokenOutputError { enum VerifyUserAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/Models.swift b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/Models.swift index 45dc490ec25..392cd2065b9 100644 --- a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/Models.swift +++ b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -43,7 +43,7 @@ public struct AlreadyStreamedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -69,7 +69,7 @@ public struct DuplicateRequestException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +121,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -147,7 +147,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -173,7 +173,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -226,7 +226,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -252,7 +252,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -934,7 +934,7 @@ public struct InvalidConfigurationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1056,7 +1056,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1195,7 +1195,7 @@ public struct InvalidLambdaFunctionOutputException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1221,7 +1221,7 @@ public struct LambdaThrottledException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1247,7 +1247,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1700,7 +1700,7 @@ extension UpdateRecordsInput { extension BulkPublishOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BulkPublishOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BulkPublishOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1712,7 +1712,7 @@ extension BulkPublishOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1724,7 +1724,7 @@ extension DeleteDatasetOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1736,7 +1736,7 @@ extension DescribeDatasetOutput { extension DescribeIdentityPoolUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityPoolUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityPoolUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1748,7 +1748,7 @@ extension DescribeIdentityPoolUsageOutput { extension DescribeIdentityUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1760,7 +1760,7 @@ extension DescribeIdentityUsageOutput { extension GetBulkPublishDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBulkPublishDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBulkPublishDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1776,7 +1776,7 @@ extension GetBulkPublishDetailsOutput { extension GetCognitoEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCognitoEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCognitoEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1788,7 +1788,7 @@ extension GetCognitoEventsOutput { extension GetIdentityPoolConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityPoolConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityPoolConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1802,7 +1802,7 @@ extension GetIdentityPoolConfigurationOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1816,7 +1816,7 @@ extension ListDatasetsOutput { extension ListIdentityPoolUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityPoolUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityPoolUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1831,7 +1831,7 @@ extension ListIdentityPoolUsageOutput { extension ListRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1851,7 +1851,7 @@ extension ListRecordsOutput { extension RegisterDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1863,14 +1863,14 @@ extension RegisterDeviceOutput { extension SetCognitoEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetCognitoEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetCognitoEventsOutput { return SetCognitoEventsOutput() } } extension SetIdentityPoolConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityPoolConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityPoolConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1884,21 +1884,21 @@ extension SetIdentityPoolConfigurationOutput { extension SubscribeToDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubscribeToDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubscribeToDatasetOutput { return SubscribeToDatasetOutput() } } extension UnsubscribeFromDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnsubscribeFromDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnsubscribeFromDatasetOutput { return UnsubscribeFromDatasetOutput() } } extension UpdateRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1910,7 +1910,7 @@ extension UpdateRecordsOutput { enum BulkPublishOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1929,7 +1929,7 @@ enum BulkPublishOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1948,7 +1948,7 @@ enum DeleteDatasetOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1966,7 +1966,7 @@ enum DescribeDatasetOutputError { enum DescribeIdentityPoolUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1984,7 +1984,7 @@ enum DescribeIdentityPoolUsageOutputError { enum DescribeIdentityUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2002,7 +2002,7 @@ enum DescribeIdentityUsageOutputError { enum GetBulkPublishDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2019,7 +2019,7 @@ enum GetBulkPublishDetailsOutputError { enum GetCognitoEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2037,7 +2037,7 @@ enum GetCognitoEventsOutputError { enum GetIdentityPoolConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2055,7 +2055,7 @@ enum GetIdentityPoolConfigurationOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2072,7 +2072,7 @@ enum ListDatasetsOutputError { enum ListIdentityPoolUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2089,7 +2089,7 @@ enum ListIdentityPoolUsageOutputError { enum ListRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2106,7 +2106,7 @@ enum ListRecordsOutputError { enum RegisterDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2125,7 +2125,7 @@ enum RegisterDeviceOutputError { enum SetCognitoEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2143,7 +2143,7 @@ enum SetCognitoEventsOutputError { enum SetIdentityPoolConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2162,7 +2162,7 @@ enum SetIdentityPoolConfigurationOutputError { enum SubscribeToDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2181,7 +2181,7 @@ enum SubscribeToDatasetOutputError { enum UnsubscribeFromDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2200,7 +2200,7 @@ enum UnsubscribeFromDatasetOutputError { enum UpdateRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSComprehend/Sources/AWSComprehend/Models.swift b/Sources/Services/AWSComprehend/Sources/AWSComprehend/Models.swift index a63905def1c..7686eeee4df 100644 --- a/Sources/Services/AWSComprehend/Sources/AWSComprehend/Models.swift +++ b/Sources/Services/AWSComprehend/Sources/AWSComprehend/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -135,7 +135,7 @@ public struct BatchSizeLimitExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,7 +159,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -277,7 +277,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -305,7 +305,7 @@ public struct TextSizeLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -435,7 +435,7 @@ public struct UnsupportedLanguageException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1671,7 +1671,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2362,7 +2362,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2386,7 +2386,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2410,7 +2410,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2434,7 +2434,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2458,7 +2458,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2804,7 +2804,7 @@ public struct KmsKeyValidationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3807,7 +3807,7 @@ public struct JobNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6240,7 +6240,7 @@ public struct InvalidFilterException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8447,7 +8447,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8494,7 +8494,7 @@ public struct TooManyTagKeysException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10099,7 +10099,7 @@ extension UpdateFlywheelInput { extension BatchDetectDominantLanguageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDetectDominantLanguageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDetectDominantLanguageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10112,7 +10112,7 @@ extension BatchDetectDominantLanguageOutput { extension BatchDetectEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDetectEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDetectEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10125,7 +10125,7 @@ extension BatchDetectEntitiesOutput { extension BatchDetectKeyPhrasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDetectKeyPhrasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDetectKeyPhrasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10138,7 +10138,7 @@ extension BatchDetectKeyPhrasesOutput { extension BatchDetectSentimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDetectSentimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDetectSentimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10151,7 +10151,7 @@ extension BatchDetectSentimentOutput { extension BatchDetectSyntaxOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDetectSyntaxOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDetectSyntaxOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10164,7 +10164,7 @@ extension BatchDetectSyntaxOutput { extension BatchDetectTargetedSentimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDetectTargetedSentimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDetectTargetedSentimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10177,7 +10177,7 @@ extension BatchDetectTargetedSentimentOutput { extension ClassifyDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClassifyDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClassifyDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10194,7 +10194,7 @@ extension ClassifyDocumentOutput { extension ContainsPiiEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ContainsPiiEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ContainsPiiEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10206,7 +10206,7 @@ extension ContainsPiiEntitiesOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10218,7 +10218,7 @@ extension CreateDatasetOutput { extension CreateDocumentClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDocumentClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDocumentClassifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10230,7 +10230,7 @@ extension CreateDocumentClassifierOutput { extension CreateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10243,7 +10243,7 @@ extension CreateEndpointOutput { extension CreateEntityRecognizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEntityRecognizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEntityRecognizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10255,7 +10255,7 @@ extension CreateEntityRecognizerOutput { extension CreateFlywheelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFlywheelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlywheelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10268,42 +10268,42 @@ extension CreateFlywheelOutput { extension DeleteDocumentClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDocumentClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDocumentClassifierOutput { return DeleteDocumentClassifierOutput() } } extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { return DeleteEndpointOutput() } } extension DeleteEntityRecognizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEntityRecognizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEntityRecognizerOutput { return DeleteEntityRecognizerOutput() } } extension DeleteFlywheelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFlywheelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlywheelOutput { return DeleteFlywheelOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10315,7 +10315,7 @@ extension DescribeDatasetOutput { extension DescribeDocumentClassificationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDocumentClassificationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDocumentClassificationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10327,7 +10327,7 @@ extension DescribeDocumentClassificationJobOutput { extension DescribeDocumentClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDocumentClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDocumentClassifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10339,7 +10339,7 @@ extension DescribeDocumentClassifierOutput { extension DescribeDominantLanguageDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDominantLanguageDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDominantLanguageDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10351,7 +10351,7 @@ extension DescribeDominantLanguageDetectionJobOutput { extension DescribeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10363,7 +10363,7 @@ extension DescribeEndpointOutput { extension DescribeEntitiesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntitiesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntitiesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10375,7 +10375,7 @@ extension DescribeEntitiesDetectionJobOutput { extension DescribeEntityRecognizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntityRecognizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntityRecognizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10387,7 +10387,7 @@ extension DescribeEntityRecognizerOutput { extension DescribeEventsDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10399,7 +10399,7 @@ extension DescribeEventsDetectionJobOutput { extension DescribeFlywheelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlywheelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlywheelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10411,7 +10411,7 @@ extension DescribeFlywheelOutput { extension DescribeFlywheelIterationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlywheelIterationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlywheelIterationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10423,7 +10423,7 @@ extension DescribeFlywheelIterationOutput { extension DescribeKeyPhrasesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyPhrasesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyPhrasesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10435,7 +10435,7 @@ extension DescribeKeyPhrasesDetectionJobOutput { extension DescribePiiEntitiesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePiiEntitiesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePiiEntitiesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10447,7 +10447,7 @@ extension DescribePiiEntitiesDetectionJobOutput { extension DescribeResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10462,7 +10462,7 @@ extension DescribeResourcePolicyOutput { extension DescribeSentimentDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSentimentDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSentimentDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10474,7 +10474,7 @@ extension DescribeSentimentDetectionJobOutput { extension DescribeTargetedSentimentDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTargetedSentimentDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTargetedSentimentDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10486,7 +10486,7 @@ extension DescribeTargetedSentimentDetectionJobOutput { extension DescribeTopicsDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTopicsDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTopicsDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10498,7 +10498,7 @@ extension DescribeTopicsDetectionJobOutput { extension DetectDominantLanguageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectDominantLanguageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectDominantLanguageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10510,7 +10510,7 @@ extension DetectDominantLanguageOutput { extension DetectEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10526,7 +10526,7 @@ extension DetectEntitiesOutput { extension DetectKeyPhrasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectKeyPhrasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectKeyPhrasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10538,7 +10538,7 @@ extension DetectKeyPhrasesOutput { extension DetectPiiEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectPiiEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectPiiEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10550,7 +10550,7 @@ extension DetectPiiEntitiesOutput { extension DetectSentimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectSentimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectSentimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10563,7 +10563,7 @@ extension DetectSentimentOutput { extension DetectSyntaxOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectSyntaxOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectSyntaxOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10575,7 +10575,7 @@ extension DetectSyntaxOutput { extension DetectTargetedSentimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectTargetedSentimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectTargetedSentimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10587,7 +10587,7 @@ extension DetectTargetedSentimentOutput { extension DetectToxicContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectToxicContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectToxicContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10599,7 +10599,7 @@ extension DetectToxicContentOutput { extension ImportModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10611,7 +10611,7 @@ extension ImportModelOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10624,7 +10624,7 @@ extension ListDatasetsOutput { extension ListDocumentClassificationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentClassificationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentClassificationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10637,7 +10637,7 @@ extension ListDocumentClassificationJobsOutput { extension ListDocumentClassifiersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentClassifiersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentClassifiersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10650,7 +10650,7 @@ extension ListDocumentClassifiersOutput { extension ListDocumentClassifierSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentClassifierSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentClassifierSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10663,7 +10663,7 @@ extension ListDocumentClassifierSummariesOutput { extension ListDominantLanguageDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDominantLanguageDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDominantLanguageDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10676,7 +10676,7 @@ extension ListDominantLanguageDetectionJobsOutput { extension ListEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10689,7 +10689,7 @@ extension ListEndpointsOutput { extension ListEntitiesDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitiesDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitiesDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10702,7 +10702,7 @@ extension ListEntitiesDetectionJobsOutput { extension ListEntityRecognizersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntityRecognizersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntityRecognizersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10715,7 +10715,7 @@ extension ListEntityRecognizersOutput { extension ListEntityRecognizerSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntityRecognizerSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntityRecognizerSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10728,7 +10728,7 @@ extension ListEntityRecognizerSummariesOutput { extension ListEventsDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventsDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventsDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10741,7 +10741,7 @@ extension ListEventsDetectionJobsOutput { extension ListFlywheelIterationHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlywheelIterationHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlywheelIterationHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10754,7 +10754,7 @@ extension ListFlywheelIterationHistoryOutput { extension ListFlywheelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlywheelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlywheelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10767,7 +10767,7 @@ extension ListFlywheelsOutput { extension ListKeyPhrasesDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeyPhrasesDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeyPhrasesDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10780,7 +10780,7 @@ extension ListKeyPhrasesDetectionJobsOutput { extension ListPiiEntitiesDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPiiEntitiesDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPiiEntitiesDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10793,7 +10793,7 @@ extension ListPiiEntitiesDetectionJobsOutput { extension ListSentimentDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSentimentDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSentimentDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10806,7 +10806,7 @@ extension ListSentimentDetectionJobsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10819,7 +10819,7 @@ extension ListTagsForResourceOutput { extension ListTargetedSentimentDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetedSentimentDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetedSentimentDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10832,7 +10832,7 @@ extension ListTargetedSentimentDetectionJobsOutput { extension ListTopicsDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTopicsDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicsDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10845,7 +10845,7 @@ extension ListTopicsDetectionJobsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10857,7 +10857,7 @@ extension PutResourcePolicyOutput { extension StartDocumentClassificationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDocumentClassificationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDocumentClassificationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10872,7 +10872,7 @@ extension StartDocumentClassificationJobOutput { extension StartDominantLanguageDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDominantLanguageDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDominantLanguageDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10886,7 +10886,7 @@ extension StartDominantLanguageDetectionJobOutput { extension StartEntitiesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEntitiesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEntitiesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10901,7 +10901,7 @@ extension StartEntitiesDetectionJobOutput { extension StartEventsDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEventsDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEventsDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10915,7 +10915,7 @@ extension StartEventsDetectionJobOutput { extension StartFlywheelIterationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFlywheelIterationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFlywheelIterationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10928,7 +10928,7 @@ extension StartFlywheelIterationOutput { extension StartKeyPhrasesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartKeyPhrasesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartKeyPhrasesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10942,7 +10942,7 @@ extension StartKeyPhrasesDetectionJobOutput { extension StartPiiEntitiesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPiiEntitiesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPiiEntitiesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10956,7 +10956,7 @@ extension StartPiiEntitiesDetectionJobOutput { extension StartSentimentDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSentimentDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSentimentDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10970,7 +10970,7 @@ extension StartSentimentDetectionJobOutput { extension StartTargetedSentimentDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTargetedSentimentDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTargetedSentimentDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10984,7 +10984,7 @@ extension StartTargetedSentimentDetectionJobOutput { extension StartTopicsDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTopicsDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTopicsDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10998,7 +10998,7 @@ extension StartTopicsDetectionJobOutput { extension StopDominantLanguageDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDominantLanguageDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDominantLanguageDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11011,7 +11011,7 @@ extension StopDominantLanguageDetectionJobOutput { extension StopEntitiesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEntitiesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEntitiesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11024,7 +11024,7 @@ extension StopEntitiesDetectionJobOutput { extension StopEventsDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEventsDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEventsDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11037,7 +11037,7 @@ extension StopEventsDetectionJobOutput { extension StopKeyPhrasesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopKeyPhrasesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopKeyPhrasesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11050,7 +11050,7 @@ extension StopKeyPhrasesDetectionJobOutput { extension StopPiiEntitiesDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopPiiEntitiesDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopPiiEntitiesDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11063,7 +11063,7 @@ extension StopPiiEntitiesDetectionJobOutput { extension StopSentimentDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSentimentDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSentimentDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11076,7 +11076,7 @@ extension StopSentimentDetectionJobOutput { extension StopTargetedSentimentDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTargetedSentimentDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTargetedSentimentDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11089,35 +11089,35 @@ extension StopTargetedSentimentDetectionJobOutput { extension StopTrainingDocumentClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTrainingDocumentClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTrainingDocumentClassifierOutput { return StopTrainingDocumentClassifierOutput() } } extension StopTrainingEntityRecognizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTrainingEntityRecognizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTrainingEntityRecognizerOutput { return StopTrainingEntityRecognizerOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11129,7 +11129,7 @@ extension UpdateEndpointOutput { extension UpdateFlywheelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlywheelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlywheelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11141,7 +11141,7 @@ extension UpdateFlywheelOutput { enum BatchDetectDominantLanguageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11158,7 +11158,7 @@ enum BatchDetectDominantLanguageOutputError { enum BatchDetectEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11176,7 +11176,7 @@ enum BatchDetectEntitiesOutputError { enum BatchDetectKeyPhrasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11194,7 +11194,7 @@ enum BatchDetectKeyPhrasesOutputError { enum BatchDetectSentimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11212,7 +11212,7 @@ enum BatchDetectSentimentOutputError { enum BatchDetectSyntaxOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11230,7 +11230,7 @@ enum BatchDetectSyntaxOutputError { enum BatchDetectTargetedSentimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11248,7 +11248,7 @@ enum BatchDetectTargetedSentimentOutputError { enum ClassifyDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11265,7 +11265,7 @@ enum ClassifyDocumentOutputError { enum ContainsPiiEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11282,7 +11282,7 @@ enum ContainsPiiEntitiesOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11302,7 +11302,7 @@ enum CreateDatasetOutputError { enum CreateDocumentClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11323,7 +11323,7 @@ enum CreateDocumentClassifierOutputError { enum CreateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11344,7 +11344,7 @@ enum CreateEndpointOutputError { enum CreateEntityRecognizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11365,7 +11365,7 @@ enum CreateEntityRecognizerOutputError { enum CreateFlywheelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11388,7 +11388,7 @@ enum CreateFlywheelOutputError { enum DeleteDocumentClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11407,7 +11407,7 @@ enum DeleteDocumentClassifierOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11425,7 +11425,7 @@ enum DeleteEndpointOutputError { enum DeleteEntityRecognizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11444,7 +11444,7 @@ enum DeleteEntityRecognizerOutputError { enum DeleteFlywheelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11463,7 +11463,7 @@ enum DeleteFlywheelOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11479,7 +11479,7 @@ enum DeleteResourcePolicyOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11496,7 +11496,7 @@ enum DescribeDatasetOutputError { enum DescribeDocumentClassificationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11513,7 +11513,7 @@ enum DescribeDocumentClassificationJobOutputError { enum DescribeDocumentClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11530,7 +11530,7 @@ enum DescribeDocumentClassifierOutputError { enum DescribeDominantLanguageDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11547,7 +11547,7 @@ enum DescribeDominantLanguageDetectionJobOutputError { enum DescribeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11564,7 +11564,7 @@ enum DescribeEndpointOutputError { enum DescribeEntitiesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11581,7 +11581,7 @@ enum DescribeEntitiesDetectionJobOutputError { enum DescribeEntityRecognizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11598,7 +11598,7 @@ enum DescribeEntityRecognizerOutputError { enum DescribeEventsDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11615,7 +11615,7 @@ enum DescribeEventsDetectionJobOutputError { enum DescribeFlywheelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11632,7 +11632,7 @@ enum DescribeFlywheelOutputError { enum DescribeFlywheelIterationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11649,7 +11649,7 @@ enum DescribeFlywheelIterationOutputError { enum DescribeKeyPhrasesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11666,7 +11666,7 @@ enum DescribeKeyPhrasesDetectionJobOutputError { enum DescribePiiEntitiesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11683,7 +11683,7 @@ enum DescribePiiEntitiesDetectionJobOutputError { enum DescribeResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11699,7 +11699,7 @@ enum DescribeResourcePolicyOutputError { enum DescribeSentimentDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11716,7 +11716,7 @@ enum DescribeSentimentDetectionJobOutputError { enum DescribeTargetedSentimentDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11733,7 +11733,7 @@ enum DescribeTargetedSentimentDetectionJobOutputError { enum DescribeTopicsDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11750,7 +11750,7 @@ enum DescribeTopicsDetectionJobOutputError { enum DetectDominantLanguageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11766,7 +11766,7 @@ enum DetectDominantLanguageOutputError { enum DetectEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11784,7 +11784,7 @@ enum DetectEntitiesOutputError { enum DetectKeyPhrasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11801,7 +11801,7 @@ enum DetectKeyPhrasesOutputError { enum DetectPiiEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11818,7 +11818,7 @@ enum DetectPiiEntitiesOutputError { enum DetectSentimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11835,7 +11835,7 @@ enum DetectSentimentOutputError { enum DetectSyntaxOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11852,7 +11852,7 @@ enum DetectSyntaxOutputError { enum DetectTargetedSentimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11869,7 +11869,7 @@ enum DetectTargetedSentimentOutputError { enum DetectToxicContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11886,7 +11886,7 @@ enum DetectToxicContentOutputError { enum ImportModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11908,7 +11908,7 @@ enum ImportModelOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11926,7 +11926,7 @@ enum ListDatasetsOutputError { enum ListDocumentClassificationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11943,7 +11943,7 @@ enum ListDocumentClassificationJobsOutputError { enum ListDocumentClassifiersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11960,7 +11960,7 @@ enum ListDocumentClassifiersOutputError { enum ListDocumentClassifierSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11976,7 +11976,7 @@ enum ListDocumentClassifierSummariesOutputError { enum ListDominantLanguageDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11993,7 +11993,7 @@ enum ListDominantLanguageDetectionJobsOutputError { enum ListEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12009,7 +12009,7 @@ enum ListEndpointsOutputError { enum ListEntitiesDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12026,7 +12026,7 @@ enum ListEntitiesDetectionJobsOutputError { enum ListEntityRecognizersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12043,7 +12043,7 @@ enum ListEntityRecognizersOutputError { enum ListEntityRecognizerSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12059,7 +12059,7 @@ enum ListEntityRecognizerSummariesOutputError { enum ListEventsDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12076,7 +12076,7 @@ enum ListEventsDetectionJobsOutputError { enum ListFlywheelIterationHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12094,7 +12094,7 @@ enum ListFlywheelIterationHistoryOutputError { enum ListFlywheelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12111,7 +12111,7 @@ enum ListFlywheelsOutputError { enum ListKeyPhrasesDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12128,7 +12128,7 @@ enum ListKeyPhrasesDetectionJobsOutputError { enum ListPiiEntitiesDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12145,7 +12145,7 @@ enum ListPiiEntitiesDetectionJobsOutputError { enum ListSentimentDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12162,7 +12162,7 @@ enum ListSentimentDetectionJobsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12178,7 +12178,7 @@ enum ListTagsForResourceOutputError { enum ListTargetedSentimentDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12195,7 +12195,7 @@ enum ListTargetedSentimentDetectionJobsOutputError { enum ListTopicsDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12212,7 +12212,7 @@ enum ListTopicsDetectionJobsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12228,7 +12228,7 @@ enum PutResourcePolicyOutputError { enum StartDocumentClassificationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12249,7 +12249,7 @@ enum StartDocumentClassificationJobOutputError { enum StartDominantLanguageDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12268,7 +12268,7 @@ enum StartDominantLanguageDetectionJobOutputError { enum StartEntitiesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12289,7 +12289,7 @@ enum StartEntitiesDetectionJobOutputError { enum StartEventsDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12308,7 +12308,7 @@ enum StartEventsDetectionJobOutputError { enum StartFlywheelIterationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12326,7 +12326,7 @@ enum StartFlywheelIterationOutputError { enum StartKeyPhrasesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12345,7 +12345,7 @@ enum StartKeyPhrasesDetectionJobOutputError { enum StartPiiEntitiesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12364,7 +12364,7 @@ enum StartPiiEntitiesDetectionJobOutputError { enum StartSentimentDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12383,7 +12383,7 @@ enum StartSentimentDetectionJobOutputError { enum StartTargetedSentimentDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12402,7 +12402,7 @@ enum StartTargetedSentimentDetectionJobOutputError { enum StartTopicsDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12421,7 +12421,7 @@ enum StartTopicsDetectionJobOutputError { enum StopDominantLanguageDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12437,7 +12437,7 @@ enum StopDominantLanguageDetectionJobOutputError { enum StopEntitiesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12453,7 +12453,7 @@ enum StopEntitiesDetectionJobOutputError { enum StopEventsDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12469,7 +12469,7 @@ enum StopEventsDetectionJobOutputError { enum StopKeyPhrasesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12485,7 +12485,7 @@ enum StopKeyPhrasesDetectionJobOutputError { enum StopPiiEntitiesDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12501,7 +12501,7 @@ enum StopPiiEntitiesDetectionJobOutputError { enum StopSentimentDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12517,7 +12517,7 @@ enum StopSentimentDetectionJobOutputError { enum StopTargetedSentimentDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12533,7 +12533,7 @@ enum StopTargetedSentimentDetectionJobOutputError { enum StopTrainingDocumentClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12550,7 +12550,7 @@ enum StopTrainingDocumentClassifierOutputError { enum StopTrainingEntityRecognizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12567,7 +12567,7 @@ enum StopTrainingEntityRecognizerOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12585,7 +12585,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12603,7 +12603,7 @@ enum UntagResourceOutputError { enum UpdateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12623,7 +12623,7 @@ enum UpdateEndpointOutputError { enum UpdateFlywheelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/Models.swift b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/Models.swift index faa3b736ecd..801c016f6bb 100644 --- a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/Models.swift +++ b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -460,7 +460,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -484,7 +484,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -508,7 +508,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -532,7 +532,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -861,7 +861,7 @@ public struct InvalidEncodingException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -885,7 +885,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -909,7 +909,7 @@ public struct TextSizeLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2193,7 +2193,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3230,7 +3230,7 @@ extension StopSNOMEDCTInferenceJobInput { extension DescribeEntitiesDetectionV2JobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntitiesDetectionV2JobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntitiesDetectionV2JobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3242,7 +3242,7 @@ extension DescribeEntitiesDetectionV2JobOutput { extension DescribeICD10CMInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeICD10CMInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeICD10CMInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3254,7 +3254,7 @@ extension DescribeICD10CMInferenceJobOutput { extension DescribePHIDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePHIDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePHIDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3266,7 +3266,7 @@ extension DescribePHIDetectionJobOutput { extension DescribeRxNormInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRxNormInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRxNormInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3278,7 +3278,7 @@ extension DescribeRxNormInferenceJobOutput { extension DescribeSNOMEDCTInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSNOMEDCTInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSNOMEDCTInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3290,7 +3290,7 @@ extension DescribeSNOMEDCTInferenceJobOutput { extension DetectEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3305,7 +3305,7 @@ extension DetectEntitiesOutput { extension DetectEntitiesV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectEntitiesV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectEntitiesV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3320,7 +3320,7 @@ extension DetectEntitiesV2Output { extension DetectPHIOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectPHIOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectPHIOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3334,7 +3334,7 @@ extension DetectPHIOutput { extension InferICD10CMOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InferICD10CMOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InferICD10CMOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3348,7 +3348,7 @@ extension InferICD10CMOutput { extension InferRxNormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InferRxNormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InferRxNormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3362,7 +3362,7 @@ extension InferRxNormOutput { extension InferSNOMEDCTOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InferSNOMEDCTOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InferSNOMEDCTOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3378,7 +3378,7 @@ extension InferSNOMEDCTOutput { extension ListEntitiesDetectionV2JobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitiesDetectionV2JobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitiesDetectionV2JobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3391,7 +3391,7 @@ extension ListEntitiesDetectionV2JobsOutput { extension ListICD10CMInferenceJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListICD10CMInferenceJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListICD10CMInferenceJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3404,7 +3404,7 @@ extension ListICD10CMInferenceJobsOutput { extension ListPHIDetectionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPHIDetectionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPHIDetectionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3417,7 +3417,7 @@ extension ListPHIDetectionJobsOutput { extension ListRxNormInferenceJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRxNormInferenceJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRxNormInferenceJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3430,7 +3430,7 @@ extension ListRxNormInferenceJobsOutput { extension ListSNOMEDCTInferenceJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSNOMEDCTInferenceJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSNOMEDCTInferenceJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3443,7 +3443,7 @@ extension ListSNOMEDCTInferenceJobsOutput { extension StartEntitiesDetectionV2JobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEntitiesDetectionV2JobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEntitiesDetectionV2JobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3455,7 +3455,7 @@ extension StartEntitiesDetectionV2JobOutput { extension StartICD10CMInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartICD10CMInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartICD10CMInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3467,7 +3467,7 @@ extension StartICD10CMInferenceJobOutput { extension StartPHIDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPHIDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPHIDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3479,7 +3479,7 @@ extension StartPHIDetectionJobOutput { extension StartRxNormInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRxNormInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRxNormInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3491,7 +3491,7 @@ extension StartRxNormInferenceJobOutput { extension StartSNOMEDCTInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSNOMEDCTInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSNOMEDCTInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3503,7 +3503,7 @@ extension StartSNOMEDCTInferenceJobOutput { extension StopEntitiesDetectionV2JobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEntitiesDetectionV2JobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEntitiesDetectionV2JobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3515,7 +3515,7 @@ extension StopEntitiesDetectionV2JobOutput { extension StopICD10CMInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopICD10CMInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopICD10CMInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3527,7 +3527,7 @@ extension StopICD10CMInferenceJobOutput { extension StopPHIDetectionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopPHIDetectionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopPHIDetectionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3539,7 +3539,7 @@ extension StopPHIDetectionJobOutput { extension StopRxNormInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopRxNormInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopRxNormInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3551,7 +3551,7 @@ extension StopRxNormInferenceJobOutput { extension StopSNOMEDCTInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSNOMEDCTInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSNOMEDCTInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3563,7 +3563,7 @@ extension StopSNOMEDCTInferenceJobOutput { enum DescribeEntitiesDetectionV2JobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3580,7 +3580,7 @@ enum DescribeEntitiesDetectionV2JobOutputError { enum DescribeICD10CMInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3597,7 +3597,7 @@ enum DescribeICD10CMInferenceJobOutputError { enum DescribePHIDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3614,7 +3614,7 @@ enum DescribePHIDetectionJobOutputError { enum DescribeRxNormInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3631,7 +3631,7 @@ enum DescribeRxNormInferenceJobOutputError { enum DescribeSNOMEDCTInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3648,7 +3648,7 @@ enum DescribeSNOMEDCTInferenceJobOutputError { enum DetectEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3667,7 +3667,7 @@ enum DetectEntitiesOutputError { enum DetectEntitiesV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3686,7 +3686,7 @@ enum DetectEntitiesV2OutputError { enum DetectPHIOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3705,7 +3705,7 @@ enum DetectPHIOutputError { enum InferICD10CMOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3724,7 +3724,7 @@ enum InferICD10CMOutputError { enum InferRxNormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3743,7 +3743,7 @@ enum InferRxNormOutputError { enum InferSNOMEDCTOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3762,7 +3762,7 @@ enum InferSNOMEDCTOutputError { enum ListEntitiesDetectionV2JobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3779,7 +3779,7 @@ enum ListEntitiesDetectionV2JobsOutputError { enum ListICD10CMInferenceJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3796,7 +3796,7 @@ enum ListICD10CMInferenceJobsOutputError { enum ListPHIDetectionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3813,7 +3813,7 @@ enum ListPHIDetectionJobsOutputError { enum ListRxNormInferenceJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3830,7 +3830,7 @@ enum ListRxNormInferenceJobsOutputError { enum ListSNOMEDCTInferenceJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3847,7 +3847,7 @@ enum ListSNOMEDCTInferenceJobsOutputError { enum StartEntitiesDetectionV2JobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3864,7 +3864,7 @@ enum StartEntitiesDetectionV2JobOutputError { enum StartICD10CMInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3881,7 +3881,7 @@ enum StartICD10CMInferenceJobOutputError { enum StartPHIDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3898,7 +3898,7 @@ enum StartPHIDetectionJobOutputError { enum StartRxNormInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3915,7 +3915,7 @@ enum StartRxNormInferenceJobOutputError { enum StartSNOMEDCTInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3932,7 +3932,7 @@ enum StartSNOMEDCTInferenceJobOutputError { enum StopEntitiesDetectionV2JobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3948,7 +3948,7 @@ enum StopEntitiesDetectionV2JobOutputError { enum StopICD10CMInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3964,7 +3964,7 @@ enum StopICD10CMInferenceJobOutputError { enum StopPHIDetectionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3980,7 +3980,7 @@ enum StopPHIDetectionJobOutputError { enum StopRxNormInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3996,7 +3996,7 @@ enum StopRxNormInferenceJobOutputError { enum StopSNOMEDCTInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift index eafb19d0b5e..4291110dd94 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1228,7 +1228,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1252,7 +1252,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1276,7 +1276,7 @@ public struct MissingAuthenticationToken: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1300,7 +1300,7 @@ public struct OptInRequiredException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1324,7 +1324,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1348,7 +1348,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1373,7 +1373,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1787,7 +1787,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8370,14 +8370,14 @@ extension UpdateEnrollmentStatusInput { extension DeleteRecommendationPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecommendationPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecommendationPreferencesOutput { return DeleteRecommendationPreferencesOutput() } } extension DescribeRecommendationExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecommendationExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecommendationExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8390,7 +8390,7 @@ extension DescribeRecommendationExportJobsOutput { extension ExportAutoScalingGroupRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportAutoScalingGroupRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportAutoScalingGroupRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8403,7 +8403,7 @@ extension ExportAutoScalingGroupRecommendationsOutput { extension ExportEBSVolumeRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportEBSVolumeRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportEBSVolumeRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8416,7 +8416,7 @@ extension ExportEBSVolumeRecommendationsOutput { extension ExportEC2InstanceRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportEC2InstanceRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportEC2InstanceRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8429,7 +8429,7 @@ extension ExportEC2InstanceRecommendationsOutput { extension ExportECSServiceRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportECSServiceRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportECSServiceRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8442,7 +8442,7 @@ extension ExportECSServiceRecommendationsOutput { extension ExportLambdaFunctionRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportLambdaFunctionRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportLambdaFunctionRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8455,7 +8455,7 @@ extension ExportLambdaFunctionRecommendationsOutput { extension ExportLicenseRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportLicenseRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportLicenseRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8468,7 +8468,7 @@ extension ExportLicenseRecommendationsOutput { extension ExportRDSDatabaseRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportRDSDatabaseRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportRDSDatabaseRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8481,7 +8481,7 @@ extension ExportRDSDatabaseRecommendationsOutput { extension GetAutoScalingGroupRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAutoScalingGroupRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutoScalingGroupRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8495,7 +8495,7 @@ extension GetAutoScalingGroupRecommendationsOutput { extension GetEBSVolumeRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEBSVolumeRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEBSVolumeRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8509,7 +8509,7 @@ extension GetEBSVolumeRecommendationsOutput { extension GetEC2InstanceRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEC2InstanceRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEC2InstanceRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8523,7 +8523,7 @@ extension GetEC2InstanceRecommendationsOutput { extension GetEC2RecommendationProjectedMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEC2RecommendationProjectedMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEC2RecommendationProjectedMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8535,7 +8535,7 @@ extension GetEC2RecommendationProjectedMetricsOutput { extension GetECSServiceRecommendationProjectedMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetECSServiceRecommendationProjectedMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetECSServiceRecommendationProjectedMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8547,7 +8547,7 @@ extension GetECSServiceRecommendationProjectedMetricsOutput { extension GetECSServiceRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetECSServiceRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetECSServiceRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8561,7 +8561,7 @@ extension GetECSServiceRecommendationsOutput { extension GetEffectiveRecommendationPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEffectiveRecommendationPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEffectiveRecommendationPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8577,7 +8577,7 @@ extension GetEffectiveRecommendationPreferencesOutput { extension GetEnrollmentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnrollmentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnrollmentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8593,7 +8593,7 @@ extension GetEnrollmentStatusOutput { extension GetEnrollmentStatusesForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnrollmentStatusesForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnrollmentStatusesForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8606,7 +8606,7 @@ extension GetEnrollmentStatusesForOrganizationOutput { extension GetLambdaFunctionRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLambdaFunctionRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLambdaFunctionRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8619,7 +8619,7 @@ extension GetLambdaFunctionRecommendationsOutput { extension GetLicenseRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8633,7 +8633,7 @@ extension GetLicenseRecommendationsOutput { extension GetRDSDatabaseRecommendationProjectedMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRDSDatabaseRecommendationProjectedMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRDSDatabaseRecommendationProjectedMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8645,7 +8645,7 @@ extension GetRDSDatabaseRecommendationProjectedMetricsOutput { extension GetRDSDatabaseRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRDSDatabaseRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRDSDatabaseRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8659,7 +8659,7 @@ extension GetRDSDatabaseRecommendationsOutput { extension GetRecommendationPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8672,7 +8672,7 @@ extension GetRecommendationPreferencesOutput { extension GetRecommendationSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8685,14 +8685,14 @@ extension GetRecommendationSummariesOutput { extension PutRecommendationPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecommendationPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecommendationPreferencesOutput { return PutRecommendationPreferencesOutput() } } extension UpdateEnrollmentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnrollmentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnrollmentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8705,7 +8705,7 @@ extension UpdateEnrollmentStatusOutput { enum DeleteRecommendationPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8726,7 +8726,7 @@ enum DeleteRecommendationPreferencesOutputError { enum DescribeRecommendationExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8747,7 +8747,7 @@ enum DescribeRecommendationExportJobsOutputError { enum ExportAutoScalingGroupRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8768,7 +8768,7 @@ enum ExportAutoScalingGroupRecommendationsOutputError { enum ExportEBSVolumeRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8789,7 +8789,7 @@ enum ExportEBSVolumeRecommendationsOutputError { enum ExportEC2InstanceRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8810,7 +8810,7 @@ enum ExportEC2InstanceRecommendationsOutputError { enum ExportECSServiceRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8831,7 +8831,7 @@ enum ExportECSServiceRecommendationsOutputError { enum ExportLambdaFunctionRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8852,7 +8852,7 @@ enum ExportLambdaFunctionRecommendationsOutputError { enum ExportLicenseRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8873,7 +8873,7 @@ enum ExportLicenseRecommendationsOutputError { enum ExportRDSDatabaseRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8894,7 +8894,7 @@ enum ExportRDSDatabaseRecommendationsOutputError { enum GetAutoScalingGroupRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8915,7 +8915,7 @@ enum GetAutoScalingGroupRecommendationsOutputError { enum GetEBSVolumeRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8936,7 +8936,7 @@ enum GetEBSVolumeRecommendationsOutputError { enum GetEC2InstanceRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8957,7 +8957,7 @@ enum GetEC2InstanceRecommendationsOutputError { enum GetEC2RecommendationProjectedMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8978,7 +8978,7 @@ enum GetEC2RecommendationProjectedMetricsOutputError { enum GetECSServiceRecommendationProjectedMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8999,7 +8999,7 @@ enum GetECSServiceRecommendationProjectedMetricsOutputError { enum GetECSServiceRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9020,7 +9020,7 @@ enum GetECSServiceRecommendationsOutputError { enum GetEffectiveRecommendationPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9041,7 +9041,7 @@ enum GetEffectiveRecommendationPreferencesOutputError { enum GetEnrollmentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9060,7 +9060,7 @@ enum GetEnrollmentStatusOutputError { enum GetEnrollmentStatusesForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9079,7 +9079,7 @@ enum GetEnrollmentStatusesForOrganizationOutputError { enum GetLambdaFunctionRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9100,7 +9100,7 @@ enum GetLambdaFunctionRecommendationsOutputError { enum GetLicenseRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9121,7 +9121,7 @@ enum GetLicenseRecommendationsOutputError { enum GetRDSDatabaseRecommendationProjectedMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9142,7 +9142,7 @@ enum GetRDSDatabaseRecommendationProjectedMetricsOutputError { enum GetRDSDatabaseRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9163,7 +9163,7 @@ enum GetRDSDatabaseRecommendationsOutputError { enum GetRecommendationPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9184,7 +9184,7 @@ enum GetRecommendationPreferencesOutputError { enum GetRecommendationSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9204,7 +9204,7 @@ enum GetRecommendationSummariesOutputError { enum PutRecommendationPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9225,7 +9225,7 @@ enum PutRecommendationPreferencesOutputError { enum UpdateEnrollmentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSConfigService/Sources/AWSConfigService/Models.swift b/Sources/Services/AWSConfigService/Sources/AWSConfigService/Models.swift index 3b3c75f8bc2..5d540ed3bb1 100644 --- a/Sources/Services/AWSConfigService/Sources/AWSConfigService/Models.swift +++ b/Sources/Services/AWSConfigService/Sources/AWSConfigService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -2202,7 +2202,7 @@ public struct NoSuchConfigurationAggregatorException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2227,7 +2227,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2286,7 +2286,7 @@ public struct NoAvailableConfigurationRecorderException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4034,7 +4034,7 @@ public struct ConformancePackTemplateValidationException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4059,7 +4059,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4102,7 +4102,7 @@ public struct NoSuchConfigRuleException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4141,7 +4141,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4193,7 +4193,7 @@ public struct NoSuchConfigurationRecorderException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4232,7 +4232,7 @@ public struct NoSuchConformancePackException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4270,7 +4270,7 @@ public struct LastDeliveryChannelDeleteFailedException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4295,7 +4295,7 @@ public struct NoSuchDeliveryChannelException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4354,7 +4354,7 @@ public struct NoSuchOrganizationConfigRuleException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4390,7 +4390,7 @@ public struct OrganizationAccessDeniedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4428,7 +4428,7 @@ public struct NoSuchOrganizationConformancePackException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4496,7 +4496,7 @@ public struct InsufficientPermissionsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4521,7 +4521,7 @@ public struct NoSuchRemediationConfigurationException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4546,7 +4546,7 @@ public struct RemediationInProgressException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4593,7 +4593,7 @@ public struct NoSuchRemediationExceptionException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4688,7 +4688,7 @@ public struct NoRunningConfigurationRecorderException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4731,7 +4731,7 @@ public struct NoSuchRetentionConfigurationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4769,7 +4769,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4903,7 +4903,7 @@ public struct InvalidLimitException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4928,7 +4928,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5378,7 +5378,7 @@ public struct NoSuchConfigRuleInConformancePackException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7328,7 +7328,7 @@ public struct OversizedConfigurationItemException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7353,7 +7353,7 @@ public struct ResourceNotDiscoveredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8106,7 +8106,7 @@ public struct InvalidTimeRangeException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8350,7 +8350,7 @@ public struct IdempotentParameterMismatch: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8375,7 +8375,7 @@ public struct InsufficientDeliveryPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8400,7 +8400,7 @@ public struct InvalidConfigurationRecorderNameException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8425,7 +8425,7 @@ public struct InvalidDeliveryChannelNameException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8450,7 +8450,7 @@ public struct InvalidExpressionException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8490,7 +8490,7 @@ public struct InvalidRecordingGroupException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8515,7 +8515,7 @@ public struct InvalidResultTokenException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8540,7 +8540,7 @@ public struct InvalidRoleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8565,7 +8565,7 @@ public struct InvalidS3KeyPrefixException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8590,7 +8590,7 @@ public struct InvalidS3KmsKeyArnException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8615,7 +8615,7 @@ public struct InvalidSNSTopicARNException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8640,7 +8640,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9142,7 +9142,7 @@ public struct MaxActiveResourcesExceededException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9167,7 +9167,7 @@ public struct MaxNumberOfConfigRulesExceededException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9192,7 +9192,7 @@ public struct MaxNumberOfConfigurationRecordersExceededException: ClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9217,7 +9217,7 @@ public struct MaxNumberOfConformancePacksExceededException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9242,7 +9242,7 @@ public struct MaxNumberOfDeliveryChannelsExceededException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9267,7 +9267,7 @@ public struct MaxNumberOfOrganizationConfigRulesExceededException: ClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9292,7 +9292,7 @@ public struct MaxNumberOfOrganizationConformancePacksExceededException: ClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9317,7 +9317,7 @@ public struct MaxNumberOfRetentionConfigurationsExceededException: ClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9342,7 +9342,7 @@ public struct NoAvailableDeliveryChannelException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9367,7 +9367,7 @@ public struct NoAvailableOrganizationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9392,7 +9392,7 @@ public struct NoSuchBucketException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9417,7 +9417,7 @@ public struct OrganizationAllFeaturesNotEnabledException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9442,7 +9442,7 @@ public struct OrganizationConformancePackTemplateValidationException: ClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9965,7 +9965,7 @@ public struct ResourceConcurrentModificationException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9990,7 +9990,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11840,7 +11840,7 @@ extension UntagResourceInput { extension BatchGetAggregateResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAggregateResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAggregateResourceConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11853,7 +11853,7 @@ extension BatchGetAggregateResourceConfigOutput { extension BatchGetResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetResourceConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11866,84 +11866,84 @@ extension BatchGetResourceConfigOutput { extension DeleteAggregationAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAggregationAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAggregationAuthorizationOutput { return DeleteAggregationAuthorizationOutput() } } extension DeleteConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigRuleOutput { return DeleteConfigRuleOutput() } } extension DeleteConfigurationAggregatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationAggregatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationAggregatorOutput { return DeleteConfigurationAggregatorOutput() } } extension DeleteConfigurationRecorderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationRecorderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationRecorderOutput { return DeleteConfigurationRecorderOutput() } } extension DeleteConformancePackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConformancePackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConformancePackOutput { return DeleteConformancePackOutput() } } extension DeleteDeliveryChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeliveryChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeliveryChannelOutput { return DeleteDeliveryChannelOutput() } } extension DeleteEvaluationResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEvaluationResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEvaluationResultsOutput { return DeleteEvaluationResultsOutput() } } extension DeleteOrganizationConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOrganizationConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOrganizationConfigRuleOutput { return DeleteOrganizationConfigRuleOutput() } } extension DeleteOrganizationConformancePackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOrganizationConformancePackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOrganizationConformancePackOutput { return DeleteOrganizationConformancePackOutput() } } extension DeletePendingAggregationRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePendingAggregationRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePendingAggregationRequestOutput { return DeletePendingAggregationRequestOutput() } } extension DeleteRemediationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRemediationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRemediationConfigurationOutput { return DeleteRemediationConfigurationOutput() } } extension DeleteRemediationExceptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRemediationExceptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRemediationExceptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11955,28 +11955,28 @@ extension DeleteRemediationExceptionsOutput { extension DeleteResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceConfigOutput { return DeleteResourceConfigOutput() } } extension DeleteRetentionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRetentionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRetentionConfigurationOutput { return DeleteRetentionConfigurationOutput() } } extension DeleteStoredQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStoredQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStoredQueryOutput { return DeleteStoredQueryOutput() } } extension DeliverConfigSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeliverConfigSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeliverConfigSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11988,7 +11988,7 @@ extension DeliverConfigSnapshotOutput { extension DescribeAggregateComplianceByConfigRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAggregateComplianceByConfigRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAggregateComplianceByConfigRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12001,7 +12001,7 @@ extension DescribeAggregateComplianceByConfigRulesOutput { extension DescribeAggregateComplianceByConformancePacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAggregateComplianceByConformancePacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAggregateComplianceByConformancePacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12014,7 +12014,7 @@ extension DescribeAggregateComplianceByConformancePacksOutput { extension DescribeAggregationAuthorizationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAggregationAuthorizationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAggregationAuthorizationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12027,7 +12027,7 @@ extension DescribeAggregationAuthorizationsOutput { extension DescribeComplianceByConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComplianceByConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComplianceByConfigRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12040,7 +12040,7 @@ extension DescribeComplianceByConfigRuleOutput { extension DescribeComplianceByResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComplianceByResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComplianceByResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12053,7 +12053,7 @@ extension DescribeComplianceByResourceOutput { extension DescribeConfigRuleEvaluationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigRuleEvaluationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigRuleEvaluationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12066,7 +12066,7 @@ extension DescribeConfigRuleEvaluationStatusOutput { extension DescribeConfigRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12079,7 +12079,7 @@ extension DescribeConfigRulesOutput { extension DescribeConfigurationAggregatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationAggregatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationAggregatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12092,7 +12092,7 @@ extension DescribeConfigurationAggregatorsOutput { extension DescribeConfigurationAggregatorSourcesStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationAggregatorSourcesStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationAggregatorSourcesStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12105,7 +12105,7 @@ extension DescribeConfigurationAggregatorSourcesStatusOutput { extension DescribeConfigurationRecordersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationRecordersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationRecordersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12117,7 +12117,7 @@ extension DescribeConfigurationRecordersOutput { extension DescribeConfigurationRecorderStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationRecorderStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationRecorderStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12129,7 +12129,7 @@ extension DescribeConfigurationRecorderStatusOutput { extension DescribeConformancePackComplianceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConformancePackComplianceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConformancePackComplianceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12143,7 +12143,7 @@ extension DescribeConformancePackComplianceOutput { extension DescribeConformancePacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConformancePacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConformancePacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12156,7 +12156,7 @@ extension DescribeConformancePacksOutput { extension DescribeConformancePackStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConformancePackStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConformancePackStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12169,7 +12169,7 @@ extension DescribeConformancePackStatusOutput { extension DescribeDeliveryChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeliveryChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeliveryChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12181,7 +12181,7 @@ extension DescribeDeliveryChannelsOutput { extension DescribeDeliveryChannelStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeliveryChannelStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeliveryChannelStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12193,7 +12193,7 @@ extension DescribeDeliveryChannelStatusOutput { extension DescribeOrganizationConfigRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12206,7 +12206,7 @@ extension DescribeOrganizationConfigRulesOutput { extension DescribeOrganizationConfigRuleStatusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigRuleStatusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigRuleStatusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12219,7 +12219,7 @@ extension DescribeOrganizationConfigRuleStatusesOutput { extension DescribeOrganizationConformancePacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConformancePacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConformancePacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12232,7 +12232,7 @@ extension DescribeOrganizationConformancePacksOutput { extension DescribeOrganizationConformancePackStatusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConformancePackStatusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConformancePackStatusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12245,7 +12245,7 @@ extension DescribeOrganizationConformancePackStatusesOutput { extension DescribePendingAggregationRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePendingAggregationRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePendingAggregationRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12258,7 +12258,7 @@ extension DescribePendingAggregationRequestsOutput { extension DescribeRemediationConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRemediationConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRemediationConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12270,7 +12270,7 @@ extension DescribeRemediationConfigurationsOutput { extension DescribeRemediationExceptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRemediationExceptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRemediationExceptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12283,7 +12283,7 @@ extension DescribeRemediationExceptionsOutput { extension DescribeRemediationExecutionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRemediationExecutionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRemediationExecutionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12296,7 +12296,7 @@ extension DescribeRemediationExecutionStatusOutput { extension DescribeRetentionConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRetentionConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRetentionConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12309,7 +12309,7 @@ extension DescribeRetentionConfigurationsOutput { extension GetAggregateComplianceDetailsByConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAggregateComplianceDetailsByConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAggregateComplianceDetailsByConfigRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12322,7 +12322,7 @@ extension GetAggregateComplianceDetailsByConfigRuleOutput { extension GetAggregateConfigRuleComplianceSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAggregateConfigRuleComplianceSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAggregateConfigRuleComplianceSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12336,7 +12336,7 @@ extension GetAggregateConfigRuleComplianceSummaryOutput { extension GetAggregateConformancePackComplianceSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAggregateConformancePackComplianceSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAggregateConformancePackComplianceSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12350,7 +12350,7 @@ extension GetAggregateConformancePackComplianceSummaryOutput { extension GetAggregateDiscoveredResourceCountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAggregateDiscoveredResourceCountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAggregateDiscoveredResourceCountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12365,7 +12365,7 @@ extension GetAggregateDiscoveredResourceCountsOutput { extension GetAggregateResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAggregateResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAggregateResourceConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12377,7 +12377,7 @@ extension GetAggregateResourceConfigOutput { extension GetComplianceDetailsByConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComplianceDetailsByConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComplianceDetailsByConfigRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12390,7 +12390,7 @@ extension GetComplianceDetailsByConfigRuleOutput { extension GetComplianceDetailsByResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComplianceDetailsByResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComplianceDetailsByResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12403,7 +12403,7 @@ extension GetComplianceDetailsByResourceOutput { extension GetComplianceSummaryByConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComplianceSummaryByConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComplianceSummaryByConfigRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12415,7 +12415,7 @@ extension GetComplianceSummaryByConfigRuleOutput { extension GetComplianceSummaryByResourceTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComplianceSummaryByResourceTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComplianceSummaryByResourceTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12427,7 +12427,7 @@ extension GetComplianceSummaryByResourceTypeOutput { extension GetConformancePackComplianceDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConformancePackComplianceDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConformancePackComplianceDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12441,7 +12441,7 @@ extension GetConformancePackComplianceDetailsOutput { extension GetConformancePackComplianceSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConformancePackComplianceSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConformancePackComplianceSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12454,7 +12454,7 @@ extension GetConformancePackComplianceSummaryOutput { extension GetCustomRulePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomRulePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomRulePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12466,7 +12466,7 @@ extension GetCustomRulePolicyOutput { extension GetDiscoveredResourceCountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDiscoveredResourceCountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDiscoveredResourceCountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12480,7 +12480,7 @@ extension GetDiscoveredResourceCountsOutput { extension GetOrganizationConfigRuleDetailedStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationConfigRuleDetailedStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationConfigRuleDetailedStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12493,7 +12493,7 @@ extension GetOrganizationConfigRuleDetailedStatusOutput { extension GetOrganizationConformancePackDetailedStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationConformancePackDetailedStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationConformancePackDetailedStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12506,7 +12506,7 @@ extension GetOrganizationConformancePackDetailedStatusOutput { extension GetOrganizationCustomRulePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationCustomRulePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationCustomRulePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12518,7 +12518,7 @@ extension GetOrganizationCustomRulePolicyOutput { extension GetResourceConfigHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceConfigHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceConfigHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12531,7 +12531,7 @@ extension GetResourceConfigHistoryOutput { extension GetResourceEvaluationSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceEvaluationSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceEvaluationSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12549,7 +12549,7 @@ extension GetResourceEvaluationSummaryOutput { extension GetStoredQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStoredQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStoredQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12561,7 +12561,7 @@ extension GetStoredQueryOutput { extension ListAggregateDiscoveredResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAggregateDiscoveredResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAggregateDiscoveredResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12574,7 +12574,7 @@ extension ListAggregateDiscoveredResourcesOutput { extension ListConformancePackComplianceScoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConformancePackComplianceScoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConformancePackComplianceScoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12587,7 +12587,7 @@ extension ListConformancePackComplianceScoresOutput { extension ListDiscoveredResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDiscoveredResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDiscoveredResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12600,7 +12600,7 @@ extension ListDiscoveredResourcesOutput { extension ListResourceEvaluationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceEvaluationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceEvaluationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12613,7 +12613,7 @@ extension ListResourceEvaluationsOutput { extension ListStoredQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStoredQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStoredQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12626,7 +12626,7 @@ extension ListStoredQueriesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12639,7 +12639,7 @@ extension ListTagsForResourceOutput { extension PutAggregationAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAggregationAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAggregationAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12651,14 +12651,14 @@ extension PutAggregationAuthorizationOutput { extension PutConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigRuleOutput { return PutConfigRuleOutput() } } extension PutConfigurationAggregatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationAggregatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationAggregatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12670,14 +12670,14 @@ extension PutConfigurationAggregatorOutput { extension PutConfigurationRecorderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationRecorderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationRecorderOutput { return PutConfigurationRecorderOutput() } } extension PutConformancePackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConformancePackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConformancePackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12689,14 +12689,14 @@ extension PutConformancePackOutput { extension PutDeliveryChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeliveryChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeliveryChannelOutput { return PutDeliveryChannelOutput() } } extension PutEvaluationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEvaluationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEvaluationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12708,14 +12708,14 @@ extension PutEvaluationsOutput { extension PutExternalEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutExternalEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutExternalEvaluationOutput { return PutExternalEvaluationOutput() } } extension PutOrganizationConfigRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutOrganizationConfigRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOrganizationConfigRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12727,7 +12727,7 @@ extension PutOrganizationConfigRuleOutput { extension PutOrganizationConformancePackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutOrganizationConformancePackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOrganizationConformancePackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12739,7 +12739,7 @@ extension PutOrganizationConformancePackOutput { extension PutRemediationConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRemediationConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRemediationConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12751,7 +12751,7 @@ extension PutRemediationConfigurationsOutput { extension PutRemediationExceptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRemediationExceptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRemediationExceptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12763,14 +12763,14 @@ extension PutRemediationExceptionsOutput { extension PutResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourceConfigOutput { return PutResourceConfigOutput() } } extension PutRetentionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRetentionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRetentionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12782,7 +12782,7 @@ extension PutRetentionConfigurationOutput { extension PutStoredQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutStoredQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutStoredQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12794,7 +12794,7 @@ extension PutStoredQueryOutput { extension SelectAggregateResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SelectAggregateResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SelectAggregateResourceConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12808,7 +12808,7 @@ extension SelectAggregateResourceConfigOutput { extension SelectResourceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SelectResourceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SelectResourceConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12822,21 +12822,21 @@ extension SelectResourceConfigOutput { extension StartConfigRulesEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConfigRulesEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConfigRulesEvaluationOutput { return StartConfigRulesEvaluationOutput() } } extension StartConfigurationRecorderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConfigurationRecorderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConfigurationRecorderOutput { return StartConfigurationRecorderOutput() } } extension StartRemediationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRemediationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRemediationExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12849,7 +12849,7 @@ extension StartRemediationExecutionOutput { extension StartResourceEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartResourceEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartResourceEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12861,28 +12861,28 @@ extension StartResourceEvaluationOutput { extension StopConfigurationRecorderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopConfigurationRecorderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopConfigurationRecorderOutput { return StopConfigurationRecorderOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum BatchGetAggregateResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12897,7 +12897,7 @@ enum BatchGetAggregateResourceConfigOutputError { enum BatchGetResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12912,7 +12912,7 @@ enum BatchGetResourceConfigOutputError { enum DeleteAggregationAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12926,7 +12926,7 @@ enum DeleteAggregationAuthorizationOutputError { enum DeleteConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12941,7 +12941,7 @@ enum DeleteConfigRuleOutputError { enum DeleteConfigurationAggregatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12955,7 +12955,7 @@ enum DeleteConfigurationAggregatorOutputError { enum DeleteConfigurationRecorderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12969,7 +12969,7 @@ enum DeleteConfigurationRecorderOutputError { enum DeleteConformancePackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12984,7 +12984,7 @@ enum DeleteConformancePackOutputError { enum DeleteDeliveryChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12999,7 +12999,7 @@ enum DeleteDeliveryChannelOutputError { enum DeleteEvaluationResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13014,7 +13014,7 @@ enum DeleteEvaluationResultsOutputError { enum DeleteOrganizationConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13030,7 +13030,7 @@ enum DeleteOrganizationConfigRuleOutputError { enum DeleteOrganizationConformancePackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13046,7 +13046,7 @@ enum DeleteOrganizationConformancePackOutputError { enum DeletePendingAggregationRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13060,7 +13060,7 @@ enum DeletePendingAggregationRequestOutputError { enum DeleteRemediationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13077,7 +13077,7 @@ enum DeleteRemediationConfigurationOutputError { enum DeleteRemediationExceptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13091,7 +13091,7 @@ enum DeleteRemediationExceptionsOutputError { enum DeleteResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13106,7 +13106,7 @@ enum DeleteResourceConfigOutputError { enum DeleteRetentionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13121,7 +13121,7 @@ enum DeleteRetentionConfigurationOutputError { enum DeleteStoredQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13136,7 +13136,7 @@ enum DeleteStoredQueryOutputError { enum DeliverConfigSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13152,7 +13152,7 @@ enum DeliverConfigSnapshotOutputError { enum DescribeAggregateComplianceByConfigRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13169,7 +13169,7 @@ enum DescribeAggregateComplianceByConfigRulesOutputError { enum DescribeAggregateComplianceByConformancePacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13186,7 +13186,7 @@ enum DescribeAggregateComplianceByConformancePacksOutputError { enum DescribeAggregationAuthorizationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13202,7 +13202,7 @@ enum DescribeAggregationAuthorizationsOutputError { enum DescribeComplianceByConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13218,7 +13218,7 @@ enum DescribeComplianceByConfigRuleOutputError { enum DescribeComplianceByResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13233,7 +13233,7 @@ enum DescribeComplianceByResourceOutputError { enum DescribeConfigRuleEvaluationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13249,7 +13249,7 @@ enum DescribeConfigRuleEvaluationStatusOutputError { enum DescribeConfigRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13265,7 +13265,7 @@ enum DescribeConfigRulesOutputError { enum DescribeConfigurationAggregatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13282,7 +13282,7 @@ enum DescribeConfigurationAggregatorsOutputError { enum DescribeConfigurationAggregatorSourcesStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13299,7 +13299,7 @@ enum DescribeConfigurationAggregatorSourcesStatusOutputError { enum DescribeConfigurationRecordersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13313,7 +13313,7 @@ enum DescribeConfigurationRecordersOutputError { enum DescribeConfigurationRecorderStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13327,7 +13327,7 @@ enum DescribeConfigurationRecorderStatusOutputError { enum DescribeConformancePackComplianceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13345,7 +13345,7 @@ enum DescribeConformancePackComplianceOutputError { enum DescribeConformancePacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13362,7 +13362,7 @@ enum DescribeConformancePacksOutputError { enum DescribeConformancePackStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13378,7 +13378,7 @@ enum DescribeConformancePackStatusOutputError { enum DescribeDeliveryChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13392,7 +13392,7 @@ enum DescribeDeliveryChannelsOutputError { enum DescribeDeliveryChannelStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13406,7 +13406,7 @@ enum DescribeDeliveryChannelStatusOutputError { enum DescribeOrganizationConfigRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13423,7 +13423,7 @@ enum DescribeOrganizationConfigRulesOutputError { enum DescribeOrganizationConfigRuleStatusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13440,7 +13440,7 @@ enum DescribeOrganizationConfigRuleStatusesOutputError { enum DescribeOrganizationConformancePacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13457,7 +13457,7 @@ enum DescribeOrganizationConformancePacksOutputError { enum DescribeOrganizationConformancePackStatusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13474,7 +13474,7 @@ enum DescribeOrganizationConformancePackStatusesOutputError { enum DescribePendingAggregationRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13490,7 +13490,7 @@ enum DescribePendingAggregationRequestsOutputError { enum DescribeRemediationConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13503,7 +13503,7 @@ enum DescribeRemediationConfigurationsOutputError { enum DescribeRemediationExceptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13518,7 +13518,7 @@ enum DescribeRemediationExceptionsOutputError { enum DescribeRemediationExecutionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13534,7 +13534,7 @@ enum DescribeRemediationExecutionStatusOutputError { enum DescribeRetentionConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13550,7 +13550,7 @@ enum DescribeRetentionConfigurationsOutputError { enum GetAggregateComplianceDetailsByConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13567,7 +13567,7 @@ enum GetAggregateComplianceDetailsByConfigRuleOutputError { enum GetAggregateConfigRuleComplianceSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13584,7 +13584,7 @@ enum GetAggregateConfigRuleComplianceSummaryOutputError { enum GetAggregateConformancePackComplianceSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13601,7 +13601,7 @@ enum GetAggregateConformancePackComplianceSummaryOutputError { enum GetAggregateDiscoveredResourceCountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13618,7 +13618,7 @@ enum GetAggregateDiscoveredResourceCountsOutputError { enum GetAggregateResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13635,7 +13635,7 @@ enum GetAggregateResourceConfigOutputError { enum GetComplianceDetailsByConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13651,7 +13651,7 @@ enum GetComplianceDetailsByConfigRuleOutputError { enum GetComplianceDetailsByResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13665,7 +13665,7 @@ enum GetComplianceDetailsByResourceOutputError { enum GetComplianceSummaryByConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13678,7 +13678,7 @@ enum GetComplianceSummaryByConfigRuleOutputError { enum GetComplianceSummaryByResourceTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13692,7 +13692,7 @@ enum GetComplianceSummaryByResourceTypeOutputError { enum GetConformancePackComplianceDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13710,7 +13710,7 @@ enum GetConformancePackComplianceDetailsOutputError { enum GetConformancePackComplianceSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13726,7 +13726,7 @@ enum GetConformancePackComplianceSummaryOutputError { enum GetCustomRulePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13740,7 +13740,7 @@ enum GetCustomRulePolicyOutputError { enum GetDiscoveredResourceCountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13756,7 +13756,7 @@ enum GetDiscoveredResourceCountsOutputError { enum GetOrganizationConfigRuleDetailedStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13773,7 +13773,7 @@ enum GetOrganizationConfigRuleDetailedStatusOutputError { enum GetOrganizationConformancePackDetailedStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13790,7 +13790,7 @@ enum GetOrganizationConformancePackDetailedStatusOutputError { enum GetOrganizationCustomRulePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13805,7 +13805,7 @@ enum GetOrganizationCustomRulePolicyOutputError { enum GetResourceConfigHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13824,7 +13824,7 @@ enum GetResourceConfigHistoryOutputError { enum GetResourceEvaluationSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13838,7 +13838,7 @@ enum GetResourceEvaluationSummaryOutputError { enum GetStoredQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13853,7 +13853,7 @@ enum GetStoredQueryOutputError { enum ListAggregateDiscoveredResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13870,7 +13870,7 @@ enum ListAggregateDiscoveredResourcesOutputError { enum ListConformancePackComplianceScoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13886,7 +13886,7 @@ enum ListConformancePackComplianceScoresOutputError { enum ListDiscoveredResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13903,7 +13903,7 @@ enum ListDiscoveredResourcesOutputError { enum ListResourceEvaluationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13919,7 +13919,7 @@ enum ListResourceEvaluationsOutputError { enum ListStoredQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13934,7 +13934,7 @@ enum ListStoredQueriesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13951,7 +13951,7 @@ enum ListTagsForResourceOutputError { enum PutAggregationAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13965,7 +13965,7 @@ enum PutAggregationAuthorizationOutputError { enum PutConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13983,7 +13983,7 @@ enum PutConfigRuleOutputError { enum PutConfigurationAggregatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14002,7 +14002,7 @@ enum PutConfigurationAggregatorOutputError { enum PutConfigurationRecorderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14020,7 +14020,7 @@ enum PutConfigurationRecorderOutputError { enum PutConformancePackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14038,7 +14038,7 @@ enum PutConformancePackOutputError { enum PutDeliveryChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14059,7 +14059,7 @@ enum PutDeliveryChannelOutputError { enum PutEvaluationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14075,7 +14075,7 @@ enum PutEvaluationsOutputError { enum PutExternalEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14090,7 +14090,7 @@ enum PutExternalEvaluationOutputError { enum PutOrganizationConfigRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14111,7 +14111,7 @@ enum PutOrganizationConfigRuleOutputError { enum PutOrganizationConformancePackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14132,7 +14132,7 @@ enum PutOrganizationConformancePackOutputError { enum PutRemediationConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14147,7 +14147,7 @@ enum PutRemediationConfigurationsOutputError { enum PutRemediationExceptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14162,7 +14162,7 @@ enum PutRemediationExceptionsOutputError { enum PutResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14179,7 +14179,7 @@ enum PutResourceConfigOutputError { enum PutRetentionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14194,7 +14194,7 @@ enum PutRetentionConfigurationOutputError { enum PutStoredQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14210,7 +14210,7 @@ enum PutStoredQueryOutputError { enum SelectAggregateResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14227,7 +14227,7 @@ enum SelectAggregateResourceConfigOutputError { enum SelectResourceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14243,7 +14243,7 @@ enum SelectResourceConfigOutputError { enum StartConfigRulesEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14260,7 +14260,7 @@ enum StartConfigRulesEvaluationOutputError { enum StartConfigurationRecorderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14275,7 +14275,7 @@ enum StartConfigurationRecorderOutputError { enum StartRemediationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14291,7 +14291,7 @@ enum StartRemediationExecutionOutputError { enum StartResourceEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14306,7 +14306,7 @@ enum StartResourceEvaluationOutputError { enum StopConfigurationRecorderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14320,7 +14320,7 @@ enum StopConfigurationRecorderOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14336,7 +14336,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift index ee7421181d8..27e422164d5 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift @@ -3902,6 +3902,55 @@ extension ConnectClient { return result } + /// Performs the `DescribeAuthenticationProfile` operation on the `AmazonConnectService` service. + /// + /// This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support. Describes the target authentication profile. + /// + /// - Parameter DescribeAuthenticationProfileInput : [no documentation found] + /// + /// - Returns: `DescribeAuthenticationProfileOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServiceException` : Request processing failed because of an error or failure with the service. + /// - `InvalidParameterException` : One or more of the specified parameters are not valid. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The throttling limit has been exceeded. + public func describeAuthenticationProfile(input: DescribeAuthenticationProfileInput) async throws -> DescribeAuthenticationProfileOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "describeAuthenticationProfile") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "describeAuthenticationProfile") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DescribeAuthenticationProfileInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DescribeAuthenticationProfileOutput.httpOutput(from:), DescribeAuthenticationProfileOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DescribeContact` operation on the `AmazonConnectService` service. /// /// This API is in preview release for Amazon Connect and is subject to change. Describes the specified contact. Contact information remains available in Amazon Connect for 24 months, and then it is deleted. Only data from November 12, 2021, and later is returned by this API. @@ -6297,7 +6346,7 @@ extension ConnectClient { /// Performs the `ImportPhoneNumber` operation on the `AmazonConnectService` service. /// - /// Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was created. + /// Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was created. Call the [DescribePhoneNumber](https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html) API to verify the status of a previous ImportPhoneNumber operation. If you plan to claim or import numbers and then release numbers frequently, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest number released has expired. By default you can claim or import and then release up to 200% of your maximum number of active phone numbers. If you claim or import and then release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming or importing any more numbers until 180 days past the oldest number released has expired. For example, if you already have 99 claimed or imported numbers and a service level quota of 99 phone numbers, and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services Support ticket. /// /// - Parameter ImportPhoneNumberInput : [no documentation found] /// @@ -6499,6 +6548,56 @@ extension ConnectClient { return result } + /// Performs the `ListAuthenticationProfiles` operation on the `AmazonConnectService` service. + /// + /// This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support. Provides summary information about the authentication profiles in a specified Amazon Connect instance. + /// + /// - Parameter ListAuthenticationProfilesInput : [no documentation found] + /// + /// - Returns: `ListAuthenticationProfilesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServiceException` : Request processing failed because of an error or failure with the service. + /// - `InvalidParameterException` : One or more of the specified parameters are not valid. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The throttling limit has been exceeded. + public func listAuthenticationProfiles(input: ListAuthenticationProfilesInput) async throws -> ListAuthenticationProfilesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listAuthenticationProfiles") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listAuthenticationProfiles") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListAuthenticationProfilesInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListAuthenticationProfilesInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListAuthenticationProfilesOutput.httpOutput(from:), ListAuthenticationProfilesOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListBots` operation on the `AmazonConnectService` service. /// /// This API is in preview release for Amazon Connect and is subject to change. For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to returns both Amazon Lex V1 and V2 bots. @@ -9720,7 +9819,7 @@ extension ConnectClient { /// Performs the `StartAttachedFileUpload` operation on the `AmazonConnectService` service. /// - /// Provides a pre-signed Amazon S3 URL in response for uploading your content. You may only use this API to upload attachments to a [Connect Case](https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html). + /// Provides a pre-signed Amazon S3 URL in response for uploading your content. You may only use this API to upload attachments to an [Amazon Connect Case](https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html). /// /// - Parameter StartAttachedFileUploadInput : [no documentation found] /// @@ -9782,7 +9881,11 @@ extension ConnectClient { /// * The [quota for concurrent active chats](https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) is exceeded. Active chat throttling returns a LimitExceededException. /// /// - /// If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support. For more information about chat, see [Chat](https://docs.aws.amazon.com/connect/latest/adminguide/chat.html) in the Amazon Connect Administrator Guide. + /// If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support. For more information about chat, see the following topics in the Amazon Connect Administrator Guide: + /// + /// * [Concepts: Web and mobile messaging capabilities in Amazon Connect](https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html) + /// + /// * [Amazon Connect Chat security best practices](https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat) /// /// - Parameter StartChatContactInput : [no documentation found] /// @@ -9947,7 +10050,11 @@ extension ConnectClient { /// Performs the `StartContactStreaming` operation on the `AmazonConnectService` service. /// - /// Initiates real-time message streaming for a new chat contact. For more information about message streaming, see [Enable real-time chat message streaming](https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html) in the Amazon Connect Administrator Guide. + /// Initiates real-time message streaming for a new chat contact. For more information about message streaming, see [Enable real-time chat message streaming](https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html) in the Amazon Connect Administrator Guide. For more information about chat, see the following topics in the Amazon Connect Administrator Guide: + /// + /// * [Concepts: Web and mobile messaging capabilities in Amazon Connect](https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html) + /// + /// * [Amazon Connect Chat security best practices](https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat) /// /// - Parameter StartContactStreamingInput : [no documentation found] /// @@ -10774,6 +10881,58 @@ extension ConnectClient { return result } + /// Performs the `UpdateAuthenticationProfile` operation on the `AmazonConnectService` service. + /// + /// This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support. Updates the selected authentication profile. + /// + /// - Parameter UpdateAuthenticationProfileInput : [no documentation found] + /// + /// - Returns: `UpdateAuthenticationProfileOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServiceException` : Request processing failed because of an error or failure with the service. + /// - `InvalidParameterException` : One or more of the specified parameters are not valid. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The throttling limit has been exceeded. + public func updateAuthenticationProfile(input: UpdateAuthenticationProfileInput) async throws -> UpdateAuthenticationProfileOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateAuthenticationProfile") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "connect") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateAuthenticationProfile") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateAuthenticationProfileInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateAuthenticationProfileInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateAuthenticationProfileOutput.httpOutput(from:), UpdateAuthenticationProfileOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `UpdateContact` operation on the `AmazonConnectService` service. /// /// This API is in preview release for Amazon Connect and is subject to change. Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request. You can add or update user-defined contact information for both ongoing and completed contacts. diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/Models.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/Models.swift index cebc44d9378..35eafb98ba7 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/Models.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -220,6 +220,11 @@ public struct UpdateAgentStatusOutput { public init() { } } +public struct UpdateAuthenticationProfileOutput { + + public init() { } +} + public struct UpdateHoursOfOperationOutput { public init() { } @@ -367,7 +372,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -456,7 +461,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -481,7 +486,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -505,7 +510,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -530,7 +535,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -554,7 +559,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1090,6 +1095,22 @@ extension ConnectClientTypes { } +extension ConnectClientTypes { + /// Can be used to define a list of preferred agents to target the contact within the queue. Note that agents must have the queue in their routing profile in order to be offered the contact. + public struct AgentsCriteria { + /// An object to specify a list of agents, by Agent ID. + public var agentIds: [Swift.String]? + + public init( + agentIds: [Swift.String]? = nil + ) + { + self.agentIds = agentIds + } + } + +} + extension ConnectClientTypes { public enum AgentStatusState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1369,7 +1390,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1441,7 +1462,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1484,7 +1505,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2717,7 +2738,7 @@ public struct IdempotencyException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3025,7 +3046,7 @@ public struct CompleteAttachedFileUploadInput { /// The unique identifier of the attached file resource. /// This member is required. public var fileId: Swift.String? - /// The unique identifier of the Connect instance. + /// The unique identifier of the Amazon Connect instance. /// This member is required. public var instanceId: Swift.String? @@ -3059,7 +3080,7 @@ public struct DuplicateResourceException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3151,7 +3172,7 @@ public struct InvalidContactFlowException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3310,7 +3331,7 @@ public struct InvalidContactFlowModuleException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4970,7 +4991,7 @@ extension ConnectClientTypes { public struct FieldValueUnion { /// A Boolean number value type. public var booleanValue: Swift.Bool - /// a Double number value type. + /// A Double number value type. public var doubleValue: Swift.Double? /// An empty value. public var emptyValue: ConnectClientTypes.EmptyFieldValue? @@ -5681,7 +5702,7 @@ public struct PropertyValidationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6013,7 +6034,7 @@ public struct ResourceNotReadyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6423,7 +6444,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6451,7 +6472,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6483,6 +6504,11 @@ extension ConnectClientTypes { } +extension ConnectClientTypes.ViewInputContent: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ViewInputContent(template: \(Swift.String(describing: template)), actions: \"CONTENT_REDACTED\")"} +} + extension ConnectClientTypes { public enum ViewStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -6583,7 +6609,7 @@ extension ConnectClientTypes { extension ConnectClientTypes.ViewContent: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ViewContent(actions: \(Swift.String(describing: actions)), template: \(Swift.String(describing: template)), inputSchema: \"CONTENT_REDACTED\")"} + "ViewContent(template: \(Swift.String(describing: template)), actions: \"CONTENT_REDACTED\", inputSchema: \"CONTENT_REDACTED\")"} } extension ConnectClientTypes { @@ -7387,6 +7413,96 @@ public struct DescribeAgentStatusOutput { } } +public struct DescribeAuthenticationProfileInput { + /// A unique identifier for the authentication profile. + /// This member is required. + public var authenticationProfileId: Swift.String? + /// The identifier of the Amazon Connect instance. You can [find the instance ID](https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) in the Amazon Resource Name (ARN) of the instance. + /// This member is required. + public var instanceId: Swift.String? + + public init( + authenticationProfileId: Swift.String? = nil, + instanceId: Swift.String? = nil + ) + { + self.authenticationProfileId = authenticationProfileId + self.instanceId = instanceId + } +} + +extension ConnectClientTypes { + /// This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support. Information about an authentication profile. An authentication profile is a resource that stores the authentication settings for users in your contact center. You use authentication profiles to set up IP address range restrictions and session timeouts. For more information, see [Set IP address restrictions or session timeouts](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html). + public struct AuthenticationProfile { + /// A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see [Configure IP address based access control](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-ip-based-ac) in the Amazon Connect Administrator Guide. + public var allowedIps: [Swift.String]? + /// The Amazon Resource Name (ARN) for the authentication profile. + public var arn: Swift.String? + /// A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see [Configure IP address based access control](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-ip-based-ac) in the Amazon Connect Administrator Guide. + public var blockedIps: [Swift.String]? + /// The timestamp when the authentication profile was created. + public var createdTime: Foundation.Date? + /// The description for the authentication profile. + public var description: Swift.String? + /// A unique identifier for the authentication profile. + public var id: Swift.String? + /// Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile. + public var isDefault: Swift.Bool + /// The Amazon Web Services Region where the authentication profile was last modified. + public var lastModifiedRegion: Swift.String? + /// The timestamp when the authentication profile was last modified. + public var lastModifiedTime: Foundation.Date? + /// The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period, users must log in again. For more information, see [Configure the session duration](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts) in the Amazon Connect Administrator Guide. + public var maxSessionDuration: Swift.Int? + /// The name for the authentication profile. + public var name: Swift.String? + /// The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see [Configure the session duration](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts) in the Amazon Connect Administrator Guide. + public var periodicSessionDuration: Swift.Int? + + public init( + allowedIps: [Swift.String]? = nil, + arn: Swift.String? = nil, + blockedIps: [Swift.String]? = nil, + createdTime: Foundation.Date? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + isDefault: Swift.Bool = false, + lastModifiedRegion: Swift.String? = nil, + lastModifiedTime: Foundation.Date? = nil, + maxSessionDuration: Swift.Int? = nil, + name: Swift.String? = nil, + periodicSessionDuration: Swift.Int? = nil + ) + { + self.allowedIps = allowedIps + self.arn = arn + self.blockedIps = blockedIps + self.createdTime = createdTime + self.description = description + self.id = id + self.isDefault = isDefault + self.lastModifiedRegion = lastModifiedRegion + self.lastModifiedTime = lastModifiedTime + self.maxSessionDuration = maxSessionDuration + self.name = name + self.periodicSessionDuration = periodicSessionDuration + } + } + +} + +public struct DescribeAuthenticationProfileOutput { + /// The authentication profile object being described. + public var authenticationProfile: ConnectClientTypes.AuthenticationProfile? + + public init( + authenticationProfile: ConnectClientTypes.AuthenticationProfile? = nil + ) + { + self.authenticationProfile = authenticationProfile + } +} + public struct DescribeContactInput { /// The identifier of the contact. /// This member is required. @@ -7602,11 +7718,29 @@ extension ConnectClientTypes { } +extension ConnectClientTypes { + /// An object to define AgentsCriteria. + public struct MatchCriteria { + /// An object to define AgentIds. + public var agentsCriteria: ConnectClientTypes.AgentsCriteria? + + public init( + agentsCriteria: ConnectClientTypes.AgentsCriteria? = nil + ) + { + self.agentsCriteria = agentsCriteria + } + } + +} + extension ConnectClientTypes { /// An object to specify the predefined attribute condition. public struct AttributeCondition { /// The operator of the condition. public var comparisonOperator: Swift.String? + /// An object to define AgentsCriteria. + public var matchCriteria: ConnectClientTypes.MatchCriteria? /// The name of predefined attribute. public var name: Swift.String? /// The proficiency level of the condition. @@ -7616,12 +7750,14 @@ extension ConnectClientTypes { public init( comparisonOperator: Swift.String? = nil, + matchCriteria: ConnectClientTypes.MatchCriteria? = nil, name: Swift.String? = nil, proficiencyLevel: Swift.Float? = nil, value: Swift.String? = nil ) { self.comparisonOperator = comparisonOperator + self.matchCriteria = matchCriteria self.name = name self.proficiencyLevel = proficiencyLevel self.value = value @@ -7920,7 +8056,7 @@ public struct ContactFlowNotPublishedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11771,7 +11907,7 @@ public struct UserNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12429,12 +12565,12 @@ public struct GetMetricDataV2Input { public var interval: ConnectClientTypes.IntervalDetails? /// The maximum number of results to return per page. public var maxResults: Swift.Int? - /// The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see [Historical metrics definitions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) in the Amazon Connect Administrator Guide. ABANDONMENT_RATE Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Abandonment rate](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#abandonment-rate-historical) AGENT_ADHERENT_TIME This metric is available only in Amazon Web Services Regions where [Forecasting, capacity planning, and scheduling](https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region) is available. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Adherent time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#adherent-time-historical) AGENT_ANSWER_RATE Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent answer rate](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-answer-rate-historical) AGENT_NON_ADHERENT_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Non-adherent time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#non-adherent-time) AGENT_NON_RESPONSE Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent non-response](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-non-response) AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy Data for this metric is available starting from October 1, 2023 0:00:00 GMT. UI name: [Agent non-response without customer abandons](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-nonresponse-no-abandon-historical) AGENT_OCCUPANCY Unit: Percentage Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Occupancy](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#occupancy-historical) AGENT_SCHEDULE_ADHERENCE This metric is available only in Amazon Web Services Regions where [Forecasting, capacity planning, and scheduling](https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region) is available. Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Adherence](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#adherence-historical) AGENT_SCHEDULED_TIME This metric is available only in Amazon Web Services Regions where [Forecasting, capacity planning, and scheduling](https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region) is available. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Scheduled time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#scheduled-time-historical) AVG_ABANDON_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average queue abandon time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-queue-abandon-time-historical) AVG_ACTIVE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Average active time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-active-time-historical) AVG_AFTER_CONTACT_WORK_TIME Unit: Seconds Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average after contact work time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-acw-time-historical) Feature is a valid filter but not a valid grouping. AVG_AGENT_CONNECTING_TIME Unit: Seconds Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Average agent API connecting time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#htm-avg-agent-api-connecting-time) The Negate key in Metric Level Filters is not applicable for this metric. AVG_AGENT_PAUSE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Average agent pause time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-agent-pause-time-historical) AVG_CASE_RELATED_CONTACTS Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Average contacts per case](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-contacts-case-historical) AVG_CASE_RESOLUTION_TIME Unit: Seconds Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Average case resolution time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-case-resolution-time-historical) AVG_CONTACT_DURATION Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average contact duration](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-contact-duration-historical) Feature is a valid filter but not a valid grouping. AVG_CONVERSATION_DURATION Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average conversation duration](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-conversation-duration-historical) AVG_FLOW_TIME Unit: Seconds Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Average flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-flow-time-historical) AVG_GREETING_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent greeting time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-greeting-time-agent-historical) AVG_HANDLE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression UI name: [Average handle time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-handle-time-historical) Feature is a valid filter but not a valid grouping. AVG_HOLD_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average customer hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-customer-hold-time-historical) Feature is a valid filter but not a valid grouping. AVG_HOLD_TIME_ALL_CONTACTS Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average customer hold time all contacts](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#avg-customer-hold-time-all-contacts-historical) AVG_HOLDS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average holds](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-holds-historical) Feature is a valid filter but not a valid grouping. AVG_INTERACTION_AND_HOLD_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interaction and customer hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-agent-interaction-customer-hold-time-historical) AVG_INTERACTION_TIME Unit: Seconds Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interaction time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-agent-interaction-time-historical) Feature is a valid filter but not a valid grouping. AVG_INTERRUPTIONS_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interruptions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-agent-historical) AVG_INTERRUPTION_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interruption time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-time-agent-historical) AVG_NON_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average non-talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##average-non-talk-time-historical) AVG_QUEUE_ANSWER_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average queue answer time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-queue-answer-time-historical) Feature is a valid filter but not a valid grouping. AVG_RESOLUTION_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average resolution time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-resolution-time-historical) AVG_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-historical) AVG_TALK_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-agent-historical) AVG_TALK_TIME_CUSTOMER This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average customer talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-customer-historical) CASES_CREATED Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases created](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##cases-created-historical) CONTACTS_ABANDONED Unit: Count Metric filter: + /// The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see [Historical metrics definitions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) in the Amazon Connect Administrator Guide. ABANDONMENT_RATE Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Abandonment rate](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#abandonment-rate-historical) AGENT_ADHERENT_TIME This metric is available only in Amazon Web Services Regions where [Forecasting, capacity planning, and scheduling](https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region) is available. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Adherent time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#adherent-time-historical) AGENT_ANSWER_RATE Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent answer rate](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-answer-rate-historical) AGENT_NON_ADHERENT_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Non-adherent time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#non-adherent-time) AGENT_NON_RESPONSE Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent non-response](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-non-response) AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy Data for this metric is available starting from October 1, 2023 0:00:00 GMT. UI name: [Agent non-response without customer abandons](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-nonresponse-no-abandon-historical) AGENT_OCCUPANCY Unit: Percentage Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Occupancy](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#occupancy-historical) AGENT_SCHEDULE_ADHERENCE This metric is available only in Amazon Web Services Regions where [Forecasting, capacity planning, and scheduling](https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region) is available. Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Adherence](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#adherence-historical) AGENT_SCHEDULED_TIME This metric is available only in Amazon Web Services Regions where [Forecasting, capacity planning, and scheduling](https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region) is available. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Scheduled time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#scheduled-time-historical) AVG_ABANDON_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average queue abandon time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-queue-abandon-time-historical) AVG_ACTIVE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Average active time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-active-time-historical) AVG_AFTER_CONTACT_WORK_TIME Unit: Seconds Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average after contact work time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-acw-time-historical) Feature is a valid filter but not a valid grouping. AVG_AGENT_CONNECTING_TIME Unit: Seconds Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Average agent API connecting time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#htm-avg-agent-api-connecting-time) The Negate key in Metric Level Filters is not applicable for this metric. AVG_AGENT_PAUSE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Average agent pause time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-agent-pause-time-historical) AVG_CASE_RELATED_CONTACTS Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Average contacts per case](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-contacts-case-historical) AVG_CASE_RESOLUTION_TIME Unit: Seconds Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Average case resolution time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-case-resolution-time-historical) AVG_CONTACT_DURATION Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average contact duration](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-contact-duration-historical) Feature is a valid filter but not a valid grouping. AVG_CONVERSATION_DURATION Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average conversation duration](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-conversation-duration-historical) AVG_FLOW_TIME Unit: Seconds Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Average flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-flow-time-historical) AVG_GREETING_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent greeting time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-greeting-time-agent-historical) AVG_HANDLE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression UI name: [Average handle time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-handle-time-historical) Feature is a valid filter but not a valid grouping. AVG_HOLD_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average customer hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-customer-hold-time-historical) Feature is a valid filter but not a valid grouping. AVG_HOLD_TIME_ALL_CONTACTS Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average customer hold time all contacts](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#avg-customer-hold-time-all-contacts-historical) AVG_HOLDS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average holds](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-holds-historical) Feature is a valid filter but not a valid grouping. AVG_INTERACTION_AND_HOLD_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interaction and customer hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-agent-interaction-customer-hold-time-historical) AVG_INTERACTION_TIME Unit: Seconds Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interaction time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-agent-interaction-time-historical) Feature is a valid filter but not a valid grouping. AVG_INTERRUPTIONS_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interruptions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-agent-historical) AVG_INTERRUPTION_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent interruption time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-time-agent-historical) AVG_NON_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average non-talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##average-non-talk-time-historical) AVG_QUEUE_ANSWER_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average queue answer time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-queue-answer-time-historical) Feature is a valid filter but not a valid grouping. AVG_RESOLUTION_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average resolution time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-resolution-time-historical) AVG_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-historical) AVG_TALK_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average agent talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-agent-historical) AVG_TALK_TIME_CUSTOMER This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Average customer talk time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-customer-historical) CASES_CREATED Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases created](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##cases-created-historical) CONTACTS_CREATED Unit: Count Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts created](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-created-historical) Feature is a valid filter but not a valid grouping. CONTACTS_HANDLED Unit: Count Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect UI name: [API contacts handled](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#api-contacts-handled-historical) Feature is a valid filter but not a valid grouping. CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT Unit: Count Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts handled (connected to agent timestamp)](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-handled-by-connected-to-agent-historical) CONTACTS_HOLD_ABANDONS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts hold disconnect](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-handled-by-connected-to-agent-historical) CONTACTS_ON_HOLD_AGENT_DISCONNECT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts hold agent disconnect](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-hold-agent-disconnect-historical) CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts hold customer disconnect](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-hold-customer-disconnect-historical) CONTACTS_PUT_ON_HOLD Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts put on hold](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-hold-customer-disconnect-historical) CONTACTS_TRANSFERRED_OUT_EXTERNAL Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts transferred out external](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-external-historical) CONTACTS_TRANSFERRED_OUT_INTERNAL Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts transferred out internal](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-internal-historical) CONTACTS_QUEUED Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts queued](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-historical) CONTACTS_QUEUED_BY_ENQUEUE Unit: Count Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype UI name: [Contacts queued (enqueue timestamp)](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-by-enqueue-historical) CONTACTS_REMOVED_FROM_QUEUE_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: This metric is not available in Amazon Connect admin website. CONTACTS_RESOLVED_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Contacts resolved in X](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-resolved-historical) CONTACTS_TRANSFERRED_OUT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts transferred out](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-historical) Feature is a valid filter but not a valid grouping. CONTACTS_TRANSFERRED_OUT_BY_AGENT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts transferred out by agent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-by-agent-historical) CONTACTS_TRANSFERRED_OUT_FROM_QUEUE Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts transferred out queue](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-by-agent-historical) CURRENT_CASES Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Current cases](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#current-cases-historical) FLOWS_OUTCOME Unit: Count Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Flows outcome](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-historical) FLOWS_STARTED Unit: Count Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp UI name: [Flows started](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-started-historical) MAX_FLOW_TIME Unit: Seconds Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Maximum flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#maximum-flow-time-historical) MAX_QUEUED_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Maximum queued time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#maximum-queued-time-historical) MIN_FLOW_TIME Unit: Seconds Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Minimum flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#minimum-flow-time-historical) PERCENT_CASES_FIRST_CONTACT_RESOLVED Unit: Percent Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases resolved on first contact](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-first-contact-historical) PERCENT_CONTACTS_STEP_EXPIRED Unit: Percent Valid groupings and filters: Queue, RoutingStepExpression UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI. PERCENT_CONTACTS_STEP_JOINED Unit: Percent Valid groupings and filters: Queue, RoutingStepExpression UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI. PERCENT_FLOWS_OUTCOME Unit: Percent Valid metric filter key: FLOWS_OUTCOME_TYPE Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Flows outcome percentage](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-percentage-historical). The FLOWS_OUTCOME_TYPE is not a valid grouping. PERCENT_NON_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Non-talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ntt-historical) PERCENT_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#tt-historical) PERCENT_TALK_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Agent talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttagent-historical) PERCENT_TALK_TIME_CUSTOMER This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Customer talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttcustomer-historical) REOPENED_CASE_ACTIONS Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases reopened](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-reopened-historical) RESOLVED_CASE_ACTIONS Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases resolved](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-historical) SERVICE_LEVEL You can include up to 20 SERVICE_LEVEL metrics in a request. Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Service level X](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#service-level-historical) STEP_CONTACTS_QUEUED Unit: Count Valid groupings and filters: Queue, RoutingStepExpression UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI. SUM_AFTER_CONTACT_WORK_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [After contact work time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#acw-historical) SUM_CONNECTING_TIME_AGENT Unit: Seconds Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent API connecting time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#htm-agent-api-connecting-time) The Negate key in Metric Level Filters is not applicable for this metric. SUM_CONTACTS_ABANDONED Unit: Count Metric filter: /// /// * Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| Disconnect /// /// - /// Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect UI name: [Contact abandoned](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-historical) CONTACTS_ABANDONED_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Contacts abandoned in X seconds](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-x-historical) CONTACTS_ANSWERED_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Contacts answered in X seconds](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-answered-x-historical) CONTACTS_CREATED Unit: Count Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts created](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-created-historical) Feature is a valid filter but not a valid grouping. CONTACTS_HANDLED Unit: Count Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect UI name: [API contacts handled](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#api-contacts-handled-historical) Feature is a valid filter but not a valid grouping. CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT Unit: Count Valid metric filter key: INITIATION_METHOD Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts handled (connected to agent timestamp)](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-handled-by-connected-to-agent-historical) CONTACTS_HOLD_ABANDONS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts hold disconnect](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-handled-by-connected-to-agent-historical) CONTACTS_ON_HOLD_AGENT_DISCONNECT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts hold agent disconnect](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-hold-agent-disconnect-historical) CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts hold customer disconnect](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-hold-customer-disconnect-historical) CONTACTS_PUT_ON_HOLD Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts put on hold](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-hold-customer-disconnect-historical) CONTACTS_TRANSFERRED_OUT_EXTERNAL Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts transferred out external](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-external-historical) CONTACTS_TRANSFERRED_OUT_INTERNAL Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contacts transferred out internal](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-internal-historical) CONTACTS_QUEUED Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts queued](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-historical) CONTACTS_QUEUED_BY_ENQUEUE Unit: Count Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype UI name: [Contacts queued (enqueue timestamp)](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-by-enqueue-historical) CONTACTS_RESOLVED_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Contacts resolved in X](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-resolved-historical) CONTACTS_TRANSFERRED_OUT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts transferred out](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-historical) Feature is a valid filter but not a valid grouping. CONTACTS_TRANSFERRED_OUT_BY_AGENT Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts transferred out by agent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-by-agent-historical) CONTACTS_TRANSFERRED_OUT_FROM_QUEUE Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contacts transferred out queue](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-transferred-out-by-agent-historical) CURRENT_CASES Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Current cases](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#current-cases-historical) FLOWS_OUTCOME Unit: Count Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Flows outcome](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-historical) FLOWS_STARTED Unit: Count Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp UI name: [Flows started](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-started-historical) MAX_FLOW_TIME Unit: Seconds Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Maximum flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#maximum-flow-time-historical) MAX_QUEUED_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Maximum queued time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#maximum-queued-time-historical) MIN_FLOW_TIME Unit: Seconds Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Minimum flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#minimum-flow-time-historical) PERCENT_CASES_FIRST_CONTACT_RESOLVED Unit: Percent Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases resolved on first contact](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-first-contact-historical) PERCENT_CONTACTS_STEP_EXPIRED Unit: Percent Valid groupings and filters: Queue, RoutingStepExpression UI name: Not available PERCENT_CONTACTS_STEP_JOINED Unit: Percent Valid groupings and filters: Queue, RoutingStepExpression UI name: Not available PERCENT_FLOWS_OUTCOME Unit: Percent Valid metric filter key: FLOWS_OUTCOME_TYPE Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp UI name: [Flows outcome percentage](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-percentage-historical). The FLOWS_OUTCOME_TYPE is not a valid grouping. PERCENT_NON_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Non-talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ntt-historical) PERCENT_TALK_TIME This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#tt-historical) PERCENT_TALK_TIME_AGENT This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Agent talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttagent-historical) PERCENT_TALK_TIME_CUSTOMER This metric is available only for contacts analyzed by Contact Lens conversational analytics. Unit: Percentage Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Customer talk time percent](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttcustomer-historical) REOPENED_CASE_ACTIONS Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases reopened](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-reopened-historical) RESOLVED_CASE_ACTIONS Unit: Count Required filter key: CASE_TEMPLATE_ARN Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS UI name: [Cases resolved](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-historicall) SERVICE_LEVEL You can include up to 20 SERVICE_LEVEL metrics in a request. Unit: Percent Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Service level X](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#service-level-historical) STEP_CONTACTS_QUEUED Unit: Count Valid groupings and filters: Queue, RoutingStepExpression UI name: Not available SUM_AFTER_CONTACT_WORK_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [After contact work time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#acw-historical) SUM_CONNECTING_TIME_AGENT Unit: Seconds Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent API connecting time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#htm-agent-api-connecting-time) The Negate key in Metric Level Filters is not applicable for this metric. SUM_CONTACT_FLOW_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contact flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contact-flow-time-historical) SUM_CONTACT_TIME_AGENT Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent on contact time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-on-contact-time-historical) SUM_CONTACTS_DISCONNECTED Valid metric filter key: DISCONNECT_REASON Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contact disconnected](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contact-disconnected-historical) SUM_ERROR_STATUS_TIME_AGENT Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Error status time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#error-status-time-historical) SUM_HANDLE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contact handle time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contact-handle-time-historical) SUM_HOLD_TIME Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Customer hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#customer-hold-time-historical) SUM_IDLE_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Agent idle time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-idle-time-historica) SUM_INTERACTION_AND_HOLD_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Agent interaction and hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-interaction-hold-time-historical) SUM_INTERACTION_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent interaction time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-interaction-time-historical) SUM_NON_PRODUCTIVE_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Non-Productive Time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#npt-historical) SUM_ONLINE_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Online time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#online-time-historical) SUM_RETRY_CALLBACK_ATTEMPTS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Callback attempts](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#callback-attempts-historical) + /// Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect UI name: [Contact abandoned](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-historical) SUM_CONTACTS_ABANDONED_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Contacts abandoned in X seconds](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-x-historical) SUM_CONTACTS_ANSWERED_IN_X Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for "Less than"). UI name: [Contacts answered in X seconds](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-answered-x-historical) SUM_CONTACT_FLOW_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contact flow time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contact-flow-time-historical) SUM_CONTACT_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Agent on contact time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-on-contact-time-historical) SUM_CONTACTS_DISCONNECTED Valid metric filter key: DISCONNECT_REASON Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Contact disconnected](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contact-disconnected-historical) SUM_ERROR_STATUS_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Error status time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#error-status-time-historical) SUM_HANDLE_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Contact handle time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contact-handle-time-historical) SUM_HOLD_TIME Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Customer hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#customer-hold-time-historical) SUM_IDLE_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Agent idle time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-idle-time-historica) SUM_INTERACTION_AND_HOLD_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect UI name: [Agent interaction and hold time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-interaction-hold-time-historical) SUM_INTERACTION_TIME Unit: Seconds Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy UI name: [Agent interaction time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-interaction-time-historical) SUM_NON_PRODUCTIVE_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Non-Productive Time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#npt-historical) SUM_ONLINE_TIME_AGENT Unit: Seconds Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy UI name: [Online time](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#online-time-historical) SUM_RETRY_CALLBACK_ATTEMPTS Unit: Count Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect UI name: [Callback attempts](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#callback-attempts-historical) /// This member is required. public var metrics: [ConnectClientTypes.MetricV2]? /// The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. @@ -12939,6 +13075,79 @@ public struct ListApprovedOriginsOutput { } } +public struct ListAuthenticationProfilesInput { + /// The identifier of the Amazon Connect instance. You can [find the instance ID](https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) in the Amazon Resource Name (ARN) of the instance. + /// This member is required. + public var instanceId: Swift.String? + /// The maximum number of results to return per page. + public var maxResults: Swift.Int? + /// The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. + public var nextToken: Swift.String? + + public init( + instanceId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension ConnectClientTypes { + /// This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support. A summary of a given authentication profile. + public struct AuthenticationProfileSummary { + /// The Amazon Resource Name (ARN) of the authentication profile summary. + public var arn: Swift.String? + /// The unique identifier of the authentication profile. + public var id: Swift.String? + /// Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile. + public var isDefault: Swift.Bool + /// The Amazon Web Services Region when the authentication profile summary was last modified. + public var lastModifiedRegion: Swift.String? + /// The timestamp when the authentication profile summary was last modified. + public var lastModifiedTime: Foundation.Date? + /// The name of the authentication profile summary. + public var name: Swift.String? + + public init( + arn: Swift.String? = nil, + id: Swift.String? = nil, + isDefault: Swift.Bool = false, + lastModifiedRegion: Swift.String? = nil, + lastModifiedTime: Foundation.Date? = nil, + name: Swift.String? = nil + ) + { + self.arn = arn + self.id = id + self.isDefault = isDefault + self.lastModifiedRegion = lastModifiedRegion + self.lastModifiedTime = lastModifiedTime + self.name = name + } + } + +} + +public struct ListAuthenticationProfilesOutput { + /// A summary of a given authentication profile. + public var authenticationProfileSummaryList: [ConnectClientTypes.AuthenticationProfileSummary]? + /// If there are additional results, this is the token for the next set of results. + public var nextToken: Swift.String? + + public init( + authenticationProfileSummaryList: [ConnectClientTypes.AuthenticationProfileSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.authenticationProfileSummaryList = authenticationProfileSummaryList + self.nextToken = nextToken + } +} + extension ConnectClientTypes { public enum LexVersion: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -14756,7 +14965,7 @@ public struct OutputTypeNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16569,7 +16778,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17001,7 +17210,7 @@ extension ConnectClientTypes { public struct SearchContactFlowsOutput { /// The total number of contact flows which matched your search query. public var approximateTotalCount: Swift.Int? - /// Information about the contact flows. + /// Information about the flows. public var contactFlows: [ConnectClientTypes.ContactFlow]? /// If there are additional results, this is the token for the next set of results. public var nextToken: Swift.String? @@ -17074,6 +17283,11 @@ extension ConnectClientTypes { } +extension ConnectClientTypes.TranscriptCriteria: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TranscriptCriteria(matchType: \(Swift.String(describing: matchType)), participantRole: \(Swift.String(describing: participantRole)), searchText: \"CONTENT_REDACTED\")"} +} + extension ConnectClientTypes { /// A structure that defines search criteria and matching logic to search for contacts by matching text with transcripts analyzed by Amazon Connect Contact Lens. public struct Transcript { @@ -17135,7 +17349,7 @@ extension ConnectClientTypes { extension ConnectClientTypes.SearchableContactAttributesCriteria: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SearchableContactAttributesCriteria(values: \(Swift.String(describing: values)), key: \"CONTENT_REDACTED\")"} + "SearchableContactAttributesCriteria(key: \"CONTENT_REDACTED\", values: \"CONTENT_REDACTED\")"} } extension ConnectClientTypes { @@ -17174,7 +17388,7 @@ extension ConnectClientTypes { public var initiationMethods: [ConnectClientTypes.ContactInitiationMethod]? /// The list of queue IDs associated with contacts. public var queueIds: [Swift.String]? - /// The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see [Search by customer contact attributes](https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html) in the Amazon Connect Administrator Guide. To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see [https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissions](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissions)Actions defined by Amazon Connect. + /// The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see [Search by custom contact attributes](https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html) in the Amazon Connect Administrator Guide. To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see [https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissions](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissions)Actions defined by Amazon Connect. public var searchableContactAttributes: ConnectClientTypes.SearchableContactAttributes? public init( @@ -17241,7 +17455,7 @@ extension ConnectClientTypes { } extension ConnectClientTypes { - /// A structure that defineds the field name to sort by and a sort order. + /// A structure that defines the field name to sort by and a sort order. public struct Sort { /// The name of the field on which to sort. /// This member is required. @@ -17693,7 +17907,7 @@ public struct MaximumResultReturnedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18454,7 +18668,7 @@ public struct StartAttachedFileUploadInput { /// The use case for the file. /// This member is required. public var fileUseCaseType: ConnectClientTypes.FileUseCaseType? - /// The unique identifier of the Connect instance. + /// The unique identifier of the Amazon Connect instance. /// This member is required. public var instanceId: Swift.String? /// The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }. @@ -18857,7 +19071,7 @@ public struct DestinationNotAllowedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18882,7 +19096,7 @@ public struct OutboundContactNotPermittedException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19109,7 +19323,7 @@ public struct StartWebRTCContactInput { public var attributes: [Swift.String: Swift.String]? /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see [Making retries safe with idempotent APIs](https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned. public var clientToken: Swift.String? - /// The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold: arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + /// The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold: arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx /// This member is required. public var contactFlowId: Swift.String? /// A description of the task that is shown to an agent in the Contact Control Panel (CCP). @@ -19357,7 +19571,7 @@ public struct ContactNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19737,6 +19951,44 @@ public struct UpdateAgentStatusInput { } } +public struct UpdateAuthenticationProfileInput { + /// A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, see[Configure session timeouts](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts) in the Amazon Connect Administrator Guide. + public var allowedIps: [Swift.String]? + /// A unique identifier for the authentication profile. + /// This member is required. + public var authenticationProfileId: Swift.String? + /// A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see [Configure IP-based access control](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-ip-based-ac) in the Amazon Connect Administrator Guide. + public var blockedIps: [Swift.String]? + /// The description for the authentication profile. + public var description: Swift.String? + /// The identifier of the Amazon Connect instance. You can [find the instance ID](https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) in the Amazon Resource Name (ARN) of the instance. + /// This member is required. + public var instanceId: Swift.String? + /// The name for the authentication profile. + public var name: Swift.String? + /// The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see [Configure session timeouts](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts) in the Amazon Connect Administrator Guide. + public var periodicSessionDuration: Swift.Int? + + public init( + allowedIps: [Swift.String]? = nil, + authenticationProfileId: Swift.String? = nil, + blockedIps: [Swift.String]? = nil, + description: Swift.String? = nil, + instanceId: Swift.String? = nil, + name: Swift.String? = nil, + periodicSessionDuration: Swift.Int? = nil + ) + { + self.allowedIps = allowedIps + self.authenticationProfileId = authenticationProfileId + self.blockedIps = blockedIps + self.description = description + self.instanceId = instanceId + self.name = name + self.periodicSessionDuration = periodicSessionDuration + } +} + public struct UpdateContactInput { /// The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center. /// This member is required. @@ -23203,6 +23455,19 @@ extension DescribeAgentStatusInput { } } +extension DescribeAuthenticationProfileInput { + + static func urlPathProvider(_ value: DescribeAuthenticationProfileInput) -> Swift.String? { + guard let instanceId = value.instanceId else { + return nil + } + guard let authenticationProfileId = value.authenticationProfileId else { + return nil + } + return "/authentication-profiles/\(instanceId.urlPercentEncoding())/\(authenticationProfileId.urlPercentEncoding())" + } +} + extension DescribeContactInput { static func urlPathProvider(_ value: DescribeContactInput) -> Swift.String? { @@ -24026,6 +24291,32 @@ extension ListApprovedOriginsInput { } } +extension ListAuthenticationProfilesInput { + + static func urlPathProvider(_ value: ListAuthenticationProfilesInput) -> Swift.String? { + guard let instanceId = value.instanceId else { + return nil + } + return "/authentication-profiles-summary/\(instanceId.urlPercentEncoding())" + } +} + +extension ListAuthenticationProfilesInput { + + static func queryItemProvider(_ value: ListAuthenticationProfilesInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListBotsInput { static func urlPathProvider(_ value: ListBotsInput) -> Swift.String? { @@ -25527,6 +25818,19 @@ extension UpdateAgentStatusInput { } } +extension UpdateAuthenticationProfileInput { + + static func urlPathProvider(_ value: UpdateAuthenticationProfileInput) -> Swift.String? { + guard let instanceId = value.instanceId else { + return nil + } + guard let authenticationProfileId = value.authenticationProfileId else { + return nil + } + return "/authentication-profiles/\(instanceId.urlPercentEncoding())/\(authenticationProfileId.urlPercentEncoding())" + } +} + extension UpdateContactInput { static func urlPathProvider(_ value: UpdateContactInput) -> Swift.String? { @@ -27191,6 +27495,18 @@ extension UpdateAgentStatusInput { } } +extension UpdateAuthenticationProfileInput { + + static func write(value: UpdateAuthenticationProfileInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AllowedIps"].writeList(value.allowedIps, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["BlockedIps"].writeList(value.blockedIps, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Description"].write(value.description) + try writer["Name"].write(value.name) + try writer["PeriodicSessionDuration"].write(value.periodicSessionDuration) + } +} + extension UpdateContactInput { static func write(value: UpdateContactInput?, to writer: SmithyJSON.Writer) throws { @@ -27602,7 +27918,7 @@ extension UpdateViewMetadataInput { extension ActivateEvaluationFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateEvaluationFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateEvaluationFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27616,7 +27932,7 @@ extension ActivateEvaluationFormOutput { extension AssociateAnalyticsDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAnalyticsDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAnalyticsDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27631,35 +27947,35 @@ extension AssociateAnalyticsDataSetOutput { extension AssociateApprovedOriginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateApprovedOriginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateApprovedOriginOutput { return AssociateApprovedOriginOutput() } } extension AssociateBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateBotOutput { return AssociateBotOutput() } } extension AssociateDefaultVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDefaultVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDefaultVocabularyOutput { return AssociateDefaultVocabularyOutput() } } extension AssociateFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFlowOutput { return AssociateFlowOutput() } } extension AssociateInstanceStorageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateInstanceStorageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateInstanceStorageConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27671,42 +27987,42 @@ extension AssociateInstanceStorageConfigOutput { extension AssociateLambdaFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateLambdaFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateLambdaFunctionOutput { return AssociateLambdaFunctionOutput() } } extension AssociateLexBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateLexBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateLexBotOutput { return AssociateLexBotOutput() } } extension AssociatePhoneNumberContactFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePhoneNumberContactFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePhoneNumberContactFlowOutput { return AssociatePhoneNumberContactFlowOutput() } } extension AssociateQueueQuickConnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateQueueQuickConnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateQueueQuickConnectsOutput { return AssociateQueueQuickConnectsOutput() } } extension AssociateRoutingProfileQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateRoutingProfileQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateRoutingProfileQueuesOutput { return AssociateRoutingProfileQueuesOutput() } } extension AssociateSecurityKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSecurityKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSecurityKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27718,21 +28034,21 @@ extension AssociateSecurityKeyOutput { extension AssociateTrafficDistributionGroupUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTrafficDistributionGroupUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTrafficDistributionGroupUserOutput { return AssociateTrafficDistributionGroupUserOutput() } } extension AssociateUserProficienciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateUserProficienciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateUserProficienciesOutput { return AssociateUserProficienciesOutput() } } extension BatchAssociateAnalyticsDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateAnalyticsDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateAnalyticsDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27745,7 +28061,7 @@ extension BatchAssociateAnalyticsDataSetOutput { extension BatchDisassociateAnalyticsDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateAnalyticsDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateAnalyticsDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27758,7 +28074,7 @@ extension BatchDisassociateAnalyticsDataSetOutput { extension BatchGetAttachedFileMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAttachedFileMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAttachedFileMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27771,7 +28087,7 @@ extension BatchGetAttachedFileMetadataOutput { extension BatchGetFlowAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFlowAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFlowAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27783,7 +28099,7 @@ extension BatchGetFlowAssociationOutput { extension BatchPutContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27796,7 +28112,7 @@ extension BatchPutContactOutput { extension ClaimPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClaimPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClaimPhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27809,14 +28125,14 @@ extension ClaimPhoneNumberOutput { extension CompleteAttachedFileUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteAttachedFileUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteAttachedFileUploadOutput { return CompleteAttachedFileUploadOutput() } } extension CreateAgentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAgentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAgentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27829,7 +28145,7 @@ extension CreateAgentStatusOutput { extension CreateContactFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27842,7 +28158,7 @@ extension CreateContactFlowOutput { extension CreateContactFlowModuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactFlowModuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactFlowModuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27855,7 +28171,7 @@ extension CreateContactFlowModuleOutput { extension CreateEvaluationFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEvaluationFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEvaluationFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27868,7 +28184,7 @@ extension CreateEvaluationFormOutput { extension CreateHoursOfOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHoursOfOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHoursOfOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27881,7 +28197,7 @@ extension CreateHoursOfOperationOutput { extension CreateInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27894,7 +28210,7 @@ extension CreateInstanceOutput { extension CreateIntegrationAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntegrationAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntegrationAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27907,7 +28223,7 @@ extension CreateIntegrationAssociationOutput { extension CreateParticipantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateParticipantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateParticipantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27920,7 +28236,7 @@ extension CreateParticipantOutput { extension CreatePersistentContactAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePersistentContactAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePersistentContactAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27932,14 +28248,14 @@ extension CreatePersistentContactAssociationOutput { extension CreatePredefinedAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePredefinedAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePredefinedAttributeOutput { return CreatePredefinedAttributeOutput() } } extension CreatePromptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePromptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePromptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27952,7 +28268,7 @@ extension CreatePromptOutput { extension CreateQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27965,7 +28281,7 @@ extension CreateQueueOutput { extension CreateQuickConnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQuickConnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQuickConnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27978,7 +28294,7 @@ extension CreateQuickConnectOutput { extension CreateRoutingProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoutingProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoutingProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27991,7 +28307,7 @@ extension CreateRoutingProfileOutput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28004,7 +28320,7 @@ extension CreateRuleOutput { extension CreateSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28017,7 +28333,7 @@ extension CreateSecurityProfileOutput { extension CreateTaskTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTaskTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTaskTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28030,7 +28346,7 @@ extension CreateTaskTemplateOutput { extension CreateTrafficDistributionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficDistributionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficDistributionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28043,7 +28359,7 @@ extension CreateTrafficDistributionGroupOutput { extension CreateUseCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUseCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUseCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28056,7 +28372,7 @@ extension CreateUseCaseOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28069,7 +28385,7 @@ extension CreateUserOutput { extension CreateUserHierarchyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserHierarchyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserHierarchyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28082,7 +28398,7 @@ extension CreateUserHierarchyGroupOutput { extension CreateViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28094,7 +28410,7 @@ extension CreateViewOutput { extension CreateViewVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateViewVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateViewVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28106,7 +28422,7 @@ extension CreateViewVersionOutput { extension CreateVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28120,7 +28436,7 @@ extension CreateVocabularyOutput { extension DeactivateEvaluationFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateEvaluationFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateEvaluationFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28134,161 +28450,161 @@ extension DeactivateEvaluationFormOutput { extension DeleteAttachedFileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttachedFileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttachedFileOutput { return DeleteAttachedFileOutput() } } extension DeleteContactEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactEvaluationOutput { return DeleteContactEvaluationOutput() } } extension DeleteContactFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactFlowOutput { return DeleteContactFlowOutput() } } extension DeleteContactFlowModuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactFlowModuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactFlowModuleOutput { return DeleteContactFlowModuleOutput() } } extension DeleteEvaluationFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEvaluationFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEvaluationFormOutput { return DeleteEvaluationFormOutput() } } extension DeleteHoursOfOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHoursOfOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHoursOfOperationOutput { return DeleteHoursOfOperationOutput() } } extension DeleteInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOutput { return DeleteInstanceOutput() } } extension DeleteIntegrationAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationAssociationOutput { return DeleteIntegrationAssociationOutput() } } extension DeletePredefinedAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePredefinedAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePredefinedAttributeOutput { return DeletePredefinedAttributeOutput() } } extension DeletePromptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePromptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePromptOutput { return DeletePromptOutput() } } extension DeleteQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueueOutput { return DeleteQueueOutput() } } extension DeleteQuickConnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQuickConnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQuickConnectOutput { return DeleteQuickConnectOutput() } } extension DeleteRoutingProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoutingProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoutingProfileOutput { return DeleteRoutingProfileOutput() } } extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension DeleteSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityProfileOutput { return DeleteSecurityProfileOutput() } } extension DeleteTaskTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTaskTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTaskTemplateOutput { return DeleteTaskTemplateOutput() } } extension DeleteTrafficDistributionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficDistributionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficDistributionGroupOutput { return DeleteTrafficDistributionGroupOutput() } } extension DeleteUseCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUseCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUseCaseOutput { return DeleteUseCaseOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DeleteUserHierarchyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserHierarchyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserHierarchyGroupOutput { return DeleteUserHierarchyGroupOutput() } } extension DeleteViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteViewOutput { return DeleteViewOutput() } } extension DeleteViewVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteViewVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteViewVersionOutput { return DeleteViewVersionOutput() } } extension DeleteVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28302,7 +28618,7 @@ extension DeleteVocabularyOutput { extension DescribeAgentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAgentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAgentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28312,9 +28628,21 @@ extension DescribeAgentStatusOutput { } } +extension DescribeAuthenticationProfileOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuthenticationProfileOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeAuthenticationProfileOutput() + value.authenticationProfile = try reader["AuthenticationProfile"].readIfPresent(with: ConnectClientTypes.AuthenticationProfile.read(from:)) + return value + } +} + extension DescribeContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28326,7 +28654,7 @@ extension DescribeContactOutput { extension DescribeContactEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContactEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContactEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28339,7 +28667,7 @@ extension DescribeContactEvaluationOutput { extension DescribeContactFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContactFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContactFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28351,7 +28679,7 @@ extension DescribeContactFlowOutput { extension DescribeContactFlowModuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContactFlowModuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContactFlowModuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28363,7 +28691,7 @@ extension DescribeContactFlowModuleOutput { extension DescribeEvaluationFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEvaluationFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEvaluationFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28375,7 +28703,7 @@ extension DescribeEvaluationFormOutput { extension DescribeHoursOfOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHoursOfOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHoursOfOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28387,7 +28715,7 @@ extension DescribeHoursOfOperationOutput { extension DescribeInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28399,7 +28727,7 @@ extension DescribeInstanceOutput { extension DescribeInstanceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28411,7 +28739,7 @@ extension DescribeInstanceAttributeOutput { extension DescribeInstanceStorageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceStorageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceStorageConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28423,7 +28751,7 @@ extension DescribeInstanceStorageConfigOutput { extension DescribePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28435,7 +28763,7 @@ extension DescribePhoneNumberOutput { extension DescribePredefinedAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePredefinedAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePredefinedAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28447,7 +28775,7 @@ extension DescribePredefinedAttributeOutput { extension DescribePromptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePromptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePromptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28459,7 +28787,7 @@ extension DescribePromptOutput { extension DescribeQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28471,7 +28799,7 @@ extension DescribeQueueOutput { extension DescribeQuickConnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQuickConnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQuickConnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28483,7 +28811,7 @@ extension DescribeQuickConnectOutput { extension DescribeRoutingProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRoutingProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRoutingProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28495,7 +28823,7 @@ extension DescribeRoutingProfileOutput { extension DescribeRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28507,7 +28835,7 @@ extension DescribeRuleOutput { extension DescribeSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28519,7 +28847,7 @@ extension DescribeSecurityProfileOutput { extension DescribeTrafficDistributionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrafficDistributionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrafficDistributionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28531,7 +28859,7 @@ extension DescribeTrafficDistributionGroupOutput { extension DescribeUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28543,7 +28871,7 @@ extension DescribeUserOutput { extension DescribeUserHierarchyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserHierarchyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserHierarchyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28555,7 +28883,7 @@ extension DescribeUserHierarchyGroupOutput { extension DescribeUserHierarchyStructureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserHierarchyStructureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserHierarchyStructureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28567,7 +28895,7 @@ extension DescribeUserHierarchyStructureOutput { extension DescribeViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28579,7 +28907,7 @@ extension DescribeViewOutput { extension DescribeVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28591,105 +28919,105 @@ extension DescribeVocabularyOutput { extension DisassociateAnalyticsDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAnalyticsDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAnalyticsDataSetOutput { return DisassociateAnalyticsDataSetOutput() } } extension DisassociateApprovedOriginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateApprovedOriginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateApprovedOriginOutput { return DisassociateApprovedOriginOutput() } } extension DisassociateBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateBotOutput { return DisassociateBotOutput() } } extension DisassociateFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFlowOutput { return DisassociateFlowOutput() } } extension DisassociateInstanceStorageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateInstanceStorageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateInstanceStorageConfigOutput { return DisassociateInstanceStorageConfigOutput() } } extension DisassociateLambdaFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateLambdaFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateLambdaFunctionOutput { return DisassociateLambdaFunctionOutput() } } extension DisassociateLexBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateLexBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateLexBotOutput { return DisassociateLexBotOutput() } } extension DisassociatePhoneNumberContactFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePhoneNumberContactFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePhoneNumberContactFlowOutput { return DisassociatePhoneNumberContactFlowOutput() } } extension DisassociateQueueQuickConnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateQueueQuickConnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateQueueQuickConnectsOutput { return DisassociateQueueQuickConnectsOutput() } } extension DisassociateRoutingProfileQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateRoutingProfileQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateRoutingProfileQueuesOutput { return DisassociateRoutingProfileQueuesOutput() } } extension DisassociateSecurityKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateSecurityKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateSecurityKeyOutput { return DisassociateSecurityKeyOutput() } } extension DisassociateTrafficDistributionGroupUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTrafficDistributionGroupUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTrafficDistributionGroupUserOutput { return DisassociateTrafficDistributionGroupUserOutput() } } extension DisassociateUserProficienciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateUserProficienciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateUserProficienciesOutput { return DisassociateUserProficienciesOutput() } } extension DismissUserContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DismissUserContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DismissUserContactOutput { return DismissUserContactOutput() } } extension GetAttachedFileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAttachedFileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAttachedFileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28711,7 +29039,7 @@ extension GetAttachedFileOutput { extension GetContactAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28723,7 +29051,7 @@ extension GetContactAttributesOutput { extension GetCurrentMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCurrentMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCurrentMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28738,7 +29066,7 @@ extension GetCurrentMetricDataOutput { extension GetCurrentUserDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCurrentUserDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCurrentUserDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28752,7 +29080,7 @@ extension GetCurrentUserDataOutput { extension GetFederationTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFederationTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFederationTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28767,7 +29095,7 @@ extension GetFederationTokenOutput { extension GetFlowAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFlowAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28781,7 +29109,7 @@ extension GetFlowAssociationOutput { extension GetMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28794,7 +29122,7 @@ extension GetMetricDataOutput { extension GetMetricDataV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricDataV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricDataV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28807,7 +29135,7 @@ extension GetMetricDataV2Output { extension GetPromptFileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPromptFileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPromptFileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28821,7 +29149,7 @@ extension GetPromptFileOutput { extension GetTaskTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTaskTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTaskTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28845,7 +29173,7 @@ extension GetTaskTemplateOutput { extension GetTrafficDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrafficDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrafficDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28861,7 +29189,7 @@ extension GetTrafficDistributionOutput { extension ImportPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportPhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28874,7 +29202,7 @@ extension ImportPhoneNumberOutput { extension ListAgentStatusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentStatusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentStatusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28887,7 +29215,7 @@ extension ListAgentStatusesOutput { extension ListAnalyticsDataAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnalyticsDataAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnalyticsDataAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28900,7 +29228,7 @@ extension ListAnalyticsDataAssociationsOutput { extension ListApprovedOriginsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApprovedOriginsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApprovedOriginsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28911,9 +29239,22 @@ extension ListApprovedOriginsOutput { } } +extension ListAuthenticationProfilesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuthenticationProfilesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListAuthenticationProfilesOutput() + value.authenticationProfileSummaryList = try reader["AuthenticationProfileSummaryList"].readListIfPresent(memberReadingClosure: ConnectClientTypes.AuthenticationProfileSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["NextToken"].readIfPresent() + return value + } +} + extension ListBotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28926,7 +29267,7 @@ extension ListBotsOutput { extension ListContactEvaluationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactEvaluationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactEvaluationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28939,7 +29280,7 @@ extension ListContactEvaluationsOutput { extension ListContactFlowModulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactFlowModulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactFlowModulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28952,7 +29293,7 @@ extension ListContactFlowModulesOutput { extension ListContactFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactFlowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28965,7 +29306,7 @@ extension ListContactFlowsOutput { extension ListContactReferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactReferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactReferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28978,7 +29319,7 @@ extension ListContactReferencesOutput { extension ListDefaultVocabulariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDefaultVocabulariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDefaultVocabulariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28991,7 +29332,7 @@ extension ListDefaultVocabulariesOutput { extension ListEvaluationFormsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEvaluationFormsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEvaluationFormsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29004,7 +29345,7 @@ extension ListEvaluationFormsOutput { extension ListEvaluationFormVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEvaluationFormVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEvaluationFormVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29017,7 +29358,7 @@ extension ListEvaluationFormVersionsOutput { extension ListFlowAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlowAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29030,7 +29371,7 @@ extension ListFlowAssociationsOutput { extension ListHoursOfOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHoursOfOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHoursOfOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29043,7 +29384,7 @@ extension ListHoursOfOperationsOutput { extension ListInstanceAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29056,7 +29397,7 @@ extension ListInstanceAttributesOutput { extension ListInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29069,7 +29410,7 @@ extension ListInstancesOutput { extension ListInstanceStorageConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceStorageConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceStorageConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29082,7 +29423,7 @@ extension ListInstanceStorageConfigsOutput { extension ListIntegrationAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIntegrationAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIntegrationAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29095,7 +29436,7 @@ extension ListIntegrationAssociationsOutput { extension ListLambdaFunctionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLambdaFunctionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLambdaFunctionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29108,7 +29449,7 @@ extension ListLambdaFunctionsOutput { extension ListLexBotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLexBotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLexBotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29121,7 +29462,7 @@ extension ListLexBotsOutput { extension ListPhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29134,7 +29475,7 @@ extension ListPhoneNumbersOutput { extension ListPhoneNumbersV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumbersV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumbersV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29147,7 +29488,7 @@ extension ListPhoneNumbersV2Output { extension ListPredefinedAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPredefinedAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPredefinedAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29160,7 +29501,7 @@ extension ListPredefinedAttributesOutput { extension ListPromptsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPromptsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPromptsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29173,7 +29514,7 @@ extension ListPromptsOutput { extension ListQueueQuickConnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueueQuickConnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueueQuickConnectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29188,7 +29529,7 @@ extension ListQueueQuickConnectsOutput { extension ListQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29201,7 +29542,7 @@ extension ListQueuesOutput { extension ListQuickConnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQuickConnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQuickConnectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29214,7 +29555,7 @@ extension ListQuickConnectsOutput { extension ListRealtimeContactAnalysisSegmentsV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRealtimeContactAnalysisSegmentsV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRealtimeContactAnalysisSegmentsV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29229,7 +29570,7 @@ extension ListRealtimeContactAnalysisSegmentsV2Output { extension ListRoutingProfileQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoutingProfileQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoutingProfileQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29244,7 +29585,7 @@ extension ListRoutingProfileQueuesOutput { extension ListRoutingProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoutingProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoutingProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29257,7 +29598,7 @@ extension ListRoutingProfilesOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29270,7 +29611,7 @@ extension ListRulesOutput { extension ListSecurityKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29283,7 +29624,7 @@ extension ListSecurityKeysOutput { extension ListSecurityProfileApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityProfileApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityProfileApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29298,7 +29639,7 @@ extension ListSecurityProfileApplicationsOutput { extension ListSecurityProfilePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityProfilePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityProfilePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29313,7 +29654,7 @@ extension ListSecurityProfilePermissionsOutput { extension ListSecurityProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29326,7 +29667,7 @@ extension ListSecurityProfilesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29338,7 +29679,7 @@ extension ListTagsForResourceOutput { extension ListTaskTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTaskTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTaskTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29351,7 +29692,7 @@ extension ListTaskTemplatesOutput { extension ListTrafficDistributionGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficDistributionGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficDistributionGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29364,7 +29705,7 @@ extension ListTrafficDistributionGroupsOutput { extension ListTrafficDistributionGroupUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficDistributionGroupUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficDistributionGroupUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29377,7 +29718,7 @@ extension ListTrafficDistributionGroupUsersOutput { extension ListUseCasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUseCasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUseCasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29390,7 +29731,7 @@ extension ListUseCasesOutput { extension ListUserHierarchyGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserHierarchyGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserHierarchyGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29403,7 +29744,7 @@ extension ListUserHierarchyGroupsOutput { extension ListUserProficienciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserProficienciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserProficienciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29418,7 +29759,7 @@ extension ListUserProficienciesOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29431,7 +29772,7 @@ extension ListUsersOutput { extension ListViewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListViewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListViewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29444,7 +29785,7 @@ extension ListViewsOutput { extension ListViewVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListViewVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListViewVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29457,7 +29798,7 @@ extension ListViewVersionsOutput { extension MonitorContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MonitorContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MonitorContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29470,28 +29811,28 @@ extension MonitorContactOutput { extension PauseContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PauseContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseContactOutput { return PauseContactOutput() } } extension PutUserStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutUserStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutUserStatusOutput { return PutUserStatusOutput() } } extension ReleasePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleasePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleasePhoneNumberOutput { return ReleasePhoneNumberOutput() } } extension ReplicateInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplicateInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplicateInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29504,21 +29845,21 @@ extension ReplicateInstanceOutput { extension ResumeContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeContactOutput { return ResumeContactOutput() } } extension ResumeContactRecordingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeContactRecordingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeContactRecordingOutput { return ResumeContactRecordingOutput() } } extension SearchAvailablePhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchAvailablePhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchAvailablePhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29531,7 +29872,7 @@ extension SearchAvailablePhoneNumbersOutput { extension SearchContactFlowModulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchContactFlowModulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchContactFlowModulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29545,7 +29886,7 @@ extension SearchContactFlowModulesOutput { extension SearchContactFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchContactFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchContactFlowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29559,7 +29900,7 @@ extension SearchContactFlowsOutput { extension SearchContactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchContactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchContactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29573,7 +29914,7 @@ extension SearchContactsOutput { extension SearchHoursOfOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchHoursOfOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchHoursOfOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29587,7 +29928,7 @@ extension SearchHoursOfOperationsOutput { extension SearchPredefinedAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchPredefinedAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchPredefinedAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29601,7 +29942,7 @@ extension SearchPredefinedAttributesOutput { extension SearchPromptsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchPromptsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchPromptsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29615,7 +29956,7 @@ extension SearchPromptsOutput { extension SearchQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29629,7 +29970,7 @@ extension SearchQueuesOutput { extension SearchQuickConnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchQuickConnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchQuickConnectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29643,7 +29984,7 @@ extension SearchQuickConnectsOutput { extension SearchResourceTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchResourceTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchResourceTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29656,7 +29997,7 @@ extension SearchResourceTagsOutput { extension SearchRoutingProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchRoutingProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchRoutingProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29670,7 +30011,7 @@ extension SearchRoutingProfilesOutput { extension SearchSecurityProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchSecurityProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchSecurityProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29684,7 +30025,7 @@ extension SearchSecurityProfilesOutput { extension SearchUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29698,7 +30039,7 @@ extension SearchUsersOutput { extension SearchVocabulariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchVocabulariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchVocabulariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29711,7 +30052,7 @@ extension SearchVocabulariesOutput { extension SendChatIntegrationEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendChatIntegrationEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendChatIntegrationEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29724,7 +30065,7 @@ extension SendChatIntegrationEventOutput { extension StartAttachedFileUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAttachedFileUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAttachedFileUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29741,7 +30082,7 @@ extension StartAttachedFileUploadOutput { extension StartChatContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartChatContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartChatContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29756,7 +30097,7 @@ extension StartChatContactOutput { extension StartContactEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContactEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContactEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29769,14 +30110,14 @@ extension StartContactEvaluationOutput { extension StartContactRecordingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContactRecordingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContactRecordingOutput { return StartContactRecordingOutput() } } extension StartContactStreamingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContactStreamingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContactStreamingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29788,7 +30129,7 @@ extension StartContactStreamingOutput { extension StartOutboundVoiceContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartOutboundVoiceContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartOutboundVoiceContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29800,7 +30141,7 @@ extension StartOutboundVoiceContactOutput { extension StartTaskContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTaskContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTaskContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29812,7 +30153,7 @@ extension StartTaskContactOutput { extension StartWebRTCContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWebRTCContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWebRTCContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29827,28 +30168,28 @@ extension StartWebRTCContactOutput { extension StopContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopContactOutput { return StopContactOutput() } } extension StopContactRecordingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopContactRecordingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopContactRecordingOutput { return StopContactRecordingOutput() } } extension StopContactStreamingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopContactStreamingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopContactStreamingOutput { return StopContactStreamingOutput() } } extension SubmitContactEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitContactEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitContactEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29861,28 +30202,28 @@ extension SubmitContactEvaluationOutput { extension SuspendContactRecordingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SuspendContactRecordingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SuspendContactRecordingOutput { return SuspendContactRecordingOutput() } } extension TagContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagContactOutput { return TagContactOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TransferContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransferContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransferContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29895,42 +30236,49 @@ extension TransferContactOutput { extension UntagContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagContactOutput { return UntagContactOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAgentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentStatusOutput { return UpdateAgentStatusOutput() } } +extension UpdateAuthenticationProfileOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuthenticationProfileOutput { + return UpdateAuthenticationProfileOutput() + } +} + extension UpdateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactOutput { return UpdateContactOutput() } } extension UpdateContactAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactAttributesOutput { return UpdateContactAttributesOutput() } } extension UpdateContactEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29943,56 +30291,56 @@ extension UpdateContactEvaluationOutput { extension UpdateContactFlowContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactFlowContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactFlowContentOutput { return UpdateContactFlowContentOutput() } } extension UpdateContactFlowMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactFlowMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactFlowMetadataOutput { return UpdateContactFlowMetadataOutput() } } extension UpdateContactFlowModuleContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactFlowModuleContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactFlowModuleContentOutput { return UpdateContactFlowModuleContentOutput() } } extension UpdateContactFlowModuleMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactFlowModuleMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactFlowModuleMetadataOutput { return UpdateContactFlowModuleMetadataOutput() } } extension UpdateContactFlowNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactFlowNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactFlowNameOutput { return UpdateContactFlowNameOutput() } } extension UpdateContactRoutingDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactRoutingDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactRoutingDataOutput { return UpdateContactRoutingDataOutput() } } extension UpdateContactScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactScheduleOutput { return UpdateContactScheduleOutput() } } extension UpdateEvaluationFormOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEvaluationFormOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEvaluationFormOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30006,35 +30354,35 @@ extension UpdateEvaluationFormOutput { extension UpdateHoursOfOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHoursOfOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHoursOfOperationOutput { return UpdateHoursOfOperationOutput() } } extension UpdateInstanceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceAttributeOutput { return UpdateInstanceAttributeOutput() } } extension UpdateInstanceStorageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceStorageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceStorageConfigOutput { return UpdateInstanceStorageConfigOutput() } } extension UpdateParticipantRoleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateParticipantRoleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateParticipantRoleConfigOutput { return UpdateParticipantRoleConfigOutput() } } extension UpdatePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30047,21 +30395,21 @@ extension UpdatePhoneNumberOutput { extension UpdatePhoneNumberMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberMetadataOutput { return UpdatePhoneNumberMetadataOutput() } } extension UpdatePredefinedAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePredefinedAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePredefinedAttributeOutput { return UpdatePredefinedAttributeOutput() } } extension UpdatePromptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePromptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePromptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30074,105 +30422,105 @@ extension UpdatePromptOutput { extension UpdateQueueHoursOfOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueHoursOfOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueHoursOfOperationOutput { return UpdateQueueHoursOfOperationOutput() } } extension UpdateQueueMaxContactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueMaxContactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueMaxContactsOutput { return UpdateQueueMaxContactsOutput() } } extension UpdateQueueNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueNameOutput { return UpdateQueueNameOutput() } } extension UpdateQueueOutboundCallerConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueOutboundCallerConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueOutboundCallerConfigOutput { return UpdateQueueOutboundCallerConfigOutput() } } extension UpdateQueueStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueStatusOutput { return UpdateQueueStatusOutput() } } extension UpdateQuickConnectConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQuickConnectConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQuickConnectConfigOutput { return UpdateQuickConnectConfigOutput() } } extension UpdateQuickConnectNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQuickConnectNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQuickConnectNameOutput { return UpdateQuickConnectNameOutput() } } extension UpdateRoutingProfileAgentAvailabilityTimerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingProfileAgentAvailabilityTimerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingProfileAgentAvailabilityTimerOutput { return UpdateRoutingProfileAgentAvailabilityTimerOutput() } } extension UpdateRoutingProfileConcurrencyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingProfileConcurrencyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingProfileConcurrencyOutput { return UpdateRoutingProfileConcurrencyOutput() } } extension UpdateRoutingProfileDefaultOutboundQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingProfileDefaultOutboundQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingProfileDefaultOutboundQueueOutput { return UpdateRoutingProfileDefaultOutboundQueueOutput() } } extension UpdateRoutingProfileNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingProfileNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingProfileNameOutput { return UpdateRoutingProfileNameOutput() } } extension UpdateRoutingProfileQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingProfileQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingProfileQueuesOutput { return UpdateRoutingProfileQueuesOutput() } } extension UpdateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleOutput { return UpdateRuleOutput() } } extension UpdateSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityProfileOutput { return UpdateSecurityProfileOutput() } } extension UpdateTaskTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTaskTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTaskTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30195,70 +30543,70 @@ extension UpdateTaskTemplateOutput { extension UpdateTrafficDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrafficDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrafficDistributionOutput { return UpdateTrafficDistributionOutput() } } extension UpdateUserHierarchyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserHierarchyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserHierarchyOutput { return UpdateUserHierarchyOutput() } } extension UpdateUserHierarchyGroupNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserHierarchyGroupNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserHierarchyGroupNameOutput { return UpdateUserHierarchyGroupNameOutput() } } extension UpdateUserHierarchyStructureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserHierarchyStructureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserHierarchyStructureOutput { return UpdateUserHierarchyStructureOutput() } } extension UpdateUserIdentityInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserIdentityInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserIdentityInfoOutput { return UpdateUserIdentityInfoOutput() } } extension UpdateUserPhoneConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserPhoneConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserPhoneConfigOutput { return UpdateUserPhoneConfigOutput() } } extension UpdateUserProficienciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserProficienciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserProficienciesOutput { return UpdateUserProficienciesOutput() } } extension UpdateUserRoutingProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserRoutingProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserRoutingProfileOutput { return UpdateUserRoutingProfileOutput() } } extension UpdateUserSecurityProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserSecurityProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserSecurityProfilesOutput { return UpdateUserSecurityProfilesOutput() } } extension UpdateViewContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateViewContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateViewContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30270,14 +30618,14 @@ extension UpdateViewContentOutput { extension UpdateViewMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateViewMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateViewMetadataOutput { return UpdateViewMetadataOutput() } } enum ActivateEvaluationFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30295,7 +30643,7 @@ enum ActivateEvaluationFormOutputError { enum AssociateAnalyticsDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30313,7 +30661,7 @@ enum AssociateAnalyticsDataSetOutputError { enum AssociateApprovedOriginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30333,7 +30681,7 @@ enum AssociateApprovedOriginOutputError { enum AssociateBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30353,7 +30701,7 @@ enum AssociateBotOutputError { enum AssociateDefaultVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30371,7 +30719,7 @@ enum AssociateDefaultVocabularyOutputError { enum AssociateFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30390,7 +30738,7 @@ enum AssociateFlowOutputError { enum AssociateInstanceStorageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30409,7 +30757,7 @@ enum AssociateInstanceStorageConfigOutputError { enum AssociateLambdaFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30429,7 +30777,7 @@ enum AssociateLambdaFunctionOutputError { enum AssociateLexBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30449,7 +30797,7 @@ enum AssociateLexBotOutputError { enum AssociatePhoneNumberContactFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30467,7 +30815,7 @@ enum AssociatePhoneNumberContactFlowOutputError { enum AssociateQueueQuickConnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30486,7 +30834,7 @@ enum AssociateQueueQuickConnectsOutputError { enum AssociateRoutingProfileQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30504,7 +30852,7 @@ enum AssociateRoutingProfileQueuesOutputError { enum AssociateSecurityKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30524,7 +30872,7 @@ enum AssociateSecurityKeyOutputError { enum AssociateTrafficDistributionGroupUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30543,7 +30891,7 @@ enum AssociateTrafficDistributionGroupUserOutputError { enum AssociateUserProficienciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30561,7 +30909,7 @@ enum AssociateUserProficienciesOutputError { enum BatchAssociateAnalyticsDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30579,7 +30927,7 @@ enum BatchAssociateAnalyticsDataSetOutputError { enum BatchDisassociateAnalyticsDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30597,7 +30945,7 @@ enum BatchDisassociateAnalyticsDataSetOutputError { enum BatchGetAttachedFileMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30615,7 +30963,7 @@ enum BatchGetAttachedFileMetadataOutputError { enum BatchGetFlowAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30634,7 +30982,7 @@ enum BatchGetFlowAssociationOutputError { enum BatchPutContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30653,7 +31001,7 @@ enum BatchPutContactOutputError { enum ClaimPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30672,7 +31020,7 @@ enum ClaimPhoneNumberOutputError { enum CompleteAttachedFileUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30690,7 +31038,7 @@ enum CompleteAttachedFileUploadOutputError { enum CreateAgentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30710,7 +31058,7 @@ enum CreateAgentStatusOutputError { enum CreateContactFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30731,7 +31079,7 @@ enum CreateContactFlowOutputError { enum CreateContactFlowModuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30754,7 +31102,7 @@ enum CreateContactFlowModuleOutputError { enum CreateEvaluationFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30773,7 +31121,7 @@ enum CreateEvaluationFormOutputError { enum CreateHoursOfOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30793,7 +31141,7 @@ enum CreateHoursOfOperationOutputError { enum CreateInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30811,7 +31159,7 @@ enum CreateInstanceOutputError { enum CreateIntegrationAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30829,7 +31177,7 @@ enum CreateIntegrationAssociationOutputError { enum CreateParticipantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30847,7 +31195,7 @@ enum CreateParticipantOutputError { enum CreatePersistentContactAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30866,7 +31214,7 @@ enum CreatePersistentContactAssociationOutputError { enum CreatePredefinedAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30886,7 +31234,7 @@ enum CreatePredefinedAttributeOutputError { enum CreatePromptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30905,7 +31253,7 @@ enum CreatePromptOutputError { enum CreateQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30925,7 +31273,7 @@ enum CreateQueueOutputError { enum CreateQuickConnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30945,7 +31293,7 @@ enum CreateQuickConnectOutputError { enum CreateRoutingProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30965,7 +31313,7 @@ enum CreateRoutingProfileOutputError { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30985,7 +31333,7 @@ enum CreateRuleOutputError { enum CreateSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31005,7 +31353,7 @@ enum CreateSecurityProfileOutputError { enum CreateTaskTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31024,7 +31372,7 @@ enum CreateTaskTemplateOutputError { enum CreateTrafficDistributionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31045,7 +31393,7 @@ enum CreateTrafficDistributionGroupOutputError { enum CreateUseCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31063,7 +31411,7 @@ enum CreateUseCaseOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31083,7 +31431,7 @@ enum CreateUserOutputError { enum CreateUserHierarchyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31103,7 +31451,7 @@ enum CreateUserHierarchyGroupOutputError { enum CreateViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31125,7 +31473,7 @@ enum CreateViewOutputError { enum CreateViewVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31146,7 +31494,7 @@ enum CreateViewVersionOutputError { enum CreateVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31166,7 +31514,7 @@ enum CreateVocabularyOutputError { enum DeactivateEvaluationFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31184,7 +31532,7 @@ enum DeactivateEvaluationFormOutputError { enum DeleteAttachedFileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31202,7 +31550,7 @@ enum DeleteAttachedFileOutputError { enum DeleteContactEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31220,7 +31568,7 @@ enum DeleteContactEvaluationOutputError { enum DeleteContactFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31239,7 +31587,7 @@ enum DeleteContactFlowOutputError { enum DeleteContactFlowModuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31258,7 +31606,7 @@ enum DeleteContactFlowModuleOutputError { enum DeleteEvaluationFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31276,7 +31624,7 @@ enum DeleteEvaluationFormOutputError { enum DeleteHoursOfOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31294,7 +31642,7 @@ enum DeleteHoursOfOperationOutputError { enum DeleteInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31310,7 +31658,7 @@ enum DeleteInstanceOutputError { enum DeleteIntegrationAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31327,7 +31675,7 @@ enum DeleteIntegrationAssociationOutputError { enum DeletePredefinedAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31346,7 +31694,7 @@ enum DeletePredefinedAttributeOutputError { enum DeletePromptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31364,7 +31712,7 @@ enum DeletePromptOutputError { enum DeleteQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31383,7 +31731,7 @@ enum DeleteQueueOutputError { enum DeleteQuickConnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31401,7 +31749,7 @@ enum DeleteQuickConnectOutputError { enum DeleteRoutingProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31420,7 +31768,7 @@ enum DeleteRoutingProfileOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31438,7 +31786,7 @@ enum DeleteRuleOutputError { enum DeleteSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31458,7 +31806,7 @@ enum DeleteSecurityProfileOutputError { enum DeleteTaskTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31476,7 +31824,7 @@ enum DeleteTaskTemplateOutputError { enum DeleteTrafficDistributionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31494,7 +31842,7 @@ enum DeleteTrafficDistributionGroupOutputError { enum DeleteUseCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31511,7 +31859,7 @@ enum DeleteUseCaseOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31529,7 +31877,7 @@ enum DeleteUserOutputError { enum DeleteUserHierarchyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31548,7 +31896,7 @@ enum DeleteUserHierarchyGroupOutputError { enum DeleteViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31568,7 +31916,7 @@ enum DeleteViewOutputError { enum DeleteViewVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31588,7 +31936,7 @@ enum DeleteViewVersionOutputError { enum DeleteVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31607,7 +31955,25 @@ enum DeleteVocabularyOutputError { enum DescribeAgentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServiceException": return try InternalServiceException.makeError(baseError: baseError) + case "InvalidParameterException": return try InvalidParameterException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeAuthenticationProfileOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31625,7 +31991,7 @@ enum DescribeAgentStatusOutputError { enum DescribeContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31643,7 +32009,7 @@ enum DescribeContactOutputError { enum DescribeContactEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31660,7 +32026,7 @@ enum DescribeContactEvaluationOutputError { enum DescribeContactFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31679,7 +32045,7 @@ enum DescribeContactFlowOutputError { enum DescribeContactFlowModuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31698,7 +32064,7 @@ enum DescribeContactFlowModuleOutputError { enum DescribeEvaluationFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31715,7 +32081,7 @@ enum DescribeEvaluationFormOutputError { enum DescribeHoursOfOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31733,7 +32099,7 @@ enum DescribeHoursOfOperationOutputError { enum DescribeInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31749,7 +32115,7 @@ enum DescribeInstanceOutputError { enum DescribeInstanceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31767,7 +32133,7 @@ enum DescribeInstanceAttributeOutputError { enum DescribeInstanceStorageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31785,7 +32151,7 @@ enum DescribeInstanceStorageConfigOutputError { enum DescribePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31803,7 +32169,7 @@ enum DescribePhoneNumberOutputError { enum DescribePredefinedAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31821,7 +32187,7 @@ enum DescribePredefinedAttributeOutputError { enum DescribePromptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31839,7 +32205,7 @@ enum DescribePromptOutputError { enum DescribeQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31857,7 +32223,7 @@ enum DescribeQueueOutputError { enum DescribeQuickConnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31875,7 +32241,7 @@ enum DescribeQuickConnectOutputError { enum DescribeRoutingProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31893,7 +32259,7 @@ enum DescribeRoutingProfileOutputError { enum DescribeRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31911,7 +32277,7 @@ enum DescribeRuleOutputError { enum DescribeSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31929,7 +32295,7 @@ enum DescribeSecurityProfileOutputError { enum DescribeTrafficDistributionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31947,7 +32313,7 @@ enum DescribeTrafficDistributionGroupOutputError { enum DescribeUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31965,7 +32331,7 @@ enum DescribeUserOutputError { enum DescribeUserHierarchyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31983,7 +32349,7 @@ enum DescribeUserHierarchyGroupOutputError { enum DescribeUserHierarchyStructureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32001,7 +32367,7 @@ enum DescribeUserHierarchyStructureOutputError { enum DescribeViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32020,7 +32386,7 @@ enum DescribeViewOutputError { enum DescribeVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32038,7 +32404,7 @@ enum DescribeVocabularyOutputError { enum DisassociateAnalyticsDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32056,7 +32422,7 @@ enum DisassociateAnalyticsDataSetOutputError { enum DisassociateApprovedOriginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32074,7 +32440,7 @@ enum DisassociateApprovedOriginOutputError { enum DisassociateBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32091,7 +32457,7 @@ enum DisassociateBotOutputError { enum DisassociateFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32110,7 +32476,7 @@ enum DisassociateFlowOutputError { enum DisassociateInstanceStorageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32128,7 +32494,7 @@ enum DisassociateInstanceStorageConfigOutputError { enum DisassociateLambdaFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32146,7 +32512,7 @@ enum DisassociateLambdaFunctionOutputError { enum DisassociateLexBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32164,7 +32530,7 @@ enum DisassociateLexBotOutputError { enum DisassociatePhoneNumberContactFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32182,7 +32548,7 @@ enum DisassociatePhoneNumberContactFlowOutputError { enum DisassociateQueueQuickConnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32200,7 +32566,7 @@ enum DisassociateQueueQuickConnectsOutputError { enum DisassociateRoutingProfileQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32218,7 +32584,7 @@ enum DisassociateRoutingProfileQueuesOutputError { enum DisassociateSecurityKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32236,7 +32602,7 @@ enum DisassociateSecurityKeyOutputError { enum DisassociateTrafficDistributionGroupUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32255,7 +32621,7 @@ enum DisassociateTrafficDistributionGroupUserOutputError { enum DisassociateUserProficienciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32273,7 +32639,7 @@ enum DisassociateUserProficienciesOutputError { enum DismissUserContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32292,7 +32658,7 @@ enum DismissUserContactOutputError { enum GetAttachedFileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32310,7 +32676,7 @@ enum GetAttachedFileOutputError { enum GetContactAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32326,7 +32692,7 @@ enum GetContactAttributesOutputError { enum GetCurrentMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32344,7 +32710,7 @@ enum GetCurrentMetricDataOutputError { enum GetCurrentUserDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32362,7 +32728,7 @@ enum GetCurrentUserDataOutputError { enum GetFederationTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32381,7 +32747,7 @@ enum GetFederationTokenOutputError { enum GetFlowAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32400,7 +32766,7 @@ enum GetFlowAssociationOutputError { enum GetMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32418,7 +32784,7 @@ enum GetMetricDataOutputError { enum GetMetricDataV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32436,7 +32802,7 @@ enum GetMetricDataV2OutputError { enum GetPromptFileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32454,7 +32820,7 @@ enum GetPromptFileOutputError { enum GetTaskTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32472,7 +32838,7 @@ enum GetTaskTemplateOutputError { enum GetTrafficDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32490,7 +32856,7 @@ enum GetTrafficDistributionOutputError { enum ImportPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32509,7 +32875,7 @@ enum ImportPhoneNumberOutputError { enum ListAgentStatusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32527,7 +32893,7 @@ enum ListAgentStatusesOutputError { enum ListAnalyticsDataAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32545,7 +32911,25 @@ enum ListAnalyticsDataAssociationsOutputError { enum ListApprovedOriginsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServiceException": return try InternalServiceException.makeError(baseError: baseError) + case "InvalidParameterException": return try InvalidParameterException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListAuthenticationProfilesOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32563,7 +32947,7 @@ enum ListApprovedOriginsOutputError { enum ListBotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32580,7 +32964,7 @@ enum ListBotsOutputError { enum ListContactEvaluationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32597,7 +32981,7 @@ enum ListContactEvaluationsOutputError { enum ListContactFlowModulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32616,7 +33000,7 @@ enum ListContactFlowModulesOutputError { enum ListContactFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32634,7 +33018,7 @@ enum ListContactFlowsOutputError { enum ListContactReferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32652,7 +33036,7 @@ enum ListContactReferencesOutputError { enum ListDefaultVocabulariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32669,7 +33053,7 @@ enum ListDefaultVocabulariesOutputError { enum ListEvaluationFormsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32686,7 +33070,7 @@ enum ListEvaluationFormsOutputError { enum ListEvaluationFormVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32703,7 +33087,7 @@ enum ListEvaluationFormVersionsOutputError { enum ListFlowAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32722,7 +33106,7 @@ enum ListFlowAssociationsOutputError { enum ListHoursOfOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32740,7 +33124,7 @@ enum ListHoursOfOperationsOutputError { enum ListInstanceAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32758,7 +33142,7 @@ enum ListInstanceAttributesOutputError { enum ListInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32773,7 +33157,7 @@ enum ListInstancesOutputError { enum ListInstanceStorageConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32791,7 +33175,7 @@ enum ListInstanceStorageConfigsOutputError { enum ListIntegrationAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32808,7 +33192,7 @@ enum ListIntegrationAssociationsOutputError { enum ListLambdaFunctionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32826,7 +33210,7 @@ enum ListLambdaFunctionsOutputError { enum ListLexBotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32844,7 +33228,7 @@ enum ListLexBotsOutputError { enum ListPhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32862,7 +33246,7 @@ enum ListPhoneNumbersOutputError { enum ListPhoneNumbersV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32880,7 +33264,7 @@ enum ListPhoneNumbersV2OutputError { enum ListPredefinedAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32898,7 +33282,7 @@ enum ListPredefinedAttributesOutputError { enum ListPromptsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32916,7 +33300,7 @@ enum ListPromptsOutputError { enum ListQueueQuickConnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32934,7 +33318,7 @@ enum ListQueueQuickConnectsOutputError { enum ListQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32952,7 +33336,7 @@ enum ListQueuesOutputError { enum ListQuickConnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32970,7 +33354,7 @@ enum ListQuickConnectsOutputError { enum ListRealtimeContactAnalysisSegmentsV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32989,7 +33373,7 @@ enum ListRealtimeContactAnalysisSegmentsV2OutputError { enum ListRoutingProfileQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33007,7 +33391,7 @@ enum ListRoutingProfileQueuesOutputError { enum ListRoutingProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33025,7 +33409,7 @@ enum ListRoutingProfilesOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33043,7 +33427,7 @@ enum ListRulesOutputError { enum ListSecurityKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33061,7 +33445,7 @@ enum ListSecurityKeysOutputError { enum ListSecurityProfileApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33079,7 +33463,7 @@ enum ListSecurityProfileApplicationsOutputError { enum ListSecurityProfilePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33097,7 +33481,7 @@ enum ListSecurityProfilePermissionsOutputError { enum ListSecurityProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33115,7 +33499,7 @@ enum ListSecurityProfilesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33133,7 +33517,7 @@ enum ListTagsForResourceOutputError { enum ListTaskTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33151,7 +33535,7 @@ enum ListTaskTemplatesOutputError { enum ListTrafficDistributionGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33168,7 +33552,7 @@ enum ListTrafficDistributionGroupsOutputError { enum ListTrafficDistributionGroupUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33186,7 +33570,7 @@ enum ListTrafficDistributionGroupUsersOutputError { enum ListUseCasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33203,7 +33587,7 @@ enum ListUseCasesOutputError { enum ListUserHierarchyGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33221,7 +33605,7 @@ enum ListUserHierarchyGroupsOutputError { enum ListUserProficienciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33239,7 +33623,7 @@ enum ListUserProficienciesOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33257,7 +33641,7 @@ enum ListUsersOutputError { enum ListViewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33276,7 +33660,7 @@ enum ListViewsOutputError { enum ListViewVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33295,7 +33679,7 @@ enum ListViewVersionsOutputError { enum MonitorContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33315,7 +33699,7 @@ enum MonitorContactOutputError { enum PauseContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33336,7 +33720,7 @@ enum PauseContactOutputError { enum PutUserStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33355,7 +33739,7 @@ enum PutUserStatusOutputError { enum ReleasePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33375,7 +33759,7 @@ enum ReleasePhoneNumberOutputError { enum ReplicateInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33396,7 +33780,7 @@ enum ReplicateInstanceOutputError { enum ResumeContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33416,7 +33800,7 @@ enum ResumeContactOutputError { enum ResumeContactRecordingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33432,7 +33816,7 @@ enum ResumeContactRecordingOutputError { enum SearchAvailablePhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33449,7 +33833,7 @@ enum SearchAvailablePhoneNumbersOutputError { enum SearchContactFlowModulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33467,7 +33851,7 @@ enum SearchContactFlowModulesOutputError { enum SearchContactFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33485,7 +33869,7 @@ enum SearchContactFlowsOutputError { enum SearchContactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33503,7 +33887,7 @@ enum SearchContactsOutputError { enum SearchHoursOfOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33521,7 +33905,7 @@ enum SearchHoursOfOperationsOutputError { enum SearchPredefinedAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33539,7 +33923,7 @@ enum SearchPredefinedAttributesOutputError { enum SearchPromptsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33557,7 +33941,7 @@ enum SearchPromptsOutputError { enum SearchQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33575,7 +33959,7 @@ enum SearchQueuesOutputError { enum SearchQuickConnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33593,7 +33977,7 @@ enum SearchQuickConnectsOutputError { enum SearchResourceTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33612,7 +33996,7 @@ enum SearchResourceTagsOutputError { enum SearchRoutingProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33630,7 +34014,7 @@ enum SearchRoutingProfilesOutputError { enum SearchSecurityProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33648,7 +34032,7 @@ enum SearchSecurityProfilesOutputError { enum SearchUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33666,7 +34050,7 @@ enum SearchUsersOutputError { enum SearchVocabulariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33683,7 +34067,7 @@ enum SearchVocabulariesOutputError { enum SendChatIntegrationEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33701,7 +34085,7 @@ enum SendChatIntegrationEventOutputError { enum StartAttachedFileUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33720,7 +34104,7 @@ enum StartAttachedFileUploadOutputError { enum StartChatContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33738,7 +34122,7 @@ enum StartChatContactOutputError { enum StartContactEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33757,7 +34141,7 @@ enum StartContactEvaluationOutputError { enum StartContactRecordingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33774,7 +34158,7 @@ enum StartContactRecordingOutputError { enum StartContactStreamingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33792,7 +34176,7 @@ enum StartContactStreamingOutputError { enum StartOutboundVoiceContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33812,7 +34196,7 @@ enum StartOutboundVoiceContactOutputError { enum StartTaskContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33831,7 +34215,7 @@ enum StartTaskContactOutputError { enum StartWebRTCContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33849,7 +34233,7 @@ enum StartWebRTCContactOutputError { enum StopContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33867,7 +34251,7 @@ enum StopContactOutputError { enum StopContactRecordingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33883,7 +34267,7 @@ enum StopContactRecordingOutputError { enum StopContactStreamingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33900,7 +34284,7 @@ enum StopContactStreamingOutputError { enum SubmitContactEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33918,7 +34302,7 @@ enum SubmitContactEvaluationOutputError { enum SuspendContactRecordingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33934,7 +34318,7 @@ enum SuspendContactRecordingOutputError { enum TagContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33952,7 +34336,7 @@ enum TagContactOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33970,7 +34354,7 @@ enum TagResourceOutputError { enum TransferContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33990,7 +34374,7 @@ enum TransferContactOutputError { enum UntagContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34008,7 +34392,7 @@ enum UntagContactOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34026,7 +34410,7 @@ enum UntagResourceOutputError { enum UpdateAgentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34044,9 +34428,27 @@ enum UpdateAgentStatusOutputError { } } +enum UpdateAuthenticationProfileOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServiceException": return try InternalServiceException.makeError(baseError: baseError) + case "InvalidParameterException": return try InvalidParameterException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34064,7 +34466,7 @@ enum UpdateContactOutputError { enum UpdateContactAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34081,7 +34483,7 @@ enum UpdateContactAttributesOutputError { enum UpdateContactEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34099,7 +34501,7 @@ enum UpdateContactEvaluationOutputError { enum UpdateContactFlowContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34118,7 +34520,7 @@ enum UpdateContactFlowContentOutputError { enum UpdateContactFlowMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34137,7 +34539,7 @@ enum UpdateContactFlowMetadataOutputError { enum UpdateContactFlowModuleContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34156,7 +34558,7 @@ enum UpdateContactFlowModuleContentOutputError { enum UpdateContactFlowModuleMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34176,7 +34578,7 @@ enum UpdateContactFlowModuleMetadataOutputError { enum UpdateContactFlowNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34195,7 +34597,7 @@ enum UpdateContactFlowNameOutputError { enum UpdateContactRoutingDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34214,7 +34616,7 @@ enum UpdateContactRoutingDataOutputError { enum UpdateContactScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34233,7 +34635,7 @@ enum UpdateContactScheduleOutputError { enum UpdateEvaluationFormOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34252,7 +34654,7 @@ enum UpdateEvaluationFormOutputError { enum UpdateHoursOfOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34271,7 +34673,7 @@ enum UpdateHoursOfOperationOutputError { enum UpdateInstanceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34289,7 +34691,7 @@ enum UpdateInstanceAttributeOutputError { enum UpdateInstanceStorageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34307,7 +34709,7 @@ enum UpdateInstanceStorageConfigOutputError { enum UpdateParticipantRoleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34326,7 +34728,7 @@ enum UpdateParticipantRoleConfigOutputError { enum UpdatePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34346,7 +34748,7 @@ enum UpdatePhoneNumberOutputError { enum UpdatePhoneNumberMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34367,7 +34769,7 @@ enum UpdatePhoneNumberMetadataOutputError { enum UpdatePredefinedAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34385,7 +34787,7 @@ enum UpdatePredefinedAttributeOutputError { enum UpdatePromptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34403,7 +34805,7 @@ enum UpdatePromptOutputError { enum UpdateQueueHoursOfOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34421,7 +34823,7 @@ enum UpdateQueueHoursOfOperationOutputError { enum UpdateQueueMaxContactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34439,7 +34841,7 @@ enum UpdateQueueMaxContactsOutputError { enum UpdateQueueNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34458,7 +34860,7 @@ enum UpdateQueueNameOutputError { enum UpdateQueueOutboundCallerConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34476,7 +34878,7 @@ enum UpdateQueueOutboundCallerConfigOutputError { enum UpdateQueueStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34494,7 +34896,7 @@ enum UpdateQueueStatusOutputError { enum UpdateQuickConnectConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34512,7 +34914,7 @@ enum UpdateQuickConnectConfigOutputError { enum UpdateQuickConnectNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34530,7 +34932,7 @@ enum UpdateQuickConnectNameOutputError { enum UpdateRoutingProfileAgentAvailabilityTimerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34548,7 +34950,7 @@ enum UpdateRoutingProfileAgentAvailabilityTimerOutputError { enum UpdateRoutingProfileConcurrencyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34566,7 +34968,7 @@ enum UpdateRoutingProfileConcurrencyOutputError { enum UpdateRoutingProfileDefaultOutboundQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34584,7 +34986,7 @@ enum UpdateRoutingProfileDefaultOutboundQueueOutputError { enum UpdateRoutingProfileNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34603,7 +35005,7 @@ enum UpdateRoutingProfileNameOutputError { enum UpdateRoutingProfileQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34621,7 +35023,7 @@ enum UpdateRoutingProfileQueuesOutputError { enum UpdateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34640,7 +35042,7 @@ enum UpdateRuleOutputError { enum UpdateSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34658,7 +35060,7 @@ enum UpdateSecurityProfileOutputError { enum UpdateTaskTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34677,7 +35079,7 @@ enum UpdateTaskTemplateOutputError { enum UpdateTrafficDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34696,7 +35098,7 @@ enum UpdateTrafficDistributionOutputError { enum UpdateUserHierarchyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34714,7 +35116,7 @@ enum UpdateUserHierarchyOutputError { enum UpdateUserHierarchyGroupNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34733,7 +35135,7 @@ enum UpdateUserHierarchyGroupNameOutputError { enum UpdateUserHierarchyStructureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34752,7 +35154,7 @@ enum UpdateUserHierarchyStructureOutputError { enum UpdateUserIdentityInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34770,7 +35172,7 @@ enum UpdateUserIdentityInfoOutputError { enum UpdateUserPhoneConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34788,7 +35190,7 @@ enum UpdateUserPhoneConfigOutputError { enum UpdateUserProficienciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34806,7 +35208,7 @@ enum UpdateUserProficienciesOutputError { enum UpdateUserRoutingProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34824,7 +35226,7 @@ enum UpdateUserRoutingProfileOutputError { enum UpdateUserSecurityProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34842,7 +35244,7 @@ enum UpdateUserSecurityProfilesOutputError { enum UpdateViewContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34862,7 +35264,7 @@ enum UpdateViewContentOutputError { enum UpdateViewMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -35392,6 +35794,27 @@ extension ConnectClientTypes.AgentStatus { } } +extension ConnectClientTypes.AuthenticationProfile { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.AuthenticationProfile { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectClientTypes.AuthenticationProfile() + value.id = try reader["Id"].readIfPresent() + value.arn = try reader["Arn"].readIfPresent() + value.name = try reader["Name"].readIfPresent() + value.description = try reader["Description"].readIfPresent() + value.allowedIps = try reader["AllowedIps"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.blockedIps = try reader["BlockedIps"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.isDefault = try reader["IsDefault"].readIfPresent() ?? false + value.createdTime = try reader["CreatedTime"].readTimestampIfPresent(format: .epochSeconds) + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: .epochSeconds) + value.lastModifiedRegion = try reader["LastModifiedRegion"].readIfPresent() + value.periodicSessionDuration = try reader["PeriodicSessionDuration"].readIfPresent() + value.maxSessionDuration = try reader["MaxSessionDuration"].readIfPresent() + return value + } +} + extension ConnectClientTypes.Contact { static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.Contact { @@ -35608,11 +36031,32 @@ extension ConnectClientTypes.AttributeCondition { value.name = try reader["Name"].readIfPresent() value.value = try reader["Value"].readIfPresent() value.proficiencyLevel = try reader["ProficiencyLevel"].readIfPresent() + value.matchCriteria = try reader["MatchCriteria"].readIfPresent(with: ConnectClientTypes.MatchCriteria.read(from:)) value.comparisonOperator = try reader["ComparisonOperator"].readIfPresent() return value } } +extension ConnectClientTypes.MatchCriteria { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.MatchCriteria { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectClientTypes.MatchCriteria() + value.agentsCriteria = try reader["AgentsCriteria"].readIfPresent(with: ConnectClientTypes.AgentsCriteria.read(from:)) + return value + } +} + +extension ConnectClientTypes.AgentsCriteria { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.AgentsCriteria { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectClientTypes.AgentsCriteria() + value.agentIds = try reader["AgentIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ConnectClientTypes.Expiry { static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.Expiry { @@ -37673,6 +38117,21 @@ extension ConnectClientTypes.AgentStatusSummary { } } +extension ConnectClientTypes.AuthenticationProfileSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.AuthenticationProfileSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectClientTypes.AuthenticationProfileSummary() + value.id = try reader["Id"].readIfPresent() + value.arn = try reader["Arn"].readIfPresent() + value.name = try reader["Name"].readIfPresent() + value.isDefault = try reader["IsDefault"].readIfPresent() ?? false + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: .epochSeconds) + value.lastModifiedRegion = try reader["LastModifiedRegion"].readIfPresent() + return value + } +} + extension ConnectClientTypes.LexBotConfig { static func read(from reader: SmithyJSON.Reader) throws -> ConnectClientTypes.LexBotConfig { diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/Paginators.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/Paginators.swift index a8646e89444..1accd3a4fed 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/Paginators.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/Paginators.swift @@ -178,6 +178,37 @@ extension PaginatorSequence where OperationStackInput == ListApprovedOriginsInpu return try await self.asyncCompactMap { item in item.origins } } } +extension ConnectClient { + /// Paginate over `[ListAuthenticationProfilesOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListAuthenticationProfilesInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListAuthenticationProfilesOutput` + public func listAuthenticationProfilesPaginated(input: ListAuthenticationProfilesInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listAuthenticationProfiles(input:)) + } +} + +extension ListAuthenticationProfilesInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListAuthenticationProfilesInput { + return ListAuthenticationProfilesInput( + instanceId: self.instanceId, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListAuthenticationProfilesInput, OperationStackOutput == ListAuthenticationProfilesOutput { + /// This paginator transforms the `AsyncSequence` returned by `listAuthenticationProfilesPaginated` + /// to access the nested member `[ConnectClientTypes.AuthenticationProfileSummary]` + /// - Returns: `[ConnectClientTypes.AuthenticationProfileSummary]` + public func authenticationProfileSummaryList() async throws -> [ConnectClientTypes.AuthenticationProfileSummary] { + return try await self.asyncCompactMap { item in item.authenticationProfileSummaryList } + } +} extension ConnectClient { /// Paginate over `[ListBotsOutput]` results. /// diff --git a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/Models.swift b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/Models.swift index 350c9c21067..bc3df91f1a9 100644 --- a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/Models.swift +++ b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -98,7 +98,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -143,7 +143,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -172,7 +172,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -201,7 +201,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -230,7 +230,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -288,7 +288,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -491,7 +491,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1195,7 +1195,7 @@ public struct InvalidCampaignStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1863,7 +1863,7 @@ extension UpdateCampaignOutboundCallConfigInput { extension CreateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1877,28 +1877,28 @@ extension CreateCampaignOutput { extension DeleteCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignOutput { return DeleteCampaignOutput() } } extension DeleteConnectInstanceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectInstanceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectInstanceConfigOutput { return DeleteConnectInstanceConfigOutput() } } extension DeleteInstanceOnboardingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceOnboardingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOnboardingJobOutput { return DeleteInstanceOnboardingJobOutput() } } extension DescribeCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1910,7 +1910,7 @@ extension DescribeCampaignOutput { extension GetCampaignStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1922,7 +1922,7 @@ extension GetCampaignStateOutput { extension GetCampaignStateBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignStateBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignStateBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1935,7 +1935,7 @@ extension GetCampaignStateBatchOutput { extension GetConnectInstanceConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectInstanceConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectInstanceConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1947,7 +1947,7 @@ extension GetConnectInstanceConfigOutput { extension GetInstanceOnboardingJobStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceOnboardingJobStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceOnboardingJobStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1959,7 +1959,7 @@ extension GetInstanceOnboardingJobStatusOutput { extension ListCampaignsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCampaignsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCampaignsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1972,7 +1972,7 @@ extension ListCampaignsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1984,14 +1984,14 @@ extension ListTagsForResourceOutput { extension PauseCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PauseCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseCampaignOutput { return PauseCampaignOutput() } } extension PutDialRequestBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDialRequestBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDialRequestBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2004,21 +2004,21 @@ extension PutDialRequestBatchOutput { extension ResumeCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeCampaignOutput { return ResumeCampaignOutput() } } extension StartCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCampaignOutput { return StartCampaignOutput() } } extension StartInstanceOnboardingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInstanceOnboardingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstanceOnboardingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2030,49 +2030,49 @@ extension StartInstanceOnboardingJobOutput { extension StopCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCampaignOutput { return StopCampaignOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCampaignDialerConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCampaignDialerConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignDialerConfigOutput { return UpdateCampaignDialerConfigOutput() } } extension UpdateCampaignNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCampaignNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignNameOutput { return UpdateCampaignNameOutput() } } extension UpdateCampaignOutboundCallConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCampaignOutboundCallConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignOutboundCallConfigOutput { return UpdateCampaignOutboundCallConfigOutput() } } enum CreateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2092,7 +2092,7 @@ enum CreateCampaignOutputError { enum DeleteCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2109,7 +2109,7 @@ enum DeleteCampaignOutputError { enum DeleteConnectInstanceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2128,7 +2128,7 @@ enum DeleteConnectInstanceConfigOutputError { enum DeleteInstanceOnboardingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2146,7 +2146,7 @@ enum DeleteInstanceOnboardingJobOutputError { enum DescribeCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2163,7 +2163,7 @@ enum DescribeCampaignOutputError { enum GetCampaignStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2181,7 +2181,7 @@ enum GetCampaignStateOutputError { enum GetCampaignStateBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2198,7 +2198,7 @@ enum GetCampaignStateBatchOutputError { enum GetConnectInstanceConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2215,7 +2215,7 @@ enum GetConnectInstanceConfigOutputError { enum GetInstanceOnboardingJobStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2232,7 +2232,7 @@ enum GetInstanceOnboardingJobStatusOutputError { enum ListCampaignsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2248,7 +2248,7 @@ enum ListCampaignsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2266,7 +2266,7 @@ enum ListTagsForResourceOutputError { enum PauseCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2286,7 +2286,7 @@ enum PauseCampaignOutputError { enum PutDialRequestBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2306,7 +2306,7 @@ enum PutDialRequestBatchOutputError { enum ResumeCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2326,7 +2326,7 @@ enum ResumeCampaignOutputError { enum StartCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2346,7 +2346,7 @@ enum StartCampaignOutputError { enum StartInstanceOnboardingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2365,7 +2365,7 @@ enum StartInstanceOnboardingJobOutputError { enum StopCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2385,7 +2385,7 @@ enum StopCampaignOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2403,7 +2403,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2421,7 +2421,7 @@ enum UntagResourceOutputError { enum UpdateCampaignDialerConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2439,7 +2439,7 @@ enum UpdateCampaignDialerConfigOutputError { enum UpdateCampaignNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2457,7 +2457,7 @@ enum UpdateCampaignNameOutputError { enum UpdateCampaignOutboundCallConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/Models.swift b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/Models.swift index 15cc931bbdd..0f5411f1288 100644 --- a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/Models.swift +++ b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -48,7 +48,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -73,7 +73,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -100,7 +100,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -133,7 +133,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,7 +162,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -187,7 +187,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -667,7 +667,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3414,7 +3414,7 @@ extension UpdateTemplateInput { extension BatchGetFieldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFieldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFieldOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3427,7 +3427,7 @@ extension BatchGetFieldOutput { extension BatchPutFieldOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutFieldOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutFieldOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3439,7 +3439,7 @@ extension BatchPutFieldOptionsOutput { extension CreateCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3452,7 +3452,7 @@ extension CreateCaseOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3466,7 +3466,7 @@ extension CreateDomainOutput { extension CreateFieldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFieldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFieldOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3479,7 +3479,7 @@ extension CreateFieldOutput { extension CreateLayoutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLayoutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLayoutOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3492,7 +3492,7 @@ extension CreateLayoutOutput { extension CreateRelatedItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRelatedItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRelatedItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3505,7 +3505,7 @@ extension CreateRelatedItemOutput { extension CreateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3518,35 +3518,35 @@ extension CreateTemplateOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { return DeleteDomainOutput() } } extension DeleteFieldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFieldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFieldOutput { return DeleteFieldOutput() } } extension DeleteLayoutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLayoutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLayoutOutput { return DeleteLayoutOutput() } } extension DeleteTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateOutput { return DeleteTemplateOutput() } } extension GetCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3561,7 +3561,7 @@ extension GetCaseOutput { extension GetCaseAuditEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCaseAuditEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCaseAuditEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3574,7 +3574,7 @@ extension GetCaseAuditEventsOutput { extension GetCaseEventConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCaseEventConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCaseEventConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3586,7 +3586,7 @@ extension GetCaseEventConfigurationOutput { extension GetDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3603,7 +3603,7 @@ extension GetDomainOutput { extension GetLayoutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLayoutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLayoutOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3622,7 +3622,7 @@ extension GetLayoutOutput { extension GetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3644,7 +3644,7 @@ extension GetTemplateOutput { extension ListCasesForContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCasesForContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCasesForContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3657,7 +3657,7 @@ extension ListCasesForContactOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3670,7 +3670,7 @@ extension ListDomainsOutput { extension ListFieldOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFieldOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFieldOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3683,7 +3683,7 @@ extension ListFieldOptionsOutput { extension ListFieldsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFieldsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFieldsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3696,7 +3696,7 @@ extension ListFieldsOutput { extension ListLayoutsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLayoutsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLayoutsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3709,7 +3709,7 @@ extension ListLayoutsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3721,7 +3721,7 @@ extension ListTagsForResourceOutput { extension ListTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3734,14 +3734,14 @@ extension ListTemplatesOutput { extension PutCaseEventConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCaseEventConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCaseEventConfigurationOutput { return PutCaseEventConfigurationOutput() } } extension SearchCasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchCasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchCasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3754,7 +3754,7 @@ extension SearchCasesOutput { extension SearchRelatedItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchRelatedItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchRelatedItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3767,49 +3767,49 @@ extension SearchRelatedItemsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCaseOutput { return UpdateCaseOutput() } } extension UpdateFieldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFieldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFieldOutput { return UpdateFieldOutput() } } extension UpdateLayoutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLayoutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLayoutOutput { return UpdateLayoutOutput() } } extension UpdateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateOutput { return UpdateTemplateOutput() } } enum BatchGetFieldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3827,7 +3827,7 @@ enum BatchGetFieldOutputError { enum BatchPutFieldOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3846,7 +3846,7 @@ enum BatchPutFieldOptionsOutputError { enum CreateCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3865,7 +3865,7 @@ enum CreateCaseOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3884,7 +3884,7 @@ enum CreateDomainOutputError { enum CreateFieldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3904,7 +3904,7 @@ enum CreateFieldOutputError { enum CreateLayoutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3924,7 +3924,7 @@ enum CreateLayoutOutputError { enum CreateRelatedItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3943,7 +3943,7 @@ enum CreateRelatedItemOutputError { enum CreateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3963,7 +3963,7 @@ enum CreateTemplateOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3982,7 +3982,7 @@ enum DeleteDomainOutputError { enum DeleteFieldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4002,7 +4002,7 @@ enum DeleteFieldOutputError { enum DeleteLayoutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4021,7 +4021,7 @@ enum DeleteLayoutOutputError { enum DeleteTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4040,7 +4040,7 @@ enum DeleteTemplateOutputError { enum GetCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4058,7 +4058,7 @@ enum GetCaseOutputError { enum GetCaseAuditEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4076,7 +4076,7 @@ enum GetCaseAuditEventsOutputError { enum GetCaseEventConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4094,7 +4094,7 @@ enum GetCaseEventConfigurationOutputError { enum GetDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4112,7 +4112,7 @@ enum GetDomainOutputError { enum GetLayoutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4130,7 +4130,7 @@ enum GetLayoutOutputError { enum GetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4148,7 +4148,7 @@ enum GetTemplateOutputError { enum ListCasesForContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4166,7 +4166,7 @@ enum ListCasesForContactOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4183,7 +4183,7 @@ enum ListDomainsOutputError { enum ListFieldOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4201,7 +4201,7 @@ enum ListFieldOptionsOutputError { enum ListFieldsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4219,7 +4219,7 @@ enum ListFieldsOutputError { enum ListLayoutsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4237,7 +4237,7 @@ enum ListLayoutsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4255,7 +4255,7 @@ enum ListTagsForResourceOutputError { enum ListTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4273,7 +4273,7 @@ enum ListTemplatesOutputError { enum PutCaseEventConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4291,7 +4291,7 @@ enum PutCaseEventConfigurationOutputError { enum SearchCasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4309,7 +4309,7 @@ enum SearchCasesOutputError { enum SearchRelatedItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4327,7 +4327,7 @@ enum SearchRelatedItemsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4345,7 +4345,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4363,7 +4363,7 @@ enum UntagResourceOutputError { enum UpdateCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4381,7 +4381,7 @@ enum UpdateCaseOutputError { enum UpdateFieldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4400,7 +4400,7 @@ enum UpdateFieldOutputError { enum UpdateLayoutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4420,7 +4420,7 @@ enum UpdateLayoutOutputError { enum UpdateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/Models.swift b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/Models.swift index 48854569891..d87e3d4f00e 100644 --- a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/Models.swift +++ b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -56,7 +56,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -80,7 +80,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -104,7 +104,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -414,7 +414,7 @@ extension ListRealtimeContactAnalysisSegmentsInput { extension ListRealtimeContactAnalysisSegmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRealtimeContactAnalysisSegmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRealtimeContactAnalysisSegmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -427,7 +427,7 @@ extension ListRealtimeContactAnalysisSegmentsOutput { enum ListRealtimeContactAnalysisSegmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/Models.swift b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/Models.swift index 9370205e724..9e98d8e8823 100644 --- a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/Models.swift +++ b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -370,7 +370,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -430,7 +430,7 @@ extension ConnectParticipantClientTypes { extension ConnectParticipantClientTypes.ViewContent: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ViewContent(actions: \(Swift.String(describing: actions)), inputSchema: \"CONTENT_REDACTED\", template: \"CONTENT_REDACTED\")"} + "ViewContent(actions: \"CONTENT_REDACTED\", inputSchema: \"CONTENT_REDACTED\", template: \"CONTENT_REDACTED\")"} } extension ConnectParticipantClientTypes { @@ -1355,14 +1355,14 @@ extension StartAttachmentUploadInput { extension CompleteAttachmentUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteAttachmentUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteAttachmentUploadOutput { return CompleteAttachmentUploadOutput() } } extension CreateParticipantConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateParticipantConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateParticipantConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1375,7 +1375,7 @@ extension CreateParticipantConnectionOutput { extension DescribeViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1387,14 +1387,14 @@ extension DescribeViewOutput { extension DisconnectParticipantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectParticipantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectParticipantOutput { return DisconnectParticipantOutput() } } extension GetAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1407,7 +1407,7 @@ extension GetAttachmentOutput { extension GetTranscriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTranscriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTranscriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1421,7 +1421,7 @@ extension GetTranscriptOutput { extension SendEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1434,7 +1434,7 @@ extension SendEventOutput { extension SendMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1447,7 +1447,7 @@ extension SendMessageOutput { extension StartAttachmentUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAttachmentUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAttachmentUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1460,7 +1460,7 @@ extension StartAttachmentUploadOutput { enum CompleteAttachmentUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1479,7 +1479,7 @@ enum CompleteAttachmentUploadOutputError { enum CreateParticipantConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1496,7 +1496,7 @@ enum CreateParticipantConnectionOutputError { enum DescribeViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1514,7 +1514,7 @@ enum DescribeViewOutputError { enum DisconnectParticipantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1531,7 +1531,7 @@ enum DisconnectParticipantOutputError { enum GetAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1548,7 +1548,7 @@ enum GetAttachmentOutputError { enum GetTranscriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1565,7 +1565,7 @@ enum GetTranscriptOutputError { enum SendEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1583,7 +1583,7 @@ enum SendEventOutputError { enum SendMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1600,7 +1600,7 @@ enum SendMessageOutputError { enum StartAttachmentUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/Models.swift b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/Models.swift index 6545d243494..32a3d69b35c 100644 --- a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/Models.swift +++ b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -128,7 +128,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -152,7 +152,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -176,7 +176,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -540,7 +540,7 @@ extension ListObjectivesInput { extension ListCommonControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCommonControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCommonControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -553,7 +553,7 @@ extension ListCommonControlsOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -566,7 +566,7 @@ extension ListDomainsOutput { extension ListObjectivesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectivesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectivesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -579,7 +579,7 @@ extension ListObjectivesOutput { enum ListCommonControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -596,7 +596,7 @@ enum ListCommonControlsOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -613,7 +613,7 @@ enum ListDomainsOutputError { enum ListObjectivesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift index 6e4f561cd92..9dac985f09c 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift @@ -340,7 +340,7 @@ extension ControlTowerClient { /// Performs the `DisableControl` operation on the `AWSControlTowerApis` service. /// - /// This API call turns off a control. It starts an asynchronous operation that deletes AWS resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter DisableControlInput : [no documentation found] /// @@ -448,7 +448,7 @@ extension ControlTowerClient { /// Performs the `EnableControl` operation on the `AWSControlTowerApis` service. /// - /// This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter EnableControlInput : [no documentation found] /// @@ -606,7 +606,7 @@ extension ControlTowerClient { /// Performs the `GetControlOperation` operation on the `AWSControlTowerApis` service. /// - /// Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter GetControlOperationInput : [no documentation found] /// @@ -710,7 +710,7 @@ extension ControlTowerClient { /// Performs the `GetEnabledControl` operation on the `AWSControlTowerApis` service. /// - /// Retrieves details about an enabled control. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// Retrieves details about an enabled control. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter GetEnabledControlInput : [no documentation found] /// @@ -917,7 +917,7 @@ extension ControlTowerClient { /// Performs the `ListControlOperations` operation on the `AWSControlTowerApis` service. /// - /// Provides a list of operations in progress or queued. + /// Provides a list of operations in progress or queued. For usage examples, see [ListControlOperation examples](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html#list-control-operations-api-examples). /// /// - Parameter ListControlOperationsInput : [no documentation found] /// @@ -1019,7 +1019,7 @@ extension ControlTowerClient { /// Performs the `ListEnabledControls` operation on the `AWSControlTowerApis` service. /// - /// Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter ListEnabledControlsInput : [no documentation found] /// @@ -1069,6 +1069,57 @@ extension ControlTowerClient { return result } + /// Performs the `ListLandingZoneOperations` operation on the `AWSControlTowerApis` service. + /// + /// Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first. + /// + /// - Parameter ListLandingZoneOperationsInput : [no documentation found] + /// + /// - Returns: `ListLandingZoneOperationsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : An unexpected error occurred during processing of a request. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input does not satisfy the constraints specified by an Amazon Web Services service. + public func listLandingZoneOperations(input: ListLandingZoneOperationsInput) async throws -> ListLandingZoneOperationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listLandingZoneOperations") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "controltower") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listLandingZoneOperations") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListLandingZoneOperationsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListLandingZoneOperationsInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListLandingZoneOperationsOutput.httpOutput(from:), ListLandingZoneOperationsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListLandingZones` operation on the `AWSControlTowerApis` service. /// /// Returns the landing zone ARN for the landing zone deployed in your managed account. This API also creates an ARN for existing accounts that do not yet have a landing zone ARN. Returns one landing zone ARN. @@ -1122,7 +1173,7 @@ extension ControlTowerClient { /// Performs the `ListTagsForResource` operation on the `AWSControlTowerApis` service. /// - /// Returns a list of tags associated with the resource. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// Returns a list of tags associated with the resource. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter ListTagsForResourceInput : [no documentation found] /// @@ -1223,7 +1274,7 @@ extension ControlTowerClient { /// Performs the `ResetLandingZone` operation on the `AWSControlTowerApis` service. /// - /// This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in its original configuration. + /// This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in the original configuration, which you specified in the manifest file. Nothing in the manifest file's original landing zone configuration is changed during the reset process, by default. This API is not the same as a rollback of a landing zone version, which is not a supported operation. /// /// - Parameter ResetLandingZoneInput : [no documentation found] /// @@ -1276,7 +1327,7 @@ extension ControlTowerClient { /// Performs the `TagResource` operation on the `AWSControlTowerApis` service. /// - /// Applies tags to a resource. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// Applies tags to a resource. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter TagResourceInput : [no documentation found] /// @@ -1326,7 +1377,7 @@ extension ControlTowerClient { /// Performs the `UntagResource` operation on the `AWSControlTowerApis` service. /// - /// Removes tags from a resource. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html). + /// Removes tags from a resource. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter UntagResourceInput : [no documentation found] /// @@ -1428,7 +1479,7 @@ extension ControlTowerClient { /// Performs the `UpdateEnabledControl` operation on the `AWSControlTowerApis` service. /// - /// Updates the configuration of an already enabled control. If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request. If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower will update the control to match any valid parameters that you supply. If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling DisableControl and again calling EnableControl, or you can run an extending governance operation. For usage examples, see [ the Amazon Web Services Control Tower User Guide ](https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html) + /// Updates the configuration of an already enabled control. If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request. If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower updates the control to match any valid parameters that you supply. If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling DisableControl and again calling EnableControl, or you can run an extending governance operation. For usage examples, see the [ Controls Reference Guide ](https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html). /// /// - Parameter UpdateEnabledControlInput : [no documentation found] /// diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift index a271f7b9527..05c9c132ca6 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -88,7 +88,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -119,7 +119,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,6 +162,135 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. } } +public struct GetBaselineOperationInput { + /// The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset). + /// This member is required. + public var operationIdentifier: Swift.String? + + public init( + operationIdentifier: Swift.String? = nil + ) + { + self.operationIdentifier = operationIdentifier + } +} + +extension ControlTowerClientTypes { + + public enum BaselineOperationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disableBaseline + case enableBaseline + case resetEnabledBaseline + case updateEnabledBaseline + case sdkUnknown(Swift.String) + + public static var allCases: [BaselineOperationType] { + return [ + .disableBaseline, + .enableBaseline, + .resetEnabledBaseline, + .updateEnabledBaseline + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disableBaseline: return "DISABLE_BASELINE" + case .enableBaseline: return "ENABLE_BASELINE" + case .resetEnabledBaseline: return "RESET_ENABLED_BASELINE" + case .updateEnabledBaseline: return "UPDATE_ENABLED_BASELINE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ControlTowerClientTypes { + + public enum BaselineOperationStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case inProgress + case succeeded + case sdkUnknown(Swift.String) + + public static var allCases: [BaselineOperationStatus] { + return [ + .failed, + .inProgress, + .succeeded + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "FAILED" + case .inProgress: return "IN_PROGRESS" + case .succeeded: return "SUCCEEDED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ControlTowerClientTypes { + /// An object of shape BaselineOperation, returning details about the specified Baseline operation ID. + public struct BaselineOperation { + /// The end time of the operation (if applicable), in ISO 8601 format. + public var endTime: Foundation.Date? + /// The identifier of the specified operation. + public var operationIdentifier: Swift.String? + /// An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE. + public var operationType: ControlTowerClientTypes.BaselineOperationType? + /// The start time of the operation, in ISO 8601 format. + public var startTime: Foundation.Date? + /// An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS. + public var status: ControlTowerClientTypes.BaselineOperationStatus? + /// A status message that gives more information about the operation's status, if applicable. + public var statusMessage: Swift.String? + + public init( + endTime: Foundation.Date? = nil, + operationIdentifier: Swift.String? = nil, + operationType: ControlTowerClientTypes.BaselineOperationType? = nil, + startTime: Foundation.Date? = nil, + status: ControlTowerClientTypes.BaselineOperationStatus? = nil, + statusMessage: Swift.String? = nil + ) + { + self.endTime = endTime + self.operationIdentifier = operationIdentifier + self.operationType = operationType + self.startTime = startTime + self.status = status + self.statusMessage = statusMessage + } + } + +} + +public struct GetBaselineOperationOutput { + /// A baselineOperation object that shows information about the specified operation ID. + /// This member is required. + public var baselineOperation: ControlTowerClientTypes.BaselineOperation? + + public init( + baselineOperation: ControlTowerClientTypes.BaselineOperation? = nil + ) + { + self.baselineOperation = baselineOperation + } +} + public struct GetBaselineInput { /// The ARN of the Baseline resource to be retrieved. /// This member is required. @@ -395,7 +524,7 @@ public struct GetControlOperationOutput { } extension ControlTowerClientTypes { - /// A filter object that lets you call ListCOntrolOperations with a specific filter. + /// A filter object that lets you call ListControlOperations with a specific filter. public struct ControlOperationFilter { /// The set of controlIdentifier returned by the filter. public var controlIdentifiers: [Swift.String]? @@ -495,7 +624,7 @@ extension ControlTowerClientTypes { } public struct ListControlOperationsOutput { - /// Returns a list of output from control operations. PLACEHOLDER + /// Returns a list of output from control operations. /// This member is required. public var controlOperations: [ControlTowerClientTypes.ControlOperationSummary]? /// A pagination token. @@ -524,7 +653,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -549,7 +678,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -689,135 +818,6 @@ public struct EnableBaselineOutput { } } -public struct GetBaselineOperationInput { - /// The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset). - /// This member is required. - public var operationIdentifier: Swift.String? - - public init( - operationIdentifier: Swift.String? = nil - ) - { - self.operationIdentifier = operationIdentifier - } -} - -extension ControlTowerClientTypes { - - public enum BaselineOperationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case disableBaseline - case enableBaseline - case resetEnabledBaseline - case updateEnabledBaseline - case sdkUnknown(Swift.String) - - public static var allCases: [BaselineOperationType] { - return [ - .disableBaseline, - .enableBaseline, - .resetEnabledBaseline, - .updateEnabledBaseline - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .disableBaseline: return "DISABLE_BASELINE" - case .enableBaseline: return "ENABLE_BASELINE" - case .resetEnabledBaseline: return "RESET_ENABLED_BASELINE" - case .updateEnabledBaseline: return "UPDATE_ENABLED_BASELINE" - case let .sdkUnknown(s): return s - } - } - } -} - -extension ControlTowerClientTypes { - - public enum BaselineOperationStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case failed - case inProgress - case succeeded - case sdkUnknown(Swift.String) - - public static var allCases: [BaselineOperationStatus] { - return [ - .failed, - .inProgress, - .succeeded - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .failed: return "FAILED" - case .inProgress: return "IN_PROGRESS" - case .succeeded: return "SUCCEEDED" - case let .sdkUnknown(s): return s - } - } - } -} - -extension ControlTowerClientTypes { - /// An object of shape BaselineOperation, returning details about the specified Baseline operation ID. - public struct BaselineOperation { - /// The end time of the operation (if applicable), in ISO 8601 format. - public var endTime: Foundation.Date? - /// The identifier of the specified operation. - public var operationIdentifier: Swift.String? - /// An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE. - public var operationType: ControlTowerClientTypes.BaselineOperationType? - /// The start time of the operation, in ISO 8601 format. - public var startTime: Foundation.Date? - /// An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS. - public var status: ControlTowerClientTypes.BaselineOperationStatus? - /// A status message that gives more information about the operation's status, if applicable. - public var statusMessage: Swift.String? - - public init( - endTime: Foundation.Date? = nil, - operationIdentifier: Swift.String? = nil, - operationType: ControlTowerClientTypes.BaselineOperationType? = nil, - startTime: Foundation.Date? = nil, - status: ControlTowerClientTypes.BaselineOperationStatus? = nil, - statusMessage: Swift.String? = nil - ) - { - self.endTime = endTime - self.operationIdentifier = operationIdentifier - self.operationType = operationType - self.startTime = startTime - self.status = status - self.statusMessage = statusMessage - } - } - -} - -public struct GetBaselineOperationOutput { - /// A baselineOperation object that shows information about the specified operation ID. - /// This member is required. - public var baselineOperation: ControlTowerClientTypes.BaselineOperation? - - public init( - baselineOperation: ControlTowerClientTypes.BaselineOperation? = nil - ) - { - self.baselineOperation = baselineOperation - } -} - public struct GetEnabledBaselineInput { /// Identifier of the EnabledBaseline resource to be retrieved, in ARN format. /// This member is required. @@ -886,17 +886,17 @@ extension ControlTowerClientTypes { } extension ControlTowerClientTypes { - /// The deployment summary of the enabled control. + /// The deployment summary of an EnabledControl or EnabledBaseline resource. public struct EnablementStatusSummary { - /// The last operation identifier for the enabled control. + /// The last operation identifier for the enabled resource. public var lastOperationIdentifier: Swift.String? - /// The deployment status of the enabled control. Valid values: + /// The deployment status of the enabled resource. Valid values: /// - /// * SUCCEEDED: The enabledControl configuration was deployed successfully. + /// * SUCCEEDED: The EnabledControl or EnabledBaseline configuration was deployed successfully. /// - /// * UNDER_CHANGE: The enabledControl configuration is changing. + /// * UNDER_CHANGE: The EnabledControl or EnabledBaseline configuration is changing. /// - /// * FAILED: The enabledControl configuration failed to deploy. + /// * FAILED: The EnabledControl or EnabledBaseline configuration failed to deploy. public var status: ControlTowerClientTypes.EnablementStatus? public init( @@ -924,7 +924,7 @@ extension ControlTowerClientTypes { public var baselineVersion: Swift.String? /// Shows the parameters that are applied when enabling this Baseline. public var parameters: [ControlTowerClientTypes.EnabledBaselineParameterSummary]? - /// The deployment summary of the enabled control. + /// The deployment summary of an EnabledControl or EnabledBaseline resource. /// This member is required. public var statusSummary: ControlTowerClientTypes.EnablementStatusSummary? /// The target on which to enable the Baseline. @@ -1014,7 +1014,7 @@ extension ControlTowerClientTypes { public var baselineIdentifier: Swift.String? /// The enabled version of the baseline. public var baselineVersion: Swift.String? - /// The deployment summary of the enabled control. + /// The deployment summary of an EnabledControl or EnabledBaseline resource. /// This member is required. public var statusSummary: ControlTowerClientTypes.EnablementStatusSummary? /// The target upon which the baseline is enabled. @@ -1370,7 +1370,7 @@ extension ControlTowerClientTypes { } public struct ListEnabledControlsInput { - /// An input filter for the ListCEnabledControls API that lets you select the types of control operations to view. + /// An input filter for the ListEnabledControls API that lets you select the types of control operations to view. public var filter: ControlTowerClientTypes.EnabledControlFilter? /// How many results to return per API call. public var maxResults: Swift.Int? @@ -1408,68 +1408,292 @@ extension ControlTowerClientTypes { public var targetIdentifier: Swift.String? public init( - arn: Swift.String? = nil, - controlIdentifier: Swift.String? = nil, - driftStatusSummary: ControlTowerClientTypes.DriftStatusSummary? = nil, - statusSummary: ControlTowerClientTypes.EnablementStatusSummary? = nil, - targetIdentifier: Swift.String? = nil + arn: Swift.String? = nil, + controlIdentifier: Swift.String? = nil, + driftStatusSummary: ControlTowerClientTypes.DriftStatusSummary? = nil, + statusSummary: ControlTowerClientTypes.EnablementStatusSummary? = nil, + targetIdentifier: Swift.String? = nil + ) + { + self.arn = arn + self.controlIdentifier = controlIdentifier + self.driftStatusSummary = driftStatusSummary + self.statusSummary = statusSummary + self.targetIdentifier = targetIdentifier + } + } + +} + +public struct ListEnabledControlsOutput { + /// Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. + /// This member is required. + public var enabledControls: [ControlTowerClientTypes.EnabledControlSummary]? + /// Retrieves the next page of results. If the string is empty, the response is the end of the results. + public var nextToken: Swift.String? + + public init( + enabledControls: [ControlTowerClientTypes.EnabledControlSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.enabledControls = enabledControls + self.nextToken = nextToken + } +} + +public struct UpdateEnabledControlInput { + /// The ARN of the enabled control that will be updated. + /// This member is required. + public var enabledControlIdentifier: Swift.String? + /// A key/value pair, where Key is of type String and Value is of type Document. + /// This member is required. + public var parameters: [ControlTowerClientTypes.EnabledControlParameter]? + + public init( + enabledControlIdentifier: Swift.String? = nil, + parameters: [ControlTowerClientTypes.EnabledControlParameter]? = nil + ) + { + self.enabledControlIdentifier = enabledControlIdentifier + self.parameters = parameters + } +} + +public struct UpdateEnabledControlOutput { + /// The operation identifier for this UpdateEnabledControl operation. + /// This member is required. + public var operationIdentifier: Swift.String? + + public init( + operationIdentifier: Swift.String? = nil + ) + { + self.operationIdentifier = operationIdentifier + } +} + +public struct GetLandingZoneOperationInput { + /// A unique identifier assigned to a landing zone operation. + /// This member is required. + public var operationIdentifier: Swift.String? + + public init( + operationIdentifier: Swift.String? = nil + ) + { + self.operationIdentifier = operationIdentifier + } +} + +extension ControlTowerClientTypes { + + public enum LandingZoneOperationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case create + case delete + case reset + case update + case sdkUnknown(Swift.String) + + public static var allCases: [LandingZoneOperationType] { + return [ + .create, + .delete, + .reset, + .update + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .create: return "CREATE" + case .delete: return "DELETE" + case .reset: return "RESET" + case .update: return "UPDATE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ControlTowerClientTypes { + + public enum LandingZoneOperationStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case inProgress + case succeeded + case sdkUnknown(Swift.String) + + public static var allCases: [LandingZoneOperationStatus] { + return [ + .failed, + .inProgress, + .succeeded + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "FAILED" + case .inProgress: return "IN_PROGRESS" + case .succeeded: return "SUCCEEDED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ControlTowerClientTypes { + /// Information about a landing zone operation. + public struct LandingZoneOperationDetail { + /// The landing zone operation end time. + public var endTime: Foundation.Date? + /// The operationIdentifier of the landing zone operation. + public var operationIdentifier: Swift.String? + /// The landing zone operation type. Valid values: + /// + /// * DELETE: The DeleteLandingZone operation. + /// + /// * CREATE: The CreateLandingZone operation. + /// + /// * UPDATE: The UpdateLandingZone operation. + /// + /// * RESET: The ResetLandingZone operation. + public var operationType: ControlTowerClientTypes.LandingZoneOperationType? + /// The landing zone operation start time. + public var startTime: Foundation.Date? + /// Valid values: + /// + /// * SUCCEEDED: The landing zone operation succeeded. + /// + /// * IN_PROGRESS: The landing zone operation is in progress. + /// + /// * FAILED: The landing zone operation failed. + public var status: ControlTowerClientTypes.LandingZoneOperationStatus? + /// If the operation result is FAILED, this string contains a message explaining why the operation failed. + public var statusMessage: Swift.String? + + public init( + endTime: Foundation.Date? = nil, + operationIdentifier: Swift.String? = nil, + operationType: ControlTowerClientTypes.LandingZoneOperationType? = nil, + startTime: Foundation.Date? = nil, + status: ControlTowerClientTypes.LandingZoneOperationStatus? = nil, + statusMessage: Swift.String? = nil + ) + { + self.endTime = endTime + self.operationIdentifier = operationIdentifier + self.operationType = operationType + self.startTime = startTime + self.status = status + self.statusMessage = statusMessage + } + } + +} + +public struct GetLandingZoneOperationOutput { + /// Details about a landing zone operation. + /// This member is required. + public var operationDetails: ControlTowerClientTypes.LandingZoneOperationDetail? + + public init( + operationDetails: ControlTowerClientTypes.LandingZoneOperationDetail? = nil + ) + { + self.operationDetails = operationDetails + } +} + +extension ControlTowerClientTypes { + /// A filter object that lets you call ListLandingZoneOperations with a specific filter. + public struct LandingZoneOperationFilter { + /// The statuses of the set of landing zone operations selected by the filter. + public var statuses: [ControlTowerClientTypes.LandingZoneOperationStatus]? + /// The set of landing zone operation types selected by the filter. + public var types: [ControlTowerClientTypes.LandingZoneOperationType]? + + public init( + statuses: [ControlTowerClientTypes.LandingZoneOperationStatus]? = nil, + types: [ControlTowerClientTypes.LandingZoneOperationType]? = nil ) { - self.arn = arn - self.controlIdentifier = controlIdentifier - self.driftStatusSummary = driftStatusSummary - self.statusSummary = statusSummary - self.targetIdentifier = targetIdentifier + self.statuses = statuses + self.types = types } } } -public struct ListEnabledControlsOutput { - /// Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. - /// This member is required. - public var enabledControls: [ControlTowerClientTypes.EnabledControlSummary]? - /// Retrieves the next page of results. If the string is empty, the response is the end of the results. +public struct ListLandingZoneOperationsInput { + /// An input filter for the ListLandingZoneOperations API that lets you select the types of landing zone operations to view. + public var filter: ControlTowerClientTypes.LandingZoneOperationFilter? + /// How many results to return per API call. + public var maxResults: Swift.Int? + /// The token to continue the list from a previous API call with the same parameters. public var nextToken: Swift.String? public init( - enabledControls: [ControlTowerClientTypes.EnabledControlSummary]? = nil, + filter: ControlTowerClientTypes.LandingZoneOperationFilter? = nil, + maxResults: Swift.Int? = nil, nextToken: Swift.String? = nil ) { - self.enabledControls = enabledControls + self.filter = filter + self.maxResults = maxResults self.nextToken = nextToken } } -public struct UpdateEnabledControlInput { - /// The ARN of the enabled control that will be updated. - /// This member is required. - public var enabledControlIdentifier: Swift.String? - /// A key/value pair, where Key is of type String and Value is of type Document. - /// This member is required. - public var parameters: [ControlTowerClientTypes.EnabledControlParameter]? +extension ControlTowerClientTypes { + /// Returns a summary of information about a landing zone operation. + public struct LandingZoneOperationSummary { + /// The operationIdentifier of the landing zone operation. + public var operationIdentifier: Swift.String? + /// The type of the landing zone operation. + public var operationType: ControlTowerClientTypes.LandingZoneOperationType? + /// The status of the landing zone operation. + public var status: ControlTowerClientTypes.LandingZoneOperationStatus? - public init( - enabledControlIdentifier: Swift.String? = nil, - parameters: [ControlTowerClientTypes.EnabledControlParameter]? = nil - ) - { - self.enabledControlIdentifier = enabledControlIdentifier - self.parameters = parameters + public init( + operationIdentifier: Swift.String? = nil, + operationType: ControlTowerClientTypes.LandingZoneOperationType? = nil, + status: ControlTowerClientTypes.LandingZoneOperationStatus? = nil + ) + { + self.operationIdentifier = operationIdentifier + self.operationType = operationType + self.status = status + } } + } -public struct UpdateEnabledControlOutput { - /// The operation identifier for this UpdateEnabledControl operation. +public struct ListLandingZoneOperationsOutput { + /// Lists landing zone operations. /// This member is required. - public var operationIdentifier: Swift.String? + public var landingZoneOperations: [ControlTowerClientTypes.LandingZoneOperationSummary]? + /// Retrieves the next page of results. If the string is empty, the response is the end of the results. + public var nextToken: Swift.String? public init( - operationIdentifier: Swift.String? = nil + landingZoneOperations: [ControlTowerClientTypes.LandingZoneOperationSummary]? = nil, + nextToken: Swift.String? = nil ) { - self.operationIdentifier = operationIdentifier + self.landingZoneOperations = landingZoneOperations + self.nextToken = nextToken } } @@ -1684,145 +1908,6 @@ public struct GetLandingZoneOutput { } } -public struct GetLandingZoneOperationInput { - /// A unique identifier assigned to a landing zone operation. - /// This member is required. - public var operationIdentifier: Swift.String? - - public init( - operationIdentifier: Swift.String? = nil - ) - { - self.operationIdentifier = operationIdentifier - } -} - -extension ControlTowerClientTypes { - - public enum LandingZoneOperationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case create - case delete - case reset - case update - case sdkUnknown(Swift.String) - - public static var allCases: [LandingZoneOperationType] { - return [ - .create, - .delete, - .reset, - .update - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .create: return "CREATE" - case .delete: return "DELETE" - case .reset: return "RESET" - case .update: return "UPDATE" - case let .sdkUnknown(s): return s - } - } - } -} - -extension ControlTowerClientTypes { - - public enum LandingZoneOperationStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case failed - case inProgress - case succeeded - case sdkUnknown(Swift.String) - - public static var allCases: [LandingZoneOperationStatus] { - return [ - .failed, - .inProgress, - .succeeded - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .failed: return "FAILED" - case .inProgress: return "IN_PROGRESS" - case .succeeded: return "SUCCEEDED" - case let .sdkUnknown(s): return s - } - } - } -} - -extension ControlTowerClientTypes { - /// Information about a landing zone operation. - public struct LandingZoneOperationDetail { - /// The landing zone operation end time. - public var endTime: Foundation.Date? - /// The landing zone operation type. Valid values: - /// - /// * DELETE: The DeleteLandingZone operation. - /// - /// * CREATE: The CreateLandingZone operation. - /// - /// * UPDATE: The UpdateLandingZone operation. - /// - /// * RESET: The ResetLandingZone operation. - public var operationType: ControlTowerClientTypes.LandingZoneOperationType? - /// The landing zone operation start time. - public var startTime: Foundation.Date? - /// Valid values: - /// - /// * SUCCEEDED: The landing zone operation succeeded. - /// - /// * IN_PROGRESS: The landing zone operation is in progress. - /// - /// * FAILED: The landing zone operation failed. - public var status: ControlTowerClientTypes.LandingZoneOperationStatus? - /// If the operation result is FAILED, this string contains a message explaining why the operation failed. - public var statusMessage: Swift.String? - - public init( - endTime: Foundation.Date? = nil, - operationType: ControlTowerClientTypes.LandingZoneOperationType? = nil, - startTime: Foundation.Date? = nil, - status: ControlTowerClientTypes.LandingZoneOperationStatus? = nil, - statusMessage: Swift.String? = nil - ) - { - self.endTime = endTime - self.operationType = operationType - self.startTime = startTime - self.status = status - self.statusMessage = statusMessage - } - } - -} - -public struct GetLandingZoneOperationOutput { - /// Details about a landing zone operation. - /// This member is required. - public var operationDetails: ControlTowerClientTypes.LandingZoneOperationDetail? - - public init( - operationDetails: ControlTowerClientTypes.LandingZoneOperationDetail? = nil - ) - { - self.operationDetails = operationDetails - } -} - public struct ListLandingZonesInput { /// The maximum number of returned landing zone ARNs, which is one. public var maxResults: Swift.Int? @@ -1902,7 +1987,7 @@ public struct UpdateLandingZoneInput { /// The unique identifier of the landing zone. /// This member is required. public var landingZoneIdentifier: Swift.String? - /// The manifest JSON file is a text file that describes your Amazon Web Services resources. For examples, review [Launch your landing zone](https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch). + /// The manifest file (JSON) is a text file that describes your Amazon Web Services resources. For an example, review [Launch your landing zone](https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch). The example manifest file contains each of the available parameters. The schema for the landing zone's JSON manifest file is not published, by design. /// This member is required. public var manifest: SmithyReadWrite.Document? /// The landing zone version, for example, 3.2. @@ -2125,6 +2210,13 @@ extension ListEnabledControlsInput { } } +extension ListLandingZoneOperationsInput { + + static func urlPathProvider(_ value: ListLandingZoneOperationsInput) -> Swift.String? { + return "/list-landingzone-operations" + } +} + extension ListLandingZonesInput { static func urlPathProvider(_ value: ListLandingZonesInput) -> Swift.String? { @@ -2367,6 +2459,16 @@ extension ListEnabledControlsInput { } } +extension ListLandingZoneOperationsInput { + + static func write(value: ListLandingZoneOperationsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filter"].write(value.filter, with: ControlTowerClientTypes.LandingZoneOperationFilter.write(value:to:)) + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + extension ListLandingZonesInput { static func write(value: ListLandingZonesInput?, to writer: SmithyJSON.Writer) throws { @@ -2431,7 +2533,7 @@ extension UpdateLandingZoneInput { extension CreateLandingZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLandingZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLandingZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2444,7 +2546,7 @@ extension CreateLandingZoneOutput { extension DeleteLandingZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLandingZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLandingZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2456,7 +2558,7 @@ extension DeleteLandingZoneOutput { extension DisableBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2468,7 +2570,7 @@ extension DisableBaselineOutput { extension DisableControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2480,7 +2582,7 @@ extension DisableControlOutput { extension EnableBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2493,7 +2595,7 @@ extension EnableBaselineOutput { extension EnableControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2506,7 +2608,7 @@ extension EnableControlOutput { extension GetBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2520,7 +2622,7 @@ extension GetBaselineOutput { extension GetBaselineOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBaselineOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBaselineOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2532,7 +2634,7 @@ extension GetBaselineOperationOutput { extension GetControlOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetControlOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetControlOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2544,7 +2646,7 @@ extension GetControlOperationOutput { extension GetEnabledBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnabledBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnabledBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2556,7 +2658,7 @@ extension GetEnabledBaselineOutput { extension GetEnabledControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnabledControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnabledControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2568,7 +2670,7 @@ extension GetEnabledControlOutput { extension GetLandingZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLandingZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLandingZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2580,7 +2682,7 @@ extension GetLandingZoneOutput { extension GetLandingZoneOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLandingZoneOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLandingZoneOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2592,7 +2694,7 @@ extension GetLandingZoneOperationOutput { extension ListBaselinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBaselinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBaselinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2605,7 +2707,7 @@ extension ListBaselinesOutput { extension ListControlOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListControlOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListControlOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2618,7 +2720,7 @@ extension ListControlOperationsOutput { extension ListEnabledBaselinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnabledBaselinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnabledBaselinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2631,7 +2733,7 @@ extension ListEnabledBaselinesOutput { extension ListEnabledControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnabledControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnabledControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2642,9 +2744,22 @@ extension ListEnabledControlsOutput { } } +extension ListLandingZoneOperationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLandingZoneOperationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListLandingZoneOperationsOutput() + value.landingZoneOperations = try reader["landingZoneOperations"].readListIfPresent(memberReadingClosure: ControlTowerClientTypes.LandingZoneOperationSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListLandingZonesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLandingZonesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLandingZonesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2657,7 +2772,7 @@ extension ListLandingZonesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2669,7 +2784,7 @@ extension ListTagsForResourceOutput { extension ResetEnabledBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetEnabledBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetEnabledBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2681,7 +2796,7 @@ extension ResetEnabledBaselineOutput { extension ResetLandingZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetLandingZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetLandingZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2693,21 +2808,21 @@ extension ResetLandingZoneOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateEnabledBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnabledBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnabledBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2719,7 +2834,7 @@ extension UpdateEnabledBaselineOutput { extension UpdateEnabledControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnabledControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnabledControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2731,7 +2846,7 @@ extension UpdateEnabledControlOutput { extension UpdateLandingZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLandingZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLandingZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2743,7 +2858,7 @@ extension UpdateLandingZoneOutput { enum CreateLandingZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2761,7 +2876,7 @@ enum CreateLandingZoneOutputError { enum DeleteLandingZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2780,7 +2895,7 @@ enum DeleteLandingZoneOutputError { enum DisableBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2800,7 +2915,7 @@ enum DisableBaselineOutputError { enum DisableControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2820,7 +2935,7 @@ enum DisableControlOutputError { enum EnableBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2840,7 +2955,7 @@ enum EnableBaselineOutputError { enum EnableControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2860,7 +2975,7 @@ enum EnableControlOutputError { enum GetBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2878,7 +2993,7 @@ enum GetBaselineOutputError { enum GetBaselineOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2896,7 +3011,7 @@ enum GetBaselineOperationOutputError { enum GetControlOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2914,7 +3029,7 @@ enum GetControlOperationOutputError { enum GetEnabledBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2932,7 +3047,7 @@ enum GetEnabledBaselineOutputError { enum GetEnabledControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2950,7 +3065,7 @@ enum GetEnabledControlOutputError { enum GetLandingZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2968,7 +3083,7 @@ enum GetLandingZoneOutputError { enum GetLandingZoneOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2986,7 +3101,7 @@ enum GetLandingZoneOperationOutputError { enum ListBaselinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3003,7 +3118,7 @@ enum ListBaselinesOutputError { enum ListControlOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3020,7 +3135,7 @@ enum ListControlOperationsOutputError { enum ListEnabledBaselinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3037,7 +3152,7 @@ enum ListEnabledBaselinesOutputError { enum ListEnabledControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3053,9 +3168,26 @@ enum ListEnabledControlsOutputError { } } +enum ListLandingZoneOperationsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListLandingZonesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3072,7 +3204,7 @@ enum ListLandingZonesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3088,7 +3220,7 @@ enum ListTagsForResourceOutputError { enum ResetEnabledBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3108,7 +3240,7 @@ enum ResetEnabledBaselineOutputError { enum ResetLandingZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3127,7 +3259,7 @@ enum ResetLandingZoneOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3143,7 +3275,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3159,7 +3291,7 @@ enum UntagResourceOutputError { enum UpdateEnabledBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3179,7 +3311,7 @@ enum UpdateEnabledBaselineOutputError { enum UpdateEnabledControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3199,7 +3331,7 @@ enum UpdateEnabledControlOutputError { enum UpdateLandingZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3461,9 +3593,10 @@ extension ControlTowerClientTypes.LandingZoneOperationDetail { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = ControlTowerClientTypes.LandingZoneOperationDetail() value.operationType = try reader["operationType"].readIfPresent() + value.operationIdentifier = try reader["operationIdentifier"].readIfPresent() + value.status = try reader["status"].readIfPresent() value.startTime = try reader["startTime"].readTimestampIfPresent(format: .dateTime) value.endTime = try reader["endTime"].readTimestampIfPresent(format: .dateTime) - value.status = try reader["status"].readIfPresent() value.statusMessage = try reader["statusMessage"].readIfPresent() return value } @@ -3527,6 +3660,18 @@ extension ControlTowerClientTypes.EnabledControlSummary { } } +extension ControlTowerClientTypes.LandingZoneOperationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ControlTowerClientTypes.LandingZoneOperationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ControlTowerClientTypes.LandingZoneOperationSummary() + value.operationType = try reader["operationType"].readIfPresent() + value.operationIdentifier = try reader["operationIdentifier"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value + } +} + extension ControlTowerClientTypes.LandingZoneSummary { static func read(from reader: SmithyJSON.Reader) throws -> ControlTowerClientTypes.LandingZoneSummary { @@ -3586,4 +3731,13 @@ extension ControlTowerClientTypes.EnabledControlFilter { } } +extension ControlTowerClientTypes.LandingZoneOperationFilter { + + static func write(value: ControlTowerClientTypes.LandingZoneOperationFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["statuses"].writeList(value.statuses, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["types"].writeList(value.types, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + public enum ControlTowerClientTypes {} diff --git a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/Models.swift b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/Models.swift index 456d79088ac..35ac7b85d13 100644 --- a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/Models.swift +++ b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -698,7 +698,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -757,7 +757,7 @@ public struct UnknownMonitorException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -794,7 +794,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1068,7 +1068,7 @@ public struct UnknownSubscriptionException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1111,7 +1111,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1258,7 +1258,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1443,7 +1443,7 @@ public struct DataUnavailableException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1563,7 +1563,7 @@ public struct BillExpirationException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1587,7 +1587,7 @@ public struct RequestChangedException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4464,7 +4464,7 @@ public struct UnresolvableUsageUnitException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4977,7 +4977,7 @@ public struct BackfillLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5026,7 +5026,7 @@ public struct GenerationExistsException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5076,7 +5076,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7855,7 +7855,7 @@ extension UpdateCostCategoryDefinitionInput { extension CreateAnomalyMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnomalyMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnomalyMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7867,7 +7867,7 @@ extension CreateAnomalyMonitorOutput { extension CreateAnomalySubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnomalySubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnomalySubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7879,7 +7879,7 @@ extension CreateAnomalySubscriptionOutput { extension CreateCostCategoryDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCostCategoryDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCostCategoryDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7892,21 +7892,21 @@ extension CreateCostCategoryDefinitionOutput { extension DeleteAnomalyMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnomalyMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnomalyMonitorOutput { return DeleteAnomalyMonitorOutput() } } extension DeleteAnomalySubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnomalySubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnomalySubscriptionOutput { return DeleteAnomalySubscriptionOutput() } } extension DeleteCostCategoryDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCostCategoryDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCostCategoryDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7919,7 +7919,7 @@ extension DeleteCostCategoryDefinitionOutput { extension DescribeCostCategoryDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCostCategoryDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCostCategoryDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7931,7 +7931,7 @@ extension DescribeCostCategoryDefinitionOutput { extension GetAnomaliesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnomaliesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnomaliesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7944,7 +7944,7 @@ extension GetAnomaliesOutput { extension GetAnomalyMonitorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnomalyMonitorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnomalyMonitorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7957,7 +7957,7 @@ extension GetAnomalyMonitorsOutput { extension GetAnomalySubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnomalySubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnomalySubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7970,7 +7970,7 @@ extension GetAnomalySubscriptionsOutput { extension GetApproximateUsageRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApproximateUsageRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApproximateUsageRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7984,7 +7984,7 @@ extension GetApproximateUsageRecordsOutput { extension GetCostAndUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCostAndUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCostAndUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7999,7 +7999,7 @@ extension GetCostAndUsageOutput { extension GetCostAndUsageWithResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCostAndUsageWithResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCostAndUsageWithResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8014,7 +8014,7 @@ extension GetCostAndUsageWithResourcesOutput { extension GetCostCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCostCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCostCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8030,7 +8030,7 @@ extension GetCostCategoriesOutput { extension GetCostForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCostForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCostForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8043,7 +8043,7 @@ extension GetCostForecastOutput { extension GetDimensionValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDimensionValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDimensionValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8058,7 +8058,7 @@ extension GetDimensionValuesOutput { extension GetReservationCoverageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReservationCoverageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReservationCoverageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8072,7 +8072,7 @@ extension GetReservationCoverageOutput { extension GetReservationPurchaseRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReservationPurchaseRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReservationPurchaseRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8086,7 +8086,7 @@ extension GetReservationPurchaseRecommendationOutput { extension GetReservationUtilizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReservationUtilizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReservationUtilizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8100,7 +8100,7 @@ extension GetReservationUtilizationOutput { extension GetRightsizingRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRightsizingRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRightsizingRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8116,7 +8116,7 @@ extension GetRightsizingRecommendationOutput { extension GetSavingsPlanPurchaseRecommendationDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSavingsPlanPurchaseRecommendationDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSavingsPlanPurchaseRecommendationDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8129,7 +8129,7 @@ extension GetSavingsPlanPurchaseRecommendationDetailsOutput { extension GetSavingsPlansCoverageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSavingsPlansCoverageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSavingsPlansCoverageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8142,7 +8142,7 @@ extension GetSavingsPlansCoverageOutput { extension GetSavingsPlansPurchaseRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSavingsPlansPurchaseRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSavingsPlansPurchaseRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8156,7 +8156,7 @@ extension GetSavingsPlansPurchaseRecommendationOutput { extension GetSavingsPlansUtilizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSavingsPlansUtilizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSavingsPlansUtilizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8169,7 +8169,7 @@ extension GetSavingsPlansUtilizationOutput { extension GetSavingsPlansUtilizationDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSavingsPlansUtilizationDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSavingsPlansUtilizationDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8184,7 +8184,7 @@ extension GetSavingsPlansUtilizationDetailsOutput { extension GetTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8199,7 +8199,7 @@ extension GetTagsOutput { extension GetUsageForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8212,7 +8212,7 @@ extension GetUsageForecastOutput { extension ListCostAllocationTagBackfillHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCostAllocationTagBackfillHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCostAllocationTagBackfillHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8225,7 +8225,7 @@ extension ListCostAllocationTagBackfillHistoryOutput { extension ListCostAllocationTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCostAllocationTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCostAllocationTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8238,7 +8238,7 @@ extension ListCostAllocationTagsOutput { extension ListCostCategoryDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCostCategoryDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCostCategoryDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8251,7 +8251,7 @@ extension ListCostCategoryDefinitionsOutput { extension ListSavingsPlansPurchaseRecommendationGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSavingsPlansPurchaseRecommendationGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSavingsPlansPurchaseRecommendationGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8264,7 +8264,7 @@ extension ListSavingsPlansPurchaseRecommendationGenerationOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8276,7 +8276,7 @@ extension ListTagsForResourceOutput { extension ProvideAnomalyFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvideAnomalyFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvideAnomalyFeedbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8288,7 +8288,7 @@ extension ProvideAnomalyFeedbackOutput { extension StartCostAllocationTagBackfillOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCostAllocationTagBackfillOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCostAllocationTagBackfillOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8300,7 +8300,7 @@ extension StartCostAllocationTagBackfillOutput { extension StartSavingsPlansPurchaseRecommendationGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSavingsPlansPurchaseRecommendationGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSavingsPlansPurchaseRecommendationGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8314,21 +8314,21 @@ extension StartSavingsPlansPurchaseRecommendationGenerationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAnomalyMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnomalyMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnomalyMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8340,7 +8340,7 @@ extension UpdateAnomalyMonitorOutput { extension UpdateAnomalySubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnomalySubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnomalySubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8352,7 +8352,7 @@ extension UpdateAnomalySubscriptionOutput { extension UpdateCostAllocationTagsStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCostAllocationTagsStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCostAllocationTagsStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8364,7 +8364,7 @@ extension UpdateCostAllocationTagsStatusOutput { extension UpdateCostCategoryDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCostCategoryDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCostCategoryDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8377,7 +8377,7 @@ extension UpdateCostCategoryDefinitionOutput { enum CreateAnomalyMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8391,7 +8391,7 @@ enum CreateAnomalyMonitorOutputError { enum CreateAnomalySubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8406,7 +8406,7 @@ enum CreateAnomalySubscriptionOutputError { enum CreateCostCategoryDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8421,7 +8421,7 @@ enum CreateCostCategoryDefinitionOutputError { enum DeleteAnomalyMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8436,7 +8436,7 @@ enum DeleteAnomalyMonitorOutputError { enum DeleteAnomalySubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8451,7 +8451,7 @@ enum DeleteAnomalySubscriptionOutputError { enum DeleteCostCategoryDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8466,7 +8466,7 @@ enum DeleteCostCategoryDefinitionOutputError { enum DescribeCostCategoryDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8481,7 +8481,7 @@ enum DescribeCostCategoryDefinitionOutputError { enum GetAnomaliesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8496,7 +8496,7 @@ enum GetAnomaliesOutputError { enum GetAnomalyMonitorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8512,7 +8512,7 @@ enum GetAnomalyMonitorsOutputError { enum GetAnomalySubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8528,7 +8528,7 @@ enum GetAnomalySubscriptionsOutputError { enum GetApproximateUsageRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8543,7 +8543,7 @@ enum GetApproximateUsageRecordsOutputError { enum GetCostAndUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8561,7 +8561,7 @@ enum GetCostAndUsageOutputError { enum GetCostAndUsageWithResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8579,7 +8579,7 @@ enum GetCostAndUsageWithResourcesOutputError { enum GetCostCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8597,7 +8597,7 @@ enum GetCostCategoriesOutputError { enum GetCostForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8612,7 +8612,7 @@ enum GetCostForecastOutputError { enum GetDimensionValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8630,7 +8630,7 @@ enum GetDimensionValuesOutputError { enum GetReservationCoverageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8646,7 +8646,7 @@ enum GetReservationCoverageOutputError { enum GetReservationPurchaseRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8662,7 +8662,7 @@ enum GetReservationPurchaseRecommendationOutputError { enum GetReservationUtilizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8678,7 +8678,7 @@ enum GetReservationUtilizationOutputError { enum GetRightsizingRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8693,7 +8693,7 @@ enum GetRightsizingRecommendationOutputError { enum GetSavingsPlanPurchaseRecommendationDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8708,7 +8708,7 @@ enum GetSavingsPlanPurchaseRecommendationDetailsOutputError { enum GetSavingsPlansCoverageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8724,7 +8724,7 @@ enum GetSavingsPlansCoverageOutputError { enum GetSavingsPlansPurchaseRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8739,7 +8739,7 @@ enum GetSavingsPlansPurchaseRecommendationOutputError { enum GetSavingsPlansUtilizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8754,7 +8754,7 @@ enum GetSavingsPlansUtilizationOutputError { enum GetSavingsPlansUtilizationDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8770,7 +8770,7 @@ enum GetSavingsPlansUtilizationDetailsOutputError { enum GetTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8788,7 +8788,7 @@ enum GetTagsOutputError { enum GetUsageForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8804,7 +8804,7 @@ enum GetUsageForecastOutputError { enum ListCostAllocationTagBackfillHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8819,7 +8819,7 @@ enum ListCostAllocationTagBackfillHistoryOutputError { enum ListCostAllocationTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8834,7 +8834,7 @@ enum ListCostAllocationTagsOutputError { enum ListCostCategoryDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8848,7 +8848,7 @@ enum ListCostCategoryDefinitionsOutputError { enum ListSavingsPlansPurchaseRecommendationGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8864,7 +8864,7 @@ enum ListSavingsPlansPurchaseRecommendationGenerationOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8879,7 +8879,7 @@ enum ListTagsForResourceOutputError { enum ProvideAnomalyFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8893,7 +8893,7 @@ enum ProvideAnomalyFeedbackOutputError { enum StartCostAllocationTagBackfillOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8908,7 +8908,7 @@ enum StartCostAllocationTagBackfillOutputError { enum StartSavingsPlansPurchaseRecommendationGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8925,7 +8925,7 @@ enum StartSavingsPlansPurchaseRecommendationGenerationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8941,7 +8941,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8956,7 +8956,7 @@ enum UntagResourceOutputError { enum UpdateAnomalyMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8971,7 +8971,7 @@ enum UpdateAnomalyMonitorOutputError { enum UpdateAnomalySubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8987,7 +8987,7 @@ enum UpdateAnomalySubscriptionOutputError { enum UpdateCostAllocationTagsStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9001,7 +9001,7 @@ enum UpdateCostAllocationTagsStatusOutputError { enum UpdateCostCategoryDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift index 6cb0898ad6e..e5119c896f6 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -297,7 +297,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -321,7 +321,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -401,7 +401,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -512,7 +512,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2398,7 +2398,7 @@ extension UpdatePreferencesInput { extension GetPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2411,7 +2411,7 @@ extension GetPreferencesOutput { extension GetRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2445,7 +2445,7 @@ extension GetRecommendationOutput { extension ListEnrollmentStatusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnrollmentStatusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnrollmentStatusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2459,7 +2459,7 @@ extension ListEnrollmentStatusesOutput { extension ListRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2472,7 +2472,7 @@ extension ListRecommendationsOutput { extension ListRecommendationSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2488,7 +2488,7 @@ extension ListRecommendationSummariesOutput { extension UpdateEnrollmentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnrollmentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnrollmentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2500,7 +2500,7 @@ extension UpdateEnrollmentStatusOutput { extension UpdatePreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2513,7 +2513,7 @@ extension UpdatePreferencesOutput { enum GetPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2530,7 +2530,7 @@ enum GetPreferencesOutputError { enum GetRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2548,7 +2548,7 @@ enum GetRecommendationOutputError { enum ListEnrollmentStatusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2565,7 +2565,7 @@ enum ListEnrollmentStatusesOutputError { enum ListRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2582,7 +2582,7 @@ enum ListRecommendationsOutputError { enum ListRecommendationSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2599,7 +2599,7 @@ enum ListRecommendationSummariesOutputError { enum UpdateEnrollmentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2616,7 +2616,7 @@ enum UpdateEnrollmentStatusOutputError { enum UpdatePreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/Models.swift b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/Models.swift index 278adced127..bbdf7263129 100644 --- a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/Models.swift +++ b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -67,7 +67,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -92,7 +92,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -568,7 +568,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -663,7 +663,7 @@ public struct DuplicateReportNameException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -688,7 +688,7 @@ public struct ReportLimitReachedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -882,7 +882,7 @@ extension UntagResourceInput { extension DeleteReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReportDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -894,7 +894,7 @@ extension DeleteReportDefinitionOutput { extension DescribeReportDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReportDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReportDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -907,7 +907,7 @@ extension DescribeReportDefinitionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -919,35 +919,35 @@ extension ListTagsForResourceOutput { extension ModifyReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReportDefinitionOutput { return ModifyReportDefinitionOutput() } } extension PutReportDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutReportDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutReportDefinitionOutput { return PutReportDefinitionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum DeleteReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -962,7 +962,7 @@ enum DeleteReportDefinitionOutputError { enum DescribeReportDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -976,7 +976,7 @@ enum DescribeReportDefinitionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -992,7 +992,7 @@ enum ListTagsForResourceOutputError { enum ModifyReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1007,7 +1007,7 @@ enum ModifyReportDefinitionOutputError { enum PutReportDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1025,7 +1025,7 @@ enum PutReportDefinitionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1041,7 +1041,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift index 4897d6681da..4234ca91e5a 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift @@ -285,7 +285,7 @@ extension CustomerProfilesClient { /// Performs the `CreateDomain` operation on the `CustomerProfiles_20200815` service. /// - /// Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. Use this API or [UpdateDomain](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html) to enable [identity resolution](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html): set Matching to true. To prevent cross-service impersonation when you call this API, see [Cross-service confused deputy prevention](https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) for sample policies that you should apply. + /// Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. Use this API or [UpdateDomain](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html) to enable [identity resolution](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html): set Matching to true. To prevent cross-service impersonation when you call this API, see [Cross-service confused deputy prevention](https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) for sample policies that you should apply. It is not possible to associate a Customer Profiles domain with an Amazon Connect Instance directly from the API. If you would like to create a domain and associate a Customer Profiles domain, use the Amazon Connect admin website. For more information, see [Enable Customer Profiles](https://docs.aws.amazon.com/connect/latest/adminguide/enable-customer-profiles.html#enable-customer-profiles-step1). Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. /// /// - Parameter CreateDomainInput : [no documentation found] /// diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/Models.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/Models.swift index cb46d0d1bb9..fc0df5a6877 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/Models.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -109,7 +109,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -133,7 +133,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2643,7 +2643,7 @@ extension CustomerProfilesClientTypes { } public struct CreateProfileInput { - /// A unique account number that you have given to the customer. + /// An account number that you have given to the customer. public var accountNumber: Swift.String? /// Any additional information relevant to the customer’s profile. public var additionalInformation: Swift.String? @@ -3991,6 +3991,10 @@ public struct GetProfileObjectTypeOutput { public var keys: [Swift.String: [CustomerProfilesClientTypes.ObjectTypeKey]]? /// The timestamp of when the domain was most recently edited. public var lastUpdatedAt: Foundation.Date? + /// The amount of provisioned profile object max count available. + public var maxAvailableProfileObjectCount: Swift.Int? + /// The amount of profile object max count assigned to the object type. + public var maxProfileObjectCount: Swift.Int? /// The name of the profile object type. /// This member is required. public var objectTypeName: Swift.String? @@ -4010,6 +4014,8 @@ public struct GetProfileObjectTypeOutput { fields: [Swift.String: CustomerProfilesClientTypes.ObjectTypeField]? = nil, keys: [Swift.String: [CustomerProfilesClientTypes.ObjectTypeKey]]? = nil, lastUpdatedAt: Foundation.Date? = nil, + maxAvailableProfileObjectCount: Swift.Int? = nil, + maxProfileObjectCount: Swift.Int? = nil, objectTypeName: Swift.String? = nil, sourceLastUpdatedTimestampFormat: Swift.String? = nil, tags: [Swift.String: Swift.String]? = nil, @@ -4024,6 +4030,8 @@ public struct GetProfileObjectTypeOutput { self.fields = fields self.keys = keys self.lastUpdatedAt = lastUpdatedAt + self.maxAvailableProfileObjectCount = maxAvailableProfileObjectCount + self.maxProfileObjectCount = maxProfileObjectCount self.objectTypeName = objectTypeName self.sourceLastUpdatedTimestampFormat = sourceLastUpdatedTimestampFormat self.tags = tags @@ -4033,7 +4041,7 @@ public struct GetProfileObjectTypeOutput { extension GetProfileObjectTypeOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetProfileObjectTypeOutput(allowProfileCreation: \(Swift.String(describing: allowProfileCreation)), createdAt: \(Swift.String(describing: createdAt)), encryptionKey: \(Swift.String(describing: encryptionKey)), expirationDays: \(Swift.String(describing: expirationDays)), lastUpdatedAt: \(Swift.String(describing: lastUpdatedAt)), objectTypeName: \(Swift.String(describing: objectTypeName)), sourceLastUpdatedTimestampFormat: \(Swift.String(describing: sourceLastUpdatedTimestampFormat)), tags: \(Swift.String(describing: tags)), templateId: \(Swift.String(describing: templateId)), description: \"CONTENT_REDACTED\", fields: \"CONTENT_REDACTED\", keys: \"CONTENT_REDACTED\")"} + "GetProfileObjectTypeOutput(allowProfileCreation: \(Swift.String(describing: allowProfileCreation)), createdAt: \(Swift.String(describing: createdAt)), encryptionKey: \(Swift.String(describing: encryptionKey)), expirationDays: \(Swift.String(describing: expirationDays)), lastUpdatedAt: \(Swift.String(describing: lastUpdatedAt)), maxAvailableProfileObjectCount: \(Swift.String(describing: maxAvailableProfileObjectCount)), maxProfileObjectCount: \(Swift.String(describing: maxProfileObjectCount)), objectTypeName: \(Swift.String(describing: objectTypeName)), sourceLastUpdatedTimestampFormat: \(Swift.String(describing: sourceLastUpdatedTimestampFormat)), tags: \(Swift.String(describing: tags)), templateId: \(Swift.String(describing: templateId)), description: \"CONTENT_REDACTED\", fields: \"CONTENT_REDACTED\", keys: \"CONTENT_REDACTED\")"} } public struct GetProfileObjectTypeTemplateInput { @@ -4959,6 +4967,10 @@ extension CustomerProfilesClientTypes { public var description: Swift.String? /// The timestamp of when the domain was most recently edited. public var lastUpdatedAt: Foundation.Date? + /// The amount of provisioned profile object max count available. + public var maxAvailableProfileObjectCount: Swift.Int? + /// The amount of profile object max count assigned to the object type. + public var maxProfileObjectCount: Swift.Int? /// The name of the profile object type. /// This member is required. public var objectTypeName: Swift.String? @@ -4969,6 +4981,8 @@ extension CustomerProfilesClientTypes { createdAt: Foundation.Date? = nil, description: Swift.String? = nil, lastUpdatedAt: Foundation.Date? = nil, + maxAvailableProfileObjectCount: Swift.Int? = nil, + maxProfileObjectCount: Swift.Int? = nil, objectTypeName: Swift.String? = nil, tags: [Swift.String: Swift.String]? = nil ) @@ -4976,6 +4990,8 @@ extension CustomerProfilesClientTypes { self.createdAt = createdAt self.description = description self.lastUpdatedAt = lastUpdatedAt + self.maxAvailableProfileObjectCount = maxAvailableProfileObjectCount + self.maxProfileObjectCount = maxProfileObjectCount self.objectTypeName = objectTypeName self.tags = tags } @@ -5495,6 +5511,8 @@ public struct PutProfileObjectTypeInput { public var fields: [Swift.String: CustomerProfilesClientTypes.ObjectTypeField]? /// A list of unique keys that can be used to map data to the profile. public var keys: [Swift.String: [CustomerProfilesClientTypes.ObjectTypeKey]]? + /// The amount of profile object max count assigned to the object type + public var maxProfileObjectCount: Swift.Int? /// The name of the profile object type. /// This member is required. public var objectTypeName: Swift.String? @@ -5513,6 +5531,7 @@ public struct PutProfileObjectTypeInput { expirationDays: Swift.Int? = nil, fields: [Swift.String: CustomerProfilesClientTypes.ObjectTypeField]? = nil, keys: [Swift.String: [CustomerProfilesClientTypes.ObjectTypeKey]]? = nil, + maxProfileObjectCount: Swift.Int? = nil, objectTypeName: Swift.String? = nil, sourceLastUpdatedTimestampFormat: Swift.String? = nil, tags: [Swift.String: Swift.String]? = nil, @@ -5526,6 +5545,7 @@ public struct PutProfileObjectTypeInput { self.expirationDays = expirationDays self.fields = fields self.keys = keys + self.maxProfileObjectCount = maxProfileObjectCount self.objectTypeName = objectTypeName self.sourceLastUpdatedTimestampFormat = sourceLastUpdatedTimestampFormat self.tags = tags @@ -5535,7 +5555,7 @@ public struct PutProfileObjectTypeInput { extension PutProfileObjectTypeInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PutProfileObjectTypeInput(allowProfileCreation: \(Swift.String(describing: allowProfileCreation)), domainName: \(Swift.String(describing: domainName)), encryptionKey: \(Swift.String(describing: encryptionKey)), expirationDays: \(Swift.String(describing: expirationDays)), objectTypeName: \(Swift.String(describing: objectTypeName)), sourceLastUpdatedTimestampFormat: \(Swift.String(describing: sourceLastUpdatedTimestampFormat)), tags: \(Swift.String(describing: tags)), templateId: \(Swift.String(describing: templateId)), description: \"CONTENT_REDACTED\", fields: \"CONTENT_REDACTED\", keys: \"CONTENT_REDACTED\")"} + "PutProfileObjectTypeInput(allowProfileCreation: \(Swift.String(describing: allowProfileCreation)), domainName: \(Swift.String(describing: domainName)), encryptionKey: \(Swift.String(describing: encryptionKey)), expirationDays: \(Swift.String(describing: expirationDays)), maxProfileObjectCount: \(Swift.String(describing: maxProfileObjectCount)), objectTypeName: \(Swift.String(describing: objectTypeName)), sourceLastUpdatedTimestampFormat: \(Swift.String(describing: sourceLastUpdatedTimestampFormat)), tags: \(Swift.String(describing: tags)), templateId: \(Swift.String(describing: templateId)), description: \"CONTENT_REDACTED\", fields: \"CONTENT_REDACTED\", keys: \"CONTENT_REDACTED\")"} } public struct PutProfileObjectTypeOutput { @@ -5556,6 +5576,10 @@ public struct PutProfileObjectTypeOutput { public var keys: [Swift.String: [CustomerProfilesClientTypes.ObjectTypeKey]]? /// The timestamp of when the domain was most recently edited. public var lastUpdatedAt: Foundation.Date? + /// The amount of provisioned profile object max count available. + public var maxAvailableProfileObjectCount: Swift.Int? + /// The amount of profile object max count assigned to the object type. + public var maxProfileObjectCount: Swift.Int? /// The name of the profile object type. /// This member is required. public var objectTypeName: Swift.String? @@ -5575,6 +5599,8 @@ public struct PutProfileObjectTypeOutput { fields: [Swift.String: CustomerProfilesClientTypes.ObjectTypeField]? = nil, keys: [Swift.String: [CustomerProfilesClientTypes.ObjectTypeKey]]? = nil, lastUpdatedAt: Foundation.Date? = nil, + maxAvailableProfileObjectCount: Swift.Int? = nil, + maxProfileObjectCount: Swift.Int? = nil, objectTypeName: Swift.String? = nil, sourceLastUpdatedTimestampFormat: Swift.String? = nil, tags: [Swift.String: Swift.String]? = nil, @@ -5589,6 +5615,8 @@ public struct PutProfileObjectTypeOutput { self.fields = fields self.keys = keys self.lastUpdatedAt = lastUpdatedAt + self.maxAvailableProfileObjectCount = maxAvailableProfileObjectCount + self.maxProfileObjectCount = maxProfileObjectCount self.objectTypeName = objectTypeName self.sourceLastUpdatedTimestampFormat = sourceLastUpdatedTimestampFormat self.tags = tags @@ -5598,7 +5626,7 @@ public struct PutProfileObjectTypeOutput { extension PutProfileObjectTypeOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PutProfileObjectTypeOutput(allowProfileCreation: \(Swift.String(describing: allowProfileCreation)), createdAt: \(Swift.String(describing: createdAt)), encryptionKey: \(Swift.String(describing: encryptionKey)), expirationDays: \(Swift.String(describing: expirationDays)), lastUpdatedAt: \(Swift.String(describing: lastUpdatedAt)), objectTypeName: \(Swift.String(describing: objectTypeName)), sourceLastUpdatedTimestampFormat: \(Swift.String(describing: sourceLastUpdatedTimestampFormat)), tags: \(Swift.String(describing: tags)), templateId: \(Swift.String(describing: templateId)), description: \"CONTENT_REDACTED\", fields: \"CONTENT_REDACTED\", keys: \"CONTENT_REDACTED\")"} + "PutProfileObjectTypeOutput(allowProfileCreation: \(Swift.String(describing: allowProfileCreation)), createdAt: \(Swift.String(describing: createdAt)), encryptionKey: \(Swift.String(describing: encryptionKey)), expirationDays: \(Swift.String(describing: expirationDays)), lastUpdatedAt: \(Swift.String(describing: lastUpdatedAt)), maxAvailableProfileObjectCount: \(Swift.String(describing: maxAvailableProfileObjectCount)), maxProfileObjectCount: \(Swift.String(describing: maxProfileObjectCount)), objectTypeName: \(Swift.String(describing: objectTypeName)), sourceLastUpdatedTimestampFormat: \(Swift.String(describing: sourceLastUpdatedTimestampFormat)), tags: \(Swift.String(describing: tags)), templateId: \(Swift.String(describing: templateId)), description: \"CONTENT_REDACTED\", fields: \"CONTENT_REDACTED\", keys: \"CONTENT_REDACTED\")"} } extension CustomerProfilesClientTypes { @@ -5699,7 +5727,7 @@ extension CustomerProfilesClientTypes { extension CustomerProfilesClientTypes { /// The standard profile of a customer. public struct Profile { - /// A unique account number that you have given to the customer. + /// An account number that you have given to the customer. public var accountNumber: Swift.String? /// Any additional information relevant to the customer’s profile. public var additionalInformation: Swift.String? @@ -6111,7 +6139,7 @@ extension CustomerProfilesClientTypes.UpdateAddress: Swift.CustomDebugStringConv } public struct UpdateProfileInput { - /// A unique account number that you have given to the customer. + /// An account number that you have given to the customer. public var accountNumber: Swift.String? /// Any additional information relevant to the customer’s profile. public var additionalInformation: Swift.String? @@ -7311,6 +7339,7 @@ extension PutProfileObjectTypeInput { try writer["ExpirationDays"].write(value.expirationDays) try writer["Fields"].writeMap(value.fields, valueWritingClosure: CustomerProfilesClientTypes.ObjectTypeField.write(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["Keys"].writeMap(value.keys, valueWritingClosure: SmithyReadWrite.listWritingClosure(memberWritingClosure: CustomerProfilesClientTypes.ObjectTypeKey.write(value:to:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["MaxProfileObjectCount"].write(value.maxProfileObjectCount) try writer["SourceLastUpdatedTimestampFormat"].write(value.sourceLastUpdatedTimestampFormat) try writer["Tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["TemplateId"].write(value.templateId) @@ -7392,7 +7421,7 @@ extension UpdateProfileInput { extension AddProfileKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddProfileKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddProfileKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7405,7 +7434,7 @@ extension AddProfileKeyOutput { extension CreateCalculatedAttributeDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCalculatedAttributeDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCalculatedAttributeDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7425,7 +7454,7 @@ extension CreateCalculatedAttributeDefinitionOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7445,7 +7474,7 @@ extension CreateDomainOutput { extension CreateEventStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7458,7 +7487,7 @@ extension CreateEventStreamOutput { extension CreateIntegrationWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntegrationWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntegrationWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7471,7 +7500,7 @@ extension CreateIntegrationWorkflowOutput { extension CreateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7483,14 +7512,14 @@ extension CreateProfileOutput { extension DeleteCalculatedAttributeDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCalculatedAttributeDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCalculatedAttributeDefinitionOutput { return DeleteCalculatedAttributeDefinitionOutput() } } extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7502,14 +7531,14 @@ extension DeleteDomainOutput { extension DeleteEventStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventStreamOutput { return DeleteEventStreamOutput() } } extension DeleteIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7521,7 +7550,7 @@ extension DeleteIntegrationOutput { extension DeleteProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7533,7 +7562,7 @@ extension DeleteProfileOutput { extension DeleteProfileKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7545,7 +7574,7 @@ extension DeleteProfileKeyOutput { extension DeleteProfileObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7557,7 +7586,7 @@ extension DeleteProfileObjectOutput { extension DeleteProfileObjectTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileObjectTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileObjectTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7569,14 +7598,14 @@ extension DeleteProfileObjectTypeOutput { extension DeleteWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowOutput { return DeleteWorkflowOutput() } } extension DetectProfileObjectTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectProfileObjectTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectProfileObjectTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7588,7 +7617,7 @@ extension DetectProfileObjectTypeOutput { extension GetAutoMergingPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAutoMergingPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutoMergingPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7603,7 +7632,7 @@ extension GetAutoMergingPreviewOutput { extension GetCalculatedAttributeDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCalculatedAttributeDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCalculatedAttributeDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7623,7 +7652,7 @@ extension GetCalculatedAttributeDefinitionOutput { extension GetCalculatedAttributeForProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCalculatedAttributeForProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCalculatedAttributeForProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7638,7 +7667,7 @@ extension GetCalculatedAttributeForProfileOutput { extension GetDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7659,7 +7688,7 @@ extension GetDomainOutput { extension GetEventStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7677,7 +7706,7 @@ extension GetEventStreamOutput { extension GetIdentityResolutionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityResolutionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityResolutionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7699,7 +7728,7 @@ extension GetIdentityResolutionJobOutput { extension GetIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7719,7 +7748,7 @@ extension GetIntegrationOutput { extension GetMatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7734,7 +7763,7 @@ extension GetMatchesOutput { extension GetProfileObjectTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileObjectTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileObjectTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7747,6 +7776,8 @@ extension GetProfileObjectTypeOutput { value.fields = try reader["Fields"].readMapIfPresent(valueReadingClosure: CustomerProfilesClientTypes.ObjectTypeField.read(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.keys = try reader["Keys"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.listReadingClosure(memberReadingClosure: CustomerProfilesClientTypes.ObjectTypeKey.read(from:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.lastUpdatedAt = try reader["LastUpdatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.maxAvailableProfileObjectCount = try reader["MaxAvailableProfileObjectCount"].readIfPresent() + value.maxProfileObjectCount = try reader["MaxProfileObjectCount"].readIfPresent() value.objectTypeName = try reader["ObjectTypeName"].readIfPresent() value.sourceLastUpdatedTimestampFormat = try reader["SourceLastUpdatedTimestampFormat"].readIfPresent() value.tags = try reader["Tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) @@ -7757,7 +7788,7 @@ extension GetProfileObjectTypeOutput { extension GetProfileObjectTypeTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileObjectTypeTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileObjectTypeTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7775,7 +7806,7 @@ extension GetProfileObjectTypeTemplateOutput { extension GetSimilarProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSimilarProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSimilarProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7792,7 +7823,7 @@ extension GetSimilarProfilesOutput { extension GetWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7811,7 +7842,7 @@ extension GetWorkflowOutput { extension GetWorkflowStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7826,7 +7857,7 @@ extension GetWorkflowStepsOutput { extension ListAccountIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7839,7 +7870,7 @@ extension ListAccountIntegrationsOutput { extension ListCalculatedAttributeDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCalculatedAttributeDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCalculatedAttributeDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7852,7 +7883,7 @@ extension ListCalculatedAttributeDefinitionsOutput { extension ListCalculatedAttributesForProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCalculatedAttributesForProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCalculatedAttributesForProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7865,7 +7896,7 @@ extension ListCalculatedAttributesForProfileOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7878,7 +7909,7 @@ extension ListDomainsOutput { extension ListEventStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7891,7 +7922,7 @@ extension ListEventStreamsOutput { extension ListIdentityResolutionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityResolutionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityResolutionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7904,7 +7935,7 @@ extension ListIdentityResolutionJobsOutput { extension ListIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7917,7 +7948,7 @@ extension ListIntegrationsOutput { extension ListProfileObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileObjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7930,7 +7961,7 @@ extension ListProfileObjectsOutput { extension ListProfileObjectTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileObjectTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileObjectTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7943,7 +7974,7 @@ extension ListProfileObjectTypesOutput { extension ListProfileObjectTypeTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileObjectTypeTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileObjectTypeTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7956,7 +7987,7 @@ extension ListProfileObjectTypeTemplatesOutput { extension ListRuleBasedMatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleBasedMatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleBasedMatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7969,7 +8000,7 @@ extension ListRuleBasedMatchesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7981,7 +8012,7 @@ extension ListTagsForResourceOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7994,7 +8025,7 @@ extension ListWorkflowsOutput { extension MergeProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergeProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergeProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8006,7 +8037,7 @@ extension MergeProfilesOutput { extension PutIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8026,7 +8057,7 @@ extension PutIntegrationOutput { extension PutProfileObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutProfileObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProfileObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8038,7 +8069,7 @@ extension PutProfileObjectOutput { extension PutProfileObjectTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutProfileObjectTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProfileObjectTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8051,6 +8082,8 @@ extension PutProfileObjectTypeOutput { value.fields = try reader["Fields"].readMapIfPresent(valueReadingClosure: CustomerProfilesClientTypes.ObjectTypeField.read(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.keys = try reader["Keys"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.listReadingClosure(memberReadingClosure: CustomerProfilesClientTypes.ObjectTypeKey.read(from:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.lastUpdatedAt = try reader["LastUpdatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.maxAvailableProfileObjectCount = try reader["MaxAvailableProfileObjectCount"].readIfPresent() + value.maxProfileObjectCount = try reader["MaxProfileObjectCount"].readIfPresent() value.objectTypeName = try reader["ObjectTypeName"].readIfPresent() value.sourceLastUpdatedTimestampFormat = try reader["SourceLastUpdatedTimestampFormat"].readIfPresent() value.tags = try reader["Tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) @@ -8061,7 +8094,7 @@ extension PutProfileObjectTypeOutput { extension SearchProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8074,21 +8107,21 @@ extension SearchProfilesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCalculatedAttributeDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCalculatedAttributeDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCalculatedAttributeDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8108,7 +8141,7 @@ extension UpdateCalculatedAttributeDefinitionOutput { extension UpdateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8128,7 +8161,7 @@ extension UpdateDomainOutput { extension UpdateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8140,7 +8173,7 @@ extension UpdateProfileOutput { enum AddProfileKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8158,7 +8191,7 @@ enum AddProfileKeyOutputError { enum CreateCalculatedAttributeDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8176,7 +8209,7 @@ enum CreateCalculatedAttributeDefinitionOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8194,7 +8227,7 @@ enum CreateDomainOutputError { enum CreateEventStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8212,7 +8245,7 @@ enum CreateEventStreamOutputError { enum CreateIntegrationWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8230,7 +8263,7 @@ enum CreateIntegrationWorkflowOutputError { enum CreateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8248,7 +8281,7 @@ enum CreateProfileOutputError { enum DeleteCalculatedAttributeDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8266,7 +8299,7 @@ enum DeleteCalculatedAttributeDefinitionOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8284,7 +8317,7 @@ enum DeleteDomainOutputError { enum DeleteEventStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8302,7 +8335,7 @@ enum DeleteEventStreamOutputError { enum DeleteIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8320,7 +8353,7 @@ enum DeleteIntegrationOutputError { enum DeleteProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8338,7 +8371,7 @@ enum DeleteProfileOutputError { enum DeleteProfileKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8356,7 +8389,7 @@ enum DeleteProfileKeyOutputError { enum DeleteProfileObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8374,7 +8407,7 @@ enum DeleteProfileObjectOutputError { enum DeleteProfileObjectTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8392,7 +8425,7 @@ enum DeleteProfileObjectTypeOutputError { enum DeleteWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8410,7 +8443,7 @@ enum DeleteWorkflowOutputError { enum DetectProfileObjectTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8428,7 +8461,7 @@ enum DetectProfileObjectTypeOutputError { enum GetAutoMergingPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8446,7 +8479,7 @@ enum GetAutoMergingPreviewOutputError { enum GetCalculatedAttributeDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8464,7 +8497,7 @@ enum GetCalculatedAttributeDefinitionOutputError { enum GetCalculatedAttributeForProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8482,7 +8515,7 @@ enum GetCalculatedAttributeForProfileOutputError { enum GetDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8500,7 +8533,7 @@ enum GetDomainOutputError { enum GetEventStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8518,7 +8551,7 @@ enum GetEventStreamOutputError { enum GetIdentityResolutionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8536,7 +8569,7 @@ enum GetIdentityResolutionJobOutputError { enum GetIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8554,7 +8587,7 @@ enum GetIntegrationOutputError { enum GetMatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8572,7 +8605,7 @@ enum GetMatchesOutputError { enum GetProfileObjectTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8590,7 +8623,7 @@ enum GetProfileObjectTypeOutputError { enum GetProfileObjectTypeTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8608,7 +8641,7 @@ enum GetProfileObjectTypeTemplateOutputError { enum GetSimilarProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8626,7 +8659,7 @@ enum GetSimilarProfilesOutputError { enum GetWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8644,7 +8677,7 @@ enum GetWorkflowOutputError { enum GetWorkflowStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8662,7 +8695,7 @@ enum GetWorkflowStepsOutputError { enum ListAccountIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8680,7 +8713,7 @@ enum ListAccountIntegrationsOutputError { enum ListCalculatedAttributeDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8698,7 +8731,7 @@ enum ListCalculatedAttributeDefinitionsOutputError { enum ListCalculatedAttributesForProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8716,7 +8749,7 @@ enum ListCalculatedAttributesForProfileOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8734,7 +8767,7 @@ enum ListDomainsOutputError { enum ListEventStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8752,7 +8785,7 @@ enum ListEventStreamsOutputError { enum ListIdentityResolutionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8770,7 +8803,7 @@ enum ListIdentityResolutionJobsOutputError { enum ListIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8788,7 +8821,7 @@ enum ListIntegrationsOutputError { enum ListProfileObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8806,7 +8839,7 @@ enum ListProfileObjectsOutputError { enum ListProfileObjectTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8824,7 +8857,7 @@ enum ListProfileObjectTypesOutputError { enum ListProfileObjectTypeTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8842,7 +8875,7 @@ enum ListProfileObjectTypeTemplatesOutputError { enum ListRuleBasedMatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8860,7 +8893,7 @@ enum ListRuleBasedMatchesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8876,7 +8909,7 @@ enum ListTagsForResourceOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8894,7 +8927,7 @@ enum ListWorkflowsOutputError { enum MergeProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8911,7 +8944,7 @@ enum MergeProfilesOutputError { enum PutIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8929,7 +8962,7 @@ enum PutIntegrationOutputError { enum PutProfileObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8947,7 +8980,7 @@ enum PutProfileObjectOutputError { enum PutProfileObjectTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8965,7 +8998,7 @@ enum PutProfileObjectTypeOutputError { enum SearchProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8983,7 +9016,7 @@ enum SearchProfilesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8999,7 +9032,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9015,7 +9048,7 @@ enum UntagResourceOutputError { enum UpdateCalculatedAttributeDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9033,7 +9066,7 @@ enum UpdateCalculatedAttributeDefinitionOutputError { enum UpdateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9051,7 +9084,7 @@ enum UpdateDomainOutputError { enum UpdateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9700,6 +9733,8 @@ extension CustomerProfilesClientTypes.ListProfileObjectTypeItem { value.description = try reader["Description"].readIfPresent() value.createdAt = try reader["CreatedAt"].readTimestampIfPresent(format: .epochSeconds) value.lastUpdatedAt = try reader["LastUpdatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.maxProfileObjectCount = try reader["MaxProfileObjectCount"].readIfPresent() + value.maxAvailableProfileObjectCount = try reader["MaxAvailableProfileObjectCount"].readIfPresent() value.tags = try reader["Tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } diff --git a/Sources/Services/AWSDAX/Sources/AWSDAX/Models.swift b/Sources/Services/AWSDAX/Sources/AWSDAX/Models.swift index 06a6df6d514..2e53dc5c632 100644 --- a/Sources/Services/AWSDAX/Sources/AWSDAX/Models.swift +++ b/Sources/Services/AWSDAX/Sources/AWSDAX/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct ClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -57,7 +57,7 @@ public struct ClusterQuotaForCustomerExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct InsufficientClusterCapacityFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -105,7 +105,7 @@ public struct InvalidClusterStateFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct InvalidParameterGroupStateFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -177,7 +177,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -201,7 +201,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -225,7 +225,7 @@ public struct NodeQuotaForClusterExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -249,7 +249,7 @@ public struct NodeQuotaForCustomerExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -273,7 +273,7 @@ public struct ParameterGroupNotFoundFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -297,7 +297,7 @@ public struct ServiceLinkedRoleNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -315,7 +315,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -334,7 +334,7 @@ public struct SubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -358,7 +358,7 @@ public struct TagQuotaPerResourceExceeded: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -824,7 +824,7 @@ public struct ParameterGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -848,7 +848,7 @@ public struct ParameterGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -921,7 +921,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -945,7 +945,7 @@ public struct SubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -969,7 +969,7 @@ public struct SubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -993,7 +993,7 @@ public struct SubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1103,7 +1103,7 @@ public struct ClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1127,7 +1127,7 @@ public struct NodeNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1239,7 +1239,7 @@ public struct SubnetGroupInUseFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1777,7 +1777,7 @@ public struct InvalidARNFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1894,7 +1894,7 @@ public struct TagNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2047,7 +2047,7 @@ public struct SubnetInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2459,7 +2459,7 @@ extension UpdateSubnetGroupInput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2471,7 +2471,7 @@ extension CreateClusterOutput { extension CreateParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2483,7 +2483,7 @@ extension CreateParameterGroupOutput { extension CreateSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2495,7 +2495,7 @@ extension CreateSubnetGroupOutput { extension DecreaseReplicationFactorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecreaseReplicationFactorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecreaseReplicationFactorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2507,7 +2507,7 @@ extension DecreaseReplicationFactorOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2519,7 +2519,7 @@ extension DeleteClusterOutput { extension DeleteParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2531,7 +2531,7 @@ extension DeleteParameterGroupOutput { extension DeleteSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2543,7 +2543,7 @@ extension DeleteSubnetGroupOutput { extension DescribeClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2556,7 +2556,7 @@ extension DescribeClustersOutput { extension DescribeDefaultParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDefaultParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDefaultParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2569,7 +2569,7 @@ extension DescribeDefaultParametersOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2582,7 +2582,7 @@ extension DescribeEventsOutput { extension DescribeParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2595,7 +2595,7 @@ extension DescribeParameterGroupsOutput { extension DescribeParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2608,7 +2608,7 @@ extension DescribeParametersOutput { extension DescribeSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2621,7 +2621,7 @@ extension DescribeSubnetGroupsOutput { extension IncreaseReplicationFactorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IncreaseReplicationFactorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IncreaseReplicationFactorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2633,7 +2633,7 @@ extension IncreaseReplicationFactorOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2646,7 +2646,7 @@ extension ListTagsOutput { extension RebootNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2658,7 +2658,7 @@ extension RebootNodeOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2670,7 +2670,7 @@ extension TagResourceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2682,7 +2682,7 @@ extension UntagResourceOutput { extension UpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2694,7 +2694,7 @@ extension UpdateClusterOutput { extension UpdateParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2706,7 +2706,7 @@ extension UpdateParameterGroupOutput { extension UpdateSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2718,7 +2718,7 @@ extension UpdateSubnetGroupOutput { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2746,7 +2746,7 @@ enum CreateClusterOutputError { enum CreateParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2765,7 +2765,7 @@ enum CreateParameterGroupOutputError { enum CreateSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2783,7 +2783,7 @@ enum CreateSubnetGroupOutputError { enum DecreaseReplicationFactorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2802,7 +2802,7 @@ enum DecreaseReplicationFactorOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2820,7 +2820,7 @@ enum DeleteClusterOutputError { enum DeleteParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2838,7 +2838,7 @@ enum DeleteParameterGroupOutputError { enum DeleteSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2854,7 +2854,7 @@ enum DeleteSubnetGroupOutputError { enum DescribeClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2871,7 +2871,7 @@ enum DescribeClustersOutputError { enum DescribeDefaultParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2887,7 +2887,7 @@ enum DescribeDefaultParametersOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2903,7 +2903,7 @@ enum DescribeEventsOutputError { enum DescribeParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2920,7 +2920,7 @@ enum DescribeParameterGroupsOutputError { enum DescribeParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2937,7 +2937,7 @@ enum DescribeParametersOutputError { enum DescribeSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2952,7 +2952,7 @@ enum DescribeSubnetGroupsOutputError { enum IncreaseReplicationFactorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2974,7 +2974,7 @@ enum IncreaseReplicationFactorOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2993,7 +2993,7 @@ enum ListTagsOutputError { enum RebootNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3012,7 +3012,7 @@ enum RebootNodeOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3032,7 +3032,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3052,7 +3052,7 @@ enum UntagResourceOutputError { enum UpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3072,7 +3072,7 @@ enum UpdateClusterOutputError { enum UpdateParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3090,7 +3090,7 @@ enum UpdateParameterGroupOutputError { enum UpdateSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDLM/Sources/AWSDLM/Models.swift b/Sources/Services/AWSDLM/Sources/AWSDLM/Models.swift index 7f85dd2046c..14abaca3fe0 100644 --- a/Sources/Services/AWSDLM/Sources/AWSDLM/Models.swift +++ b/Sources/Services/AWSDLM/Sources/AWSDLM/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -220,7 +220,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -251,7 +251,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -284,7 +284,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1331,7 +1331,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1886,7 +1886,7 @@ extension UpdateLifecyclePolicyInput { extension CreateLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1898,14 +1898,14 @@ extension CreateLifecyclePolicyOutput { extension DeleteLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLifecyclePolicyOutput { return DeleteLifecyclePolicyOutput() } } extension GetLifecyclePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecyclePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecyclePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1917,7 +1917,7 @@ extension GetLifecyclePoliciesOutput { extension GetLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1929,7 +1929,7 @@ extension GetLifecyclePolicyOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1941,28 +1941,28 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLifecyclePolicyOutput { return UpdateLifecyclePolicyOutput() } } enum CreateLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1978,7 +1978,7 @@ enum CreateLifecyclePolicyOutputError { enum DeleteLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1994,7 +1994,7 @@ enum DeleteLifecyclePolicyOutputError { enum GetLifecyclePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2011,7 +2011,7 @@ enum GetLifecyclePoliciesOutputError { enum GetLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2027,7 +2027,7 @@ enum GetLifecyclePolicyOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2043,7 +2043,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2059,7 +2059,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2075,7 +2075,7 @@ enum UntagResourceOutputError { enum UpdateLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/Models.swift b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/Models.swift index bdc31a3aa80..ba66a4d5081 100644 --- a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/Models.swift +++ b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -105,7 +105,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -236,7 +236,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1190,7 +1190,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5192,7 +5192,7 @@ extension UpdateScheduleInput { extension BatchDeleteRecipeVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteRecipeVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteRecipeVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5205,7 +5205,7 @@ extension BatchDeleteRecipeVersionOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5217,7 +5217,7 @@ extension CreateDatasetOutput { extension CreateProfileJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5229,7 +5229,7 @@ extension CreateProfileJobOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5241,7 +5241,7 @@ extension CreateProjectOutput { extension CreateRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5253,7 +5253,7 @@ extension CreateRecipeOutput { extension CreateRecipeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecipeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecipeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5265,7 +5265,7 @@ extension CreateRecipeJobOutput { extension CreateRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5277,7 +5277,7 @@ extension CreateRulesetOutput { extension CreateScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5289,7 +5289,7 @@ extension CreateScheduleOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5301,7 +5301,7 @@ extension DeleteDatasetOutput { extension DeleteJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5313,7 +5313,7 @@ extension DeleteJobOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5325,7 +5325,7 @@ extension DeleteProjectOutput { extension DeleteRecipeVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecipeVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecipeVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5338,7 +5338,7 @@ extension DeleteRecipeVersionOutput { extension DeleteRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5350,7 +5350,7 @@ extension DeleteRulesetOutput { extension DeleteScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5362,7 +5362,7 @@ extension DeleteScheduleOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5385,7 +5385,7 @@ extension DescribeDatasetOutput { extension DescribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5420,7 +5420,7 @@ extension DescribeJobOutput { extension DescribeJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5450,7 +5450,7 @@ extension DescribeJobRunOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5475,7 +5475,7 @@ extension DescribeProjectOutput { extension DescribeRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5499,7 +5499,7 @@ extension DescribeRecipeOutput { extension DescribeRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5520,7 +5520,7 @@ extension DescribeRulesetOutput { extension DescribeScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5540,7 +5540,7 @@ extension DescribeScheduleOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5553,7 +5553,7 @@ extension ListDatasetsOutput { extension ListJobRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5566,7 +5566,7 @@ extension ListJobRunsOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5579,7 +5579,7 @@ extension ListJobsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5592,7 +5592,7 @@ extension ListProjectsOutput { extension ListRecipesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecipesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecipesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5605,7 +5605,7 @@ extension ListRecipesOutput { extension ListRecipeVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecipeVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecipeVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5618,7 +5618,7 @@ extension ListRecipeVersionsOutput { extension ListRulesetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5631,7 +5631,7 @@ extension ListRulesetsOutput { extension ListSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5644,7 +5644,7 @@ extension ListSchedulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5656,7 +5656,7 @@ extension ListTagsForResourceOutput { extension PublishRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5668,7 +5668,7 @@ extension PublishRecipeOutput { extension SendProjectSessionActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendProjectSessionActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendProjectSessionActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5682,7 +5682,7 @@ extension SendProjectSessionActionOutput { extension StartJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5694,7 +5694,7 @@ extension StartJobRunOutput { extension StartProjectSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartProjectSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartProjectSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5707,7 +5707,7 @@ extension StartProjectSessionOutput { extension StopJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5719,21 +5719,21 @@ extension StopJobRunOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5745,7 +5745,7 @@ extension UpdateDatasetOutput { extension UpdateProfileJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5757,7 +5757,7 @@ extension UpdateProfileJobOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5770,7 +5770,7 @@ extension UpdateProjectOutput { extension UpdateRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5782,7 +5782,7 @@ extension UpdateRecipeOutput { extension UpdateRecipeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecipeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecipeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5794,7 +5794,7 @@ extension UpdateRecipeJobOutput { extension UpdateRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5806,7 +5806,7 @@ extension UpdateRulesetOutput { extension UpdateScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5818,7 +5818,7 @@ extension UpdateScheduleOutput { enum BatchDeleteRecipeVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5834,7 +5834,7 @@ enum BatchDeleteRecipeVersionOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5851,7 +5851,7 @@ enum CreateDatasetOutputError { enum CreateProfileJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5869,7 +5869,7 @@ enum CreateProfileJobOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5886,7 +5886,7 @@ enum CreateProjectOutputError { enum CreateRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5902,7 +5902,7 @@ enum CreateRecipeOutputError { enum CreateRecipeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5920,7 +5920,7 @@ enum CreateRecipeJobOutputError { enum CreateRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5936,7 +5936,7 @@ enum CreateRulesetOutputError { enum CreateScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5952,7 +5952,7 @@ enum CreateScheduleOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5968,7 +5968,7 @@ enum DeleteDatasetOutputError { enum DeleteJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5984,7 +5984,7 @@ enum DeleteJobOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6000,7 +6000,7 @@ enum DeleteProjectOutputError { enum DeleteRecipeVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6016,7 +6016,7 @@ enum DeleteRecipeVersionOutputError { enum DeleteRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6032,7 +6032,7 @@ enum DeleteRulesetOutputError { enum DeleteScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6047,7 +6047,7 @@ enum DeleteScheduleOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6062,7 +6062,7 @@ enum DescribeDatasetOutputError { enum DescribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6077,7 +6077,7 @@ enum DescribeJobOutputError { enum DescribeJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6092,7 +6092,7 @@ enum DescribeJobRunOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6107,7 +6107,7 @@ enum DescribeProjectOutputError { enum DescribeRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6122,7 +6122,7 @@ enum DescribeRecipeOutputError { enum DescribeRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6137,7 +6137,7 @@ enum DescribeRulesetOutputError { enum DescribeScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6152,7 +6152,7 @@ enum DescribeScheduleOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6166,7 +6166,7 @@ enum ListDatasetsOutputError { enum ListJobRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6181,7 +6181,7 @@ enum ListJobRunsOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6195,7 +6195,7 @@ enum ListJobsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6209,7 +6209,7 @@ enum ListProjectsOutputError { enum ListRecipesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6223,7 +6223,7 @@ enum ListRecipesOutputError { enum ListRecipeVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6237,7 +6237,7 @@ enum ListRecipeVersionsOutputError { enum ListRulesetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6252,7 +6252,7 @@ enum ListRulesetsOutputError { enum ListSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6266,7 +6266,7 @@ enum ListSchedulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6282,7 +6282,7 @@ enum ListTagsForResourceOutputError { enum PublishRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6298,7 +6298,7 @@ enum PublishRecipeOutputError { enum SendProjectSessionActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6314,7 +6314,7 @@ enum SendProjectSessionActionOutputError { enum StartJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6331,7 +6331,7 @@ enum StartJobRunOutputError { enum StartProjectSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6348,7 +6348,7 @@ enum StartProjectSessionOutputError { enum StopJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6363,7 +6363,7 @@ enum StopJobRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6379,7 +6379,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6395,7 +6395,7 @@ enum UntagResourceOutputError { enum UpdateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6411,7 +6411,7 @@ enum UpdateDatasetOutputError { enum UpdateProfileJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6427,7 +6427,7 @@ enum UpdateProfileJobOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6442,7 +6442,7 @@ enum UpdateProjectOutputError { enum UpdateRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6457,7 +6457,7 @@ enum UpdateRecipeOutputError { enum UpdateRecipeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6473,7 +6473,7 @@ enum UpdateRecipeJobOutputError { enum UpdateRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6488,7 +6488,7 @@ enum UpdateRulesetOutputError { enum UpdateScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/Models.swift b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/Models.swift index 660e1068bef..bbb59497d7b 100644 --- a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/Models.swift +++ b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -76,7 +76,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -827,7 +827,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -857,7 +857,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -887,7 +887,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -917,7 +917,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -974,7 +974,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1170,7 +1170,7 @@ public struct ServiceLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4804,14 +4804,14 @@ extension UpdateRevisionInput { extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { return CancelJobOutput() } } extension CreateDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4833,7 +4833,7 @@ extension CreateDataSetOutput { extension CreateEventActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4850,7 +4850,7 @@ extension CreateEventActionOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4869,7 +4869,7 @@ extension CreateJobOutput { extension CreateRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4892,35 +4892,35 @@ extension CreateRevisionOutput { extension DeleteAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetOutput { return DeleteAssetOutput() } } extension DeleteDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSetOutput { return DeleteDataSetOutput() } } extension DeleteEventActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventActionOutput { return DeleteEventActionOutput() } } extension DeleteRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRevisionOutput { return DeleteRevisionOutput() } } extension GetAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4941,7 +4941,7 @@ extension GetAssetOutput { extension GetDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4963,7 +4963,7 @@ extension GetDataSetOutput { extension GetEventActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4980,7 +4980,7 @@ extension GetEventActionOutput { extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4999,7 +4999,7 @@ extension GetJobOutput { extension GetRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5022,7 +5022,7 @@ extension GetRevisionOutput { extension ListDataSetRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSetRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSetRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5035,7 +5035,7 @@ extension ListDataSetRevisionsOutput { extension ListDataSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5048,7 +5048,7 @@ extension ListDataSetsOutput { extension ListEventActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5061,7 +5061,7 @@ extension ListEventActionsOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5074,7 +5074,7 @@ extension ListJobsOutput { extension ListRevisionAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRevisionAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRevisionAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5087,7 +5087,7 @@ extension ListRevisionAssetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5099,7 +5099,7 @@ extension ListTagsForResourceOutput { extension RevokeRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5121,7 +5121,7 @@ extension RevokeRevisionOutput { extension SendApiAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendApiAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendApiAssetOutput { var value = SendApiAssetOutput() let keysForResponseHeaders = httpResponse.headers.dictionary.keys if (!keysForResponseHeaders.isEmpty) { @@ -5143,35 +5143,35 @@ extension SendApiAssetOutput { extension SendDataSetNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendDataSetNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendDataSetNotificationOutput { return SendDataSetNotificationOutput() } } extension StartJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartJobOutput { return StartJobOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5192,7 +5192,7 @@ extension UpdateAssetOutput { extension UpdateDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5213,7 +5213,7 @@ extension UpdateDataSetOutput { extension UpdateEventActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5230,7 +5230,7 @@ extension UpdateEventActionOutput { extension UpdateRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5252,7 +5252,7 @@ extension UpdateRevisionOutput { enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5270,7 +5270,7 @@ enum CancelJobOutputError { enum CreateDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5288,7 +5288,7 @@ enum CreateDataSetOutputError { enum CreateEventActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5306,7 +5306,7 @@ enum CreateEventActionOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5325,7 +5325,7 @@ enum CreateJobOutputError { enum CreateRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5343,7 +5343,7 @@ enum CreateRevisionOutputError { enum DeleteAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5362,7 +5362,7 @@ enum DeleteAssetOutputError { enum DeleteDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5381,7 +5381,7 @@ enum DeleteDataSetOutputError { enum DeleteEventActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5398,7 +5398,7 @@ enum DeleteEventActionOutputError { enum DeleteRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5417,7 +5417,7 @@ enum DeleteRevisionOutputError { enum GetAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5434,7 +5434,7 @@ enum GetAssetOutputError { enum GetDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5451,7 +5451,7 @@ enum GetDataSetOutputError { enum GetEventActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5468,7 +5468,7 @@ enum GetEventActionOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5485,7 +5485,7 @@ enum GetJobOutputError { enum GetRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5502,7 +5502,7 @@ enum GetRevisionOutputError { enum ListDataSetRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5519,7 +5519,7 @@ enum ListDataSetRevisionsOutputError { enum ListDataSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5536,7 +5536,7 @@ enum ListDataSetsOutputError { enum ListEventActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5553,7 +5553,7 @@ enum ListEventActionsOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5570,7 +5570,7 @@ enum ListJobsOutputError { enum ListRevisionAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5587,7 +5587,7 @@ enum ListRevisionAssetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5600,7 +5600,7 @@ enum ListTagsForResourceOutputError { enum RevokeRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5619,7 +5619,7 @@ enum RevokeRevisionOutputError { enum SendApiAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5637,7 +5637,7 @@ enum SendApiAssetOutputError { enum SendDataSetNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5656,7 +5656,7 @@ enum SendDataSetNotificationOutputError { enum StartJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5675,7 +5675,7 @@ enum StartJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5688,7 +5688,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5701,7 +5701,7 @@ enum UntagResourceOutputError { enum UpdateAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5720,7 +5720,7 @@ enum UpdateAssetOutputError { enum UpdateDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5738,7 +5738,7 @@ enum UpdateDataSetOutputError { enum UpdateEventActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5756,7 +5756,7 @@ enum UpdateEventActionOutputError { enum UpdateRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/Models.swift b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/Models.swift index 0cfb9fe99cf..a31c35c5121 100644 --- a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/Models.swift +++ b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -44,7 +44,7 @@ public struct InternalServiceError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -69,7 +69,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -94,7 +94,7 @@ public struct PipelineDeletedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -119,7 +119,7 @@ public struct PipelineNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -484,7 +484,7 @@ public struct TaskNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1581,21 +1581,21 @@ extension ValidatePipelineDefinitionInput { extension ActivatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivatePipelineOutput { return ActivatePipelineOutput() } } extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension CreatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1607,21 +1607,21 @@ extension CreatePipelineOutput { extension DeactivatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivatePipelineOutput { return DeactivatePipelineOutput() } } extension DeletePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipelineOutput { return DeletePipelineOutput() } } extension DescribeObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeObjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1635,7 +1635,7 @@ extension DescribeObjectsOutput { extension DescribePipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1647,7 +1647,7 @@ extension DescribePipelinesOutput { extension EvaluateExpressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EvaluateExpressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EvaluateExpressionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1659,7 +1659,7 @@ extension EvaluateExpressionOutput { extension GetPipelineDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1673,7 +1673,7 @@ extension GetPipelineDefinitionOutput { extension ListPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1687,7 +1687,7 @@ extension ListPipelinesOutput { extension PollForTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PollForTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PollForTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1699,7 +1699,7 @@ extension PollForTaskOutput { extension PutPipelineDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPipelineDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPipelineDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1713,7 +1713,7 @@ extension PutPipelineDefinitionOutput { extension QueryObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryObjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1727,14 +1727,14 @@ extension QueryObjectsOutput { extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension ReportTaskProgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReportTaskProgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReportTaskProgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1746,7 +1746,7 @@ extension ReportTaskProgressOutput { extension ReportTaskRunnerHeartbeatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReportTaskRunnerHeartbeatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReportTaskRunnerHeartbeatOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1758,21 +1758,21 @@ extension ReportTaskRunnerHeartbeatOutput { extension SetStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetStatusOutput { return SetStatusOutput() } } extension SetTaskStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTaskStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTaskStatusOutput { return SetTaskStatusOutput() } } extension ValidatePipelineDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidatePipelineDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidatePipelineDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1786,7 +1786,7 @@ extension ValidatePipelineDefinitionOutput { enum ActivatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1803,7 +1803,7 @@ enum ActivatePipelineOutputError { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1820,7 +1820,7 @@ enum AddTagsOutputError { enum CreatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1835,7 +1835,7 @@ enum CreatePipelineOutputError { enum DeactivatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1852,7 +1852,7 @@ enum DeactivatePipelineOutputError { enum DeletePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1868,7 +1868,7 @@ enum DeletePipelineOutputError { enum DescribeObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1885,7 +1885,7 @@ enum DescribeObjectsOutputError { enum DescribePipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1902,7 +1902,7 @@ enum DescribePipelinesOutputError { enum EvaluateExpressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1920,7 +1920,7 @@ enum EvaluateExpressionOutputError { enum GetPipelineDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1937,7 +1937,7 @@ enum GetPipelineDefinitionOutputError { enum ListPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1952,7 +1952,7 @@ enum ListPipelinesOutputError { enum PollForTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1968,7 +1968,7 @@ enum PollForTaskOutputError { enum PutPipelineDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1985,7 +1985,7 @@ enum PutPipelineDefinitionOutputError { enum QueryObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2002,7 +2002,7 @@ enum QueryObjectsOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2019,7 +2019,7 @@ enum RemoveTagsOutputError { enum ReportTaskProgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2037,7 +2037,7 @@ enum ReportTaskProgressOutputError { enum ReportTaskRunnerHeartbeatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2052,7 +2052,7 @@ enum ReportTaskRunnerHeartbeatOutputError { enum SetStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2069,7 +2069,7 @@ enum SetStatusOutputError { enum SetTaskStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2087,7 +2087,7 @@ enum SetTaskStatusOutputError { enum ValidatePipelineDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift index 4d201b696d0..9b6fd5d3335 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6911,7 +6911,7 @@ extension UpdateTaskExecutionInput { extension AddStorageSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddStorageSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddStorageSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6923,14 +6923,14 @@ extension AddStorageSystemOutput { extension CancelTaskExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelTaskExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelTaskExecutionOutput { return CancelTaskExecutionOutput() } } extension CreateAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAgentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6942,7 +6942,7 @@ extension CreateAgentOutput { extension CreateLocationAzureBlobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationAzureBlobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationAzureBlobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6954,7 +6954,7 @@ extension CreateLocationAzureBlobOutput { extension CreateLocationEfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationEfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationEfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6966,7 +6966,7 @@ extension CreateLocationEfsOutput { extension CreateLocationFsxLustreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationFsxLustreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationFsxLustreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6978,7 +6978,7 @@ extension CreateLocationFsxLustreOutput { extension CreateLocationFsxOntapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationFsxOntapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationFsxOntapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6990,7 +6990,7 @@ extension CreateLocationFsxOntapOutput { extension CreateLocationFsxOpenZfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationFsxOpenZfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationFsxOpenZfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7002,7 +7002,7 @@ extension CreateLocationFsxOpenZfsOutput { extension CreateLocationFsxWindowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationFsxWindowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationFsxWindowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7014,7 +7014,7 @@ extension CreateLocationFsxWindowsOutput { extension CreateLocationHdfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationHdfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationHdfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7026,7 +7026,7 @@ extension CreateLocationHdfsOutput { extension CreateLocationNfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationNfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationNfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7038,7 +7038,7 @@ extension CreateLocationNfsOutput { extension CreateLocationObjectStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationObjectStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationObjectStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7050,7 +7050,7 @@ extension CreateLocationObjectStorageOutput { extension CreateLocationS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationS3Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7062,7 +7062,7 @@ extension CreateLocationS3Output { extension CreateLocationSmbOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationSmbOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationSmbOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7074,7 +7074,7 @@ extension CreateLocationSmbOutput { extension CreateTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7086,28 +7086,28 @@ extension CreateTaskOutput { extension DeleteAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgentOutput { return DeleteAgentOutput() } } extension DeleteLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLocationOutput { return DeleteLocationOutput() } } extension DeleteTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTaskOutput { return DeleteTaskOutput() } } extension DescribeAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAgentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7126,7 +7126,7 @@ extension DescribeAgentOutput { extension DescribeDiscoveryJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDiscoveryJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDiscoveryJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7143,7 +7143,7 @@ extension DescribeDiscoveryJobOutput { extension DescribeLocationAzureBlobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationAzureBlobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationAzureBlobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7161,7 +7161,7 @@ extension DescribeLocationAzureBlobOutput { extension DescribeLocationEfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationEfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationEfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7179,7 +7179,7 @@ extension DescribeLocationEfsOutput { extension DescribeLocationFsxLustreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationFsxLustreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationFsxLustreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7194,7 +7194,7 @@ extension DescribeLocationFsxLustreOutput { extension DescribeLocationFsxOntapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationFsxOntapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationFsxOntapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7212,7 +7212,7 @@ extension DescribeLocationFsxOntapOutput { extension DescribeLocationFsxOpenZfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationFsxOpenZfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationFsxOpenZfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7228,7 +7228,7 @@ extension DescribeLocationFsxOpenZfsOutput { extension DescribeLocationFsxWindowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationFsxWindowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationFsxWindowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7245,7 +7245,7 @@ extension DescribeLocationFsxWindowsOutput { extension DescribeLocationHdfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationHdfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationHdfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7268,7 +7268,7 @@ extension DescribeLocationHdfsOutput { extension DescribeLocationNfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationNfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationNfsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7284,7 +7284,7 @@ extension DescribeLocationNfsOutput { extension DescribeLocationObjectStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationObjectStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationObjectStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7303,7 +7303,7 @@ extension DescribeLocationObjectStorageOutput { extension DescribeLocationS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationS3Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7320,7 +7320,7 @@ extension DescribeLocationS3Output { extension DescribeLocationSmbOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationSmbOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationSmbOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7338,7 +7338,7 @@ extension DescribeLocationSmbOutput { extension DescribeStorageSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorageSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorageSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7359,7 +7359,7 @@ extension DescribeStorageSystemOutput { extension DescribeStorageSystemResourceMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorageSystemResourceMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorageSystemResourceMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7372,7 +7372,7 @@ extension DescribeStorageSystemResourceMetricsOutput { extension DescribeStorageSystemResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorageSystemResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorageSystemResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7385,7 +7385,7 @@ extension DescribeStorageSystemResourcesOutput { extension DescribeTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7415,7 +7415,7 @@ extension DescribeTaskOutput { extension DescribeTaskExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTaskExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTaskExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7446,14 +7446,14 @@ extension DescribeTaskExecutionOutput { extension GenerateRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateRecommendationsOutput { return GenerateRecommendationsOutput() } } extension ListAgentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7466,7 +7466,7 @@ extension ListAgentsOutput { extension ListDiscoveryJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDiscoveryJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDiscoveryJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7479,7 +7479,7 @@ extension ListDiscoveryJobsOutput { extension ListLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7492,7 +7492,7 @@ extension ListLocationsOutput { extension ListStorageSystemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStorageSystemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStorageSystemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7505,7 +7505,7 @@ extension ListStorageSystemsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7518,7 +7518,7 @@ extension ListTagsForResourceOutput { extension ListTaskExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTaskExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTaskExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7531,7 +7531,7 @@ extension ListTaskExecutionsOutput { extension ListTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7544,14 +7544,14 @@ extension ListTasksOutput { extension RemoveStorageSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveStorageSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveStorageSystemOutput { return RemoveStorageSystemOutput() } } extension StartDiscoveryJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDiscoveryJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDiscoveryJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7563,7 +7563,7 @@ extension StartDiscoveryJobOutput { extension StartTaskExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTaskExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTaskExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7575,98 +7575,98 @@ extension StartTaskExecutionOutput { extension StopDiscoveryJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDiscoveryJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDiscoveryJobOutput { return StopDiscoveryJobOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentOutput { return UpdateAgentOutput() } } extension UpdateDiscoveryJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDiscoveryJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDiscoveryJobOutput { return UpdateDiscoveryJobOutput() } } extension UpdateLocationAzureBlobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLocationAzureBlobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLocationAzureBlobOutput { return UpdateLocationAzureBlobOutput() } } extension UpdateLocationHdfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLocationHdfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLocationHdfsOutput { return UpdateLocationHdfsOutput() } } extension UpdateLocationNfsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLocationNfsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLocationNfsOutput { return UpdateLocationNfsOutput() } } extension UpdateLocationObjectStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLocationObjectStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLocationObjectStorageOutput { return UpdateLocationObjectStorageOutput() } } extension UpdateLocationSmbOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLocationSmbOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLocationSmbOutput { return UpdateLocationSmbOutput() } } extension UpdateStorageSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStorageSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStorageSystemOutput { return UpdateStorageSystemOutput() } } extension UpdateTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTaskOutput { return UpdateTaskOutput() } } extension UpdateTaskExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTaskExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTaskExecutionOutput { return UpdateTaskExecutionOutput() } } enum AddStorageSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7681,7 +7681,7 @@ enum AddStorageSystemOutputError { enum CancelTaskExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7696,7 +7696,7 @@ enum CancelTaskExecutionOutputError { enum CreateAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7711,7 +7711,7 @@ enum CreateAgentOutputError { enum CreateLocationAzureBlobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7726,7 +7726,7 @@ enum CreateLocationAzureBlobOutputError { enum CreateLocationEfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7741,7 +7741,7 @@ enum CreateLocationEfsOutputError { enum CreateLocationFsxLustreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7756,7 +7756,7 @@ enum CreateLocationFsxLustreOutputError { enum CreateLocationFsxOntapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7771,7 +7771,7 @@ enum CreateLocationFsxOntapOutputError { enum CreateLocationFsxOpenZfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7786,7 +7786,7 @@ enum CreateLocationFsxOpenZfsOutputError { enum CreateLocationFsxWindowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7801,7 +7801,7 @@ enum CreateLocationFsxWindowsOutputError { enum CreateLocationHdfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7816,7 +7816,7 @@ enum CreateLocationHdfsOutputError { enum CreateLocationNfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7831,7 +7831,7 @@ enum CreateLocationNfsOutputError { enum CreateLocationObjectStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7846,7 +7846,7 @@ enum CreateLocationObjectStorageOutputError { enum CreateLocationS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7861,7 +7861,7 @@ enum CreateLocationS3OutputError { enum CreateLocationSmbOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7876,7 +7876,7 @@ enum CreateLocationSmbOutputError { enum CreateTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7891,7 +7891,7 @@ enum CreateTaskOutputError { enum DeleteAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7906,7 +7906,7 @@ enum DeleteAgentOutputError { enum DeleteLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7921,7 +7921,7 @@ enum DeleteLocationOutputError { enum DeleteTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7936,7 +7936,7 @@ enum DeleteTaskOutputError { enum DescribeAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7951,7 +7951,7 @@ enum DescribeAgentOutputError { enum DescribeDiscoveryJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7966,7 +7966,7 @@ enum DescribeDiscoveryJobOutputError { enum DescribeLocationAzureBlobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7981,7 +7981,7 @@ enum DescribeLocationAzureBlobOutputError { enum DescribeLocationEfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7996,7 +7996,7 @@ enum DescribeLocationEfsOutputError { enum DescribeLocationFsxLustreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8011,7 +8011,7 @@ enum DescribeLocationFsxLustreOutputError { enum DescribeLocationFsxOntapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8026,7 +8026,7 @@ enum DescribeLocationFsxOntapOutputError { enum DescribeLocationFsxOpenZfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8041,7 +8041,7 @@ enum DescribeLocationFsxOpenZfsOutputError { enum DescribeLocationFsxWindowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8056,7 +8056,7 @@ enum DescribeLocationFsxWindowsOutputError { enum DescribeLocationHdfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8071,7 +8071,7 @@ enum DescribeLocationHdfsOutputError { enum DescribeLocationNfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8086,7 +8086,7 @@ enum DescribeLocationNfsOutputError { enum DescribeLocationObjectStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8101,7 +8101,7 @@ enum DescribeLocationObjectStorageOutputError { enum DescribeLocationS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8116,7 +8116,7 @@ enum DescribeLocationS3OutputError { enum DescribeLocationSmbOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8131,7 +8131,7 @@ enum DescribeLocationSmbOutputError { enum DescribeStorageSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8146,7 +8146,7 @@ enum DescribeStorageSystemOutputError { enum DescribeStorageSystemResourceMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8161,7 +8161,7 @@ enum DescribeStorageSystemResourceMetricsOutputError { enum DescribeStorageSystemResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8176,7 +8176,7 @@ enum DescribeStorageSystemResourcesOutputError { enum DescribeTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8191,7 +8191,7 @@ enum DescribeTaskOutputError { enum DescribeTaskExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8206,7 +8206,7 @@ enum DescribeTaskExecutionOutputError { enum GenerateRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8221,7 +8221,7 @@ enum GenerateRecommendationsOutputError { enum ListAgentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8236,7 +8236,7 @@ enum ListAgentsOutputError { enum ListDiscoveryJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8251,7 +8251,7 @@ enum ListDiscoveryJobsOutputError { enum ListLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8266,7 +8266,7 @@ enum ListLocationsOutputError { enum ListStorageSystemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8281,7 +8281,7 @@ enum ListStorageSystemsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8296,7 +8296,7 @@ enum ListTagsForResourceOutputError { enum ListTaskExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8311,7 +8311,7 @@ enum ListTaskExecutionsOutputError { enum ListTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8326,7 +8326,7 @@ enum ListTasksOutputError { enum RemoveStorageSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8341,7 +8341,7 @@ enum RemoveStorageSystemOutputError { enum StartDiscoveryJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8356,7 +8356,7 @@ enum StartDiscoveryJobOutputError { enum StartTaskExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8371,7 +8371,7 @@ enum StartTaskExecutionOutputError { enum StopDiscoveryJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8386,7 +8386,7 @@ enum StopDiscoveryJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8401,7 +8401,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8416,7 +8416,7 @@ enum UntagResourceOutputError { enum UpdateAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8431,7 +8431,7 @@ enum UpdateAgentOutputError { enum UpdateDiscoveryJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8446,7 +8446,7 @@ enum UpdateDiscoveryJobOutputError { enum UpdateLocationAzureBlobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8461,7 +8461,7 @@ enum UpdateLocationAzureBlobOutputError { enum UpdateLocationHdfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8476,7 +8476,7 @@ enum UpdateLocationHdfsOutputError { enum UpdateLocationNfsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8491,7 +8491,7 @@ enum UpdateLocationNfsOutputError { enum UpdateLocationObjectStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8506,7 +8506,7 @@ enum UpdateLocationObjectStorageOutputError { enum UpdateLocationSmbOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8521,7 +8521,7 @@ enum UpdateLocationSmbOutputError { enum UpdateStorageSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8536,7 +8536,7 @@ enum UpdateStorageSystemOutputError { enum UpdateTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8551,7 +8551,7 @@ enum UpdateTaskOutputError { enum UpdateTaskExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDataZone/Package.swift.txt b/Sources/Services/AWSDataZone/Package.swift.txt index c640df2b507..6096e248ff1 100644 --- a/Sources/Services/AWSDataZone/Package.swift.txt +++ b/Sources/Services/AWSDataZone/Package.swift.txt @@ -69,11 +69,11 @@ let package = Package( package: "aws-sdk-swift.smithy-swift" ), .product( - name: "SmithyTimestamps", + name: "SmithyReadWrite", package: "aws-sdk-swift.smithy-swift" ), .product( - name: "SmithyReadWrite", + name: "SmithyTimestamps", package: "aws-sdk-swift.smithy-swift" ), .product( diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift index ce6f044dcd3..f0f42970a1b 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift @@ -20,6 +20,7 @@ import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry +import enum SmithyReadWrite.WritingClosures import protocol AWSClientRuntime.AWSDefaultClientConfiguration import protocol AWSClientRuntime.AWSRegionClientConfiguration import protocol ClientRuntime.Client @@ -38,6 +39,7 @@ import struct AWSClientRuntime.EndpointResolverMiddleware import struct AWSClientRuntime.UserAgentMiddleware import struct AWSSDKHTTPAuth.SigV4AuthScheme import struct ClientRuntime.AuthSchemeMiddleware +import struct ClientRuntime.BlobBodyMiddleware import struct ClientRuntime.BodyMiddleware import struct ClientRuntime.ContentLengthMiddleware import struct ClientRuntime.ContentTypeMiddleware @@ -3217,6 +3219,57 @@ extension DataZoneClient { return result } + /// Performs the `GetLineageNode` operation on the `DataZone` service. + /// + /// Gets the data lineage node. + /// + /// - Parameter GetLineageNodeInput : [no documentation found] + /// + /// - Returns: `GetLineageNodeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func getLineageNode(input: GetLineageNodeInput) async throws -> GetLineageNodeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getLineageNode") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getLineageNode") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetLineageNodeInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(GetLineageNodeInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetLineageNodeOutput.httpOutput(from:), GetLineageNodeOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `GetListing` operation on the `DataZone` service. /// /// Gets a listing (a record of an asset at a given time). @@ -4185,6 +4238,57 @@ extension DataZoneClient { return result } + /// Performs the `ListLineageNodeHistory` operation on the `DataZone` service. + /// + /// Lists the history of the specified data lineage node. + /// + /// - Parameter ListLineageNodeHistoryInput : [no documentation found] + /// + /// - Returns: `ListLineageNodeHistoryOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func listLineageNodeHistory(input: ListLineageNodeHistoryInput) async throws -> ListLineageNodeHistoryOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listLineageNodeHistory") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listLineageNodeHistory") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListLineageNodeHistoryInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListLineageNodeHistoryInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListLineageNodeHistoryOutput.httpOutput(from:), ListLineageNodeHistoryOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListMetadataGenerationRuns` operation on the `DataZone` service. /// /// Lists all metadata generation runs. @@ -4693,6 +4797,63 @@ extension DataZoneClient { return result } + /// Performs the `PostLineageEvent` operation on the `DataZone` service. + /// + /// Posts a data lineage event. + /// + /// - Parameter PostLineageEventInput : [no documentation found] + /// + /// - Returns: `PostLineageEventOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : There is a conflict while performing this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ServiceQuotaExceededException` : The request has exceeded the specified service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func postLineageEvent(input: PostLineageEventInput) async throws -> PostLineageEventOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "postLineageEvent") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "postLineageEvent") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(PostLineageEventInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(PostLineageEventInput.queryItemProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/octet-stream")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BlobBodyMiddleware(keyPath: \.event)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(PostLineageEventOutput.httpOutput(from:), PostLineageEventOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `PostTimeSeriesDataPoints` operation on the `DataZone` service. /// /// Posts time series data points to Amazon DataZone for the specified asset. diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift index d7afa1ab43a..69d2c066212 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -95,7 +95,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -120,7 +120,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +145,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -170,7 +170,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -195,7 +195,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -220,7 +220,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -712,7 +712,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5614,6 +5614,7 @@ extension DataZoneClientTypes { extension DataZoneClientTypes { /// + @available(*, deprecated, message: "This structure is deprecated.") public struct DataProductItem { /// public var domainId: Swift.String? @@ -5634,12 +5635,14 @@ extension DataZoneClientTypes { extension DataZoneClientTypes { /// + @available(*, deprecated, message: "This structure is deprecated.") public struct DataProductSummary { /// public var createdAt: Foundation.Date? /// public var createdBy: Swift.String? /// + @available(*, deprecated, message: "This structure is deprecated.") public var dataProductItems: [DataZoneClientTypes.DataProductItem]? /// public var description: Swift.String? @@ -8179,6 +8182,119 @@ public struct GetIamPortalLoginUrlOutput { } } +public struct GetLineageNodeInput { + /// The ID of the domain in which you want to get the data lineage node. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The event time stamp for which you want to get the data lineage node. + public var eventTimestamp: Foundation.Date? + /// The ID of the data lineage node that you want to get. Both, a lineage node identifier generated by Amazon DataZone and a sourceIdentifier of the lineage node are supported. If sourceIdentifier is greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details. + /// This member is required. + public var identifier: Swift.String? + + public init( + domainIdentifier: Swift.String? = nil, + eventTimestamp: Foundation.Date? = nil, + identifier: Swift.String? = nil + ) + { + self.domainIdentifier = domainIdentifier + self.eventTimestamp = eventTimestamp + self.identifier = identifier + } +} + +extension DataZoneClientTypes { + /// The reference details for the data lineage node. + public struct LineageNodeReference { + /// The event timestamp of the data lineage node. + public var eventTimestamp: Foundation.Date? + /// The ID of the data lineage node. + public var id: Swift.String? + + public init( + eventTimestamp: Foundation.Date? = nil, + id: Swift.String? = nil + ) + { + self.eventTimestamp = eventTimestamp + self.id = id + } + } + +} + +public struct GetLineageNodeOutput { + /// The timestamp at which the data lineage node was created. + public var createdAt: Foundation.Date? + /// The user who created the data lineage node. + public var createdBy: Swift.String? + /// The description of the data lineage node. + public var description: Swift.String? + /// The ID of the domain where you're getting the data lineage node. + /// This member is required. + public var domainId: Swift.String? + /// The downsteam nodes of the specified data lineage node. + public var downstreamNodes: [DataZoneClientTypes.LineageNodeReference]? + /// The timestamp of the event described in the data lineage node. + public var eventTimestamp: Foundation.Date? + /// The metadata of the specified data lineage node. + public var formsOutput: [DataZoneClientTypes.FormOutput]? + /// The ID of the data lineage node. + /// This member is required. + public var id: Swift.String? + /// The name of the data lineage node. + public var name: Swift.String? + /// The source identifier of the data lineage node. + public var sourceIdentifier: Swift.String? + /// The name of the type of the specified data lineage node. + /// This member is required. + public var typeName: Swift.String? + /// The revision type of the specified data lineage node. + public var typeRevision: Swift.String? + /// The timestamp at which the data lineage node was updated. + public var updatedAt: Foundation.Date? + /// The user who updated the data lineage node. + public var updatedBy: Swift.String? + /// The upstream nodes of the specified data lineage node. + public var upstreamNodes: [DataZoneClientTypes.LineageNodeReference]? + + public init( + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + domainId: Swift.String? = nil, + downstreamNodes: [DataZoneClientTypes.LineageNodeReference]? = nil, + eventTimestamp: Foundation.Date? = nil, + formsOutput: [DataZoneClientTypes.FormOutput]? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + sourceIdentifier: Swift.String? = nil, + typeName: Swift.String? = nil, + typeRevision: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil, + upstreamNodes: [DataZoneClientTypes.LineageNodeReference]? = nil + ) + { + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.domainId = domainId + self.downstreamNodes = downstreamNodes + self.eventTimestamp = eventTimestamp + self.formsOutput = formsOutput + self.id = id + self.name = name + self.sourceIdentifier = sourceIdentifier + self.typeName = typeName + self.typeRevision = typeRevision + self.updatedAt = updatedAt + self.updatedBy = updatedBy + self.upstreamNodes = upstreamNodes + } +} + public struct GetProjectInput { /// The ID of the Amazon DataZone domain in which the project exists. /// This member is required. @@ -9796,6 +9912,185 @@ extension GetListingOutput: Swift.CustomDebugStringConvertible { "GetListingOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), item: \(Swift.String(describing: item)), listingRevision: \(Swift.String(describing: listingRevision)), name: \(Swift.String(describing: name)), status: \(Swift.String(describing: status)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), description: \"CONTENT_REDACTED\")"} } +extension DataZoneClientTypes { + + public enum EdgeDirection: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case downstream + case upstream + case sdkUnknown(Swift.String) + + public static var allCases: [EdgeDirection] { + return [ + .downstream, + .upstream + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .downstream: return "DOWNSTREAM" + case .upstream: return "UPSTREAM" + case let .sdkUnknown(s): return s + } + } + } +} + +extension DataZoneClientTypes { + + public enum SortOrder: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case ascending + case descending + case sdkUnknown(Swift.String) + + public static var allCases: [SortOrder] { + return [ + .ascending, + .descending + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .ascending: return "ASCENDING" + case .descending: return "DESCENDING" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct ListLineageNodeHistoryInput { + /// The direction of the data lineage node refers to the lineage node having neighbors in that direction. For example, if direction is UPSTREAM, the ListLineageNodeHistory API responds with historical versions with upstream neighbors only. + public var direction: DataZoneClientTypes.EdgeDirection? + /// The ID of the domain where you want to list the history of the specified data lineage node. + /// This member is required. + public var domainIdentifier: Swift.String? + /// Specifies whether the action is to return data lineage node history from the time after the event timestamp. + public var eventTimestampGTE: Foundation.Date? + /// Specifies whether the action is to return data lineage node history from the time prior of the event timestamp. + public var eventTimestampLTE: Foundation.Date? + /// The ID of the data lineage node whose history you want to list. + /// This member is required. + public var identifier: Swift.String? + /// The maximum number of history items to return in a single call to ListLineageNodeHistory. When the number of memberships to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListLineageNodeHistory to list the next set of items. + public var maxResults: Swift.Int? + /// When the number of history items is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of items, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of items. + public var nextToken: Swift.String? + /// The order by which you want data lineage node history to be sorted. + public var sortOrder: DataZoneClientTypes.SortOrder? + + public init( + direction: DataZoneClientTypes.EdgeDirection? = nil, + domainIdentifier: Swift.String? = nil, + eventTimestampGTE: Foundation.Date? = nil, + eventTimestampLTE: Foundation.Date? = nil, + identifier: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + sortOrder: DataZoneClientTypes.SortOrder? = nil + ) + { + self.direction = direction + self.domainIdentifier = domainIdentifier + self.eventTimestampGTE = eventTimestampGTE + self.eventTimestampLTE = eventTimestampLTE + self.identifier = identifier + self.maxResults = maxResults + self.nextToken = nextToken + self.sortOrder = sortOrder + } +} + +extension DataZoneClientTypes { + /// The summary of the data lineage node. + public struct LineageNodeSummary { + /// The timestamp at which the data lineage node was created. + public var createdAt: Foundation.Date? + /// The user who created the data lineage node. + public var createdBy: Swift.String? + /// The description of the data lineage node. + public var description: Swift.String? + /// The ID of the domain of the data lineage node. + /// This member is required. + public var domainId: Swift.String? + /// The event timestamp of the data lineage node. + public var eventTimestamp: Foundation.Date? + /// The ID of the data lineage node. + /// This member is required. + public var id: Swift.String? + /// The name of the data lineage node. + public var name: Swift.String? + /// The alternate ID of the data lineage node. + public var sourceIdentifier: Swift.String? + /// The name of the type of the data lineage node. + /// This member is required. + public var typeName: Swift.String? + /// The type of the revision of the data lineage node. + public var typeRevision: Swift.String? + /// The timestamp at which the data lineage node was updated. + public var updatedAt: Foundation.Date? + /// The user who updated the data lineage node. + public var updatedBy: Swift.String? + + public init( + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + domainId: Swift.String? = nil, + eventTimestamp: Foundation.Date? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + sourceIdentifier: Swift.String? = nil, + typeName: Swift.String? = nil, + typeRevision: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.domainId = domainId + self.eventTimestamp = eventTimestamp + self.id = id + self.name = name + self.sourceIdentifier = sourceIdentifier + self.typeName = typeName + self.typeRevision = typeRevision + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } + } + +} + +public struct ListLineageNodeHistoryOutput { + /// When the number of history items is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of items, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of items. + public var nextToken: Swift.String? + /// The nodes returned by the ListLineageNodeHistory action. + public var nodes: [DataZoneClientTypes.LineageNodeSummary]? + + public init( + nextToken: Swift.String? = nil, + nodes: [DataZoneClientTypes.LineageNodeSummary]? = nil + ) + { + self.nextToken = nextToken + self.nodes = nodes + } +} + extension DataZoneClientTypes { public enum TaskStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -10125,35 +10420,6 @@ extension DataZoneClientTypes { } } -extension DataZoneClientTypes { - - public enum SortOrder: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case ascending - case descending - case sdkUnknown(Swift.String) - - public static var allCases: [SortOrder] { - return [ - .ascending, - .descending - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .ascending: return "ASCENDING" - case .descending: return "DESCENDING" - case let .sdkUnknown(s): return s - } - } - } -} - public struct ListProjectMembershipsInput { /// The identifier of the Amazon DataZone domain in which you want to list project memberships. /// This member is required. @@ -11370,6 +11636,38 @@ public struct StartMetadataGenerationRunOutput { } } +public struct PostLineageEventInput { + /// A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. + public var clientToken: Swift.String? + /// The ID of the domain where you want to post a data lineage event. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The data lineage event that you want to post. Only open-lineage run event are supported as events. + /// This member is required. + public var event: Foundation.Data? + + public init( + clientToken: Swift.String? = nil, + domainIdentifier: Swift.String? = nil, + event: Foundation.Data? = nil + ) + { + self.clientToken = clientToken + self.domainIdentifier = domainIdentifier + self.event = event + } +} + +extension PostLineageEventInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PostLineageEventInput(clientToken: \(Swift.String(describing: clientToken)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), event: \"CONTENT_REDACTED\")"} +} + +public struct PostLineageEventOutput { + + public init() { } +} + extension DataZoneClientTypes { /// The time series data points form. public struct TimeSeriesDataPointFormInput { @@ -12204,12 +12502,14 @@ extension DataZoneClientTypes { public enum TypesSearchScope: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case assetType case formType + case lineageNodeType case sdkUnknown(Swift.String) public static var allCases: [TypesSearchScope] { return [ .assetType, - .formType + .formType, + .lineageNodeType ] } @@ -12222,6 +12522,7 @@ extension DataZoneClientTypes { switch self { case .assetType: return "ASSET_TYPE" case .formType: return "FORM_TYPE" + case .lineageNodeType: return "LINEAGE_NODE_TYPE" case let .sdkUnknown(s): return s } } @@ -12296,6 +12597,57 @@ extension DataZoneClientTypes.FormTypeData: Swift.CustomDebugStringConvertible { "FormTypeData(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), imports: \(Swift.String(describing: imports)), originDomainId: \(Swift.String(describing: originDomainId)), originProjectId: \(Swift.String(describing: originProjectId)), owningProjectId: \(Swift.String(describing: owningProjectId)), revision: \(Swift.String(describing: revision)), status: \(Swift.String(describing: status)), description: \"CONTENT_REDACTED\", model: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } +extension DataZoneClientTypes { + /// The details of a data lineage node type. + public struct LineageNodeTypeItem { + /// The timestamp at which the data lineage node type was created. + public var createdAt: Foundation.Date? + /// The user who created the data lineage node type. + public var createdBy: Swift.String? + /// The description of the data lineage node type. + public var description: Swift.String? + /// The ID of the domain where the data lineage node type lives. + /// This member is required. + public var domainId: Swift.String? + /// The forms output of the data lineage node type. + /// This member is required. + public var formsOutput: [Swift.String: DataZoneClientTypes.FormEntryOutput]? + /// The name of the data lineage node type. + public var name: Swift.String? + /// The revision of the data lineage node type. + /// This member is required. + public var revision: Swift.String? + /// The timestamp at which the data lineage node type was updated. + public var updatedAt: Foundation.Date? + /// The user who updated the data lineage node type. + public var updatedBy: Swift.String? + + public init( + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + domainId: Swift.String? = nil, + formsOutput: [Swift.String: DataZoneClientTypes.FormEntryOutput]? = nil, + name: Swift.String? = nil, + revision: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.domainId = domainId + self.formsOutput = formsOutput + self.name = name + self.revision = revision + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } + } + +} + extension DataZoneClientTypes { /// The details of the results of the SearchTypes action. public enum SearchTypesResultItem { @@ -12303,6 +12655,8 @@ extension DataZoneClientTypes { case assettypeitem(DataZoneClientTypes.AssetTypeItem) /// The form type included in the results of the SearchTypes action. case formtypeitem(DataZoneClientTypes.FormTypeData) + /// The details of a data lineage node type. + case lineagenodetypeitem(DataZoneClientTypes.LineageNodeTypeItem) case sdkUnknown(Swift.String) } @@ -12482,7 +12836,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -14338,6 +14692,31 @@ extension GetIamPortalLoginUrlInput { } } +extension GetLineageNodeInput { + + static func urlPathProvider(_ value: GetLineageNodeInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + guard let identifier = value.identifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/lineage/nodes/\(identifier.urlPercentEncoding())" + } +} + +extension GetLineageNodeInput { + + static func queryItemProvider(_ value: GetLineageNodeInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let eventTimestamp = value.eventTimestamp { + let eventTimestampQueryItem = Smithy.URIQueryItem(name: "timestamp".urlPercentEncoding(), value: Swift.String(SmithyTimestamps.TimestampFormatter(format: .dateTime).string(from: eventTimestamp)).urlPercentEncoding()) + items.append(eventTimestampQueryItem) + } + return items + } +} + extension GetListingInput { static func urlPathProvider(_ value: GetListingInput) -> Swift.String? { @@ -14867,6 +15246,51 @@ extension ListEnvironmentsInput { } } +extension ListLineageNodeHistoryInput { + + static func urlPathProvider(_ value: ListLineageNodeHistoryInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + guard let identifier = value.identifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/lineage/nodes/\(identifier.urlPercentEncoding())/history" + } +} + +extension ListLineageNodeHistoryInput { + + static func queryItemProvider(_ value: ListLineageNodeHistoryInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let eventTimestampGTE = value.eventTimestampGTE { + let eventTimestampGTEQueryItem = Smithy.URIQueryItem(name: "timestampGTE".urlPercentEncoding(), value: Swift.String(SmithyTimestamps.TimestampFormatter(format: .dateTime).string(from: eventTimestampGTE)).urlPercentEncoding()) + items.append(eventTimestampGTEQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let sortOrder = value.sortOrder { + let sortOrderQueryItem = Smithy.URIQueryItem(name: "sortOrder".urlPercentEncoding(), value: Swift.String(sortOrder.rawValue).urlPercentEncoding()) + items.append(sortOrderQueryItem) + } + if let direction = value.direction { + let directionQueryItem = Smithy.URIQueryItem(name: "direction".urlPercentEncoding(), value: Swift.String(direction.rawValue).urlPercentEncoding()) + items.append(directionQueryItem) + } + if let eventTimestampLTE = value.eventTimestampLTE { + let eventTimestampLTEQueryItem = Smithy.URIQueryItem(name: "timestampLTE".urlPercentEncoding(), value: Swift.String(SmithyTimestamps.TimestampFormatter(format: .dateTime).string(from: eventTimestampLTE)).urlPercentEncoding()) + items.append(eventTimestampLTEQueryItem) + } + return items + } +} + extension ListMetadataGenerationRunsInput { static func urlPathProvider(_ value: ListMetadataGenerationRunsInput) -> Swift.String? { @@ -15273,6 +15697,28 @@ extension ListTimeSeriesDataPointsInput { } } +extension PostLineageEventInput { + + static func urlPathProvider(_ value: PostLineageEventInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/lineage/events" + } +} + +extension PostLineageEventInput { + + static func queryItemProvider(_ value: PostLineageEventInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let clientToken = value.clientToken { + let clientTokenQueryItem = Smithy.URIQueryItem(name: "clientToken".urlPercentEncoding(), value: Swift.String(clientToken).urlPercentEncoding()) + items.append(clientTokenQueryItem) + } + return items + } +} + extension PostTimeSeriesDataPointsInput { static func urlPathProvider(_ value: PostTimeSeriesDataPointsInput) -> Swift.String? { @@ -15916,6 +16362,14 @@ extension DeleteProjectMembershipInput { } } +extension PostLineageEventInput { + + static func write(value: PostLineageEventInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["event"].write(value.event) + } +} + extension PostTimeSeriesDataPointsInput { static func write(value: PostTimeSeriesDataPointsInput?, to writer: SmithyJSON.Writer) throws { @@ -16199,7 +16653,7 @@ extension UpdateUserProfileInput { extension AcceptPredictionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptPredictionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptPredictionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16213,7 +16667,7 @@ extension AcceptPredictionsOutput { extension AcceptSubscriptionRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptSubscriptionRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptSubscriptionRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16236,21 +16690,21 @@ extension AcceptSubscriptionRequestOutput { extension AssociateEnvironmentRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateEnvironmentRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateEnvironmentRoleOutput { return AssociateEnvironmentRoleOutput() } } extension CancelMetadataGenerationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMetadataGenerationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMetadataGenerationRunOutput { return CancelMetadataGenerationRunOutput() } } extension CancelSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16272,7 +16726,7 @@ extension CancelSubscriptionOutput { extension CreateAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16302,7 +16756,7 @@ extension CreateAssetOutput { extension CreateAssetRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16332,7 +16786,7 @@ extension CreateAssetRevisionOutput { extension CreateAssetTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16355,7 +16809,7 @@ extension CreateAssetTypeOutput { extension CreateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16386,7 +16840,7 @@ extension CreateDataSourceOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16407,7 +16861,7 @@ extension CreateDomainOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16439,7 +16893,7 @@ extension CreateEnvironmentOutput { extension CreateEnvironmentActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16456,7 +16910,7 @@ extension CreateEnvironmentActionOutput { extension CreateEnvironmentProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16479,7 +16933,7 @@ extension CreateEnvironmentProfileOutput { extension CreateFormTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFormTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFormTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16497,7 +16951,7 @@ extension CreateFormTypeOutput { extension CreateGlossaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlossaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlossaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16514,7 +16968,7 @@ extension CreateGlossaryOutput { extension CreateGlossaryTermOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlossaryTermOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlossaryTermOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16533,7 +16987,7 @@ extension CreateGlossaryTermOutput { extension CreateGroupProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16548,7 +17002,7 @@ extension CreateGroupProfileOutput { extension CreateListingChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateListingChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateListingChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16562,7 +17016,7 @@ extension CreateListingChangeSetOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16583,14 +17037,14 @@ extension CreateProjectOutput { extension CreateProjectMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectMembershipOutput { return CreateProjectMembershipOutput() } } extension CreateSubscriptionGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriptionGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16612,7 +17066,7 @@ extension CreateSubscriptionGrantOutput { extension CreateSubscriptionRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriptionRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16635,7 +17089,7 @@ extension CreateSubscriptionRequestOutput { extension CreateSubscriptionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriptionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16661,7 +17115,7 @@ extension CreateSubscriptionTargetOutput { extension CreateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16677,21 +17131,21 @@ extension CreateUserProfileOutput { extension DeleteAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetOutput { return DeleteAssetOutput() } } extension DeleteAssetTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetTypeOutput { return DeleteAssetTypeOutput() } } extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16723,7 +17177,7 @@ extension DeleteDataSourceOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16735,77 +17189,77 @@ extension DeleteDomainOutput { extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension DeleteEnvironmentActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentActionOutput { return DeleteEnvironmentActionOutput() } } extension DeleteEnvironmentBlueprintConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentBlueprintConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentBlueprintConfigurationOutput { return DeleteEnvironmentBlueprintConfigurationOutput() } } extension DeleteEnvironmentProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentProfileOutput { return DeleteEnvironmentProfileOutput() } } extension DeleteFormTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFormTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFormTypeOutput { return DeleteFormTypeOutput() } } extension DeleteGlossaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlossaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlossaryOutput { return DeleteGlossaryOutput() } } extension DeleteGlossaryTermOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlossaryTermOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlossaryTermOutput { return DeleteGlossaryTermOutput() } } extension DeleteListingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteListingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteListingOutput { return DeleteListingOutput() } } extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DeleteProjectMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectMembershipOutput { return DeleteProjectMembershipOutput() } } extension DeleteSubscriptionGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriptionGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16827,35 +17281,35 @@ extension DeleteSubscriptionGrantOutput { extension DeleteSubscriptionRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriptionRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionRequestOutput { return DeleteSubscriptionRequestOutput() } } extension DeleteSubscriptionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriptionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionTargetOutput { return DeleteSubscriptionTargetOutput() } } extension DeleteTimeSeriesDataPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTimeSeriesDataPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTimeSeriesDataPointsOutput { return DeleteTimeSeriesDataPointsOutput() } } extension DisassociateEnvironmentRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateEnvironmentRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateEnvironmentRoleOutput { return DisassociateEnvironmentRoleOutput() } } extension GetAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16884,7 +17338,7 @@ extension GetAssetOutput { extension GetAssetTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16907,7 +17361,7 @@ extension GetAssetTypeOutput { extension GetDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16940,7 +17394,7 @@ extension GetDataSourceOutput { extension GetDataSourceRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16964,7 +17418,7 @@ extension GetDataSourceRunOutput { extension GetDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16987,7 +17441,7 @@ extension GetDomainOutput { extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17019,7 +17473,7 @@ extension GetEnvironmentOutput { extension GetEnvironmentActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17036,7 +17490,7 @@ extension GetEnvironmentActionOutput { extension GetEnvironmentBlueprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentBlueprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentBlueprintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17057,7 +17511,7 @@ extension GetEnvironmentBlueprintOutput { extension GetEnvironmentBlueprintConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentBlueprintConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentBlueprintConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17076,7 +17530,7 @@ extension GetEnvironmentBlueprintConfigurationOutput { extension GetEnvironmentProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17099,7 +17553,7 @@ extension GetEnvironmentProfileOutput { extension GetFormTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFormTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFormTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17122,7 +17576,7 @@ extension GetFormTypeOutput { extension GetGlossaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGlossaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGlossaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17143,7 +17597,7 @@ extension GetGlossaryOutput { extension GetGlossaryTermOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGlossaryTermOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGlossaryTermOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17166,7 +17620,7 @@ extension GetGlossaryTermOutput { extension GetGroupProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17181,7 +17635,7 @@ extension GetGroupProfileOutput { extension GetIamPortalLoginUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIamPortalLoginUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIamPortalLoginUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17192,9 +17646,35 @@ extension GetIamPortalLoginUrlOutput { } } +extension GetLineageNodeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLineageNodeOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetLineageNodeOutput() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .epochSeconds) + value.createdBy = try reader["createdBy"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.domainId = try reader["domainId"].readIfPresent() + value.downstreamNodes = try reader["downstreamNodes"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.LineageNodeReference.read(from:), memberNodeInfo: "member", isFlattened: false) + value.eventTimestamp = try reader["eventTimestamp"].readTimestampIfPresent(format: .epochSeconds) + value.formsOutput = try reader["formsOutput"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.FormOutput.read(from:), memberNodeInfo: "member", isFlattened: false) + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.sourceIdentifier = try reader["sourceIdentifier"].readIfPresent() + value.typeName = try reader["typeName"].readIfPresent() + value.typeRevision = try reader["typeRevision"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.updatedBy = try reader["updatedBy"].readIfPresent() + value.upstreamNodes = try reader["upstreamNodes"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.LineageNodeReference.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension GetListingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetListingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetListingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17216,7 +17696,7 @@ extension GetListingOutput { extension GetMetadataGenerationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetadataGenerationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetadataGenerationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17235,7 +17715,7 @@ extension GetMetadataGenerationRunOutput { extension GetProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17256,7 +17736,7 @@ extension GetProjectOutput { extension GetSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17278,7 +17758,7 @@ extension GetSubscriptionOutput { extension GetSubscriptionGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17300,7 +17780,7 @@ extension GetSubscriptionGrantOutput { extension GetSubscriptionRequestDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionRequestDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionRequestDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17323,7 +17803,7 @@ extension GetSubscriptionRequestDetailsOutput { extension GetSubscriptionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17349,7 +17829,7 @@ extension GetSubscriptionTargetOutput { extension GetTimeSeriesDataPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTimeSeriesDataPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTimeSeriesDataPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17365,7 +17845,7 @@ extension GetTimeSeriesDataPointOutput { extension GetUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17381,7 +17861,7 @@ extension GetUserProfileOutput { extension ListAssetRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17394,7 +17874,7 @@ extension ListAssetRevisionsOutput { extension ListDataSourceRunActivitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourceRunActivitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourceRunActivitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17407,7 +17887,7 @@ extension ListDataSourceRunActivitiesOutput { extension ListDataSourceRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourceRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourceRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17420,7 +17900,7 @@ extension ListDataSourceRunsOutput { extension ListDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17433,7 +17913,7 @@ extension ListDataSourcesOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17446,7 +17926,7 @@ extension ListDomainsOutput { extension ListEnvironmentActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17459,7 +17939,7 @@ extension ListEnvironmentActionsOutput { extension ListEnvironmentBlueprintConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentBlueprintConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentBlueprintConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17472,7 +17952,7 @@ extension ListEnvironmentBlueprintConfigurationsOutput { extension ListEnvironmentBlueprintsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentBlueprintsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentBlueprintsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17485,7 +17965,7 @@ extension ListEnvironmentBlueprintsOutput { extension ListEnvironmentProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17498,7 +17978,7 @@ extension ListEnvironmentProfilesOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17509,9 +17989,22 @@ extension ListEnvironmentsOutput { } } +extension ListLineageNodeHistoryOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLineageNodeHistoryOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListLineageNodeHistoryOutput() + value.nextToken = try reader["nextToken"].readIfPresent() + value.nodes = try reader["nodes"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.LineageNodeSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListMetadataGenerationRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetadataGenerationRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetadataGenerationRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17524,7 +18017,7 @@ extension ListMetadataGenerationRunsOutput { extension ListNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17537,7 +18030,7 @@ extension ListNotificationsOutput { extension ListProjectMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17550,7 +18043,7 @@ extension ListProjectMembershipsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17563,7 +18056,7 @@ extension ListProjectsOutput { extension ListSubscriptionGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17576,7 +18069,7 @@ extension ListSubscriptionGrantsOutput { extension ListSubscriptionRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17589,7 +18082,7 @@ extension ListSubscriptionRequestsOutput { extension ListSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17602,7 +18095,7 @@ extension ListSubscriptionsOutput { extension ListSubscriptionTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17615,7 +18108,7 @@ extension ListSubscriptionTargetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17627,7 +18120,7 @@ extension ListTagsForResourceOutput { extension ListTimeSeriesDataPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTimeSeriesDataPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTimeSeriesDataPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17638,9 +18131,16 @@ extension ListTimeSeriesDataPointsOutput { } } +extension PostLineageEventOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostLineageEventOutput { + return PostLineageEventOutput() + } +} + extension PostTimeSeriesDataPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostTimeSeriesDataPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostTimeSeriesDataPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17655,7 +18155,7 @@ extension PostTimeSeriesDataPointsOutput { extension PutEnvironmentBlueprintConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEnvironmentBlueprintConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEnvironmentBlueprintConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17674,7 +18174,7 @@ extension PutEnvironmentBlueprintConfigurationOutput { extension RejectPredictionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectPredictionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectPredictionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17688,7 +18188,7 @@ extension RejectPredictionsOutput { extension RejectSubscriptionRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectSubscriptionRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectSubscriptionRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17711,7 +18211,7 @@ extension RejectSubscriptionRequestOutput { extension RevokeSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17733,7 +18233,7 @@ extension RevokeSubscriptionOutput { extension SearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17747,7 +18247,7 @@ extension SearchOutput { extension SearchGroupProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchGroupProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchGroupProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17760,7 +18260,7 @@ extension SearchGroupProfilesOutput { extension SearchListingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchListingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchListingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17774,7 +18274,7 @@ extension SearchListingsOutput { extension SearchTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17788,7 +18288,7 @@ extension SearchTypesOutput { extension SearchUserProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchUserProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchUserProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17801,7 +18301,7 @@ extension SearchUserProfilesOutput { extension StartDataSourceRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataSourceRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataSourceRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17825,7 +18325,7 @@ extension StartDataSourceRunOutput { extension StartMetadataGenerationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetadataGenerationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetadataGenerationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17843,21 +18343,21 @@ extension StartMetadataGenerationRunOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17890,7 +18390,7 @@ extension UpdateDataSourceOutput { extension UpdateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17907,7 +18407,7 @@ extension UpdateDomainOutput { extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17939,7 +18439,7 @@ extension UpdateEnvironmentOutput { extension UpdateEnvironmentActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17956,7 +18456,7 @@ extension UpdateEnvironmentActionOutput { extension UpdateEnvironmentProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17979,7 +18479,7 @@ extension UpdateEnvironmentProfileOutput { extension UpdateGlossaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlossaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlossaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17996,7 +18496,7 @@ extension UpdateGlossaryOutput { extension UpdateGlossaryTermOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlossaryTermOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlossaryTermOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18015,7 +18515,7 @@ extension UpdateGlossaryTermOutput { extension UpdateGroupProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18030,7 +18530,7 @@ extension UpdateGroupProfileOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18051,7 +18551,7 @@ extension UpdateProjectOutput { extension UpdateSubscriptionGrantStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriptionGrantStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionGrantStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18073,7 +18573,7 @@ extension UpdateSubscriptionGrantStatusOutput { extension UpdateSubscriptionRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriptionRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18096,7 +18596,7 @@ extension UpdateSubscriptionRequestOutput { extension UpdateSubscriptionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriptionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18122,7 +18622,7 @@ extension UpdateSubscriptionTargetOutput { extension UpdateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18147,7 +18647,7 @@ func httpServiceError(baseError: AWSClientRuntime.RestJSONError) throws -> Swift enum AcceptPredictionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18167,7 +18667,7 @@ enum AcceptPredictionsOutputError { enum AcceptSubscriptionRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18187,7 +18687,7 @@ enum AcceptSubscriptionRequestOutputError { enum AssociateEnvironmentRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18207,7 +18707,7 @@ enum AssociateEnvironmentRoleOutputError { enum CancelMetadataGenerationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18227,7 +18727,7 @@ enum CancelMetadataGenerationRunOutputError { enum CancelSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18247,7 +18747,7 @@ enum CancelSubscriptionOutputError { enum CreateAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18268,7 +18768,7 @@ enum CreateAssetOutputError { enum CreateAssetRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18288,7 +18788,7 @@ enum CreateAssetRevisionOutputError { enum CreateAssetTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18308,7 +18808,7 @@ enum CreateAssetTypeOutputError { enum CreateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18329,7 +18829,7 @@ enum CreateDataSourceOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18350,7 +18850,7 @@ enum CreateDomainOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18370,7 +18870,7 @@ enum CreateEnvironmentOutputError { enum CreateEnvironmentActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18390,7 +18890,7 @@ enum CreateEnvironmentActionOutputError { enum CreateEnvironmentProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18411,7 +18911,7 @@ enum CreateEnvironmentProfileOutputError { enum CreateFormTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18431,7 +18931,7 @@ enum CreateFormTypeOutputError { enum CreateGlossaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18451,7 +18951,7 @@ enum CreateGlossaryOutputError { enum CreateGlossaryTermOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18472,7 +18972,7 @@ enum CreateGlossaryTermOutputError { enum CreateGroupProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18490,7 +18990,7 @@ enum CreateGroupProfileOutputError { enum CreateListingChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18511,7 +19011,7 @@ enum CreateListingChangeSetOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18532,7 +19032,7 @@ enum CreateProjectOutputError { enum CreateProjectMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18550,7 +19050,7 @@ enum CreateProjectMembershipOutputError { enum CreateSubscriptionGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18570,7 +19070,7 @@ enum CreateSubscriptionGrantOutputError { enum CreateSubscriptionRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18590,7 +19090,7 @@ enum CreateSubscriptionRequestOutputError { enum CreateSubscriptionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18610,7 +19110,7 @@ enum CreateSubscriptionTargetOutputError { enum CreateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18628,7 +19128,7 @@ enum CreateUserProfileOutputError { enum DeleteAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18647,7 +19147,7 @@ enum DeleteAssetOutputError { enum DeleteAssetTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18667,7 +19167,7 @@ enum DeleteAssetTypeOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18688,7 +19188,7 @@ enum DeleteDataSourceOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18708,7 +19208,7 @@ enum DeleteDomainOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18727,7 +19227,7 @@ enum DeleteEnvironmentOutputError { enum DeleteEnvironmentActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18747,7 +19247,7 @@ enum DeleteEnvironmentActionOutputError { enum DeleteEnvironmentBlueprintConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18764,7 +19264,7 @@ enum DeleteEnvironmentBlueprintConfigurationOutputError { enum DeleteEnvironmentProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18783,7 +19283,7 @@ enum DeleteEnvironmentProfileOutputError { enum DeleteFormTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18803,7 +19303,7 @@ enum DeleteFormTypeOutputError { enum DeleteGlossaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18823,7 +19323,7 @@ enum DeleteGlossaryOutputError { enum DeleteGlossaryTermOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18843,7 +19343,7 @@ enum DeleteGlossaryTermOutputError { enum DeleteListingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18863,7 +19363,7 @@ enum DeleteListingOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18882,7 +19382,7 @@ enum DeleteProjectOutputError { enum DeleteProjectMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18902,7 +19402,7 @@ enum DeleteProjectMembershipOutputError { enum DeleteSubscriptionGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18922,7 +19422,7 @@ enum DeleteSubscriptionGrantOutputError { enum DeleteSubscriptionRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18942,7 +19442,7 @@ enum DeleteSubscriptionRequestOutputError { enum DeleteSubscriptionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18962,7 +19462,7 @@ enum DeleteSubscriptionTargetOutputError { enum DeleteTimeSeriesDataPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18981,7 +19481,7 @@ enum DeleteTimeSeriesDataPointsOutputError { enum DisassociateEnvironmentRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19001,7 +19501,7 @@ enum DisassociateEnvironmentRoleOutputError { enum GetAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19020,7 +19520,7 @@ enum GetAssetOutputError { enum GetAssetTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19039,7 +19539,7 @@ enum GetAssetTypeOutputError { enum GetDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19060,7 +19560,7 @@ enum GetDataSourceOutputError { enum GetDataSourceRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19081,7 +19581,7 @@ enum GetDataSourceRunOutputError { enum GetDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19101,7 +19601,7 @@ enum GetDomainOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19120,7 +19620,7 @@ enum GetEnvironmentOutputError { enum GetEnvironmentActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19139,7 +19639,7 @@ enum GetEnvironmentActionOutputError { enum GetEnvironmentBlueprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19158,7 +19658,7 @@ enum GetEnvironmentBlueprintOutputError { enum GetEnvironmentBlueprintConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19176,7 +19676,7 @@ enum GetEnvironmentBlueprintConfigurationOutputError { enum GetEnvironmentProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19195,7 +19695,7 @@ enum GetEnvironmentProfileOutputError { enum GetFormTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19214,7 +19714,7 @@ enum GetFormTypeOutputError { enum GetGlossaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19233,7 +19733,7 @@ enum GetGlossaryOutputError { enum GetGlossaryTermOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19252,7 +19752,7 @@ enum GetGlossaryTermOutputError { enum GetGroupProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19270,7 +19770,7 @@ enum GetGroupProfileOutputError { enum GetIamPortalLoginUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19288,9 +19788,28 @@ enum GetIamPortalLoginUrlOutputError { } } +enum GetLineageNodeOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetListingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19309,7 +19828,7 @@ enum GetListingOutputError { enum GetMetadataGenerationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19328,7 +19847,7 @@ enum GetMetadataGenerationRunOutputError { enum GetProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19347,7 +19866,7 @@ enum GetProjectOutputError { enum GetSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19366,7 +19885,7 @@ enum GetSubscriptionOutputError { enum GetSubscriptionGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19385,7 +19904,7 @@ enum GetSubscriptionGrantOutputError { enum GetSubscriptionRequestDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19404,7 +19923,7 @@ enum GetSubscriptionRequestDetailsOutputError { enum GetSubscriptionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19423,7 +19942,7 @@ enum GetSubscriptionTargetOutputError { enum GetTimeSeriesDataPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19442,7 +19961,7 @@ enum GetTimeSeriesDataPointOutputError { enum GetUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19460,7 +19979,7 @@ enum GetUserProfileOutputError { enum ListAssetRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19479,7 +19998,7 @@ enum ListAssetRevisionsOutputError { enum ListDataSourceRunActivitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19500,7 +20019,7 @@ enum ListDataSourceRunActivitiesOutputError { enum ListDataSourceRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19521,7 +20040,7 @@ enum ListDataSourceRunsOutputError { enum ListDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19542,7 +20061,7 @@ enum ListDataSourcesOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19563,7 +20082,7 @@ enum ListDomainsOutputError { enum ListEnvironmentActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19581,7 +20100,7 @@ enum ListEnvironmentActionsOutputError { enum ListEnvironmentBlueprintConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19599,7 +20118,7 @@ enum ListEnvironmentBlueprintConfigurationsOutputError { enum ListEnvironmentBlueprintsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19618,7 +20137,7 @@ enum ListEnvironmentBlueprintsOutputError { enum ListEnvironmentProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19636,7 +20155,7 @@ enum ListEnvironmentProfilesOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19652,9 +20171,28 @@ enum ListEnvironmentsOutputError { } } +enum ListLineageNodeHistoryOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListMetadataGenerationRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19673,7 +20211,7 @@ enum ListMetadataGenerationRunsOutputError { enum ListNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19691,7 +20229,7 @@ enum ListNotificationsOutputError { enum ListProjectMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19710,7 +20248,7 @@ enum ListProjectMembershipsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19728,7 +20266,7 @@ enum ListProjectsOutputError { enum ListSubscriptionGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19747,7 +20285,7 @@ enum ListSubscriptionGrantsOutputError { enum ListSubscriptionRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19766,7 +20304,7 @@ enum ListSubscriptionRequestsOutputError { enum ListSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19785,7 +20323,7 @@ enum ListSubscriptionsOutputError { enum ListSubscriptionTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19804,7 +20342,7 @@ enum ListSubscriptionTargetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19821,7 +20359,26 @@ enum ListTagsForResourceOutputError { enum ListTimeSeriesDataPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PostLineageEventOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19829,8 +20386,10 @@ enum ListTimeSeriesDataPointsOutputError { if let error = try httpServiceError(baseError: baseError) { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) case "ValidationException": return try ValidationException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) @@ -19840,7 +20399,7 @@ enum ListTimeSeriesDataPointsOutputError { enum PostTimeSeriesDataPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19861,7 +20420,7 @@ enum PostTimeSeriesDataPointsOutputError { enum PutEnvironmentBlueprintConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19880,7 +20439,7 @@ enum PutEnvironmentBlueprintConfigurationOutputError { enum RejectPredictionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19900,7 +20459,7 @@ enum RejectPredictionsOutputError { enum RejectSubscriptionRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19920,7 +20479,7 @@ enum RejectSubscriptionRequestOutputError { enum RevokeSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19940,7 +20499,7 @@ enum RevokeSubscriptionOutputError { enum SearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19958,7 +20517,7 @@ enum SearchOutputError { enum SearchGroupProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19976,7 +20535,7 @@ enum SearchGroupProfilesOutputError { enum SearchListingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19994,7 +20553,7 @@ enum SearchListingsOutputError { enum SearchTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20012,7 +20571,7 @@ enum SearchTypesOutputError { enum SearchUserProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20030,7 +20589,7 @@ enum SearchUserProfilesOutputError { enum StartDataSourceRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20051,7 +20610,7 @@ enum StartDataSourceRunOutputError { enum StartMetadataGenerationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20072,7 +20631,7 @@ enum StartMetadataGenerationRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20089,7 +20648,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20105,7 +20664,7 @@ enum UntagResourceOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20126,7 +20685,7 @@ enum UpdateDataSourceOutputError { enum UpdateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20147,7 +20706,7 @@ enum UpdateDomainOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20167,7 +20726,7 @@ enum UpdateEnvironmentOutputError { enum UpdateEnvironmentActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20187,7 +20746,7 @@ enum UpdateEnvironmentActionOutputError { enum UpdateEnvironmentProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20208,7 +20767,7 @@ enum UpdateEnvironmentProfileOutputError { enum UpdateGlossaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20228,7 +20787,7 @@ enum UpdateGlossaryOutputError { enum UpdateGlossaryTermOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20248,7 +20807,7 @@ enum UpdateGlossaryTermOutputError { enum UpdateGroupProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20266,7 +20825,7 @@ enum UpdateGroupProfileOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20287,7 +20846,7 @@ enum UpdateProjectOutputError { enum UpdateSubscriptionGrantStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20307,7 +20866,7 @@ enum UpdateSubscriptionGrantStatusOutputError { enum UpdateSubscriptionRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20327,7 +20886,7 @@ enum UpdateSubscriptionRequestOutputError { enum UpdateSubscriptionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20347,7 +20906,7 @@ enum UpdateSubscriptionTargetOutputError { enum UpdateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21230,6 +21789,17 @@ extension DataZoneClientTypes.Import { } } +extension DataZoneClientTypes.LineageNodeReference { + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.LineageNodeReference { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.LineageNodeReference() + value.id = try reader["id"].readIfPresent() + value.eventTimestamp = try reader["eventTimestamp"].readTimestampIfPresent(format: .epochSeconds) + return value + } +} + extension DataZoneClientTypes.ListingItem { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.ListingItem { @@ -21479,6 +22049,27 @@ extension DataZoneClientTypes.EnvironmentSummary { } } +extension DataZoneClientTypes.LineageNodeSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.LineageNodeSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.LineageNodeSummary() + value.domainId = try reader["domainId"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .epochSeconds) + value.createdBy = try reader["createdBy"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.updatedBy = try reader["updatedBy"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.typeName = try reader["typeName"].readIfPresent() + value.typeRevision = try reader["typeRevision"].readIfPresent() + value.sourceIdentifier = try reader["sourceIdentifier"].readIfPresent() + value.eventTimestamp = try reader["eventTimestamp"].readTimestampIfPresent(format: .epochSeconds) + return value + } +} + extension DataZoneClientTypes.MetadataGenerationRunItem { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.MetadataGenerationRunItem { @@ -21886,12 +22477,32 @@ extension DataZoneClientTypes.SearchTypesResultItem { return .assettypeitem(try reader["assetTypeItem"].read(with: DataZoneClientTypes.AssetTypeItem.read(from:))) case "formTypeItem": return .formtypeitem(try reader["formTypeItem"].read(with: DataZoneClientTypes.FormTypeData.read(from:))) + case "lineageNodeTypeItem": + return .lineagenodetypeitem(try reader["lineageNodeTypeItem"].read(with: DataZoneClientTypes.LineageNodeTypeItem.read(from:))) default: return .sdkUnknown(name ?? "") } } } +extension DataZoneClientTypes.LineageNodeTypeItem { + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.LineageNodeTypeItem { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.LineageNodeTypeItem() + value.domainId = try reader["domainId"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .epochSeconds) + value.createdBy = try reader["createdBy"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.updatedBy = try reader["updatedBy"].readIfPresent() + value.revision = try reader["revision"].readIfPresent() + value.formsOutput = try reader["formsOutput"].readMapIfPresent(valueReadingClosure: DataZoneClientTypes.FormEntryOutput.read(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + extension DataZoneClientTypes.FormTypeData { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.FormTypeData { diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/Paginators.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/Paginators.swift index f7ec935b70d..0c9db4e4e7e 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/Paginators.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/Paginators.swift @@ -216,6 +216,42 @@ extension PaginatorSequence where OperationStackInput == ListEnvironmentsInput, return try await self.asyncCompactMap { item in item.items } } } +extension DataZoneClient { + /// Paginate over `[ListLineageNodeHistoryOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListLineageNodeHistoryInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListLineageNodeHistoryOutput` + public func listLineageNodeHistoryPaginated(input: ListLineageNodeHistoryInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listLineageNodeHistory(input:)) + } +} + +extension ListLineageNodeHistoryInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListLineageNodeHistoryInput { + return ListLineageNodeHistoryInput( + direction: self.direction, + domainIdentifier: self.domainIdentifier, + eventTimestampGTE: self.eventTimestampGTE, + eventTimestampLTE: self.eventTimestampLTE, + identifier: self.identifier, + maxResults: self.maxResults, + nextToken: token, + sortOrder: self.sortOrder + )} +} + +extension PaginatorSequence where OperationStackInput == ListLineageNodeHistoryInput, OperationStackOutput == ListLineageNodeHistoryOutput { + /// This paginator transforms the `AsyncSequence` returned by `listLineageNodeHistoryPaginated` + /// to access the nested member `[DataZoneClientTypes.LineageNodeSummary]` + /// - Returns: `[DataZoneClientTypes.LineageNodeSummary]` + public func nodes() async throws -> [DataZoneClientTypes.LineageNodeSummary] { + return try await self.asyncCompactMap { item in item.nodes } + } +} extension DataZoneClient { /// Paginate over `[ListNotificationsOutput]` results. /// diff --git a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/Models.swift b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/Models.swift index 5699251a823..76e61fd2866 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/Models.swift +++ b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -50,7 +50,7 @@ public struct AccessDeniedFault: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct ResourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -278,7 +278,7 @@ public struct InvalidResourceStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -524,7 +524,7 @@ public struct ResourceAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -551,7 +551,7 @@ public struct ResourceQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1046,7 +1046,7 @@ public struct KMSKeyNotAccessibleFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1070,7 +1070,7 @@ public struct S3AccessDeniedFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3669,7 +3669,7 @@ public struct KMSAccessDeniedFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3693,7 +3693,7 @@ public struct KMSDisabledFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3717,7 +3717,7 @@ public struct KMSInvalidStateFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3741,7 +3741,7 @@ public struct KMSNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3765,7 +3765,7 @@ public struct KMSThrottlingFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3790,7 +3790,7 @@ public struct SNSInvalidTopicFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3815,7 +3815,7 @@ public struct SNSNoAuthorizationFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3939,7 +3939,7 @@ public struct S3ResourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4307,7 +4307,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4332,7 +4332,7 @@ public struct ReplicationSubnetGroupDoesNotCoverEnoughAZs: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4567,7 +4567,7 @@ public struct InsufficientResourceCapacityFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4592,7 +4592,7 @@ public struct StorageQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5551,7 +5551,7 @@ public struct CollectorNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5588,7 +5588,7 @@ public struct InvalidOperationFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9189,7 +9189,7 @@ public struct InvalidCertificateFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9754,7 +9754,7 @@ public struct UpgradeDependencyFailureFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9856,7 +9856,7 @@ public struct SubnetAlreadyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10631,7 +10631,7 @@ public struct KMSFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12745,14 +12745,14 @@ extension UpdateSubscriptionsToEventBridgeInput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { return AddTagsToResourceOutput() } } extension ApplyPendingMaintenanceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplyPendingMaintenanceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyPendingMaintenanceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12764,7 +12764,7 @@ extension ApplyPendingMaintenanceActionOutput { extension BatchStartRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchStartRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchStartRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12776,7 +12776,7 @@ extension BatchStartRecommendationsOutput { extension CancelReplicationTaskAssessmentRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelReplicationTaskAssessmentRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelReplicationTaskAssessmentRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12788,7 +12788,7 @@ extension CancelReplicationTaskAssessmentRunOutput { extension CreateDataProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12800,7 +12800,7 @@ extension CreateDataProviderOutput { extension CreateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12812,7 +12812,7 @@ extension CreateEndpointOutput { extension CreateEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12824,7 +12824,7 @@ extension CreateEventSubscriptionOutput { extension CreateFleetAdvisorCollectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetAdvisorCollectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetAdvisorCollectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12840,7 +12840,7 @@ extension CreateFleetAdvisorCollectorOutput { extension CreateInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12852,7 +12852,7 @@ extension CreateInstanceProfileOutput { extension CreateMigrationProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMigrationProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMigrationProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12864,7 +12864,7 @@ extension CreateMigrationProjectOutput { extension CreateReplicationConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12876,7 +12876,7 @@ extension CreateReplicationConfigOutput { extension CreateReplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12888,7 +12888,7 @@ extension CreateReplicationInstanceOutput { extension CreateReplicationSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12900,7 +12900,7 @@ extension CreateReplicationSubnetGroupOutput { extension CreateReplicationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12912,7 +12912,7 @@ extension CreateReplicationTaskOutput { extension DeleteCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12924,7 +12924,7 @@ extension DeleteCertificateOutput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12936,7 +12936,7 @@ extension DeleteConnectionOutput { extension DeleteDataProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12948,7 +12948,7 @@ extension DeleteDataProviderOutput { extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12960,7 +12960,7 @@ extension DeleteEndpointOutput { extension DeleteEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12972,14 +12972,14 @@ extension DeleteEventSubscriptionOutput { extension DeleteFleetAdvisorCollectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetAdvisorCollectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetAdvisorCollectorOutput { return DeleteFleetAdvisorCollectorOutput() } } extension DeleteFleetAdvisorDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetAdvisorDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetAdvisorDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12991,7 +12991,7 @@ extension DeleteFleetAdvisorDatabasesOutput { extension DeleteInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13003,7 +13003,7 @@ extension DeleteInstanceProfileOutput { extension DeleteMigrationProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMigrationProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMigrationProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13015,7 +13015,7 @@ extension DeleteMigrationProjectOutput { extension DeleteReplicationConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13027,7 +13027,7 @@ extension DeleteReplicationConfigOutput { extension DeleteReplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13039,14 +13039,14 @@ extension DeleteReplicationInstanceOutput { extension DeleteReplicationSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationSubnetGroupOutput { return DeleteReplicationSubnetGroupOutput() } } extension DeleteReplicationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13058,7 +13058,7 @@ extension DeleteReplicationTaskOutput { extension DeleteReplicationTaskAssessmentRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationTaskAssessmentRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationTaskAssessmentRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13070,7 +13070,7 @@ extension DeleteReplicationTaskAssessmentRunOutput { extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13083,7 +13083,7 @@ extension DescribeAccountAttributesOutput { extension DescribeApplicableIndividualAssessmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicableIndividualAssessmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicableIndividualAssessmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13096,7 +13096,7 @@ extension DescribeApplicableIndividualAssessmentsOutput { extension DescribeCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13109,7 +13109,7 @@ extension DescribeCertificatesOutput { extension DescribeConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13122,7 +13122,7 @@ extension DescribeConnectionsOutput { extension DescribeConversionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConversionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConversionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13135,7 +13135,7 @@ extension DescribeConversionConfigurationOutput { extension DescribeDataProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13148,7 +13148,7 @@ extension DescribeDataProvidersOutput { extension DescribeEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13161,7 +13161,7 @@ extension DescribeEndpointsOutput { extension DescribeEndpointSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13174,7 +13174,7 @@ extension DescribeEndpointSettingsOutput { extension DescribeEndpointTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13187,7 +13187,7 @@ extension DescribeEndpointTypesOutput { extension DescribeEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13200,7 +13200,7 @@ extension DescribeEngineVersionsOutput { extension DescribeEventCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13212,7 +13212,7 @@ extension DescribeEventCategoriesOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13225,7 +13225,7 @@ extension DescribeEventsOutput { extension DescribeEventSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13238,7 +13238,7 @@ extension DescribeEventSubscriptionsOutput { extension DescribeExtensionPackAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExtensionPackAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExtensionPackAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13251,7 +13251,7 @@ extension DescribeExtensionPackAssociationsOutput { extension DescribeFleetAdvisorCollectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetAdvisorCollectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetAdvisorCollectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13264,7 +13264,7 @@ extension DescribeFleetAdvisorCollectorsOutput { extension DescribeFleetAdvisorDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetAdvisorDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetAdvisorDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13277,7 +13277,7 @@ extension DescribeFleetAdvisorDatabasesOutput { extension DescribeFleetAdvisorLsaAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetAdvisorLsaAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetAdvisorLsaAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13290,7 +13290,7 @@ extension DescribeFleetAdvisorLsaAnalysisOutput { extension DescribeFleetAdvisorSchemaObjectSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetAdvisorSchemaObjectSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetAdvisorSchemaObjectSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13303,7 +13303,7 @@ extension DescribeFleetAdvisorSchemaObjectSummaryOutput { extension DescribeFleetAdvisorSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetAdvisorSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetAdvisorSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13316,7 +13316,7 @@ extension DescribeFleetAdvisorSchemasOutput { extension DescribeInstanceProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13329,7 +13329,7 @@ extension DescribeInstanceProfilesOutput { extension DescribeMetadataModelAssessmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetadataModelAssessmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetadataModelAssessmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13342,7 +13342,7 @@ extension DescribeMetadataModelAssessmentsOutput { extension DescribeMetadataModelConversionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetadataModelConversionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetadataModelConversionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13355,7 +13355,7 @@ extension DescribeMetadataModelConversionsOutput { extension DescribeMetadataModelExportsAsScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetadataModelExportsAsScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetadataModelExportsAsScriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13368,7 +13368,7 @@ extension DescribeMetadataModelExportsAsScriptOutput { extension DescribeMetadataModelExportsToTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetadataModelExportsToTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetadataModelExportsToTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13381,7 +13381,7 @@ extension DescribeMetadataModelExportsToTargetOutput { extension DescribeMetadataModelImportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetadataModelImportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetadataModelImportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13394,7 +13394,7 @@ extension DescribeMetadataModelImportsOutput { extension DescribeMigrationProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMigrationProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMigrationProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13407,7 +13407,7 @@ extension DescribeMigrationProjectsOutput { extension DescribeOrderableReplicationInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrderableReplicationInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrderableReplicationInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13420,7 +13420,7 @@ extension DescribeOrderableReplicationInstancesOutput { extension DescribePendingMaintenanceActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePendingMaintenanceActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePendingMaintenanceActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13433,7 +13433,7 @@ extension DescribePendingMaintenanceActionsOutput { extension DescribeRecommendationLimitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecommendationLimitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecommendationLimitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13446,7 +13446,7 @@ extension DescribeRecommendationLimitationsOutput { extension DescribeRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13459,7 +13459,7 @@ extension DescribeRecommendationsOutput { extension DescribeRefreshSchemasStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRefreshSchemasStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRefreshSchemasStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13471,7 +13471,7 @@ extension DescribeRefreshSchemasStatusOutput { extension DescribeReplicationConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13484,7 +13484,7 @@ extension DescribeReplicationConfigsOutput { extension DescribeReplicationInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13497,7 +13497,7 @@ extension DescribeReplicationInstancesOutput { extension DescribeReplicationInstanceTaskLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationInstanceTaskLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationInstanceTaskLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13511,7 +13511,7 @@ extension DescribeReplicationInstanceTaskLogsOutput { extension DescribeReplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13524,7 +13524,7 @@ extension DescribeReplicationsOutput { extension DescribeReplicationSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13537,7 +13537,7 @@ extension DescribeReplicationSubnetGroupsOutput { extension DescribeReplicationTableStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationTableStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationTableStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13551,7 +13551,7 @@ extension DescribeReplicationTableStatisticsOutput { extension DescribeReplicationTaskAssessmentResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationTaskAssessmentResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationTaskAssessmentResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13565,7 +13565,7 @@ extension DescribeReplicationTaskAssessmentResultsOutput { extension DescribeReplicationTaskAssessmentRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationTaskAssessmentRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationTaskAssessmentRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13578,7 +13578,7 @@ extension DescribeReplicationTaskAssessmentRunsOutput { extension DescribeReplicationTaskIndividualAssessmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationTaskIndividualAssessmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationTaskIndividualAssessmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13591,7 +13591,7 @@ extension DescribeReplicationTaskIndividualAssessmentsOutput { extension DescribeReplicationTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13604,7 +13604,7 @@ extension DescribeReplicationTasksOutput { extension DescribeSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13617,7 +13617,7 @@ extension DescribeSchemasOutput { extension DescribeTableStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTableStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTableStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13631,7 +13631,7 @@ extension DescribeTableStatisticsOutput { extension ExportMetadataModelAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportMetadataModelAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportMetadataModelAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13644,7 +13644,7 @@ extension ExportMetadataModelAssessmentOutput { extension ImportCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13656,7 +13656,7 @@ extension ImportCertificateOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13668,7 +13668,7 @@ extension ListTagsForResourceOutput { extension ModifyConversionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyConversionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyConversionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13680,7 +13680,7 @@ extension ModifyConversionConfigurationOutput { extension ModifyDataProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDataProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDataProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13692,7 +13692,7 @@ extension ModifyDataProviderOutput { extension ModifyEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13704,7 +13704,7 @@ extension ModifyEndpointOutput { extension ModifyEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13716,7 +13716,7 @@ extension ModifyEventSubscriptionOutput { extension ModifyInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13728,7 +13728,7 @@ extension ModifyInstanceProfileOutput { extension ModifyMigrationProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyMigrationProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyMigrationProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13740,7 +13740,7 @@ extension ModifyMigrationProjectOutput { extension ModifyReplicationConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReplicationConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReplicationConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13752,7 +13752,7 @@ extension ModifyReplicationConfigOutput { extension ModifyReplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReplicationInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13764,7 +13764,7 @@ extension ModifyReplicationInstanceOutput { extension ModifyReplicationSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReplicationSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReplicationSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13776,7 +13776,7 @@ extension ModifyReplicationSubnetGroupOutput { extension ModifyReplicationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReplicationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReplicationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13788,7 +13788,7 @@ extension ModifyReplicationTaskOutput { extension MoveReplicationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MoveReplicationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MoveReplicationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13800,7 +13800,7 @@ extension MoveReplicationTaskOutput { extension RebootReplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootReplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootReplicationInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13812,7 +13812,7 @@ extension RebootReplicationInstanceOutput { extension RefreshSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RefreshSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RefreshSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13824,7 +13824,7 @@ extension RefreshSchemasOutput { extension ReloadReplicationTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReloadReplicationTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReloadReplicationTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13836,7 +13836,7 @@ extension ReloadReplicationTablesOutput { extension ReloadTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReloadTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReloadTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13848,14 +13848,14 @@ extension ReloadTablesOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { return RemoveTagsFromResourceOutput() } } extension RunFleetAdvisorLsaAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunFleetAdvisorLsaAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunFleetAdvisorLsaAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13868,7 +13868,7 @@ extension RunFleetAdvisorLsaAnalysisOutput { extension StartExtensionPackAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExtensionPackAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExtensionPackAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13880,7 +13880,7 @@ extension StartExtensionPackAssociationOutput { extension StartMetadataModelAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetadataModelAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetadataModelAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13892,7 +13892,7 @@ extension StartMetadataModelAssessmentOutput { extension StartMetadataModelConversionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetadataModelConversionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetadataModelConversionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13904,7 +13904,7 @@ extension StartMetadataModelConversionOutput { extension StartMetadataModelExportAsScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetadataModelExportAsScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetadataModelExportAsScriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13916,7 +13916,7 @@ extension StartMetadataModelExportAsScriptOutput { extension StartMetadataModelExportToTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetadataModelExportToTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetadataModelExportToTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13928,7 +13928,7 @@ extension StartMetadataModelExportToTargetOutput { extension StartMetadataModelImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMetadataModelImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMetadataModelImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13940,14 +13940,14 @@ extension StartMetadataModelImportOutput { extension StartRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRecommendationsOutput { return StartRecommendationsOutput() } } extension StartReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13959,7 +13959,7 @@ extension StartReplicationOutput { extension StartReplicationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplicationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplicationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13971,7 +13971,7 @@ extension StartReplicationTaskOutput { extension StartReplicationTaskAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplicationTaskAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplicationTaskAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13983,7 +13983,7 @@ extension StartReplicationTaskAssessmentOutput { extension StartReplicationTaskAssessmentRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplicationTaskAssessmentRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplicationTaskAssessmentRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13995,7 +13995,7 @@ extension StartReplicationTaskAssessmentRunOutput { extension StopReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14007,7 +14007,7 @@ extension StopReplicationOutput { extension StopReplicationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopReplicationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopReplicationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14019,7 +14019,7 @@ extension StopReplicationTaskOutput { extension TestConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14031,7 +14031,7 @@ extension TestConnectionOutput { extension UpdateSubscriptionsToEventBridgeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriptionsToEventBridgeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionsToEventBridgeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14043,7 +14043,7 @@ extension UpdateSubscriptionsToEventBridgeOutput { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14057,7 +14057,7 @@ enum AddTagsToResourceOutputError { enum ApplyPendingMaintenanceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14071,7 +14071,7 @@ enum ApplyPendingMaintenanceActionOutputError { enum BatchStartRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14087,7 +14087,7 @@ enum BatchStartRecommendationsOutputError { enum CancelReplicationTaskAssessmentRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14103,7 +14103,7 @@ enum CancelReplicationTaskAssessmentRunOutputError { enum CreateDataProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14119,7 +14119,7 @@ enum CreateDataProviderOutputError { enum CreateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14139,7 +14139,7 @@ enum CreateEndpointOutputError { enum CreateEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14162,7 +14162,7 @@ enum CreateEventSubscriptionOutputError { enum CreateFleetAdvisorCollectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14180,7 +14180,7 @@ enum CreateFleetAdvisorCollectorOutputError { enum CreateInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14201,7 +14201,7 @@ enum CreateInstanceProfileOutputError { enum CreateMigrationProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14220,7 +14220,7 @@ enum CreateMigrationProjectOutputError { enum CreateReplicationConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14241,7 +14241,7 @@ enum CreateReplicationConfigOutputError { enum CreateReplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14264,7 +14264,7 @@ enum CreateReplicationInstanceOutputError { enum CreateReplicationSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14283,7 +14283,7 @@ enum CreateReplicationSubnetGroupOutputError { enum CreateReplicationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14302,7 +14302,7 @@ enum CreateReplicationTaskOutputError { enum DeleteCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14317,7 +14317,7 @@ enum DeleteCertificateOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14333,7 +14333,7 @@ enum DeleteConnectionOutputError { enum DeleteDataProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14349,7 +14349,7 @@ enum DeleteDataProviderOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14364,7 +14364,7 @@ enum DeleteEndpointOutputError { enum DeleteEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14379,7 +14379,7 @@ enum DeleteEventSubscriptionOutputError { enum DeleteFleetAdvisorCollectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14394,7 +14394,7 @@ enum DeleteFleetAdvisorCollectorOutputError { enum DeleteFleetAdvisorDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14409,7 +14409,7 @@ enum DeleteFleetAdvisorDatabasesOutputError { enum DeleteInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14425,7 +14425,7 @@ enum DeleteInstanceProfileOutputError { enum DeleteMigrationProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14441,7 +14441,7 @@ enum DeleteMigrationProjectOutputError { enum DeleteReplicationConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14457,7 +14457,7 @@ enum DeleteReplicationConfigOutputError { enum DeleteReplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14472,7 +14472,7 @@ enum DeleteReplicationInstanceOutputError { enum DeleteReplicationSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14487,7 +14487,7 @@ enum DeleteReplicationSubnetGroupOutputError { enum DeleteReplicationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14502,7 +14502,7 @@ enum DeleteReplicationTaskOutputError { enum DeleteReplicationTaskAssessmentRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14518,7 +14518,7 @@ enum DeleteReplicationTaskAssessmentRunOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14531,7 +14531,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeApplicableIndividualAssessmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14547,7 +14547,7 @@ enum DescribeApplicableIndividualAssessmentsOutputError { enum DescribeCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14561,7 +14561,7 @@ enum DescribeCertificatesOutputError { enum DescribeConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14575,7 +14575,7 @@ enum DescribeConnectionsOutputError { enum DescribeConversionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14589,7 +14589,7 @@ enum DescribeConversionConfigurationOutputError { enum DescribeDataProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14604,7 +14604,7 @@ enum DescribeDataProvidersOutputError { enum DescribeEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14618,7 +14618,7 @@ enum DescribeEndpointsOutputError { enum DescribeEndpointSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14631,7 +14631,7 @@ enum DescribeEndpointSettingsOutputError { enum DescribeEndpointTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14644,7 +14644,7 @@ enum DescribeEndpointTypesOutputError { enum DescribeEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14657,7 +14657,7 @@ enum DescribeEngineVersionsOutputError { enum DescribeEventCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14670,7 +14670,7 @@ enum DescribeEventCategoriesOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14683,7 +14683,7 @@ enum DescribeEventsOutputError { enum DescribeEventSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14697,7 +14697,7 @@ enum DescribeEventSubscriptionsOutputError { enum DescribeExtensionPackAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14710,7 +14710,7 @@ enum DescribeExtensionPackAssociationsOutputError { enum DescribeFleetAdvisorCollectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14724,7 +14724,7 @@ enum DescribeFleetAdvisorCollectorsOutputError { enum DescribeFleetAdvisorDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14738,7 +14738,7 @@ enum DescribeFleetAdvisorDatabasesOutputError { enum DescribeFleetAdvisorLsaAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14752,7 +14752,7 @@ enum DescribeFleetAdvisorLsaAnalysisOutputError { enum DescribeFleetAdvisorSchemaObjectSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14766,7 +14766,7 @@ enum DescribeFleetAdvisorSchemaObjectSummaryOutputError { enum DescribeFleetAdvisorSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14780,7 +14780,7 @@ enum DescribeFleetAdvisorSchemasOutputError { enum DescribeInstanceProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14795,7 +14795,7 @@ enum DescribeInstanceProfilesOutputError { enum DescribeMetadataModelAssessmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14809,7 +14809,7 @@ enum DescribeMetadataModelAssessmentsOutputError { enum DescribeMetadataModelConversionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14823,7 +14823,7 @@ enum DescribeMetadataModelConversionsOutputError { enum DescribeMetadataModelExportsAsScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14837,7 +14837,7 @@ enum DescribeMetadataModelExportsAsScriptOutputError { enum DescribeMetadataModelExportsToTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14851,7 +14851,7 @@ enum DescribeMetadataModelExportsToTargetOutputError { enum DescribeMetadataModelImportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14865,7 +14865,7 @@ enum DescribeMetadataModelImportsOutputError { enum DescribeMigrationProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14880,7 +14880,7 @@ enum DescribeMigrationProjectsOutputError { enum DescribeOrderableReplicationInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14893,7 +14893,7 @@ enum DescribeOrderableReplicationInstancesOutputError { enum DescribePendingMaintenanceActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14907,7 +14907,7 @@ enum DescribePendingMaintenanceActionsOutputError { enum DescribeRecommendationLimitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14922,7 +14922,7 @@ enum DescribeRecommendationLimitationsOutputError { enum DescribeRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14937,7 +14937,7 @@ enum DescribeRecommendationsOutputError { enum DescribeRefreshSchemasStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14952,7 +14952,7 @@ enum DescribeRefreshSchemasStatusOutputError { enum DescribeReplicationConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14966,7 +14966,7 @@ enum DescribeReplicationConfigsOutputError { enum DescribeReplicationInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14980,7 +14980,7 @@ enum DescribeReplicationInstancesOutputError { enum DescribeReplicationInstanceTaskLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14995,7 +14995,7 @@ enum DescribeReplicationInstanceTaskLogsOutputError { enum DescribeReplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15009,7 +15009,7 @@ enum DescribeReplicationsOutputError { enum DescribeReplicationSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15023,7 +15023,7 @@ enum DescribeReplicationSubnetGroupsOutputError { enum DescribeReplicationTableStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15038,7 +15038,7 @@ enum DescribeReplicationTableStatisticsOutputError { enum DescribeReplicationTaskAssessmentResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15052,7 +15052,7 @@ enum DescribeReplicationTaskAssessmentResultsOutputError { enum DescribeReplicationTaskAssessmentRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15066,7 +15066,7 @@ enum DescribeReplicationTaskAssessmentRunsOutputError { enum DescribeReplicationTaskIndividualAssessmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15080,7 +15080,7 @@ enum DescribeReplicationTaskIndividualAssessmentsOutputError { enum DescribeReplicationTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15094,7 +15094,7 @@ enum DescribeReplicationTasksOutputError { enum DescribeSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15109,7 +15109,7 @@ enum DescribeSchemasOutputError { enum DescribeTableStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15124,7 +15124,7 @@ enum DescribeTableStatisticsOutputError { enum ExportMetadataModelAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15138,7 +15138,7 @@ enum ExportMetadataModelAssessmentOutputError { enum ImportCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15154,7 +15154,7 @@ enum ImportCertificateOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15168,7 +15168,7 @@ enum ListTagsForResourceOutputError { enum ModifyConversionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15183,7 +15183,7 @@ enum ModifyConversionConfigurationOutputError { enum ModifyDataProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15199,7 +15199,7 @@ enum ModifyDataProviderOutputError { enum ModifyEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15217,7 +15217,7 @@ enum ModifyEndpointOutputError { enum ModifyEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15239,7 +15239,7 @@ enum ModifyEventSubscriptionOutputError { enum ModifyInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15258,7 +15258,7 @@ enum ModifyInstanceProfileOutputError { enum ModifyMigrationProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15276,7 +15276,7 @@ enum ModifyMigrationProjectOutputError { enum ModifyReplicationConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15295,7 +15295,7 @@ enum ModifyReplicationConfigOutputError { enum ModifyReplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15315,7 +15315,7 @@ enum ModifyReplicationInstanceOutputError { enum ModifyReplicationSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15334,7 +15334,7 @@ enum ModifyReplicationSubnetGroupOutputError { enum ModifyReplicationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15351,7 +15351,7 @@ enum ModifyReplicationTaskOutputError { enum MoveReplicationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15369,7 +15369,7 @@ enum MoveReplicationTaskOutputError { enum RebootReplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15384,7 +15384,7 @@ enum RebootReplicationInstanceOutputError { enum RefreshSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15401,7 +15401,7 @@ enum RefreshSchemasOutputError { enum ReloadReplicationTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15416,7 +15416,7 @@ enum ReloadReplicationTablesOutputError { enum ReloadTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15431,7 +15431,7 @@ enum ReloadTablesOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15445,7 +15445,7 @@ enum RemoveTagsFromResourceOutputError { enum RunFleetAdvisorLsaAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15460,7 +15460,7 @@ enum RunFleetAdvisorLsaAnalysisOutputError { enum StartExtensionPackAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15481,7 +15481,7 @@ enum StartExtensionPackAssociationOutputError { enum StartMetadataModelAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15502,7 +15502,7 @@ enum StartMetadataModelAssessmentOutputError { enum StartMetadataModelConversionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15523,7 +15523,7 @@ enum StartMetadataModelConversionOutputError { enum StartMetadataModelExportAsScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15544,7 +15544,7 @@ enum StartMetadataModelExportAsScriptOutputError { enum StartMetadataModelExportToTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15565,7 +15565,7 @@ enum StartMetadataModelExportToTargetOutputError { enum StartMetadataModelImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15586,7 +15586,7 @@ enum StartMetadataModelImportOutputError { enum StartRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15602,7 +15602,7 @@ enum StartRecommendationsOutputError { enum StartReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15618,7 +15618,7 @@ enum StartReplicationOutputError { enum StartReplicationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15634,7 +15634,7 @@ enum StartReplicationTaskOutputError { enum StartReplicationTaskAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15649,7 +15649,7 @@ enum StartReplicationTaskAssessmentOutputError { enum StartReplicationTaskAssessmentRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15674,7 +15674,7 @@ enum StartReplicationTaskAssessmentRunOutputError { enum StopReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15690,7 +15690,7 @@ enum StopReplicationOutputError { enum StopReplicationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15705,7 +15705,7 @@ enum StopReplicationTaskOutputError { enum TestConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15723,7 +15723,7 @@ enum TestConnectionOutputError { enum UpdateSubscriptionsToEventBridgeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDeadline/Sources/AWSDeadline/Models.swift b/Sources/Services/AWSDeadline/Sources/AWSDeadline/Models.swift index 22f8c66b140..248415cf026 100644 --- a/Sources/Services/AWSDeadline/Sources/AWSDeadline/Models.swift +++ b/Sources/Services/AWSDeadline/Sources/AWSDeadline/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -113,7 +113,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -374,7 +374,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -450,7 +450,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -495,7 +495,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -592,7 +592,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -983,7 +983,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1288,6 +1288,11 @@ extension DeadlineClientTypes { } +extension DeadlineClientTypes.Attachments: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Attachments(fileSystem: \(Swift.String(describing: fileSystem)), manifests: \"CONTENT_REDACTED\")"} +} + extension DeadlineClientTypes { public enum AutoScalingMode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1748,7 +1753,7 @@ extension DeadlineClientTypes { extension DeadlineClientTypes.JobDetailsEntity: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "JobDetailsEntity(jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobId: \(Swift.String(describing: jobId)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), logGroupName: \(Swift.String(describing: logGroupName)), pathMappingRules: \(Swift.String(describing: pathMappingRules)), queueRoleArn: \(Swift.String(describing: queueRoleArn)), schemaVersion: \(Swift.String(describing: schemaVersion)), parameters: \"CONTENT_REDACTED\")"} + "JobDetailsEntity(jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobId: \(Swift.String(describing: jobId)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), logGroupName: \(Swift.String(describing: logGroupName)), queueRoleArn: \(Swift.String(describing: queueRoleArn)), schemaVersion: \(Swift.String(describing: schemaVersion)), parameters: \"CONTENT_REDACTED\", pathMappingRules: \"CONTENT_REDACTED\")"} } extension DeadlineClientTypes { @@ -3559,7 +3564,7 @@ public struct CreateQueueInput { extension CreateQueueInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateQueueInput(allowedStorageProfileIds: \(Swift.String(describing: allowedStorageProfileIds)), clientToken: \(Swift.String(describing: clientToken)), defaultBudgetAction: \(Swift.String(describing: defaultBudgetAction)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), requiredFileSystemLocationNames: \(Swift.String(describing: requiredFileSystemLocationNames)), roleArn: \(Swift.String(describing: roleArn)), tags: \(Swift.String(describing: tags)), description: \"CONTENT_REDACTED\")"} + "CreateQueueInput(allowedStorageProfileIds: \(Swift.String(describing: allowedStorageProfileIds)), clientToken: \(Swift.String(describing: clientToken)), defaultBudgetAction: \(Swift.String(describing: defaultBudgetAction)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), roleArn: \(Swift.String(describing: roleArn)), tags: \(Swift.String(describing: tags)), description: \"CONTENT_REDACTED\", requiredFileSystemLocationNames: \"CONTENT_REDACTED\")"} } public struct CreateQueueOutput { @@ -3812,6 +3817,11 @@ public struct CreateStorageProfileInput { } } +extension CreateStorageProfileInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateStorageProfileInput(clientToken: \(Swift.String(describing: clientToken)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), osFamily: \(Swift.String(describing: osFamily)), fileSystemLocations: \"CONTENT_REDACTED\")"} +} + public struct CreateStorageProfileOutput { /// The storage profile ID. /// This member is required. @@ -5349,6 +5359,11 @@ public struct GetStorageProfileOutput { } } +extension GetStorageProfileOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetStorageProfileOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), displayName: \(Swift.String(describing: displayName)), osFamily: \(Swift.String(describing: osFamily)), storageProfileId: \(Swift.String(describing: storageProfileId)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), fileSystemLocations: \"CONTENT_REDACTED\")"} +} + public struct ListFarmMembersInput { /// The farm ID. /// This member is required. @@ -5815,7 +5830,7 @@ public struct GetQueueOutput { extension GetQueueOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetQueueOutput(allowedStorageProfileIds: \(Swift.String(describing: allowedStorageProfileIds)), blockedReason: \(Swift.String(describing: blockedReason)), createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), defaultBudgetAction: \(Swift.String(describing: defaultBudgetAction)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), queueId: \(Swift.String(describing: queueId)), requiredFileSystemLocationNames: \(Swift.String(describing: requiredFileSystemLocationNames)), roleArn: \(Swift.String(describing: roleArn)), status: \(Swift.String(describing: status)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), description: \"CONTENT_REDACTED\")"} + "GetQueueOutput(allowedStorageProfileIds: \(Swift.String(describing: allowedStorageProfileIds)), blockedReason: \(Swift.String(describing: blockedReason)), createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), defaultBudgetAction: \(Swift.String(describing: defaultBudgetAction)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), queueId: \(Swift.String(describing: queueId)), roleArn: \(Swift.String(describing: roleArn)), status: \(Swift.String(describing: status)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), description: \"CONTENT_REDACTED\", requiredFileSystemLocationNames: \"CONTENT_REDACTED\")"} } public struct GetQueueEnvironmentInput { @@ -5947,6 +5962,11 @@ public struct GetStorageProfileForQueueOutput { } } +extension GetStorageProfileForQueueOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetStorageProfileForQueueOutput(displayName: \(Swift.String(describing: displayName)), osFamily: \(Swift.String(describing: osFamily)), storageProfileId: \(Swift.String(describing: storageProfileId)), fileSystemLocations: \"CONTENT_REDACTED\")"} +} + public struct DisassociateMemberFromJobInput { /// The farm ID for the job to disassociate from the member. /// This member is required. @@ -8658,7 +8678,7 @@ public struct UpdateQueueInput { extension UpdateQueueInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateQueueInput(allowedStorageProfileIdsToAdd: \(Swift.String(describing: allowedStorageProfileIdsToAdd)), allowedStorageProfileIdsToRemove: \(Swift.String(describing: allowedStorageProfileIdsToRemove)), clientToken: \(Swift.String(describing: clientToken)), defaultBudgetAction: \(Swift.String(describing: defaultBudgetAction)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), queueId: \(Swift.String(describing: queueId)), requiredFileSystemLocationNamesToAdd: \(Swift.String(describing: requiredFileSystemLocationNamesToAdd)), requiredFileSystemLocationNamesToRemove: \(Swift.String(describing: requiredFileSystemLocationNamesToRemove)), roleArn: \(Swift.String(describing: roleArn)), description: \"CONTENT_REDACTED\")"} + "UpdateQueueInput(allowedStorageProfileIdsToAdd: \(Swift.String(describing: allowedStorageProfileIdsToAdd)), allowedStorageProfileIdsToRemove: \(Swift.String(describing: allowedStorageProfileIdsToRemove)), clientToken: \(Swift.String(describing: clientToken)), defaultBudgetAction: \(Swift.String(describing: defaultBudgetAction)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), jobAttachmentSettings: \(Swift.String(describing: jobAttachmentSettings)), jobRunAsUser: \(Swift.String(describing: jobRunAsUser)), queueId: \(Swift.String(describing: queueId)), roleArn: \(Swift.String(describing: roleArn)), description: \"CONTENT_REDACTED\", requiredFileSystemLocationNamesToAdd: \"CONTENT_REDACTED\", requiredFileSystemLocationNamesToRemove: \"CONTENT_REDACTED\")"} } public struct UpdateQueueOutput { @@ -8784,6 +8804,11 @@ public struct UpdateStorageProfileInput { } } +extension UpdateStorageProfileInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateStorageProfileInput(clientToken: \(Swift.String(describing: clientToken)), displayName: \(Swift.String(describing: displayName)), farmId: \(Swift.String(describing: farmId)), osFamily: \(Swift.String(describing: osFamily)), storageProfileId: \(Swift.String(describing: storageProfileId)), fileSystemLocationsToAdd: \"CONTENT_REDACTED\", fileSystemLocationsToRemove: \"CONTENT_REDACTED\")"} +} + public struct UpdateStorageProfileOutput { public init() { } @@ -13296,35 +13321,35 @@ extension UpdateWorkerScheduleInput { extension AssociateMemberToFarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMemberToFarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMemberToFarmOutput { return AssociateMemberToFarmOutput() } } extension AssociateMemberToFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMemberToFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMemberToFleetOutput { return AssociateMemberToFleetOutput() } } extension AssociateMemberToJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMemberToJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMemberToJobOutput { return AssociateMemberToJobOutput() } } extension AssociateMemberToQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMemberToQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMemberToQueueOutput { return AssociateMemberToQueueOutput() } } extension AssumeFleetRoleForReadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeFleetRoleForReadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeFleetRoleForReadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13336,7 +13361,7 @@ extension AssumeFleetRoleForReadOutput { extension AssumeFleetRoleForWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeFleetRoleForWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeFleetRoleForWorkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13348,7 +13373,7 @@ extension AssumeFleetRoleForWorkerOutput { extension AssumeQueueRoleForReadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeQueueRoleForReadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeQueueRoleForReadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13360,7 +13385,7 @@ extension AssumeQueueRoleForReadOutput { extension AssumeQueueRoleForUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeQueueRoleForUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeQueueRoleForUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13372,7 +13397,7 @@ extension AssumeQueueRoleForUserOutput { extension AssumeQueueRoleForWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeQueueRoleForWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeQueueRoleForWorkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13384,7 +13409,7 @@ extension AssumeQueueRoleForWorkerOutput { extension BatchGetJobEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetJobEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetJobEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13397,7 +13422,7 @@ extension BatchGetJobEntityOutput { extension CopyJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13409,7 +13434,7 @@ extension CopyJobTemplateOutput { extension CreateBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBudgetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13421,7 +13446,7 @@ extension CreateBudgetOutput { extension CreateFarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13433,7 +13458,7 @@ extension CreateFarmOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13445,7 +13470,7 @@ extension CreateFleetOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13457,7 +13482,7 @@ extension CreateJobOutput { extension CreateLicenseEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLicenseEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLicenseEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13469,7 +13494,7 @@ extension CreateLicenseEndpointOutput { extension CreateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13482,7 +13507,7 @@ extension CreateMonitorOutput { extension CreateQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13494,7 +13519,7 @@ extension CreateQueueOutput { extension CreateQueueEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueueEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueueEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13506,14 +13531,14 @@ extension CreateQueueEnvironmentOutput { extension CreateQueueFleetAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueueFleetAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueueFleetAssociationOutput { return CreateQueueFleetAssociationOutput() } } extension CreateStorageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStorageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStorageProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13525,7 +13550,7 @@ extension CreateStorageProfileOutput { extension CreateWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13537,112 +13562,112 @@ extension CreateWorkerOutput { extension DeleteBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBudgetOutput { return DeleteBudgetOutput() } } extension DeleteFarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFarmOutput { return DeleteFarmOutput() } } extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { return DeleteFleetOutput() } } extension DeleteLicenseEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLicenseEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLicenseEndpointOutput { return DeleteLicenseEndpointOutput() } } extension DeleteMeteredProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMeteredProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMeteredProductOutput { return DeleteMeteredProductOutput() } } extension DeleteMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMonitorOutput { return DeleteMonitorOutput() } } extension DeleteQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueueOutput { return DeleteQueueOutput() } } extension DeleteQueueEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueueEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueueEnvironmentOutput { return DeleteQueueEnvironmentOutput() } } extension DeleteQueueFleetAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueueFleetAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueueFleetAssociationOutput { return DeleteQueueFleetAssociationOutput() } } extension DeleteStorageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStorageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStorageProfileOutput { return DeleteStorageProfileOutput() } } extension DeleteWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkerOutput { return DeleteWorkerOutput() } } extension DisassociateMemberFromFarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberFromFarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberFromFarmOutput { return DisassociateMemberFromFarmOutput() } } extension DisassociateMemberFromFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberFromFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberFromFleetOutput { return DisassociateMemberFromFleetOutput() } } extension DisassociateMemberFromJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberFromJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberFromJobOutput { return DisassociateMemberFromJobOutput() } } extension DisassociateMemberFromQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberFromQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberFromQueueOutput { return DisassociateMemberFromQueueOutput() } } extension GetBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBudgetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13667,7 +13692,7 @@ extension GetBudgetOutput { extension GetFarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13686,7 +13711,7 @@ extension GetFarmOutput { extension GetFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13714,7 +13739,7 @@ extension GetFleetOutput { extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13745,7 +13770,7 @@ extension GetJobOutput { extension GetLicenseEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13763,7 +13788,7 @@ extension GetLicenseEndpointOutput { extension GetMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13785,7 +13810,7 @@ extension GetMonitorOutput { extension GetQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13812,7 +13837,7 @@ extension GetQueueOutput { extension GetQueueEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueueEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueueEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13832,7 +13857,7 @@ extension GetQueueEnvironmentOutput { extension GetQueueFleetAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueueFleetAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueueFleetAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13850,7 +13875,7 @@ extension GetQueueFleetAssociationOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13873,7 +13898,7 @@ extension GetSessionOutput { extension GetSessionActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13894,7 +13919,7 @@ extension GetSessionActionOutput { extension GetSessionsStatisticsAggregationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionsStatisticsAggregationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionsStatisticsAggregationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13909,7 +13934,7 @@ extension GetSessionsStatisticsAggregationOutput { extension GetStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13937,7 +13962,7 @@ extension GetStepOutput { extension GetStorageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStorageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStorageProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13956,7 +13981,7 @@ extension GetStorageProfileOutput { extension GetStorageProfileForQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStorageProfileForQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStorageProfileForQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13971,7 +13996,7 @@ extension GetStorageProfileForQueueOutput { extension GetTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13994,7 +14019,7 @@ extension GetTaskOutput { extension GetWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14015,7 +14040,7 @@ extension GetWorkerOutput { extension ListAvailableMeteredProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableMeteredProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableMeteredProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14028,7 +14053,7 @@ extension ListAvailableMeteredProductsOutput { extension ListBudgetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBudgetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBudgetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14041,7 +14066,7 @@ extension ListBudgetsOutput { extension ListFarmMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFarmMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFarmMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14054,7 +14079,7 @@ extension ListFarmMembersOutput { extension ListFarmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFarmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFarmsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14067,7 +14092,7 @@ extension ListFarmsOutput { extension ListFleetMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14080,7 +14105,7 @@ extension ListFleetMembersOutput { extension ListFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14093,7 +14118,7 @@ extension ListFleetsOutput { extension ListJobMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14106,7 +14131,7 @@ extension ListJobMembersOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14119,7 +14144,7 @@ extension ListJobsOutput { extension ListLicenseEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicenseEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicenseEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14132,7 +14157,7 @@ extension ListLicenseEndpointsOutput { extension ListMeteredProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMeteredProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMeteredProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14145,7 +14170,7 @@ extension ListMeteredProductsOutput { extension ListMonitorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14158,7 +14183,7 @@ extension ListMonitorsOutput { extension ListQueueEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueueEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueueEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14171,7 +14196,7 @@ extension ListQueueEnvironmentsOutput { extension ListQueueFleetAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueueFleetAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueueFleetAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14184,7 +14209,7 @@ extension ListQueueFleetAssociationsOutput { extension ListQueueMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueueMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueueMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14197,7 +14222,7 @@ extension ListQueueMembersOutput { extension ListQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14210,7 +14235,7 @@ extension ListQueuesOutput { extension ListSessionActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14223,7 +14248,7 @@ extension ListSessionActionsOutput { extension ListSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14236,7 +14261,7 @@ extension ListSessionsOutput { extension ListSessionsForWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionsForWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionsForWorkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14249,7 +14274,7 @@ extension ListSessionsForWorkerOutput { extension ListStepConsumersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStepConsumersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStepConsumersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14262,7 +14287,7 @@ extension ListStepConsumersOutput { extension ListStepDependenciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStepDependenciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStepDependenciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14275,7 +14300,7 @@ extension ListStepDependenciesOutput { extension ListStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14288,7 +14313,7 @@ extension ListStepsOutput { extension ListStorageProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStorageProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStorageProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14301,7 +14326,7 @@ extension ListStorageProfilesOutput { extension ListStorageProfilesForQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStorageProfilesForQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStorageProfilesForQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14314,7 +14339,7 @@ extension ListStorageProfilesForQueueOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14326,7 +14351,7 @@ extension ListTagsForResourceOutput { extension ListTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14339,7 +14364,7 @@ extension ListTasksOutput { extension ListWorkersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14352,14 +14377,14 @@ extension ListWorkersOutput { extension PutMeteredProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMeteredProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMeteredProductOutput { return PutMeteredProductOutput() } } extension SearchJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14373,7 +14398,7 @@ extension SearchJobsOutput { extension SearchStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14387,7 +14412,7 @@ extension SearchStepsOutput { extension SearchTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14401,7 +14426,7 @@ extension SearchTasksOutput { extension SearchWorkersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchWorkersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchWorkersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14415,7 +14440,7 @@ extension SearchWorkersOutput { extension StartSessionsStatisticsAggregationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSessionsStatisticsAggregationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSessionsStatisticsAggregationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14427,105 +14452,105 @@ extension StartSessionsStatisticsAggregationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBudgetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBudgetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBudgetOutput { return UpdateBudgetOutput() } } extension UpdateFarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFarmOutput { return UpdateFarmOutput() } } extension UpdateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetOutput { return UpdateFleetOutput() } } extension UpdateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobOutput { return UpdateJobOutput() } } extension UpdateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMonitorOutput { return UpdateMonitorOutput() } } extension UpdateQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueOutput { return UpdateQueueOutput() } } extension UpdateQueueEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueEnvironmentOutput { return UpdateQueueEnvironmentOutput() } } extension UpdateQueueFleetAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueFleetAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueFleetAssociationOutput { return UpdateQueueFleetAssociationOutput() } } extension UpdateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSessionOutput { return UpdateSessionOutput() } } extension UpdateStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStepOutput { return UpdateStepOutput() } } extension UpdateStorageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStorageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStorageProfileOutput { return UpdateStorageProfileOutput() } } extension UpdateTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTaskOutput { return UpdateTaskOutput() } } extension UpdateWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14537,7 +14562,7 @@ extension UpdateWorkerOutput { extension UpdateWorkerScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkerScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkerScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -14552,7 +14577,7 @@ extension UpdateWorkerScheduleOutput { enum AssociateMemberToFarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14571,7 +14596,7 @@ enum AssociateMemberToFarmOutputError { enum AssociateMemberToFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14590,7 +14615,7 @@ enum AssociateMemberToFleetOutputError { enum AssociateMemberToJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14609,7 +14634,7 @@ enum AssociateMemberToJobOutputError { enum AssociateMemberToQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14628,7 +14653,7 @@ enum AssociateMemberToQueueOutputError { enum AssumeFleetRoleForReadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14646,7 +14671,7 @@ enum AssumeFleetRoleForReadOutputError { enum AssumeFleetRoleForWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14665,7 +14690,7 @@ enum AssumeFleetRoleForWorkerOutputError { enum AssumeQueueRoleForReadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14683,7 +14708,7 @@ enum AssumeQueueRoleForReadOutputError { enum AssumeQueueRoleForUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14701,7 +14726,7 @@ enum AssumeQueueRoleForUserOutputError { enum AssumeQueueRoleForWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14720,7 +14745,7 @@ enum AssumeQueueRoleForWorkerOutputError { enum BatchGetJobEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14738,7 +14763,7 @@ enum BatchGetJobEntityOutputError { enum CopyJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14756,7 +14781,7 @@ enum CopyJobTemplateOutputError { enum CreateBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14775,7 +14800,7 @@ enum CreateBudgetOutputError { enum CreateFarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14794,7 +14819,7 @@ enum CreateFarmOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14813,7 +14838,7 @@ enum CreateFleetOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14832,7 +14857,7 @@ enum CreateJobOutputError { enum CreateLicenseEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14851,7 +14876,7 @@ enum CreateLicenseEndpointOutputError { enum CreateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14869,7 +14894,7 @@ enum CreateMonitorOutputError { enum CreateQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14888,7 +14913,7 @@ enum CreateQueueOutputError { enum CreateQueueEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14907,7 +14932,7 @@ enum CreateQueueEnvironmentOutputError { enum CreateQueueFleetAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14925,7 +14950,7 @@ enum CreateQueueFleetAssociationOutputError { enum CreateStorageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14944,7 +14969,7 @@ enum CreateStorageProfileOutputError { enum CreateWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14963,7 +14988,7 @@ enum CreateWorkerOutputError { enum DeleteBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14981,7 +15006,7 @@ enum DeleteBudgetOutputError { enum DeleteFarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14999,7 +15024,7 @@ enum DeleteFarmOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15018,7 +15043,7 @@ enum DeleteFleetOutputError { enum DeleteLicenseEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15037,7 +15062,7 @@ enum DeleteLicenseEndpointOutputError { enum DeleteMeteredProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15055,7 +15080,7 @@ enum DeleteMeteredProductOutputError { enum DeleteMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15073,7 +15098,7 @@ enum DeleteMonitorOutputError { enum DeleteQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15092,7 +15117,7 @@ enum DeleteQueueOutputError { enum DeleteQueueEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15109,7 +15134,7 @@ enum DeleteQueueEnvironmentOutputError { enum DeleteQueueFleetAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15128,7 +15153,7 @@ enum DeleteQueueFleetAssociationOutputError { enum DeleteStorageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15145,7 +15170,7 @@ enum DeleteStorageProfileOutputError { enum DeleteWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15164,7 +15189,7 @@ enum DeleteWorkerOutputError { enum DisassociateMemberFromFarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15182,7 +15207,7 @@ enum DisassociateMemberFromFarmOutputError { enum DisassociateMemberFromFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15201,7 +15226,7 @@ enum DisassociateMemberFromFleetOutputError { enum DisassociateMemberFromJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15219,7 +15244,7 @@ enum DisassociateMemberFromJobOutputError { enum DisassociateMemberFromQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15238,7 +15263,7 @@ enum DisassociateMemberFromQueueOutputError { enum GetBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15256,7 +15281,7 @@ enum GetBudgetOutputError { enum GetFarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15274,7 +15299,7 @@ enum GetFarmOutputError { enum GetFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15292,7 +15317,7 @@ enum GetFleetOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15310,7 +15335,7 @@ enum GetJobOutputError { enum GetLicenseEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15328,7 +15353,7 @@ enum GetLicenseEndpointOutputError { enum GetMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15346,7 +15371,7 @@ enum GetMonitorOutputError { enum GetQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15364,7 +15389,7 @@ enum GetQueueOutputError { enum GetQueueEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15382,7 +15407,7 @@ enum GetQueueEnvironmentOutputError { enum GetQueueFleetAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15400,7 +15425,7 @@ enum GetQueueFleetAssociationOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15418,7 +15443,7 @@ enum GetSessionOutputError { enum GetSessionActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15436,7 +15461,7 @@ enum GetSessionActionOutputError { enum GetSessionsStatisticsAggregationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15454,7 +15479,7 @@ enum GetSessionsStatisticsAggregationOutputError { enum GetStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15472,7 +15497,7 @@ enum GetStepOutputError { enum GetStorageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15490,7 +15515,7 @@ enum GetStorageProfileOutputError { enum GetStorageProfileForQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15508,7 +15533,7 @@ enum GetStorageProfileForQueueOutputError { enum GetTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15526,7 +15551,7 @@ enum GetTaskOutputError { enum GetWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15544,7 +15569,7 @@ enum GetWorkerOutputError { enum ListAvailableMeteredProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15559,7 +15584,7 @@ enum ListAvailableMeteredProductsOutputError { enum ListBudgetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15577,7 +15602,7 @@ enum ListBudgetsOutputError { enum ListFarmMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15595,7 +15620,7 @@ enum ListFarmMembersOutputError { enum ListFarmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15612,7 +15637,7 @@ enum ListFarmsOutputError { enum ListFleetMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15630,7 +15655,7 @@ enum ListFleetMembersOutputError { enum ListFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15648,7 +15673,7 @@ enum ListFleetsOutputError { enum ListJobMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15666,7 +15691,7 @@ enum ListJobMembersOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15684,7 +15709,7 @@ enum ListJobsOutputError { enum ListLicenseEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15702,7 +15727,7 @@ enum ListLicenseEndpointsOutputError { enum ListMeteredProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15720,7 +15745,7 @@ enum ListMeteredProductsOutputError { enum ListMonitorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15737,7 +15762,7 @@ enum ListMonitorsOutputError { enum ListQueueEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15755,7 +15780,7 @@ enum ListQueueEnvironmentsOutputError { enum ListQueueFleetAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15772,7 +15797,7 @@ enum ListQueueFleetAssociationsOutputError { enum ListQueueMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15790,7 +15815,7 @@ enum ListQueueMembersOutputError { enum ListQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15808,7 +15833,7 @@ enum ListQueuesOutputError { enum ListSessionActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15826,7 +15851,7 @@ enum ListSessionActionsOutputError { enum ListSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15844,7 +15869,7 @@ enum ListSessionsOutputError { enum ListSessionsForWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15862,7 +15887,7 @@ enum ListSessionsForWorkerOutputError { enum ListStepConsumersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15880,7 +15905,7 @@ enum ListStepConsumersOutputError { enum ListStepDependenciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15898,7 +15923,7 @@ enum ListStepDependenciesOutputError { enum ListStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15916,7 +15941,7 @@ enum ListStepsOutputError { enum ListStorageProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15934,7 +15959,7 @@ enum ListStorageProfilesOutputError { enum ListStorageProfilesForQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15952,7 +15977,7 @@ enum ListStorageProfilesForQueueOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15970,7 +15995,7 @@ enum ListTagsForResourceOutputError { enum ListTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15988,7 +16013,7 @@ enum ListTasksOutputError { enum ListWorkersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16006,7 +16031,7 @@ enum ListWorkersOutputError { enum PutMeteredProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16024,7 +16049,7 @@ enum PutMeteredProductOutputError { enum SearchJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16042,7 +16067,7 @@ enum SearchJobsOutputError { enum SearchStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16060,7 +16085,7 @@ enum SearchStepsOutputError { enum SearchTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16078,7 +16103,7 @@ enum SearchTasksOutputError { enum SearchWorkersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16096,7 +16121,7 @@ enum SearchWorkersOutputError { enum StartSessionsStatisticsAggregationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16114,7 +16139,7 @@ enum StartSessionsStatisticsAggregationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16133,7 +16158,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16152,7 +16177,7 @@ enum UntagResourceOutputError { enum UpdateBudgetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16170,7 +16195,7 @@ enum UpdateBudgetOutputError { enum UpdateFarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16188,7 +16213,7 @@ enum UpdateFarmOutputError { enum UpdateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16207,7 +16232,7 @@ enum UpdateFleetOutputError { enum UpdateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16226,7 +16251,7 @@ enum UpdateJobOutputError { enum UpdateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16244,7 +16269,7 @@ enum UpdateMonitorOutputError { enum UpdateQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16262,7 +16287,7 @@ enum UpdateQueueOutputError { enum UpdateQueueEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16280,7 +16305,7 @@ enum UpdateQueueEnvironmentOutputError { enum UpdateQueueFleetAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16298,7 +16323,7 @@ enum UpdateQueueFleetAssociationOutputError { enum UpdateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16317,7 +16342,7 @@ enum UpdateSessionOutputError { enum UpdateStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16336,7 +16361,7 @@ enum UpdateStepOutputError { enum UpdateStorageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16354,7 +16379,7 @@ enum UpdateStorageProfileOutputError { enum UpdateTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16373,7 +16398,7 @@ enum UpdateTaskOutputError { enum UpdateWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16392,7 +16417,7 @@ enum UpdateWorkerOutputError { enum UpdateWorkerScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDetective/Sources/AWSDetective/Models.swift b/Sources/Services/AWSDetective/Sources/AWSDetective/Models.swift index 39518fc5a4c..a9a7eb931ee 100644 --- a/Sources/Services/AWSDetective/Sources/AWSDetective/Models.swift +++ b/Sources/Services/AWSDetective/Sources/AWSDetective/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -133,7 +133,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -165,7 +165,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -189,7 +189,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -213,7 +213,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -241,7 +241,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -546,7 +546,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -909,7 +909,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2702,14 +2702,14 @@ extension UpdateOrganizationConfigurationInput { extension AcceptInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInvitationOutput { return AcceptInvitationOutput() } } extension BatchGetGraphMemberDatasourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetGraphMemberDatasourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetGraphMemberDatasourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2722,7 +2722,7 @@ extension BatchGetGraphMemberDatasourcesOutput { extension BatchGetMembershipDatasourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetMembershipDatasourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetMembershipDatasourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2735,7 +2735,7 @@ extension BatchGetMembershipDatasourcesOutput { extension CreateGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2747,7 +2747,7 @@ extension CreateGraphOutput { extension CreateMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2760,14 +2760,14 @@ extension CreateMembersOutput { extension DeleteGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGraphOutput { return DeleteGraphOutput() } } extension DeleteMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2780,7 +2780,7 @@ extension DeleteMembersOutput { extension DescribeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2792,28 +2792,28 @@ extension DescribeOrganizationConfigurationOutput { extension DisableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableOrganizationAdminAccountOutput { return DisableOrganizationAdminAccountOutput() } } extension DisassociateMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMembershipOutput { return DisassociateMembershipOutput() } } extension EnableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableOrganizationAdminAccountOutput { return EnableOrganizationAdminAccountOutput() } } extension GetInvestigationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInvestigationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInvestigationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2834,7 +2834,7 @@ extension GetInvestigationOutput { extension GetMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2847,7 +2847,7 @@ extension GetMembersOutput { extension ListDatasourcePackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasourcePackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasourcePackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2860,7 +2860,7 @@ extension ListDatasourcePackagesOutput { extension ListGraphsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGraphsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGraphsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2873,7 +2873,7 @@ extension ListGraphsOutput { extension ListIndicatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndicatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndicatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2888,7 +2888,7 @@ extension ListIndicatorsOutput { extension ListInvestigationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvestigationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvestigationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2901,7 +2901,7 @@ extension ListInvestigationsOutput { extension ListInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2914,7 +2914,7 @@ extension ListInvitationsOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2927,7 +2927,7 @@ extension ListMembersOutput { extension ListOrganizationAdminAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationAdminAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationAdminAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2940,7 +2940,7 @@ extension ListOrganizationAdminAccountsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2952,14 +2952,14 @@ extension ListTagsForResourceOutput { extension RejectInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectInvitationOutput { return RejectInvitationOutput() } } extension StartInvestigationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInvestigationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInvestigationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2971,49 +2971,49 @@ extension StartInvestigationOutput { extension StartMonitoringMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMonitoringMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMonitoringMemberOutput { return StartMonitoringMemberOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDatasourcePackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasourcePackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasourcePackagesOutput { return UpdateDatasourcePackagesOutput() } } extension UpdateInvestigationStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInvestigationStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInvestigationStateOutput { return UpdateInvestigationStateOutput() } } extension UpdateOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationConfigurationOutput { return UpdateOrganizationConfigurationOutput() } } enum AcceptInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3031,7 +3031,7 @@ enum AcceptInvitationOutputError { enum BatchGetGraphMemberDatasourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3048,7 +3048,7 @@ enum BatchGetGraphMemberDatasourcesOutputError { enum BatchGetMembershipDatasourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3065,7 +3065,7 @@ enum BatchGetMembershipDatasourcesOutputError { enum CreateGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3082,7 +3082,7 @@ enum CreateGraphOutputError { enum CreateMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3100,7 +3100,7 @@ enum CreateMembersOutputError { enum DeleteGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3117,7 +3117,7 @@ enum DeleteGraphOutputError { enum DeleteMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3135,7 +3135,7 @@ enum DeleteMembersOutputError { enum DescribeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3152,7 +3152,7 @@ enum DescribeOrganizationConfigurationOutputError { enum DisableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3169,7 +3169,7 @@ enum DisableOrganizationAdminAccountOutputError { enum DisassociateMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3187,7 +3187,7 @@ enum DisassociateMembershipOutputError { enum EnableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3204,7 +3204,7 @@ enum EnableOrganizationAdminAccountOutputError { enum GetInvestigationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3222,7 +3222,7 @@ enum GetInvestigationOutputError { enum GetMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3239,7 +3239,7 @@ enum GetMembersOutputError { enum ListDatasourcePackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3256,7 +3256,7 @@ enum ListDatasourcePackagesOutputError { enum ListGraphsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3272,7 +3272,7 @@ enum ListGraphsOutputError { enum ListIndicatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3290,7 +3290,7 @@ enum ListIndicatorsOutputError { enum ListInvestigationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3308,7 +3308,7 @@ enum ListInvestigationsOutputError { enum ListInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3324,7 +3324,7 @@ enum ListInvitationsOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3341,7 +3341,7 @@ enum ListMembersOutputError { enum ListOrganizationAdminAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3358,7 +3358,7 @@ enum ListOrganizationAdminAccountsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3375,7 +3375,7 @@ enum ListTagsForResourceOutputError { enum RejectInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3393,7 +3393,7 @@ enum RejectInvitationOutputError { enum StartInvestigationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3411,7 +3411,7 @@ enum StartInvestigationOutputError { enum StartMonitoringMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3430,7 +3430,7 @@ enum StartMonitoringMemberOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3447,7 +3447,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3464,7 +3464,7 @@ enum UntagResourceOutputError { enum UpdateDatasourcePackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3482,7 @@ enum UpdateDatasourcePackagesOutputError { enum UpdateInvestigationStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3500,7 +3500,7 @@ enum UpdateInvestigationStateOutputError { enum UpdateOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/Models.swift b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/Models.swift index 95f16b5933e..967660321d4 100644 --- a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/Models.swift +++ b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -108,7 +108,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -139,7 +139,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -172,7 +172,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -200,7 +200,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -231,7 +231,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -330,7 +330,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5331,7 +5331,7 @@ extension UpdateServiceIntegrationInput { extension AddNotificationChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddNotificationChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddNotificationChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5343,14 +5343,14 @@ extension AddNotificationChannelOutput { extension DeleteInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInsightOutput { return DeleteInsightOutput() } } extension DescribeAccountHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5366,7 +5366,7 @@ extension DescribeAccountHealthOutput { extension DescribeAccountOverviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountOverviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountOverviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5380,7 +5380,7 @@ extension DescribeAccountOverviewOutput { extension DescribeAnomalyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnomalyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnomalyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5393,7 +5393,7 @@ extension DescribeAnomalyOutput { extension DescribeEventSourcesConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSourcesConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSourcesConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5405,7 +5405,7 @@ extension DescribeEventSourcesConfigOutput { extension DescribeFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFeedbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5417,7 +5417,7 @@ extension DescribeFeedbackOutput { extension DescribeInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInsightOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5430,7 +5430,7 @@ extension DescribeInsightOutput { extension DescribeOrganizationHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5445,7 +5445,7 @@ extension DescribeOrganizationHealthOutput { extension DescribeOrganizationOverviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationOverviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationOverviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5458,7 +5458,7 @@ extension DescribeOrganizationOverviewOutput { extension DescribeOrganizationResourceCollectionHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationResourceCollectionHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationResourceCollectionHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5474,7 +5474,7 @@ extension DescribeOrganizationResourceCollectionHealthOutput { extension DescribeResourceCollectionHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourceCollectionHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourceCollectionHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5489,7 +5489,7 @@ extension DescribeResourceCollectionHealthOutput { extension DescribeServiceIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5501,7 +5501,7 @@ extension DescribeServiceIntegrationOutput { extension GetCostEstimationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCostEstimationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCostEstimationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5518,7 +5518,7 @@ extension GetCostEstimationOutput { extension GetResourceCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5531,7 +5531,7 @@ extension GetResourceCollectionOutput { extension ListAnomaliesForInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomaliesForInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomaliesForInsightOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5545,7 +5545,7 @@ extension ListAnomaliesForInsightOutput { extension ListAnomalousLogGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomalousLogGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomalousLogGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5559,7 +5559,7 @@ extension ListAnomalousLogGroupsOutput { extension ListEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5572,7 +5572,7 @@ extension ListEventsOutput { extension ListInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5586,7 +5586,7 @@ extension ListInsightsOutput { extension ListMonitoredResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitoredResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitoredResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5599,7 +5599,7 @@ extension ListMonitoredResourcesOutput { extension ListNotificationChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotificationChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotificationChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5612,7 +5612,7 @@ extension ListNotificationChannelsOutput { extension ListOrganizationInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5626,7 +5626,7 @@ extension ListOrganizationInsightsOutput { extension ListRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5639,21 +5639,21 @@ extension ListRecommendationsOutput { extension PutFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFeedbackOutput { return PutFeedbackOutput() } } extension RemoveNotificationChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveNotificationChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveNotificationChannelOutput { return RemoveNotificationChannelOutput() } } extension SearchInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5667,7 +5667,7 @@ extension SearchInsightsOutput { extension SearchOrganizationInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchOrganizationInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchOrganizationInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5681,35 +5681,35 @@ extension SearchOrganizationInsightsOutput { extension StartCostEstimationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCostEstimationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCostEstimationOutput { return StartCostEstimationOutput() } } extension UpdateEventSourcesConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventSourcesConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventSourcesConfigOutput { return UpdateEventSourcesConfigOutput() } } extension UpdateResourceCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceCollectionOutput { return UpdateResourceCollectionOutput() } } extension UpdateServiceIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceIntegrationOutput { return UpdateServiceIntegrationOutput() } } enum AddNotificationChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5729,7 +5729,7 @@ enum AddNotificationChannelOutputError { enum DeleteInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5748,7 +5748,7 @@ enum DeleteInsightOutputError { enum DescribeAccountHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5765,7 +5765,7 @@ enum DescribeAccountHealthOutputError { enum DescribeAccountOverviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5782,7 +5782,7 @@ enum DescribeAccountOverviewOutputError { enum DescribeAnomalyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5800,7 +5800,7 @@ enum DescribeAnomalyOutputError { enum DescribeEventSourcesConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5817,7 +5817,7 @@ enum DescribeEventSourcesConfigOutputError { enum DescribeFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5835,7 +5835,7 @@ enum DescribeFeedbackOutputError { enum DescribeInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5853,7 +5853,7 @@ enum DescribeInsightOutputError { enum DescribeOrganizationHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5870,7 +5870,7 @@ enum DescribeOrganizationHealthOutputError { enum DescribeOrganizationOverviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5887,7 +5887,7 @@ enum DescribeOrganizationOverviewOutputError { enum DescribeOrganizationResourceCollectionHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5904,7 +5904,7 @@ enum DescribeOrganizationResourceCollectionHealthOutputError { enum DescribeResourceCollectionHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5921,7 +5921,7 @@ enum DescribeResourceCollectionHealthOutputError { enum DescribeServiceIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5939,7 +5939,7 @@ enum DescribeServiceIntegrationOutputError { enum GetCostEstimationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5957,7 +5957,7 @@ enum GetCostEstimationOutputError { enum GetResourceCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5975,7 +5975,7 @@ enum GetResourceCollectionOutputError { enum ListAnomaliesForInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5993,7 +5993,7 @@ enum ListAnomaliesForInsightOutputError { enum ListAnomalousLogGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6011,7 +6011,7 @@ enum ListAnomalousLogGroupsOutputError { enum ListEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6029,7 +6029,7 @@ enum ListEventsOutputError { enum ListInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6046,7 +6046,7 @@ enum ListInsightsOutputError { enum ListMonitoredResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6063,7 +6063,7 @@ enum ListMonitoredResourcesOutputError { enum ListNotificationChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6080,7 +6080,7 @@ enum ListNotificationChannelsOutputError { enum ListOrganizationInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6097,7 +6097,7 @@ enum ListOrganizationInsightsOutputError { enum ListRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6115,7 +6115,7 @@ enum ListRecommendationsOutputError { enum PutFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6134,7 +6134,7 @@ enum PutFeedbackOutputError { enum RemoveNotificationChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6153,7 +6153,7 @@ enum RemoveNotificationChannelOutputError { enum SearchInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6170,7 +6170,7 @@ enum SearchInsightsOutputError { enum SearchOrganizationInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6187,7 +6187,7 @@ enum SearchOrganizationInsightsOutputError { enum StartCostEstimationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6206,7 +6206,7 @@ enum StartCostEstimationOutputError { enum UpdateEventSourcesConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6223,7 +6223,7 @@ enum UpdateEventSourcesConfigOutputError { enum UpdateResourceCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6241,7 +6241,7 @@ enum UpdateResourceCollectionOutputError { enum UpdateServiceIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/Models.swift b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/Models.swift index facd8100fb6..92126e86d0f 100644 --- a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/Models.swift +++ b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -128,7 +128,7 @@ public struct ArgumentException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -408,7 +408,7 @@ public struct CannotDeleteException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -497,7 +497,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -522,7 +522,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -547,7 +547,7 @@ public struct ServiceAccountException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1055,7 +1055,7 @@ public struct TagOperationException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1820,7 +1820,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2674,7 +2674,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3504,7 +3504,7 @@ public struct NotEligibleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6181,7 +6181,7 @@ public struct IdempotencyException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6454,7 +6454,7 @@ public struct TagPolicyException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6481,7 +6481,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8176,7 +8176,7 @@ extension UpdateVPCEConfigurationInput { extension CreateDevicePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDevicePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDevicePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8188,7 +8188,7 @@ extension CreateDevicePoolOutput { extension CreateInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8200,7 +8200,7 @@ extension CreateInstanceProfileOutput { extension CreateNetworkProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8212,7 +8212,7 @@ extension CreateNetworkProfileOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8224,7 +8224,7 @@ extension CreateProjectOutput { extension CreateRemoteAccessSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRemoteAccessSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRemoteAccessSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8236,7 +8236,7 @@ extension CreateRemoteAccessSessionOutput { extension CreateTestGridProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTestGridProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTestGridProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8248,7 +8248,7 @@ extension CreateTestGridProjectOutput { extension CreateTestGridUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTestGridUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTestGridUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8261,7 +8261,7 @@ extension CreateTestGridUrlOutput { extension CreateUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8273,7 +8273,7 @@ extension CreateUploadOutput { extension CreateVPCEConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVPCEConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVPCEConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8285,70 +8285,70 @@ extension CreateVPCEConfigurationOutput { extension DeleteDevicePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDevicePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDevicePoolOutput { return DeleteDevicePoolOutput() } } extension DeleteInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceProfileOutput { return DeleteInstanceProfileOutput() } } extension DeleteNetworkProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkProfileOutput { return DeleteNetworkProfileOutput() } } extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DeleteRemoteAccessSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRemoteAccessSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRemoteAccessSessionOutput { return DeleteRemoteAccessSessionOutput() } } extension DeleteRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRunOutput { return DeleteRunOutput() } } extension DeleteTestGridProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTestGridProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTestGridProjectOutput { return DeleteTestGridProjectOutput() } } extension DeleteUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUploadOutput { return DeleteUploadOutput() } } extension DeleteVPCEConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVPCEConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVPCEConfigurationOutput { return DeleteVPCEConfigurationOutput() } } extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8360,7 +8360,7 @@ extension GetAccountSettingsOutput { extension GetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8372,7 +8372,7 @@ extension GetDeviceOutput { extension GetDeviceInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8384,7 +8384,7 @@ extension GetDeviceInstanceOutput { extension GetDevicePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevicePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevicePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8396,7 +8396,7 @@ extension GetDevicePoolOutput { extension GetDevicePoolCompatibilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevicePoolCompatibilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevicePoolCompatibilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8409,7 +8409,7 @@ extension GetDevicePoolCompatibilityOutput { extension GetInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8421,7 +8421,7 @@ extension GetInstanceProfileOutput { extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8433,7 +8433,7 @@ extension GetJobOutput { extension GetNetworkProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8445,7 +8445,7 @@ extension GetNetworkProfileOutput { extension GetOfferingStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOfferingStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOfferingStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8459,7 +8459,7 @@ extension GetOfferingStatusOutput { extension GetProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8471,7 +8471,7 @@ extension GetProjectOutput { extension GetRemoteAccessSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRemoteAccessSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRemoteAccessSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8483,7 +8483,7 @@ extension GetRemoteAccessSessionOutput { extension GetRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8495,7 +8495,7 @@ extension GetRunOutput { extension GetSuiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSuiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSuiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8507,7 +8507,7 @@ extension GetSuiteOutput { extension GetTestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8519,7 +8519,7 @@ extension GetTestOutput { extension GetTestGridProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestGridProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestGridProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8531,7 +8531,7 @@ extension GetTestGridProjectOutput { extension GetTestGridSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestGridSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestGridSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8543,7 +8543,7 @@ extension GetTestGridSessionOutput { extension GetUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8555,7 +8555,7 @@ extension GetUploadOutput { extension GetVPCEConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVPCEConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVPCEConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8567,7 +8567,7 @@ extension GetVPCEConfigurationOutput { extension InstallToRemoteAccessSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InstallToRemoteAccessSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InstallToRemoteAccessSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8579,7 +8579,7 @@ extension InstallToRemoteAccessSessionOutput { extension ListArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8592,7 +8592,7 @@ extension ListArtifactsOutput { extension ListDeviceInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8605,7 +8605,7 @@ extension ListDeviceInstancesOutput { extension ListDevicePoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicePoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicePoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8618,7 +8618,7 @@ extension ListDevicePoolsOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8631,7 +8631,7 @@ extension ListDevicesOutput { extension ListInstanceProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8644,7 +8644,7 @@ extension ListInstanceProfilesOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8657,7 +8657,7 @@ extension ListJobsOutput { extension ListNetworkProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworkProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworkProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8670,7 +8670,7 @@ extension ListNetworkProfilesOutput { extension ListOfferingPromotionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOfferingPromotionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOfferingPromotionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8683,7 +8683,7 @@ extension ListOfferingPromotionsOutput { extension ListOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8696,7 +8696,7 @@ extension ListOfferingsOutput { extension ListOfferingTransactionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOfferingTransactionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOfferingTransactionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8709,7 +8709,7 @@ extension ListOfferingTransactionsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8722,7 +8722,7 @@ extension ListProjectsOutput { extension ListRemoteAccessSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRemoteAccessSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRemoteAccessSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8735,7 +8735,7 @@ extension ListRemoteAccessSessionsOutput { extension ListRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8748,7 +8748,7 @@ extension ListRunsOutput { extension ListSamplesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSamplesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSamplesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8761,7 +8761,7 @@ extension ListSamplesOutput { extension ListSuitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSuitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSuitesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8774,7 +8774,7 @@ extension ListSuitesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8786,7 +8786,7 @@ extension ListTagsForResourceOutput { extension ListTestGridProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestGridProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestGridProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8799,7 +8799,7 @@ extension ListTestGridProjectsOutput { extension ListTestGridSessionActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestGridSessionActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestGridSessionActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8812,7 +8812,7 @@ extension ListTestGridSessionActionsOutput { extension ListTestGridSessionArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestGridSessionArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestGridSessionArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8825,7 +8825,7 @@ extension ListTestGridSessionArtifactsOutput { extension ListTestGridSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestGridSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestGridSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8838,7 +8838,7 @@ extension ListTestGridSessionsOutput { extension ListTestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8851,7 +8851,7 @@ extension ListTestsOutput { extension ListUniqueProblemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUniqueProblemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUniqueProblemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8864,7 +8864,7 @@ extension ListUniqueProblemsOutput { extension ListUploadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUploadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUploadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8877,7 +8877,7 @@ extension ListUploadsOutput { extension ListVPCEConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVPCEConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVPCEConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8890,7 +8890,7 @@ extension ListVPCEConfigurationsOutput { extension PurchaseOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8902,7 +8902,7 @@ extension PurchaseOfferingOutput { extension RenewOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RenewOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RenewOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8914,7 +8914,7 @@ extension RenewOfferingOutput { extension ScheduleRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ScheduleRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ScheduleRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8926,7 +8926,7 @@ extension ScheduleRunOutput { extension StopJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8938,7 +8938,7 @@ extension StopJobOutput { extension StopRemoteAccessSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopRemoteAccessSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopRemoteAccessSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8950,7 +8950,7 @@ extension StopRemoteAccessSessionOutput { extension StopRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8962,21 +8962,21 @@ extension StopRunOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDeviceInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8988,7 +8988,7 @@ extension UpdateDeviceInstanceOutput { extension UpdateDevicePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDevicePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDevicePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9000,7 +9000,7 @@ extension UpdateDevicePoolOutput { extension UpdateInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9012,7 +9012,7 @@ extension UpdateInstanceProfileOutput { extension UpdateNetworkProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNetworkProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9024,7 +9024,7 @@ extension UpdateNetworkProfileOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9036,7 +9036,7 @@ extension UpdateProjectOutput { extension UpdateTestGridProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTestGridProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTestGridProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9048,7 +9048,7 @@ extension UpdateTestGridProjectOutput { extension UpdateUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9060,7 +9060,7 @@ extension UpdateUploadOutput { extension UpdateVPCEConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVPCEConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVPCEConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9072,7 +9072,7 @@ extension UpdateVPCEConfigurationOutput { enum CreateDevicePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9089,7 +9089,7 @@ enum CreateDevicePoolOutputError { enum CreateInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9106,7 +9106,7 @@ enum CreateInstanceProfileOutputError { enum CreateNetworkProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9123,7 +9123,7 @@ enum CreateNetworkProfileOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9141,7 +9141,7 @@ enum CreateProjectOutputError { enum CreateRemoteAccessSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9158,7 +9158,7 @@ enum CreateRemoteAccessSessionOutputError { enum CreateTestGridProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9174,7 +9174,7 @@ enum CreateTestGridProjectOutputError { enum CreateTestGridUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9190,7 +9190,7 @@ enum CreateTestGridUrlOutputError { enum CreateUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9207,7 +9207,7 @@ enum CreateUploadOutputError { enum CreateVPCEConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9223,7 +9223,7 @@ enum CreateVPCEConfigurationOutputError { enum DeleteDevicePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9240,7 +9240,7 @@ enum DeleteDevicePoolOutputError { enum DeleteInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9257,7 +9257,7 @@ enum DeleteInstanceProfileOutputError { enum DeleteNetworkProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9274,7 +9274,7 @@ enum DeleteNetworkProfileOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9291,7 +9291,7 @@ enum DeleteProjectOutputError { enum DeleteRemoteAccessSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9308,7 +9308,7 @@ enum DeleteRemoteAccessSessionOutputError { enum DeleteRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9325,7 +9325,7 @@ enum DeleteRunOutputError { enum DeleteTestGridProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9342,7 +9342,7 @@ enum DeleteTestGridProjectOutputError { enum DeleteUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9359,7 +9359,7 @@ enum DeleteUploadOutputError { enum DeleteVPCEConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9376,7 +9376,7 @@ enum DeleteVPCEConfigurationOutputError { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9393,7 +9393,7 @@ enum GetAccountSettingsOutputError { enum GetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9410,7 +9410,7 @@ enum GetDeviceOutputError { enum GetDeviceInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9427,7 +9427,7 @@ enum GetDeviceInstanceOutputError { enum GetDevicePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9444,7 +9444,7 @@ enum GetDevicePoolOutputError { enum GetDevicePoolCompatibilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9461,7 +9461,7 @@ enum GetDevicePoolCompatibilityOutputError { enum GetInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9478,7 +9478,7 @@ enum GetInstanceProfileOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9495,7 +9495,7 @@ enum GetJobOutputError { enum GetNetworkProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9512,7 +9512,7 @@ enum GetNetworkProfileOutputError { enum GetOfferingStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9530,7 +9530,7 @@ enum GetOfferingStatusOutputError { enum GetProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9547,7 +9547,7 @@ enum GetProjectOutputError { enum GetRemoteAccessSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9564,7 +9564,7 @@ enum GetRemoteAccessSessionOutputError { enum GetRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9581,7 +9581,7 @@ enum GetRunOutputError { enum GetSuiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9598,7 +9598,7 @@ enum GetSuiteOutputError { enum GetTestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9615,7 +9615,7 @@ enum GetTestOutputError { enum GetTestGridProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9631,7 +9631,7 @@ enum GetTestGridProjectOutputError { enum GetTestGridSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9647,7 +9647,7 @@ enum GetTestGridSessionOutputError { enum GetUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9664,7 +9664,7 @@ enum GetUploadOutputError { enum GetVPCEConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9680,7 +9680,7 @@ enum GetVPCEConfigurationOutputError { enum InstallToRemoteAccessSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9697,7 +9697,7 @@ enum InstallToRemoteAccessSessionOutputError { enum ListArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9714,7 +9714,7 @@ enum ListArtifactsOutputError { enum ListDeviceInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9731,7 +9731,7 @@ enum ListDeviceInstancesOutputError { enum ListDevicePoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9748,7 +9748,7 @@ enum ListDevicePoolsOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9765,7 +9765,7 @@ enum ListDevicesOutputError { enum ListInstanceProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9782,7 +9782,7 @@ enum ListInstanceProfilesOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9799,7 +9799,7 @@ enum ListJobsOutputError { enum ListNetworkProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9816,7 +9816,7 @@ enum ListNetworkProfilesOutputError { enum ListOfferingPromotionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9834,7 +9834,7 @@ enum ListOfferingPromotionsOutputError { enum ListOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9852,7 +9852,7 @@ enum ListOfferingsOutputError { enum ListOfferingTransactionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9870,7 +9870,7 @@ enum ListOfferingTransactionsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9887,7 +9887,7 @@ enum ListProjectsOutputError { enum ListRemoteAccessSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9904,7 +9904,7 @@ enum ListRemoteAccessSessionsOutputError { enum ListRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9921,7 +9921,7 @@ enum ListRunsOutputError { enum ListSamplesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9938,7 +9938,7 @@ enum ListSamplesOutputError { enum ListSuitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9955,7 +9955,7 @@ enum ListSuitesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9971,7 +9971,7 @@ enum ListTagsForResourceOutputError { enum ListTestGridProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9986,7 +9986,7 @@ enum ListTestGridProjectsOutputError { enum ListTestGridSessionActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10002,7 +10002,7 @@ enum ListTestGridSessionActionsOutputError { enum ListTestGridSessionArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10018,7 +10018,7 @@ enum ListTestGridSessionArtifactsOutputError { enum ListTestGridSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10034,7 +10034,7 @@ enum ListTestGridSessionsOutputError { enum ListTestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10051,7 +10051,7 @@ enum ListTestsOutputError { enum ListUniqueProblemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10068,7 +10068,7 @@ enum ListUniqueProblemsOutputError { enum ListUploadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10085,7 +10085,7 @@ enum ListUploadsOutputError { enum ListVPCEConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10100,7 +10100,7 @@ enum ListVPCEConfigurationsOutputError { enum PurchaseOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10118,7 +10118,7 @@ enum PurchaseOfferingOutputError { enum RenewOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10136,7 +10136,7 @@ enum RenewOfferingOutputError { enum ScheduleRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10154,7 +10154,7 @@ enum ScheduleRunOutputError { enum StopJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10171,7 +10171,7 @@ enum StopJobOutputError { enum StopRemoteAccessSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10188,7 +10188,7 @@ enum StopRemoteAccessSessionOutputError { enum StopRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10205,7 +10205,7 @@ enum StopRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10223,7 +10223,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10239,7 +10239,7 @@ enum UntagResourceOutputError { enum UpdateDeviceInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10256,7 +10256,7 @@ enum UpdateDeviceInstanceOutputError { enum UpdateDevicePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10273,7 +10273,7 @@ enum UpdateDevicePoolOutputError { enum UpdateInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10290,7 +10290,7 @@ enum UpdateInstanceProfileOutputError { enum UpdateNetworkProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10307,7 +10307,7 @@ enum UpdateNetworkProfileOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10324,7 +10324,7 @@ enum UpdateProjectOutputError { enum UpdateTestGridProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10341,7 +10341,7 @@ enum UpdateTestGridProjectOutputError { enum UpdateUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10358,7 +10358,7 @@ enum UpdateUploadOutputError { enum UpdateVPCEConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift index f2490b44798..ef17ac377ac 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift @@ -1244,7 +1244,7 @@ extension DirectConnectClient { /// Performs the `CreateLag` operation on the `OvertureService` service. /// - /// Creates a link aggregation group (LAG) with the specified number of bundled physical dedicated connections between the customer network and a specific Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single interface. All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint. You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is created. You can specify an existing physical dedicated connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical dedicated connection, and re-establishes them as a member of the LAG. The LAG will be created on the same Direct Connect endpoint to which the dedicated connection terminates. Any virtual interfaces associated with the dedicated connection are automatically disassociated and re-associated with the LAG. The connection ID does not change. If the Amazon Web Services account used to create a LAG is a registered Direct Connect Partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured. + /// Creates a link aggregation group (LAG) with the specified number of bundled physical dedicated connections between the customer network and a specific Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single interface. All connections in a LAG must use the same bandwidth (either 1Gbps, 10Gbps, 100Gbps, or 400Gbps) and must terminate at the same Direct Connect endpoint. You can have up to 10 dedicated connections per location. Regardless of this limit, if you request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is created.. You can specify an existing physical dedicated connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical dedicated connection, and re-establishes them as a member of the LAG. The LAG will be created on the same Direct Connect endpoint to which the dedicated connection terminates. Any virtual interfaces associated with the dedicated connection are automatically disassociated and re-associated with the LAG. The connection ID does not change. If the Amazon Web Services account used to create a LAG is a registered Direct Connect Partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured. /// /// - Parameter CreateLagInput : [no documentation found] /// @@ -1296,7 +1296,7 @@ extension DirectConnectClient { /// Performs the `CreatePrivateVirtualInterface` operation on the `OvertureService` service. /// - /// Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region. Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call [DescribeConnections]. To check whether your virtual interface supports jumbo frames, call [DescribeVirtualInterfaces]. + /// Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region. Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call [DescribeConnections]. To check whether your virtual interface supports jumbo frames, call [DescribeVirtualInterfaces]. /// /// - Parameter CreatePrivateVirtualInterfaceInput : [no documentation found] /// @@ -2665,7 +2665,7 @@ extension DirectConnectClient { /// Performs the `DescribeVirtualGateways` operation on the `OvertureService` service. /// - /// Lists the virtual private gateways owned by the Amazon Web Services account. You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway. + /// Deprecated. Use DescribeVpnGateways instead. See [DescribeVPNGateways](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnGateways.html) in the Amazon Elastic Compute Cloud API Reference. Lists the virtual private gateways owned by the Amazon Web Services account. You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway. /// /// - Parameter DescribeVirtualGatewaysInput : [no documentation found] /// @@ -3332,7 +3332,7 @@ extension DirectConnectClient { /// Performs the `UpdateVirtualInterfaceAttributes` operation on the `OvertureService` service. /// - /// Updates the specified attributes of the specified virtual private interface. Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call [DescribeConnections]. To check whether your virtual interface supports jumbo frames, call [DescribeVirtualInterfaces]. + /// Updates the specified attributes of the specified virtual private interface. Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call [DescribeConnections]. To check whether your virtual interface supports jumbo frames, call [DescribeVirtualInterfaces]. /// /// - Parameter UpdateVirtualInterfaceAttributesInput : [no documentation found] /// diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/Models.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/Models.swift index 9142cf152d4..54eb459ec0f 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/Models.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -48,7 +48,7 @@ public struct DirectConnectClientException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -72,7 +72,7 @@ public struct DirectConnectServerException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -286,7 +286,7 @@ extension DirectConnectClientTypes { } public struct AcceptDirectConnectGatewayAssociationProposalOutput { - /// Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway. + /// Information about an association between a Direct Connect gateway and a virtual gateway or transit gateway. public var directConnectGatewayAssociation: DirectConnectClientTypes.DirectConnectGatewayAssociation? public init( @@ -646,7 +646,7 @@ public struct DuplicateTagKeysException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -670,7 +670,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -683,7 +683,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime } public struct AllocateHostedConnectionInput { - /// The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection. + /// The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps, 10Gbps, or 25Gbps hosted connection. /// This member is required. public var bandwidth: Swift.String? /// The ID of the interconnect or LAG. @@ -849,7 +849,7 @@ extension DirectConnectClientTypes { public var authKey: Swift.String? /// The IP address assigned to the customer interface. public var customerAddress: Swift.String? - /// The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500. + /// The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500. public var mtu: Swift.Int? /// The tags associated with the private virtual interface. public var tags: [DirectConnectClientTypes.Tag]? @@ -1165,7 +1165,7 @@ public struct AllocatePrivateVirtualInterfaceOutput { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -1370,7 +1370,7 @@ public struct AllocatePublicVirtualInterfaceOutput { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -1573,7 +1573,7 @@ extension DirectConnectClientTypes { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -1639,7 +1639,7 @@ extension DirectConnectClientTypes { } public struct AllocateTransitVirtualInterfaceOutput { - /// Information about a virtual interface. + /// Information about the transit virtual interface. public var virtualInterface: DirectConnectClientTypes.VirtualInterface? public init( @@ -2045,7 +2045,7 @@ public struct AssociateVirtualInterfaceOutput { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -2918,7 +2918,7 @@ public struct CreateDirectConnectGatewayAssociationProposalOutput { } public struct CreateInterconnectInput { - /// The port bandwidth, in Gbps. The possible values are 1 and 10. + /// The port bandwidth, in Gbps. The possible values are 1, 10, and 100. /// This member is required. public var bandwidth: Swift.String? /// The name of the interconnect. @@ -3085,7 +3085,7 @@ public struct CreateLagInput { public var childConnectionTags: [DirectConnectClientTypes.Tag]? /// The ID of an existing dedicated connection to migrate to the LAG. public var connectionId: Swift.String? - /// The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps. + /// The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps,10Gbps, 100Gbps, and 400Gbps. /// This member is required. public var connectionsBandwidth: Swift.String? /// The name of the LAG. @@ -3094,7 +3094,7 @@ public struct CreateLagInput { /// The location for the LAG. /// This member is required. public var location: Swift.String? - /// The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1G or 10G, or two when the port speed is 100G. + /// The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1Gbps or 10Gbps, or two when the port speed is 100Gbps or 400Gbps. /// This member is required. public var numberOfConnections: Swift.Int? /// The name of the service provider associated with the LAG. @@ -3185,7 +3185,7 @@ public struct CreateLagOutput { public var awsLogicalDeviceId: Swift.String? /// The connections bundled by the LAG. public var connections: [DirectConnectClientTypes.Connection]? - /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps. + /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps.. public var connectionsBandwidth: Swift.String? /// The LAG MAC Security (MACsec) encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt. public var encryptionMode: Swift.String? @@ -3221,7 +3221,7 @@ public struct CreateLagOutput { public var macSecKeys: [DirectConnectClientTypes.MacSecKey]? /// The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational. public var minimumLinks: Swift.Int - /// The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. + /// The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps. public var numberOfConnections: Swift.Int /// The ID of the Amazon Web Services account that owns the LAG. public var ownerAccount: Swift.String? @@ -3298,7 +3298,7 @@ extension DirectConnectClientTypes { public var directConnectGatewayId: Swift.String? /// Indicates whether to enable or disable SiteLink. public var enableSiteLink: Swift.Bool? - /// The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500. + /// The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500. public var mtu: Swift.Int? /// The tags associated with the private virtual interface. public var tags: [DirectConnectClientTypes.Tag]? @@ -3429,7 +3429,7 @@ public struct CreatePrivateVirtualInterfaceOutput { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -3629,7 +3629,7 @@ public struct CreatePublicVirtualInterfaceOutput { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -4090,7 +4090,7 @@ public struct DeleteLagOutput { public var awsLogicalDeviceId: Swift.String? /// The connections bundled by the LAG. public var connections: [DirectConnectClientTypes.Connection]? - /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps. + /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps.. public var connectionsBandwidth: Swift.String? /// The LAG MAC Security (MACsec) encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt. public var encryptionMode: Swift.String? @@ -4126,7 +4126,7 @@ public struct DeleteLagOutput { public var macSecKeys: [DirectConnectClientTypes.MacSecKey]? /// The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational. public var minimumLinks: Swift.Int - /// The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. + /// The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps. public var numberOfConnections: Swift.Int /// The ID of the Amazon Web Services account that owns the LAG. public var ownerAccount: Swift.String? @@ -4885,7 +4885,7 @@ extension DirectConnectClientTypes { public var awsLogicalDeviceId: Swift.String? /// The connections bundled by the LAG. public var connections: [DirectConnectClientTypes.Connection]? - /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps. + /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps.. public var connectionsBandwidth: Swift.String? /// The LAG MAC Security (MACsec) encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt. public var encryptionMode: Swift.String? @@ -4921,7 +4921,7 @@ extension DirectConnectClientTypes { public var macSecKeys: [DirectConnectClientTypes.MacSecKey]? /// The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational. public var minimumLinks: Swift.Int - /// The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. + /// The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps. public var numberOfConnections: Swift.Int /// The ID of the Amazon Web Services account that owns the LAG. public var ownerAccount: Swift.String? @@ -5791,7 +5791,7 @@ public struct UpdateDirectConnectGatewayInput { } public struct UpdateDirectConnectGatewayOutput { - /// Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways. + /// Informaiton about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateways or transit gateways. public var directConnectGateway: DirectConnectClientTypes.DirectConnectGateway? public init( @@ -5872,7 +5872,7 @@ public struct UpdateLagOutput { public var awsLogicalDeviceId: Swift.String? /// The connections bundled by the LAG. public var connections: [DirectConnectClientTypes.Connection]? - /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps. + /// The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps.. public var connectionsBandwidth: Swift.String? /// The LAG MAC Security (MACsec) encryption mode. The valid values are no_encrypt, should_encrypt, and must_encrypt. public var encryptionMode: Swift.String? @@ -5908,7 +5908,7 @@ public struct UpdateLagOutput { public var macSecKeys: [DirectConnectClientTypes.MacSecKey]? /// The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational. public var minimumLinks: Swift.Int - /// The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. + /// The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps. public var numberOfConnections: Swift.Int /// The ID of the Amazon Web Services account that owns the LAG. public var ownerAccount: Swift.String? @@ -5970,7 +5970,7 @@ public struct UpdateLagOutput { public struct UpdateVirtualInterfaceAttributesInput { /// Indicates whether to enable or disable SiteLink. public var enableSiteLink: Swift.Bool? - /// The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500. + /// The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500. public var mtu: Swift.Int? /// The ID of the virtual private interface. /// This member is required. @@ -6060,7 +6060,7 @@ public struct UpdateVirtualInterfaceAttributesOutput { /// /// * unknown: The state of the virtual interface is not available. public var virtualInterfaceState: DirectConnectClientTypes.VirtualInterfaceState? - /// The type of virtual interface. The possible values are private and public. + /// The type of virtual interface. The possible values are private, public and transit. public var virtualInterfaceType: Swift.String? /// The ID of the VLAN. public var vlan: Swift.Int @@ -7177,7 +7177,7 @@ extension UpdateVirtualInterfaceAttributesInput { extension AcceptDirectConnectGatewayAssociationProposalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptDirectConnectGatewayAssociationProposalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptDirectConnectGatewayAssociationProposalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7189,7 +7189,7 @@ extension AcceptDirectConnectGatewayAssociationProposalOutput { extension AllocateConnectionOnInterconnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateConnectionOnInterconnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateConnectionOnInterconnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7222,7 +7222,7 @@ extension AllocateConnectionOnInterconnectOutput { extension AllocateHostedConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateHostedConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateHostedConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7255,7 +7255,7 @@ extension AllocateHostedConnectionOutput { extension AllocatePrivateVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocatePrivateVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocatePrivateVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7292,7 +7292,7 @@ extension AllocatePrivateVirtualInterfaceOutput { extension AllocatePublicVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocatePublicVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocatePublicVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7329,7 +7329,7 @@ extension AllocatePublicVirtualInterfaceOutput { extension AllocateTransitVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateTransitVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateTransitVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7341,7 +7341,7 @@ extension AllocateTransitVirtualInterfaceOutput { extension AssociateConnectionWithLagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateConnectionWithLagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateConnectionWithLagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7374,7 +7374,7 @@ extension AssociateConnectionWithLagOutput { extension AssociateHostedConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateHostedConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateHostedConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7407,7 +7407,7 @@ extension AssociateHostedConnectionOutput { extension AssociateMacSecKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMacSecKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMacSecKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7420,7 +7420,7 @@ extension AssociateMacSecKeyOutput { extension AssociateVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7457,7 +7457,7 @@ extension AssociateVirtualInterfaceOutput { extension ConfirmConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7469,7 +7469,7 @@ extension ConfirmConnectionOutput { extension ConfirmCustomerAgreementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmCustomerAgreementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmCustomerAgreementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7481,7 +7481,7 @@ extension ConfirmCustomerAgreementOutput { extension ConfirmPrivateVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmPrivateVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmPrivateVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7493,7 +7493,7 @@ extension ConfirmPrivateVirtualInterfaceOutput { extension ConfirmPublicVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmPublicVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmPublicVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7505,7 +7505,7 @@ extension ConfirmPublicVirtualInterfaceOutput { extension ConfirmTransitVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmTransitVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmTransitVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7517,7 +7517,7 @@ extension ConfirmTransitVirtualInterfaceOutput { extension CreateBGPPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBGPPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBGPPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7529,7 +7529,7 @@ extension CreateBGPPeerOutput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7562,7 +7562,7 @@ extension CreateConnectionOutput { extension CreateDirectConnectGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectConnectGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectConnectGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7574,7 +7574,7 @@ extension CreateDirectConnectGatewayOutput { extension CreateDirectConnectGatewayAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectConnectGatewayAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectConnectGatewayAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7586,7 +7586,7 @@ extension CreateDirectConnectGatewayAssociationOutput { extension CreateDirectConnectGatewayAssociationProposalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectConnectGatewayAssociationProposalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectConnectGatewayAssociationProposalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7598,7 +7598,7 @@ extension CreateDirectConnectGatewayAssociationProposalOutput { extension CreateInterconnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInterconnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInterconnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7624,7 +7624,7 @@ extension CreateInterconnectOutput { extension CreateLagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7656,7 +7656,7 @@ extension CreateLagOutput { extension CreatePrivateVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePrivateVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePrivateVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7693,7 +7693,7 @@ extension CreatePrivateVirtualInterfaceOutput { extension CreatePublicVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePublicVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePublicVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7730,7 +7730,7 @@ extension CreatePublicVirtualInterfaceOutput { extension CreateTransitVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7742,7 +7742,7 @@ extension CreateTransitVirtualInterfaceOutput { extension DeleteBGPPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBGPPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBGPPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7754,7 +7754,7 @@ extension DeleteBGPPeerOutput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7787,7 +7787,7 @@ extension DeleteConnectionOutput { extension DeleteDirectConnectGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectConnectGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectConnectGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7799,7 +7799,7 @@ extension DeleteDirectConnectGatewayOutput { extension DeleteDirectConnectGatewayAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectConnectGatewayAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectConnectGatewayAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7811,7 +7811,7 @@ extension DeleteDirectConnectGatewayAssociationOutput { extension DeleteDirectConnectGatewayAssociationProposalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectConnectGatewayAssociationProposalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectConnectGatewayAssociationProposalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7823,7 +7823,7 @@ extension DeleteDirectConnectGatewayAssociationProposalOutput { extension DeleteInterconnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInterconnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInterconnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7835,7 +7835,7 @@ extension DeleteInterconnectOutput { extension DeleteLagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7867,7 +7867,7 @@ extension DeleteLagOutput { extension DeleteVirtualInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7879,7 +7879,7 @@ extension DeleteVirtualInterfaceOutput { extension DescribeConnectionLoaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionLoaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionLoaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7891,7 +7891,7 @@ extension DescribeConnectionLoaOutput { extension DescribeConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7903,7 +7903,7 @@ extension DescribeConnectionsOutput { extension DescribeConnectionsOnInterconnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionsOnInterconnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionsOnInterconnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7915,7 +7915,7 @@ extension DescribeConnectionsOnInterconnectOutput { extension DescribeCustomerMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomerMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomerMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7928,7 +7928,7 @@ extension DescribeCustomerMetadataOutput { extension DescribeDirectConnectGatewayAssociationProposalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDirectConnectGatewayAssociationProposalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDirectConnectGatewayAssociationProposalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7941,7 +7941,7 @@ extension DescribeDirectConnectGatewayAssociationProposalsOutput { extension DescribeDirectConnectGatewayAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDirectConnectGatewayAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDirectConnectGatewayAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7954,7 +7954,7 @@ extension DescribeDirectConnectGatewayAssociationsOutput { extension DescribeDirectConnectGatewayAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDirectConnectGatewayAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDirectConnectGatewayAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7967,7 +7967,7 @@ extension DescribeDirectConnectGatewayAttachmentsOutput { extension DescribeDirectConnectGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDirectConnectGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDirectConnectGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7980,7 +7980,7 @@ extension DescribeDirectConnectGatewaysOutput { extension DescribeHostedConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHostedConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHostedConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7992,7 +7992,7 @@ extension DescribeHostedConnectionsOutput { extension DescribeInterconnectLoaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInterconnectLoaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInterconnectLoaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8004,7 +8004,7 @@ extension DescribeInterconnectLoaOutput { extension DescribeInterconnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInterconnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInterconnectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8016,7 +8016,7 @@ extension DescribeInterconnectsOutput { extension DescribeLagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8028,7 +8028,7 @@ extension DescribeLagsOutput { extension DescribeLoaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8041,7 +8041,7 @@ extension DescribeLoaOutput { extension DescribeLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8053,7 +8053,7 @@ extension DescribeLocationsOutput { extension DescribeRouterConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRouterConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRouterConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8068,7 +8068,7 @@ extension DescribeRouterConfigurationOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8080,7 +8080,7 @@ extension DescribeTagsOutput { extension DescribeVirtualGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8092,7 +8092,7 @@ extension DescribeVirtualGatewaysOutput { extension DescribeVirtualInterfacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualInterfacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualInterfacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8104,7 +8104,7 @@ extension DescribeVirtualInterfacesOutput { extension DisassociateConnectionFromLagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateConnectionFromLagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateConnectionFromLagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8137,7 +8137,7 @@ extension DisassociateConnectionFromLagOutput { extension DisassociateMacSecKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMacSecKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMacSecKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8150,7 +8150,7 @@ extension DisassociateMacSecKeyOutput { extension ListVirtualInterfaceTestHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualInterfaceTestHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualInterfaceTestHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8163,7 +8163,7 @@ extension ListVirtualInterfaceTestHistoryOutput { extension StartBgpFailoverTestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBgpFailoverTestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBgpFailoverTestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8175,7 +8175,7 @@ extension StartBgpFailoverTestOutput { extension StopBgpFailoverTestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopBgpFailoverTestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopBgpFailoverTestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8187,21 +8187,21 @@ extension StopBgpFailoverTestOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8234,7 +8234,7 @@ extension UpdateConnectionOutput { extension UpdateDirectConnectGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDirectConnectGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDirectConnectGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8246,7 +8246,7 @@ extension UpdateDirectConnectGatewayOutput { extension UpdateDirectConnectGatewayAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDirectConnectGatewayAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDirectConnectGatewayAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8258,7 +8258,7 @@ extension UpdateDirectConnectGatewayAssociationOutput { extension UpdateLagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8290,7 +8290,7 @@ extension UpdateLagOutput { extension UpdateVirtualInterfaceAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVirtualInterfaceAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVirtualInterfaceAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8327,7 +8327,7 @@ extension UpdateVirtualInterfaceAttributesOutput { enum AcceptDirectConnectGatewayAssociationProposalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8342,7 +8342,7 @@ enum AcceptDirectConnectGatewayAssociationProposalOutputError { enum AllocateConnectionOnInterconnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8357,7 +8357,7 @@ enum AllocateConnectionOnInterconnectOutputError { enum AllocateHostedConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8374,7 +8374,7 @@ enum AllocateHostedConnectionOutputError { enum AllocatePrivateVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8391,7 +8391,7 @@ enum AllocatePrivateVirtualInterfaceOutputError { enum AllocatePublicVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8408,7 +8408,7 @@ enum AllocatePublicVirtualInterfaceOutputError { enum AllocateTransitVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8425,7 +8425,7 @@ enum AllocateTransitVirtualInterfaceOutputError { enum AssociateConnectionWithLagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8440,7 +8440,7 @@ enum AssociateConnectionWithLagOutputError { enum AssociateHostedConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8455,7 +8455,7 @@ enum AssociateHostedConnectionOutputError { enum AssociateMacSecKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8470,7 +8470,7 @@ enum AssociateMacSecKeyOutputError { enum AssociateVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8485,7 +8485,7 @@ enum AssociateVirtualInterfaceOutputError { enum ConfirmConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8500,7 +8500,7 @@ enum ConfirmConnectionOutputError { enum ConfirmCustomerAgreementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8515,7 +8515,7 @@ enum ConfirmCustomerAgreementOutputError { enum ConfirmPrivateVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8530,7 +8530,7 @@ enum ConfirmPrivateVirtualInterfaceOutputError { enum ConfirmPublicVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8545,7 +8545,7 @@ enum ConfirmPublicVirtualInterfaceOutputError { enum ConfirmTransitVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8560,7 +8560,7 @@ enum ConfirmTransitVirtualInterfaceOutputError { enum CreateBGPPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8575,7 +8575,7 @@ enum CreateBGPPeerOutputError { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8592,7 +8592,7 @@ enum CreateConnectionOutputError { enum CreateDirectConnectGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8607,7 +8607,7 @@ enum CreateDirectConnectGatewayOutputError { enum CreateDirectConnectGatewayAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8622,7 +8622,7 @@ enum CreateDirectConnectGatewayAssociationOutputError { enum CreateDirectConnectGatewayAssociationProposalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8637,7 +8637,7 @@ enum CreateDirectConnectGatewayAssociationProposalOutputError { enum CreateInterconnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8654,7 +8654,7 @@ enum CreateInterconnectOutputError { enum CreateLagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8671,7 +8671,7 @@ enum CreateLagOutputError { enum CreatePrivateVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8688,7 +8688,7 @@ enum CreatePrivateVirtualInterfaceOutputError { enum CreatePublicVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8705,7 +8705,7 @@ enum CreatePublicVirtualInterfaceOutputError { enum CreateTransitVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8722,7 +8722,7 @@ enum CreateTransitVirtualInterfaceOutputError { enum DeleteBGPPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8737,7 +8737,7 @@ enum DeleteBGPPeerOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8752,7 +8752,7 @@ enum DeleteConnectionOutputError { enum DeleteDirectConnectGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8767,7 +8767,7 @@ enum DeleteDirectConnectGatewayOutputError { enum DeleteDirectConnectGatewayAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8782,7 +8782,7 @@ enum DeleteDirectConnectGatewayAssociationOutputError { enum DeleteDirectConnectGatewayAssociationProposalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8797,7 +8797,7 @@ enum DeleteDirectConnectGatewayAssociationProposalOutputError { enum DeleteInterconnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8812,7 +8812,7 @@ enum DeleteInterconnectOutputError { enum DeleteLagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8827,7 +8827,7 @@ enum DeleteLagOutputError { enum DeleteVirtualInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8842,7 +8842,7 @@ enum DeleteVirtualInterfaceOutputError { enum DescribeConnectionLoaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8857,7 +8857,7 @@ enum DescribeConnectionLoaOutputError { enum DescribeConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8872,7 +8872,7 @@ enum DescribeConnectionsOutputError { enum DescribeConnectionsOnInterconnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8887,7 +8887,7 @@ enum DescribeConnectionsOnInterconnectOutputError { enum DescribeCustomerMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8902,7 +8902,7 @@ enum DescribeCustomerMetadataOutputError { enum DescribeDirectConnectGatewayAssociationProposalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8917,7 +8917,7 @@ enum DescribeDirectConnectGatewayAssociationProposalsOutputError { enum DescribeDirectConnectGatewayAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8932,7 +8932,7 @@ enum DescribeDirectConnectGatewayAssociationsOutputError { enum DescribeDirectConnectGatewayAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8947,7 +8947,7 @@ enum DescribeDirectConnectGatewayAttachmentsOutputError { enum DescribeDirectConnectGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8962,7 +8962,7 @@ enum DescribeDirectConnectGatewaysOutputError { enum DescribeHostedConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8977,7 +8977,7 @@ enum DescribeHostedConnectionsOutputError { enum DescribeInterconnectLoaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8992,7 +8992,7 @@ enum DescribeInterconnectLoaOutputError { enum DescribeInterconnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9007,7 +9007,7 @@ enum DescribeInterconnectsOutputError { enum DescribeLagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9022,7 +9022,7 @@ enum DescribeLagsOutputError { enum DescribeLoaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9037,7 +9037,7 @@ enum DescribeLoaOutputError { enum DescribeLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9052,7 +9052,7 @@ enum DescribeLocationsOutputError { enum DescribeRouterConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9067,7 +9067,7 @@ enum DescribeRouterConfigurationOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9082,7 +9082,7 @@ enum DescribeTagsOutputError { enum DescribeVirtualGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9097,7 +9097,7 @@ enum DescribeVirtualGatewaysOutputError { enum DescribeVirtualInterfacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9112,7 +9112,7 @@ enum DescribeVirtualInterfacesOutputError { enum DisassociateConnectionFromLagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9127,7 +9127,7 @@ enum DisassociateConnectionFromLagOutputError { enum DisassociateMacSecKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9142,7 +9142,7 @@ enum DisassociateMacSecKeyOutputError { enum ListVirtualInterfaceTestHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9157,7 +9157,7 @@ enum ListVirtualInterfaceTestHistoryOutputError { enum StartBgpFailoverTestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9172,7 +9172,7 @@ enum StartBgpFailoverTestOutputError { enum StopBgpFailoverTestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9187,7 +9187,7 @@ enum StopBgpFailoverTestOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9204,7 +9204,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9219,7 +9219,7 @@ enum UntagResourceOutputError { enum UpdateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9234,7 +9234,7 @@ enum UpdateConnectionOutputError { enum UpdateDirectConnectGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9249,7 +9249,7 @@ enum UpdateDirectConnectGatewayOutputError { enum UpdateDirectConnectGatewayAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9264,7 +9264,7 @@ enum UpdateDirectConnectGatewayAssociationOutputError { enum UpdateLagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9279,7 +9279,7 @@ enum UpdateLagOutputError { enum UpdateVirtualInterfaceAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/Models.swift b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/Models.swift index fb025e5ab1b..ca240d25300 100644 --- a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/Models.swift +++ b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct ClientException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -66,7 +66,7 @@ public struct DirectoryAlreadySharedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct EntityDoesNotExistException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -124,7 +124,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -368,7 +368,7 @@ public struct DirectoryUnavailableException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -397,7 +397,7 @@ public struct EntityAlreadyExistsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -426,7 +426,7 @@ public struct IpRouteLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -544,7 +544,7 @@ public struct DirectoryAlreadyInRegionException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -573,7 +573,7 @@ public struct DirectoryDoesNotExistException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -602,7 +602,7 @@ public struct RegionLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -631,7 +631,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -710,7 +710,7 @@ public struct TagLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -804,7 +804,7 @@ public struct AuthenticationFailedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -986,7 +986,7 @@ public struct CertificateAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1015,7 +1015,7 @@ public struct CertificateDoesNotExistException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1076,7 +1076,7 @@ public struct CertificateInUseException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1105,7 +1105,7 @@ public struct CertificateLimitExceededException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1290,7 +1290,7 @@ public struct DirectoryLimitExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1635,7 +1635,7 @@ public struct InsufficientPermissionsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1774,7 +1774,7 @@ public struct SnapshotLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2261,7 +2261,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3924,7 +3924,7 @@ public struct DirectoryInDesiredStateException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4001,7 +4001,7 @@ public struct DirectoryNotSharedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4030,7 +4030,7 @@ public struct InvalidClientAuthStatusException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4082,7 +4082,7 @@ public struct InvalidLDAPSStatusException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4187,7 +4187,7 @@ public struct NoAvailableCertificateException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4765,7 +4765,7 @@ public struct InvalidCertificateException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4946,7 +4946,7 @@ public struct InvalidPasswordException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4975,7 +4975,7 @@ public struct UserDoesNotExistException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5057,7 +5057,7 @@ public struct InvalidTargetException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5086,7 +5086,7 @@ public struct OrganizationsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5115,7 +5115,7 @@ public struct ShareLimitExceededException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5389,7 +5389,7 @@ public struct DomainControllerLimitExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5466,7 +5466,7 @@ public struct IncompatibleSettingsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5495,7 +5495,7 @@ public struct UnsupportedSettingsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6744,7 +6744,7 @@ extension VerifyTrustInput { extension AcceptSharedDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptSharedDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptSharedDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6756,35 +6756,35 @@ extension AcceptSharedDirectoryOutput { extension AddIpRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddIpRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddIpRoutesOutput { return AddIpRoutesOutput() } } extension AddRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddRegionOutput { return AddRegionOutput() } } extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { return AddTagsToResourceOutput() } } extension CancelSchemaExtensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSchemaExtensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSchemaExtensionOutput { return CancelSchemaExtensionOutput() } } extension ConnectDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConnectDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConnectDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6796,7 +6796,7 @@ extension ConnectDirectoryOutput { extension CreateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6809,7 +6809,7 @@ extension CreateAliasOutput { extension CreateComputerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComputerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComputerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6821,14 +6821,14 @@ extension CreateComputerOutput { extension CreateConditionalForwarderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConditionalForwarderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConditionalForwarderOutput { return CreateConditionalForwarderOutput() } } extension CreateDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6840,14 +6840,14 @@ extension CreateDirectoryOutput { extension CreateLogSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLogSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLogSubscriptionOutput { return CreateLogSubscriptionOutput() } } extension CreateMicrosoftADOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMicrosoftADOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMicrosoftADOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6859,7 +6859,7 @@ extension CreateMicrosoftADOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6871,7 +6871,7 @@ extension CreateSnapshotOutput { extension CreateTrustOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrustOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrustOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6883,14 +6883,14 @@ extension CreateTrustOutput { extension DeleteConditionalForwarderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConditionalForwarderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConditionalForwarderOutput { return DeleteConditionalForwarderOutput() } } extension DeleteDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6902,14 +6902,14 @@ extension DeleteDirectoryOutput { extension DeleteLogSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLogSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLogSubscriptionOutput { return DeleteLogSubscriptionOutput() } } extension DeleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6921,7 +6921,7 @@ extension DeleteSnapshotOutput { extension DeleteTrustOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrustOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrustOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6933,21 +6933,21 @@ extension DeleteTrustOutput { extension DeregisterCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterCertificateOutput { return DeregisterCertificateOutput() } } extension DeregisterEventTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterEventTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterEventTopicOutput { return DeregisterEventTopicOutput() } } extension DescribeCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6959,7 +6959,7 @@ extension DescribeCertificateOutput { extension DescribeClientAuthenticationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientAuthenticationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientAuthenticationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6972,7 +6972,7 @@ extension DescribeClientAuthenticationSettingsOutput { extension DescribeConditionalForwardersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConditionalForwardersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConditionalForwardersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6984,7 +6984,7 @@ extension DescribeConditionalForwardersOutput { extension DescribeDirectoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDirectoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDirectoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6997,7 +6997,7 @@ extension DescribeDirectoriesOutput { extension DescribeDomainControllersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainControllersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainControllersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7010,7 +7010,7 @@ extension DescribeDomainControllersOutput { extension DescribeEventTopicsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventTopicsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventTopicsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7022,7 +7022,7 @@ extension DescribeEventTopicsOutput { extension DescribeLDAPSSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLDAPSSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLDAPSSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7035,7 +7035,7 @@ extension DescribeLDAPSSettingsOutput { extension DescribeRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7048,7 +7048,7 @@ extension DescribeRegionsOutput { extension DescribeSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7062,7 +7062,7 @@ extension DescribeSettingsOutput { extension DescribeSharedDirectoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSharedDirectoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSharedDirectoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7075,7 +7075,7 @@ extension DescribeSharedDirectoriesOutput { extension DescribeSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7088,7 +7088,7 @@ extension DescribeSnapshotsOutput { extension DescribeTrustsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7101,7 +7101,7 @@ extension DescribeTrustsOutput { extension DescribeUpdateDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUpdateDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUpdateDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7114,63 +7114,63 @@ extension DescribeUpdateDirectoryOutput { extension DisableClientAuthenticationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableClientAuthenticationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableClientAuthenticationOutput { return DisableClientAuthenticationOutput() } } extension DisableLDAPSOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableLDAPSOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableLDAPSOutput { return DisableLDAPSOutput() } } extension DisableRadiusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableRadiusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableRadiusOutput { return DisableRadiusOutput() } } extension DisableSsoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableSsoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableSsoOutput { return DisableSsoOutput() } } extension EnableClientAuthenticationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableClientAuthenticationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableClientAuthenticationOutput { return EnableClientAuthenticationOutput() } } extension EnableLDAPSOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableLDAPSOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableLDAPSOutput { return EnableLDAPSOutput() } } extension EnableRadiusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableRadiusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableRadiusOutput { return EnableRadiusOutput() } } extension EnableSsoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSsoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSsoOutput { return EnableSsoOutput() } } extension GetDirectoryLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDirectoryLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDirectoryLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7182,7 +7182,7 @@ extension GetDirectoryLimitsOutput { extension GetSnapshotLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSnapshotLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSnapshotLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7194,7 +7194,7 @@ extension GetSnapshotLimitsOutput { extension ListCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7207,7 +7207,7 @@ extension ListCertificatesOutput { extension ListIpRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIpRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIpRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7220,7 +7220,7 @@ extension ListIpRoutesOutput { extension ListLogSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLogSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLogSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7233,7 +7233,7 @@ extension ListLogSubscriptionsOutput { extension ListSchemaExtensionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemaExtensionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemaExtensionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7246,7 +7246,7 @@ extension ListSchemaExtensionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7259,7 +7259,7 @@ extension ListTagsForResourceOutput { extension RegisterCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7271,14 +7271,14 @@ extension RegisterCertificateOutput { extension RegisterEventTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterEventTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterEventTopicOutput { return RegisterEventTopicOutput() } } extension RejectSharedDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectSharedDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectSharedDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7290,42 +7290,42 @@ extension RejectSharedDirectoryOutput { extension RemoveIpRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveIpRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveIpRoutesOutput { return RemoveIpRoutesOutput() } } extension RemoveRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveRegionOutput { return RemoveRegionOutput() } } extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { return RemoveTagsFromResourceOutput() } } extension ResetUserPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetUserPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetUserPasswordOutput { return ResetUserPasswordOutput() } } extension RestoreFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreFromSnapshotOutput { return RestoreFromSnapshotOutput() } } extension ShareDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ShareDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ShareDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7337,7 +7337,7 @@ extension ShareDirectoryOutput { extension StartSchemaExtensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSchemaExtensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSchemaExtensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7349,7 +7349,7 @@ extension StartSchemaExtensionOutput { extension UnshareDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnshareDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnshareDirectoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7361,35 +7361,35 @@ extension UnshareDirectoryOutput { extension UpdateConditionalForwarderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConditionalForwarderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConditionalForwarderOutput { return UpdateConditionalForwarderOutput() } } extension UpdateDirectorySetupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDirectorySetupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDirectorySetupOutput { return UpdateDirectorySetupOutput() } } extension UpdateNumberOfDomainControllersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNumberOfDomainControllersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNumberOfDomainControllersOutput { return UpdateNumberOfDomainControllersOutput() } } extension UpdateRadiusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRadiusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRadiusOutput { return UpdateRadiusOutput() } } extension UpdateSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7401,7 +7401,7 @@ extension UpdateSettingsOutput { extension UpdateTrustOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrustOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrustOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7414,7 +7414,7 @@ extension UpdateTrustOutput { extension VerifyTrustOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyTrustOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyTrustOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7426,7 +7426,7 @@ extension VerifyTrustOutput { enum AcceptSharedDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7444,7 +7444,7 @@ enum AcceptSharedDirectoryOutputError { enum AddIpRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7464,7 +7464,7 @@ enum AddIpRoutesOutputError { enum AddRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7487,7 +7487,7 @@ enum AddRegionOutputError { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7505,7 +7505,7 @@ enum AddTagsToResourceOutputError { enum CancelSchemaExtensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7521,7 +7521,7 @@ enum CancelSchemaExtensionOutputError { enum ConnectDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7538,7 +7538,7 @@ enum ConnectDirectoryOutputError { enum CreateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7556,7 +7556,7 @@ enum CreateAliasOutputError { enum CreateComputerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7577,7 +7577,7 @@ enum CreateComputerOutputError { enum CreateConditionalForwarderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7597,7 +7597,7 @@ enum CreateConditionalForwarderOutputError { enum CreateDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7614,7 +7614,7 @@ enum CreateDirectoryOutputError { enum CreateLogSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7633,7 +7633,7 @@ enum CreateLogSubscriptionOutputError { enum CreateMicrosoftADOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7651,7 +7651,7 @@ enum CreateMicrosoftADOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7669,7 +7669,7 @@ enum CreateSnapshotOutputError { enum CreateTrustOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7688,7 +7688,7 @@ enum CreateTrustOutputError { enum DeleteConditionalForwarderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7707,7 +7707,7 @@ enum DeleteConditionalForwarderOutputError { enum DeleteDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7723,7 +7723,7 @@ enum DeleteDirectoryOutputError { enum DeleteLogSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7740,7 +7740,7 @@ enum DeleteLogSubscriptionOutputError { enum DeleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7757,7 +7757,7 @@ enum DeleteSnapshotOutputError { enum DeleteTrustOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7775,7 +7775,7 @@ enum DeleteTrustOutputError { enum DeregisterCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7796,7 +7796,7 @@ enum DeregisterCertificateOutputError { enum DeregisterEventTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7813,7 +7813,7 @@ enum DeregisterEventTopicOutputError { enum DescribeCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7832,7 +7832,7 @@ enum DescribeCertificateOutputError { enum DescribeClientAuthenticationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7851,7 +7851,7 @@ enum DescribeClientAuthenticationSettingsOutputError { enum DescribeConditionalForwardersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7870,7 +7870,7 @@ enum DescribeConditionalForwardersOutputError { enum DescribeDirectoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7888,7 +7888,7 @@ enum DescribeDirectoriesOutputError { enum DescribeDomainControllersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7907,7 +7907,7 @@ enum DescribeDomainControllersOutputError { enum DescribeEventTopicsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7924,7 +7924,7 @@ enum DescribeEventTopicsOutputError { enum DescribeLDAPSSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7943,7 +7943,7 @@ enum DescribeLDAPSSettingsOutputError { enum DescribeRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7963,7 +7963,7 @@ enum DescribeRegionsOutputError { enum DescribeSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7982,7 +7982,7 @@ enum DescribeSettingsOutputError { enum DescribeSharedDirectoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8001,7 +8001,7 @@ enum DescribeSharedDirectoriesOutputError { enum DescribeSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8019,7 +8019,7 @@ enum DescribeSnapshotsOutputError { enum DescribeTrustsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8038,7 +8038,7 @@ enum DescribeTrustsOutputError { enum DescribeUpdateDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8057,7 +8057,7 @@ enum DescribeUpdateDirectoryOutputError { enum DisableClientAuthenticationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8076,7 +8076,7 @@ enum DisableClientAuthenticationOutputError { enum DisableLDAPSOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8096,7 +8096,7 @@ enum DisableLDAPSOutputError { enum DisableRadiusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8112,7 +8112,7 @@ enum DisableRadiusOutputError { enum DisableSsoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8130,7 +8130,7 @@ enum DisableSsoOutputError { enum EnableClientAuthenticationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8150,7 +8150,7 @@ enum EnableClientAuthenticationOutputError { enum EnableLDAPSOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8171,7 +8171,7 @@ enum EnableLDAPSOutputError { enum EnableRadiusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8189,7 +8189,7 @@ enum EnableRadiusOutputError { enum EnableSsoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8207,7 +8207,7 @@ enum EnableSsoOutputError { enum GetDirectoryLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8223,7 +8223,7 @@ enum GetDirectoryLimitsOutputError { enum GetSnapshotLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8239,7 +8239,7 @@ enum GetSnapshotLimitsOutputError { enum ListCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8258,7 +8258,7 @@ enum ListCertificatesOutputError { enum ListIpRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8276,7 +8276,7 @@ enum ListIpRoutesOutputError { enum ListLogSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8293,7 +8293,7 @@ enum ListLogSubscriptionsOutputError { enum ListSchemaExtensionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8310,7 +8310,7 @@ enum ListSchemaExtensionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8328,7 +8328,7 @@ enum ListTagsForResourceOutputError { enum RegisterCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8350,7 +8350,7 @@ enum RegisterCertificateOutputError { enum RegisterEventTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8367,7 +8367,7 @@ enum RegisterEventTopicOutputError { enum RejectSharedDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8385,7 +8385,7 @@ enum RejectSharedDirectoryOutputError { enum RemoveIpRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8403,7 +8403,7 @@ enum RemoveIpRoutesOutputError { enum RemoveRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8422,7 +8422,7 @@ enum RemoveRegionOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8439,7 +8439,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetUserPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8459,7 +8459,7 @@ enum ResetUserPasswordOutputError { enum RestoreFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8476,7 +8476,7 @@ enum RestoreFromSnapshotOutputError { enum ShareDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8499,7 +8499,7 @@ enum ShareDirectoryOutputError { enum StartSchemaExtensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8518,7 +8518,7 @@ enum StartSchemaExtensionOutputError { enum UnshareDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8536,7 +8536,7 @@ enum UnshareDirectoryOutputError { enum UpdateConditionalForwarderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8555,7 +8555,7 @@ enum UpdateConditionalForwarderOutputError { enum UpdateDirectorySetupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8577,7 +8577,7 @@ enum UpdateDirectorySetupOutputError { enum UpdateNumberOfDomainControllersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8597,7 +8597,7 @@ enum UpdateNumberOfDomainControllersOutputError { enum UpdateRadiusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8614,7 +8614,7 @@ enum UpdateRadiusOutputError { enum UpdateSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8635,7 +8635,7 @@ enum UpdateSettingsOutputError { enum UpdateTrustOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8652,7 +8652,7 @@ enum UpdateTrustOutputError { enum VerifyTrustOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDocDB/Sources/AWSDocDB/Models.swift b/Sources/Services/AWSDocDB/Sources/AWSDocDB/Models.swift index c901b59c77f..65261ae99b1 100644 --- a/Sources/Services/AWSDocDB/Sources/AWSDocDB/Models.swift +++ b/Sources/Services/AWSDocDB/Sources/AWSDocDB/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -53,7 +53,7 @@ public struct SourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct SubscriptionNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct DBClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -216,7 +216,7 @@ public struct DBInstanceNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -240,7 +240,7 @@ public struct DBSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -303,7 +303,7 @@ public struct InvalidDBClusterStateFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -327,7 +327,7 @@ public struct InvalidDBInstanceStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -351,7 +351,7 @@ public struct ResourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -473,7 +473,7 @@ public struct DBParameterGroupAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -497,7 +497,7 @@ public struct DBParameterGroupNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -521,7 +521,7 @@ public struct DBParameterGroupQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -630,7 +630,7 @@ public struct DBClusterSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -654,7 +654,7 @@ public struct DBClusterSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -678,7 +678,7 @@ public struct InvalidDBClusterSnapshotStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -702,7 +702,7 @@ public struct KMSKeyNotAccessibleFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -726,7 +726,7 @@ public struct SnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -905,7 +905,7 @@ public struct DBClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -929,7 +929,7 @@ public struct DBClusterParameterGroupNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -953,7 +953,7 @@ public struct DBClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -977,7 +977,7 @@ public struct DBSubnetGroupDoesNotCoverEnoughAZs: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1001,7 +1001,7 @@ public struct DBSubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1025,7 +1025,7 @@ public struct GlobalClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1049,7 +1049,7 @@ public struct InsufficientStorageClusterCapacityFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1073,7 +1073,7 @@ public struct InvalidDBSubnetGroupStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1097,7 +1097,7 @@ public struct InvalidGlobalClusterStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1121,7 +1121,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1145,7 +1145,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1169,7 +1169,7 @@ public struct StorageQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1642,7 +1642,7 @@ public struct AuthorizationNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1666,7 +1666,7 @@ public struct DBInstanceAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1690,7 +1690,7 @@ public struct DBSecurityGroupNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1714,7 +1714,7 @@ public struct InstanceQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1738,7 +1738,7 @@ public struct InsufficientDBInstanceCapacityFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1762,7 +1762,7 @@ public struct StorageTypeNotSupportedFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2240,7 +2240,7 @@ public struct DBSubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2264,7 +2264,7 @@ public struct DBSubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2288,7 +2288,7 @@ public struct DBSubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2352,7 +2352,7 @@ public struct EventSubscriptionQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2376,7 +2376,7 @@ public struct SNSInvalidTopicFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2400,7 +2400,7 @@ public struct SNSNoAuthorizationFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2424,7 +2424,7 @@ public struct SNSTopicArnNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2448,7 +2448,7 @@ public struct SubscriptionAlreadyExistFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2472,7 +2472,7 @@ public struct SubscriptionCategoryNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2557,7 +2557,7 @@ public struct GlobalClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2581,7 +2581,7 @@ public struct GlobalClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2773,7 +2773,7 @@ public struct InvalidDBParameterGroupStateFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2843,7 +2843,7 @@ public struct DBSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2895,7 +2895,7 @@ public struct InvalidDBSubnetStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2933,7 +2933,7 @@ public struct InvalidEventSubscriptionStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3009,7 +3009,7 @@ public struct CertificateNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4288,7 +4288,7 @@ public struct InvalidDBSecurityGroupStateFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4476,7 +4476,7 @@ public struct SharedSnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4539,7 +4539,7 @@ public struct DBUpgradeDependencyFailureFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4644,7 +4644,7 @@ public struct SubnetAlreadyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4943,7 +4943,7 @@ public struct InsufficientDBClusterCapacityFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4967,7 +4967,7 @@ public struct InvalidDBSnapshotStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4991,7 +4991,7 @@ public struct InvalidRestoreFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6419,7 +6419,7 @@ extension SwitchoverGlobalClusterInput { extension AddSourceIdentifierToSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddSourceIdentifierToSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddSourceIdentifierToSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddSourceIdentifierToSubscriptionResult"] @@ -6431,14 +6431,14 @@ extension AddSourceIdentifierToSubscriptionOutput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { return AddTagsToResourceOutput() } } extension ApplyPendingMaintenanceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplyPendingMaintenanceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyPendingMaintenanceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ApplyPendingMaintenanceActionResult"] @@ -6450,7 +6450,7 @@ extension ApplyPendingMaintenanceActionOutput { extension CopyDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBClusterParameterGroupResult"] @@ -6462,7 +6462,7 @@ extension CopyDBClusterParameterGroupOutput { extension CopyDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBClusterSnapshotResult"] @@ -6474,7 +6474,7 @@ extension CopyDBClusterSnapshotOutput { extension CreateDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterResult"] @@ -6486,7 +6486,7 @@ extension CreateDBClusterOutput { extension CreateDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterParameterGroupResult"] @@ -6498,7 +6498,7 @@ extension CreateDBClusterParameterGroupOutput { extension CreateDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterSnapshotResult"] @@ -6510,7 +6510,7 @@ extension CreateDBClusterSnapshotOutput { extension CreateDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBInstanceResult"] @@ -6522,7 +6522,7 @@ extension CreateDBInstanceOutput { extension CreateDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBSubnetGroupResult"] @@ -6534,7 +6534,7 @@ extension CreateDBSubnetGroupOutput { extension CreateEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateEventSubscriptionResult"] @@ -6546,7 +6546,7 @@ extension CreateEventSubscriptionOutput { extension CreateGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateGlobalClusterResult"] @@ -6558,7 +6558,7 @@ extension CreateGlobalClusterOutput { extension DeleteDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterResult"] @@ -6570,14 +6570,14 @@ extension DeleteDBClusterOutput { extension DeleteDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterParameterGroupOutput { return DeleteDBClusterParameterGroupOutput() } } extension DeleteDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterSnapshotResult"] @@ -6589,7 +6589,7 @@ extension DeleteDBClusterSnapshotOutput { extension DeleteDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBInstanceResult"] @@ -6601,14 +6601,14 @@ extension DeleteDBInstanceOutput { extension DeleteDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBSubnetGroupOutput { return DeleteDBSubnetGroupOutput() } } extension DeleteEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteEventSubscriptionResult"] @@ -6620,7 +6620,7 @@ extension DeleteEventSubscriptionOutput { extension DeleteGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteGlobalClusterResult"] @@ -6632,7 +6632,7 @@ extension DeleteGlobalClusterOutput { extension DescribeCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCertificatesResult"] @@ -6645,7 +6645,7 @@ extension DescribeCertificatesOutput { extension DescribeDBClusterParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterParameterGroupsResult"] @@ -6658,7 +6658,7 @@ extension DescribeDBClusterParameterGroupsOutput { extension DescribeDBClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterParametersResult"] @@ -6671,7 +6671,7 @@ extension DescribeDBClusterParametersOutput { extension DescribeDBClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClustersResult"] @@ -6684,7 +6684,7 @@ extension DescribeDBClustersOutput { extension DescribeDBClusterSnapshotAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterSnapshotAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterSnapshotAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterSnapshotAttributesResult"] @@ -6696,7 +6696,7 @@ extension DescribeDBClusterSnapshotAttributesOutput { extension DescribeDBClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterSnapshotsResult"] @@ -6709,7 +6709,7 @@ extension DescribeDBClusterSnapshotsOutput { extension DescribeDBEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBEngineVersionsResult"] @@ -6722,7 +6722,7 @@ extension DescribeDBEngineVersionsOutput { extension DescribeDBInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBInstancesResult"] @@ -6735,7 +6735,7 @@ extension DescribeDBInstancesOutput { extension DescribeDBSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSubnetGroupsResult"] @@ -6748,7 +6748,7 @@ extension DescribeDBSubnetGroupsOutput { extension DescribeEngineDefaultClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineDefaultClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineDefaultClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEngineDefaultClusterParametersResult"] @@ -6760,7 +6760,7 @@ extension DescribeEngineDefaultClusterParametersOutput { extension DescribeEventCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventCategoriesResult"] @@ -6772,7 +6772,7 @@ extension DescribeEventCategoriesOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventsResult"] @@ -6785,7 +6785,7 @@ extension DescribeEventsOutput { extension DescribeEventSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventSubscriptionsResult"] @@ -6798,7 +6798,7 @@ extension DescribeEventSubscriptionsOutput { extension DescribeGlobalClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeGlobalClustersResult"] @@ -6811,7 +6811,7 @@ extension DescribeGlobalClustersOutput { extension DescribeOrderableDBInstanceOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrderableDBInstanceOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrderableDBInstanceOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOrderableDBInstanceOptionsResult"] @@ -6824,7 +6824,7 @@ extension DescribeOrderableDBInstanceOptionsOutput { extension DescribePendingMaintenanceActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePendingMaintenanceActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePendingMaintenanceActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePendingMaintenanceActionsResult"] @@ -6837,7 +6837,7 @@ extension DescribePendingMaintenanceActionsOutput { extension FailoverDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverDBClusterResult"] @@ -6849,7 +6849,7 @@ extension FailoverDBClusterOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -6861,7 +6861,7 @@ extension ListTagsForResourceOutput { extension ModifyDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterResult"] @@ -6873,7 +6873,7 @@ extension ModifyDBClusterOutput { extension ModifyDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterParameterGroupResult"] @@ -6885,7 +6885,7 @@ extension ModifyDBClusterParameterGroupOutput { extension ModifyDBClusterSnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterSnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterSnapshotAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterSnapshotAttributeResult"] @@ -6897,7 +6897,7 @@ extension ModifyDBClusterSnapshotAttributeOutput { extension ModifyDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBInstanceResult"] @@ -6909,7 +6909,7 @@ extension ModifyDBInstanceOutput { extension ModifyDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBSubnetGroupResult"] @@ -6921,7 +6921,7 @@ extension ModifyDBSubnetGroupOutput { extension ModifyEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyEventSubscriptionResult"] @@ -6933,7 +6933,7 @@ extension ModifyEventSubscriptionOutput { extension ModifyGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyGlobalClusterResult"] @@ -6945,7 +6945,7 @@ extension ModifyGlobalClusterOutput { extension RebootDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootDBInstanceResult"] @@ -6957,7 +6957,7 @@ extension RebootDBInstanceOutput { extension RemoveFromGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFromGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFromGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveFromGlobalClusterResult"] @@ -6969,7 +6969,7 @@ extension RemoveFromGlobalClusterOutput { extension RemoveSourceIdentifierFromSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveSourceIdentifierFromSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveSourceIdentifierFromSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveSourceIdentifierFromSubscriptionResult"] @@ -6981,14 +6981,14 @@ extension RemoveSourceIdentifierFromSubscriptionOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { return RemoveTagsFromResourceOutput() } } extension ResetDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetDBClusterParameterGroupResult"] @@ -7000,7 +7000,7 @@ extension ResetDBClusterParameterGroupOutput { extension RestoreDBClusterFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterFromSnapshotResult"] @@ -7012,7 +7012,7 @@ extension RestoreDBClusterFromSnapshotOutput { extension RestoreDBClusterToPointInTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterToPointInTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterToPointInTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterToPointInTimeResult"] @@ -7024,7 +7024,7 @@ extension RestoreDBClusterToPointInTimeOutput { extension StartDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartDBClusterResult"] @@ -7036,7 +7036,7 @@ extension StartDBClusterOutput { extension StopDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StopDBClusterResult"] @@ -7048,7 +7048,7 @@ extension StopDBClusterOutput { extension SwitchoverGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SwitchoverGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SwitchoverGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SwitchoverGlobalClusterResult"] @@ -7060,7 +7060,7 @@ extension SwitchoverGlobalClusterOutput { enum AddSourceIdentifierToSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7075,7 +7075,7 @@ enum AddSourceIdentifierToSubscriptionOutputError { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7091,7 +7091,7 @@ enum AddTagsToResourceOutputError { enum ApplyPendingMaintenanceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7107,7 +7107,7 @@ enum ApplyPendingMaintenanceActionOutputError { enum CopyDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7123,7 +7123,7 @@ enum CopyDBClusterParameterGroupOutputError { enum CopyDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7142,7 +7142,7 @@ enum CopyDBClusterSnapshotOutputError { enum CreateDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7172,7 +7172,7 @@ enum CreateDBClusterOutputError { enum CreateDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7187,7 +7187,7 @@ enum CreateDBClusterParameterGroupOutputError { enum CreateDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7205,7 +7205,7 @@ enum CreateDBClusterSnapshotOutputError { enum CreateDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7233,7 +7233,7 @@ enum CreateDBInstanceOutputError { enum CreateDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7251,7 +7251,7 @@ enum CreateDBSubnetGroupOutputError { enum CreateEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7271,7 +7271,7 @@ enum CreateEventSubscriptionOutputError { enum CreateGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7288,7 +7288,7 @@ enum CreateGlobalClusterOutputError { enum DeleteDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7306,7 +7306,7 @@ enum DeleteDBClusterOutputError { enum DeleteDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7321,7 +7321,7 @@ enum DeleteDBClusterParameterGroupOutputError { enum DeleteDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7336,7 +7336,7 @@ enum DeleteDBClusterSnapshotOutputError { enum DeleteDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7354,7 +7354,7 @@ enum DeleteDBInstanceOutputError { enum DeleteDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7370,7 +7370,7 @@ enum DeleteDBSubnetGroupOutputError { enum DeleteEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7385,7 +7385,7 @@ enum DeleteEventSubscriptionOutputError { enum DeleteGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7400,7 +7400,7 @@ enum DeleteGlobalClusterOutputError { enum DescribeCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7414,7 +7414,7 @@ enum DescribeCertificatesOutputError { enum DescribeDBClusterParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7428,7 +7428,7 @@ enum DescribeDBClusterParameterGroupsOutputError { enum DescribeDBClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7442,7 +7442,7 @@ enum DescribeDBClusterParametersOutputError { enum DescribeDBClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7456,7 +7456,7 @@ enum DescribeDBClustersOutputError { enum DescribeDBClusterSnapshotAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7470,7 +7470,7 @@ enum DescribeDBClusterSnapshotAttributesOutputError { enum DescribeDBClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7484,7 +7484,7 @@ enum DescribeDBClusterSnapshotsOutputError { enum DescribeDBEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7497,7 +7497,7 @@ enum DescribeDBEngineVersionsOutputError { enum DescribeDBInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7511,7 +7511,7 @@ enum DescribeDBInstancesOutputError { enum DescribeDBSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7525,7 +7525,7 @@ enum DescribeDBSubnetGroupsOutputError { enum DescribeEngineDefaultClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7538,7 +7538,7 @@ enum DescribeEngineDefaultClusterParametersOutputError { enum DescribeEventCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7551,7 +7551,7 @@ enum DescribeEventCategoriesOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7564,7 +7564,7 @@ enum DescribeEventsOutputError { enum DescribeEventSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7578,7 +7578,7 @@ enum DescribeEventSubscriptionsOutputError { enum DescribeGlobalClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7592,7 +7592,7 @@ enum DescribeGlobalClustersOutputError { enum DescribeOrderableDBInstanceOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7605,7 +7605,7 @@ enum DescribeOrderableDBInstanceOptionsOutputError { enum DescribePendingMaintenanceActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7619,7 +7619,7 @@ enum DescribePendingMaintenanceActionsOutputError { enum FailoverDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7635,7 +7635,7 @@ enum FailoverDBClusterOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7651,7 +7651,7 @@ enum ListTagsForResourceOutputError { enum ModifyDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7675,7 +7675,7 @@ enum ModifyDBClusterOutputError { enum ModifyDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7690,7 +7690,7 @@ enum ModifyDBClusterParameterGroupOutputError { enum ModifyDBClusterSnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7706,7 +7706,7 @@ enum ModifyDBClusterSnapshotAttributeOutputError { enum ModifyDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7732,7 +7732,7 @@ enum ModifyDBInstanceOutputError { enum ModifyDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7750,7 +7750,7 @@ enum ModifyDBSubnetGroupOutputError { enum ModifyEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7769,7 +7769,7 @@ enum ModifyEventSubscriptionOutputError { enum ModifyGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7784,7 +7784,7 @@ enum ModifyGlobalClusterOutputError { enum RebootDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7799,7 +7799,7 @@ enum RebootDBInstanceOutputError { enum RemoveFromGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7815,7 +7815,7 @@ enum RemoveFromGlobalClusterOutputError { enum RemoveSourceIdentifierFromSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7830,7 +7830,7 @@ enum RemoveSourceIdentifierFromSubscriptionOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7846,7 +7846,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7861,7 +7861,7 @@ enum ResetDBClusterParameterGroupOutputError { enum RestoreDBClusterFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7888,7 +7888,7 @@ enum RestoreDBClusterFromSnapshotOutputError { enum RestoreDBClusterToPointInTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7916,7 +7916,7 @@ enum RestoreDBClusterToPointInTimeOutputError { enum StartDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7932,7 +7932,7 @@ enum StartDBClusterOutputError { enum StopDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7948,7 +7948,7 @@ enum StopDBClusterOutputError { enum SwitchoverGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/Models.swift b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/Models.swift index b084f22f478..47cf13b2981 100644 --- a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/Models.swift +++ b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -213,7 +213,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -303,7 +303,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1602,7 +1602,7 @@ extension UpdateClusterInput { extension CopyClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1614,7 +1614,7 @@ extension CopyClusterSnapshotOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1626,7 +1626,7 @@ extension CreateClusterOutput { extension CreateClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1638,7 +1638,7 @@ extension CreateClusterSnapshotOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1650,7 +1650,7 @@ extension DeleteClusterOutput { extension DeleteClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1662,7 +1662,7 @@ extension DeleteClusterSnapshotOutput { extension GetClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1674,7 +1674,7 @@ extension GetClusterOutput { extension GetClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1686,7 +1686,7 @@ extension GetClusterSnapshotOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1699,7 +1699,7 @@ extension ListClustersOutput { extension ListClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1712,7 +1712,7 @@ extension ListClusterSnapshotsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1724,7 +1724,7 @@ extension ListTagsForResourceOutput { extension RestoreClusterFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreClusterFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreClusterFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1736,7 +1736,7 @@ extension RestoreClusterFromSnapshotOutput { extension StartClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1748,7 +1748,7 @@ extension StartClusterOutput { extension StopClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1760,21 +1760,21 @@ extension StopClusterOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1786,7 +1786,7 @@ extension UpdateClusterOutput { enum CopyClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1806,7 +1806,7 @@ enum CopyClusterSnapshotOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1825,7 +1825,7 @@ enum CreateClusterOutputError { enum CreateClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1845,7 +1845,7 @@ enum CreateClusterSnapshotOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1864,7 +1864,7 @@ enum DeleteClusterOutputError { enum DeleteClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1883,7 +1883,7 @@ enum DeleteClusterSnapshotOutputError { enum GetClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1901,7 +1901,7 @@ enum GetClusterOutputError { enum GetClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1919,7 +1919,7 @@ enum GetClusterSnapshotOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1936,7 +1936,7 @@ enum ListClustersOutputError { enum ListClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1953,7 +1953,7 @@ enum ListClusterSnapshotsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1970,7 +1970,7 @@ enum ListTagsForResourceOutputError { enum RestoreClusterFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1990,7 +1990,7 @@ enum RestoreClusterFromSnapshotOutputError { enum StartClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2008,7 +2008,7 @@ enum StartClusterOutputError { enum StopClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2026,7 +2026,7 @@ enum StopClusterOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2043,7 +2043,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2060,7 +2060,7 @@ enum UntagResourceOutputError { enum UpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDrs/Sources/AWSDrs/Models.swift b/Sources/Services/AWSDrs/Sources/AWSDrs/Models.swift index 942bcc699c6..0c802dfc5d3 100644 --- a/Sources/Services/AWSDrs/Sources/AWSDrs/Models.swift +++ b/Sources/Services/AWSDrs/Sources/AWSDrs/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -68,7 +68,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -115,7 +115,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -148,7 +148,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -179,7 +179,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -218,7 +218,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -290,7 +290,7 @@ public struct UninitializedAccountException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -376,7 +376,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6858,7 +6858,7 @@ extension UpdateReplicationConfigurationTemplateInput { extension AssociateSourceNetworkStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSourceNetworkStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSourceNetworkStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6870,7 +6870,7 @@ extension AssociateSourceNetworkStackOutput { extension CreateExtendedSourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExtendedSourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExtendedSourceServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6882,7 +6882,7 @@ extension CreateExtendedSourceServerOutput { extension CreateLaunchConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6894,7 +6894,7 @@ extension CreateLaunchConfigurationTemplateOutput { extension CreateReplicationConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6922,7 +6922,7 @@ extension CreateReplicationConfigurationTemplateOutput { extension CreateSourceNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSourceNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSourceNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6934,56 +6934,56 @@ extension CreateSourceNetworkOutput { extension DeleteJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobOutput { return DeleteJobOutput() } } extension DeleteLaunchActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchActionOutput { return DeleteLaunchActionOutput() } } extension DeleteLaunchConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchConfigurationTemplateOutput { return DeleteLaunchConfigurationTemplateOutput() } } extension DeleteRecoveryInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecoveryInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecoveryInstanceOutput { return DeleteRecoveryInstanceOutput() } } extension DeleteReplicationConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationConfigurationTemplateOutput { return DeleteReplicationConfigurationTemplateOutput() } } extension DeleteSourceNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSourceNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSourceNetworkOutput { return DeleteSourceNetworkOutput() } } extension DeleteSourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSourceServerOutput { return DeleteSourceServerOutput() } } extension DescribeJobLogItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobLogItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobLogItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6996,7 +6996,7 @@ extension DescribeJobLogItemsOutput { extension DescribeJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7009,7 +7009,7 @@ extension DescribeJobsOutput { extension DescribeLaunchConfigurationTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLaunchConfigurationTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLaunchConfigurationTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7022,7 +7022,7 @@ extension DescribeLaunchConfigurationTemplatesOutput { extension DescribeRecoveryInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecoveryInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecoveryInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7035,7 +7035,7 @@ extension DescribeRecoveryInstancesOutput { extension DescribeRecoverySnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecoverySnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecoverySnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7048,7 +7048,7 @@ extension DescribeRecoverySnapshotsOutput { extension DescribeReplicationConfigurationTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationConfigurationTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationConfigurationTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7061,7 +7061,7 @@ extension DescribeReplicationConfigurationTemplatesOutput { extension DescribeSourceNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSourceNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSourceNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7074,7 +7074,7 @@ extension DescribeSourceNetworksOutput { extension DescribeSourceServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSourceServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSourceServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7087,14 +7087,14 @@ extension DescribeSourceServersOutput { extension DisconnectRecoveryInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectRecoveryInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectRecoveryInstanceOutput { return DisconnectRecoveryInstanceOutput() } } extension DisconnectSourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectSourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectSourceServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7119,7 +7119,7 @@ extension DisconnectSourceServerOutput { extension ExportSourceNetworkCfnTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportSourceNetworkCfnTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportSourceNetworkCfnTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7131,7 +7131,7 @@ extension ExportSourceNetworkCfnTemplateOutput { extension GetFailbackReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFailbackReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFailbackReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7146,7 +7146,7 @@ extension GetFailbackReplicationConfigurationOutput { extension GetLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7167,7 +7167,7 @@ extension GetLaunchConfigurationOutput { extension GetReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7195,14 +7195,14 @@ extension GetReplicationConfigurationOutput { extension InitializeServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitializeServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitializeServiceOutput { return InitializeServiceOutput() } } extension ListExtensibleSourceServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExtensibleSourceServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExtensibleSourceServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7215,7 +7215,7 @@ extension ListExtensibleSourceServersOutput { extension ListLaunchActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLaunchActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLaunchActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7228,7 +7228,7 @@ extension ListLaunchActionsOutput { extension ListStagingAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStagingAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStagingAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7241,7 +7241,7 @@ extension ListStagingAccountsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7253,7 +7253,7 @@ extension ListTagsForResourceOutput { extension PutLaunchActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLaunchActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLaunchActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7276,7 +7276,7 @@ extension PutLaunchActionOutput { extension RetryDataReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryDataReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryDataReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7301,7 +7301,7 @@ extension RetryDataReplicationOutput { extension ReverseReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReverseReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReverseReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7313,7 +7313,7 @@ extension ReverseReplicationOutput { extension StartFailbackLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFailbackLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFailbackLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7325,7 +7325,7 @@ extension StartFailbackLaunchOutput { extension StartRecoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRecoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRecoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7337,7 +7337,7 @@ extension StartRecoveryOutput { extension StartReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7349,7 +7349,7 @@ extension StartReplicationOutput { extension StartSourceNetworkRecoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSourceNetworkRecoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSourceNetworkRecoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7361,7 +7361,7 @@ extension StartSourceNetworkRecoveryOutput { extension StartSourceNetworkReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSourceNetworkReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSourceNetworkReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7373,14 +7373,14 @@ extension StartSourceNetworkReplicationOutput { extension StopFailbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopFailbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopFailbackOutput { return StopFailbackOutput() } } extension StopReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7392,7 +7392,7 @@ extension StopReplicationOutput { extension StopSourceNetworkReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSourceNetworkReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSourceNetworkReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7404,14 +7404,14 @@ extension StopSourceNetworkReplicationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TerminateRecoveryInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateRecoveryInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateRecoveryInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7423,21 +7423,21 @@ extension TerminateRecoveryInstancesOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateFailbackReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFailbackReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFailbackReplicationConfigurationOutput { return UpdateFailbackReplicationConfigurationOutput() } } extension UpdateLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7458,7 +7458,7 @@ extension UpdateLaunchConfigurationOutput { extension UpdateLaunchConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7470,7 +7470,7 @@ extension UpdateLaunchConfigurationTemplateOutput { extension UpdateReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7498,7 +7498,7 @@ extension UpdateReplicationConfigurationOutput { extension UpdateReplicationConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7526,7 +7526,7 @@ extension UpdateReplicationConfigurationTemplateOutput { enum AssociateSourceNetworkStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7546,7 +7546,7 @@ enum AssociateSourceNetworkStackOutputError { enum CreateExtendedSourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7566,7 +7566,7 @@ enum CreateExtendedSourceServerOutputError { enum CreateLaunchConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7585,7 +7585,7 @@ enum CreateLaunchConfigurationTemplateOutputError { enum CreateReplicationConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7604,7 +7604,7 @@ enum CreateReplicationConfigurationTemplateOutputError { enum CreateSourceNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7624,7 +7624,7 @@ enum CreateSourceNetworkOutputError { enum DeleteJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7642,7 +7642,7 @@ enum DeleteJobOutputError { enum DeleteLaunchActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7660,7 +7660,7 @@ enum DeleteLaunchActionOutputError { enum DeleteLaunchConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7678,7 +7678,7 @@ enum DeleteLaunchConfigurationTemplateOutputError { enum DeleteRecoveryInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7696,7 +7696,7 @@ enum DeleteRecoveryInstanceOutputError { enum DeleteReplicationConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7714,7 +7714,7 @@ enum DeleteReplicationConfigurationTemplateOutputError { enum DeleteSourceNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7732,7 +7732,7 @@ enum DeleteSourceNetworkOutputError { enum DeleteSourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7750,7 +7750,7 @@ enum DeleteSourceServerOutputError { enum DescribeJobLogItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7767,7 +7767,7 @@ enum DescribeJobLogItemsOutputError { enum DescribeJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7784,7 +7784,7 @@ enum DescribeJobsOutputError { enum DescribeLaunchConfigurationTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7802,7 +7802,7 @@ enum DescribeLaunchConfigurationTemplatesOutputError { enum DescribeRecoveryInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7819,7 +7819,7 @@ enum DescribeRecoveryInstancesOutputError { enum DescribeRecoverySnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7837,7 +7837,7 @@ enum DescribeRecoverySnapshotsOutputError { enum DescribeReplicationConfigurationTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7855,7 +7855,7 @@ enum DescribeReplicationConfigurationTemplatesOutputError { enum DescribeSourceNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7872,7 +7872,7 @@ enum DescribeSourceNetworksOutputError { enum DescribeSourceServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7889,7 +7889,7 @@ enum DescribeSourceServersOutputError { enum DisconnectRecoveryInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7908,7 +7908,7 @@ enum DisconnectRecoveryInstanceOutputError { enum DisconnectSourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7926,7 +7926,7 @@ enum DisconnectSourceServerOutputError { enum ExportSourceNetworkCfnTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7945,7 +7945,7 @@ enum ExportSourceNetworkCfnTemplateOutputError { enum GetFailbackReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7962,7 +7962,7 @@ enum GetFailbackReplicationConfigurationOutputError { enum GetLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7979,7 +7979,7 @@ enum GetLaunchConfigurationOutputError { enum GetReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7997,7 +7997,7 @@ enum GetReplicationConfigurationOutputError { enum InitializeServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8014,7 +8014,7 @@ enum InitializeServiceOutputError { enum ListExtensibleSourceServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8032,7 +8032,7 @@ enum ListExtensibleSourceServersOutputError { enum ListLaunchActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8050,7 +8050,7 @@ enum ListLaunchActionsOutputError { enum ListStagingAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8068,7 +8068,7 @@ enum ListStagingAccountsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8086,7 +8086,7 @@ enum ListTagsForResourceOutputError { enum PutLaunchActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8105,7 +8105,7 @@ enum PutLaunchActionOutputError { enum RetryDataReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8123,7 +8123,7 @@ enum RetryDataReplicationOutputError { enum ReverseReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8143,7 +8143,7 @@ enum ReverseReplicationOutputError { enum StartFailbackLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8162,7 +8162,7 @@ enum StartFailbackLaunchOutputError { enum StartRecoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8180,7 +8180,7 @@ enum StartRecoveryOutputError { enum StartReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8198,7 +8198,7 @@ enum StartReplicationOutputError { enum StartSourceNetworkRecoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8217,7 +8217,7 @@ enum StartSourceNetworkRecoveryOutputError { enum StartSourceNetworkReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8235,7 +8235,7 @@ enum StartSourceNetworkReplicationOutputError { enum StopFailbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8252,7 +8252,7 @@ enum StopFailbackOutputError { enum StopReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8270,7 +8270,7 @@ enum StopReplicationOutputError { enum StopSourceNetworkReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8289,7 +8289,7 @@ enum StopSourceNetworkReplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8307,7 +8307,7 @@ enum TagResourceOutputError { enum TerminateRecoveryInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8325,7 +8325,7 @@ enum TerminateRecoveryInstancesOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8343,7 +8343,7 @@ enum UntagResourceOutputError { enum UpdateFailbackReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8361,7 +8361,7 @@ enum UpdateFailbackReplicationConfigurationOutputError { enum UpdateLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8380,7 +8380,7 @@ enum UpdateLaunchConfigurationOutputError { enum UpdateLaunchConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8399,7 +8399,7 @@ enum UpdateLaunchConfigurationTemplateOutputError { enum UpdateReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8419,7 +8419,7 @@ enum UpdateReplicationConfigurationOutputError { enum UpdateReplicationConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/Models.swift b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/Models.swift index 5a1b83e6fd2..7d4a6996e35 100644 --- a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/Models.swift +++ b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1069,7 +1069,7 @@ public struct BackupInUseException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1093,7 +1093,7 @@ public struct BackupNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1211,7 +1211,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1235,7 +1235,7 @@ public struct RequestLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1446,7 +1446,7 @@ public struct InvalidEndpointException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1471,7 +1471,7 @@ public struct ProvisionedThroughputExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1496,7 +1496,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1521,7 +1521,7 @@ public struct ItemCollectionSizeLimitExceededException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1796,7 +1796,7 @@ public struct ContinuousBackupsUnavailableException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1912,7 +1912,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1936,7 +1936,7 @@ public struct TableInUseException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1960,7 +1960,7 @@ public struct TableNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2049,7 +2049,7 @@ public struct GlobalTableAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2487,7 +2487,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3323,7 +3323,7 @@ public struct TransactionConflictException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3419,7 +3419,7 @@ public struct PolicyNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3666,7 +3666,7 @@ public struct ExportNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3987,7 +3987,7 @@ public struct GlobalTableNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4167,7 +4167,7 @@ public struct ImportNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4871,7 +4871,7 @@ public struct DuplicateItemException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4941,7 +4941,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4990,7 +4990,7 @@ public struct TransactionInProgressException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5014,7 +5014,7 @@ public struct ExportConflictException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5038,7 +5038,7 @@ public struct InvalidExportTimeException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5062,7 +5062,7 @@ public struct PointInTimeRecoveryUnavailableException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5185,7 +5185,7 @@ public struct ImportConflictException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5690,7 +5690,7 @@ public struct TableAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5768,7 +5768,7 @@ public struct InvalidRestoreTimeException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5982,7 +5982,7 @@ public struct ReplicaAlreadyExistsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6006,7 +6006,7 @@ public struct ReplicaNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6086,7 +6086,7 @@ public struct IndexNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6882,7 +6882,7 @@ public struct ConditionalCheckFailedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7360,7 +7360,7 @@ public struct TransactionCanceledException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9830,7 +9830,7 @@ extension UpdateTimeToLiveInput { extension BatchExecuteStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchExecuteStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchExecuteStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9843,7 +9843,7 @@ extension BatchExecuteStatementOutput { extension BatchGetItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9857,7 +9857,7 @@ extension BatchGetItemOutput { extension BatchWriteItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchWriteItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchWriteItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9871,7 +9871,7 @@ extension BatchWriteItemOutput { extension CreateBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9883,7 +9883,7 @@ extension CreateBackupOutput { extension CreateGlobalTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlobalTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlobalTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9895,7 +9895,7 @@ extension CreateGlobalTableOutput { extension CreateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9907,7 +9907,7 @@ extension CreateTableOutput { extension DeleteBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9919,7 +9919,7 @@ extension DeleteBackupOutput { extension DeleteItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9933,7 +9933,7 @@ extension DeleteItemOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9945,7 +9945,7 @@ extension DeleteResourcePolicyOutput { extension DeleteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9957,7 +9957,7 @@ extension DeleteTableOutput { extension DescribeBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9969,7 +9969,7 @@ extension DescribeBackupOutput { extension DescribeContinuousBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContinuousBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContinuousBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9981,7 +9981,7 @@ extension DescribeContinuousBackupsOutput { extension DescribeContributorInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContributorInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContributorInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9998,7 +9998,7 @@ extension DescribeContributorInsightsOutput { extension DescribeEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10010,7 +10010,7 @@ extension DescribeEndpointsOutput { extension DescribeExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10022,7 +10022,7 @@ extension DescribeExportOutput { extension DescribeGlobalTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10034,7 +10034,7 @@ extension DescribeGlobalTableOutput { extension DescribeGlobalTableSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalTableSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalTableSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10047,7 +10047,7 @@ extension DescribeGlobalTableSettingsOutput { extension DescribeImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10059,7 +10059,7 @@ extension DescribeImportOutput { extension DescribeKinesisStreamingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKinesisStreamingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKinesisStreamingDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10072,7 +10072,7 @@ extension DescribeKinesisStreamingDestinationOutput { extension DescribeLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10087,7 +10087,7 @@ extension DescribeLimitsOutput { extension DescribeTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10099,7 +10099,7 @@ extension DescribeTableOutput { extension DescribeTableReplicaAutoScalingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTableReplicaAutoScalingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTableReplicaAutoScalingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10111,7 +10111,7 @@ extension DescribeTableReplicaAutoScalingOutput { extension DescribeTimeToLiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTimeToLiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTimeToLiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10123,7 +10123,7 @@ extension DescribeTimeToLiveOutput { extension DisableKinesisStreamingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableKinesisStreamingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableKinesisStreamingDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10138,7 +10138,7 @@ extension DisableKinesisStreamingDestinationOutput { extension EnableKinesisStreamingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableKinesisStreamingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableKinesisStreamingDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10153,7 +10153,7 @@ extension EnableKinesisStreamingDestinationOutput { extension ExecuteStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10168,7 +10168,7 @@ extension ExecuteStatementOutput { extension ExecuteTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10181,7 +10181,7 @@ extension ExecuteTransactionOutput { extension ExportTableToPointInTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportTableToPointInTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportTableToPointInTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10193,7 +10193,7 @@ extension ExportTableToPointInTimeOutput { extension GetItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10206,7 +10206,7 @@ extension GetItemOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10219,7 +10219,7 @@ extension GetResourcePolicyOutput { extension ImportTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10231,7 +10231,7 @@ extension ImportTableOutput { extension ListBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10244,7 +10244,7 @@ extension ListBackupsOutput { extension ListContributorInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContributorInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContributorInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10257,7 +10257,7 @@ extension ListContributorInsightsOutput { extension ListExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10270,7 +10270,7 @@ extension ListExportsOutput { extension ListGlobalTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGlobalTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGlobalTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10283,7 +10283,7 @@ extension ListGlobalTablesOutput { extension ListImportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10296,7 +10296,7 @@ extension ListImportsOutput { extension ListTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10309,7 +10309,7 @@ extension ListTablesOutput { extension ListTagsOfResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOfResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOfResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10322,7 +10322,7 @@ extension ListTagsOfResourceOutput { extension PutItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10336,7 +10336,7 @@ extension PutItemOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10348,7 +10348,7 @@ extension PutResourcePolicyOutput { extension QueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10364,7 +10364,7 @@ extension QueryOutput { extension RestoreTableFromBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreTableFromBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreTableFromBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10376,7 +10376,7 @@ extension RestoreTableFromBackupOutput { extension RestoreTableToPointInTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreTableToPointInTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreTableToPointInTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10388,7 +10388,7 @@ extension RestoreTableToPointInTimeOutput { extension ScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10404,14 +10404,14 @@ extension ScanOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TransactGetItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransactGetItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransactGetItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10424,7 +10424,7 @@ extension TransactGetItemsOutput { extension TransactWriteItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransactWriteItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransactWriteItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10437,14 +10437,14 @@ extension TransactWriteItemsOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateContinuousBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContinuousBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContinuousBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10456,7 +10456,7 @@ extension UpdateContinuousBackupsOutput { extension UpdateContributorInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContributorInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContributorInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10470,7 +10470,7 @@ extension UpdateContributorInsightsOutput { extension UpdateGlobalTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10482,7 +10482,7 @@ extension UpdateGlobalTableOutput { extension UpdateGlobalTableSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalTableSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalTableSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10495,7 +10495,7 @@ extension UpdateGlobalTableSettingsOutput { extension UpdateItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10509,7 +10509,7 @@ extension UpdateItemOutput { extension UpdateKinesisStreamingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKinesisStreamingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKinesisStreamingDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10524,7 +10524,7 @@ extension UpdateKinesisStreamingDestinationOutput { extension UpdateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10536,7 +10536,7 @@ extension UpdateTableOutput { extension UpdateTableReplicaAutoScalingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableReplicaAutoScalingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableReplicaAutoScalingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10548,7 +10548,7 @@ extension UpdateTableReplicaAutoScalingOutput { extension UpdateTimeToLiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTimeToLiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTimeToLiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10560,7 +10560,7 @@ extension UpdateTimeToLiveOutput { enum BatchExecuteStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10575,7 +10575,7 @@ enum BatchExecuteStatementOutputError { enum BatchGetItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10593,7 +10593,7 @@ enum BatchGetItemOutputError { enum BatchWriteItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10612,7 +10612,7 @@ enum BatchWriteItemOutputError { enum CreateBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10632,7 +10632,7 @@ enum CreateBackupOutputError { enum CreateGlobalTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10650,7 +10650,7 @@ enum CreateGlobalTableOutputError { enum CreateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10667,7 +10667,7 @@ enum CreateTableOutputError { enum DeleteBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10685,7 +10685,7 @@ enum DeleteBackupOutputError { enum DeleteItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10706,7 +10706,7 @@ enum DeleteItemOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10725,7 +10725,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10743,7 +10743,7 @@ enum DeleteTableOutputError { enum DescribeBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10759,7 +10759,7 @@ enum DescribeBackupOutputError { enum DescribeContinuousBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10775,7 +10775,7 @@ enum DescribeContinuousBackupsOutputError { enum DescribeContributorInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10790,7 +10790,7 @@ enum DescribeContributorInsightsOutputError { enum DescribeEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10803,7 +10803,7 @@ enum DescribeEndpointsOutputError { enum DescribeExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10819,7 +10819,7 @@ enum DescribeExportOutputError { enum DescribeGlobalTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10835,7 +10835,7 @@ enum DescribeGlobalTableOutputError { enum DescribeGlobalTableSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10851,7 +10851,7 @@ enum DescribeGlobalTableSettingsOutputError { enum DescribeImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10865,7 +10865,7 @@ enum DescribeImportOutputError { enum DescribeKinesisStreamingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10881,7 +10881,7 @@ enum DescribeKinesisStreamingDestinationOutputError { enum DescribeLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10896,7 +10896,7 @@ enum DescribeLimitsOutputError { enum DescribeTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10912,7 +10912,7 @@ enum DescribeTableOutputError { enum DescribeTableReplicaAutoScalingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10927,7 +10927,7 @@ enum DescribeTableReplicaAutoScalingOutputError { enum DescribeTimeToLiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10943,7 +10943,7 @@ enum DescribeTimeToLiveOutputError { enum DisableKinesisStreamingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10961,7 +10961,7 @@ enum DisableKinesisStreamingDestinationOutputError { enum EnableKinesisStreamingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10979,7 +10979,7 @@ enum EnableKinesisStreamingDestinationOutputError { enum ExecuteStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11000,7 +11000,7 @@ enum ExecuteStatementOutputError { enum ExecuteTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11020,7 +11020,7 @@ enum ExecuteTransactionOutputError { enum ExportTableToPointInTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11039,7 +11039,7 @@ enum ExportTableToPointInTimeOutputError { enum GetItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11057,7 +11057,7 @@ enum GetItemOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11074,7 +11074,7 @@ enum GetResourcePolicyOutputError { enum ImportTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11090,7 +11090,7 @@ enum ImportTableOutputError { enum ListBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11105,7 +11105,7 @@ enum ListBackupsOutputError { enum ListContributorInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11120,7 +11120,7 @@ enum ListContributorInsightsOutputError { enum ListExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11135,7 +11135,7 @@ enum ListExportsOutputError { enum ListGlobalTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11150,7 +11150,7 @@ enum ListGlobalTablesOutputError { enum ListImportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11164,7 +11164,7 @@ enum ListImportsOutputError { enum ListTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11179,7 +11179,7 @@ enum ListTablesOutputError { enum ListTagsOfResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11195,7 +11195,7 @@ enum ListTagsOfResourceOutputError { enum PutItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11216,7 +11216,7 @@ enum PutItemOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11235,7 +11235,7 @@ enum PutResourcePolicyOutputError { enum QueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11253,7 +11253,7 @@ enum QueryOutputError { enum RestoreTableFromBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11273,7 +11273,7 @@ enum RestoreTableFromBackupOutputError { enum RestoreTableToPointInTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11294,7 +11294,7 @@ enum RestoreTableToPointInTimeOutputError { enum ScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11312,7 +11312,7 @@ enum ScanOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11330,7 +11330,7 @@ enum TagResourceOutputError { enum TransactGetItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11349,7 +11349,7 @@ enum TransactGetItemsOutputError { enum TransactWriteItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11370,7 +11370,7 @@ enum TransactWriteItemsOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11388,7 +11388,7 @@ enum UntagResourceOutputError { enum UpdateContinuousBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11405,7 +11405,7 @@ enum UpdateContinuousBackupsOutputError { enum UpdateContributorInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11420,7 +11420,7 @@ enum UpdateContributorInsightsOutputError { enum UpdateGlobalTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11439,7 +11439,7 @@ enum UpdateGlobalTableOutputError { enum UpdateGlobalTableSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11459,7 +11459,7 @@ enum UpdateGlobalTableSettingsOutputError { enum UpdateItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11480,7 +11480,7 @@ enum UpdateItemOutputError { enum UpdateKinesisStreamingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11498,7 +11498,7 @@ enum UpdateKinesisStreamingDestinationOutputError { enum UpdateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11516,7 +11516,7 @@ enum UpdateTableOutputError { enum UpdateTableReplicaAutoScalingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11533,7 +11533,7 @@ enum UpdateTableReplicaAutoScalingOutputError { enum UpdateTimeToLiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/Models.swift b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/Models.swift index bd1b601f716..c7876e893ba 100644 --- a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/Models.swift +++ b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -360,7 +360,7 @@ public struct ExpiredIteratorException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -385,7 +385,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -414,7 +414,7 @@ public struct TrimmedDataAccessException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -861,7 +861,7 @@ extension ListStreamsInput { extension DescribeStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -873,7 +873,7 @@ extension DescribeStreamOutput { extension GetRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -886,7 +886,7 @@ extension GetRecordsOutput { extension GetShardIteratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetShardIteratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetShardIteratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -898,7 +898,7 @@ extension GetShardIteratorOutput { extension ListStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -911,7 +911,7 @@ extension ListStreamsOutput { enum DescribeStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -926,7 +926,7 @@ enum DescribeStreamOutputError { enum GetRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -944,7 +944,7 @@ enum GetRecordsOutputError { enum GetShardIteratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -960,7 +960,7 @@ enum GetShardIteratorOutputError { enum ListStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEBS/Sources/AWSEBS/Models.swift b/Sources/Services/AWSEBS/Sources/AWSEBS/Models.swift index 7e3f30c86a1..311c152c52c 100644 --- a/Sources/Services/AWSEBS/Sources/AWSEBS/Models.swift +++ b/Sources/Services/AWSEBS/Sources/AWSEBS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -68,7 +68,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +196,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -254,7 +254,7 @@ public struct RequestThrottledException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -317,7 +317,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -371,7 +371,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -467,7 +467,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -567,7 +567,7 @@ public struct ConcurrentLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -591,7 +591,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -712,6 +712,11 @@ public struct ListChangedBlocksOutput { } } +extension ListChangedBlocksOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListChangedBlocksOutput(blockSize: \(Swift.String(describing: blockSize)), expiryTime: \(Swift.String(describing: expiryTime)), nextToken: \(Swift.String(describing: nextToken)), volumeSize: \(Swift.String(describing: volumeSize)), changedBlocks: \"CONTENT_REDACTED\")"} +} + public struct ListSnapshotBlocksInput { /// The maximum number of blocks to be returned by the request. Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks. To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is null when there are no more blocks to return. public var maxResults: Swift.Int? @@ -1181,7 +1186,7 @@ extension StartSnapshotInput { extension CompleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1193,7 +1198,7 @@ extension CompleteSnapshotOutput { extension GetSnapshotBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSnapshotBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSnapshotBlockOutput { var value = GetSnapshotBlockOutput() if let checksumHeaderValue = httpResponse.headers.value(for: "x-amz-Checksum") { value.checksum = checksumHeaderValue @@ -1218,7 +1223,7 @@ extension GetSnapshotBlockOutput { extension ListChangedBlocksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChangedBlocksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChangedBlocksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1234,7 +1239,7 @@ extension ListChangedBlocksOutput { extension ListSnapshotBlocksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSnapshotBlocksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSnapshotBlocksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1250,7 +1255,7 @@ extension ListSnapshotBlocksOutput { extension PutSnapshotBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSnapshotBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSnapshotBlockOutput { var value = PutSnapshotBlockOutput() if let checksumHeaderValue = httpResponse.headers.value(for: "x-amz-Checksum") { value.checksum = checksumHeaderValue @@ -1264,7 +1269,7 @@ extension PutSnapshotBlockOutput { extension StartSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1286,7 +1291,7 @@ extension StartSnapshotOutput { enum CompleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1305,7 +1310,7 @@ enum CompleteSnapshotOutputError { enum GetSnapshotBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1324,7 +1329,7 @@ enum GetSnapshotBlockOutputError { enum ListChangedBlocksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1343,7 +1348,7 @@ enum ListChangedBlocksOutputError { enum ListSnapshotBlocksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1362,7 +1367,7 @@ enum ListSnapshotBlocksOutputError { enum PutSnapshotBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1381,7 +1386,7 @@ enum PutSnapshotBlockOutputError { enum StartSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift index 1f7e94ba812..7d80d35a3c9 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift @@ -18,8 +18,8 @@ import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode import enum ClientRuntime.ClientLogMode @@ -209,7 +209,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -269,7 +269,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -329,7 +329,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -389,7 +389,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -449,7 +449,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -509,7 +509,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -569,7 +569,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -629,7 +629,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -689,7 +689,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -749,7 +749,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -809,7 +809,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -870,7 +870,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -930,7 +930,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -990,7 +990,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1050,7 +1050,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1110,7 +1110,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1170,7 +1170,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1231,7 +1231,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1291,7 +1291,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1351,7 +1351,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1411,7 +1411,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1471,7 +1471,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1531,7 +1531,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1592,7 +1592,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1652,7 +1652,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1712,7 +1712,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1772,7 +1772,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1832,7 +1832,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1892,7 +1892,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1952,7 +1952,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2013,7 +2013,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2073,7 +2073,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2133,7 +2133,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2193,7 +2193,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2253,7 +2253,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2325,7 +2325,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2385,7 +2385,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2445,7 +2445,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2506,7 +2506,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2566,7 +2566,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2626,7 +2626,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2686,7 +2686,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2746,7 +2746,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2812,7 +2812,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2872,7 +2872,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2932,7 +2932,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2992,7 +2992,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3052,7 +3052,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3112,7 +3112,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3174,7 +3174,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3234,7 +3234,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3294,7 +3294,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3354,7 +3354,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3414,7 +3414,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3474,7 +3474,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3534,7 +3534,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3594,7 +3594,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3655,7 +3655,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3716,7 +3716,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3777,7 +3777,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3838,7 +3838,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3898,7 +3898,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3958,7 +3958,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4018,7 +4018,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4078,7 +4078,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4150,7 +4150,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4210,7 +4210,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4270,7 +4270,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4330,7 +4330,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4390,7 +4390,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4450,7 +4450,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4510,7 +4510,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4578,7 +4578,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4638,7 +4638,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4698,7 +4698,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4758,7 +4758,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4819,7 +4819,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4880,7 +4880,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4941,7 +4941,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5002,7 +5002,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5062,7 +5062,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5122,7 +5122,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5186,7 +5186,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5246,7 +5246,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5306,7 +5306,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5366,7 +5366,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5426,7 +5426,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5487,7 +5487,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5548,7 +5548,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5609,7 +5609,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5669,7 +5669,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5730,7 +5730,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5791,7 +5791,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5852,7 +5852,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5912,7 +5912,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5972,7 +5972,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6032,7 +6032,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6093,7 +6093,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6153,7 +6153,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6220,7 +6220,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6280,7 +6280,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6341,7 +6341,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6401,7 +6401,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6461,7 +6461,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6521,7 +6521,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6581,7 +6581,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6641,7 +6641,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6701,7 +6701,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6761,7 +6761,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6821,7 +6821,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6882,7 +6882,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6943,7 +6943,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7004,7 +7004,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7065,7 +7065,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7125,7 +7125,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7185,7 +7185,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7245,7 +7245,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7305,7 +7305,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7365,7 +7365,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7425,7 +7425,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7485,7 +7485,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7545,7 +7545,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7605,7 +7605,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7665,7 +7665,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7725,7 +7725,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7786,7 +7786,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7847,7 +7847,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7908,7 +7908,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7969,7 +7969,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8030,7 +8030,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8090,7 +8090,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8150,7 +8150,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8217,7 +8217,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8277,7 +8277,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8337,7 +8337,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8397,7 +8397,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8457,7 +8457,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8517,7 +8517,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8577,7 +8577,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8637,7 +8637,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8697,7 +8697,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8757,7 +8757,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8817,7 +8817,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8877,7 +8877,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -8937,7 +8937,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9008,7 +9008,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9068,7 +9068,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9128,7 +9128,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9188,7 +9188,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9248,7 +9248,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9308,7 +9308,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9368,7 +9368,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9428,7 +9428,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9488,7 +9488,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9548,7 +9548,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9608,7 +9608,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9668,7 +9668,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9728,7 +9728,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9788,7 +9788,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9848,7 +9848,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9908,7 +9908,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -9968,7 +9968,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10028,7 +10028,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10088,7 +10088,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10148,7 +10148,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10208,7 +10208,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10268,7 +10268,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10328,7 +10328,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10388,7 +10388,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10448,7 +10448,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10508,7 +10508,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10568,7 +10568,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10628,7 +10628,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10688,7 +10688,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10748,7 +10748,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10808,7 +10808,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10868,7 +10868,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10928,7 +10928,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -10988,7 +10988,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11048,7 +11048,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11108,7 +11108,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11168,7 +11168,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11228,7 +11228,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11288,7 +11288,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11348,7 +11348,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11408,7 +11408,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11468,7 +11468,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11528,7 +11528,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11588,7 +11588,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11648,7 +11648,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11708,7 +11708,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11768,7 +11768,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11828,7 +11828,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11888,7 +11888,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -11948,7 +11948,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12008,7 +12008,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12068,7 +12068,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12128,7 +12128,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12188,7 +12188,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12249,7 +12249,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12310,7 +12310,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12371,7 +12371,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12432,7 +12432,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12492,7 +12492,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12552,7 +12552,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12612,7 +12612,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12672,7 +12672,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12732,7 +12732,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12792,7 +12792,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12852,7 +12852,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12912,7 +12912,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -12972,7 +12972,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13032,7 +13032,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13092,7 +13092,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13152,7 +13152,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13212,7 +13212,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13272,7 +13272,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13332,7 +13332,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13392,7 +13392,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13467,7 +13467,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13527,7 +13527,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13587,7 +13587,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13647,7 +13647,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13707,7 +13707,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13767,7 +13767,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13827,7 +13827,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13887,7 +13887,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -13947,7 +13947,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14007,7 +14007,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14067,7 +14067,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14127,7 +14127,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14187,7 +14187,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14247,7 +14247,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14307,7 +14307,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14367,7 +14367,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14427,7 +14427,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14487,7 +14487,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14547,7 +14547,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14607,7 +14607,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14667,7 +14667,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14727,7 +14727,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14787,7 +14787,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14847,7 +14847,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14907,7 +14907,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -14967,7 +14967,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15027,7 +15027,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15087,7 +15087,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15147,7 +15147,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15207,7 +15207,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15267,7 +15267,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15327,7 +15327,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15387,7 +15387,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15447,7 +15447,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15507,7 +15507,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15567,7 +15567,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15627,7 +15627,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15687,7 +15687,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15747,7 +15747,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15807,7 +15807,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15867,7 +15867,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15927,7 +15927,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -15987,7 +15987,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16047,7 +16047,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16107,7 +16107,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16167,7 +16167,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16227,7 +16227,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16287,7 +16287,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16347,7 +16347,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16407,7 +16407,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16476,7 +16476,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16559,7 +16559,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16619,7 +16619,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16679,7 +16679,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16739,7 +16739,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16799,7 +16799,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16859,7 +16859,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16919,7 +16919,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -16979,7 +16979,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17039,7 +17039,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17099,7 +17099,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17159,7 +17159,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17219,7 +17219,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17279,7 +17279,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17339,7 +17339,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17399,7 +17399,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17459,7 +17459,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17519,7 +17519,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17579,7 +17579,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17639,7 +17639,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17699,7 +17699,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17759,7 +17759,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17819,7 +17819,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17879,7 +17879,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17939,7 +17939,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -17999,7 +17999,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18059,7 +18059,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18119,7 +18119,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18179,7 +18179,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18239,7 +18239,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18299,7 +18299,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18359,7 +18359,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18419,7 +18419,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18479,7 +18479,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18539,7 +18539,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18599,7 +18599,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18659,7 +18659,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18719,7 +18719,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18779,7 +18779,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18839,7 +18839,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18899,7 +18899,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -18959,7 +18959,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19019,7 +19019,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19079,7 +19079,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19139,7 +19139,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19199,7 +19199,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19259,7 +19259,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19319,7 +19319,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19379,7 +19379,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19439,7 +19439,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19499,7 +19499,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19559,7 +19559,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19619,7 +19619,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19688,7 +19688,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19748,7 +19748,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19808,7 +19808,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19868,7 +19868,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19928,7 +19928,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -19988,7 +19988,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20048,7 +20048,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20108,7 +20108,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20168,7 +20168,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20228,7 +20228,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20288,7 +20288,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20348,7 +20348,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20408,7 +20408,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20468,7 +20468,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20528,7 +20528,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20588,7 +20588,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20648,7 +20648,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20708,7 +20708,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20768,7 +20768,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20828,7 +20828,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20888,7 +20888,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -20948,7 +20948,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21008,7 +21008,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21068,7 +21068,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21128,7 +21128,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21188,7 +21188,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21248,7 +21248,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21308,7 +21308,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21368,7 +21368,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21428,7 +21428,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21488,7 +21488,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21548,7 +21548,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21608,7 +21608,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21668,7 +21668,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21728,7 +21728,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21788,7 +21788,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21848,7 +21848,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21908,7 +21908,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21968,7 +21968,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22028,7 +22028,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22088,7 +22088,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22148,7 +22148,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22208,7 +22208,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22268,7 +22268,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22328,7 +22328,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22388,7 +22388,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22448,7 +22448,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22508,7 +22508,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22568,7 +22568,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22628,7 +22628,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22688,7 +22688,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22748,7 +22748,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22809,7 +22809,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22869,7 +22869,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22929,7 +22929,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -22989,7 +22989,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23049,7 +23049,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23109,7 +23109,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23169,7 +23169,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23229,7 +23229,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23289,7 +23289,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23349,7 +23349,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23409,7 +23409,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23469,7 +23469,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23529,7 +23529,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23589,7 +23589,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23649,7 +23649,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23709,7 +23709,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23769,7 +23769,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23829,7 +23829,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23889,7 +23889,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -23957,7 +23957,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24017,7 +24017,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24077,7 +24077,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24137,7 +24137,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24197,7 +24197,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24257,7 +24257,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24317,7 +24317,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24377,7 +24377,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24437,7 +24437,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24497,7 +24497,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24557,7 +24557,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24617,7 +24617,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24677,7 +24677,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24738,7 +24738,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24798,7 +24798,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24858,7 +24858,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24918,7 +24918,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -24978,7 +24978,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25038,7 +25038,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25098,7 +25098,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25158,7 +25158,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25218,7 +25218,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25278,7 +25278,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25338,7 +25338,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25398,7 +25398,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25458,7 +25458,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25518,7 +25518,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25578,7 +25578,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25638,7 +25638,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25698,7 +25698,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25758,7 +25758,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25818,7 +25818,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25878,7 +25878,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25938,7 +25938,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -25998,7 +25998,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26059,7 +26059,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26119,7 +26119,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26179,7 +26179,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26239,7 +26239,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26299,7 +26299,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26359,7 +26359,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26419,7 +26419,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26479,7 +26479,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26539,7 +26539,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26599,7 +26599,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26659,7 +26659,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26730,7 +26730,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26790,7 +26790,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26850,7 +26850,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26910,7 +26910,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -26970,7 +26970,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27030,7 +27030,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27090,7 +27090,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27150,7 +27150,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27210,7 +27210,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27270,7 +27270,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27330,7 +27330,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27390,7 +27390,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27450,7 +27450,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27510,7 +27510,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27570,7 +27570,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27630,7 +27630,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27690,7 +27690,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27750,7 +27750,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27810,7 +27810,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27870,7 +27870,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27930,7 +27930,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -27990,7 +27990,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28050,7 +28050,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28110,7 +28110,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28170,7 +28170,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28230,7 +28230,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28290,7 +28290,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28350,7 +28350,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28410,7 +28410,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28470,7 +28470,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28530,7 +28530,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28590,7 +28590,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28650,7 +28650,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28710,7 +28710,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28770,7 +28770,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28830,7 +28830,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28890,7 +28890,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -28950,7 +28950,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29010,7 +29010,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29070,7 +29070,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29130,7 +29130,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29190,7 +29190,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29250,7 +29250,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29310,7 +29310,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29370,7 +29370,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29430,7 +29430,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29490,7 +29490,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29556,7 +29556,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29616,7 +29616,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29676,7 +29676,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29736,7 +29736,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29796,7 +29796,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29856,7 +29856,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29916,7 +29916,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -29976,7 +29976,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30036,7 +30036,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30096,7 +30096,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30156,7 +30156,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30216,7 +30216,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30276,7 +30276,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30336,7 +30336,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30396,7 +30396,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30456,7 +30456,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30516,7 +30516,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30576,7 +30576,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30636,7 +30636,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30696,7 +30696,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30756,7 +30756,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30816,7 +30816,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30887,7 +30887,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -30947,7 +30947,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31007,7 +31007,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31067,7 +31067,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31127,7 +31127,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31187,7 +31187,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31247,7 +31247,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31307,7 +31307,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31367,7 +31367,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31427,7 +31427,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31487,7 +31487,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31547,7 +31547,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31607,7 +31607,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31667,7 +31667,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31727,7 +31727,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31787,7 +31787,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31858,7 +31858,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31918,7 +31918,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -31978,7 +31978,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32038,7 +32038,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32098,7 +32098,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32158,7 +32158,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32218,7 +32218,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32278,7 +32278,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32339,7 +32339,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32400,7 +32400,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32461,7 +32461,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32522,7 +32522,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32583,7 +32583,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32644,7 +32644,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32705,7 +32705,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32765,7 +32765,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32825,7 +32825,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32885,7 +32885,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -32945,7 +32945,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33005,7 +33005,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33065,7 +33065,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33125,7 +33125,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33185,7 +33185,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33245,7 +33245,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33316,7 +33316,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33376,7 +33376,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33436,7 +33436,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33496,7 +33496,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33556,7 +33556,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33616,7 +33616,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33676,7 +33676,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33736,7 +33736,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33796,7 +33796,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33856,7 +33856,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33917,7 +33917,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -33977,7 +33977,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34037,7 +34037,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34097,7 +34097,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34157,7 +34157,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34218,7 +34218,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34287,7 +34287,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34347,7 +34347,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34407,7 +34407,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34467,7 +34467,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34527,7 +34527,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34587,7 +34587,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34647,7 +34647,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34707,7 +34707,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34767,7 +34767,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34827,7 +34827,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34887,7 +34887,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -34947,7 +34947,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35007,7 +35007,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35067,7 +35067,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35127,7 +35127,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35187,7 +35187,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35247,7 +35247,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35307,7 +35307,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35367,7 +35367,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35427,7 +35427,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35487,7 +35487,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35547,7 +35547,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35607,7 +35607,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35667,7 +35667,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35727,7 +35727,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35787,7 +35787,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35847,7 +35847,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35907,7 +35907,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -35967,7 +35967,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36027,7 +36027,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36087,7 +36087,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36147,7 +36147,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36207,7 +36207,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36267,7 +36267,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36327,7 +36327,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36387,7 +36387,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36447,7 +36447,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36520,7 +36520,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36581,7 +36581,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36642,7 +36642,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36702,7 +36702,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36762,7 +36762,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36822,7 +36822,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36882,7 +36882,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -36942,7 +36942,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37003,7 +37003,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37064,7 +37064,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37124,7 +37124,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37184,7 +37184,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37269,7 +37269,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37329,7 +37329,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37389,7 +37389,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37449,7 +37449,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37509,7 +37509,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37569,7 +37569,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37629,7 +37629,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37689,7 +37689,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -37749,7 +37749,7 @@ extension EC2Client { .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift index e995b9f8781..8ecfe002bef 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum SmithyReadWrite.ReaderError import enum SmithyReadWrite.ReadingClosures @@ -3687,7 +3687,23 @@ extension EC2ClientTypes { /// /// You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time. public var networkBorderGroup: Swift.String? - /// The state of the address pool. + /// The state of the address range. + /// + /// * advertised: The address range is being advertised to the internet by Amazon Web Services. + /// + /// * deprovisioned: The address range is deprovisioned. + /// + /// * failed-deprovision: The request to deprovision the address range was unsuccessful. Ensure that all EIPs from the range have been deallocated and try again. + /// + /// * failed-provision: The request to provision the address range was unsuccessful. + /// + /// * pending-deprovision: You’ve submitted a request to deprovision an address range and it's pending. + /// + /// * pending-provision: You’ve submitted a request to provision an address range and it's pending. + /// + /// * provisioned: The address range is provisioned and can be advertised. The range is not currently advertised. + /// + /// * provisioned-not-publicly-advertisable: The address range is provisioned and cannot be advertised. public var state: EC2ClientTypes.ByoipCidrState? /// Upon success, contains the ID of the address pool. Otherwise, contains an error message. public var statusMessage: Swift.String? @@ -7414,7 +7430,7 @@ extension EC2ClientTypes { extension EC2ClientTypes.S3Storage: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "S3Storage(awsAccessKeyId: \(Swift.String(describing: awsAccessKeyId)), bucket: \(Swift.String(describing: bucket)), prefix: \(Swift.String(describing: `prefix`)), uploadPolicy: \(Swift.String(describing: uploadPolicy)), uploadPolicySignature: \"CONTENT_REDACTED\")"} + "S3Storage(prefix: \(Swift.String(describing: `prefix`)), awsAccessKeyId: \(Swift.String(describing: awsAccessKeyId)), bucket: \(Swift.String(describing: bucket)), uploadPolicy: \(Swift.String(describing: uploadPolicy)), uploadPolicySignature: \"CONTENT_REDACTED\")"} } extension EC2ClientTypes { @@ -9326,6 +9342,7 @@ extension EC2ClientTypes { case c7gn8xlarge case c7gnLarge case c7gnMedium + case c7gnMetal case c7gnXlarge case c7i12xlarge case c7i16xlarge @@ -9670,6 +9687,7 @@ extension EC2ClientTypes { case m7iMetal48xl case m7iXlarge case mac1Metal + case mac2M1ultraMetal case mac2M2Metal case mac2M2proMetal case mac2Metal @@ -9875,6 +9893,18 @@ extension EC2ClientTypes { case r7izMetal16xl case r7izMetal32xl case r7izXlarge + case r8g12xlarge + case r8g16xlarge + case r8g24xlarge + case r8g2xlarge + case r8g48xlarge + case r8g4xlarge + case r8g8xlarge + case r8gLarge + case r8gMedium + case r8gMetal24xl + case r8gMetal48xl + case r8gXlarge case t1Micro case t22xlarge case t2Large @@ -9908,6 +9938,7 @@ extension EC2ClientTypes { case trn132xlarge case trn1n32xlarge case u7i12tb224xlarge + case u7ib12tb224xlarge case u7in16tb224xlarge case u7in24tb224xlarge case u7in32tb224xlarge @@ -10135,6 +10166,7 @@ extension EC2ClientTypes { .c7gn8xlarge, .c7gnLarge, .c7gnMedium, + .c7gnMetal, .c7gnXlarge, .c7i12xlarge, .c7i16xlarge, @@ -10479,6 +10511,7 @@ extension EC2ClientTypes { .m7iMetal48xl, .m7iXlarge, .mac1Metal, + .mac2M1ultraMetal, .mac2M2Metal, .mac2M2proMetal, .mac2Metal, @@ -10684,6 +10717,18 @@ extension EC2ClientTypes { .r7izMetal16xl, .r7izMetal32xl, .r7izXlarge, + .r8g12xlarge, + .r8g16xlarge, + .r8g24xlarge, + .r8g2xlarge, + .r8g48xlarge, + .r8g4xlarge, + .r8g8xlarge, + .r8gLarge, + .r8gMedium, + .r8gMetal24xl, + .r8gMetal48xl, + .r8gXlarge, .t1Micro, .t22xlarge, .t2Large, @@ -10717,6 +10762,7 @@ extension EC2ClientTypes { .trn132xlarge, .trn1n32xlarge, .u7i12tb224xlarge, + .u7ib12tb224xlarge, .u7in16tb224xlarge, .u7in24tb224xlarge, .u7in32tb224xlarge, @@ -10950,6 +10996,7 @@ extension EC2ClientTypes { case .c7gn8xlarge: return "c7gn.8xlarge" case .c7gnLarge: return "c7gn.large" case .c7gnMedium: return "c7gn.medium" + case .c7gnMetal: return "c7gn.metal" case .c7gnXlarge: return "c7gn.xlarge" case .c7i12xlarge: return "c7i.12xlarge" case .c7i16xlarge: return "c7i.16xlarge" @@ -11294,6 +11341,7 @@ extension EC2ClientTypes { case .m7iMetal48xl: return "m7i.metal-48xl" case .m7iXlarge: return "m7i.xlarge" case .mac1Metal: return "mac1.metal" + case .mac2M1ultraMetal: return "mac2-m1ultra.metal" case .mac2M2Metal: return "mac2-m2.metal" case .mac2M2proMetal: return "mac2-m2pro.metal" case .mac2Metal: return "mac2.metal" @@ -11499,6 +11547,18 @@ extension EC2ClientTypes { case .r7izMetal16xl: return "r7iz.metal-16xl" case .r7izMetal32xl: return "r7iz.metal-32xl" case .r7izXlarge: return "r7iz.xlarge" + case .r8g12xlarge: return "r8g.12xlarge" + case .r8g16xlarge: return "r8g.16xlarge" + case .r8g24xlarge: return "r8g.24xlarge" + case .r8g2xlarge: return "r8g.2xlarge" + case .r8g48xlarge: return "r8g.48xlarge" + case .r8g4xlarge: return "r8g.4xlarge" + case .r8g8xlarge: return "r8g.8xlarge" + case .r8gLarge: return "r8g.large" + case .r8gMedium: return "r8g.medium" + case .r8gMetal24xl: return "r8g.metal-24xl" + case .r8gMetal48xl: return "r8g.metal-48xl" + case .r8gXlarge: return "r8g.xlarge" case .t1Micro: return "t1.micro" case .t22xlarge: return "t2.2xlarge" case .t2Large: return "t2.large" @@ -11532,6 +11592,7 @@ extension EC2ClientTypes { case .trn132xlarge: return "trn1.32xlarge" case .trn1n32xlarge: return "trn1n.32xlarge" case .u7i12tb224xlarge: return "u7i-12tb.224xlarge" + case .u7ib12tb224xlarge: return "u7ib-12tb.224xlarge" case .u7in16tb224xlarge: return "u7in-16tb.224xlarge" case .u7in24tb224xlarge: return "u7in-24tb.224xlarge" case .u7in32tb224xlarge: return "u7in-32tb.224xlarge" @@ -13765,7 +13826,7 @@ extension EC2ClientTypes { /// /// Default: hdd and ssd public var localStorageTypes: [EC2ClientTypes.LocalStorageType]? - /// [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999. + /// [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999. public var maxSpotPriceAsPercentageOfOptimalOnDemandPrice: Swift.Int? /// The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits public var memoryGiBPerVCpu: EC2ClientTypes.MemoryGiBPerVCpuRequest? @@ -14744,7 +14805,7 @@ extension EC2ClientTypes { /// /// Default: hdd and ssd public var localStorageTypes: [EC2ClientTypes.LocalStorageType]? - /// [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999. + /// [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999. public var maxSpotPriceAsPercentageOfOptimalOnDemandPrice: Swift.Int? /// The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits public var memoryGiBPerVCpu: EC2ClientTypes.MemoryGiBPerVCpu? @@ -15582,14 +15643,14 @@ public struct CreateInstanceConnectEndpointInput { public var clientToken: Swift.String? /// Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. public var dryRun: Swift.Bool? - /// Indicates whether your client's IP address is preserved as the source. The value is true or false. + /// Indicates whether the client IP address is preserved as the source. The following are the possible values. /// - /// * If true, your client's IP address is used when you connect to a resource. + /// * true - Use the client IP address as the source. /// - /// * If false, the elastic network interface IP address is used when you connect to a resource. + /// * false - Use the network interface IP address as the source. /// /// - /// Default: true + /// Default: false public var preserveClientIp: Swift.Bool? /// One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint. public var securityGroupIds: [Swift.String]? @@ -16554,7 +16615,7 @@ public struct CreateIpamPoolInput { /// The ID of the scope in which you would like to create the IPAM pool. /// This member is required. public var ipamScopeId: Swift.String? - /// In IPAM, the locale is the Amazon Web Services Region where you want to make an IPAM pool available for allocations. Only resources in the same Region as the locale of the pool can get IP address allocations from the pool. You can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares a locale with the VPC’s Region. Note that once you choose a Locale for a pool, you cannot modify it. If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool. Possible values: Any Amazon Web Services Region, such as us-east-1. + /// In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations ([supported Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)). If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool. Possible values: Any Amazon Web Services Region, such as us-east-1. public var locale: Swift.String? /// The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is byoip. For more information, see [Create IPv6 pools](https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html) in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if PublicIpSource is amazon. For information on increasing the default limit, see [ Quotas for your IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in the Amazon VPC IPAM User Guide. public var publicIpSource: EC2ClientTypes.IpamPoolPublicIpSource? @@ -16774,7 +16835,7 @@ extension EC2ClientTypes { public var ipamScopeArn: Swift.String? /// In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict. public var ipamScopeType: EC2ClientTypes.IpamScopeType? - /// The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region where you want to make an IPAM pool available for allocations. Only resources in the same Region as the locale of the pool can get IP address allocations from the pool. You can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares a locale with the VPC’s Region. Note that once you choose a Locale for a pool, you cannot modify it. If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error. + /// The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations ([supported Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)). If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error. public var locale: Swift.String? /// The Amazon Web Services account ID of the owner of the IPAM pool. public var ownerId: Swift.String? @@ -22051,15 +22112,19 @@ public struct CreatePlacementGroupOutput { public struct CreatePublicIpv4PoolInput { /// A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. public var dryRun: Swift.Bool? + /// The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see [Local Zone availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) in the Amazon EC2 User Guide. + public var networkBorderGroup: Swift.String? /// The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. public var tagSpecifications: [EC2ClientTypes.TagSpecification]? public init( dryRun: Swift.Bool? = nil, + networkBorderGroup: Swift.String? = nil, tagSpecifications: [EC2ClientTypes.TagSpecification]? = nil ) { self.dryRun = dryRun + self.networkBorderGroup = networkBorderGroup self.tagSpecifications = tagSpecifications } } @@ -26664,7 +26729,7 @@ public struct CreateVolumeInput { public var kmsKeyId: Swift.String? /// Indicates whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 [Instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) in the same Availability Zone. This parameter is supported with io1 and io2 volumes only. For more information, see [ Amazon EBS Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) in the Amazon EBS User Guide. public var multiAttachEnabled: Swift.Bool? - /// The Amazon Resource Name (ARN) of the Outpost. + /// The Amazon Resource Name (ARN) of the Outpost on which to create the volume. If you intend to use a volume with an instance running on an outpost, then you must create the volume on the same outpost as the instance. You can't use a volume created in an Amazon Web Services Region with an instance on an Amazon Web Services outpost, or the other way around. public var outpostArn: Swift.String? /// The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size. The following are the supported volumes sizes for each volume type: /// @@ -30318,16 +30383,20 @@ public struct DeletePlacementGroupInput { public struct DeletePublicIpv4PoolInput { /// A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. public var dryRun: Swift.Bool? + /// The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see [Local Zone availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) in the Amazon EC2 User Guide. + public var networkBorderGroup: Swift.String? /// The ID of the public IPv4 pool you want to delete. /// This member is required. public var poolId: Swift.String? public init( dryRun: Swift.Bool? = nil, + networkBorderGroup: Swift.String? = nil, poolId: Swift.String? = nil ) { self.dryRun = dryRun + self.networkBorderGroup = networkBorderGroup self.poolId = poolId } } @@ -49747,7 +49816,7 @@ public struct DescribeVolumesInput { public var maxResults: Swift.Int? /// The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request. public var nextToken: Swift.String? - /// The volume IDs. + /// The volume IDs. If not specified, then all volumes are included in the response. public var volumeIds: [Swift.String]? public init( @@ -55592,7 +55661,7 @@ extension EC2ClientTypes { public var instanceId: Swift.String? /// The resource discovery ID. public var ipamResourceDiscoveryId: Swift.String? - /// The network border group that the resource that the IP address is assigned to is in. + /// The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see [Local Zone availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) in the Amazon EC2 User Guide. public var networkBorderGroup: Swift.String? /// The description of the network interface that IP address is assigned to. public var networkInterfaceDescription: Swift.String? @@ -55715,6 +55784,35 @@ public struct GetIpamDiscoveredResourceCidrsInput { } } +extension EC2ClientTypes { + + public enum IpamNetworkInterfaceAttachmentStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case available + case inUse + case sdkUnknown(Swift.String) + + public static var allCases: [IpamNetworkInterfaceAttachmentStatus] { + return [ + .available, + .inUse + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .available: return "available" + case .inUse: return "in-use" + case let .sdkUnknown(s): return s + } + } + } +} + extension EC2ClientTypes { public enum IpamResourceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -55759,6 +55857,8 @@ extension EC2ClientTypes { extension EC2ClientTypes { /// An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource. public struct IpamDiscoveredResourceCidr { + /// The Availability Zone ID. + public var availabilityZoneId: Swift.String? /// The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following: /// /// * For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs. @@ -55769,6 +55869,8 @@ extension EC2ClientTypes { public var ipUsage: Swift.Double? /// The resource discovery ID. public var ipamResourceDiscoveryId: Swift.String? + /// For elastic IP addresses, this is the status of an attached network interface. + public var networkInterfaceAttachmentStatus: EC2ClientTypes.IpamNetworkInterfaceAttachmentStatus? /// The resource CIDR. public var resourceCidr: Swift.String? /// The resource ID. @@ -55787,8 +55889,10 @@ extension EC2ClientTypes { public var vpcId: Swift.String? public init( + availabilityZoneId: Swift.String? = nil, ipUsage: Swift.Double? = nil, ipamResourceDiscoveryId: Swift.String? = nil, + networkInterfaceAttachmentStatus: EC2ClientTypes.IpamNetworkInterfaceAttachmentStatus? = nil, resourceCidr: Swift.String? = nil, resourceId: Swift.String? = nil, resourceOwnerId: Swift.String? = nil, @@ -55799,8 +55903,10 @@ extension EC2ClientTypes { vpcId: Swift.String? = nil ) { + self.availabilityZoneId = availabilityZoneId self.ipUsage = ipUsage self.ipamResourceDiscoveryId = ipamResourceDiscoveryId + self.networkInterfaceAttachmentStatus = networkInterfaceAttachmentStatus self.resourceCidr = resourceCidr self.resourceId = resourceId self.resourceOwnerId = resourceOwnerId @@ -56008,6 +56114,8 @@ extension EC2ClientTypes { extension EC2ClientTypes { /// The CIDR for an IPAM resource. public struct IpamResourceCidr { + /// The Availability Zone ID. + public var availabilityZoneId: Swift.String? /// The compliance status of the IPAM resource. For more information on compliance statuses, see [Monitor CIDR usage by resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) in the Amazon VPC IPAM User Guide. public var complianceStatus: EC2ClientTypes.IpamComplianceStatus? /// The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following: @@ -56046,6 +56154,7 @@ extension EC2ClientTypes { public var vpcId: Swift.String? public init( + availabilityZoneId: Swift.String? = nil, complianceStatus: EC2ClientTypes.IpamComplianceStatus? = nil, ipUsage: Swift.Double? = nil, ipamId: Swift.String? = nil, @@ -56063,6 +56172,7 @@ extension EC2ClientTypes { vpcId: Swift.String? = nil ) { + self.availabilityZoneId = availabilityZoneId self.complianceStatus = complianceStatus self.ipUsage = ipUsage self.ipamId = ipamId @@ -59402,7 +59512,7 @@ public struct ModifyInstanceAttributeInput { public var sourceDestCheck: EC2ClientTypes.AttributeBooleanValue? /// Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance. There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time. This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable. public var sriovNetSupport: EC2ClientTypes.AttributeValue? - /// Changes the instance's user data to the specified value. If you are using an Amazon Web Services SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. + /// Changes the instance's user data to the specified value. User data must be base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. For more information, see [Work with instance user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html). public var userData: EC2ClientTypes.BlobAttributeValue? /// A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute. public var value: Swift.String? @@ -59997,12 +60107,14 @@ extension EC2ClientTypes { public enum HostTenancy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case dedicated + case `default` case host case sdkUnknown(Swift.String) public static var allCases: [HostTenancy] { return [ .dedicated, + .default, .host ] } @@ -60015,6 +60127,7 @@ extension EC2ClientTypes { public var rawValue: Swift.String { switch self { case .dedicated: return "dedicated" + case .default: return "default" case .host: return "host" case let .sdkUnknown(s): return s } @@ -63086,6 +63199,8 @@ public struct ProvisionPublicIpv4PoolCidrInput { /// The netmask length of the CIDR you would like to allocate to the public IPv4 pool. /// This member is required. public var netmaskLength: Swift.Int? + /// The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see [Local Zone availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) in the Amazon EC2 User Guide. + public var networkBorderGroup: Swift.String? /// The ID of the public IPv4 pool you would like to use for this CIDR. /// This member is required. public var poolId: Swift.String? @@ -63094,12 +63209,14 @@ public struct ProvisionPublicIpv4PoolCidrInput { dryRun: Swift.Bool? = nil, ipamPoolId: Swift.String? = nil, netmaskLength: Swift.Int? = nil, + networkBorderGroup: Swift.String? = nil, poolId: Swift.String? = nil ) { self.dryRun = dryRun self.ipamPoolId = ipamPoolId self.netmaskLength = netmaskLength + self.networkBorderGroup = networkBorderGroup self.poolId = poolId } } @@ -65499,7 +65616,7 @@ public struct RunInstancesInput { /// /// To tag a resource after it has been created, see [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). public var tagSpecifications: [EC2ClientTypes.TagSpecification]? - /// The user data script to make available to the instance. For more information, see [Run commands on your Amazon EC2 instance at launch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) in the Amazon EC2 User Guide. If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB. + /// The user data to make available to the instance. User data must be base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. For more information, see [Work with instance user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html). public var userData: Swift.String? public init( @@ -72589,6 +72706,7 @@ extension CreatePublicIpv4PoolInput { static func write(value: CreatePublicIpv4PoolInput?, to writer: SmithyFormURL.Writer) throws { guard let value else { return } try writer["DryRun"].write(value.dryRun) + try writer["NetworkBorderGroup"].write(value.networkBorderGroup) try writer["TagSpecification"].writeList(value.tagSpecifications, memberWritingClosure: EC2ClientTypes.TagSpecification.write(value:to:), memberNodeInfo: "Item", isFlattened: true) try writer["Action"].write("CreatePublicIpv4Pool") try writer["Version"].write("2016-11-15") @@ -73659,6 +73777,7 @@ extension DeletePublicIpv4PoolInput { static func write(value: DeletePublicIpv4PoolInput?, to writer: SmithyFormURL.Writer) throws { guard let value else { return } try writer["DryRun"].write(value.dryRun) + try writer["NetworkBorderGroup"].write(value.networkBorderGroup) try writer["PoolId"].write(value.poolId) try writer["Action"].write("DeletePublicIpv4Pool") try writer["Version"].write("2016-11-15") @@ -78773,6 +78892,7 @@ extension ProvisionPublicIpv4PoolCidrInput { try writer["DryRun"].write(value.dryRun) try writer["IpamPoolId"].write(value.ipamPoolId) try writer["NetmaskLength"].write(value.netmaskLength) + try writer["NetworkBorderGroup"].write(value.networkBorderGroup) try writer["PoolId"].write(value.poolId) try writer["Action"].write("ProvisionPublicIpv4PoolCidr") try writer["Version"].write("2016-11-15") @@ -79656,7 +79776,7 @@ extension WithdrawByoipCidrInput { extension AcceptAddressTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptAddressTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptAddressTransferOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79668,7 +79788,7 @@ extension AcceptAddressTransferOutput { extension AcceptReservedInstancesExchangeQuoteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptReservedInstancesExchangeQuoteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptReservedInstancesExchangeQuoteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79680,7 +79800,7 @@ extension AcceptReservedInstancesExchangeQuoteOutput { extension AcceptTransitGatewayMulticastDomainAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptTransitGatewayMulticastDomainAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptTransitGatewayMulticastDomainAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79692,7 +79812,7 @@ extension AcceptTransitGatewayMulticastDomainAssociationsOutput { extension AcceptTransitGatewayPeeringAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptTransitGatewayPeeringAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptTransitGatewayPeeringAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79704,7 +79824,7 @@ extension AcceptTransitGatewayPeeringAttachmentOutput { extension AcceptTransitGatewayVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptTransitGatewayVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptTransitGatewayVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79716,7 +79836,7 @@ extension AcceptTransitGatewayVpcAttachmentOutput { extension AcceptVpcEndpointConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptVpcEndpointConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptVpcEndpointConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79728,7 +79848,7 @@ extension AcceptVpcEndpointConnectionsOutput { extension AcceptVpcPeeringConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptVpcPeeringConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptVpcPeeringConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79740,7 +79860,7 @@ extension AcceptVpcPeeringConnectionOutput { extension AdvertiseByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdvertiseByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdvertiseByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79752,7 +79872,7 @@ extension AdvertiseByoipCidrOutput { extension AllocateAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79771,7 +79891,7 @@ extension AllocateAddressOutput { extension AllocateHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79783,7 +79903,7 @@ extension AllocateHostsOutput { extension AllocateIpamPoolCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateIpamPoolCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateIpamPoolCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79795,7 +79915,7 @@ extension AllocateIpamPoolCidrOutput { extension ApplySecurityGroupsToClientVpnTargetNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplySecurityGroupsToClientVpnTargetNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplySecurityGroupsToClientVpnTargetNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79807,7 +79927,7 @@ extension ApplySecurityGroupsToClientVpnTargetNetworkOutput { extension AssignIpv6AddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssignIpv6AddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssignIpv6AddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79821,7 +79941,7 @@ extension AssignIpv6AddressesOutput { extension AssignPrivateIpAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssignPrivateIpAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssignPrivateIpAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79835,7 +79955,7 @@ extension AssignPrivateIpAddressesOutput { extension AssignPrivateNatGatewayAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssignPrivateNatGatewayAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssignPrivateNatGatewayAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79848,7 +79968,7 @@ extension AssignPrivateNatGatewayAddressOutput { extension AssociateAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79860,7 +79980,7 @@ extension AssociateAddressOutput { extension AssociateClientVpnTargetNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateClientVpnTargetNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateClientVpnTargetNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79873,14 +79993,14 @@ extension AssociateClientVpnTargetNetworkOutput { extension AssociateDhcpOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDhcpOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDhcpOptionsOutput { return AssociateDhcpOptionsOutput() } } extension AssociateEnclaveCertificateIamRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateEnclaveCertificateIamRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateEnclaveCertificateIamRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79894,7 +80014,7 @@ extension AssociateEnclaveCertificateIamRoleOutput { extension AssociateIamInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateIamInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIamInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79906,7 +80026,7 @@ extension AssociateIamInstanceProfileOutput { extension AssociateInstanceEventWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateInstanceEventWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateInstanceEventWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79918,7 +80038,7 @@ extension AssociateInstanceEventWindowOutput { extension AssociateIpamByoasnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateIpamByoasnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIpamByoasnOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79930,7 +80050,7 @@ extension AssociateIpamByoasnOutput { extension AssociateIpamResourceDiscoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateIpamResourceDiscoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIpamResourceDiscoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79942,7 +80062,7 @@ extension AssociateIpamResourceDiscoveryOutput { extension AssociateNatGatewayAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateNatGatewayAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateNatGatewayAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79955,7 +80075,7 @@ extension AssociateNatGatewayAddressOutput { extension AssociateRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79968,7 +80088,7 @@ extension AssociateRouteTableOutput { extension AssociateSubnetCidrBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSubnetCidrBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSubnetCidrBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79981,7 +80101,7 @@ extension AssociateSubnetCidrBlockOutput { extension AssociateTransitGatewayMulticastDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTransitGatewayMulticastDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTransitGatewayMulticastDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -79993,7 +80113,7 @@ extension AssociateTransitGatewayMulticastDomainOutput { extension AssociateTransitGatewayPolicyTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTransitGatewayPolicyTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTransitGatewayPolicyTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80005,7 +80125,7 @@ extension AssociateTransitGatewayPolicyTableOutput { extension AssociateTransitGatewayRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTransitGatewayRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTransitGatewayRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80017,7 +80137,7 @@ extension AssociateTransitGatewayRouteTableOutput { extension AssociateTrunkInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTrunkInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTrunkInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80030,7 +80150,7 @@ extension AssociateTrunkInterfaceOutput { extension AssociateVpcCidrBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateVpcCidrBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateVpcCidrBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80044,7 +80164,7 @@ extension AssociateVpcCidrBlockOutput { extension AttachClassicLinkVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachClassicLinkVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachClassicLinkVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80056,14 +80176,14 @@ extension AttachClassicLinkVpcOutput { extension AttachInternetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachInternetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachInternetGatewayOutput { return AttachInternetGatewayOutput() } } extension AttachNetworkInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachNetworkInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachNetworkInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80076,7 +80196,7 @@ extension AttachNetworkInterfaceOutput { extension AttachVerifiedAccessTrustProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachVerifiedAccessTrustProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachVerifiedAccessTrustProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80089,7 +80209,7 @@ extension AttachVerifiedAccessTrustProviderOutput { extension AttachVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80108,7 +80228,7 @@ extension AttachVolumeOutput { extension AttachVpnGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachVpnGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachVpnGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80120,7 +80240,7 @@ extension AttachVpnGatewayOutput { extension AuthorizeClientVpnIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeClientVpnIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeClientVpnIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80132,7 +80252,7 @@ extension AuthorizeClientVpnIngressOutput { extension AuthorizeSecurityGroupEgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeSecurityGroupEgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeSecurityGroupEgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80145,7 +80265,7 @@ extension AuthorizeSecurityGroupEgressOutput { extension AuthorizeSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80158,7 +80278,7 @@ extension AuthorizeSecurityGroupIngressOutput { extension BundleInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BundleInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BundleInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80170,7 +80290,7 @@ extension BundleInstanceOutput { extension CancelBundleTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelBundleTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelBundleTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80182,7 +80302,7 @@ extension CancelBundleTaskOutput { extension CancelCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelCapacityReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80194,7 +80314,7 @@ extension CancelCapacityReservationOutput { extension CancelCapacityReservationFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelCapacityReservationFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelCapacityReservationFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80207,21 +80327,21 @@ extension CancelCapacityReservationFleetsOutput { extension CancelConversionTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelConversionTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelConversionTaskOutput { return CancelConversionTaskOutput() } } extension CancelExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelExportTaskOutput { return CancelExportTaskOutput() } } extension CancelImageLaunchPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelImageLaunchPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelImageLaunchPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80233,7 +80353,7 @@ extension CancelImageLaunchPermissionOutput { extension CancelImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80247,7 +80367,7 @@ extension CancelImportTaskOutput { extension CancelReservedInstancesListingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelReservedInstancesListingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelReservedInstancesListingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80259,7 +80379,7 @@ extension CancelReservedInstancesListingOutput { extension CancelSpotFleetRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSpotFleetRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSpotFleetRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80272,7 +80392,7 @@ extension CancelSpotFleetRequestsOutput { extension CancelSpotInstanceRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSpotInstanceRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSpotInstanceRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80284,7 +80404,7 @@ extension CancelSpotInstanceRequestsOutput { extension ConfirmProductInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmProductInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmProductInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80297,7 +80417,7 @@ extension ConfirmProductInstanceOutput { extension CopyFpgaImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyFpgaImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyFpgaImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80309,7 +80429,7 @@ extension CopyFpgaImageOutput { extension CopyImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80321,7 +80441,7 @@ extension CopyImageOutput { extension CopySnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopySnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopySnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80334,7 +80454,7 @@ extension CopySnapshotOutput { extension CreateCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCapacityReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80346,7 +80466,7 @@ extension CreateCapacityReservationOutput { extension CreateCapacityReservationFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCapacityReservationFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCapacityReservationFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80368,7 +80488,7 @@ extension CreateCapacityReservationFleetOutput { extension CreateCarrierGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCarrierGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCarrierGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80380,7 +80500,7 @@ extension CreateCarrierGatewayOutput { extension CreateClientVpnEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClientVpnEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClientVpnEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80394,7 +80514,7 @@ extension CreateClientVpnEndpointOutput { extension CreateClientVpnRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClientVpnRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClientVpnRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80406,7 +80526,7 @@ extension CreateClientVpnRouteOutput { extension CreateCoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80418,7 +80538,7 @@ extension CreateCoipCidrOutput { extension CreateCoipPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCoipPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCoipPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80430,7 +80550,7 @@ extension CreateCoipPoolOutput { extension CreateCustomerGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomerGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomerGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80442,7 +80562,7 @@ extension CreateCustomerGatewayOutput { extension CreateDefaultSubnetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDefaultSubnetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDefaultSubnetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80454,7 +80574,7 @@ extension CreateDefaultSubnetOutput { extension CreateDefaultVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDefaultVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDefaultVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80466,7 +80586,7 @@ extension CreateDefaultVpcOutput { extension CreateDhcpOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDhcpOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDhcpOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80478,7 +80598,7 @@ extension CreateDhcpOptionsOutput { extension CreateEgressOnlyInternetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEgressOnlyInternetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEgressOnlyInternetGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80491,7 +80611,7 @@ extension CreateEgressOnlyInternetGatewayOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80505,7 +80625,7 @@ extension CreateFleetOutput { extension CreateFlowLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFlowLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80519,7 +80639,7 @@ extension CreateFlowLogsOutput { extension CreateFpgaImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFpgaImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFpgaImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80532,7 +80652,7 @@ extension CreateFpgaImageOutput { extension CreateImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80544,7 +80664,7 @@ extension CreateImageOutput { extension CreateInstanceConnectEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceConnectEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceConnectEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80557,7 +80677,7 @@ extension CreateInstanceConnectEndpointOutput { extension CreateInstanceEventWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceEventWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceEventWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80569,7 +80689,7 @@ extension CreateInstanceEventWindowOutput { extension CreateInstanceExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceExportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80581,7 +80701,7 @@ extension CreateInstanceExportTaskOutput { extension CreateInternetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInternetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInternetGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80593,7 +80713,7 @@ extension CreateInternetGatewayOutput { extension CreateIpamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIpamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIpamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80605,7 +80725,7 @@ extension CreateIpamOutput { extension CreateIpamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIpamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIpamPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80617,7 +80737,7 @@ extension CreateIpamPoolOutput { extension CreateIpamResourceDiscoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIpamResourceDiscoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIpamResourceDiscoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80629,7 +80749,7 @@ extension CreateIpamResourceDiscoveryOutput { extension CreateIpamScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIpamScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIpamScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80641,7 +80761,7 @@ extension CreateIpamScopeOutput { extension CreateKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80657,7 +80777,7 @@ extension CreateKeyPairOutput { extension CreateLaunchTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80670,7 +80790,7 @@ extension CreateLaunchTemplateOutput { extension CreateLaunchTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80683,7 +80803,7 @@ extension CreateLaunchTemplateVersionOutput { extension CreateLocalGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocalGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocalGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80695,7 +80815,7 @@ extension CreateLocalGatewayRouteOutput { extension CreateLocalGatewayRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocalGatewayRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocalGatewayRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80707,7 +80827,7 @@ extension CreateLocalGatewayRouteTableOutput { extension CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80719,7 +80839,7 @@ extension CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { extension CreateLocalGatewayRouteTableVpcAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocalGatewayRouteTableVpcAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocalGatewayRouteTableVpcAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80731,7 +80851,7 @@ extension CreateLocalGatewayRouteTableVpcAssociationOutput { extension CreateManagedPrefixListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateManagedPrefixListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateManagedPrefixListOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80743,7 +80863,7 @@ extension CreateManagedPrefixListOutput { extension CreateNatGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNatGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNatGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80756,7 +80876,7 @@ extension CreateNatGatewayOutput { extension CreateNetworkAclOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkAclOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkAclOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80769,14 +80889,14 @@ extension CreateNetworkAclOutput { extension CreateNetworkAclEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkAclEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkAclEntryOutput { return CreateNetworkAclEntryOutput() } } extension CreateNetworkInsightsAccessScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkInsightsAccessScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkInsightsAccessScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80789,7 +80909,7 @@ extension CreateNetworkInsightsAccessScopeOutput { extension CreateNetworkInsightsPathOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkInsightsPathOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkInsightsPathOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80801,7 +80921,7 @@ extension CreateNetworkInsightsPathOutput { extension CreateNetworkInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80814,7 +80934,7 @@ extension CreateNetworkInterfaceOutput { extension CreateNetworkInterfacePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkInterfacePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkInterfacePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80826,7 +80946,7 @@ extension CreateNetworkInterfacePermissionOutput { extension CreatePlacementGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlacementGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlacementGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80838,7 +80958,7 @@ extension CreatePlacementGroupOutput { extension CreatePublicIpv4PoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePublicIpv4PoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePublicIpv4PoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80850,7 +80970,7 @@ extension CreatePublicIpv4PoolOutput { extension CreateReplaceRootVolumeTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplaceRootVolumeTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplaceRootVolumeTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80862,7 +80982,7 @@ extension CreateReplaceRootVolumeTaskOutput { extension CreateReservedInstancesListingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReservedInstancesListingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReservedInstancesListingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80874,7 +80994,7 @@ extension CreateReservedInstancesListingOutput { extension CreateRestoreImageTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRestoreImageTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRestoreImageTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80886,7 +81006,7 @@ extension CreateRestoreImageTaskOutput { extension CreateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80898,7 +81018,7 @@ extension CreateRouteOutput { extension CreateRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80911,7 +81031,7 @@ extension CreateRouteTableOutput { extension CreateSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80924,7 +81044,7 @@ extension CreateSecurityGroupOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80953,7 +81073,7 @@ extension CreateSnapshotOutput { extension CreateSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80965,7 +81085,7 @@ extension CreateSnapshotsOutput { extension CreateSpotDatafeedSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSpotDatafeedSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSpotDatafeedSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80977,7 +81097,7 @@ extension CreateSpotDatafeedSubscriptionOutput { extension CreateStoreImageTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStoreImageTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStoreImageTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -80989,7 +81109,7 @@ extension CreateStoreImageTaskOutput { extension CreateSubnetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubnetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubnetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81001,7 +81121,7 @@ extension CreateSubnetOutput { extension CreateSubnetCidrReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubnetCidrReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubnetCidrReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81013,14 +81133,14 @@ extension CreateSubnetCidrReservationOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension CreateTrafficMirrorFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficMirrorFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficMirrorFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81033,7 +81153,7 @@ extension CreateTrafficMirrorFilterOutput { extension CreateTrafficMirrorFilterRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficMirrorFilterRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficMirrorFilterRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81046,7 +81166,7 @@ extension CreateTrafficMirrorFilterRuleOutput { extension CreateTrafficMirrorSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficMirrorSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficMirrorSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81059,7 +81179,7 @@ extension CreateTrafficMirrorSessionOutput { extension CreateTrafficMirrorTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficMirrorTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficMirrorTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81072,7 +81192,7 @@ extension CreateTrafficMirrorTargetOutput { extension CreateTransitGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81084,7 +81204,7 @@ extension CreateTransitGatewayOutput { extension CreateTransitGatewayConnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayConnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayConnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81096,7 +81216,7 @@ extension CreateTransitGatewayConnectOutput { extension CreateTransitGatewayConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81108,7 +81228,7 @@ extension CreateTransitGatewayConnectPeerOutput { extension CreateTransitGatewayMulticastDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayMulticastDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayMulticastDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81120,7 +81240,7 @@ extension CreateTransitGatewayMulticastDomainOutput { extension CreateTransitGatewayPeeringAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayPeeringAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayPeeringAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81132,7 +81252,7 @@ extension CreateTransitGatewayPeeringAttachmentOutput { extension CreateTransitGatewayPolicyTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayPolicyTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayPolicyTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81144,7 +81264,7 @@ extension CreateTransitGatewayPolicyTableOutput { extension CreateTransitGatewayPrefixListReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayPrefixListReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayPrefixListReferenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81156,7 +81276,7 @@ extension CreateTransitGatewayPrefixListReferenceOutput { extension CreateTransitGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81168,7 +81288,7 @@ extension CreateTransitGatewayRouteOutput { extension CreateTransitGatewayRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81180,7 +81300,7 @@ extension CreateTransitGatewayRouteTableOutput { extension CreateTransitGatewayRouteTableAnnouncementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayRouteTableAnnouncementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayRouteTableAnnouncementOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81192,7 +81312,7 @@ extension CreateTransitGatewayRouteTableAnnouncementOutput { extension CreateTransitGatewayVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81204,7 +81324,7 @@ extension CreateTransitGatewayVpcAttachmentOutput { extension CreateVerifiedAccessEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVerifiedAccessEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVerifiedAccessEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81216,7 +81336,7 @@ extension CreateVerifiedAccessEndpointOutput { extension CreateVerifiedAccessGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVerifiedAccessGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVerifiedAccessGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81228,7 +81348,7 @@ extension CreateVerifiedAccessGroupOutput { extension CreateVerifiedAccessInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVerifiedAccessInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVerifiedAccessInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81240,7 +81360,7 @@ extension CreateVerifiedAccessInstanceOutput { extension CreateVerifiedAccessTrustProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVerifiedAccessTrustProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVerifiedAccessTrustProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81252,7 +81372,7 @@ extension CreateVerifiedAccessTrustProviderOutput { extension CreateVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81280,7 +81400,7 @@ extension CreateVolumeOutput { extension CreateVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81292,7 +81412,7 @@ extension CreateVpcOutput { extension CreateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81305,7 +81425,7 @@ extension CreateVpcEndpointOutput { extension CreateVpcEndpointConnectionNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcEndpointConnectionNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcEndpointConnectionNotificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81318,7 +81438,7 @@ extension CreateVpcEndpointConnectionNotificationOutput { extension CreateVpcEndpointServiceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcEndpointServiceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcEndpointServiceConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81331,7 +81451,7 @@ extension CreateVpcEndpointServiceConfigurationOutput { extension CreateVpcPeeringConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcPeeringConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcPeeringConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81343,7 +81463,7 @@ extension CreateVpcPeeringConnectionOutput { extension CreateVpnConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpnConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpnConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81355,14 +81475,14 @@ extension CreateVpnConnectionOutput { extension CreateVpnConnectionRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpnConnectionRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpnConnectionRouteOutput { return CreateVpnConnectionRouteOutput() } } extension CreateVpnGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpnGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpnGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81374,7 +81494,7 @@ extension CreateVpnGatewayOutput { extension DeleteCarrierGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCarrierGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCarrierGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81386,7 +81506,7 @@ extension DeleteCarrierGatewayOutput { extension DeleteClientVpnEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClientVpnEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClientVpnEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81398,7 +81518,7 @@ extension DeleteClientVpnEndpointOutput { extension DeleteClientVpnRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClientVpnRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClientVpnRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81410,7 +81530,7 @@ extension DeleteClientVpnRouteOutput { extension DeleteCoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81422,7 +81542,7 @@ extension DeleteCoipCidrOutput { extension DeleteCoipPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCoipPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCoipPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81434,21 +81554,21 @@ extension DeleteCoipPoolOutput { extension DeleteCustomerGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomerGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomerGatewayOutput { return DeleteCustomerGatewayOutput() } } extension DeleteDhcpOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDhcpOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDhcpOptionsOutput { return DeleteDhcpOptionsOutput() } } extension DeleteEgressOnlyInternetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEgressOnlyInternetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEgressOnlyInternetGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81460,7 +81580,7 @@ extension DeleteEgressOnlyInternetGatewayOutput { extension DeleteFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81473,7 +81593,7 @@ extension DeleteFleetsOutput { extension DeleteFlowLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFlowLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81485,7 +81605,7 @@ extension DeleteFlowLogsOutput { extension DeleteFpgaImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFpgaImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFpgaImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81497,7 +81617,7 @@ extension DeleteFpgaImageOutput { extension DeleteInstanceConnectEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceConnectEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceConnectEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81509,7 +81629,7 @@ extension DeleteInstanceConnectEndpointOutput { extension DeleteInstanceEventWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceEventWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceEventWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81521,14 +81641,14 @@ extension DeleteInstanceEventWindowOutput { extension DeleteInternetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInternetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInternetGatewayOutput { return DeleteInternetGatewayOutput() } } extension DeleteIpamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIpamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIpamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81540,7 +81660,7 @@ extension DeleteIpamOutput { extension DeleteIpamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIpamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIpamPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81552,7 +81672,7 @@ extension DeleteIpamPoolOutput { extension DeleteIpamResourceDiscoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIpamResourceDiscoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIpamResourceDiscoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81564,7 +81684,7 @@ extension DeleteIpamResourceDiscoveryOutput { extension DeleteIpamScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIpamScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIpamScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81576,7 +81696,7 @@ extension DeleteIpamScopeOutput { extension DeleteKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81589,7 +81709,7 @@ extension DeleteKeyPairOutput { extension DeleteLaunchTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81601,7 +81721,7 @@ extension DeleteLaunchTemplateOutput { extension DeleteLaunchTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81614,7 +81734,7 @@ extension DeleteLaunchTemplateVersionsOutput { extension DeleteLocalGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLocalGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLocalGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81626,7 +81746,7 @@ extension DeleteLocalGatewayRouteOutput { extension DeleteLocalGatewayRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLocalGatewayRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLocalGatewayRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81638,7 +81758,7 @@ extension DeleteLocalGatewayRouteTableOutput { extension DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81650,7 +81770,7 @@ extension DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput { extension DeleteLocalGatewayRouteTableVpcAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLocalGatewayRouteTableVpcAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLocalGatewayRouteTableVpcAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81662,7 +81782,7 @@ extension DeleteLocalGatewayRouteTableVpcAssociationOutput { extension DeleteManagedPrefixListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteManagedPrefixListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteManagedPrefixListOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81674,7 +81794,7 @@ extension DeleteManagedPrefixListOutput { extension DeleteNatGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNatGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNatGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81686,21 +81806,21 @@ extension DeleteNatGatewayOutput { extension DeleteNetworkAclOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkAclOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkAclOutput { return DeleteNetworkAclOutput() } } extension DeleteNetworkAclEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkAclEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkAclEntryOutput { return DeleteNetworkAclEntryOutput() } } extension DeleteNetworkInsightsAccessScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkInsightsAccessScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkInsightsAccessScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81712,7 +81832,7 @@ extension DeleteNetworkInsightsAccessScopeOutput { extension DeleteNetworkInsightsAccessScopeAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkInsightsAccessScopeAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkInsightsAccessScopeAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81724,7 +81844,7 @@ extension DeleteNetworkInsightsAccessScopeAnalysisOutput { extension DeleteNetworkInsightsAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkInsightsAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkInsightsAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81736,7 +81856,7 @@ extension DeleteNetworkInsightsAnalysisOutput { extension DeleteNetworkInsightsPathOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkInsightsPathOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkInsightsPathOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81748,14 +81868,14 @@ extension DeleteNetworkInsightsPathOutput { extension DeleteNetworkInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkInterfaceOutput { return DeleteNetworkInterfaceOutput() } } extension DeleteNetworkInterfacePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkInterfacePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkInterfacePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81767,14 +81887,14 @@ extension DeleteNetworkInterfacePermissionOutput { extension DeletePlacementGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlacementGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlacementGroupOutput { return DeletePlacementGroupOutput() } } extension DeletePublicIpv4PoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePublicIpv4PoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePublicIpv4PoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81786,7 +81906,7 @@ extension DeletePublicIpv4PoolOutput { extension DeleteQueuedReservedInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueuedReservedInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueuedReservedInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81799,49 +81919,49 @@ extension DeleteQueuedReservedInstancesOutput { extension DeleteRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteOutput { return DeleteRouteOutput() } } extension DeleteRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteTableOutput { return DeleteRouteTableOutput() } } extension DeleteSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityGroupOutput { return DeleteSecurityGroupOutput() } } extension DeleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotOutput { return DeleteSnapshotOutput() } } extension DeleteSpotDatafeedSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSpotDatafeedSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSpotDatafeedSubscriptionOutput { return DeleteSpotDatafeedSubscriptionOutput() } } extension DeleteSubnetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubnetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubnetOutput { return DeleteSubnetOutput() } } extension DeleteSubnetCidrReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubnetCidrReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubnetCidrReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81853,14 +81973,14 @@ extension DeleteSubnetCidrReservationOutput { extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DeleteTrafficMirrorFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficMirrorFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficMirrorFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81872,7 +81992,7 @@ extension DeleteTrafficMirrorFilterOutput { extension DeleteTrafficMirrorFilterRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficMirrorFilterRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficMirrorFilterRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81884,7 +82004,7 @@ extension DeleteTrafficMirrorFilterRuleOutput { extension DeleteTrafficMirrorSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficMirrorSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficMirrorSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81896,7 +82016,7 @@ extension DeleteTrafficMirrorSessionOutput { extension DeleteTrafficMirrorTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficMirrorTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficMirrorTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81908,7 +82028,7 @@ extension DeleteTrafficMirrorTargetOutput { extension DeleteTransitGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81920,7 +82040,7 @@ extension DeleteTransitGatewayOutput { extension DeleteTransitGatewayConnectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayConnectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayConnectOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81932,7 +82052,7 @@ extension DeleteTransitGatewayConnectOutput { extension DeleteTransitGatewayConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81944,7 +82064,7 @@ extension DeleteTransitGatewayConnectPeerOutput { extension DeleteTransitGatewayMulticastDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayMulticastDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayMulticastDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81956,7 +82076,7 @@ extension DeleteTransitGatewayMulticastDomainOutput { extension DeleteTransitGatewayPeeringAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayPeeringAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayPeeringAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81968,7 +82088,7 @@ extension DeleteTransitGatewayPeeringAttachmentOutput { extension DeleteTransitGatewayPolicyTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayPolicyTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayPolicyTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81980,7 +82100,7 @@ extension DeleteTransitGatewayPolicyTableOutput { extension DeleteTransitGatewayPrefixListReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayPrefixListReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayPrefixListReferenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -81992,7 +82112,7 @@ extension DeleteTransitGatewayPrefixListReferenceOutput { extension DeleteTransitGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82004,7 +82124,7 @@ extension DeleteTransitGatewayRouteOutput { extension DeleteTransitGatewayRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82016,7 +82136,7 @@ extension DeleteTransitGatewayRouteTableOutput { extension DeleteTransitGatewayRouteTableAnnouncementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayRouteTableAnnouncementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayRouteTableAnnouncementOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82028,7 +82148,7 @@ extension DeleteTransitGatewayRouteTableAnnouncementOutput { extension DeleteTransitGatewayVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTransitGatewayVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTransitGatewayVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82040,7 +82160,7 @@ extension DeleteTransitGatewayVpcAttachmentOutput { extension DeleteVerifiedAccessEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVerifiedAccessEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVerifiedAccessEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82052,7 +82172,7 @@ extension DeleteVerifiedAccessEndpointOutput { extension DeleteVerifiedAccessGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVerifiedAccessGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVerifiedAccessGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82064,7 +82184,7 @@ extension DeleteVerifiedAccessGroupOutput { extension DeleteVerifiedAccessInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVerifiedAccessInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVerifiedAccessInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82076,7 +82196,7 @@ extension DeleteVerifiedAccessInstanceOutput { extension DeleteVerifiedAccessTrustProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVerifiedAccessTrustProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVerifiedAccessTrustProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82088,21 +82208,21 @@ extension DeleteVerifiedAccessTrustProviderOutput { extension DeleteVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVolumeOutput { return DeleteVolumeOutput() } } extension DeleteVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcOutput { return DeleteVpcOutput() } } extension DeleteVpcEndpointConnectionNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcEndpointConnectionNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcEndpointConnectionNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82114,7 +82234,7 @@ extension DeleteVpcEndpointConnectionNotificationsOutput { extension DeleteVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82126,7 +82246,7 @@ extension DeleteVpcEndpointsOutput { extension DeleteVpcEndpointServiceConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcEndpointServiceConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcEndpointServiceConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82138,7 +82258,7 @@ extension DeleteVpcEndpointServiceConfigurationsOutput { extension DeleteVpcPeeringConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcPeeringConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcPeeringConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82150,28 +82270,28 @@ extension DeleteVpcPeeringConnectionOutput { extension DeleteVpnConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpnConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpnConnectionOutput { return DeleteVpnConnectionOutput() } } extension DeleteVpnConnectionRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpnConnectionRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpnConnectionRouteOutput { return DeleteVpnConnectionRouteOutput() } } extension DeleteVpnGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpnGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpnGatewayOutput { return DeleteVpnGatewayOutput() } } extension DeprovisionByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprovisionByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprovisionByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82183,7 +82303,7 @@ extension DeprovisionByoipCidrOutput { extension DeprovisionIpamByoasnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprovisionIpamByoasnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprovisionIpamByoasnOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82195,7 +82315,7 @@ extension DeprovisionIpamByoasnOutput { extension DeprovisionIpamPoolCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprovisionIpamPoolCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprovisionIpamPoolCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82207,7 +82327,7 @@ extension DeprovisionIpamPoolCidrOutput { extension DeprovisionPublicIpv4PoolCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprovisionPublicIpv4PoolCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprovisionPublicIpv4PoolCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82220,14 +82340,14 @@ extension DeprovisionPublicIpv4PoolCidrOutput { extension DeregisterImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterImageOutput { return DeregisterImageOutput() } } extension DeregisterInstanceEventNotificationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterInstanceEventNotificationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterInstanceEventNotificationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82239,7 +82359,7 @@ extension DeregisterInstanceEventNotificationAttributesOutput { extension DeregisterTransitGatewayMulticastGroupMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTransitGatewayMulticastGroupMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTransitGatewayMulticastGroupMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82251,7 +82371,7 @@ extension DeregisterTransitGatewayMulticastGroupMembersOutput { extension DeregisterTransitGatewayMulticastGroupSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTransitGatewayMulticastGroupSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTransitGatewayMulticastGroupSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82263,7 +82383,7 @@ extension DeregisterTransitGatewayMulticastGroupSourcesOutput { extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82275,7 +82395,7 @@ extension DescribeAccountAttributesOutput { extension DescribeAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82287,7 +82407,7 @@ extension DescribeAddressesOutput { extension DescribeAddressesAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddressesAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddressesAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82300,7 +82420,7 @@ extension DescribeAddressesAttributeOutput { extension DescribeAddressTransfersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddressTransfersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddressTransfersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82313,7 +82433,7 @@ extension DescribeAddressTransfersOutput { extension DescribeAggregateIdFormatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAggregateIdFormatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAggregateIdFormatOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82326,7 +82446,7 @@ extension DescribeAggregateIdFormatOutput { extension DescribeAvailabilityZonesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAvailabilityZonesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAvailabilityZonesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82338,7 +82458,7 @@ extension DescribeAvailabilityZonesOutput { extension DescribeAwsNetworkPerformanceMetricSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAwsNetworkPerformanceMetricSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAwsNetworkPerformanceMetricSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82351,7 +82471,7 @@ extension DescribeAwsNetworkPerformanceMetricSubscriptionsOutput { extension DescribeBundleTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBundleTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBundleTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82363,7 +82483,7 @@ extension DescribeBundleTasksOutput { extension DescribeByoipCidrsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeByoipCidrsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeByoipCidrsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82376,7 +82496,7 @@ extension DescribeByoipCidrsOutput { extension DescribeCapacityBlockOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCapacityBlockOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCapacityBlockOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82389,7 +82509,7 @@ extension DescribeCapacityBlockOfferingsOutput { extension DescribeCapacityReservationFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCapacityReservationFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCapacityReservationFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82402,7 +82522,7 @@ extension DescribeCapacityReservationFleetsOutput { extension DescribeCapacityReservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCapacityReservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCapacityReservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82415,7 +82535,7 @@ extension DescribeCapacityReservationsOutput { extension DescribeCarrierGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCarrierGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCarrierGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82428,7 +82548,7 @@ extension DescribeCarrierGatewaysOutput { extension DescribeClassicLinkInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClassicLinkInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClassicLinkInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82441,7 +82561,7 @@ extension DescribeClassicLinkInstancesOutput { extension DescribeClientVpnAuthorizationRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientVpnAuthorizationRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientVpnAuthorizationRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82454,7 +82574,7 @@ extension DescribeClientVpnAuthorizationRulesOutput { extension DescribeClientVpnConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientVpnConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientVpnConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82467,7 +82587,7 @@ extension DescribeClientVpnConnectionsOutput { extension DescribeClientVpnEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientVpnEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientVpnEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82480,7 +82600,7 @@ extension DescribeClientVpnEndpointsOutput { extension DescribeClientVpnRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientVpnRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientVpnRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82493,7 +82613,7 @@ extension DescribeClientVpnRoutesOutput { extension DescribeClientVpnTargetNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientVpnTargetNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientVpnTargetNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82506,7 +82626,7 @@ extension DescribeClientVpnTargetNetworksOutput { extension DescribeCoipPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCoipPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCoipPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82519,7 +82639,7 @@ extension DescribeCoipPoolsOutput { extension DescribeConversionTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConversionTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConversionTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82531,7 +82651,7 @@ extension DescribeConversionTasksOutput { extension DescribeCustomerGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomerGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomerGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82543,7 +82663,7 @@ extension DescribeCustomerGatewaysOutput { extension DescribeDhcpOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDhcpOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDhcpOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82556,7 +82676,7 @@ extension DescribeDhcpOptionsOutput { extension DescribeEgressOnlyInternetGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEgressOnlyInternetGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEgressOnlyInternetGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82569,7 +82689,7 @@ extension DescribeEgressOnlyInternetGatewaysOutput { extension DescribeElasticGpusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticGpusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticGpusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82583,7 +82703,7 @@ extension DescribeElasticGpusOutput { extension DescribeExportImageTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportImageTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportImageTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82596,7 +82716,7 @@ extension DescribeExportImageTasksOutput { extension DescribeExportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82608,7 +82728,7 @@ extension DescribeExportTasksOutput { extension DescribeFastLaunchImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFastLaunchImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFastLaunchImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82621,7 +82741,7 @@ extension DescribeFastLaunchImagesOutput { extension DescribeFastSnapshotRestoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFastSnapshotRestoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFastSnapshotRestoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82634,7 +82754,7 @@ extension DescribeFastSnapshotRestoresOutput { extension DescribeFleetHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82650,7 +82770,7 @@ extension DescribeFleetHistoryOutput { extension DescribeFleetInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82664,7 +82784,7 @@ extension DescribeFleetInstancesOutput { extension DescribeFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82677,7 +82797,7 @@ extension DescribeFleetsOutput { extension DescribeFlowLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlowLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlowLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82690,7 +82810,7 @@ extension DescribeFlowLogsOutput { extension DescribeFpgaImageAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFpgaImageAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFpgaImageAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82702,7 +82822,7 @@ extension DescribeFpgaImageAttributeOutput { extension DescribeFpgaImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFpgaImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFpgaImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82715,7 +82835,7 @@ extension DescribeFpgaImagesOutput { extension DescribeHostReservationOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHostReservationOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHostReservationOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82728,7 +82848,7 @@ extension DescribeHostReservationOfferingsOutput { extension DescribeHostReservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHostReservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHostReservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82741,7 +82861,7 @@ extension DescribeHostReservationsOutput { extension DescribeHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82754,7 +82874,7 @@ extension DescribeHostsOutput { extension DescribeIamInstanceProfileAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIamInstanceProfileAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIamInstanceProfileAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82767,7 +82887,7 @@ extension DescribeIamInstanceProfileAssociationsOutput { extension DescribeIdentityIdFormatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityIdFormatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityIdFormatOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82779,7 +82899,7 @@ extension DescribeIdentityIdFormatOutput { extension DescribeIdFormatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdFormatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdFormatOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82791,7 +82911,7 @@ extension DescribeIdFormatOutput { extension DescribeImageAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82816,7 +82936,7 @@ extension DescribeImageAttributeOutput { extension DescribeImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82829,7 +82949,7 @@ extension DescribeImagesOutput { extension DescribeImportImageTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImportImageTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImportImageTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82842,7 +82962,7 @@ extension DescribeImportImageTasksOutput { extension DescribeImportSnapshotTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImportSnapshotTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImportSnapshotTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82855,7 +82975,7 @@ extension DescribeImportSnapshotTasksOutput { extension DescribeInstanceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82883,7 +83003,7 @@ extension DescribeInstanceAttributeOutput { extension DescribeInstanceConnectEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceConnectEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceConnectEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82896,7 +83016,7 @@ extension DescribeInstanceConnectEndpointsOutput { extension DescribeInstanceCreditSpecificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceCreditSpecificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceCreditSpecificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82909,7 +83029,7 @@ extension DescribeInstanceCreditSpecificationsOutput { extension DescribeInstanceEventNotificationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceEventNotificationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceEventNotificationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82921,7 +83041,7 @@ extension DescribeInstanceEventNotificationAttributesOutput { extension DescribeInstanceEventWindowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceEventWindowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceEventWindowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82934,7 +83054,7 @@ extension DescribeInstanceEventWindowsOutput { extension DescribeInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82947,7 +83067,7 @@ extension DescribeInstancesOutput { extension DescribeInstanceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82960,7 +83080,7 @@ extension DescribeInstanceStatusOutput { extension DescribeInstanceTopologyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceTopologyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceTopologyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82973,7 +83093,7 @@ extension DescribeInstanceTopologyOutput { extension DescribeInstanceTypeOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceTypeOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceTypeOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82986,7 +83106,7 @@ extension DescribeInstanceTypeOfferingsOutput { extension DescribeInstanceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -82999,7 +83119,7 @@ extension DescribeInstanceTypesOutput { extension DescribeInternetGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInternetGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInternetGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83012,7 +83132,7 @@ extension DescribeInternetGatewaysOutput { extension DescribeIpamByoasnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpamByoasnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpamByoasnOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83025,7 +83145,7 @@ extension DescribeIpamByoasnOutput { extension DescribeIpamPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpamPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpamPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83038,7 +83158,7 @@ extension DescribeIpamPoolsOutput { extension DescribeIpamResourceDiscoveriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpamResourceDiscoveriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpamResourceDiscoveriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83051,7 +83171,7 @@ extension DescribeIpamResourceDiscoveriesOutput { extension DescribeIpamResourceDiscoveryAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpamResourceDiscoveryAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpamResourceDiscoveryAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83064,7 +83184,7 @@ extension DescribeIpamResourceDiscoveryAssociationsOutput { extension DescribeIpamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83077,7 +83197,7 @@ extension DescribeIpamsOutput { extension DescribeIpamScopesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpamScopesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpamScopesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83090,7 +83210,7 @@ extension DescribeIpamScopesOutput { extension DescribeIpv6PoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpv6PoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpv6PoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83103,7 +83223,7 @@ extension DescribeIpv6PoolsOutput { extension DescribeKeyPairsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyPairsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyPairsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83115,7 +83235,7 @@ extension DescribeKeyPairsOutput { extension DescribeLaunchTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLaunchTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLaunchTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83128,7 +83248,7 @@ extension DescribeLaunchTemplatesOutput { extension DescribeLaunchTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLaunchTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLaunchTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83141,7 +83261,7 @@ extension DescribeLaunchTemplateVersionsOutput { extension DescribeLocalGatewayRouteTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocalGatewayRouteTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocalGatewayRouteTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83154,7 +83274,7 @@ extension DescribeLocalGatewayRouteTablesOutput { extension DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83167,7 +83287,7 @@ extension DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput extension DescribeLocalGatewayRouteTableVpcAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocalGatewayRouteTableVpcAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocalGatewayRouteTableVpcAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83180,7 +83300,7 @@ extension DescribeLocalGatewayRouteTableVpcAssociationsOutput { extension DescribeLocalGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocalGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocalGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83193,7 +83313,7 @@ extension DescribeLocalGatewaysOutput { extension DescribeLocalGatewayVirtualInterfaceGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocalGatewayVirtualInterfaceGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocalGatewayVirtualInterfaceGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83206,7 +83326,7 @@ extension DescribeLocalGatewayVirtualInterfaceGroupsOutput { extension DescribeLocalGatewayVirtualInterfacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLocalGatewayVirtualInterfacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLocalGatewayVirtualInterfacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83219,7 +83339,7 @@ extension DescribeLocalGatewayVirtualInterfacesOutput { extension DescribeLockedSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLockedSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLockedSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83232,7 +83352,7 @@ extension DescribeLockedSnapshotsOutput { extension DescribeMacHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMacHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMacHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83245,7 +83365,7 @@ extension DescribeMacHostsOutput { extension DescribeManagedPrefixListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeManagedPrefixListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeManagedPrefixListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83258,7 +83378,7 @@ extension DescribeManagedPrefixListsOutput { extension DescribeMovingAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMovingAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMovingAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83271,7 +83391,7 @@ extension DescribeMovingAddressesOutput { extension DescribeNatGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNatGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNatGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83284,7 +83404,7 @@ extension DescribeNatGatewaysOutput { extension DescribeNetworkAclsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkAclsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkAclsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83297,7 +83417,7 @@ extension DescribeNetworkAclsOutput { extension DescribeNetworkInsightsAccessScopeAnalysesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInsightsAccessScopeAnalysesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInsightsAccessScopeAnalysesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83310,7 +83430,7 @@ extension DescribeNetworkInsightsAccessScopeAnalysesOutput { extension DescribeNetworkInsightsAccessScopesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInsightsAccessScopesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInsightsAccessScopesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83323,7 +83443,7 @@ extension DescribeNetworkInsightsAccessScopesOutput { extension DescribeNetworkInsightsAnalysesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInsightsAnalysesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInsightsAnalysesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83336,7 +83456,7 @@ extension DescribeNetworkInsightsAnalysesOutput { extension DescribeNetworkInsightsPathsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInsightsPathsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInsightsPathsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83349,7 +83469,7 @@ extension DescribeNetworkInsightsPathsOutput { extension DescribeNetworkInterfaceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInterfaceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInterfaceAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83366,7 +83486,7 @@ extension DescribeNetworkInterfaceAttributeOutput { extension DescribeNetworkInterfacePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInterfacePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInterfacePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83379,7 +83499,7 @@ extension DescribeNetworkInterfacePermissionsOutput { extension DescribeNetworkInterfacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNetworkInterfacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNetworkInterfacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83392,7 +83512,7 @@ extension DescribeNetworkInterfacesOutput { extension DescribePlacementGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePlacementGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePlacementGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83404,7 +83524,7 @@ extension DescribePlacementGroupsOutput { extension DescribePrefixListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePrefixListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePrefixListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83417,7 +83537,7 @@ extension DescribePrefixListsOutput { extension DescribePrincipalIdFormatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePrincipalIdFormatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePrincipalIdFormatOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83430,7 +83550,7 @@ extension DescribePrincipalIdFormatOutput { extension DescribePublicIpv4PoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePublicIpv4PoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePublicIpv4PoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83443,7 +83563,7 @@ extension DescribePublicIpv4PoolsOutput { extension DescribeRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83455,7 +83575,7 @@ extension DescribeRegionsOutput { extension DescribeReplaceRootVolumeTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplaceRootVolumeTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplaceRootVolumeTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83468,7 +83588,7 @@ extension DescribeReplaceRootVolumeTasksOutput { extension DescribeReservedInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83480,7 +83600,7 @@ extension DescribeReservedInstancesOutput { extension DescribeReservedInstancesListingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedInstancesListingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedInstancesListingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83492,7 +83612,7 @@ extension DescribeReservedInstancesListingsOutput { extension DescribeReservedInstancesModificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedInstancesModificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedInstancesModificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83505,7 +83625,7 @@ extension DescribeReservedInstancesModificationsOutput { extension DescribeReservedInstancesOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedInstancesOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedInstancesOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83518,7 +83638,7 @@ extension DescribeReservedInstancesOfferingsOutput { extension DescribeRouteTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRouteTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRouteTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83531,7 +83651,7 @@ extension DescribeRouteTablesOutput { extension DescribeScheduledInstanceAvailabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledInstanceAvailabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledInstanceAvailabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83544,7 +83664,7 @@ extension DescribeScheduledInstanceAvailabilityOutput { extension DescribeScheduledInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83557,7 +83677,7 @@ extension DescribeScheduledInstancesOutput { extension DescribeSecurityGroupReferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityGroupReferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityGroupReferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83569,7 +83689,7 @@ extension DescribeSecurityGroupReferencesOutput { extension DescribeSecurityGroupRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityGroupRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityGroupRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83582,7 +83702,7 @@ extension DescribeSecurityGroupRulesOutput { extension DescribeSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83595,7 +83715,7 @@ extension DescribeSecurityGroupsOutput { extension DescribeSnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83609,7 +83729,7 @@ extension DescribeSnapshotAttributeOutput { extension DescribeSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83622,7 +83742,7 @@ extension DescribeSnapshotsOutput { extension DescribeSnapshotTierStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotTierStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotTierStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83635,7 +83755,7 @@ extension DescribeSnapshotTierStatusOutput { extension DescribeSpotDatafeedSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpotDatafeedSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpotDatafeedSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83647,7 +83767,7 @@ extension DescribeSpotDatafeedSubscriptionOutput { extension DescribeSpotFleetInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpotFleetInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpotFleetInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83661,7 +83781,7 @@ extension DescribeSpotFleetInstancesOutput { extension DescribeSpotFleetRequestHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpotFleetRequestHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpotFleetRequestHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83677,7 +83797,7 @@ extension DescribeSpotFleetRequestHistoryOutput { extension DescribeSpotFleetRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpotFleetRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpotFleetRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83690,7 +83810,7 @@ extension DescribeSpotFleetRequestsOutput { extension DescribeSpotInstanceRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpotInstanceRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpotInstanceRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83703,7 +83823,7 @@ extension DescribeSpotInstanceRequestsOutput { extension DescribeSpotPriceHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpotPriceHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpotPriceHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83716,7 +83836,7 @@ extension DescribeSpotPriceHistoryOutput { extension DescribeStaleSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStaleSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStaleSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83729,7 +83849,7 @@ extension DescribeStaleSecurityGroupsOutput { extension DescribeStoreImageTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStoreImageTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStoreImageTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83742,7 +83862,7 @@ extension DescribeStoreImageTasksOutput { extension DescribeSubnetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubnetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubnetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83755,7 +83875,7 @@ extension DescribeSubnetsOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83768,7 +83888,7 @@ extension DescribeTagsOutput { extension DescribeTrafficMirrorFilterRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrafficMirrorFilterRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrafficMirrorFilterRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83781,7 +83901,7 @@ extension DescribeTrafficMirrorFilterRulesOutput { extension DescribeTrafficMirrorFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrafficMirrorFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrafficMirrorFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83794,7 +83914,7 @@ extension DescribeTrafficMirrorFiltersOutput { extension DescribeTrafficMirrorSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrafficMirrorSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrafficMirrorSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83807,7 +83927,7 @@ extension DescribeTrafficMirrorSessionsOutput { extension DescribeTrafficMirrorTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrafficMirrorTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrafficMirrorTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83820,7 +83940,7 @@ extension DescribeTrafficMirrorTargetsOutput { extension DescribeTransitGatewayAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83833,7 +83953,7 @@ extension DescribeTransitGatewayAttachmentsOutput { extension DescribeTransitGatewayConnectPeersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayConnectPeersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayConnectPeersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83846,7 +83966,7 @@ extension DescribeTransitGatewayConnectPeersOutput { extension DescribeTransitGatewayConnectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayConnectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayConnectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83859,7 +83979,7 @@ extension DescribeTransitGatewayConnectsOutput { extension DescribeTransitGatewayMulticastDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayMulticastDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayMulticastDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83872,7 +83992,7 @@ extension DescribeTransitGatewayMulticastDomainsOutput { extension DescribeTransitGatewayPeeringAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayPeeringAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayPeeringAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83885,7 +84005,7 @@ extension DescribeTransitGatewayPeeringAttachmentsOutput { extension DescribeTransitGatewayPolicyTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayPolicyTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayPolicyTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83898,7 +84018,7 @@ extension DescribeTransitGatewayPolicyTablesOutput { extension DescribeTransitGatewayRouteTableAnnouncementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayRouteTableAnnouncementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayRouteTableAnnouncementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83911,7 +84031,7 @@ extension DescribeTransitGatewayRouteTableAnnouncementsOutput { extension DescribeTransitGatewayRouteTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayRouteTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayRouteTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83924,7 +84044,7 @@ extension DescribeTransitGatewayRouteTablesOutput { extension DescribeTransitGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83937,7 +84057,7 @@ extension DescribeTransitGatewaysOutput { extension DescribeTransitGatewayVpcAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransitGatewayVpcAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransitGatewayVpcAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83950,7 +84070,7 @@ extension DescribeTransitGatewayVpcAttachmentsOutput { extension DescribeTrunkInterfaceAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrunkInterfaceAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrunkInterfaceAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83963,7 +84083,7 @@ extension DescribeTrunkInterfaceAssociationsOutput { extension DescribeVerifiedAccessEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVerifiedAccessEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVerifiedAccessEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83976,7 +84096,7 @@ extension DescribeVerifiedAccessEndpointsOutput { extension DescribeVerifiedAccessGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVerifiedAccessGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVerifiedAccessGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -83989,7 +84109,7 @@ extension DescribeVerifiedAccessGroupsOutput { extension DescribeVerifiedAccessInstanceLoggingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVerifiedAccessInstanceLoggingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVerifiedAccessInstanceLoggingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84002,7 +84122,7 @@ extension DescribeVerifiedAccessInstanceLoggingConfigurationsOutput { extension DescribeVerifiedAccessInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVerifiedAccessInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVerifiedAccessInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84015,7 +84135,7 @@ extension DescribeVerifiedAccessInstancesOutput { extension DescribeVerifiedAccessTrustProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVerifiedAccessTrustProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVerifiedAccessTrustProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84028,7 +84148,7 @@ extension DescribeVerifiedAccessTrustProvidersOutput { extension DescribeVolumeAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVolumeAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVolumeAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84042,7 +84162,7 @@ extension DescribeVolumeAttributeOutput { extension DescribeVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84055,7 +84175,7 @@ extension DescribeVolumesOutput { extension DescribeVolumesModificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVolumesModificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVolumesModificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84068,7 +84188,7 @@ extension DescribeVolumesModificationsOutput { extension DescribeVolumeStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVolumeStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVolumeStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84081,7 +84201,7 @@ extension DescribeVolumeStatusOutput { extension DescribeVpcAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84096,7 +84216,7 @@ extension DescribeVpcAttributeOutput { extension DescribeVpcClassicLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcClassicLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcClassicLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84108,7 +84228,7 @@ extension DescribeVpcClassicLinkOutput { extension DescribeVpcClassicLinkDnsSupportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcClassicLinkDnsSupportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcClassicLinkDnsSupportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84121,7 +84241,7 @@ extension DescribeVpcClassicLinkDnsSupportOutput { extension DescribeVpcEndpointConnectionNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointConnectionNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointConnectionNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84134,7 +84254,7 @@ extension DescribeVpcEndpointConnectionNotificationsOutput { extension DescribeVpcEndpointConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84147,7 +84267,7 @@ extension DescribeVpcEndpointConnectionsOutput { extension DescribeVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84160,7 +84280,7 @@ extension DescribeVpcEndpointsOutput { extension DescribeVpcEndpointServiceConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointServiceConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointServiceConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84173,7 +84293,7 @@ extension DescribeVpcEndpointServiceConfigurationsOutput { extension DescribeVpcEndpointServicePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointServicePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointServicePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84186,7 +84306,7 @@ extension DescribeVpcEndpointServicePermissionsOutput { extension DescribeVpcEndpointServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84200,7 +84320,7 @@ extension DescribeVpcEndpointServicesOutput { extension DescribeVpcPeeringConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcPeeringConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcPeeringConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84213,7 +84333,7 @@ extension DescribeVpcPeeringConnectionsOutput { extension DescribeVpcsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84226,7 +84346,7 @@ extension DescribeVpcsOutput { extension DescribeVpnConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpnConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpnConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84238,7 +84358,7 @@ extension DescribeVpnConnectionsOutput { extension DescribeVpnGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpnGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpnGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84250,7 +84370,7 @@ extension DescribeVpnGatewaysOutput { extension DetachClassicLinkVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachClassicLinkVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachClassicLinkVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84262,21 +84382,21 @@ extension DetachClassicLinkVpcOutput { extension DetachInternetGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachInternetGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachInternetGatewayOutput { return DetachInternetGatewayOutput() } } extension DetachNetworkInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachNetworkInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachNetworkInterfaceOutput { return DetachNetworkInterfaceOutput() } } extension DetachVerifiedAccessTrustProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachVerifiedAccessTrustProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachVerifiedAccessTrustProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84289,7 +84409,7 @@ extension DetachVerifiedAccessTrustProviderOutput { extension DetachVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84308,14 +84428,14 @@ extension DetachVolumeOutput { extension DetachVpnGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachVpnGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachVpnGatewayOutput { return DetachVpnGatewayOutput() } } extension DisableAddressTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAddressTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAddressTransferOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84327,7 +84447,7 @@ extension DisableAddressTransferOutput { extension DisableAwsNetworkPerformanceMetricSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAwsNetworkPerformanceMetricSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAwsNetworkPerformanceMetricSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84339,7 +84459,7 @@ extension DisableAwsNetworkPerformanceMetricSubscriptionOutput { extension DisableEbsEncryptionByDefaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableEbsEncryptionByDefaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableEbsEncryptionByDefaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84351,7 +84471,7 @@ extension DisableEbsEncryptionByDefaultOutput { extension DisableFastLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableFastLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableFastLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84371,7 +84491,7 @@ extension DisableFastLaunchOutput { extension DisableFastSnapshotRestoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableFastSnapshotRestoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableFastSnapshotRestoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84384,7 +84504,7 @@ extension DisableFastSnapshotRestoresOutput { extension DisableImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84396,7 +84516,7 @@ extension DisableImageOutput { extension DisableImageBlockPublicAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableImageBlockPublicAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableImageBlockPublicAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84408,7 +84528,7 @@ extension DisableImageBlockPublicAccessOutput { extension DisableImageDeprecationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableImageDeprecationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableImageDeprecationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84420,7 +84540,7 @@ extension DisableImageDeprecationOutput { extension DisableImageDeregistrationProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableImageDeregistrationProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableImageDeregistrationProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84432,7 +84552,7 @@ extension DisableImageDeregistrationProtectionOutput { extension DisableIpamOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableIpamOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableIpamOrganizationAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84444,7 +84564,7 @@ extension DisableIpamOrganizationAdminAccountOutput { extension DisableSerialConsoleAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableSerialConsoleAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableSerialConsoleAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84456,7 +84576,7 @@ extension DisableSerialConsoleAccessOutput { extension DisableSnapshotBlockPublicAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableSnapshotBlockPublicAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableSnapshotBlockPublicAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84468,7 +84588,7 @@ extension DisableSnapshotBlockPublicAccessOutput { extension DisableTransitGatewayRouteTablePropagationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableTransitGatewayRouteTablePropagationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableTransitGatewayRouteTablePropagationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84480,14 +84600,14 @@ extension DisableTransitGatewayRouteTablePropagationOutput { extension DisableVgwRoutePropagationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableVgwRoutePropagationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableVgwRoutePropagationOutput { return DisableVgwRoutePropagationOutput() } } extension DisableVpcClassicLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableVpcClassicLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableVpcClassicLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84499,7 +84619,7 @@ extension DisableVpcClassicLinkOutput { extension DisableVpcClassicLinkDnsSupportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableVpcClassicLinkDnsSupportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableVpcClassicLinkDnsSupportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84511,14 +84631,14 @@ extension DisableVpcClassicLinkDnsSupportOutput { extension DisassociateAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAddressOutput { return DisassociateAddressOutput() } } extension DisassociateClientVpnTargetNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateClientVpnTargetNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateClientVpnTargetNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84531,7 +84651,7 @@ extension DisassociateClientVpnTargetNetworkOutput { extension DisassociateEnclaveCertificateIamRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateEnclaveCertificateIamRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateEnclaveCertificateIamRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84543,7 +84663,7 @@ extension DisassociateEnclaveCertificateIamRoleOutput { extension DisassociateIamInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateIamInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIamInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84555,7 +84675,7 @@ extension DisassociateIamInstanceProfileOutput { extension DisassociateInstanceEventWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateInstanceEventWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateInstanceEventWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84567,7 +84687,7 @@ extension DisassociateInstanceEventWindowOutput { extension DisassociateIpamByoasnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateIpamByoasnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIpamByoasnOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84579,7 +84699,7 @@ extension DisassociateIpamByoasnOutput { extension DisassociateIpamResourceDiscoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateIpamResourceDiscoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIpamResourceDiscoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84591,7 +84711,7 @@ extension DisassociateIpamResourceDiscoveryOutput { extension DisassociateNatGatewayAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateNatGatewayAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateNatGatewayAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84604,14 +84724,14 @@ extension DisassociateNatGatewayAddressOutput { extension DisassociateRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateRouteTableOutput { return DisassociateRouteTableOutput() } } extension DisassociateSubnetCidrBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateSubnetCidrBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateSubnetCidrBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84624,7 +84744,7 @@ extension DisassociateSubnetCidrBlockOutput { extension DisassociateTransitGatewayMulticastDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTransitGatewayMulticastDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTransitGatewayMulticastDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84636,7 +84756,7 @@ extension DisassociateTransitGatewayMulticastDomainOutput { extension DisassociateTransitGatewayPolicyTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTransitGatewayPolicyTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTransitGatewayPolicyTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84648,7 +84768,7 @@ extension DisassociateTransitGatewayPolicyTableOutput { extension DisassociateTransitGatewayRouteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTransitGatewayRouteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTransitGatewayRouteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84660,7 +84780,7 @@ extension DisassociateTransitGatewayRouteTableOutput { extension DisassociateTrunkInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTrunkInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTrunkInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84673,7 +84793,7 @@ extension DisassociateTrunkInterfaceOutput { extension DisassociateVpcCidrBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateVpcCidrBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateVpcCidrBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84687,7 +84807,7 @@ extension DisassociateVpcCidrBlockOutput { extension EnableAddressTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAddressTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAddressTransferOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84699,7 +84819,7 @@ extension EnableAddressTransferOutput { extension EnableAwsNetworkPerformanceMetricSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAwsNetworkPerformanceMetricSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAwsNetworkPerformanceMetricSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84711,7 +84831,7 @@ extension EnableAwsNetworkPerformanceMetricSubscriptionOutput { extension EnableEbsEncryptionByDefaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableEbsEncryptionByDefaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableEbsEncryptionByDefaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84723,7 +84843,7 @@ extension EnableEbsEncryptionByDefaultOutput { extension EnableFastLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableFastLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableFastLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84743,7 +84863,7 @@ extension EnableFastLaunchOutput { extension EnableFastSnapshotRestoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableFastSnapshotRestoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableFastSnapshotRestoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84756,7 +84876,7 @@ extension EnableFastSnapshotRestoresOutput { extension EnableImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84768,7 +84888,7 @@ extension EnableImageOutput { extension EnableImageBlockPublicAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableImageBlockPublicAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableImageBlockPublicAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84780,7 +84900,7 @@ extension EnableImageBlockPublicAccessOutput { extension EnableImageDeprecationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableImageDeprecationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableImageDeprecationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84792,7 +84912,7 @@ extension EnableImageDeprecationOutput { extension EnableImageDeregistrationProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableImageDeregistrationProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableImageDeregistrationProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84804,7 +84924,7 @@ extension EnableImageDeregistrationProtectionOutput { extension EnableIpamOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableIpamOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableIpamOrganizationAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84816,7 +84936,7 @@ extension EnableIpamOrganizationAdminAccountOutput { extension EnableReachabilityAnalyzerOrganizationSharingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableReachabilityAnalyzerOrganizationSharingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableReachabilityAnalyzerOrganizationSharingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84828,7 +84948,7 @@ extension EnableReachabilityAnalyzerOrganizationSharingOutput { extension EnableSerialConsoleAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSerialConsoleAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSerialConsoleAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84840,7 +84960,7 @@ extension EnableSerialConsoleAccessOutput { extension EnableSnapshotBlockPublicAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSnapshotBlockPublicAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSnapshotBlockPublicAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84852,7 +84972,7 @@ extension EnableSnapshotBlockPublicAccessOutput { extension EnableTransitGatewayRouteTablePropagationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableTransitGatewayRouteTablePropagationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableTransitGatewayRouteTablePropagationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84864,21 +84984,21 @@ extension EnableTransitGatewayRouteTablePropagationOutput { extension EnableVgwRoutePropagationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableVgwRoutePropagationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableVgwRoutePropagationOutput { return EnableVgwRoutePropagationOutput() } } extension EnableVolumeIOOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableVolumeIOOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableVolumeIOOutput { return EnableVolumeIOOutput() } } extension EnableVpcClassicLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableVpcClassicLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableVpcClassicLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84890,7 +85010,7 @@ extension EnableVpcClassicLinkOutput { extension EnableVpcClassicLinkDnsSupportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableVpcClassicLinkDnsSupportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableVpcClassicLinkDnsSupportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84902,7 +85022,7 @@ extension EnableVpcClassicLinkDnsSupportOutput { extension ExportClientVpnClientCertificateRevocationListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportClientVpnClientCertificateRevocationListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportClientVpnClientCertificateRevocationListOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84915,7 +85035,7 @@ extension ExportClientVpnClientCertificateRevocationListOutput { extension ExportClientVpnClientConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportClientVpnClientConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportClientVpnClientConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84927,7 +85047,7 @@ extension ExportClientVpnClientConfigurationOutput { extension ExportImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84948,7 +85068,7 @@ extension ExportImageOutput { extension ExportTransitGatewayRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportTransitGatewayRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportTransitGatewayRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84960,7 +85080,7 @@ extension ExportTransitGatewayRoutesOutput { extension GetAssociatedEnclaveCertificateIamRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssociatedEnclaveCertificateIamRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssociatedEnclaveCertificateIamRolesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84972,7 +85092,7 @@ extension GetAssociatedEnclaveCertificateIamRolesOutput { extension GetAssociatedIpv6PoolCidrsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssociatedIpv6PoolCidrsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssociatedIpv6PoolCidrsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84985,7 +85105,7 @@ extension GetAssociatedIpv6PoolCidrsOutput { extension GetAwsNetworkPerformanceDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAwsNetworkPerformanceDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAwsNetworkPerformanceDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -84998,7 +85118,7 @@ extension GetAwsNetworkPerformanceDataOutput { extension GetCapacityReservationUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCapacityReservationUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCapacityReservationUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85016,7 +85136,7 @@ extension GetCapacityReservationUsageOutput { extension GetCoipPoolUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoipPoolUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoipPoolUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85031,7 +85151,7 @@ extension GetCoipPoolUsageOutput { extension GetConsoleOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConsoleOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConsoleOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85045,7 +85165,7 @@ extension GetConsoleOutputOutput { extension GetConsoleScreenshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConsoleScreenshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConsoleScreenshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85058,7 +85178,7 @@ extension GetConsoleScreenshotOutput { extension GetDefaultCreditSpecificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDefaultCreditSpecificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDefaultCreditSpecificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85070,7 +85190,7 @@ extension GetDefaultCreditSpecificationOutput { extension GetEbsDefaultKmsKeyIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEbsDefaultKmsKeyIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEbsDefaultKmsKeyIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85082,7 +85202,7 @@ extension GetEbsDefaultKmsKeyIdOutput { extension GetEbsEncryptionByDefaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEbsEncryptionByDefaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEbsEncryptionByDefaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85095,7 +85215,7 @@ extension GetEbsEncryptionByDefaultOutput { extension GetFlowLogsIntegrationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFlowLogsIntegrationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowLogsIntegrationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85107,7 +85227,7 @@ extension GetFlowLogsIntegrationTemplateOutput { extension GetGroupsForCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupsForCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupsForCapacityReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85120,7 +85240,7 @@ extension GetGroupsForCapacityReservationOutput { extension GetHostReservationPurchasePreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostReservationPurchasePreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostReservationPurchasePreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85135,7 +85255,7 @@ extension GetHostReservationPurchasePreviewOutput { extension GetImageBlockPublicAccessStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageBlockPublicAccessStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageBlockPublicAccessStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85147,7 +85267,7 @@ extension GetImageBlockPublicAccessStateOutput { extension GetInstanceMetadataDefaultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceMetadataDefaultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceMetadataDefaultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85159,7 +85279,7 @@ extension GetInstanceMetadataDefaultsOutput { extension GetInstanceTpmEkPubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceTpmEkPubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceTpmEkPubOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85174,7 +85294,7 @@ extension GetInstanceTpmEkPubOutput { extension GetInstanceTypesFromInstanceRequirementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceTypesFromInstanceRequirementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceTypesFromInstanceRequirementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85187,7 +85307,7 @@ extension GetInstanceTypesFromInstanceRequirementsOutput { extension GetInstanceUefiDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceUefiDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceUefiDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85200,7 +85320,7 @@ extension GetInstanceUefiDataOutput { extension GetIpamAddressHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamAddressHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamAddressHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85213,7 +85333,7 @@ extension GetIpamAddressHistoryOutput { extension GetIpamDiscoveredAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamDiscoveredAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamDiscoveredAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85226,7 +85346,7 @@ extension GetIpamDiscoveredAccountsOutput { extension GetIpamDiscoveredPublicAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamDiscoveredPublicAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamDiscoveredPublicAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85240,7 +85360,7 @@ extension GetIpamDiscoveredPublicAddressesOutput { extension GetIpamDiscoveredResourceCidrsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamDiscoveredResourceCidrsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamDiscoveredResourceCidrsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85253,7 +85373,7 @@ extension GetIpamDiscoveredResourceCidrsOutput { extension GetIpamPoolAllocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamPoolAllocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamPoolAllocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85266,7 +85386,7 @@ extension GetIpamPoolAllocationsOutput { extension GetIpamPoolCidrsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamPoolCidrsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamPoolCidrsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85279,7 +85399,7 @@ extension GetIpamPoolCidrsOutput { extension GetIpamResourceCidrsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpamResourceCidrsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpamResourceCidrsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85292,7 +85412,7 @@ extension GetIpamResourceCidrsOutput { extension GetLaunchTemplateDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchTemplateDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchTemplateDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85304,7 +85424,7 @@ extension GetLaunchTemplateDataOutput { extension GetManagedPrefixListAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetManagedPrefixListAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetManagedPrefixListAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85317,7 +85437,7 @@ extension GetManagedPrefixListAssociationsOutput { extension GetManagedPrefixListEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetManagedPrefixListEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetManagedPrefixListEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85330,7 +85450,7 @@ extension GetManagedPrefixListEntriesOutput { extension GetNetworkInsightsAccessScopeAnalysisFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkInsightsAccessScopeAnalysisFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkInsightsAccessScopeAnalysisFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85345,7 +85465,7 @@ extension GetNetworkInsightsAccessScopeAnalysisFindingsOutput { extension GetNetworkInsightsAccessScopeContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkInsightsAccessScopeContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkInsightsAccessScopeContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85357,7 +85477,7 @@ extension GetNetworkInsightsAccessScopeContentOutput { extension GetPasswordDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPasswordDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPasswordDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85371,7 +85491,7 @@ extension GetPasswordDataOutput { extension GetReservedInstancesExchangeQuoteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReservedInstancesExchangeQuoteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReservedInstancesExchangeQuoteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85391,7 +85511,7 @@ extension GetReservedInstancesExchangeQuoteOutput { extension GetSecurityGroupsForVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecurityGroupsForVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecurityGroupsForVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85404,7 +85524,7 @@ extension GetSecurityGroupsForVpcOutput { extension GetSerialConsoleAccessStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSerialConsoleAccessStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSerialConsoleAccessStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85416,7 +85536,7 @@ extension GetSerialConsoleAccessStatusOutput { extension GetSnapshotBlockPublicAccessStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSnapshotBlockPublicAccessStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSnapshotBlockPublicAccessStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85428,7 +85548,7 @@ extension GetSnapshotBlockPublicAccessStateOutput { extension GetSpotPlacementScoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSpotPlacementScoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSpotPlacementScoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85441,7 +85561,7 @@ extension GetSpotPlacementScoresOutput { extension GetSubnetCidrReservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubnetCidrReservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubnetCidrReservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85455,7 +85575,7 @@ extension GetSubnetCidrReservationsOutput { extension GetTransitGatewayAttachmentPropagationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayAttachmentPropagationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayAttachmentPropagationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85468,7 +85588,7 @@ extension GetTransitGatewayAttachmentPropagationsOutput { extension GetTransitGatewayMulticastDomainAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayMulticastDomainAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayMulticastDomainAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85481,7 +85601,7 @@ extension GetTransitGatewayMulticastDomainAssociationsOutput { extension GetTransitGatewayPolicyTableAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayPolicyTableAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayPolicyTableAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85494,7 +85614,7 @@ extension GetTransitGatewayPolicyTableAssociationsOutput { extension GetTransitGatewayPolicyTableEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayPolicyTableEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayPolicyTableEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85506,7 +85626,7 @@ extension GetTransitGatewayPolicyTableEntriesOutput { extension GetTransitGatewayPrefixListReferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayPrefixListReferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayPrefixListReferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85519,7 +85639,7 @@ extension GetTransitGatewayPrefixListReferencesOutput { extension GetTransitGatewayRouteTableAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayRouteTableAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayRouteTableAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85532,7 +85652,7 @@ extension GetTransitGatewayRouteTableAssociationsOutput { extension GetTransitGatewayRouteTablePropagationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayRouteTablePropagationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayRouteTablePropagationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85545,7 +85665,7 @@ extension GetTransitGatewayRouteTablePropagationsOutput { extension GetVerifiedAccessEndpointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVerifiedAccessEndpointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVerifiedAccessEndpointPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85558,7 +85678,7 @@ extension GetVerifiedAccessEndpointPolicyOutput { extension GetVerifiedAccessGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVerifiedAccessGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVerifiedAccessGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85571,7 +85691,7 @@ extension GetVerifiedAccessGroupPolicyOutput { extension GetVpnConnectionDeviceSampleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpnConnectionDeviceSampleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpnConnectionDeviceSampleConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85583,7 +85703,7 @@ extension GetVpnConnectionDeviceSampleConfigurationOutput { extension GetVpnConnectionDeviceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpnConnectionDeviceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpnConnectionDeviceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85596,7 +85716,7 @@ extension GetVpnConnectionDeviceTypesOutput { extension GetVpnTunnelReplacementStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpnTunnelReplacementStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpnTunnelReplacementStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85613,7 +85733,7 @@ extension GetVpnTunnelReplacementStatusOutput { extension ImportClientVpnClientCertificateRevocationListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportClientVpnClientCertificateRevocationListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportClientVpnClientCertificateRevocationListOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85625,7 +85745,7 @@ extension ImportClientVpnClientCertificateRevocationListOutput { extension ImportImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85652,7 +85772,7 @@ extension ImportImageOutput { extension ImportInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85664,7 +85784,7 @@ extension ImportInstanceOutput { extension ImportKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85679,7 +85799,7 @@ extension ImportKeyPairOutput { extension ImportSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85694,7 +85814,7 @@ extension ImportSnapshotOutput { extension ImportVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85706,7 +85826,7 @@ extension ImportVolumeOutput { extension ListImagesInRecycleBinOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagesInRecycleBinOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagesInRecycleBinOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85719,7 +85839,7 @@ extension ListImagesInRecycleBinOutput { extension ListSnapshotsInRecycleBinOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSnapshotsInRecycleBinOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSnapshotsInRecycleBinOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85732,7 +85852,7 @@ extension ListSnapshotsInRecycleBinOutput { extension LockSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LockSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LockSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85751,7 +85871,7 @@ extension LockSnapshotOutput { extension ModifyAddressAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyAddressAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyAddressAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85763,7 +85883,7 @@ extension ModifyAddressAttributeOutput { extension ModifyAvailabilityZoneGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyAvailabilityZoneGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyAvailabilityZoneGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85775,7 +85895,7 @@ extension ModifyAvailabilityZoneGroupOutput { extension ModifyCapacityReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCapacityReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCapacityReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85787,7 +85907,7 @@ extension ModifyCapacityReservationOutput { extension ModifyCapacityReservationFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCapacityReservationFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCapacityReservationFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85799,7 +85919,7 @@ extension ModifyCapacityReservationFleetOutput { extension ModifyClientVpnEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClientVpnEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClientVpnEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85811,7 +85931,7 @@ extension ModifyClientVpnEndpointOutput { extension ModifyDefaultCreditSpecificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDefaultCreditSpecificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDefaultCreditSpecificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85823,7 +85943,7 @@ extension ModifyDefaultCreditSpecificationOutput { extension ModifyEbsDefaultKmsKeyIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEbsDefaultKmsKeyIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEbsDefaultKmsKeyIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85835,7 +85955,7 @@ extension ModifyEbsDefaultKmsKeyIdOutput { extension ModifyFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85847,7 +85967,7 @@ extension ModifyFleetOutput { extension ModifyFpgaImageAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyFpgaImageAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyFpgaImageAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85859,7 +85979,7 @@ extension ModifyFpgaImageAttributeOutput { extension ModifyHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85872,35 +85992,35 @@ extension ModifyHostsOutput { extension ModifyIdentityIdFormatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIdentityIdFormatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIdentityIdFormatOutput { return ModifyIdentityIdFormatOutput() } } extension ModifyIdFormatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIdFormatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIdFormatOutput { return ModifyIdFormatOutput() } } extension ModifyImageAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyImageAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyImageAttributeOutput { return ModifyImageAttributeOutput() } } extension ModifyInstanceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceAttributeOutput { return ModifyInstanceAttributeOutput() } } extension ModifyInstanceCapacityReservationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceCapacityReservationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceCapacityReservationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85912,7 +86032,7 @@ extension ModifyInstanceCapacityReservationAttributesOutput { extension ModifyInstanceCreditSpecificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceCreditSpecificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceCreditSpecificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85925,7 +86045,7 @@ extension ModifyInstanceCreditSpecificationOutput { extension ModifyInstanceEventStartTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceEventStartTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceEventStartTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85937,7 +86057,7 @@ extension ModifyInstanceEventStartTimeOutput { extension ModifyInstanceEventWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceEventWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceEventWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85949,7 +86069,7 @@ extension ModifyInstanceEventWindowOutput { extension ModifyInstanceMaintenanceOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceMaintenanceOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceMaintenanceOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85962,7 +86082,7 @@ extension ModifyInstanceMaintenanceOptionsOutput { extension ModifyInstanceMetadataDefaultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceMetadataDefaultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceMetadataDefaultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85974,7 +86094,7 @@ extension ModifyInstanceMetadataDefaultsOutput { extension ModifyInstanceMetadataOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceMetadataOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceMetadataOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85987,7 +86107,7 @@ extension ModifyInstanceMetadataOptionsOutput { extension ModifyInstancePlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstancePlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstancePlacementOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -85999,7 +86119,7 @@ extension ModifyInstancePlacementOutput { extension ModifyIpamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIpamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIpamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86011,7 +86131,7 @@ extension ModifyIpamOutput { extension ModifyIpamPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIpamPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIpamPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86023,7 +86143,7 @@ extension ModifyIpamPoolOutput { extension ModifyIpamResourceCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIpamResourceCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIpamResourceCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86035,7 +86155,7 @@ extension ModifyIpamResourceCidrOutput { extension ModifyIpamResourceDiscoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIpamResourceDiscoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIpamResourceDiscoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86047,7 +86167,7 @@ extension ModifyIpamResourceDiscoveryOutput { extension ModifyIpamScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIpamScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIpamScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86059,7 +86179,7 @@ extension ModifyIpamScopeOutput { extension ModifyLaunchTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyLaunchTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyLaunchTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86071,7 +86191,7 @@ extension ModifyLaunchTemplateOutput { extension ModifyLocalGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyLocalGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyLocalGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86083,7 +86203,7 @@ extension ModifyLocalGatewayRouteOutput { extension ModifyManagedPrefixListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyManagedPrefixListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyManagedPrefixListOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86095,14 +86215,14 @@ extension ModifyManagedPrefixListOutput { extension ModifyNetworkInterfaceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyNetworkInterfaceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyNetworkInterfaceAttributeOutput { return ModifyNetworkInterfaceAttributeOutput() } } extension ModifyPrivateDnsNameOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyPrivateDnsNameOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyPrivateDnsNameOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86114,7 +86234,7 @@ extension ModifyPrivateDnsNameOptionsOutput { extension ModifyReservedInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReservedInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReservedInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86126,7 +86246,7 @@ extension ModifyReservedInstancesOutput { extension ModifySecurityGroupRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySecurityGroupRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySecurityGroupRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86138,14 +86258,14 @@ extension ModifySecurityGroupRulesOutput { extension ModifySnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySnapshotAttributeOutput { return ModifySnapshotAttributeOutput() } } extension ModifySnapshotTierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySnapshotTierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySnapshotTierOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86158,7 +86278,7 @@ extension ModifySnapshotTierOutput { extension ModifySpotFleetRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySpotFleetRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySpotFleetRequestOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86170,14 +86290,14 @@ extension ModifySpotFleetRequestOutput { extension ModifySubnetAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySubnetAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySubnetAttributeOutput { return ModifySubnetAttributeOutput() } } extension ModifyTrafficMirrorFilterNetworkServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTrafficMirrorFilterNetworkServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTrafficMirrorFilterNetworkServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86189,7 +86309,7 @@ extension ModifyTrafficMirrorFilterNetworkServicesOutput { extension ModifyTrafficMirrorFilterRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTrafficMirrorFilterRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTrafficMirrorFilterRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86201,7 +86321,7 @@ extension ModifyTrafficMirrorFilterRuleOutput { extension ModifyTrafficMirrorSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTrafficMirrorSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTrafficMirrorSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86213,7 +86333,7 @@ extension ModifyTrafficMirrorSessionOutput { extension ModifyTransitGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTransitGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTransitGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86225,7 +86345,7 @@ extension ModifyTransitGatewayOutput { extension ModifyTransitGatewayPrefixListReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTransitGatewayPrefixListReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTransitGatewayPrefixListReferenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86237,7 +86357,7 @@ extension ModifyTransitGatewayPrefixListReferenceOutput { extension ModifyTransitGatewayVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTransitGatewayVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTransitGatewayVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86249,7 +86369,7 @@ extension ModifyTransitGatewayVpcAttachmentOutput { extension ModifyVerifiedAccessEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86261,7 +86381,7 @@ extension ModifyVerifiedAccessEndpointOutput { extension ModifyVerifiedAccessEndpointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessEndpointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessEndpointPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86275,7 +86395,7 @@ extension ModifyVerifiedAccessEndpointPolicyOutput { extension ModifyVerifiedAccessGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86287,7 +86407,7 @@ extension ModifyVerifiedAccessGroupOutput { extension ModifyVerifiedAccessGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86301,7 +86421,7 @@ extension ModifyVerifiedAccessGroupPolicyOutput { extension ModifyVerifiedAccessInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86313,7 +86433,7 @@ extension ModifyVerifiedAccessInstanceOutput { extension ModifyVerifiedAccessInstanceLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessInstanceLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessInstanceLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86325,7 +86445,7 @@ extension ModifyVerifiedAccessInstanceLoggingConfigurationOutput { extension ModifyVerifiedAccessTrustProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVerifiedAccessTrustProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVerifiedAccessTrustProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86337,7 +86457,7 @@ extension ModifyVerifiedAccessTrustProviderOutput { extension ModifyVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86349,21 +86469,21 @@ extension ModifyVolumeOutput { extension ModifyVolumeAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVolumeAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVolumeAttributeOutput { return ModifyVolumeAttributeOutput() } } extension ModifyVpcAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcAttributeOutput { return ModifyVpcAttributeOutput() } } extension ModifyVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86375,7 +86495,7 @@ extension ModifyVpcEndpointOutput { extension ModifyVpcEndpointConnectionNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcEndpointConnectionNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcEndpointConnectionNotificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86387,7 +86507,7 @@ extension ModifyVpcEndpointConnectionNotificationOutput { extension ModifyVpcEndpointServiceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcEndpointServiceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcEndpointServiceConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86399,7 +86519,7 @@ extension ModifyVpcEndpointServiceConfigurationOutput { extension ModifyVpcEndpointServicePayerResponsibilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcEndpointServicePayerResponsibilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcEndpointServicePayerResponsibilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86411,7 +86531,7 @@ extension ModifyVpcEndpointServicePayerResponsibilityOutput { extension ModifyVpcEndpointServicePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcEndpointServicePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcEndpointServicePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86424,7 +86544,7 @@ extension ModifyVpcEndpointServicePermissionsOutput { extension ModifyVpcPeeringConnectionOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcPeeringConnectionOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcPeeringConnectionOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86437,7 +86557,7 @@ extension ModifyVpcPeeringConnectionOptionsOutput { extension ModifyVpcTenancyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpcTenancyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpcTenancyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86449,7 +86569,7 @@ extension ModifyVpcTenancyOutput { extension ModifyVpnConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpnConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpnConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86461,7 +86581,7 @@ extension ModifyVpnConnectionOutput { extension ModifyVpnConnectionOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpnConnectionOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpnConnectionOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86473,7 +86593,7 @@ extension ModifyVpnConnectionOptionsOutput { extension ModifyVpnTunnelCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpnTunnelCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpnTunnelCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86485,7 +86605,7 @@ extension ModifyVpnTunnelCertificateOutput { extension ModifyVpnTunnelOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyVpnTunnelOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyVpnTunnelOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86497,7 +86617,7 @@ extension ModifyVpnTunnelOptionsOutput { extension MonitorInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MonitorInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MonitorInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86509,7 +86629,7 @@ extension MonitorInstancesOutput { extension MoveAddressToVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MoveAddressToVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MoveAddressToVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86522,7 +86642,7 @@ extension MoveAddressToVpcOutput { extension MoveByoipCidrToIpamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MoveByoipCidrToIpamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MoveByoipCidrToIpamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86534,7 +86654,7 @@ extension MoveByoipCidrToIpamOutput { extension ProvisionByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86546,7 +86666,7 @@ extension ProvisionByoipCidrOutput { extension ProvisionIpamByoasnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionIpamByoasnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionIpamByoasnOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86558,7 +86678,7 @@ extension ProvisionIpamByoasnOutput { extension ProvisionIpamPoolCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionIpamPoolCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionIpamPoolCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86570,7 +86690,7 @@ extension ProvisionIpamPoolCidrOutput { extension ProvisionPublicIpv4PoolCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionPublicIpv4PoolCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionPublicIpv4PoolCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86583,7 +86703,7 @@ extension ProvisionPublicIpv4PoolCidrOutput { extension PurchaseCapacityBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseCapacityBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseCapacityBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86595,7 +86715,7 @@ extension PurchaseCapacityBlockOutput { extension PurchaseHostReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseHostReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseHostReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86611,7 +86731,7 @@ extension PurchaseHostReservationOutput { extension PurchaseReservedInstancesOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedInstancesOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedInstancesOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86623,7 +86743,7 @@ extension PurchaseReservedInstancesOfferingOutput { extension PurchaseScheduledInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseScheduledInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseScheduledInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86635,14 +86755,14 @@ extension PurchaseScheduledInstancesOutput { extension RebootInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootInstancesOutput { return RebootInstancesOutput() } } extension RegisterImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86654,7 +86774,7 @@ extension RegisterImageOutput { extension RegisterInstanceEventNotificationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterInstanceEventNotificationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterInstanceEventNotificationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86666,7 +86786,7 @@ extension RegisterInstanceEventNotificationAttributesOutput { extension RegisterTransitGatewayMulticastGroupMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTransitGatewayMulticastGroupMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTransitGatewayMulticastGroupMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86678,7 +86798,7 @@ extension RegisterTransitGatewayMulticastGroupMembersOutput { extension RegisterTransitGatewayMulticastGroupSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTransitGatewayMulticastGroupSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTransitGatewayMulticastGroupSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86690,7 +86810,7 @@ extension RegisterTransitGatewayMulticastGroupSourcesOutput { extension RejectTransitGatewayMulticastDomainAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectTransitGatewayMulticastDomainAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectTransitGatewayMulticastDomainAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86702,7 +86822,7 @@ extension RejectTransitGatewayMulticastDomainAssociationsOutput { extension RejectTransitGatewayPeeringAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectTransitGatewayPeeringAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectTransitGatewayPeeringAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86714,7 +86834,7 @@ extension RejectTransitGatewayPeeringAttachmentOutput { extension RejectTransitGatewayVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectTransitGatewayVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectTransitGatewayVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86726,7 +86846,7 @@ extension RejectTransitGatewayVpcAttachmentOutput { extension RejectVpcEndpointConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectVpcEndpointConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectVpcEndpointConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86738,7 +86858,7 @@ extension RejectVpcEndpointConnectionsOutput { extension RejectVpcPeeringConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectVpcPeeringConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectVpcPeeringConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86750,14 +86870,14 @@ extension RejectVpcPeeringConnectionOutput { extension ReleaseAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleaseAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleaseAddressOutput { return ReleaseAddressOutput() } } extension ReleaseHostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleaseHostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleaseHostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86770,7 +86890,7 @@ extension ReleaseHostsOutput { extension ReleaseIpamPoolAllocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleaseIpamPoolAllocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleaseIpamPoolAllocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86782,7 +86902,7 @@ extension ReleaseIpamPoolAllocationOutput { extension ReplaceIamInstanceProfileAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceIamInstanceProfileAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceIamInstanceProfileAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86794,7 +86914,7 @@ extension ReplaceIamInstanceProfileAssociationOutput { extension ReplaceNetworkAclAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceNetworkAclAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceNetworkAclAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86806,21 +86926,21 @@ extension ReplaceNetworkAclAssociationOutput { extension ReplaceNetworkAclEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceNetworkAclEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceNetworkAclEntryOutput { return ReplaceNetworkAclEntryOutput() } } extension ReplaceRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceRouteOutput { return ReplaceRouteOutput() } } extension ReplaceRouteTableAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceRouteTableAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceRouteTableAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86833,7 +86953,7 @@ extension ReplaceRouteTableAssociationOutput { extension ReplaceTransitGatewayRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceTransitGatewayRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceTransitGatewayRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86845,7 +86965,7 @@ extension ReplaceTransitGatewayRouteOutput { extension ReplaceVpnTunnelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceVpnTunnelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceVpnTunnelOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86857,14 +86977,14 @@ extension ReplaceVpnTunnelOutput { extension ReportInstanceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReportInstanceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReportInstanceStatusOutput { return ReportInstanceStatusOutput() } } extension RequestSpotFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestSpotFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestSpotFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86876,7 +86996,7 @@ extension RequestSpotFleetOutput { extension RequestSpotInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestSpotInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestSpotInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86888,7 +87008,7 @@ extension RequestSpotInstancesOutput { extension ResetAddressAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetAddressAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetAddressAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86900,7 +87020,7 @@ extension ResetAddressAttributeOutput { extension ResetEbsDefaultKmsKeyIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetEbsDefaultKmsKeyIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetEbsDefaultKmsKeyIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86912,7 +87032,7 @@ extension ResetEbsDefaultKmsKeyIdOutput { extension ResetFpgaImageAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetFpgaImageAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetFpgaImageAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86924,35 +87044,35 @@ extension ResetFpgaImageAttributeOutput { extension ResetImageAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetImageAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetImageAttributeOutput { return ResetImageAttributeOutput() } } extension ResetInstanceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetInstanceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetInstanceAttributeOutput { return ResetInstanceAttributeOutput() } } extension ResetNetworkInterfaceAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetNetworkInterfaceAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetNetworkInterfaceAttributeOutput { return ResetNetworkInterfaceAttributeOutput() } } extension ResetSnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetSnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetSnapshotAttributeOutput { return ResetSnapshotAttributeOutput() } } extension RestoreAddressToClassicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreAddressToClassicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreAddressToClassicOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86965,7 +87085,7 @@ extension RestoreAddressToClassicOutput { extension RestoreImageFromRecycleBinOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreImageFromRecycleBinOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreImageFromRecycleBinOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86977,7 +87097,7 @@ extension RestoreImageFromRecycleBinOutput { extension RestoreManagedPrefixListVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreManagedPrefixListVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreManagedPrefixListVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -86989,7 +87109,7 @@ extension RestoreManagedPrefixListVersionOutput { extension RestoreSnapshotFromRecycleBinOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreSnapshotFromRecycleBinOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreSnapshotFromRecycleBinOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87011,7 +87131,7 @@ extension RestoreSnapshotFromRecycleBinOutput { extension RestoreSnapshotTierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreSnapshotTierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreSnapshotTierOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87026,7 +87146,7 @@ extension RestoreSnapshotTierOutput { extension RevokeClientVpnIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeClientVpnIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeClientVpnIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87038,7 +87158,7 @@ extension RevokeClientVpnIngressOutput { extension RevokeSecurityGroupEgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeSecurityGroupEgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeSecurityGroupEgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87051,7 +87171,7 @@ extension RevokeSecurityGroupEgressOutput { extension RevokeSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87064,7 +87184,7 @@ extension RevokeSecurityGroupIngressOutput { extension RunInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87080,7 +87200,7 @@ extension RunInstancesOutput { extension RunScheduledInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunScheduledInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunScheduledInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87092,7 +87212,7 @@ extension RunScheduledInstancesOutput { extension SearchLocalGatewayRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchLocalGatewayRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchLocalGatewayRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87105,7 +87225,7 @@ extension SearchLocalGatewayRoutesOutput { extension SearchTransitGatewayMulticastGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchTransitGatewayMulticastGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchTransitGatewayMulticastGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87118,7 +87238,7 @@ extension SearchTransitGatewayMulticastGroupsOutput { extension SearchTransitGatewayRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchTransitGatewayRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchTransitGatewayRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87131,14 +87251,14 @@ extension SearchTransitGatewayRoutesOutput { extension SendDiagnosticInterruptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendDiagnosticInterruptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendDiagnosticInterruptOutput { return SendDiagnosticInterruptOutput() } } extension StartInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87150,7 +87270,7 @@ extension StartInstancesOutput { extension StartNetworkInsightsAccessScopeAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartNetworkInsightsAccessScopeAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartNetworkInsightsAccessScopeAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87162,7 +87282,7 @@ extension StartNetworkInsightsAccessScopeAnalysisOutput { extension StartNetworkInsightsAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartNetworkInsightsAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartNetworkInsightsAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87174,7 +87294,7 @@ extension StartNetworkInsightsAnalysisOutput { extension StartVpcEndpointServicePrivateDnsVerificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartVpcEndpointServicePrivateDnsVerificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartVpcEndpointServicePrivateDnsVerificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87186,7 +87306,7 @@ extension StartVpcEndpointServicePrivateDnsVerificationOutput { extension StopInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87198,7 +87318,7 @@ extension StopInstancesOutput { extension TerminateClientVpnConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateClientVpnConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateClientVpnConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87212,7 +87332,7 @@ extension TerminateClientVpnConnectionsOutput { extension TerminateInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87224,7 +87344,7 @@ extension TerminateInstancesOutput { extension UnassignIpv6AddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnassignIpv6AddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnassignIpv6AddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87238,14 +87358,14 @@ extension UnassignIpv6AddressesOutput { extension UnassignPrivateIpAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnassignPrivateIpAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnassignPrivateIpAddressesOutput { return UnassignPrivateIpAddressesOutput() } } extension UnassignPrivateNatGatewayAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnassignPrivateNatGatewayAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnassignPrivateNatGatewayAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87258,7 +87378,7 @@ extension UnassignPrivateNatGatewayAddressOutput { extension UnlockSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnlockSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnlockSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87270,7 +87390,7 @@ extension UnlockSnapshotOutput { extension UnmonitorInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnmonitorInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnmonitorInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87282,7 +87402,7 @@ extension UnmonitorInstancesOutput { extension UpdateSecurityGroupRuleDescriptionsEgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityGroupRuleDescriptionsEgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityGroupRuleDescriptionsEgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87294,7 +87414,7 @@ extension UpdateSecurityGroupRuleDescriptionsEgressOutput { extension UpdateSecurityGroupRuleDescriptionsIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityGroupRuleDescriptionsIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityGroupRuleDescriptionsIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87306,7 +87426,7 @@ extension UpdateSecurityGroupRuleDescriptionsIngressOutput { extension WithdrawByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> WithdrawByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> WithdrawByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -87318,7 +87438,7 @@ extension WithdrawByoipCidrOutput { enum AcceptAddressTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87331,7 +87451,7 @@ enum AcceptAddressTransferOutputError { enum AcceptReservedInstancesExchangeQuoteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87344,7 +87464,7 @@ enum AcceptReservedInstancesExchangeQuoteOutputError { enum AcceptTransitGatewayMulticastDomainAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87357,7 +87477,7 @@ enum AcceptTransitGatewayMulticastDomainAssociationsOutputError { enum AcceptTransitGatewayPeeringAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87370,7 +87490,7 @@ enum AcceptTransitGatewayPeeringAttachmentOutputError { enum AcceptTransitGatewayVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87383,7 +87503,7 @@ enum AcceptTransitGatewayVpcAttachmentOutputError { enum AcceptVpcEndpointConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87396,7 +87516,7 @@ enum AcceptVpcEndpointConnectionsOutputError { enum AcceptVpcPeeringConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87409,7 +87529,7 @@ enum AcceptVpcPeeringConnectionOutputError { enum AdvertiseByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87422,7 +87542,7 @@ enum AdvertiseByoipCidrOutputError { enum AllocateAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87435,7 +87555,7 @@ enum AllocateAddressOutputError { enum AllocateHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87448,7 +87568,7 @@ enum AllocateHostsOutputError { enum AllocateIpamPoolCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87461,7 +87581,7 @@ enum AllocateIpamPoolCidrOutputError { enum ApplySecurityGroupsToClientVpnTargetNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87474,7 +87594,7 @@ enum ApplySecurityGroupsToClientVpnTargetNetworkOutputError { enum AssignIpv6AddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87487,7 +87607,7 @@ enum AssignIpv6AddressesOutputError { enum AssignPrivateIpAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87500,7 +87620,7 @@ enum AssignPrivateIpAddressesOutputError { enum AssignPrivateNatGatewayAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87513,7 +87633,7 @@ enum AssignPrivateNatGatewayAddressOutputError { enum AssociateAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87526,7 +87646,7 @@ enum AssociateAddressOutputError { enum AssociateClientVpnTargetNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87539,7 +87659,7 @@ enum AssociateClientVpnTargetNetworkOutputError { enum AssociateDhcpOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87552,7 +87672,7 @@ enum AssociateDhcpOptionsOutputError { enum AssociateEnclaveCertificateIamRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87565,7 +87685,7 @@ enum AssociateEnclaveCertificateIamRoleOutputError { enum AssociateIamInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87578,7 +87698,7 @@ enum AssociateIamInstanceProfileOutputError { enum AssociateInstanceEventWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87591,7 +87711,7 @@ enum AssociateInstanceEventWindowOutputError { enum AssociateIpamByoasnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87604,7 +87724,7 @@ enum AssociateIpamByoasnOutputError { enum AssociateIpamResourceDiscoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87617,7 +87737,7 @@ enum AssociateIpamResourceDiscoveryOutputError { enum AssociateNatGatewayAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87630,7 +87750,7 @@ enum AssociateNatGatewayAddressOutputError { enum AssociateRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87643,7 +87763,7 @@ enum AssociateRouteTableOutputError { enum AssociateSubnetCidrBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87656,7 +87776,7 @@ enum AssociateSubnetCidrBlockOutputError { enum AssociateTransitGatewayMulticastDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87669,7 +87789,7 @@ enum AssociateTransitGatewayMulticastDomainOutputError { enum AssociateTransitGatewayPolicyTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87682,7 +87802,7 @@ enum AssociateTransitGatewayPolicyTableOutputError { enum AssociateTransitGatewayRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87695,7 +87815,7 @@ enum AssociateTransitGatewayRouteTableOutputError { enum AssociateTrunkInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87708,7 +87828,7 @@ enum AssociateTrunkInterfaceOutputError { enum AssociateVpcCidrBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87721,7 +87841,7 @@ enum AssociateVpcCidrBlockOutputError { enum AttachClassicLinkVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87734,7 +87854,7 @@ enum AttachClassicLinkVpcOutputError { enum AttachInternetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87747,7 +87867,7 @@ enum AttachInternetGatewayOutputError { enum AttachNetworkInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87760,7 +87880,7 @@ enum AttachNetworkInterfaceOutputError { enum AttachVerifiedAccessTrustProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87773,7 +87893,7 @@ enum AttachVerifiedAccessTrustProviderOutputError { enum AttachVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87786,7 +87906,7 @@ enum AttachVolumeOutputError { enum AttachVpnGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87799,7 +87919,7 @@ enum AttachVpnGatewayOutputError { enum AuthorizeClientVpnIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87812,7 +87932,7 @@ enum AuthorizeClientVpnIngressOutputError { enum AuthorizeSecurityGroupEgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87825,7 +87945,7 @@ enum AuthorizeSecurityGroupEgressOutputError { enum AuthorizeSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87838,7 +87958,7 @@ enum AuthorizeSecurityGroupIngressOutputError { enum BundleInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87851,7 +87971,7 @@ enum BundleInstanceOutputError { enum CancelBundleTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87864,7 +87984,7 @@ enum CancelBundleTaskOutputError { enum CancelCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87877,7 +87997,7 @@ enum CancelCapacityReservationOutputError { enum CancelCapacityReservationFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87890,7 +88010,7 @@ enum CancelCapacityReservationFleetsOutputError { enum CancelConversionTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87903,7 +88023,7 @@ enum CancelConversionTaskOutputError { enum CancelExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87916,7 +88036,7 @@ enum CancelExportTaskOutputError { enum CancelImageLaunchPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87929,7 +88049,7 @@ enum CancelImageLaunchPermissionOutputError { enum CancelImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87942,7 +88062,7 @@ enum CancelImportTaskOutputError { enum CancelReservedInstancesListingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87955,7 +88075,7 @@ enum CancelReservedInstancesListingOutputError { enum CancelSpotFleetRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87968,7 +88088,7 @@ enum CancelSpotFleetRequestsOutputError { enum CancelSpotInstanceRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87981,7 +88101,7 @@ enum CancelSpotInstanceRequestsOutputError { enum ConfirmProductInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -87994,7 +88114,7 @@ enum ConfirmProductInstanceOutputError { enum CopyFpgaImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88007,7 +88127,7 @@ enum CopyFpgaImageOutputError { enum CopyImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88020,7 +88140,7 @@ enum CopyImageOutputError { enum CopySnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88033,7 +88153,7 @@ enum CopySnapshotOutputError { enum CreateCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88046,7 +88166,7 @@ enum CreateCapacityReservationOutputError { enum CreateCapacityReservationFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88059,7 +88179,7 @@ enum CreateCapacityReservationFleetOutputError { enum CreateCarrierGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88072,7 +88192,7 @@ enum CreateCarrierGatewayOutputError { enum CreateClientVpnEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88085,7 +88205,7 @@ enum CreateClientVpnEndpointOutputError { enum CreateClientVpnRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88098,7 +88218,7 @@ enum CreateClientVpnRouteOutputError { enum CreateCoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88111,7 +88231,7 @@ enum CreateCoipCidrOutputError { enum CreateCoipPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88124,7 +88244,7 @@ enum CreateCoipPoolOutputError { enum CreateCustomerGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88137,7 +88257,7 @@ enum CreateCustomerGatewayOutputError { enum CreateDefaultSubnetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88150,7 +88270,7 @@ enum CreateDefaultSubnetOutputError { enum CreateDefaultVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88163,7 +88283,7 @@ enum CreateDefaultVpcOutputError { enum CreateDhcpOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88176,7 +88296,7 @@ enum CreateDhcpOptionsOutputError { enum CreateEgressOnlyInternetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88189,7 +88309,7 @@ enum CreateEgressOnlyInternetGatewayOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88202,7 +88322,7 @@ enum CreateFleetOutputError { enum CreateFlowLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88215,7 +88335,7 @@ enum CreateFlowLogsOutputError { enum CreateFpgaImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88228,7 +88348,7 @@ enum CreateFpgaImageOutputError { enum CreateImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88241,7 +88361,7 @@ enum CreateImageOutputError { enum CreateInstanceConnectEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88254,7 +88374,7 @@ enum CreateInstanceConnectEndpointOutputError { enum CreateInstanceEventWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88267,7 +88387,7 @@ enum CreateInstanceEventWindowOutputError { enum CreateInstanceExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88280,7 +88400,7 @@ enum CreateInstanceExportTaskOutputError { enum CreateInternetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88293,7 +88413,7 @@ enum CreateInternetGatewayOutputError { enum CreateIpamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88306,7 +88426,7 @@ enum CreateIpamOutputError { enum CreateIpamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88319,7 +88439,7 @@ enum CreateIpamPoolOutputError { enum CreateIpamResourceDiscoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88332,7 +88452,7 @@ enum CreateIpamResourceDiscoveryOutputError { enum CreateIpamScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88345,7 +88465,7 @@ enum CreateIpamScopeOutputError { enum CreateKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88358,7 +88478,7 @@ enum CreateKeyPairOutputError { enum CreateLaunchTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88371,7 +88491,7 @@ enum CreateLaunchTemplateOutputError { enum CreateLaunchTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88384,7 +88504,7 @@ enum CreateLaunchTemplateVersionOutputError { enum CreateLocalGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88397,7 +88517,7 @@ enum CreateLocalGatewayRouteOutputError { enum CreateLocalGatewayRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88410,7 +88530,7 @@ enum CreateLocalGatewayRouteTableOutputError { enum CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88423,7 +88543,7 @@ enum CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutputError { enum CreateLocalGatewayRouteTableVpcAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88436,7 +88556,7 @@ enum CreateLocalGatewayRouteTableVpcAssociationOutputError { enum CreateManagedPrefixListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88449,7 +88569,7 @@ enum CreateManagedPrefixListOutputError { enum CreateNatGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88462,7 +88582,7 @@ enum CreateNatGatewayOutputError { enum CreateNetworkAclOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88475,7 +88595,7 @@ enum CreateNetworkAclOutputError { enum CreateNetworkAclEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88488,7 +88608,7 @@ enum CreateNetworkAclEntryOutputError { enum CreateNetworkInsightsAccessScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88501,7 +88621,7 @@ enum CreateNetworkInsightsAccessScopeOutputError { enum CreateNetworkInsightsPathOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88514,7 +88634,7 @@ enum CreateNetworkInsightsPathOutputError { enum CreateNetworkInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88527,7 +88647,7 @@ enum CreateNetworkInterfaceOutputError { enum CreateNetworkInterfacePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88540,7 +88660,7 @@ enum CreateNetworkInterfacePermissionOutputError { enum CreatePlacementGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88553,7 +88673,7 @@ enum CreatePlacementGroupOutputError { enum CreatePublicIpv4PoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88566,7 +88686,7 @@ enum CreatePublicIpv4PoolOutputError { enum CreateReplaceRootVolumeTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88579,7 +88699,7 @@ enum CreateReplaceRootVolumeTaskOutputError { enum CreateReservedInstancesListingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88592,7 +88712,7 @@ enum CreateReservedInstancesListingOutputError { enum CreateRestoreImageTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88605,7 +88725,7 @@ enum CreateRestoreImageTaskOutputError { enum CreateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88618,7 +88738,7 @@ enum CreateRouteOutputError { enum CreateRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88631,7 +88751,7 @@ enum CreateRouteTableOutputError { enum CreateSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88644,7 +88764,7 @@ enum CreateSecurityGroupOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88657,7 +88777,7 @@ enum CreateSnapshotOutputError { enum CreateSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88670,7 +88790,7 @@ enum CreateSnapshotsOutputError { enum CreateSpotDatafeedSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88683,7 +88803,7 @@ enum CreateSpotDatafeedSubscriptionOutputError { enum CreateStoreImageTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88696,7 +88816,7 @@ enum CreateStoreImageTaskOutputError { enum CreateSubnetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88709,7 +88829,7 @@ enum CreateSubnetOutputError { enum CreateSubnetCidrReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88722,7 +88842,7 @@ enum CreateSubnetCidrReservationOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88735,7 +88855,7 @@ enum CreateTagsOutputError { enum CreateTrafficMirrorFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88748,7 +88868,7 @@ enum CreateTrafficMirrorFilterOutputError { enum CreateTrafficMirrorFilterRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88761,7 +88881,7 @@ enum CreateTrafficMirrorFilterRuleOutputError { enum CreateTrafficMirrorSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88774,7 +88894,7 @@ enum CreateTrafficMirrorSessionOutputError { enum CreateTrafficMirrorTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88787,7 +88907,7 @@ enum CreateTrafficMirrorTargetOutputError { enum CreateTransitGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88800,7 +88920,7 @@ enum CreateTransitGatewayOutputError { enum CreateTransitGatewayConnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88813,7 +88933,7 @@ enum CreateTransitGatewayConnectOutputError { enum CreateTransitGatewayConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88826,7 +88946,7 @@ enum CreateTransitGatewayConnectPeerOutputError { enum CreateTransitGatewayMulticastDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88839,7 +88959,7 @@ enum CreateTransitGatewayMulticastDomainOutputError { enum CreateTransitGatewayPeeringAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88852,7 +88972,7 @@ enum CreateTransitGatewayPeeringAttachmentOutputError { enum CreateTransitGatewayPolicyTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88865,7 +88985,7 @@ enum CreateTransitGatewayPolicyTableOutputError { enum CreateTransitGatewayPrefixListReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88878,7 +88998,7 @@ enum CreateTransitGatewayPrefixListReferenceOutputError { enum CreateTransitGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88891,7 +89011,7 @@ enum CreateTransitGatewayRouteOutputError { enum CreateTransitGatewayRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88904,7 +89024,7 @@ enum CreateTransitGatewayRouteTableOutputError { enum CreateTransitGatewayRouteTableAnnouncementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88917,7 +89037,7 @@ enum CreateTransitGatewayRouteTableAnnouncementOutputError { enum CreateTransitGatewayVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88930,7 +89050,7 @@ enum CreateTransitGatewayVpcAttachmentOutputError { enum CreateVerifiedAccessEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88943,7 +89063,7 @@ enum CreateVerifiedAccessEndpointOutputError { enum CreateVerifiedAccessGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88956,7 +89076,7 @@ enum CreateVerifiedAccessGroupOutputError { enum CreateVerifiedAccessInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88969,7 +89089,7 @@ enum CreateVerifiedAccessInstanceOutputError { enum CreateVerifiedAccessTrustProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88982,7 +89102,7 @@ enum CreateVerifiedAccessTrustProviderOutputError { enum CreateVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -88995,7 +89115,7 @@ enum CreateVolumeOutputError { enum CreateVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89008,7 +89128,7 @@ enum CreateVpcOutputError { enum CreateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89021,7 +89141,7 @@ enum CreateVpcEndpointOutputError { enum CreateVpcEndpointConnectionNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89034,7 +89154,7 @@ enum CreateVpcEndpointConnectionNotificationOutputError { enum CreateVpcEndpointServiceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89047,7 +89167,7 @@ enum CreateVpcEndpointServiceConfigurationOutputError { enum CreateVpcPeeringConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89060,7 +89180,7 @@ enum CreateVpcPeeringConnectionOutputError { enum CreateVpnConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89073,7 +89193,7 @@ enum CreateVpnConnectionOutputError { enum CreateVpnConnectionRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89086,7 +89206,7 @@ enum CreateVpnConnectionRouteOutputError { enum CreateVpnGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89099,7 +89219,7 @@ enum CreateVpnGatewayOutputError { enum DeleteCarrierGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89112,7 +89232,7 @@ enum DeleteCarrierGatewayOutputError { enum DeleteClientVpnEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89125,7 +89245,7 @@ enum DeleteClientVpnEndpointOutputError { enum DeleteClientVpnRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89138,7 +89258,7 @@ enum DeleteClientVpnRouteOutputError { enum DeleteCoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89151,7 +89271,7 @@ enum DeleteCoipCidrOutputError { enum DeleteCoipPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89164,7 +89284,7 @@ enum DeleteCoipPoolOutputError { enum DeleteCustomerGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89177,7 +89297,7 @@ enum DeleteCustomerGatewayOutputError { enum DeleteDhcpOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89190,7 +89310,7 @@ enum DeleteDhcpOptionsOutputError { enum DeleteEgressOnlyInternetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89203,7 +89323,7 @@ enum DeleteEgressOnlyInternetGatewayOutputError { enum DeleteFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89216,7 +89336,7 @@ enum DeleteFleetsOutputError { enum DeleteFlowLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89229,7 +89349,7 @@ enum DeleteFlowLogsOutputError { enum DeleteFpgaImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89242,7 +89362,7 @@ enum DeleteFpgaImageOutputError { enum DeleteInstanceConnectEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89255,7 +89375,7 @@ enum DeleteInstanceConnectEndpointOutputError { enum DeleteInstanceEventWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89268,7 +89388,7 @@ enum DeleteInstanceEventWindowOutputError { enum DeleteInternetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89281,7 +89401,7 @@ enum DeleteInternetGatewayOutputError { enum DeleteIpamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89294,7 +89414,7 @@ enum DeleteIpamOutputError { enum DeleteIpamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89307,7 +89427,7 @@ enum DeleteIpamPoolOutputError { enum DeleteIpamResourceDiscoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89320,7 +89440,7 @@ enum DeleteIpamResourceDiscoveryOutputError { enum DeleteIpamScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89333,7 +89453,7 @@ enum DeleteIpamScopeOutputError { enum DeleteKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89346,7 +89466,7 @@ enum DeleteKeyPairOutputError { enum DeleteLaunchTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89359,7 +89479,7 @@ enum DeleteLaunchTemplateOutputError { enum DeleteLaunchTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89372,7 +89492,7 @@ enum DeleteLaunchTemplateVersionsOutputError { enum DeleteLocalGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89385,7 +89505,7 @@ enum DeleteLocalGatewayRouteOutputError { enum DeleteLocalGatewayRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89398,7 +89518,7 @@ enum DeleteLocalGatewayRouteTableOutputError { enum DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89411,7 +89531,7 @@ enum DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutputError { enum DeleteLocalGatewayRouteTableVpcAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89424,7 +89544,7 @@ enum DeleteLocalGatewayRouteTableVpcAssociationOutputError { enum DeleteManagedPrefixListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89437,7 +89557,7 @@ enum DeleteManagedPrefixListOutputError { enum DeleteNatGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89450,7 +89570,7 @@ enum DeleteNatGatewayOutputError { enum DeleteNetworkAclOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89463,7 +89583,7 @@ enum DeleteNetworkAclOutputError { enum DeleteNetworkAclEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89476,7 +89596,7 @@ enum DeleteNetworkAclEntryOutputError { enum DeleteNetworkInsightsAccessScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89489,7 +89609,7 @@ enum DeleteNetworkInsightsAccessScopeOutputError { enum DeleteNetworkInsightsAccessScopeAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89502,7 +89622,7 @@ enum DeleteNetworkInsightsAccessScopeAnalysisOutputError { enum DeleteNetworkInsightsAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89515,7 +89635,7 @@ enum DeleteNetworkInsightsAnalysisOutputError { enum DeleteNetworkInsightsPathOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89528,7 +89648,7 @@ enum DeleteNetworkInsightsPathOutputError { enum DeleteNetworkInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89541,7 +89661,7 @@ enum DeleteNetworkInterfaceOutputError { enum DeleteNetworkInterfacePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89554,7 +89674,7 @@ enum DeleteNetworkInterfacePermissionOutputError { enum DeletePlacementGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89567,7 +89687,7 @@ enum DeletePlacementGroupOutputError { enum DeletePublicIpv4PoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89580,7 +89700,7 @@ enum DeletePublicIpv4PoolOutputError { enum DeleteQueuedReservedInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89593,7 +89713,7 @@ enum DeleteQueuedReservedInstancesOutputError { enum DeleteRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89606,7 +89726,7 @@ enum DeleteRouteOutputError { enum DeleteRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89619,7 +89739,7 @@ enum DeleteRouteTableOutputError { enum DeleteSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89632,7 +89752,7 @@ enum DeleteSecurityGroupOutputError { enum DeleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89645,7 +89765,7 @@ enum DeleteSnapshotOutputError { enum DeleteSpotDatafeedSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89658,7 +89778,7 @@ enum DeleteSpotDatafeedSubscriptionOutputError { enum DeleteSubnetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89671,7 +89791,7 @@ enum DeleteSubnetOutputError { enum DeleteSubnetCidrReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89684,7 +89804,7 @@ enum DeleteSubnetCidrReservationOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89697,7 +89817,7 @@ enum DeleteTagsOutputError { enum DeleteTrafficMirrorFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89710,7 +89830,7 @@ enum DeleteTrafficMirrorFilterOutputError { enum DeleteTrafficMirrorFilterRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89723,7 +89843,7 @@ enum DeleteTrafficMirrorFilterRuleOutputError { enum DeleteTrafficMirrorSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89736,7 +89856,7 @@ enum DeleteTrafficMirrorSessionOutputError { enum DeleteTrafficMirrorTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89749,7 +89869,7 @@ enum DeleteTrafficMirrorTargetOutputError { enum DeleteTransitGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89762,7 +89882,7 @@ enum DeleteTransitGatewayOutputError { enum DeleteTransitGatewayConnectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89775,7 +89895,7 @@ enum DeleteTransitGatewayConnectOutputError { enum DeleteTransitGatewayConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89788,7 +89908,7 @@ enum DeleteTransitGatewayConnectPeerOutputError { enum DeleteTransitGatewayMulticastDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89801,7 +89921,7 @@ enum DeleteTransitGatewayMulticastDomainOutputError { enum DeleteTransitGatewayPeeringAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89814,7 +89934,7 @@ enum DeleteTransitGatewayPeeringAttachmentOutputError { enum DeleteTransitGatewayPolicyTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89827,7 +89947,7 @@ enum DeleteTransitGatewayPolicyTableOutputError { enum DeleteTransitGatewayPrefixListReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89840,7 +89960,7 @@ enum DeleteTransitGatewayPrefixListReferenceOutputError { enum DeleteTransitGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89853,7 +89973,7 @@ enum DeleteTransitGatewayRouteOutputError { enum DeleteTransitGatewayRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89866,7 +89986,7 @@ enum DeleteTransitGatewayRouteTableOutputError { enum DeleteTransitGatewayRouteTableAnnouncementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89879,7 +89999,7 @@ enum DeleteTransitGatewayRouteTableAnnouncementOutputError { enum DeleteTransitGatewayVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89892,7 +90012,7 @@ enum DeleteTransitGatewayVpcAttachmentOutputError { enum DeleteVerifiedAccessEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89905,7 +90025,7 @@ enum DeleteVerifiedAccessEndpointOutputError { enum DeleteVerifiedAccessGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89918,7 +90038,7 @@ enum DeleteVerifiedAccessGroupOutputError { enum DeleteVerifiedAccessInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89931,7 +90051,7 @@ enum DeleteVerifiedAccessInstanceOutputError { enum DeleteVerifiedAccessTrustProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89944,7 +90064,7 @@ enum DeleteVerifiedAccessTrustProviderOutputError { enum DeleteVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89957,7 +90077,7 @@ enum DeleteVolumeOutputError { enum DeleteVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89970,7 +90090,7 @@ enum DeleteVpcOutputError { enum DeleteVpcEndpointConnectionNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89983,7 +90103,7 @@ enum DeleteVpcEndpointConnectionNotificationsOutputError { enum DeleteVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -89996,7 +90116,7 @@ enum DeleteVpcEndpointsOutputError { enum DeleteVpcEndpointServiceConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90009,7 +90129,7 @@ enum DeleteVpcEndpointServiceConfigurationsOutputError { enum DeleteVpcPeeringConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90022,7 +90142,7 @@ enum DeleteVpcPeeringConnectionOutputError { enum DeleteVpnConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90035,7 +90155,7 @@ enum DeleteVpnConnectionOutputError { enum DeleteVpnConnectionRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90048,7 +90168,7 @@ enum DeleteVpnConnectionRouteOutputError { enum DeleteVpnGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90061,7 +90181,7 @@ enum DeleteVpnGatewayOutputError { enum DeprovisionByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90074,7 +90194,7 @@ enum DeprovisionByoipCidrOutputError { enum DeprovisionIpamByoasnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90087,7 +90207,7 @@ enum DeprovisionIpamByoasnOutputError { enum DeprovisionIpamPoolCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90100,7 +90220,7 @@ enum DeprovisionIpamPoolCidrOutputError { enum DeprovisionPublicIpv4PoolCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90113,7 +90233,7 @@ enum DeprovisionPublicIpv4PoolCidrOutputError { enum DeregisterImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90126,7 +90246,7 @@ enum DeregisterImageOutputError { enum DeregisterInstanceEventNotificationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90139,7 +90259,7 @@ enum DeregisterInstanceEventNotificationAttributesOutputError { enum DeregisterTransitGatewayMulticastGroupMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90152,7 +90272,7 @@ enum DeregisterTransitGatewayMulticastGroupMembersOutputError { enum DeregisterTransitGatewayMulticastGroupSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90165,7 +90285,7 @@ enum DeregisterTransitGatewayMulticastGroupSourcesOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90178,7 +90298,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90191,7 +90311,7 @@ enum DescribeAddressesOutputError { enum DescribeAddressesAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90204,7 +90324,7 @@ enum DescribeAddressesAttributeOutputError { enum DescribeAddressTransfersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90217,7 +90337,7 @@ enum DescribeAddressTransfersOutputError { enum DescribeAggregateIdFormatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90230,7 +90350,7 @@ enum DescribeAggregateIdFormatOutputError { enum DescribeAvailabilityZonesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90243,7 +90363,7 @@ enum DescribeAvailabilityZonesOutputError { enum DescribeAwsNetworkPerformanceMetricSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90256,7 +90376,7 @@ enum DescribeAwsNetworkPerformanceMetricSubscriptionsOutputError { enum DescribeBundleTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90269,7 +90389,7 @@ enum DescribeBundleTasksOutputError { enum DescribeByoipCidrsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90282,7 +90402,7 @@ enum DescribeByoipCidrsOutputError { enum DescribeCapacityBlockOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90295,7 +90415,7 @@ enum DescribeCapacityBlockOfferingsOutputError { enum DescribeCapacityReservationFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90308,7 +90428,7 @@ enum DescribeCapacityReservationFleetsOutputError { enum DescribeCapacityReservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90321,7 +90441,7 @@ enum DescribeCapacityReservationsOutputError { enum DescribeCarrierGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90334,7 +90454,7 @@ enum DescribeCarrierGatewaysOutputError { enum DescribeClassicLinkInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90347,7 +90467,7 @@ enum DescribeClassicLinkInstancesOutputError { enum DescribeClientVpnAuthorizationRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90360,7 +90480,7 @@ enum DescribeClientVpnAuthorizationRulesOutputError { enum DescribeClientVpnConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90373,7 +90493,7 @@ enum DescribeClientVpnConnectionsOutputError { enum DescribeClientVpnEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90386,7 +90506,7 @@ enum DescribeClientVpnEndpointsOutputError { enum DescribeClientVpnRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90399,7 +90519,7 @@ enum DescribeClientVpnRoutesOutputError { enum DescribeClientVpnTargetNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90412,7 +90532,7 @@ enum DescribeClientVpnTargetNetworksOutputError { enum DescribeCoipPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90425,7 +90545,7 @@ enum DescribeCoipPoolsOutputError { enum DescribeConversionTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90438,7 +90558,7 @@ enum DescribeConversionTasksOutputError { enum DescribeCustomerGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90451,7 +90571,7 @@ enum DescribeCustomerGatewaysOutputError { enum DescribeDhcpOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90464,7 +90584,7 @@ enum DescribeDhcpOptionsOutputError { enum DescribeEgressOnlyInternetGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90477,7 +90597,7 @@ enum DescribeEgressOnlyInternetGatewaysOutputError { enum DescribeElasticGpusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90490,7 +90610,7 @@ enum DescribeElasticGpusOutputError { enum DescribeExportImageTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90503,7 +90623,7 @@ enum DescribeExportImageTasksOutputError { enum DescribeExportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90516,7 +90636,7 @@ enum DescribeExportTasksOutputError { enum DescribeFastLaunchImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90529,7 +90649,7 @@ enum DescribeFastLaunchImagesOutputError { enum DescribeFastSnapshotRestoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90542,7 +90662,7 @@ enum DescribeFastSnapshotRestoresOutputError { enum DescribeFleetHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90555,7 +90675,7 @@ enum DescribeFleetHistoryOutputError { enum DescribeFleetInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90568,7 +90688,7 @@ enum DescribeFleetInstancesOutputError { enum DescribeFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90581,7 +90701,7 @@ enum DescribeFleetsOutputError { enum DescribeFlowLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90594,7 +90714,7 @@ enum DescribeFlowLogsOutputError { enum DescribeFpgaImageAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90607,7 +90727,7 @@ enum DescribeFpgaImageAttributeOutputError { enum DescribeFpgaImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90620,7 +90740,7 @@ enum DescribeFpgaImagesOutputError { enum DescribeHostReservationOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90633,7 +90753,7 @@ enum DescribeHostReservationOfferingsOutputError { enum DescribeHostReservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90646,7 +90766,7 @@ enum DescribeHostReservationsOutputError { enum DescribeHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90659,7 +90779,7 @@ enum DescribeHostsOutputError { enum DescribeIamInstanceProfileAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90672,7 +90792,7 @@ enum DescribeIamInstanceProfileAssociationsOutputError { enum DescribeIdentityIdFormatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90685,7 +90805,7 @@ enum DescribeIdentityIdFormatOutputError { enum DescribeIdFormatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90698,7 +90818,7 @@ enum DescribeIdFormatOutputError { enum DescribeImageAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90711,7 +90831,7 @@ enum DescribeImageAttributeOutputError { enum DescribeImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90724,7 +90844,7 @@ enum DescribeImagesOutputError { enum DescribeImportImageTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90737,7 +90857,7 @@ enum DescribeImportImageTasksOutputError { enum DescribeImportSnapshotTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90750,7 +90870,7 @@ enum DescribeImportSnapshotTasksOutputError { enum DescribeInstanceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90763,7 +90883,7 @@ enum DescribeInstanceAttributeOutputError { enum DescribeInstanceConnectEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90776,7 +90896,7 @@ enum DescribeInstanceConnectEndpointsOutputError { enum DescribeInstanceCreditSpecificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90789,7 +90909,7 @@ enum DescribeInstanceCreditSpecificationsOutputError { enum DescribeInstanceEventNotificationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90802,7 +90922,7 @@ enum DescribeInstanceEventNotificationAttributesOutputError { enum DescribeInstanceEventWindowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90815,7 +90935,7 @@ enum DescribeInstanceEventWindowsOutputError { enum DescribeInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90828,7 +90948,7 @@ enum DescribeInstancesOutputError { enum DescribeInstanceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90841,7 +90961,7 @@ enum DescribeInstanceStatusOutputError { enum DescribeInstanceTopologyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90854,7 +90974,7 @@ enum DescribeInstanceTopologyOutputError { enum DescribeInstanceTypeOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90867,7 +90987,7 @@ enum DescribeInstanceTypeOfferingsOutputError { enum DescribeInstanceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90880,7 +91000,7 @@ enum DescribeInstanceTypesOutputError { enum DescribeInternetGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90893,7 +91013,7 @@ enum DescribeInternetGatewaysOutputError { enum DescribeIpamByoasnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90906,7 +91026,7 @@ enum DescribeIpamByoasnOutputError { enum DescribeIpamPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90919,7 +91039,7 @@ enum DescribeIpamPoolsOutputError { enum DescribeIpamResourceDiscoveriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90932,7 +91052,7 @@ enum DescribeIpamResourceDiscoveriesOutputError { enum DescribeIpamResourceDiscoveryAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90945,7 +91065,7 @@ enum DescribeIpamResourceDiscoveryAssociationsOutputError { enum DescribeIpamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90958,7 +91078,7 @@ enum DescribeIpamsOutputError { enum DescribeIpamScopesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90971,7 +91091,7 @@ enum DescribeIpamScopesOutputError { enum DescribeIpv6PoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90984,7 +91104,7 @@ enum DescribeIpv6PoolsOutputError { enum DescribeKeyPairsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -90997,7 +91117,7 @@ enum DescribeKeyPairsOutputError { enum DescribeLaunchTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91010,7 +91130,7 @@ enum DescribeLaunchTemplatesOutputError { enum DescribeLaunchTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91023,7 +91143,7 @@ enum DescribeLaunchTemplateVersionsOutputError { enum DescribeLocalGatewayRouteTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91036,7 +91156,7 @@ enum DescribeLocalGatewayRouteTablesOutputError { enum DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91049,7 +91169,7 @@ enum DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutputError enum DescribeLocalGatewayRouteTableVpcAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91062,7 +91182,7 @@ enum DescribeLocalGatewayRouteTableVpcAssociationsOutputError { enum DescribeLocalGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91075,7 +91195,7 @@ enum DescribeLocalGatewaysOutputError { enum DescribeLocalGatewayVirtualInterfaceGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91088,7 +91208,7 @@ enum DescribeLocalGatewayVirtualInterfaceGroupsOutputError { enum DescribeLocalGatewayVirtualInterfacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91101,7 +91221,7 @@ enum DescribeLocalGatewayVirtualInterfacesOutputError { enum DescribeLockedSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91114,7 +91234,7 @@ enum DescribeLockedSnapshotsOutputError { enum DescribeMacHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91127,7 +91247,7 @@ enum DescribeMacHostsOutputError { enum DescribeManagedPrefixListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91140,7 +91260,7 @@ enum DescribeManagedPrefixListsOutputError { enum DescribeMovingAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91153,7 +91273,7 @@ enum DescribeMovingAddressesOutputError { enum DescribeNatGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91166,7 +91286,7 @@ enum DescribeNatGatewaysOutputError { enum DescribeNetworkAclsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91179,7 +91299,7 @@ enum DescribeNetworkAclsOutputError { enum DescribeNetworkInsightsAccessScopeAnalysesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91192,7 +91312,7 @@ enum DescribeNetworkInsightsAccessScopeAnalysesOutputError { enum DescribeNetworkInsightsAccessScopesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91205,7 +91325,7 @@ enum DescribeNetworkInsightsAccessScopesOutputError { enum DescribeNetworkInsightsAnalysesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91218,7 +91338,7 @@ enum DescribeNetworkInsightsAnalysesOutputError { enum DescribeNetworkInsightsPathsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91231,7 +91351,7 @@ enum DescribeNetworkInsightsPathsOutputError { enum DescribeNetworkInterfaceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91244,7 +91364,7 @@ enum DescribeNetworkInterfaceAttributeOutputError { enum DescribeNetworkInterfacePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91257,7 +91377,7 @@ enum DescribeNetworkInterfacePermissionsOutputError { enum DescribeNetworkInterfacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91270,7 +91390,7 @@ enum DescribeNetworkInterfacesOutputError { enum DescribePlacementGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91283,7 +91403,7 @@ enum DescribePlacementGroupsOutputError { enum DescribePrefixListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91296,7 +91416,7 @@ enum DescribePrefixListsOutputError { enum DescribePrincipalIdFormatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91309,7 +91429,7 @@ enum DescribePrincipalIdFormatOutputError { enum DescribePublicIpv4PoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91322,7 +91442,7 @@ enum DescribePublicIpv4PoolsOutputError { enum DescribeRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91335,7 +91455,7 @@ enum DescribeRegionsOutputError { enum DescribeReplaceRootVolumeTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91348,7 +91468,7 @@ enum DescribeReplaceRootVolumeTasksOutputError { enum DescribeReservedInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91361,7 +91481,7 @@ enum DescribeReservedInstancesOutputError { enum DescribeReservedInstancesListingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91374,7 +91494,7 @@ enum DescribeReservedInstancesListingsOutputError { enum DescribeReservedInstancesModificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91387,7 +91507,7 @@ enum DescribeReservedInstancesModificationsOutputError { enum DescribeReservedInstancesOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91400,7 +91520,7 @@ enum DescribeReservedInstancesOfferingsOutputError { enum DescribeRouteTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91413,7 +91533,7 @@ enum DescribeRouteTablesOutputError { enum DescribeScheduledInstanceAvailabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91426,7 +91546,7 @@ enum DescribeScheduledInstanceAvailabilityOutputError { enum DescribeScheduledInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91439,7 +91559,7 @@ enum DescribeScheduledInstancesOutputError { enum DescribeSecurityGroupReferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91452,7 +91572,7 @@ enum DescribeSecurityGroupReferencesOutputError { enum DescribeSecurityGroupRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91465,7 +91585,7 @@ enum DescribeSecurityGroupRulesOutputError { enum DescribeSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91478,7 +91598,7 @@ enum DescribeSecurityGroupsOutputError { enum DescribeSnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91491,7 +91611,7 @@ enum DescribeSnapshotAttributeOutputError { enum DescribeSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91504,7 +91624,7 @@ enum DescribeSnapshotsOutputError { enum DescribeSnapshotTierStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91517,7 +91637,7 @@ enum DescribeSnapshotTierStatusOutputError { enum DescribeSpotDatafeedSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91530,7 +91650,7 @@ enum DescribeSpotDatafeedSubscriptionOutputError { enum DescribeSpotFleetInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91543,7 +91663,7 @@ enum DescribeSpotFleetInstancesOutputError { enum DescribeSpotFleetRequestHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91556,7 +91676,7 @@ enum DescribeSpotFleetRequestHistoryOutputError { enum DescribeSpotFleetRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91569,7 +91689,7 @@ enum DescribeSpotFleetRequestsOutputError { enum DescribeSpotInstanceRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91582,7 +91702,7 @@ enum DescribeSpotInstanceRequestsOutputError { enum DescribeSpotPriceHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91595,7 +91715,7 @@ enum DescribeSpotPriceHistoryOutputError { enum DescribeStaleSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91608,7 +91728,7 @@ enum DescribeStaleSecurityGroupsOutputError { enum DescribeStoreImageTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91621,7 +91741,7 @@ enum DescribeStoreImageTasksOutputError { enum DescribeSubnetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91634,7 +91754,7 @@ enum DescribeSubnetsOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91647,7 +91767,7 @@ enum DescribeTagsOutputError { enum DescribeTrafficMirrorFilterRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91660,7 +91780,7 @@ enum DescribeTrafficMirrorFilterRulesOutputError { enum DescribeTrafficMirrorFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91673,7 +91793,7 @@ enum DescribeTrafficMirrorFiltersOutputError { enum DescribeTrafficMirrorSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91686,7 +91806,7 @@ enum DescribeTrafficMirrorSessionsOutputError { enum DescribeTrafficMirrorTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91699,7 +91819,7 @@ enum DescribeTrafficMirrorTargetsOutputError { enum DescribeTransitGatewayAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91712,7 +91832,7 @@ enum DescribeTransitGatewayAttachmentsOutputError { enum DescribeTransitGatewayConnectPeersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91725,7 +91845,7 @@ enum DescribeTransitGatewayConnectPeersOutputError { enum DescribeTransitGatewayConnectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91738,7 +91858,7 @@ enum DescribeTransitGatewayConnectsOutputError { enum DescribeTransitGatewayMulticastDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91751,7 +91871,7 @@ enum DescribeTransitGatewayMulticastDomainsOutputError { enum DescribeTransitGatewayPeeringAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91764,7 +91884,7 @@ enum DescribeTransitGatewayPeeringAttachmentsOutputError { enum DescribeTransitGatewayPolicyTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91777,7 +91897,7 @@ enum DescribeTransitGatewayPolicyTablesOutputError { enum DescribeTransitGatewayRouteTableAnnouncementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91790,7 +91910,7 @@ enum DescribeTransitGatewayRouteTableAnnouncementsOutputError { enum DescribeTransitGatewayRouteTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91803,7 +91923,7 @@ enum DescribeTransitGatewayRouteTablesOutputError { enum DescribeTransitGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91816,7 +91936,7 @@ enum DescribeTransitGatewaysOutputError { enum DescribeTransitGatewayVpcAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91829,7 +91949,7 @@ enum DescribeTransitGatewayVpcAttachmentsOutputError { enum DescribeTrunkInterfaceAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91842,7 +91962,7 @@ enum DescribeTrunkInterfaceAssociationsOutputError { enum DescribeVerifiedAccessEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91855,7 +91975,7 @@ enum DescribeVerifiedAccessEndpointsOutputError { enum DescribeVerifiedAccessGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91868,7 +91988,7 @@ enum DescribeVerifiedAccessGroupsOutputError { enum DescribeVerifiedAccessInstanceLoggingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91881,7 +92001,7 @@ enum DescribeVerifiedAccessInstanceLoggingConfigurationsOutputError { enum DescribeVerifiedAccessInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91894,7 +92014,7 @@ enum DescribeVerifiedAccessInstancesOutputError { enum DescribeVerifiedAccessTrustProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91907,7 +92027,7 @@ enum DescribeVerifiedAccessTrustProvidersOutputError { enum DescribeVolumeAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91920,7 +92040,7 @@ enum DescribeVolumeAttributeOutputError { enum DescribeVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91933,7 +92053,7 @@ enum DescribeVolumesOutputError { enum DescribeVolumesModificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91946,7 +92066,7 @@ enum DescribeVolumesModificationsOutputError { enum DescribeVolumeStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91959,7 +92079,7 @@ enum DescribeVolumeStatusOutputError { enum DescribeVpcAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91972,7 +92092,7 @@ enum DescribeVpcAttributeOutputError { enum DescribeVpcClassicLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91985,7 +92105,7 @@ enum DescribeVpcClassicLinkOutputError { enum DescribeVpcClassicLinkDnsSupportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -91998,7 +92118,7 @@ enum DescribeVpcClassicLinkDnsSupportOutputError { enum DescribeVpcEndpointConnectionNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92011,7 +92131,7 @@ enum DescribeVpcEndpointConnectionNotificationsOutputError { enum DescribeVpcEndpointConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92024,7 +92144,7 @@ enum DescribeVpcEndpointConnectionsOutputError { enum DescribeVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92037,7 +92157,7 @@ enum DescribeVpcEndpointsOutputError { enum DescribeVpcEndpointServiceConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92050,7 +92170,7 @@ enum DescribeVpcEndpointServiceConfigurationsOutputError { enum DescribeVpcEndpointServicePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92063,7 +92183,7 @@ enum DescribeVpcEndpointServicePermissionsOutputError { enum DescribeVpcEndpointServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92076,7 +92196,7 @@ enum DescribeVpcEndpointServicesOutputError { enum DescribeVpcPeeringConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92089,7 +92209,7 @@ enum DescribeVpcPeeringConnectionsOutputError { enum DescribeVpcsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92102,7 +92222,7 @@ enum DescribeVpcsOutputError { enum DescribeVpnConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92115,7 +92235,7 @@ enum DescribeVpnConnectionsOutputError { enum DescribeVpnGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92128,7 +92248,7 @@ enum DescribeVpnGatewaysOutputError { enum DetachClassicLinkVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92141,7 +92261,7 @@ enum DetachClassicLinkVpcOutputError { enum DetachInternetGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92154,7 +92274,7 @@ enum DetachInternetGatewayOutputError { enum DetachNetworkInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92167,7 +92287,7 @@ enum DetachNetworkInterfaceOutputError { enum DetachVerifiedAccessTrustProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92180,7 +92300,7 @@ enum DetachVerifiedAccessTrustProviderOutputError { enum DetachVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92193,7 +92313,7 @@ enum DetachVolumeOutputError { enum DetachVpnGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92206,7 +92326,7 @@ enum DetachVpnGatewayOutputError { enum DisableAddressTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92219,7 +92339,7 @@ enum DisableAddressTransferOutputError { enum DisableAwsNetworkPerformanceMetricSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92232,7 +92352,7 @@ enum DisableAwsNetworkPerformanceMetricSubscriptionOutputError { enum DisableEbsEncryptionByDefaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92245,7 +92365,7 @@ enum DisableEbsEncryptionByDefaultOutputError { enum DisableFastLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92258,7 +92378,7 @@ enum DisableFastLaunchOutputError { enum DisableFastSnapshotRestoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92271,7 +92391,7 @@ enum DisableFastSnapshotRestoresOutputError { enum DisableImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92284,7 +92404,7 @@ enum DisableImageOutputError { enum DisableImageBlockPublicAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92297,7 +92417,7 @@ enum DisableImageBlockPublicAccessOutputError { enum DisableImageDeprecationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92310,7 +92430,7 @@ enum DisableImageDeprecationOutputError { enum DisableImageDeregistrationProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92323,7 +92443,7 @@ enum DisableImageDeregistrationProtectionOutputError { enum DisableIpamOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92336,7 +92456,7 @@ enum DisableIpamOrganizationAdminAccountOutputError { enum DisableSerialConsoleAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92349,7 +92469,7 @@ enum DisableSerialConsoleAccessOutputError { enum DisableSnapshotBlockPublicAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92362,7 +92482,7 @@ enum DisableSnapshotBlockPublicAccessOutputError { enum DisableTransitGatewayRouteTablePropagationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92375,7 +92495,7 @@ enum DisableTransitGatewayRouteTablePropagationOutputError { enum DisableVgwRoutePropagationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92388,7 +92508,7 @@ enum DisableVgwRoutePropagationOutputError { enum DisableVpcClassicLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92401,7 +92521,7 @@ enum DisableVpcClassicLinkOutputError { enum DisableVpcClassicLinkDnsSupportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92414,7 +92534,7 @@ enum DisableVpcClassicLinkDnsSupportOutputError { enum DisassociateAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92427,7 +92547,7 @@ enum DisassociateAddressOutputError { enum DisassociateClientVpnTargetNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92440,7 +92560,7 @@ enum DisassociateClientVpnTargetNetworkOutputError { enum DisassociateEnclaveCertificateIamRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92453,7 +92573,7 @@ enum DisassociateEnclaveCertificateIamRoleOutputError { enum DisassociateIamInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92466,7 +92586,7 @@ enum DisassociateIamInstanceProfileOutputError { enum DisassociateInstanceEventWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92479,7 +92599,7 @@ enum DisassociateInstanceEventWindowOutputError { enum DisassociateIpamByoasnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92492,7 +92612,7 @@ enum DisassociateIpamByoasnOutputError { enum DisassociateIpamResourceDiscoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92505,7 +92625,7 @@ enum DisassociateIpamResourceDiscoveryOutputError { enum DisassociateNatGatewayAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92518,7 +92638,7 @@ enum DisassociateNatGatewayAddressOutputError { enum DisassociateRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92531,7 +92651,7 @@ enum DisassociateRouteTableOutputError { enum DisassociateSubnetCidrBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92544,7 +92664,7 @@ enum DisassociateSubnetCidrBlockOutputError { enum DisassociateTransitGatewayMulticastDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92557,7 +92677,7 @@ enum DisassociateTransitGatewayMulticastDomainOutputError { enum DisassociateTransitGatewayPolicyTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92570,7 +92690,7 @@ enum DisassociateTransitGatewayPolicyTableOutputError { enum DisassociateTransitGatewayRouteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92583,7 +92703,7 @@ enum DisassociateTransitGatewayRouteTableOutputError { enum DisassociateTrunkInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92596,7 +92716,7 @@ enum DisassociateTrunkInterfaceOutputError { enum DisassociateVpcCidrBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92609,7 +92729,7 @@ enum DisassociateVpcCidrBlockOutputError { enum EnableAddressTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92622,7 +92742,7 @@ enum EnableAddressTransferOutputError { enum EnableAwsNetworkPerformanceMetricSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92635,7 +92755,7 @@ enum EnableAwsNetworkPerformanceMetricSubscriptionOutputError { enum EnableEbsEncryptionByDefaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92648,7 +92768,7 @@ enum EnableEbsEncryptionByDefaultOutputError { enum EnableFastLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92661,7 +92781,7 @@ enum EnableFastLaunchOutputError { enum EnableFastSnapshotRestoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92674,7 +92794,7 @@ enum EnableFastSnapshotRestoresOutputError { enum EnableImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92687,7 +92807,7 @@ enum EnableImageOutputError { enum EnableImageBlockPublicAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92700,7 +92820,7 @@ enum EnableImageBlockPublicAccessOutputError { enum EnableImageDeprecationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92713,7 +92833,7 @@ enum EnableImageDeprecationOutputError { enum EnableImageDeregistrationProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92726,7 +92846,7 @@ enum EnableImageDeregistrationProtectionOutputError { enum EnableIpamOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92739,7 +92859,7 @@ enum EnableIpamOrganizationAdminAccountOutputError { enum EnableReachabilityAnalyzerOrganizationSharingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92752,7 +92872,7 @@ enum EnableReachabilityAnalyzerOrganizationSharingOutputError { enum EnableSerialConsoleAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92765,7 +92885,7 @@ enum EnableSerialConsoleAccessOutputError { enum EnableSnapshotBlockPublicAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92778,7 +92898,7 @@ enum EnableSnapshotBlockPublicAccessOutputError { enum EnableTransitGatewayRouteTablePropagationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92791,7 +92911,7 @@ enum EnableTransitGatewayRouteTablePropagationOutputError { enum EnableVgwRoutePropagationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92804,7 +92924,7 @@ enum EnableVgwRoutePropagationOutputError { enum EnableVolumeIOOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92817,7 +92937,7 @@ enum EnableVolumeIOOutputError { enum EnableVpcClassicLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92830,7 +92950,7 @@ enum EnableVpcClassicLinkOutputError { enum EnableVpcClassicLinkDnsSupportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92843,7 +92963,7 @@ enum EnableVpcClassicLinkDnsSupportOutputError { enum ExportClientVpnClientCertificateRevocationListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92856,7 +92976,7 @@ enum ExportClientVpnClientCertificateRevocationListOutputError { enum ExportClientVpnClientConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92869,7 +92989,7 @@ enum ExportClientVpnClientConfigurationOutputError { enum ExportImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92882,7 +93002,7 @@ enum ExportImageOutputError { enum ExportTransitGatewayRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92895,7 +93015,7 @@ enum ExportTransitGatewayRoutesOutputError { enum GetAssociatedEnclaveCertificateIamRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92908,7 +93028,7 @@ enum GetAssociatedEnclaveCertificateIamRolesOutputError { enum GetAssociatedIpv6PoolCidrsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92921,7 +93041,7 @@ enum GetAssociatedIpv6PoolCidrsOutputError { enum GetAwsNetworkPerformanceDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92934,7 +93054,7 @@ enum GetAwsNetworkPerformanceDataOutputError { enum GetCapacityReservationUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92947,7 +93067,7 @@ enum GetCapacityReservationUsageOutputError { enum GetCoipPoolUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92960,7 +93080,7 @@ enum GetCoipPoolUsageOutputError { enum GetConsoleOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92973,7 +93093,7 @@ enum GetConsoleOutputOutputError { enum GetConsoleScreenshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92986,7 +93106,7 @@ enum GetConsoleScreenshotOutputError { enum GetDefaultCreditSpecificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -92999,7 +93119,7 @@ enum GetDefaultCreditSpecificationOutputError { enum GetEbsDefaultKmsKeyIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93012,7 +93132,7 @@ enum GetEbsDefaultKmsKeyIdOutputError { enum GetEbsEncryptionByDefaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93025,7 +93145,7 @@ enum GetEbsEncryptionByDefaultOutputError { enum GetFlowLogsIntegrationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93038,7 +93158,7 @@ enum GetFlowLogsIntegrationTemplateOutputError { enum GetGroupsForCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93051,7 +93171,7 @@ enum GetGroupsForCapacityReservationOutputError { enum GetHostReservationPurchasePreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93064,7 +93184,7 @@ enum GetHostReservationPurchasePreviewOutputError { enum GetImageBlockPublicAccessStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93077,7 +93197,7 @@ enum GetImageBlockPublicAccessStateOutputError { enum GetInstanceMetadataDefaultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93090,7 +93210,7 @@ enum GetInstanceMetadataDefaultsOutputError { enum GetInstanceTpmEkPubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93103,7 +93223,7 @@ enum GetInstanceTpmEkPubOutputError { enum GetInstanceTypesFromInstanceRequirementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93116,7 +93236,7 @@ enum GetInstanceTypesFromInstanceRequirementsOutputError { enum GetInstanceUefiDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93129,7 +93249,7 @@ enum GetInstanceUefiDataOutputError { enum GetIpamAddressHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93142,7 +93262,7 @@ enum GetIpamAddressHistoryOutputError { enum GetIpamDiscoveredAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93155,7 +93275,7 @@ enum GetIpamDiscoveredAccountsOutputError { enum GetIpamDiscoveredPublicAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93168,7 +93288,7 @@ enum GetIpamDiscoveredPublicAddressesOutputError { enum GetIpamDiscoveredResourceCidrsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93181,7 +93301,7 @@ enum GetIpamDiscoveredResourceCidrsOutputError { enum GetIpamPoolAllocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93194,7 +93314,7 @@ enum GetIpamPoolAllocationsOutputError { enum GetIpamPoolCidrsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93207,7 +93327,7 @@ enum GetIpamPoolCidrsOutputError { enum GetIpamResourceCidrsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93220,7 +93340,7 @@ enum GetIpamResourceCidrsOutputError { enum GetLaunchTemplateDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93233,7 +93353,7 @@ enum GetLaunchTemplateDataOutputError { enum GetManagedPrefixListAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93246,7 +93366,7 @@ enum GetManagedPrefixListAssociationsOutputError { enum GetManagedPrefixListEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93259,7 +93379,7 @@ enum GetManagedPrefixListEntriesOutputError { enum GetNetworkInsightsAccessScopeAnalysisFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93272,7 +93392,7 @@ enum GetNetworkInsightsAccessScopeAnalysisFindingsOutputError { enum GetNetworkInsightsAccessScopeContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93285,7 +93405,7 @@ enum GetNetworkInsightsAccessScopeContentOutputError { enum GetPasswordDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93298,7 +93418,7 @@ enum GetPasswordDataOutputError { enum GetReservedInstancesExchangeQuoteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93311,7 +93431,7 @@ enum GetReservedInstancesExchangeQuoteOutputError { enum GetSecurityGroupsForVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93324,7 +93444,7 @@ enum GetSecurityGroupsForVpcOutputError { enum GetSerialConsoleAccessStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93337,7 +93457,7 @@ enum GetSerialConsoleAccessStatusOutputError { enum GetSnapshotBlockPublicAccessStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93350,7 +93470,7 @@ enum GetSnapshotBlockPublicAccessStateOutputError { enum GetSpotPlacementScoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93363,7 +93483,7 @@ enum GetSpotPlacementScoresOutputError { enum GetSubnetCidrReservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93376,7 +93496,7 @@ enum GetSubnetCidrReservationsOutputError { enum GetTransitGatewayAttachmentPropagationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93389,7 +93509,7 @@ enum GetTransitGatewayAttachmentPropagationsOutputError { enum GetTransitGatewayMulticastDomainAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93402,7 +93522,7 @@ enum GetTransitGatewayMulticastDomainAssociationsOutputError { enum GetTransitGatewayPolicyTableAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93415,7 +93535,7 @@ enum GetTransitGatewayPolicyTableAssociationsOutputError { enum GetTransitGatewayPolicyTableEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93428,7 +93548,7 @@ enum GetTransitGatewayPolicyTableEntriesOutputError { enum GetTransitGatewayPrefixListReferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93441,7 +93561,7 @@ enum GetTransitGatewayPrefixListReferencesOutputError { enum GetTransitGatewayRouteTableAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93454,7 +93574,7 @@ enum GetTransitGatewayRouteTableAssociationsOutputError { enum GetTransitGatewayRouteTablePropagationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93467,7 +93587,7 @@ enum GetTransitGatewayRouteTablePropagationsOutputError { enum GetVerifiedAccessEndpointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93480,7 +93600,7 @@ enum GetVerifiedAccessEndpointPolicyOutputError { enum GetVerifiedAccessGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93493,7 +93613,7 @@ enum GetVerifiedAccessGroupPolicyOutputError { enum GetVpnConnectionDeviceSampleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93506,7 +93626,7 @@ enum GetVpnConnectionDeviceSampleConfigurationOutputError { enum GetVpnConnectionDeviceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93519,7 +93639,7 @@ enum GetVpnConnectionDeviceTypesOutputError { enum GetVpnTunnelReplacementStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93532,7 +93652,7 @@ enum GetVpnTunnelReplacementStatusOutputError { enum ImportClientVpnClientCertificateRevocationListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93545,7 +93665,7 @@ enum ImportClientVpnClientCertificateRevocationListOutputError { enum ImportImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93558,7 +93678,7 @@ enum ImportImageOutputError { enum ImportInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93571,7 +93691,7 @@ enum ImportInstanceOutputError { enum ImportKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93584,7 +93704,7 @@ enum ImportKeyPairOutputError { enum ImportSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93597,7 +93717,7 @@ enum ImportSnapshotOutputError { enum ImportVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93610,7 +93730,7 @@ enum ImportVolumeOutputError { enum ListImagesInRecycleBinOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93623,7 +93743,7 @@ enum ListImagesInRecycleBinOutputError { enum ListSnapshotsInRecycleBinOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93636,7 +93756,7 @@ enum ListSnapshotsInRecycleBinOutputError { enum LockSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93649,7 +93769,7 @@ enum LockSnapshotOutputError { enum ModifyAddressAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93662,7 +93782,7 @@ enum ModifyAddressAttributeOutputError { enum ModifyAvailabilityZoneGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93675,7 +93795,7 @@ enum ModifyAvailabilityZoneGroupOutputError { enum ModifyCapacityReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93688,7 +93808,7 @@ enum ModifyCapacityReservationOutputError { enum ModifyCapacityReservationFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93701,7 +93821,7 @@ enum ModifyCapacityReservationFleetOutputError { enum ModifyClientVpnEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93714,7 +93834,7 @@ enum ModifyClientVpnEndpointOutputError { enum ModifyDefaultCreditSpecificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93727,7 +93847,7 @@ enum ModifyDefaultCreditSpecificationOutputError { enum ModifyEbsDefaultKmsKeyIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93740,7 +93860,7 @@ enum ModifyEbsDefaultKmsKeyIdOutputError { enum ModifyFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93753,7 +93873,7 @@ enum ModifyFleetOutputError { enum ModifyFpgaImageAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93766,7 +93886,7 @@ enum ModifyFpgaImageAttributeOutputError { enum ModifyHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93779,7 +93899,7 @@ enum ModifyHostsOutputError { enum ModifyIdentityIdFormatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93792,7 +93912,7 @@ enum ModifyIdentityIdFormatOutputError { enum ModifyIdFormatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93805,7 +93925,7 @@ enum ModifyIdFormatOutputError { enum ModifyImageAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93818,7 +93938,7 @@ enum ModifyImageAttributeOutputError { enum ModifyInstanceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93831,7 +93951,7 @@ enum ModifyInstanceAttributeOutputError { enum ModifyInstanceCapacityReservationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93844,7 +93964,7 @@ enum ModifyInstanceCapacityReservationAttributesOutputError { enum ModifyInstanceCreditSpecificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93857,7 +93977,7 @@ enum ModifyInstanceCreditSpecificationOutputError { enum ModifyInstanceEventStartTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93870,7 +93990,7 @@ enum ModifyInstanceEventStartTimeOutputError { enum ModifyInstanceEventWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93883,7 +94003,7 @@ enum ModifyInstanceEventWindowOutputError { enum ModifyInstanceMaintenanceOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93896,7 +94016,7 @@ enum ModifyInstanceMaintenanceOptionsOutputError { enum ModifyInstanceMetadataDefaultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93909,7 +94029,7 @@ enum ModifyInstanceMetadataDefaultsOutputError { enum ModifyInstanceMetadataOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93922,7 +94042,7 @@ enum ModifyInstanceMetadataOptionsOutputError { enum ModifyInstancePlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93935,7 +94055,7 @@ enum ModifyInstancePlacementOutputError { enum ModifyIpamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93948,7 +94068,7 @@ enum ModifyIpamOutputError { enum ModifyIpamPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93961,7 +94081,7 @@ enum ModifyIpamPoolOutputError { enum ModifyIpamResourceCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93974,7 +94094,7 @@ enum ModifyIpamResourceCidrOutputError { enum ModifyIpamResourceDiscoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -93987,7 +94107,7 @@ enum ModifyIpamResourceDiscoveryOutputError { enum ModifyIpamScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94000,7 +94120,7 @@ enum ModifyIpamScopeOutputError { enum ModifyLaunchTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94013,7 +94133,7 @@ enum ModifyLaunchTemplateOutputError { enum ModifyLocalGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94026,7 +94146,7 @@ enum ModifyLocalGatewayRouteOutputError { enum ModifyManagedPrefixListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94039,7 +94159,7 @@ enum ModifyManagedPrefixListOutputError { enum ModifyNetworkInterfaceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94052,7 +94172,7 @@ enum ModifyNetworkInterfaceAttributeOutputError { enum ModifyPrivateDnsNameOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94065,7 +94185,7 @@ enum ModifyPrivateDnsNameOptionsOutputError { enum ModifyReservedInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94078,7 +94198,7 @@ enum ModifyReservedInstancesOutputError { enum ModifySecurityGroupRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94091,7 +94211,7 @@ enum ModifySecurityGroupRulesOutputError { enum ModifySnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94104,7 +94224,7 @@ enum ModifySnapshotAttributeOutputError { enum ModifySnapshotTierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94117,7 +94237,7 @@ enum ModifySnapshotTierOutputError { enum ModifySpotFleetRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94130,7 +94250,7 @@ enum ModifySpotFleetRequestOutputError { enum ModifySubnetAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94143,7 +94263,7 @@ enum ModifySubnetAttributeOutputError { enum ModifyTrafficMirrorFilterNetworkServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94156,7 +94276,7 @@ enum ModifyTrafficMirrorFilterNetworkServicesOutputError { enum ModifyTrafficMirrorFilterRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94169,7 +94289,7 @@ enum ModifyTrafficMirrorFilterRuleOutputError { enum ModifyTrafficMirrorSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94182,7 +94302,7 @@ enum ModifyTrafficMirrorSessionOutputError { enum ModifyTransitGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94195,7 +94315,7 @@ enum ModifyTransitGatewayOutputError { enum ModifyTransitGatewayPrefixListReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94208,7 +94328,7 @@ enum ModifyTransitGatewayPrefixListReferenceOutputError { enum ModifyTransitGatewayVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94221,7 +94341,7 @@ enum ModifyTransitGatewayVpcAttachmentOutputError { enum ModifyVerifiedAccessEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94234,7 +94354,7 @@ enum ModifyVerifiedAccessEndpointOutputError { enum ModifyVerifiedAccessEndpointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94247,7 +94367,7 @@ enum ModifyVerifiedAccessEndpointPolicyOutputError { enum ModifyVerifiedAccessGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94260,7 +94380,7 @@ enum ModifyVerifiedAccessGroupOutputError { enum ModifyVerifiedAccessGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94273,7 +94393,7 @@ enum ModifyVerifiedAccessGroupPolicyOutputError { enum ModifyVerifiedAccessInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94286,7 +94406,7 @@ enum ModifyVerifiedAccessInstanceOutputError { enum ModifyVerifiedAccessInstanceLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94299,7 +94419,7 @@ enum ModifyVerifiedAccessInstanceLoggingConfigurationOutputError { enum ModifyVerifiedAccessTrustProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94312,7 +94432,7 @@ enum ModifyVerifiedAccessTrustProviderOutputError { enum ModifyVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94325,7 +94445,7 @@ enum ModifyVolumeOutputError { enum ModifyVolumeAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94338,7 +94458,7 @@ enum ModifyVolumeAttributeOutputError { enum ModifyVpcAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94351,7 +94471,7 @@ enum ModifyVpcAttributeOutputError { enum ModifyVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94364,7 +94484,7 @@ enum ModifyVpcEndpointOutputError { enum ModifyVpcEndpointConnectionNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94377,7 +94497,7 @@ enum ModifyVpcEndpointConnectionNotificationOutputError { enum ModifyVpcEndpointServiceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94390,7 +94510,7 @@ enum ModifyVpcEndpointServiceConfigurationOutputError { enum ModifyVpcEndpointServicePayerResponsibilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94403,7 +94523,7 @@ enum ModifyVpcEndpointServicePayerResponsibilityOutputError { enum ModifyVpcEndpointServicePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94416,7 +94536,7 @@ enum ModifyVpcEndpointServicePermissionsOutputError { enum ModifyVpcPeeringConnectionOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94429,7 +94549,7 @@ enum ModifyVpcPeeringConnectionOptionsOutputError { enum ModifyVpcTenancyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94442,7 +94562,7 @@ enum ModifyVpcTenancyOutputError { enum ModifyVpnConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94455,7 +94575,7 @@ enum ModifyVpnConnectionOutputError { enum ModifyVpnConnectionOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94468,7 +94588,7 @@ enum ModifyVpnConnectionOptionsOutputError { enum ModifyVpnTunnelCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94481,7 +94601,7 @@ enum ModifyVpnTunnelCertificateOutputError { enum ModifyVpnTunnelOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94494,7 +94614,7 @@ enum ModifyVpnTunnelOptionsOutputError { enum MonitorInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94507,7 +94627,7 @@ enum MonitorInstancesOutputError { enum MoveAddressToVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94520,7 +94640,7 @@ enum MoveAddressToVpcOutputError { enum MoveByoipCidrToIpamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94533,7 +94653,7 @@ enum MoveByoipCidrToIpamOutputError { enum ProvisionByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94546,7 +94666,7 @@ enum ProvisionByoipCidrOutputError { enum ProvisionIpamByoasnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94559,7 +94679,7 @@ enum ProvisionIpamByoasnOutputError { enum ProvisionIpamPoolCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94572,7 +94692,7 @@ enum ProvisionIpamPoolCidrOutputError { enum ProvisionPublicIpv4PoolCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94585,7 +94705,7 @@ enum ProvisionPublicIpv4PoolCidrOutputError { enum PurchaseCapacityBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94598,7 +94718,7 @@ enum PurchaseCapacityBlockOutputError { enum PurchaseHostReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94611,7 +94731,7 @@ enum PurchaseHostReservationOutputError { enum PurchaseReservedInstancesOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94624,7 +94744,7 @@ enum PurchaseReservedInstancesOfferingOutputError { enum PurchaseScheduledInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94637,7 +94757,7 @@ enum PurchaseScheduledInstancesOutputError { enum RebootInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94650,7 +94770,7 @@ enum RebootInstancesOutputError { enum RegisterImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94663,7 +94783,7 @@ enum RegisterImageOutputError { enum RegisterInstanceEventNotificationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94676,7 +94796,7 @@ enum RegisterInstanceEventNotificationAttributesOutputError { enum RegisterTransitGatewayMulticastGroupMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94689,7 +94809,7 @@ enum RegisterTransitGatewayMulticastGroupMembersOutputError { enum RegisterTransitGatewayMulticastGroupSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94702,7 +94822,7 @@ enum RegisterTransitGatewayMulticastGroupSourcesOutputError { enum RejectTransitGatewayMulticastDomainAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94715,7 +94835,7 @@ enum RejectTransitGatewayMulticastDomainAssociationsOutputError { enum RejectTransitGatewayPeeringAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94728,7 +94848,7 @@ enum RejectTransitGatewayPeeringAttachmentOutputError { enum RejectTransitGatewayVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94741,7 +94861,7 @@ enum RejectTransitGatewayVpcAttachmentOutputError { enum RejectVpcEndpointConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94754,7 +94874,7 @@ enum RejectVpcEndpointConnectionsOutputError { enum RejectVpcPeeringConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94767,7 +94887,7 @@ enum RejectVpcPeeringConnectionOutputError { enum ReleaseAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94780,7 +94900,7 @@ enum ReleaseAddressOutputError { enum ReleaseHostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94793,7 +94913,7 @@ enum ReleaseHostsOutputError { enum ReleaseIpamPoolAllocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94806,7 +94926,7 @@ enum ReleaseIpamPoolAllocationOutputError { enum ReplaceIamInstanceProfileAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94819,7 +94939,7 @@ enum ReplaceIamInstanceProfileAssociationOutputError { enum ReplaceNetworkAclAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94832,7 +94952,7 @@ enum ReplaceNetworkAclAssociationOutputError { enum ReplaceNetworkAclEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94845,7 +94965,7 @@ enum ReplaceNetworkAclEntryOutputError { enum ReplaceRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94858,7 +94978,7 @@ enum ReplaceRouteOutputError { enum ReplaceRouteTableAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94871,7 +94991,7 @@ enum ReplaceRouteTableAssociationOutputError { enum ReplaceTransitGatewayRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94884,7 +95004,7 @@ enum ReplaceTransitGatewayRouteOutputError { enum ReplaceVpnTunnelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94897,7 +95017,7 @@ enum ReplaceVpnTunnelOutputError { enum ReportInstanceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94910,7 +95030,7 @@ enum ReportInstanceStatusOutputError { enum RequestSpotFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94923,7 +95043,7 @@ enum RequestSpotFleetOutputError { enum RequestSpotInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94936,7 +95056,7 @@ enum RequestSpotInstancesOutputError { enum ResetAddressAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94949,7 +95069,7 @@ enum ResetAddressAttributeOutputError { enum ResetEbsDefaultKmsKeyIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94962,7 +95082,7 @@ enum ResetEbsDefaultKmsKeyIdOutputError { enum ResetFpgaImageAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94975,7 +95095,7 @@ enum ResetFpgaImageAttributeOutputError { enum ResetImageAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -94988,7 +95108,7 @@ enum ResetImageAttributeOutputError { enum ResetInstanceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95001,7 +95121,7 @@ enum ResetInstanceAttributeOutputError { enum ResetNetworkInterfaceAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95014,7 +95134,7 @@ enum ResetNetworkInterfaceAttributeOutputError { enum ResetSnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95027,7 +95147,7 @@ enum ResetSnapshotAttributeOutputError { enum RestoreAddressToClassicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95040,7 +95160,7 @@ enum RestoreAddressToClassicOutputError { enum RestoreImageFromRecycleBinOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95053,7 +95173,7 @@ enum RestoreImageFromRecycleBinOutputError { enum RestoreManagedPrefixListVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95066,7 +95186,7 @@ enum RestoreManagedPrefixListVersionOutputError { enum RestoreSnapshotFromRecycleBinOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95079,7 +95199,7 @@ enum RestoreSnapshotFromRecycleBinOutputError { enum RestoreSnapshotTierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95092,7 +95212,7 @@ enum RestoreSnapshotTierOutputError { enum RevokeClientVpnIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95105,7 +95225,7 @@ enum RevokeClientVpnIngressOutputError { enum RevokeSecurityGroupEgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95118,7 +95238,7 @@ enum RevokeSecurityGroupEgressOutputError { enum RevokeSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95131,7 +95251,7 @@ enum RevokeSecurityGroupIngressOutputError { enum RunInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95144,7 +95264,7 @@ enum RunInstancesOutputError { enum RunScheduledInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95157,7 +95277,7 @@ enum RunScheduledInstancesOutputError { enum SearchLocalGatewayRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95170,7 +95290,7 @@ enum SearchLocalGatewayRoutesOutputError { enum SearchTransitGatewayMulticastGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95183,7 +95303,7 @@ enum SearchTransitGatewayMulticastGroupsOutputError { enum SearchTransitGatewayRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95196,7 +95316,7 @@ enum SearchTransitGatewayRoutesOutputError { enum SendDiagnosticInterruptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95209,7 +95329,7 @@ enum SendDiagnosticInterruptOutputError { enum StartInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95222,7 +95342,7 @@ enum StartInstancesOutputError { enum StartNetworkInsightsAccessScopeAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95235,7 +95355,7 @@ enum StartNetworkInsightsAccessScopeAnalysisOutputError { enum StartNetworkInsightsAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95248,7 +95368,7 @@ enum StartNetworkInsightsAnalysisOutputError { enum StartVpcEndpointServicePrivateDnsVerificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95261,7 +95381,7 @@ enum StartVpcEndpointServicePrivateDnsVerificationOutputError { enum StopInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95274,7 +95394,7 @@ enum StopInstancesOutputError { enum TerminateClientVpnConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95287,7 +95407,7 @@ enum TerminateClientVpnConnectionsOutputError { enum TerminateInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95300,7 +95420,7 @@ enum TerminateInstancesOutputError { enum UnassignIpv6AddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95313,7 +95433,7 @@ enum UnassignIpv6AddressesOutputError { enum UnassignPrivateIpAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95326,7 +95446,7 @@ enum UnassignPrivateIpAddressesOutputError { enum UnassignPrivateNatGatewayAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95339,7 +95459,7 @@ enum UnassignPrivateNatGatewayAddressOutputError { enum UnlockSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95352,7 +95472,7 @@ enum UnlockSnapshotOutputError { enum UnmonitorInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95365,7 +95485,7 @@ enum UnmonitorInstancesOutputError { enum UpdateSecurityGroupRuleDescriptionsEgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95378,7 +95498,7 @@ enum UpdateSecurityGroupRuleDescriptionsEgressOutputError { enum UpdateSecurityGroupRuleDescriptionsIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -95391,7 +95511,7 @@ enum UpdateSecurityGroupRuleDescriptionsIngressOutputError { enum WithdrawByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.EC2QueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -103554,7 +103674,9 @@ extension EC2ClientTypes.IpamDiscoveredResourceCidr { value.resourceTags = try reader["resourceTagSet"].readListIfPresent(memberReadingClosure: EC2ClientTypes.IpamResourceTag.read(from:), memberNodeInfo: "item", isFlattened: false) value.ipUsage = try reader["ipUsage"].readIfPresent() value.vpcId = try reader["vpcId"].readIfPresent() + value.networkInterfaceAttachmentStatus = try reader["networkInterfaceAttachmentStatus"].readIfPresent() value.sampleTime = try reader["sampleTime"].readTimestampIfPresent(format: .dateTime) + value.availabilityZoneId = try reader["availabilityZoneId"].readIfPresent() return value } } @@ -103579,6 +103701,7 @@ extension EC2ClientTypes.IpamResourceCidr { value.managementState = try reader["managementState"].readIfPresent() value.overlapStatus = try reader["overlapStatus"].readIfPresent() value.vpcId = try reader["vpcId"].readIfPresent() + value.availabilityZoneId = try reader["availabilityZoneId"].readIfPresent() return value } } diff --git a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/Models.swift b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/Models.swift index 4796641ee97..07d65fa1d2a 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/Models.swift +++ b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -29,7 +29,7 @@ public struct AuthException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -53,7 +53,7 @@ public struct EC2InstanceNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct EC2InstanceStateInvalidException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -101,7 +101,7 @@ public struct EC2InstanceTypeInvalidException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct EC2InstanceUnavailableException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct InvalidArgsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -173,7 +173,7 @@ public struct SerialConsoleAccessDisabledException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -197,7 +197,7 @@ public struct SerialConsoleSessionLimitExceededException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -221,7 +221,7 @@ public struct SerialConsoleSessionUnavailableException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -245,7 +245,7 @@ public struct SerialConsoleSessionUnsupportedException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +269,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -293,7 +293,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -423,7 +423,7 @@ extension SendSSHPublicKeyInput { extension SendSerialConsoleSSHPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendSerialConsoleSSHPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendSerialConsoleSSHPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -436,7 +436,7 @@ extension SendSerialConsoleSSHPublicKeyOutput { extension SendSSHPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendSSHPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendSSHPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -449,7 +449,7 @@ extension SendSSHPublicKeyOutput { enum SendSerialConsoleSSHPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -474,7 +474,7 @@ enum SendSerialConsoleSSHPublicKeyOutputError { enum SendSSHPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSECR/Sources/AWSECR/Models.swift b/Sources/Services/AWSECR/Sources/AWSECR/Models.swift index 656a8c7dc95..c137d6f9860 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/Models.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct RepositoryNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct ServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -393,7 +393,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -417,7 +417,7 @@ public struct UnableToGetUpstreamImageException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -515,7 +515,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -731,7 +731,7 @@ public struct EmptyUploadException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -756,7 +756,7 @@ public struct InvalidLayerException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -782,7 +782,7 @@ public struct KmsException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -809,7 +809,7 @@ public struct LayerAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -834,7 +834,7 @@ public struct LayerPartTooSmallException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -859,7 +859,7 @@ public struct UploadNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -934,7 +934,7 @@ public struct PullThroughCacheRuleAlreadyExistsException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -958,7 +958,7 @@ public struct SecretNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -982,7 +982,7 @@ public struct UnableToAccessSecretException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1006,7 +1006,7 @@ public struct UnableToDecryptSecretValueException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1030,7 +1030,7 @@ public struct UnsupportedUpstreamRegistryException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1174,7 +1174,7 @@ public struct InvalidTagParameterException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1199,7 +1199,7 @@ public struct RepositoryAlreadyExistsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1223,7 +1223,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1453,7 +1453,7 @@ public struct LifecyclePolicyNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1518,7 +1518,7 @@ public struct PullThroughCacheRuleNotFoundException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1587,7 +1587,7 @@ public struct RegistryPolicyNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1633,7 +1633,7 @@ public struct RepositoryNotEmptyException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1691,7 +1691,7 @@ public struct RepositoryPolicyNotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1752,7 +1752,7 @@ public struct ImageNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2163,7 +2163,7 @@ public struct ScanNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3021,7 +3021,7 @@ public struct LayerInaccessibleException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3046,7 +3046,7 @@ public struct LayersNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3070,7 +3070,7 @@ public struct UnableToGetUpstreamLayerException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3173,7 +3173,7 @@ public struct LifecyclePolicyPreviewNotFoundException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3677,7 +3677,7 @@ public struct ImageAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3701,7 +3701,7 @@ public struct ImageDigestDoesNotMatchException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3725,7 +3725,7 @@ public struct ImageTagAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3749,7 +3749,7 @@ public struct ReferencedImagesNotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4073,7 +4073,7 @@ public struct UnsupportedImageTypeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4143,7 +4143,7 @@ public struct LifecyclePolicyPreviewInProgressException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4313,7 +4313,7 @@ public struct InvalidLayerPartException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5174,7 +5174,7 @@ extension ValidatePullThroughCacheRuleInput { extension BatchCheckLayerAvailabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCheckLayerAvailabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCheckLayerAvailabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5187,7 +5187,7 @@ extension BatchCheckLayerAvailabilityOutput { extension BatchDeleteImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5200,7 +5200,7 @@ extension BatchDeleteImageOutput { extension BatchGetImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5213,7 +5213,7 @@ extension BatchGetImageOutput { extension BatchGetRepositoryScanningConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetRepositoryScanningConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetRepositoryScanningConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5226,7 +5226,7 @@ extension BatchGetRepositoryScanningConfigurationOutput { extension CompleteLayerUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteLayerUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteLayerUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5241,7 +5241,7 @@ extension CompleteLayerUploadOutput { extension CreatePullThroughCacheRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePullThroughCacheRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePullThroughCacheRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5258,7 +5258,7 @@ extension CreatePullThroughCacheRuleOutput { extension CreateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5270,7 +5270,7 @@ extension CreateRepositoryOutput { extension DeleteLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5285,7 +5285,7 @@ extension DeleteLifecyclePolicyOutput { extension DeletePullThroughCacheRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePullThroughCacheRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePullThroughCacheRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5301,7 +5301,7 @@ extension DeletePullThroughCacheRuleOutput { extension DeleteRegistryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5314,7 +5314,7 @@ extension DeleteRegistryPolicyOutput { extension DeleteRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5326,7 +5326,7 @@ extension DeleteRepositoryOutput { extension DeleteRepositoryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5340,7 +5340,7 @@ extension DeleteRepositoryPolicyOutput { extension DescribeImageReplicationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageReplicationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageReplicationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5354,7 +5354,7 @@ extension DescribeImageReplicationStatusOutput { extension DescribeImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5367,7 +5367,7 @@ extension DescribeImagesOutput { extension DescribeImageScanFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageScanFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageScanFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5384,7 +5384,7 @@ extension DescribeImageScanFindingsOutput { extension DescribePullThroughCacheRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePullThroughCacheRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePullThroughCacheRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5397,7 +5397,7 @@ extension DescribePullThroughCacheRulesOutput { extension DescribeRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5410,7 +5410,7 @@ extension DescribeRegistryOutput { extension DescribeRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5423,7 +5423,7 @@ extension DescribeRepositoriesOutput { extension GetAuthorizationTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizationTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizationTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5435,7 +5435,7 @@ extension GetAuthorizationTokenOutput { extension GetDownloadUrlForLayerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDownloadUrlForLayerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDownloadUrlForLayerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5448,7 +5448,7 @@ extension GetDownloadUrlForLayerOutput { extension GetLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5463,7 +5463,7 @@ extension GetLifecyclePolicyOutput { extension GetLifecyclePolicyPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecyclePolicyPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecyclePolicyPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5481,7 +5481,7 @@ extension GetLifecyclePolicyPreviewOutput { extension GetRegistryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegistryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegistryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5494,7 +5494,7 @@ extension GetRegistryPolicyOutput { extension GetRegistryScanningConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegistryScanningConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegistryScanningConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5507,7 +5507,7 @@ extension GetRegistryScanningConfigurationOutput { extension GetRepositoryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5521,7 +5521,7 @@ extension GetRepositoryPolicyOutput { extension InitiateLayerUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateLayerUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateLayerUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5534,7 +5534,7 @@ extension InitiateLayerUploadOutput { extension ListImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5547,7 +5547,7 @@ extension ListImagesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5559,7 +5559,7 @@ extension ListTagsForResourceOutput { extension PutImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5571,7 +5571,7 @@ extension PutImageOutput { extension PutImageScanningConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutImageScanningConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutImageScanningConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5585,7 +5585,7 @@ extension PutImageScanningConfigurationOutput { extension PutImageTagMutabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutImageTagMutabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutImageTagMutabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5599,7 +5599,7 @@ extension PutImageTagMutabilityOutput { extension PutLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5613,7 +5613,7 @@ extension PutLifecyclePolicyOutput { extension PutRegistryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRegistryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRegistryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5626,7 +5626,7 @@ extension PutRegistryPolicyOutput { extension PutRegistryScanningConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRegistryScanningConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRegistryScanningConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5638,7 +5638,7 @@ extension PutRegistryScanningConfigurationOutput { extension PutReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5650,7 +5650,7 @@ extension PutReplicationConfigurationOutput { extension SetRepositoryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetRepositoryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetRepositoryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5664,7 +5664,7 @@ extension SetRepositoryPolicyOutput { extension StartImageScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImageScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImageScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5679,7 +5679,7 @@ extension StartImageScanOutput { extension StartLifecyclePolicyPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLifecyclePolicyPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLifecyclePolicyPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5694,21 +5694,21 @@ extension StartLifecyclePolicyPreviewOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePullThroughCacheRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePullThroughCacheRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePullThroughCacheRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5723,7 +5723,7 @@ extension UpdatePullThroughCacheRuleOutput { extension UploadLayerPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadLayerPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadLayerPartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5738,7 +5738,7 @@ extension UploadLayerPartOutput { extension ValidatePullThroughCacheRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidatePullThroughCacheRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidatePullThroughCacheRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5755,7 +5755,7 @@ extension ValidatePullThroughCacheRuleOutput { enum BatchCheckLayerAvailabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5771,7 +5771,7 @@ enum BatchCheckLayerAvailabilityOutputError { enum BatchDeleteImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5787,7 +5787,7 @@ enum BatchDeleteImageOutputError { enum BatchGetImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5805,7 +5805,7 @@ enum BatchGetImageOutputError { enum BatchGetRepositoryScanningConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5822,7 +5822,7 @@ enum BatchGetRepositoryScanningConfigurationOutputError { enum CompleteLayerUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5844,7 +5844,7 @@ enum CompleteLayerUploadOutputError { enum CreatePullThroughCacheRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5866,7 +5866,7 @@ enum CreatePullThroughCacheRuleOutputError { enum CreateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5886,7 +5886,7 @@ enum CreateRepositoryOutputError { enum DeleteLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5904,7 +5904,7 @@ enum DeleteLifecyclePolicyOutputError { enum DeletePullThroughCacheRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5921,7 +5921,7 @@ enum DeletePullThroughCacheRuleOutputError { enum DeleteRegistryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5938,7 +5938,7 @@ enum DeleteRegistryPolicyOutputError { enum DeleteRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5956,7 +5956,7 @@ enum DeleteRepositoryOutputError { enum DeleteRepositoryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5973,7 +5973,7 @@ enum DeleteRepositoryPolicyOutputError { enum DescribeImageReplicationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5991,7 +5991,7 @@ enum DescribeImageReplicationStatusOutputError { enum DescribeImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6008,7 +6008,7 @@ enum DescribeImagesOutputError { enum DescribeImageScanFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6027,7 +6027,7 @@ enum DescribeImageScanFindingsOutputError { enum DescribePullThroughCacheRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6044,7 +6044,7 @@ enum DescribePullThroughCacheRulesOutputError { enum DescribeRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6060,7 +6060,7 @@ enum DescribeRegistryOutputError { enum DescribeRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6076,7 +6076,7 @@ enum DescribeRepositoriesOutputError { enum GetAuthorizationTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6091,7 +6091,7 @@ enum GetAuthorizationTokenOutputError { enum GetDownloadUrlForLayerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6110,7 +6110,7 @@ enum GetDownloadUrlForLayerOutputError { enum GetLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6128,7 +6128,7 @@ enum GetLifecyclePolicyOutputError { enum GetLifecyclePolicyPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6146,7 +6146,7 @@ enum GetLifecyclePolicyPreviewOutputError { enum GetRegistryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6163,7 +6163,7 @@ enum GetRegistryPolicyOutputError { enum GetRegistryScanningConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6179,7 +6179,7 @@ enum GetRegistryScanningConfigurationOutputError { enum GetRepositoryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6196,7 +6196,7 @@ enum GetRepositoryPolicyOutputError { enum InitiateLayerUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6213,7 +6213,7 @@ enum InitiateLayerUploadOutputError { enum ListImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6229,7 +6229,7 @@ enum ListImagesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6245,7 +6245,7 @@ enum ListTagsForResourceOutputError { enum PutImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6268,7 +6268,7 @@ enum PutImageOutputError { enum PutImageScanningConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6285,7 +6285,7 @@ enum PutImageScanningConfigurationOutputError { enum PutImageTagMutabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6301,7 +6301,7 @@ enum PutImageTagMutabilityOutputError { enum PutLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6318,7 +6318,7 @@ enum PutLifecyclePolicyOutputError { enum PutRegistryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6334,7 +6334,7 @@ enum PutRegistryPolicyOutputError { enum PutRegistryScanningConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6350,7 +6350,7 @@ enum PutRegistryScanningConfigurationOutputError { enum PutReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6366,7 +6366,7 @@ enum PutReplicationConfigurationOutputError { enum SetRepositoryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6382,7 +6382,7 @@ enum SetRepositoryPolicyOutputError { enum StartImageScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6402,7 +6402,7 @@ enum StartImageScanOutputError { enum StartLifecyclePolicyPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6421,7 +6421,7 @@ enum StartLifecyclePolicyPreviewOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6439,7 +6439,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6457,7 +6457,7 @@ enum UntagResourceOutputError { enum UpdatePullThroughCacheRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6477,7 +6477,7 @@ enum UpdatePullThroughCacheRuleOutputError { enum UploadLayerPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6497,7 +6497,7 @@ enum UploadLayerPartOutputError { enum ValidatePullThroughCacheRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/Models.swift b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/Models.swift index fc150798d20..52f25b260a0 100644 --- a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/Models.swift +++ b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -53,7 +53,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct RegistryNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -101,7 +101,7 @@ public struct RepositoryNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct ServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct UnsupportedCommandException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -447,7 +447,7 @@ public struct EmptyUploadException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -471,7 +471,7 @@ public struct InvalidLayerException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -495,7 +495,7 @@ public struct LayerAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -519,7 +519,7 @@ public struct LayerPartTooSmallException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -543,7 +543,7 @@ public struct UploadNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -618,7 +618,7 @@ public struct InvalidTagParameterException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -642,7 +642,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -666,7 +666,7 @@ public struct RepositoryAlreadyExistsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -690,7 +690,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -891,7 +891,7 @@ public struct RepositoryNotEmptyException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -948,7 +948,7 @@ public struct RepositoryPolicyNotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1009,7 +1009,7 @@ public struct ImageNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1444,7 +1444,7 @@ public struct RepositoryCatalogDataNotFoundException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1566,7 +1566,7 @@ public struct ImageAlreadyExistsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1590,7 +1590,7 @@ public struct ImageDigestDoesNotMatchException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1614,7 +1614,7 @@ public struct ImageTagAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1679,7 +1679,7 @@ public struct InvalidLayerPartException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1711,7 +1711,7 @@ public struct LayersNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1760,7 +1760,7 @@ public struct ReferencedImagesNotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2420,7 +2420,7 @@ extension UploadLayerPartInput { extension BatchCheckLayerAvailabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCheckLayerAvailabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCheckLayerAvailabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2433,7 +2433,7 @@ extension BatchCheckLayerAvailabilityOutput { extension BatchDeleteImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2446,7 +2446,7 @@ extension BatchDeleteImageOutput { extension CompleteLayerUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteLayerUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteLayerUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2461,7 +2461,7 @@ extension CompleteLayerUploadOutput { extension CreateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2474,7 +2474,7 @@ extension CreateRepositoryOutput { extension DeleteRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2486,7 +2486,7 @@ extension DeleteRepositoryOutput { extension DeleteRepositoryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2500,7 +2500,7 @@ extension DeleteRepositoryPolicyOutput { extension DescribeImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2513,7 +2513,7 @@ extension DescribeImagesOutput { extension DescribeImageTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2526,7 +2526,7 @@ extension DescribeImageTagsOutput { extension DescribeRegistriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2539,7 +2539,7 @@ extension DescribeRegistriesOutput { extension DescribeRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2552,7 +2552,7 @@ extension DescribeRepositoriesOutput { extension GetAuthorizationTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthorizationTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthorizationTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2564,7 +2564,7 @@ extension GetAuthorizationTokenOutput { extension GetRegistryCatalogDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegistryCatalogDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegistryCatalogDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2576,7 +2576,7 @@ extension GetRegistryCatalogDataOutput { extension GetRepositoryCatalogDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryCatalogDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryCatalogDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2588,7 +2588,7 @@ extension GetRepositoryCatalogDataOutput { extension GetRepositoryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2602,7 +2602,7 @@ extension GetRepositoryPolicyOutput { extension InitiateLayerUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateLayerUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateLayerUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2615,7 +2615,7 @@ extension InitiateLayerUploadOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2627,7 +2627,7 @@ extension ListTagsForResourceOutput { extension PutImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2639,7 +2639,7 @@ extension PutImageOutput { extension PutRegistryCatalogDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRegistryCatalogDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRegistryCatalogDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2651,7 +2651,7 @@ extension PutRegistryCatalogDataOutput { extension PutRepositoryCatalogDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRepositoryCatalogDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRepositoryCatalogDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2663,7 +2663,7 @@ extension PutRepositoryCatalogDataOutput { extension SetRepositoryPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetRepositoryPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetRepositoryPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2677,21 +2677,21 @@ extension SetRepositoryPolicyOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UploadLayerPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadLayerPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadLayerPartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2706,7 +2706,7 @@ extension UploadLayerPartOutput { enum BatchCheckLayerAvailabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2724,7 +2724,7 @@ enum BatchCheckLayerAvailabilityOutputError { enum BatchDeleteImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2741,7 +2741,7 @@ enum BatchDeleteImageOutputError { enum CompleteLayerUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2764,7 +2764,7 @@ enum CompleteLayerUploadOutputError { enum CreateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2784,7 +2784,7 @@ enum CreateRepositoryOutputError { enum DeleteRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2802,7 +2802,7 @@ enum DeleteRepositoryOutputError { enum DeleteRepositoryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2820,7 +2820,7 @@ enum DeleteRepositoryPolicyOutputError { enum DescribeImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2838,7 +2838,7 @@ enum DescribeImagesOutputError { enum DescribeImageTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2855,7 +2855,7 @@ enum DescribeImageTagsOutputError { enum DescribeRegistriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2871,7 +2871,7 @@ enum DescribeRegistriesOutputError { enum DescribeRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2888,7 +2888,7 @@ enum DescribeRepositoriesOutputError { enum GetAuthorizationTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2904,7 +2904,7 @@ enum GetAuthorizationTokenOutputError { enum GetRegistryCatalogDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2919,7 +2919,7 @@ enum GetRegistryCatalogDataOutputError { enum GetRepositoryCatalogDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2937,7 +2937,7 @@ enum GetRepositoryCatalogDataOutputError { enum GetRepositoryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2955,7 +2955,7 @@ enum GetRepositoryPolicyOutputError { enum InitiateLayerUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2973,7 +2973,7 @@ enum InitiateLayerUploadOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2990,7 +2990,7 @@ enum ListTagsForResourceOutputError { enum PutImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3014,7 +3014,7 @@ enum PutImageOutputError { enum PutRegistryCatalogDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum PutRegistryCatalogDataOutputError { enum PutRepositoryCatalogDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3047,7 +3047,7 @@ enum PutRepositoryCatalogDataOutputError { enum SetRepositoryPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3064,7 +3064,7 @@ enum SetRepositoryPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3083,7 +3083,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3102,7 +3102,7 @@ enum UntagResourceOutputError { enum UploadLayerPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift index ba6674856ee..e7a867b8525 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift @@ -17,8 +17,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -219,7 +219,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -288,7 +288,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -369,7 +369,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -445,7 +445,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -513,7 +513,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -581,7 +581,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -649,7 +649,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -722,7 +722,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -792,7 +792,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -861,7 +861,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -935,7 +935,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1004,7 +1004,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1072,7 +1072,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1140,7 +1140,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1208,7 +1208,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1277,7 +1277,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1346,7 +1346,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1414,7 +1414,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1487,7 +1487,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1556,7 +1556,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1623,7 +1623,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1703,7 +1703,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1775,7 +1775,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1843,7 +1843,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1910,7 +1910,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1978,7 +1978,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2047,7 +2047,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2116,7 +2116,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2185,7 +2185,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2254,7 +2254,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2322,7 +2322,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2390,7 +2390,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2460,7 +2460,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2528,7 +2528,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2596,7 +2596,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2665,7 +2665,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2736,7 +2736,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2804,7 +2804,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2872,7 +2872,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2955,7 +2955,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3026,7 +3026,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3095,7 +3095,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3164,7 +3164,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3232,7 +3232,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3301,7 +3301,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3371,7 +3371,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3441,7 +3441,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3509,7 +3509,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3579,7 +3579,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3648,7 +3648,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3720,7 +3720,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3796,7 +3796,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3907,7 +3907,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3981,7 +3981,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4053,7 +4053,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4127,7 +4127,7 @@ extension ECSClient { .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSECS/Sources/AWSECS/Models.swift b/Sources/Services/AWSECS/Sources/AWSECS/Models.swift index bbf15b6afef..8e0d31848f5 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/Models.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -102,7 +102,7 @@ public struct ClientException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -152,7 +152,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -177,7 +177,7 @@ public struct ServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -202,7 +202,7 @@ public struct UpdateInProgressException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -581,7 +581,7 @@ public struct NamespaceNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1060,7 +1060,7 @@ public struct ClusterNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1085,7 +1085,7 @@ public struct PlatformTaskDefinitionIncompatibilityException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1110,7 +1110,7 @@ public struct PlatformUnknownException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1135,7 +1135,7 @@ public struct UnsupportedFeatureException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2756,7 +2756,7 @@ public struct ServiceNotActiveException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2781,7 +2781,7 @@ public struct ServiceNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3031,7 +3031,7 @@ public struct TargetNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3165,7 +3165,7 @@ public struct ClusterContainsContainerInstancesException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3190,7 +3190,7 @@ public struct ClusterContainsServicesException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3215,7 +3215,7 @@ public struct ClusterContainsTasksException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5209,7 +5209,7 @@ public struct TaskSetNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6774,7 +6774,7 @@ public struct TargetNotConnectedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6891,7 +6891,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7649,7 +7649,7 @@ public struct AttributeLimitExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7703,7 +7703,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8028,7 +8028,7 @@ public struct BlockedException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8059,7 +8059,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8863,7 +8863,7 @@ public struct MissingVersionException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8888,7 +8888,7 @@ public struct NoUpdateAvailableException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10253,7 +10253,7 @@ extension UpdateTaskSetInput { extension CreateCapacityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCapacityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCapacityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10265,7 +10265,7 @@ extension CreateCapacityProviderOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10277,7 +10277,7 @@ extension CreateClusterOutput { extension CreateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10289,7 +10289,7 @@ extension CreateServiceOutput { extension CreateTaskSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTaskSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTaskSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10301,7 +10301,7 @@ extension CreateTaskSetOutput { extension DeleteAccountSettingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountSettingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountSettingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10313,7 +10313,7 @@ extension DeleteAccountSettingOutput { extension DeleteAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10325,7 +10325,7 @@ extension DeleteAttributesOutput { extension DeleteCapacityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCapacityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCapacityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10337,7 +10337,7 @@ extension DeleteCapacityProviderOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10349,7 +10349,7 @@ extension DeleteClusterOutput { extension DeleteServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10361,7 +10361,7 @@ extension DeleteServiceOutput { extension DeleteTaskDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTaskDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTaskDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10374,7 +10374,7 @@ extension DeleteTaskDefinitionsOutput { extension DeleteTaskSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTaskSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTaskSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10386,7 +10386,7 @@ extension DeleteTaskSetOutput { extension DeregisterContainerInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterContainerInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterContainerInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10398,7 +10398,7 @@ extension DeregisterContainerInstanceOutput { extension DeregisterTaskDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTaskDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTaskDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10410,7 +10410,7 @@ extension DeregisterTaskDefinitionOutput { extension DescribeCapacityProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCapacityProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCapacityProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10424,7 +10424,7 @@ extension DescribeCapacityProvidersOutput { extension DescribeClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10437,7 +10437,7 @@ extension DescribeClustersOutput { extension DescribeContainerInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContainerInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContainerInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10450,7 +10450,7 @@ extension DescribeContainerInstancesOutput { extension DescribeServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10463,7 +10463,7 @@ extension DescribeServicesOutput { extension DescribeTaskDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTaskDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTaskDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10476,7 +10476,7 @@ extension DescribeTaskDefinitionOutput { extension DescribeTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10489,7 +10489,7 @@ extension DescribeTasksOutput { extension DescribeTaskSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTaskSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTaskSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10502,7 +10502,7 @@ extension DescribeTaskSetsOutput { extension DiscoverPollEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DiscoverPollEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DiscoverPollEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10516,7 +10516,7 @@ extension DiscoverPollEndpointOutput { extension ExecuteCommandOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteCommandOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteCommandOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10533,7 +10533,7 @@ extension ExecuteCommandOutput { extension GetTaskProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTaskProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTaskProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10546,7 +10546,7 @@ extension GetTaskProtectionOutput { extension ListAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10559,7 +10559,7 @@ extension ListAccountSettingsOutput { extension ListAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10572,7 +10572,7 @@ extension ListAttributesOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10585,7 +10585,7 @@ extension ListClustersOutput { extension ListContainerInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContainerInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContainerInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10598,7 +10598,7 @@ extension ListContainerInstancesOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10611,7 +10611,7 @@ extension ListServicesOutput { extension ListServicesByNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesByNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesByNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10624,7 +10624,7 @@ extension ListServicesByNamespaceOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10636,7 +10636,7 @@ extension ListTagsForResourceOutput { extension ListTaskDefinitionFamiliesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTaskDefinitionFamiliesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTaskDefinitionFamiliesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10649,7 +10649,7 @@ extension ListTaskDefinitionFamiliesOutput { extension ListTaskDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTaskDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTaskDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10662,7 +10662,7 @@ extension ListTaskDefinitionsOutput { extension ListTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10675,7 +10675,7 @@ extension ListTasksOutput { extension PutAccountSettingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountSettingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountSettingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10687,7 +10687,7 @@ extension PutAccountSettingOutput { extension PutAccountSettingDefaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountSettingDefaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountSettingDefaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10699,7 +10699,7 @@ extension PutAccountSettingDefaultOutput { extension PutAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10711,7 +10711,7 @@ extension PutAttributesOutput { extension PutClusterCapacityProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutClusterCapacityProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutClusterCapacityProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10723,7 +10723,7 @@ extension PutClusterCapacityProvidersOutput { extension RegisterContainerInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterContainerInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterContainerInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10735,7 +10735,7 @@ extension RegisterContainerInstanceOutput { extension RegisterTaskDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTaskDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTaskDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10748,7 +10748,7 @@ extension RegisterTaskDefinitionOutput { extension RunTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10761,7 +10761,7 @@ extension RunTaskOutput { extension StartTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10774,7 +10774,7 @@ extension StartTaskOutput { extension StopTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10786,7 +10786,7 @@ extension StopTaskOutput { extension SubmitAttachmentStateChangesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitAttachmentStateChangesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitAttachmentStateChangesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10798,7 +10798,7 @@ extension SubmitAttachmentStateChangesOutput { extension SubmitContainerStateChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitContainerStateChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitContainerStateChangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10810,7 +10810,7 @@ extension SubmitContainerStateChangeOutput { extension SubmitTaskStateChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitTaskStateChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitTaskStateChangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10822,21 +10822,21 @@ extension SubmitTaskStateChangeOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCapacityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCapacityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCapacityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10848,7 +10848,7 @@ extension UpdateCapacityProviderOutput { extension UpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10860,7 +10860,7 @@ extension UpdateClusterOutput { extension UpdateClusterSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10872,7 +10872,7 @@ extension UpdateClusterSettingsOutput { extension UpdateContainerAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContainerAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContainerAgentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10884,7 +10884,7 @@ extension UpdateContainerAgentOutput { extension UpdateContainerInstancesStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContainerInstancesStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContainerInstancesStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10897,7 +10897,7 @@ extension UpdateContainerInstancesStateOutput { extension UpdateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10909,7 +10909,7 @@ extension UpdateServiceOutput { extension UpdateServicePrimaryTaskSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServicePrimaryTaskSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServicePrimaryTaskSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10921,7 +10921,7 @@ extension UpdateServicePrimaryTaskSetOutput { extension UpdateTaskProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTaskProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTaskProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10934,7 +10934,7 @@ extension UpdateTaskProtectionOutput { extension UpdateTaskSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTaskSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTaskSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10946,7 +10946,7 @@ extension UpdateTaskSetOutput { enum CreateCapacityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10964,7 +10964,7 @@ enum CreateCapacityProviderOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10981,7 +10981,7 @@ enum CreateClusterOutputError { enum CreateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11003,7 +11003,7 @@ enum CreateServiceOutputError { enum CreateTaskSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11027,7 +11027,7 @@ enum CreateTaskSetOutputError { enum DeleteAccountSettingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11043,7 +11043,7 @@ enum DeleteAccountSettingOutputError { enum DeleteAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11059,7 +11059,7 @@ enum DeleteAttributesOutputError { enum DeleteCapacityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11075,7 +11075,7 @@ enum DeleteCapacityProviderOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11096,7 +11096,7 @@ enum DeleteClusterOutputError { enum DeleteServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11114,7 +11114,7 @@ enum DeleteServiceOutputError { enum DeleteTaskDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11131,7 +11131,7 @@ enum DeleteTaskDefinitionsOutputError { enum DeleteTaskSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11153,7 +11153,7 @@ enum DeleteTaskSetOutputError { enum DeregisterContainerInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11170,7 +11170,7 @@ enum DeregisterContainerInstanceOutputError { enum DeregisterTaskDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11186,7 +11186,7 @@ enum DeregisterTaskDefinitionOutputError { enum DescribeCapacityProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11202,7 +11202,7 @@ enum DescribeCapacityProvidersOutputError { enum DescribeClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11218,7 +11218,7 @@ enum DescribeClustersOutputError { enum DescribeContainerInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11235,7 +11235,7 @@ enum DescribeContainerInstancesOutputError { enum DescribeServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11252,7 +11252,7 @@ enum DescribeServicesOutputError { enum DescribeTaskDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11268,7 +11268,7 @@ enum DescribeTaskDefinitionOutputError { enum DescribeTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11285,7 +11285,7 @@ enum DescribeTasksOutputError { enum DescribeTaskSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11306,7 +11306,7 @@ enum DescribeTaskSetsOutputError { enum DiscoverPollEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11321,7 +11321,7 @@ enum DiscoverPollEndpointOutputError { enum ExecuteCommandOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11340,7 +11340,7 @@ enum ExecuteCommandOutputError { enum GetTaskProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11360,7 +11360,7 @@ enum GetTaskProtectionOutputError { enum ListAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11376,7 +11376,7 @@ enum ListAccountSettingsOutputError { enum ListAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11391,7 +11391,7 @@ enum ListAttributesOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11407,7 +11407,7 @@ enum ListClustersOutputError { enum ListContainerInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11424,7 +11424,7 @@ enum ListContainerInstancesOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11441,7 +11441,7 @@ enum ListServicesOutputError { enum ListServicesByNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11458,7 +11458,7 @@ enum ListServicesByNamespaceOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11475,7 +11475,7 @@ enum ListTagsForResourceOutputError { enum ListTaskDefinitionFamiliesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11491,7 +11491,7 @@ enum ListTaskDefinitionFamiliesOutputError { enum ListTaskDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11507,7 +11507,7 @@ enum ListTaskDefinitionsOutputError { enum ListTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11525,7 +11525,7 @@ enum ListTasksOutputError { enum PutAccountSettingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11541,7 +11541,7 @@ enum PutAccountSettingOutputError { enum PutAccountSettingDefaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11557,7 +11557,7 @@ enum PutAccountSettingDefaultOutputError { enum PutAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11574,7 +11574,7 @@ enum PutAttributesOutputError { enum PutClusterCapacityProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11593,7 +11593,7 @@ enum PutClusterCapacityProvidersOutputError { enum RegisterContainerInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11609,7 +11609,7 @@ enum RegisterContainerInstanceOutputError { enum RegisterTaskDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11625,7 +11625,7 @@ enum RegisterTaskDefinitionOutputError { enum RunTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11648,7 +11648,7 @@ enum RunTaskOutputError { enum StartTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11666,7 +11666,7 @@ enum StartTaskOutputError { enum StopTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11683,7 +11683,7 @@ enum StopTaskOutputError { enum SubmitAttachmentStateChangesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11700,7 +11700,7 @@ enum SubmitAttachmentStateChangesOutputError { enum SubmitContainerStateChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11716,7 +11716,7 @@ enum SubmitContainerStateChangeOutputError { enum SubmitTaskStateChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11733,7 +11733,7 @@ enum SubmitTaskStateChangeOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11751,7 +11751,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11769,7 +11769,7 @@ enum UntagResourceOutputError { enum UpdateCapacityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11785,7 +11785,7 @@ enum UpdateCapacityProviderOutputError { enum UpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11803,7 +11803,7 @@ enum UpdateClusterOutputError { enum UpdateClusterSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11820,7 +11820,7 @@ enum UpdateClusterSettingsOutputError { enum UpdateContainerAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11840,7 +11840,7 @@ enum UpdateContainerAgentOutputError { enum UpdateContainerInstancesStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11857,7 +11857,7 @@ enum UpdateContainerInstancesStateOutputError { enum UpdateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11881,7 +11881,7 @@ enum UpdateServiceOutputError { enum UpdateServicePrimaryTaskSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11903,7 +11903,7 @@ enum UpdateServicePrimaryTaskSetOutputError { enum UpdateTaskProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11923,7 +11923,7 @@ enum UpdateTaskProtectionOutputError { enum UpdateTaskSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEFS/Sources/AWSEFS/Models.swift b/Sources/Services/AWSEFS/Sources/AWSEFS/Models.swift index c408ea55929..32c8beefe89 100644 --- a/Sources/Services/AWSEFS/Sources/AWSEFS/Models.swift +++ b/Sources/Services/AWSEFS/Sources/AWSEFS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -92,7 +92,7 @@ public struct AccessPointAlreadyExists: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -312,7 +312,7 @@ public struct AccessPointLimitExceeded: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -342,7 +342,7 @@ public struct AccessPointNotFound: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -371,7 +371,7 @@ public struct AvailabilityZonesMismatch: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -461,7 +461,7 @@ public struct BadRequest: ClientRuntime.ModeledError, AWSClientRuntime.AWSServic public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -490,7 +490,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -520,7 +520,7 @@ public struct FileSystemNotFound: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -550,7 +550,7 @@ public struct IncorrectFileSystemLifeCycleState: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -580,7 +580,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -609,7 +609,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -720,7 +720,7 @@ public struct FileSystemAlreadyExists: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -752,7 +752,7 @@ public struct FileSystemLimitExceeded: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -782,7 +782,7 @@ public struct InsufficientThroughputCapacity: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -812,7 +812,7 @@ public struct ThroughputLimitExceeded: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -842,7 +842,7 @@ public struct UnsupportedAvailabilityZone: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1169,7 +1169,7 @@ public struct IpAddressInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1199,7 +1199,7 @@ public struct MountTargetConflict: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1229,7 +1229,7 @@ public struct NetworkInterfaceLimitExceeded: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1259,7 +1259,7 @@ public struct NoFreeAddressesInSubnet: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1289,7 +1289,7 @@ public struct SecurityGroupLimitExceeded: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1319,7 +1319,7 @@ public struct SecurityGroupNotFound: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1349,7 +1349,7 @@ public struct SubnetNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1458,7 +1458,7 @@ public struct ReplicationNotFound: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1488,7 +1488,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1719,7 +1719,7 @@ public struct FileSystemInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1776,7 +1776,7 @@ public struct DependencyTimeout: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1806,7 +1806,7 @@ public struct MountTargetNotFound: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2033,7 +2033,7 @@ public struct PolicyNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2536,7 +2536,7 @@ public struct IncorrectMountTargetState: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2714,7 +2714,7 @@ public struct InvalidPolicyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2967,7 +2967,7 @@ public struct TooManyRequests: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3107,7 +3107,7 @@ public struct ReplicationAlreadyExists: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3736,7 +3736,7 @@ extension UpdateFileSystemProtectionInput { extension CreateAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3757,7 +3757,7 @@ extension CreateAccessPointOutput { extension CreateFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3786,7 +3786,7 @@ extension CreateFileSystemOutput { extension CreateMountTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMountTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMountTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3807,7 +3807,7 @@ extension CreateMountTargetOutput { extension CreateReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3824,56 +3824,56 @@ extension CreateReplicationConfigurationOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension DeleteAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPointOutput { return DeleteAccessPointOutput() } } extension DeleteFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFileSystemOutput { return DeleteFileSystemOutput() } } extension DeleteFileSystemPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFileSystemPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFileSystemPolicyOutput { return DeleteFileSystemPolicyOutput() } } extension DeleteMountTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMountTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMountTargetOutput { return DeleteMountTargetOutput() } } extension DeleteReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationConfigurationOutput { return DeleteReplicationConfigurationOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DescribeAccessPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccessPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccessPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3886,7 +3886,7 @@ extension DescribeAccessPointsOutput { extension DescribeAccountPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3899,7 +3899,7 @@ extension DescribeAccountPreferencesOutput { extension DescribeBackupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3911,7 +3911,7 @@ extension DescribeBackupPolicyOutput { extension DescribeFileSystemPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFileSystemPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFileSystemPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3924,7 +3924,7 @@ extension DescribeFileSystemPolicyOutput { extension DescribeFileSystemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFileSystemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFileSystemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3938,7 +3938,7 @@ extension DescribeFileSystemsOutput { extension DescribeLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLifecycleConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3950,7 +3950,7 @@ extension DescribeLifecycleConfigurationOutput { extension DescribeMountTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMountTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMountTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3964,7 +3964,7 @@ extension DescribeMountTargetsOutput { extension DescribeMountTargetSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMountTargetSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMountTargetSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3976,7 +3976,7 @@ extension DescribeMountTargetSecurityGroupsOutput { extension DescribeReplicationConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3989,7 +3989,7 @@ extension DescribeReplicationConfigurationsOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4003,7 +4003,7 @@ extension DescribeTagsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4016,14 +4016,14 @@ extension ListTagsForResourceOutput { extension ModifyMountTargetSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyMountTargetSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyMountTargetSecurityGroupsOutput { return ModifyMountTargetSecurityGroupsOutput() } } extension PutAccountPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4035,7 +4035,7 @@ extension PutAccountPreferencesOutput { extension PutBackupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBackupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBackupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4047,7 +4047,7 @@ extension PutBackupPolicyOutput { extension PutFileSystemPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFileSystemPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFileSystemPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4060,7 +4060,7 @@ extension PutFileSystemPolicyOutput { extension PutLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLifecycleConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4072,21 +4072,21 @@ extension PutLifecycleConfigurationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4115,7 +4115,7 @@ extension UpdateFileSystemOutput { extension UpdateFileSystemProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFileSystemProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFileSystemProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4127,7 +4127,7 @@ extension UpdateFileSystemProtectionOutput { enum CreateAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4147,7 +4147,7 @@ enum CreateAccessPointOutputError { enum CreateFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4167,7 +4167,7 @@ enum CreateFileSystemOutputError { enum CreateMountTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4193,7 +4193,7 @@ enum CreateMountTargetOutputError { enum CreateReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4217,7 +4217,7 @@ enum CreateReplicationConfigurationOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4233,7 +4233,7 @@ enum CreateTagsOutputError { enum DeleteAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4249,7 +4249,7 @@ enum DeleteAccessPointOutputError { enum DeleteFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4266,7 +4266,7 @@ enum DeleteFileSystemOutputError { enum DeleteFileSystemPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4283,7 +4283,7 @@ enum DeleteFileSystemPolicyOutputError { enum DeleteMountTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4300,7 +4300,7 @@ enum DeleteMountTargetOutputError { enum DeleteReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4317,7 +4317,7 @@ enum DeleteReplicationConfigurationOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4333,7 +4333,7 @@ enum DeleteTagsOutputError { enum DescribeAccessPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4350,7 +4350,7 @@ enum DescribeAccessPointsOutputError { enum DescribeAccountPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4364,7 +4364,7 @@ enum DescribeAccountPreferencesOutputError { enum DescribeBackupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4382,7 +4382,7 @@ enum DescribeBackupPolicyOutputError { enum DescribeFileSystemPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4399,7 +4399,7 @@ enum DescribeFileSystemPolicyOutputError { enum DescribeFileSystemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4415,7 +4415,7 @@ enum DescribeFileSystemsOutputError { enum DescribeLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4431,7 +4431,7 @@ enum DescribeLifecycleConfigurationOutputError { enum DescribeMountTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4449,7 +4449,7 @@ enum DescribeMountTargetsOutputError { enum DescribeMountTargetSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4466,7 +4466,7 @@ enum DescribeMountTargetSecurityGroupsOutputError { enum DescribeReplicationConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4484,7 +4484,7 @@ enum DescribeReplicationConfigurationsOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4500,7 +4500,7 @@ enum DescribeTagsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4517,7 +4517,7 @@ enum ListTagsForResourceOutputError { enum ModifyMountTargetSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4536,7 +4536,7 @@ enum ModifyMountTargetSecurityGroupsOutputError { enum PutAccountPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4551,7 +4551,7 @@ enum PutAccountPreferencesOutputError { enum PutBackupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4569,7 +4569,7 @@ enum PutBackupPolicyOutputError { enum PutFileSystemPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4587,7 +4587,7 @@ enum PutFileSystemPolicyOutputError { enum PutLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4604,7 +4604,7 @@ enum PutLifecycleConfigurationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4621,7 +4621,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4638,7 +4638,7 @@ enum UntagResourceOutputError { enum UpdateFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4658,7 +4658,7 @@ enum UpdateFileSystemOutputError { enum UpdateFileSystemProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEKS/Sources/AWSEKS/Models.swift b/Sources/Services/AWSEKS/Sources/AWSEKS/Models.swift index dfa962c5bab..67ca9095ed2 100644 --- a/Sources/Services/AWSEKS/Sources/AWSEKS/Models.swift +++ b/Sources/Services/AWSEKS/Sources/AWSEKS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -90,7 +90,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -673,7 +673,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -716,7 +716,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -759,7 +759,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -802,7 +802,7 @@ public struct ServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -919,7 +919,7 @@ public struct ClientException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -958,7 +958,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1533,7 +1533,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1713,7 +1713,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1744,7 +1744,7 @@ public struct UnsupportedAvailabilityZoneException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1991,6 +1991,8 @@ extension EKSClientTypes { public struct CreateClusterInput { /// The access configuration for the cluster. public var accessConfig: EKSClientTypes.CreateAccessConfigRequest? + /// If you set this value to False when creating a cluster, the default networking add-ons will not be installed. The default networking addons include vpc-cni, coredns, and kube-proxy. Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons. + public var bootstrapSelfManagedAddons: Swift.Bool? /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. public var clientRequestToken: Swift.String? /// The encryption configuration for the cluster. @@ -2017,6 +2019,7 @@ public struct CreateClusterInput { public init( accessConfig: EKSClientTypes.CreateAccessConfigRequest? = nil, + bootstrapSelfManagedAddons: Swift.Bool? = nil, clientRequestToken: Swift.String? = nil, encryptionConfig: [EKSClientTypes.EncryptionConfig]? = nil, kubernetesNetworkConfig: EKSClientTypes.KubernetesNetworkConfigRequest? = nil, @@ -2030,6 +2033,7 @@ public struct CreateClusterInput { ) { self.accessConfig = accessConfig + self.bootstrapSelfManagedAddons = bootstrapSelfManagedAddons self.clientRequestToken = clientRequestToken self.encryptionConfig = encryptionConfig self.kubernetesNetworkConfig = kubernetesNetworkConfig @@ -2919,12 +2923,14 @@ public struct CreateFargateProfileOutput { extension EKSClientTypes { public enum CapacityTypes: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case capacityBlock case onDemand case spot case sdkUnknown(Swift.String) public static var allCases: [CapacityTypes] { return [ + .capacityBlock, .onDemand, .spot ] @@ -2937,6 +2943,7 @@ extension EKSClientTypes { public var rawValue: Swift.String { switch self { + case .capacityBlock: return "CAPACITY_BLOCK" case .onDemand: return "ON_DEMAND" case .spot: return "SPOT" case let .sdkUnknown(s): return s @@ -5326,7 +5333,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5351,7 +5358,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5446,7 +5453,7 @@ public struct ResourcePropagationDelayException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6993,6 +7000,7 @@ extension CreateClusterInput { static func write(value: CreateClusterInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["accessConfig"].write(value.accessConfig, with: EKSClientTypes.CreateAccessConfigRequest.write(value:to:)) + try writer["bootstrapSelfManagedAddons"].write(value.bootstrapSelfManagedAddons) try writer["clientRequestToken"].write(value.clientRequestToken) try writer["encryptionConfig"].writeList(value.encryptionConfig, memberWritingClosure: EKSClientTypes.EncryptionConfig.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["kubernetesNetworkConfig"].write(value.kubernetesNetworkConfig, with: EKSClientTypes.KubernetesNetworkConfigRequest.write(value:to:)) @@ -7202,7 +7210,7 @@ extension UpdatePodIdentityAssociationInput { extension AssociateAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7216,7 +7224,7 @@ extension AssociateAccessPolicyOutput { extension AssociateEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateEncryptionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7228,7 +7236,7 @@ extension AssociateEncryptionConfigOutput { extension AssociateIdentityProviderConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateIdentityProviderConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIdentityProviderConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7241,7 +7249,7 @@ extension AssociateIdentityProviderConfigOutput { extension CreateAccessEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7253,7 +7261,7 @@ extension CreateAccessEntryOutput { extension CreateAddonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAddonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAddonOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7265,7 +7273,7 @@ extension CreateAddonOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7277,7 +7285,7 @@ extension CreateClusterOutput { extension CreateEksAnywhereSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEksAnywhereSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEksAnywhereSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7289,7 +7297,7 @@ extension CreateEksAnywhereSubscriptionOutput { extension CreateFargateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFargateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFargateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7301,7 +7309,7 @@ extension CreateFargateProfileOutput { extension CreateNodegroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNodegroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNodegroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7313,7 +7321,7 @@ extension CreateNodegroupOutput { extension CreatePodIdentityAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePodIdentityAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePodIdentityAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7325,14 +7333,14 @@ extension CreatePodIdentityAssociationOutput { extension DeleteAccessEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessEntryOutput { return DeleteAccessEntryOutput() } } extension DeleteAddonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAddonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAddonOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7344,7 +7352,7 @@ extension DeleteAddonOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7356,7 +7364,7 @@ extension DeleteClusterOutput { extension DeleteEksAnywhereSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEksAnywhereSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEksAnywhereSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7368,7 +7376,7 @@ extension DeleteEksAnywhereSubscriptionOutput { extension DeleteFargateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFargateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFargateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7380,7 +7388,7 @@ extension DeleteFargateProfileOutput { extension DeleteNodegroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNodegroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNodegroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7392,7 +7400,7 @@ extension DeleteNodegroupOutput { extension DeletePodIdentityAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePodIdentityAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePodIdentityAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7404,7 +7412,7 @@ extension DeletePodIdentityAssociationOutput { extension DeregisterClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7416,7 +7424,7 @@ extension DeregisterClusterOutput { extension DescribeAccessEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccessEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccessEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7428,7 +7436,7 @@ extension DescribeAccessEntryOutput { extension DescribeAddonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddonOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7440,7 +7448,7 @@ extension DescribeAddonOutput { extension DescribeAddonConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddonConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddonConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7455,7 +7463,7 @@ extension DescribeAddonConfigurationOutput { extension DescribeAddonVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddonVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddonVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7468,7 +7476,7 @@ extension DescribeAddonVersionsOutput { extension DescribeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7480,7 +7488,7 @@ extension DescribeClusterOutput { extension DescribeEksAnywhereSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEksAnywhereSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEksAnywhereSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7492,7 +7500,7 @@ extension DescribeEksAnywhereSubscriptionOutput { extension DescribeFargateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFargateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFargateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7504,7 +7512,7 @@ extension DescribeFargateProfileOutput { extension DescribeIdentityProviderConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityProviderConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityProviderConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7516,7 +7524,7 @@ extension DescribeIdentityProviderConfigOutput { extension DescribeInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInsightOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7528,7 +7536,7 @@ extension DescribeInsightOutput { extension DescribeNodegroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNodegroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNodegroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7540,7 +7548,7 @@ extension DescribeNodegroupOutput { extension DescribePodIdentityAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePodIdentityAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePodIdentityAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7552,7 +7560,7 @@ extension DescribePodIdentityAssociationOutput { extension DescribeUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7564,14 +7572,14 @@ extension DescribeUpdateOutput { extension DisassociateAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAccessPolicyOutput { return DisassociateAccessPolicyOutput() } } extension DisassociateIdentityProviderConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateIdentityProviderConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIdentityProviderConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7583,7 +7591,7 @@ extension DisassociateIdentityProviderConfigOutput { extension ListAccessEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7596,7 +7604,7 @@ extension ListAccessEntriesOutput { extension ListAccessPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7609,7 +7617,7 @@ extension ListAccessPoliciesOutput { extension ListAddonsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAddonsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAddonsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7622,7 +7630,7 @@ extension ListAddonsOutput { extension ListAssociatedAccessPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedAccessPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedAccessPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7637,7 +7645,7 @@ extension ListAssociatedAccessPoliciesOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7650,7 +7658,7 @@ extension ListClustersOutput { extension ListEksAnywhereSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEksAnywhereSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEksAnywhereSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7663,7 +7671,7 @@ extension ListEksAnywhereSubscriptionsOutput { extension ListFargateProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFargateProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFargateProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7676,7 +7684,7 @@ extension ListFargateProfilesOutput { extension ListIdentityProviderConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityProviderConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityProviderConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7689,7 +7697,7 @@ extension ListIdentityProviderConfigsOutput { extension ListInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7702,7 +7710,7 @@ extension ListInsightsOutput { extension ListNodegroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNodegroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNodegroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7715,7 +7723,7 @@ extension ListNodegroupsOutput { extension ListPodIdentityAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPodIdentityAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPodIdentityAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7728,7 +7736,7 @@ extension ListPodIdentityAssociationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7740,7 +7748,7 @@ extension ListTagsForResourceOutput { extension ListUpdatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUpdatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUpdatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7753,7 +7761,7 @@ extension ListUpdatesOutput { extension RegisterClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7765,21 +7773,21 @@ extension RegisterClusterOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7791,7 +7799,7 @@ extension UpdateAccessEntryOutput { extension UpdateAddonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAddonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAddonOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7803,7 +7811,7 @@ extension UpdateAddonOutput { extension UpdateClusterConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7815,7 +7823,7 @@ extension UpdateClusterConfigOutput { extension UpdateClusterVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7827,7 +7835,7 @@ extension UpdateClusterVersionOutput { extension UpdateEksAnywhereSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEksAnywhereSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEksAnywhereSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7839,7 +7847,7 @@ extension UpdateEksAnywhereSubscriptionOutput { extension UpdateNodegroupConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNodegroupConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNodegroupConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7851,7 +7859,7 @@ extension UpdateNodegroupConfigOutput { extension UpdateNodegroupVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNodegroupVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNodegroupVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7863,7 +7871,7 @@ extension UpdateNodegroupVersionOutput { extension UpdatePodIdentityAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePodIdentityAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePodIdentityAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7875,7 +7883,7 @@ extension UpdatePodIdentityAssociationOutput { enum AssociateAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7892,7 +7900,7 @@ enum AssociateAccessPolicyOutputError { enum AssociateEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7911,7 +7919,7 @@ enum AssociateEncryptionConfigOutputError { enum AssociateIdentityProviderConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7930,7 +7938,7 @@ enum AssociateIdentityProviderConfigOutputError { enum CreateAccessEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7949,7 +7957,7 @@ enum CreateAccessEntryOutputError { enum CreateAddonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7968,7 +7976,7 @@ enum CreateAddonOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7988,7 +7996,7 @@ enum CreateClusterOutputError { enum CreateEksAnywhereSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8006,7 +8014,7 @@ enum CreateEksAnywhereSubscriptionOutputError { enum CreateFargateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8025,7 +8033,7 @@ enum CreateFargateProfileOutputError { enum CreateNodegroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8045,7 +8053,7 @@ enum CreateNodegroupOutputError { enum CreatePodIdentityAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8064,7 +8072,7 @@ enum CreatePodIdentityAssociationOutputError { enum DeleteAccessEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8080,7 +8088,7 @@ enum DeleteAccessEntryOutputError { enum DeleteAddonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8098,7 +8106,7 @@ enum DeleteAddonOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8116,7 +8124,7 @@ enum DeleteClusterOutputError { enum DeleteEksAnywhereSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8133,7 +8141,7 @@ enum DeleteEksAnywhereSubscriptionOutputError { enum DeleteFargateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8150,7 +8158,7 @@ enum DeleteFargateProfileOutputError { enum DeleteNodegroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8169,7 +8177,7 @@ enum DeleteNodegroupOutputError { enum DeletePodIdentityAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8186,7 +8194,7 @@ enum DeletePodIdentityAssociationOutputError { enum DeregisterClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8205,7 +8213,7 @@ enum DeregisterClusterOutputError { enum DescribeAccessEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8221,7 +8229,7 @@ enum DescribeAccessEntryOutputError { enum DescribeAddonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8239,7 +8247,7 @@ enum DescribeAddonOutputError { enum DescribeAddonConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8255,7 +8263,7 @@ enum DescribeAddonConfigurationOutputError { enum DescribeAddonVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8271,7 +8279,7 @@ enum DescribeAddonVersionsOutputError { enum DescribeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8288,7 +8296,7 @@ enum DescribeClusterOutputError { enum DescribeEksAnywhereSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8305,7 +8313,7 @@ enum DescribeEksAnywhereSubscriptionOutputError { enum DescribeFargateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8322,7 +8330,7 @@ enum DescribeFargateProfileOutputError { enum DescribeIdentityProviderConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8340,7 +8348,7 @@ enum DescribeIdentityProviderConfigOutputError { enum DescribeInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8357,7 +8365,7 @@ enum DescribeInsightOutputError { enum DescribeNodegroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8375,7 +8383,7 @@ enum DescribeNodegroupOutputError { enum DescribePodIdentityAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8392,7 +8400,7 @@ enum DescribePodIdentityAssociationOutputError { enum DescribeUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8409,7 +8417,7 @@ enum DescribeUpdateOutputError { enum DisassociateAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8425,7 +8433,7 @@ enum DisassociateAccessPolicyOutputError { enum DisassociateIdentityProviderConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8444,7 +8452,7 @@ enum DisassociateIdentityProviderConfigOutputError { enum ListAccessEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8461,7 +8469,7 @@ enum ListAccessEntriesOutputError { enum ListAccessPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8475,7 +8483,7 @@ enum ListAccessPoliciesOutputError { enum ListAddonsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8493,7 +8501,7 @@ enum ListAddonsOutputError { enum ListAssociatedAccessPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8509,7 +8517,7 @@ enum ListAssociatedAccessPoliciesOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8526,7 +8534,7 @@ enum ListClustersOutputError { enum ListEksAnywhereSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8543,7 +8551,7 @@ enum ListEksAnywhereSubscriptionsOutputError { enum ListFargateProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8560,7 +8568,7 @@ enum ListFargateProfilesOutputError { enum ListIdentityProviderConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8578,7 +8586,7 @@ enum ListIdentityProviderConfigsOutputError { enum ListInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8595,7 +8603,7 @@ enum ListInsightsOutputError { enum ListNodegroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8613,7 +8621,7 @@ enum ListNodegroupsOutputError { enum ListPodIdentityAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8630,7 +8638,7 @@ enum ListPodIdentityAssociationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8645,7 +8653,7 @@ enum ListTagsForResourceOutputError { enum ListUpdatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8662,7 +8670,7 @@ enum ListUpdatesOutputError { enum RegisterClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8683,7 +8691,7 @@ enum RegisterClusterOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8698,7 +8706,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8713,7 +8721,7 @@ enum UntagResourceOutputError { enum UpdateAccessEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8730,7 +8738,7 @@ enum UpdateAccessEntryOutputError { enum UpdateAddonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8749,7 +8757,7 @@ enum UpdateAddonOutputError { enum UpdateClusterConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8768,7 +8776,7 @@ enum UpdateClusterConfigOutputError { enum UpdateClusterVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8787,7 +8795,7 @@ enum UpdateClusterVersionOutputError { enum UpdateEksAnywhereSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8805,7 +8813,7 @@ enum UpdateEksAnywhereSubscriptionOutputError { enum UpdateNodegroupConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8824,7 +8832,7 @@ enum UpdateNodegroupConfigOutputError { enum UpdateNodegroupVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8843,7 +8851,7 @@ enum UpdateNodegroupVersionOutputError { enum UpdatePodIdentityAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/Models.swift b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/Models.swift index 5eaf3e26380..b2aecd5b8e8 100644 --- a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/Models.swift +++ b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -31,7 +31,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct ExpiredTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -101,7 +101,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -173,7 +173,7 @@ public struct InvalidTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -197,7 +197,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -221,7 +221,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -245,7 +245,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -420,7 +420,7 @@ extension AssumeRoleForPodIdentityInput { extension AssumeRoleForPodIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeRoleForPodIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeRoleForPodIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -436,7 +436,7 @@ extension AssumeRoleForPodIdentityOutput { enum AssumeRoleForPodIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEMR/Sources/AWSEMR/Models.swift b/Sources/Services/AWSEMR/Sources/AWSEMR/Models.swift index 7b74a9baad8..74bc1d5e154 100644 --- a/Sources/Services/AWSEMR/Sources/AWSEMR/Models.swift +++ b/Sources/Services/AWSEMR/Sources/AWSEMR/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -136,7 +136,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -284,11 +284,13 @@ extension EMRClientTypes { public enum OnDemandProvisioningAllocationStrategy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case lowestPrice + case prioritized case sdkUnknown(Swift.String) public static var allCases: [OnDemandProvisioningAllocationStrategy] { return [ - .lowestPrice + .lowestPrice, + .prioritized ] } @@ -300,6 +302,7 @@ extension EMRClientTypes { public var rawValue: Swift.String { switch self { case .lowestPrice: return "lowest-price" + case .prioritized: return "prioritized" case let .sdkUnknown(s): return s } } @@ -392,7 +395,7 @@ extension EMRClientTypes { extension EMRClientTypes { /// The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later. public struct OnDemandProvisioningSpecification { - /// Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first. + /// Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price. /// This member is required. public var allocationStrategy: EMRClientTypes.OnDemandProvisioningAllocationStrategy? /// The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy. @@ -414,6 +417,7 @@ extension EMRClientTypes { public enum SpotProvisioningAllocationStrategy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case capacityOptimized + case capacityOptimizedPrioritized case diversified case lowestPrice case priceCapacityOptimized @@ -422,6 +426,7 @@ extension EMRClientTypes { public static var allCases: [SpotProvisioningAllocationStrategy] { return [ .capacityOptimized, + .capacityOptimizedPrioritized, .diversified, .lowestPrice, .priceCapacityOptimized @@ -436,6 +441,7 @@ extension EMRClientTypes { public var rawValue: Swift.String { switch self { case .capacityOptimized: return "capacity-optimized" + case .capacityOptimizedPrioritized: return "capacity-optimized-prioritized" case .diversified: return "diversified" case .lowestPrice: return "lowest-price" case .priceCapacityOptimized: return "price-capacity-optimized" @@ -477,7 +483,7 @@ extension EMRClientTypes { extension EMRClientTypes { /// The launch specification for Spot Instances in the instance fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. Spot Instance allocation strategy is available in Amazon EMR releases 5.12.1 and later. Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022. public struct SpotProvisioningSpecification { - /// Specifies one of the following strategies to launch Spot Instance fleets: price-capacity-optimized, capacity-optimized, lowest-price, or diversified. For more information on the provisioning strategies, see [Allocation strategies for Spot Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) in the Amazon EC2 User Guide for Linux Instances. When you launch a Spot Instance fleet with the old console, it automatically launches with the capacity-optimized strategy. You can't change the allocation strategy from the old console. + /// Specifies one of the following strategies to launch Spot Instance fleets: capacity-optimized, price-capacity-optimized, lowest-price, or diversified, and capacity-optimized-prioritized. For more information on the provisioning strategies, see [Allocation strategies for Spot Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) in the Amazon EC2 User Guide for Linux Instances. When you launch a Spot Instance fleet with the old console, it automatically launches with the capacity-optimized strategy. You can't change the allocation strategy from the old console. public var allocationStrategy: EMRClientTypes.SpotProvisioningAllocationStrategy? /// The defined duration for Spot Instances (also known as Spot blocks) in minutes. When specified, the Spot Instance does not terminate before the defined duration expires, and defined duration pricing for Spot Instances applies. Valid values are 60, 120, 180, 240, 300, or 360. The duration period starts as soon as a Spot Instance receives its instance ID. At the end of the duration, Amazon EC2 marks the Spot Instance for termination and provides a Spot Instance termination notice, which gives the instance a two-minute warning before it terminates. Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022. public var blockDurationMinutes: Swift.Int? @@ -604,7 +610,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6293,6 +6299,8 @@ extension EMRClientTypes { /// An Amazon EC2 instance type, such as m3.xlarge. /// This member is required. public var instanceType: Swift.String? + /// The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first. + public var priority: Swift.Double? /// The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in [InstanceFleetConfig]. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified. public var weightedCapacity: Swift.Int? @@ -6303,6 +6311,7 @@ extension EMRClientTypes { customAmiId: Swift.String? = nil, ebsConfiguration: EMRClientTypes.EbsConfiguration? = nil, instanceType: Swift.String? = nil, + priority: Swift.Double? = nil, weightedCapacity: Swift.Int? = nil ) { @@ -6312,6 +6321,7 @@ extension EMRClientTypes { self.customAmiId = customAmiId self.ebsConfiguration = ebsConfiguration self.instanceType = instanceType + self.priority = priority self.weightedCapacity = weightedCapacity } } @@ -6335,6 +6345,8 @@ extension EMRClientTypes { public var ebsOptimized: Swift.Bool? /// The Amazon EC2 instance type, for example m3.xlarge. public var instanceType: Swift.String? + /// The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first. + public var priority: Swift.Double? /// The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in [InstanceFleetConfig]. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1. public var weightedCapacity: Swift.Int? @@ -6346,6 +6358,7 @@ extension EMRClientTypes { ebsBlockDevices: [EMRClientTypes.EbsBlockDevice]? = nil, ebsOptimized: Swift.Bool? = nil, instanceType: Swift.String? = nil, + priority: Swift.Double? = nil, weightedCapacity: Swift.Int? = nil ) { @@ -6356,6 +6369,7 @@ extension EMRClientTypes { self.ebsBlockDevices = ebsBlockDevices self.ebsOptimized = ebsOptimized self.instanceType = instanceType + self.priority = priority self.weightedCapacity = weightedCapacity } } @@ -7884,7 +7898,7 @@ extension UpdateStudioSessionMappingInput { extension AddInstanceFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddInstanceFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddInstanceFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7898,7 +7912,7 @@ extension AddInstanceFleetOutput { extension AddInstanceGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddInstanceGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddInstanceGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7912,7 +7926,7 @@ extension AddInstanceGroupsOutput { extension AddJobFlowStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddJobFlowStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddJobFlowStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7924,14 +7938,14 @@ extension AddJobFlowStepsOutput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension CancelStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7943,7 +7957,7 @@ extension CancelStepsOutput { extension CreateSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7956,7 +7970,7 @@ extension CreateSecurityConfigurationOutput { extension CreateStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStudioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7969,35 +7983,35 @@ extension CreateStudioOutput { extension CreateStudioSessionMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStudioSessionMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStudioSessionMappingOutput { return CreateStudioSessionMappingOutput() } } extension DeleteSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityConfigurationOutput { return DeleteSecurityConfigurationOutput() } } extension DeleteStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStudioOutput { return DeleteStudioOutput() } } extension DeleteStudioSessionMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStudioSessionMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStudioSessionMappingOutput { return DeleteStudioSessionMappingOutput() } } extension DescribeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8009,7 +8023,7 @@ extension DescribeClusterOutput { extension DescribeJobFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobFlowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8021,7 +8035,7 @@ extension DescribeJobFlowsOutput { extension DescribeNotebookExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotebookExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotebookExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8033,7 +8047,7 @@ extension DescribeNotebookExecutionOutput { extension DescribeReleaseLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReleaseLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReleaseLabelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8048,7 +8062,7 @@ extension DescribeReleaseLabelOutput { extension DescribeSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8062,7 +8076,7 @@ extension DescribeSecurityConfigurationOutput { extension DescribeStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8074,7 +8088,7 @@ extension DescribeStepOutput { extension DescribeStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStudioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8086,7 +8100,7 @@ extension DescribeStudioOutput { extension GetAutoTerminationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAutoTerminationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutoTerminationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8098,7 +8112,7 @@ extension GetAutoTerminationPolicyOutput { extension GetBlockPublicAccessConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlockPublicAccessConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlockPublicAccessConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8111,7 +8125,7 @@ extension GetBlockPublicAccessConfigurationOutput { extension GetClusterSessionCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClusterSessionCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClusterSessionCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8124,7 +8138,7 @@ extension GetClusterSessionCredentialsOutput { extension GetManagedScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetManagedScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetManagedScalingPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8136,7 +8150,7 @@ extension GetManagedScalingPolicyOutput { extension GetStudioSessionMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStudioSessionMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStudioSessionMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8148,7 +8162,7 @@ extension GetStudioSessionMappingOutput { extension ListBootstrapActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBootstrapActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBootstrapActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8161,7 +8175,7 @@ extension ListBootstrapActionsOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8174,7 +8188,7 @@ extension ListClustersOutput { extension ListInstanceFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8187,7 +8201,7 @@ extension ListInstanceFleetsOutput { extension ListInstanceGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8200,7 +8214,7 @@ extension ListInstanceGroupsOutput { extension ListInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8213,7 +8227,7 @@ extension ListInstancesOutput { extension ListNotebookExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotebookExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotebookExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8226,7 +8240,7 @@ extension ListNotebookExecutionsOutput { extension ListReleaseLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReleaseLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReleaseLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8239,7 +8253,7 @@ extension ListReleaseLabelsOutput { extension ListSecurityConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8252,7 +8266,7 @@ extension ListSecurityConfigurationsOutput { extension ListStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8265,7 +8279,7 @@ extension ListStepsOutput { extension ListStudiosOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStudiosOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStudiosOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8278,7 +8292,7 @@ extension ListStudiosOutput { extension ListStudioSessionMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStudioSessionMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStudioSessionMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8291,7 +8305,7 @@ extension ListStudioSessionMappingsOutput { extension ListSupportedInstanceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSupportedInstanceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSupportedInstanceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8304,7 +8318,7 @@ extension ListSupportedInstanceTypesOutput { extension ModifyClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8316,21 +8330,21 @@ extension ModifyClusterOutput { extension ModifyInstanceFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceFleetOutput { return ModifyInstanceFleetOutput() } } extension ModifyInstanceGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyInstanceGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyInstanceGroupsOutput { return ModifyInstanceGroupsOutput() } } extension PutAutoScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAutoScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAutoScalingPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8345,56 +8359,56 @@ extension PutAutoScalingPolicyOutput { extension PutAutoTerminationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAutoTerminationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAutoTerminationPolicyOutput { return PutAutoTerminationPolicyOutput() } } extension PutBlockPublicAccessConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBlockPublicAccessConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBlockPublicAccessConfigurationOutput { return PutBlockPublicAccessConfigurationOutput() } } extension PutManagedScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutManagedScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutManagedScalingPolicyOutput { return PutManagedScalingPolicyOutput() } } extension RemoveAutoScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAutoScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAutoScalingPolicyOutput { return RemoveAutoScalingPolicyOutput() } } extension RemoveAutoTerminationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAutoTerminationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAutoTerminationPolicyOutput { return RemoveAutoTerminationPolicyOutput() } } extension RemoveManagedScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveManagedScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveManagedScalingPolicyOutput { return RemoveManagedScalingPolicyOutput() } } extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension RunJobFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunJobFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunJobFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8407,35 +8421,35 @@ extension RunJobFlowOutput { extension SetKeepJobFlowAliveWhenNoStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetKeepJobFlowAliveWhenNoStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetKeepJobFlowAliveWhenNoStepsOutput { return SetKeepJobFlowAliveWhenNoStepsOutput() } } extension SetTerminationProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTerminationProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTerminationProtectionOutput { return SetTerminationProtectionOutput() } } extension SetUnhealthyNodeReplacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetUnhealthyNodeReplacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetUnhealthyNodeReplacementOutput { return SetUnhealthyNodeReplacementOutput() } } extension SetVisibleToAllUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetVisibleToAllUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetVisibleToAllUsersOutput { return SetVisibleToAllUsersOutput() } } extension StartNotebookExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartNotebookExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartNotebookExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8447,35 +8461,35 @@ extension StartNotebookExecutionOutput { extension StopNotebookExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopNotebookExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopNotebookExecutionOutput { return StopNotebookExecutionOutput() } } extension TerminateJobFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateJobFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateJobFlowsOutput { return TerminateJobFlowsOutput() } } extension UpdateStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStudioOutput { return UpdateStudioOutput() } } extension UpdateStudioSessionMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStudioSessionMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStudioSessionMappingOutput { return UpdateStudioSessionMappingOutput() } } enum AddInstanceFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8490,7 +8504,7 @@ enum AddInstanceFleetOutputError { enum AddInstanceGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8504,7 +8518,7 @@ enum AddInstanceGroupsOutputError { enum AddJobFlowStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8518,7 +8532,7 @@ enum AddJobFlowStepsOutputError { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8533,7 +8547,7 @@ enum AddTagsOutputError { enum CancelStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8548,7 +8562,7 @@ enum CancelStepsOutputError { enum CreateSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8563,7 +8577,7 @@ enum CreateSecurityConfigurationOutputError { enum CreateStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8578,7 +8592,7 @@ enum CreateStudioOutputError { enum CreateStudioSessionMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8593,7 +8607,7 @@ enum CreateStudioSessionMappingOutputError { enum DeleteSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8608,7 +8622,7 @@ enum DeleteSecurityConfigurationOutputError { enum DeleteStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8623,7 +8637,7 @@ enum DeleteStudioOutputError { enum DeleteStudioSessionMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8638,7 +8652,7 @@ enum DeleteStudioSessionMappingOutputError { enum DescribeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8653,7 +8667,7 @@ enum DescribeClusterOutputError { enum DescribeJobFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8667,7 +8681,7 @@ enum DescribeJobFlowsOutputError { enum DescribeNotebookExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8682,7 +8696,7 @@ enum DescribeNotebookExecutionOutputError { enum DescribeReleaseLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8697,7 +8711,7 @@ enum DescribeReleaseLabelOutputError { enum DescribeSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8712,7 +8726,7 @@ enum DescribeSecurityConfigurationOutputError { enum DescribeStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8727,7 +8741,7 @@ enum DescribeStepOutputError { enum DescribeStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8742,7 +8756,7 @@ enum DescribeStudioOutputError { enum GetAutoTerminationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8755,7 +8769,7 @@ enum GetAutoTerminationPolicyOutputError { enum GetBlockPublicAccessConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8770,7 +8784,7 @@ enum GetBlockPublicAccessConfigurationOutputError { enum GetClusterSessionCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8785,7 +8799,7 @@ enum GetClusterSessionCredentialsOutputError { enum GetManagedScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8798,7 +8812,7 @@ enum GetManagedScalingPolicyOutputError { enum GetStudioSessionMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8813,7 +8827,7 @@ enum GetStudioSessionMappingOutputError { enum ListBootstrapActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8828,7 +8842,7 @@ enum ListBootstrapActionsOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8843,7 +8857,7 @@ enum ListClustersOutputError { enum ListInstanceFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8858,7 +8872,7 @@ enum ListInstanceFleetsOutputError { enum ListInstanceGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8873,7 +8887,7 @@ enum ListInstanceGroupsOutputError { enum ListInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8888,7 +8902,7 @@ enum ListInstancesOutputError { enum ListNotebookExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8903,7 +8917,7 @@ enum ListNotebookExecutionsOutputError { enum ListReleaseLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8918,7 +8932,7 @@ enum ListReleaseLabelsOutputError { enum ListSecurityConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8933,7 +8947,7 @@ enum ListSecurityConfigurationsOutputError { enum ListStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8948,7 +8962,7 @@ enum ListStepsOutputError { enum ListStudiosOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8963,7 +8977,7 @@ enum ListStudiosOutputError { enum ListStudioSessionMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8978,7 +8992,7 @@ enum ListStudioSessionMappingsOutputError { enum ListSupportedInstanceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8993,7 +9007,7 @@ enum ListSupportedInstanceTypesOutputError { enum ModifyClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9008,7 +9022,7 @@ enum ModifyClusterOutputError { enum ModifyInstanceFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9023,7 +9037,7 @@ enum ModifyInstanceFleetOutputError { enum ModifyInstanceGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9037,7 +9051,7 @@ enum ModifyInstanceGroupsOutputError { enum PutAutoScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9050,7 +9064,7 @@ enum PutAutoScalingPolicyOutputError { enum PutAutoTerminationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9063,7 +9077,7 @@ enum PutAutoTerminationPolicyOutputError { enum PutBlockPublicAccessConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9078,7 +9092,7 @@ enum PutBlockPublicAccessConfigurationOutputError { enum PutManagedScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9091,7 +9105,7 @@ enum PutManagedScalingPolicyOutputError { enum RemoveAutoScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9104,7 +9118,7 @@ enum RemoveAutoScalingPolicyOutputError { enum RemoveAutoTerminationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9117,7 +9131,7 @@ enum RemoveAutoTerminationPolicyOutputError { enum RemoveManagedScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9130,7 +9144,7 @@ enum RemoveManagedScalingPolicyOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9145,7 +9159,7 @@ enum RemoveTagsOutputError { enum RunJobFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9159,7 +9173,7 @@ enum RunJobFlowOutputError { enum SetKeepJobFlowAliveWhenNoStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9173,7 +9187,7 @@ enum SetKeepJobFlowAliveWhenNoStepsOutputError { enum SetTerminationProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9187,7 +9201,7 @@ enum SetTerminationProtectionOutputError { enum SetUnhealthyNodeReplacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9201,7 +9215,7 @@ enum SetUnhealthyNodeReplacementOutputError { enum SetVisibleToAllUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9215,7 +9229,7 @@ enum SetVisibleToAllUsersOutputError { enum StartNotebookExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9230,7 +9244,7 @@ enum StartNotebookExecutionOutputError { enum StopNotebookExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9245,7 +9259,7 @@ enum StopNotebookExecutionOutputError { enum TerminateJobFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9259,7 +9273,7 @@ enum TerminateJobFlowsOutputError { enum UpdateStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9274,7 +9288,7 @@ enum UpdateStudioOutputError { enum UpdateStudioSessionMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10296,6 +10310,7 @@ extension EMRClientTypes.InstanceTypeSpecification { value.ebsBlockDevices = try reader["EbsBlockDevices"].readListIfPresent(memberReadingClosure: EMRClientTypes.EbsBlockDevice.read(from:), memberNodeInfo: "member", isFlattened: false) value.ebsOptimized = try reader["EbsOptimized"].readIfPresent() value.customAmiId = try reader["CustomAmiId"].readIfPresent() + value.priority = try reader["Priority"].readIfPresent() return value } } @@ -10820,6 +10835,7 @@ extension EMRClientTypes.InstanceTypeConfig { try writer["CustomAmiId"].write(value.customAmiId) try writer["EbsConfiguration"].write(value.ebsConfiguration, with: EMRClientTypes.EbsConfiguration.write(value:to:)) try writer["InstanceType"].write(value.instanceType) + try writer["Priority"].write(value.priority) try writer["WeightedCapacity"].write(value.weightedCapacity) } } diff --git a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/Models.swift b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/Models.swift index 53a8ff36f8f..a08621d187c 100644 --- a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/Models.swift +++ b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -482,7 +482,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -507,7 +507,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -532,7 +532,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -557,7 +557,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -704,7 +704,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -925,7 +925,7 @@ extension EMRServerlessClientTypes { extension EMRServerlessClientTypes.SparkSubmit: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SparkSubmit(entryPointArguments: \(Swift.String(describing: entryPointArguments)), entryPoint: \"CONTENT_REDACTED\", sparkSubmitParameters: \"CONTENT_REDACTED\")"} + "SparkSubmit(entryPoint: \"CONTENT_REDACTED\", entryPointArguments: \"CONTENT_REDACTED\", sparkSubmitParameters: \"CONTENT_REDACTED\")"} } extension EMRServerlessClientTypes { @@ -2270,7 +2270,7 @@ extension UpdateApplicationInput { extension CancelJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2283,7 +2283,7 @@ extension CancelJobRunOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2297,14 +2297,14 @@ extension CreateApplicationOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2316,7 +2316,7 @@ extension GetApplicationOutput { extension GetDashboardForJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDashboardForJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDashboardForJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2328,7 +2328,7 @@ extension GetDashboardForJobRunOutput { extension GetJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2340,7 +2340,7 @@ extension GetJobRunOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2353,7 +2353,7 @@ extension ListApplicationsOutput { extension ListJobRunAttemptsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobRunAttemptsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobRunAttemptsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2366,7 +2366,7 @@ extension ListJobRunAttemptsOutput { extension ListJobRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2379,7 +2379,7 @@ extension ListJobRunsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2391,14 +2391,14 @@ extension ListTagsForResourceOutput { extension StartApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartApplicationOutput { return StartApplicationOutput() } } extension StartJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2412,28 +2412,28 @@ extension StartJobRunOutput { extension StopApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopApplicationOutput { return StopApplicationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2445,7 +2445,7 @@ extension UpdateApplicationOutput { enum CancelJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2461,7 +2461,7 @@ enum CancelJobRunOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2478,7 +2478,7 @@ enum CreateApplicationOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2494,7 +2494,7 @@ enum DeleteApplicationOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2510,7 +2510,7 @@ enum GetApplicationOutputError { enum GetDashboardForJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2526,7 +2526,7 @@ enum GetDashboardForJobRunOutputError { enum GetJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2542,7 +2542,7 @@ enum GetJobRunOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2557,7 +2557,7 @@ enum ListApplicationsOutputError { enum ListJobRunAttemptsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2573,7 +2573,7 @@ enum ListJobRunAttemptsOutputError { enum ListJobRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2588,7 +2588,7 @@ enum ListJobRunsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2604,7 +2604,7 @@ enum ListTagsForResourceOutputError { enum StartApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2621,7 +2621,7 @@ enum StartApplicationOutputError { enum StartJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2638,7 +2638,7 @@ enum StartJobRunOutputError { enum StopApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2654,7 +2654,7 @@ enum StopApplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2670,7 +2670,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2686,7 +2686,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/Models.swift b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/Models.swift index e1180f43014..e11cc44a423 100644 --- a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/Models.swift +++ b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -182,7 +182,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -206,7 +206,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -264,7 +264,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -388,7 +388,7 @@ extension EMRcontainersClientTypes { extension EMRcontainersClientTypes.SparkSubmitJobDriver: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SparkSubmitJobDriver(entryPointArguments: \(Swift.String(describing: entryPointArguments)), entryPoint: \"CONTENT_REDACTED\", sparkSubmitParameters: \"CONTENT_REDACTED\")"} + "SparkSubmitJobDriver(entryPoint: \"CONTENT_REDACTED\", entryPointArguments: \"CONTENT_REDACTED\", sparkSubmitParameters: \"CONTENT_REDACTED\")"} } extension EMRcontainersClientTypes { @@ -700,7 +700,7 @@ public struct EKSRequestThrottledException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1326,7 +1326,7 @@ public struct RequestThrottledException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2736,7 +2736,7 @@ extension TagResourceInput { extension CancelJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2749,7 +2749,7 @@ extension CancelJobRunOutput { extension CreateJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2764,7 +2764,7 @@ extension CreateJobTemplateOutput { extension CreateManagedEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateManagedEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateManagedEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2779,7 +2779,7 @@ extension CreateManagedEndpointOutput { extension CreateSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2793,7 +2793,7 @@ extension CreateSecurityConfigurationOutput { extension CreateVirtualClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVirtualClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVirtualClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2807,7 +2807,7 @@ extension CreateVirtualClusterOutput { extension DeleteJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2819,7 +2819,7 @@ extension DeleteJobTemplateOutput { extension DeleteManagedEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteManagedEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteManagedEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2832,7 +2832,7 @@ extension DeleteManagedEndpointOutput { extension DeleteVirtualClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2844,7 +2844,7 @@ extension DeleteVirtualClusterOutput { extension DescribeJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2856,7 +2856,7 @@ extension DescribeJobRunOutput { extension DescribeJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2868,7 +2868,7 @@ extension DescribeJobTemplateOutput { extension DescribeManagedEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeManagedEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeManagedEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2880,7 +2880,7 @@ extension DescribeManagedEndpointOutput { extension DescribeSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2892,7 +2892,7 @@ extension DescribeSecurityConfigurationOutput { extension DescribeVirtualClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVirtualClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVirtualClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2904,7 +2904,7 @@ extension DescribeVirtualClusterOutput { extension GetManagedEndpointSessionCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetManagedEndpointSessionCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetManagedEndpointSessionCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2918,7 +2918,7 @@ extension GetManagedEndpointSessionCredentialsOutput { extension ListJobRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2931,7 +2931,7 @@ extension ListJobRunsOutput { extension ListJobTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2944,7 +2944,7 @@ extension ListJobTemplatesOutput { extension ListManagedEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2957,7 +2957,7 @@ extension ListManagedEndpointsOutput { extension ListSecurityConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2970,7 +2970,7 @@ extension ListSecurityConfigurationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2982,7 +2982,7 @@ extension ListTagsForResourceOutput { extension ListVirtualClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2995,7 +2995,7 @@ extension ListVirtualClustersOutput { extension StartJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3010,21 +3010,21 @@ extension StartJobRunOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CancelJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3039,7 +3039,7 @@ enum CancelJobRunOutputError { enum CreateJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3055,7 +3055,7 @@ enum CreateJobTemplateOutputError { enum CreateManagedEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3071,7 +3071,7 @@ enum CreateManagedEndpointOutputError { enum CreateSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3086,7 +3086,7 @@ enum CreateSecurityConfigurationOutputError { enum CreateVirtualClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3103,7 +3103,7 @@ enum CreateVirtualClusterOutputError { enum DeleteJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3118,7 +3118,7 @@ enum DeleteJobTemplateOutputError { enum DeleteManagedEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3133,7 +3133,7 @@ enum DeleteManagedEndpointOutputError { enum DeleteVirtualClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3148,7 +3148,7 @@ enum DeleteVirtualClusterOutputError { enum DescribeJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3164,7 +3164,7 @@ enum DescribeJobRunOutputError { enum DescribeJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3180,7 +3180,7 @@ enum DescribeJobTemplateOutputError { enum DescribeManagedEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3196,7 +3196,7 @@ enum DescribeManagedEndpointOutputError { enum DescribeSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3212,7 +3212,7 @@ enum DescribeSecurityConfigurationOutputError { enum DescribeVirtualClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3228,7 +3228,7 @@ enum DescribeVirtualClusterOutputError { enum GetManagedEndpointSessionCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3245,7 +3245,7 @@ enum GetManagedEndpointSessionCredentialsOutputError { enum ListJobRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3260,7 +3260,7 @@ enum ListJobRunsOutputError { enum ListJobTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3275,7 +3275,7 @@ enum ListJobTemplatesOutputError { enum ListManagedEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3290,7 +3290,7 @@ enum ListManagedEndpointsOutputError { enum ListSecurityConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3305,7 +3305,7 @@ enum ListSecurityConfigurationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3321,7 +3321,7 @@ enum ListTagsForResourceOutputError { enum ListVirtualClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3336,7 +3336,7 @@ enum ListVirtualClustersOutputError { enum StartJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3352,7 +3352,7 @@ enum StartJobRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3368,7 +3368,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/Models.swift b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/Models.swift index 099cc5058a8..51cf3f606e2 100644 --- a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/Models.swift +++ b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -50,7 +50,7 @@ public struct CacheClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -74,7 +74,7 @@ public struct CacheParameterGroupNotFoundFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -98,7 +98,7 @@ public struct CacheSecurityGroupNotFoundFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -122,7 +122,7 @@ public struct CacheSubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -146,7 +146,7 @@ public struct InvalidARNFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -170,7 +170,7 @@ public struct InvalidReplicationGroupStateFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -194,7 +194,7 @@ public struct InvalidServerlessCacheSnapshotStateFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -218,7 +218,7 @@ public struct InvalidServerlessCacheStateFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -242,7 +242,7 @@ public struct ReplicationGroupNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -266,7 +266,7 @@ public struct ReservedCacheNodeNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -290,7 +290,7 @@ public struct ServerlessCacheNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -314,7 +314,7 @@ public struct ServerlessCacheSnapshotNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -338,7 +338,7 @@ public struct SnapshotNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -362,7 +362,7 @@ public struct TagQuotaPerResourceExceeded: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -386,7 +386,7 @@ public struct UserGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -410,7 +410,7 @@ public struct UserNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -486,7 +486,7 @@ public struct AuthorizationAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -510,7 +510,7 @@ public struct InvalidCacheSecurityGroupStateFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -535,7 +535,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -560,7 +560,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -688,7 +688,7 @@ public struct ServiceUpdateNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -896,7 +896,7 @@ public struct ReplicationGroupNotUnderMigrationFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1811,7 +1811,7 @@ public struct ServerlessCacheSnapshotAlreadyExistsFault: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1835,7 +1835,7 @@ public struct ServerlessCacheSnapshotQuotaExceededFault: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1859,7 +1859,7 @@ public struct ServiceLinkedRoleNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1993,7 +1993,7 @@ public struct InvalidSnapshotStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2017,7 +2017,7 @@ public struct SnapshotAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2041,7 +2041,7 @@ public struct SnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2368,7 +2368,7 @@ public struct CacheClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2392,7 +2392,7 @@ public struct ClusterQuotaForCustomerExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2416,7 +2416,7 @@ public struct InsufficientCacheClusterCapacityFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2440,7 +2440,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2464,7 +2464,7 @@ public struct NodeQuotaForClusterExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2488,7 +2488,7 @@ public struct NodeQuotaForCustomerExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3209,7 +3209,7 @@ public struct CacheParameterGroupAlreadyExistsFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3233,7 +3233,7 @@ public struct CacheParameterGroupQuotaExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3257,7 +3257,7 @@ public struct InvalidCacheParameterGroupStateFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3353,7 +3353,7 @@ public struct CacheSecurityGroupAlreadyExistsFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3377,7 +3377,7 @@ public struct CacheSecurityGroupQuotaExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3442,7 +3442,7 @@ public struct CacheSubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3466,7 +3466,7 @@ public struct CacheSubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3490,7 +3490,7 @@ public struct CacheSubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3514,7 +3514,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3538,7 +3538,7 @@ public struct SubnetNotAllowedFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3706,7 +3706,7 @@ public struct GlobalReplicationGroupAlreadyExistsFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3884,7 +3884,7 @@ public struct GlobalReplicationGroupNotFoundFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3908,7 +3908,7 @@ public struct InvalidCacheClusterStateFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3932,7 +3932,7 @@ public struct InvalidGlobalReplicationGroupStateFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3956,7 +3956,7 @@ public struct InvalidUserGroupStateFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3980,7 +3980,7 @@ public struct NodeGroupsPerReplicationGroupQuotaExceededFault: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4004,7 +4004,7 @@ public struct ReplicationGroupAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4282,7 +4282,7 @@ public struct InvalidCredentialsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4306,7 +4306,7 @@ public struct ServerlessCacheAlreadyExistsFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4330,7 +4330,7 @@ public struct ServerlessCacheQuotaForCustomerExceededFault: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4644,7 +4644,7 @@ public struct SnapshotFeatureNotSupportedFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4710,7 +4710,7 @@ public struct DuplicateUserNameFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4734,7 +4734,7 @@ public struct UserAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4758,7 +4758,7 @@ public struct UserQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4974,7 +4974,7 @@ public struct DefaultUserRequired: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4998,7 +4998,7 @@ public struct UserGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5022,7 +5022,7 @@ public struct UserGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5181,7 +5181,7 @@ public struct NoOperationFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5357,7 +5357,7 @@ public struct CacheSubnetGroupInUse: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5541,7 +5541,7 @@ public struct DefaultUserAssociatedToUserGroupFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5565,7 +5565,7 @@ public struct InvalidUserStateFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6635,7 +6635,7 @@ public struct ReservedCacheNodesOfferingNotFoundFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7928,7 +7928,7 @@ public struct InvalidKMSKeyFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8330,7 +8330,7 @@ public struct SubnetInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8861,7 +8861,7 @@ public struct ReservedCacheNodeAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8885,7 +8885,7 @@ public struct ReservedCacheNodeQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9010,7 +9010,7 @@ public struct TagNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9105,7 +9105,7 @@ public struct AuthorizationNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9171,7 +9171,7 @@ public struct ReplicationGroupAlreadyUnderMigrationFault: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9245,7 +9245,7 @@ public struct APICallRateForCustomerExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9269,7 +9269,7 @@ public struct NodeGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9293,7 +9293,7 @@ public struct TestFailoverNotAvailableFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10951,7 +10951,7 @@ extension TestMigrationInput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddTagsToResourceResult"] @@ -10963,7 +10963,7 @@ extension AddTagsToResourceOutput { extension AuthorizeCacheSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeCacheSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeCacheSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AuthorizeCacheSecurityGroupIngressResult"] @@ -10975,7 +10975,7 @@ extension AuthorizeCacheSecurityGroupIngressOutput { extension BatchApplyUpdateActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchApplyUpdateActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchApplyUpdateActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchApplyUpdateActionResult"] @@ -10988,7 +10988,7 @@ extension BatchApplyUpdateActionOutput { extension BatchStopUpdateActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchStopUpdateActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchStopUpdateActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchStopUpdateActionResult"] @@ -11001,7 +11001,7 @@ extension BatchStopUpdateActionOutput { extension CompleteMigrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteMigrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteMigrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CompleteMigrationResult"] @@ -11013,7 +11013,7 @@ extension CompleteMigrationOutput { extension CopyServerlessCacheSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyServerlessCacheSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyServerlessCacheSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyServerlessCacheSnapshotResult"] @@ -11025,7 +11025,7 @@ extension CopyServerlessCacheSnapshotOutput { extension CopySnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopySnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopySnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopySnapshotResult"] @@ -11037,7 +11037,7 @@ extension CopySnapshotOutput { extension CreateCacheClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCacheClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCacheClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateCacheClusterResult"] @@ -11049,7 +11049,7 @@ extension CreateCacheClusterOutput { extension CreateCacheParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCacheParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCacheParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateCacheParameterGroupResult"] @@ -11061,7 +11061,7 @@ extension CreateCacheParameterGroupOutput { extension CreateCacheSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCacheSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCacheSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateCacheSecurityGroupResult"] @@ -11073,7 +11073,7 @@ extension CreateCacheSecurityGroupOutput { extension CreateCacheSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCacheSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCacheSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateCacheSubnetGroupResult"] @@ -11085,7 +11085,7 @@ extension CreateCacheSubnetGroupOutput { extension CreateGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateGlobalReplicationGroupResult"] @@ -11097,7 +11097,7 @@ extension CreateGlobalReplicationGroupOutput { extension CreateReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateReplicationGroupResult"] @@ -11109,7 +11109,7 @@ extension CreateReplicationGroupOutput { extension CreateServerlessCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServerlessCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServerlessCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateServerlessCacheResult"] @@ -11121,7 +11121,7 @@ extension CreateServerlessCacheOutput { extension CreateServerlessCacheSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServerlessCacheSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServerlessCacheSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateServerlessCacheSnapshotResult"] @@ -11133,7 +11133,7 @@ extension CreateServerlessCacheSnapshotOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateSnapshotResult"] @@ -11145,7 +11145,7 @@ extension CreateSnapshotOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateUserResult"] @@ -11165,7 +11165,7 @@ extension CreateUserOutput { extension CreateUserGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateUserGroupResult"] @@ -11185,7 +11185,7 @@ extension CreateUserGroupOutput { extension DecreaseNodeGroupsInGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecreaseNodeGroupsInGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecreaseNodeGroupsInGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DecreaseNodeGroupsInGlobalReplicationGroupResult"] @@ -11197,7 +11197,7 @@ extension DecreaseNodeGroupsInGlobalReplicationGroupOutput { extension DecreaseReplicaCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecreaseReplicaCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecreaseReplicaCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DecreaseReplicaCountResult"] @@ -11209,7 +11209,7 @@ extension DecreaseReplicaCountOutput { extension DeleteCacheClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCacheClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCacheClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteCacheClusterResult"] @@ -11221,28 +11221,28 @@ extension DeleteCacheClusterOutput { extension DeleteCacheParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCacheParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCacheParameterGroupOutput { return DeleteCacheParameterGroupOutput() } } extension DeleteCacheSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCacheSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCacheSecurityGroupOutput { return DeleteCacheSecurityGroupOutput() } } extension DeleteCacheSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCacheSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCacheSubnetGroupOutput { return DeleteCacheSubnetGroupOutput() } } extension DeleteGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteGlobalReplicationGroupResult"] @@ -11254,7 +11254,7 @@ extension DeleteGlobalReplicationGroupOutput { extension DeleteReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteReplicationGroupResult"] @@ -11266,7 +11266,7 @@ extension DeleteReplicationGroupOutput { extension DeleteServerlessCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServerlessCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServerlessCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteServerlessCacheResult"] @@ -11278,7 +11278,7 @@ extension DeleteServerlessCacheOutput { extension DeleteServerlessCacheSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServerlessCacheSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServerlessCacheSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteServerlessCacheSnapshotResult"] @@ -11290,7 +11290,7 @@ extension DeleteServerlessCacheSnapshotOutput { extension DeleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteSnapshotResult"] @@ -11302,7 +11302,7 @@ extension DeleteSnapshotOutput { extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteUserResult"] @@ -11322,7 +11322,7 @@ extension DeleteUserOutput { extension DeleteUserGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteUserGroupResult"] @@ -11342,7 +11342,7 @@ extension DeleteUserGroupOutput { extension DescribeCacheClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCacheClustersResult"] @@ -11355,7 +11355,7 @@ extension DescribeCacheClustersOutput { extension DescribeCacheEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCacheEngineVersionsResult"] @@ -11368,7 +11368,7 @@ extension DescribeCacheEngineVersionsOutput { extension DescribeCacheParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCacheParameterGroupsResult"] @@ -11381,7 +11381,7 @@ extension DescribeCacheParameterGroupsOutput { extension DescribeCacheParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCacheParametersResult"] @@ -11395,7 +11395,7 @@ extension DescribeCacheParametersOutput { extension DescribeCacheSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCacheSecurityGroupsResult"] @@ -11408,7 +11408,7 @@ extension DescribeCacheSecurityGroupsOutput { extension DescribeCacheSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCacheSubnetGroupsResult"] @@ -11421,7 +11421,7 @@ extension DescribeCacheSubnetGroupsOutput { extension DescribeEngineDefaultParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineDefaultParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineDefaultParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEngineDefaultParametersResult"] @@ -11433,7 +11433,7 @@ extension DescribeEngineDefaultParametersOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventsResult"] @@ -11446,7 +11446,7 @@ extension DescribeEventsOutput { extension DescribeGlobalReplicationGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalReplicationGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalReplicationGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeGlobalReplicationGroupsResult"] @@ -11459,7 +11459,7 @@ extension DescribeGlobalReplicationGroupsOutput { extension DescribeReplicationGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReplicationGroupsResult"] @@ -11472,7 +11472,7 @@ extension DescribeReplicationGroupsOutput { extension DescribeReservedCacheNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedCacheNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedCacheNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedCacheNodesResult"] @@ -11485,7 +11485,7 @@ extension DescribeReservedCacheNodesOutput { extension DescribeReservedCacheNodesOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedCacheNodesOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedCacheNodesOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedCacheNodesOfferingsResult"] @@ -11498,7 +11498,7 @@ extension DescribeReservedCacheNodesOfferingsOutput { extension DescribeServerlessCachesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServerlessCachesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServerlessCachesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeServerlessCachesResult"] @@ -11511,7 +11511,7 @@ extension DescribeServerlessCachesOutput { extension DescribeServerlessCacheSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServerlessCacheSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServerlessCacheSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeServerlessCacheSnapshotsResult"] @@ -11524,7 +11524,7 @@ extension DescribeServerlessCacheSnapshotsOutput { extension DescribeServiceUpdatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceUpdatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceUpdatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeServiceUpdatesResult"] @@ -11537,7 +11537,7 @@ extension DescribeServiceUpdatesOutput { extension DescribeSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeSnapshotsResult"] @@ -11550,7 +11550,7 @@ extension DescribeSnapshotsOutput { extension DescribeUpdateActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUpdateActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUpdateActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeUpdateActionsResult"] @@ -11563,7 +11563,7 @@ extension DescribeUpdateActionsOutput { extension DescribeUserGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeUserGroupsResult"] @@ -11576,7 +11576,7 @@ extension DescribeUserGroupsOutput { extension DescribeUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeUsersResult"] @@ -11589,7 +11589,7 @@ extension DescribeUsersOutput { extension DisassociateGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisassociateGlobalReplicationGroupResult"] @@ -11601,7 +11601,7 @@ extension DisassociateGlobalReplicationGroupOutput { extension ExportServerlessCacheSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportServerlessCacheSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportServerlessCacheSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ExportServerlessCacheSnapshotResult"] @@ -11613,7 +11613,7 @@ extension ExportServerlessCacheSnapshotOutput { extension FailoverGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverGlobalReplicationGroupResult"] @@ -11625,7 +11625,7 @@ extension FailoverGlobalReplicationGroupOutput { extension IncreaseNodeGroupsInGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IncreaseNodeGroupsInGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IncreaseNodeGroupsInGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["IncreaseNodeGroupsInGlobalReplicationGroupResult"] @@ -11637,7 +11637,7 @@ extension IncreaseNodeGroupsInGlobalReplicationGroupOutput { extension IncreaseReplicaCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IncreaseReplicaCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IncreaseReplicaCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["IncreaseReplicaCountResult"] @@ -11649,7 +11649,7 @@ extension IncreaseReplicaCountOutput { extension ListAllowedNodeTypeModificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAllowedNodeTypeModificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAllowedNodeTypeModificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAllowedNodeTypeModificationsResult"] @@ -11662,7 +11662,7 @@ extension ListAllowedNodeTypeModificationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -11674,7 +11674,7 @@ extension ListTagsForResourceOutput { extension ModifyCacheClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCacheClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCacheClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCacheClusterResult"] @@ -11686,7 +11686,7 @@ extension ModifyCacheClusterOutput { extension ModifyCacheParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCacheParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCacheParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCacheParameterGroupResult"] @@ -11698,7 +11698,7 @@ extension ModifyCacheParameterGroupOutput { extension ModifyCacheSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCacheSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCacheSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCacheSubnetGroupResult"] @@ -11710,7 +11710,7 @@ extension ModifyCacheSubnetGroupOutput { extension ModifyGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyGlobalReplicationGroupResult"] @@ -11722,7 +11722,7 @@ extension ModifyGlobalReplicationGroupOutput { extension ModifyReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyReplicationGroupResult"] @@ -11734,7 +11734,7 @@ extension ModifyReplicationGroupOutput { extension ModifyReplicationGroupShardConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyReplicationGroupShardConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyReplicationGroupShardConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyReplicationGroupShardConfigurationResult"] @@ -11746,7 +11746,7 @@ extension ModifyReplicationGroupShardConfigurationOutput { extension ModifyServerlessCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyServerlessCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyServerlessCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyServerlessCacheResult"] @@ -11758,7 +11758,7 @@ extension ModifyServerlessCacheOutput { extension ModifyUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyUserResult"] @@ -11778,7 +11778,7 @@ extension ModifyUserOutput { extension ModifyUserGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyUserGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyUserGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyUserGroupResult"] @@ -11798,7 +11798,7 @@ extension ModifyUserGroupOutput { extension PurchaseReservedCacheNodesOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedCacheNodesOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedCacheNodesOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PurchaseReservedCacheNodesOfferingResult"] @@ -11810,7 +11810,7 @@ extension PurchaseReservedCacheNodesOfferingOutput { extension RebalanceSlotsInGlobalReplicationGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebalanceSlotsInGlobalReplicationGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebalanceSlotsInGlobalReplicationGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebalanceSlotsInGlobalReplicationGroupResult"] @@ -11822,7 +11822,7 @@ extension RebalanceSlotsInGlobalReplicationGroupOutput { extension RebootCacheClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootCacheClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootCacheClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootCacheClusterResult"] @@ -11834,7 +11834,7 @@ extension RebootCacheClusterOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveTagsFromResourceResult"] @@ -11846,7 +11846,7 @@ extension RemoveTagsFromResourceOutput { extension ResetCacheParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetCacheParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetCacheParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetCacheParameterGroupResult"] @@ -11858,7 +11858,7 @@ extension ResetCacheParameterGroupOutput { extension RevokeCacheSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeCacheSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeCacheSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RevokeCacheSecurityGroupIngressResult"] @@ -11870,7 +11870,7 @@ extension RevokeCacheSecurityGroupIngressOutput { extension StartMigrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMigrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMigrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartMigrationResult"] @@ -11882,7 +11882,7 @@ extension StartMigrationOutput { extension TestFailoverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestFailoverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestFailoverOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["TestFailoverResult"] @@ -11894,7 +11894,7 @@ extension TestFailoverOutput { extension TestMigrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestMigrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestMigrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["TestMigrationResult"] @@ -11906,7 +11906,7 @@ extension TestMigrationOutput { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11935,7 +11935,7 @@ enum AddTagsToResourceOutputError { enum AuthorizeCacheSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11953,7 +11953,7 @@ enum AuthorizeCacheSecurityGroupIngressOutputError { enum BatchApplyUpdateActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11968,7 +11968,7 @@ enum BatchApplyUpdateActionOutputError { enum BatchStopUpdateActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11983,7 +11983,7 @@ enum BatchStopUpdateActionOutputError { enum CompleteMigrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11999,7 +11999,7 @@ enum CompleteMigrationOutputError { enum CopyServerlessCacheSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12020,7 +12020,7 @@ enum CopyServerlessCacheSnapshotOutputError { enum CopySnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12040,7 +12040,7 @@ enum CopySnapshotOutputError { enum CreateCacheClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12067,7 +12067,7 @@ enum CreateCacheClusterOutputError { enum CreateCacheParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12086,7 +12086,7 @@ enum CreateCacheParameterGroupOutputError { enum CreateCacheSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12104,7 +12104,7 @@ enum CreateCacheSecurityGroupOutputError { enum CreateCacheSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12123,7 +12123,7 @@ enum CreateCacheSubnetGroupOutputError { enum CreateGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12141,7 +12141,7 @@ enum CreateGlobalReplicationGroupOutputError { enum CreateReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12173,7 +12173,7 @@ enum CreateReplicationGroupOutputError { enum CreateServerlessCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12197,7 +12197,7 @@ enum CreateServerlessCacheOutputError { enum CreateServerlessCacheSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12218,7 +12218,7 @@ enum CreateServerlessCacheSnapshotOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12241,7 +12241,7 @@ enum CreateSnapshotOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12261,7 +12261,7 @@ enum CreateUserOutputError { enum CreateUserGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12282,7 +12282,7 @@ enum CreateUserGroupOutputError { enum DecreaseNodeGroupsInGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12299,7 +12299,7 @@ enum DecreaseNodeGroupsInGlobalReplicationGroupOutputError { enum DecreaseReplicaCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12324,7 +12324,7 @@ enum DecreaseReplicaCountOutputError { enum DeleteCacheClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12344,7 +12344,7 @@ enum DeleteCacheClusterOutputError { enum DeleteCacheParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12361,7 +12361,7 @@ enum DeleteCacheParameterGroupOutputError { enum DeleteCacheSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12378,7 +12378,7 @@ enum DeleteCacheSecurityGroupOutputError { enum DeleteCacheSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12393,7 +12393,7 @@ enum DeleteCacheSubnetGroupOutputError { enum DeleteGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12409,7 +12409,7 @@ enum DeleteGlobalReplicationGroupOutputError { enum DeleteReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12429,7 +12429,7 @@ enum DeleteReplicationGroupOutputError { enum DeleteServerlessCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12449,7 +12449,7 @@ enum DeleteServerlessCacheOutputError { enum DeleteServerlessCacheSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12466,7 +12466,7 @@ enum DeleteServerlessCacheSnapshotOutputError { enum DeleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12483,7 +12483,7 @@ enum DeleteSnapshotOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12501,7 +12501,7 @@ enum DeleteUserOutputError { enum DeleteUserGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12518,7 +12518,7 @@ enum DeleteUserGroupOutputError { enum DescribeCacheClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12534,7 +12534,7 @@ enum DescribeCacheClustersOutputError { enum DescribeCacheEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12547,7 +12547,7 @@ enum DescribeCacheEngineVersionsOutputError { enum DescribeCacheParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12563,7 +12563,7 @@ enum DescribeCacheParameterGroupsOutputError { enum DescribeCacheParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12579,7 +12579,7 @@ enum DescribeCacheParametersOutputError { enum DescribeCacheSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12595,7 +12595,7 @@ enum DescribeCacheSecurityGroupsOutputError { enum DescribeCacheSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12609,7 +12609,7 @@ enum DescribeCacheSubnetGroupsOutputError { enum DescribeEngineDefaultParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12624,7 +12624,7 @@ enum DescribeEngineDefaultParametersOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12639,7 +12639,7 @@ enum DescribeEventsOutputError { enum DescribeGlobalReplicationGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12655,7 +12655,7 @@ enum DescribeGlobalReplicationGroupsOutputError { enum DescribeReplicationGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12671,7 +12671,7 @@ enum DescribeReplicationGroupsOutputError { enum DescribeReservedCacheNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12687,7 +12687,7 @@ enum DescribeReservedCacheNodesOutputError { enum DescribeReservedCacheNodesOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12703,7 +12703,7 @@ enum DescribeReservedCacheNodesOfferingsOutputError { enum DescribeServerlessCachesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12719,7 +12719,7 @@ enum DescribeServerlessCachesOutputError { enum DescribeServerlessCacheSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12736,7 +12736,7 @@ enum DescribeServerlessCacheSnapshotsOutputError { enum DescribeServiceUpdatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12752,7 +12752,7 @@ enum DescribeServiceUpdatesOutputError { enum DescribeSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12769,7 +12769,7 @@ enum DescribeSnapshotsOutputError { enum DescribeUpdateActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12784,7 +12784,7 @@ enum DescribeUpdateActionsOutputError { enum DescribeUserGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12800,7 +12800,7 @@ enum DescribeUserGroupsOutputError { enum DescribeUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12816,7 +12816,7 @@ enum DescribeUsersOutputError { enum DisassociateGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12833,7 +12833,7 @@ enum DisassociateGlobalReplicationGroupOutputError { enum ExportServerlessCacheSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12850,7 +12850,7 @@ enum ExportServerlessCacheSnapshotOutputError { enum FailoverGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12867,7 +12867,7 @@ enum FailoverGlobalReplicationGroupOutputError { enum IncreaseNodeGroupsInGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12883,7 +12883,7 @@ enum IncreaseNodeGroupsInGlobalReplicationGroupOutputError { enum IncreaseReplicaCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12908,7 +12908,7 @@ enum IncreaseReplicaCountOutputError { enum ListAllowedNodeTypeModificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12925,7 +12925,7 @@ enum ListAllowedNodeTypeModificationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12953,7 +12953,7 @@ enum ListTagsForResourceOutputError { enum ModifyCacheClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12977,7 +12977,7 @@ enum ModifyCacheClusterOutputError { enum ModifyCacheParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12995,7 +12995,7 @@ enum ModifyCacheParameterGroupOutputError { enum ModifyCacheSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13013,7 +13013,7 @@ enum ModifyCacheSubnetGroupOutputError { enum ModifyGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13029,7 +13029,7 @@ enum ModifyGlobalReplicationGroupOutputError { enum ModifyReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13058,7 +13058,7 @@ enum ModifyReplicationGroupOutputError { enum ModifyReplicationGroupShardConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13081,7 +13081,7 @@ enum ModifyReplicationGroupShardConfigurationOutputError { enum ModifyServerlessCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13102,7 +13102,7 @@ enum ModifyServerlessCacheOutputError { enum ModifyUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13120,7 +13120,7 @@ enum ModifyUserOutputError { enum ModifyUserGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13141,7 +13141,7 @@ enum ModifyUserGroupOutputError { enum PurchaseReservedCacheNodesOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13160,7 +13160,7 @@ enum PurchaseReservedCacheNodesOfferingOutputError { enum RebalanceSlotsInGlobalReplicationGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13176,7 +13176,7 @@ enum RebalanceSlotsInGlobalReplicationGroupOutputError { enum RebootCacheClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13191,7 +13191,7 @@ enum RebootCacheClusterOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13220,7 +13220,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetCacheParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13238,7 +13238,7 @@ enum ResetCacheParameterGroupOutputError { enum RevokeCacheSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13256,7 +13256,7 @@ enum RevokeCacheSecurityGroupIngressOutputError { enum StartMigrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13273,7 +13273,7 @@ enum StartMigrationOutputError { enum TestFailoverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13295,7 +13295,7 @@ enum TestFailoverOutputError { enum TestMigrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/Models.swift b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/Models.swift index 7245c2d67fd..93ee33143da 100644 --- a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/Models.swift +++ b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -110,7 +110,7 @@ public struct InsufficientPrivilegesException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -702,7 +702,7 @@ public struct ElasticBeanstalkServiceException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -727,7 +727,7 @@ public struct ManagedActionInvalidStateException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -889,7 +889,7 @@ public struct TooManyEnvironmentsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1313,7 +1313,7 @@ public struct TooManyApplicationsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1397,7 +1397,7 @@ public struct CodeBuildNotInServiceRegionException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1428,7 +1428,7 @@ public struct S3LocationNotInServiceRegionException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1453,7 +1453,7 @@ public struct TooManyApplicationVersionsException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1610,7 +1610,7 @@ public struct TooManyBucketsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1635,7 +1635,7 @@ public struct TooManyConfigurationTemplatesException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2048,7 +2048,7 @@ public struct TooManyPlatformsException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2239,7 +2239,7 @@ public struct S3SubscriptionRequiredException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2277,7 +2277,7 @@ public struct OperationInProgressException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2320,7 +2320,7 @@ public struct SourceBundleDeletionException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2406,7 +2406,7 @@ public struct PlatformVersionStillReferencedException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2858,7 +2858,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4285,7 +4285,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4310,7 +4310,7 @@ public struct ResourceTypeNotSupportedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5043,7 +5043,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6105,14 +6105,14 @@ extension ValidateConfigurationSettingsInput { extension AbortEnvironmentUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AbortEnvironmentUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AbortEnvironmentUpdateOutput { return AbortEnvironmentUpdateOutput() } } extension ApplyEnvironmentManagedActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplyEnvironmentManagedActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyEnvironmentManagedActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ApplyEnvironmentManagedActionResult"] @@ -6127,14 +6127,14 @@ extension ApplyEnvironmentManagedActionOutput { extension AssociateEnvironmentOperationsRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateEnvironmentOperationsRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateEnvironmentOperationsRoleOutput { return AssociateEnvironmentOperationsRoleOutput() } } extension CheckDNSAvailabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckDNSAvailabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckDNSAvailabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CheckDNSAvailabilityResult"] @@ -6147,7 +6147,7 @@ extension CheckDNSAvailabilityOutput { extension ComposeEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ComposeEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ComposeEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ComposeEnvironmentsResult"] @@ -6160,7 +6160,7 @@ extension ComposeEnvironmentsOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateApplicationResult"] @@ -6172,7 +6172,7 @@ extension CreateApplicationOutput { extension CreateApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateApplicationVersionResult"] @@ -6184,7 +6184,7 @@ extension CreateApplicationVersionOutput { extension CreateConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateConfigurationTemplateResult"] @@ -6205,7 +6205,7 @@ extension CreateConfigurationTemplateOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateEnvironmentResult"] @@ -6237,7 +6237,7 @@ extension CreateEnvironmentOutput { extension CreatePlatformVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlatformVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlatformVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreatePlatformVersionResult"] @@ -6250,7 +6250,7 @@ extension CreatePlatformVersionOutput { extension CreateStorageLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStorageLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStorageLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateStorageLocationResult"] @@ -6262,35 +6262,35 @@ extension CreateStorageLocationOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationVersionOutput { return DeleteApplicationVersionOutput() } } extension DeleteConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationTemplateOutput { return DeleteConfigurationTemplateOutput() } } extension DeleteEnvironmentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentConfigurationOutput { return DeleteEnvironmentConfigurationOutput() } } extension DeletePlatformVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlatformVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlatformVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeletePlatformVersionResult"] @@ -6302,7 +6302,7 @@ extension DeletePlatformVersionOutput { extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountAttributesResult"] @@ -6314,7 +6314,7 @@ extension DescribeAccountAttributesOutput { extension DescribeApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeApplicationsResult"] @@ -6326,7 +6326,7 @@ extension DescribeApplicationsOutput { extension DescribeApplicationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeApplicationVersionsResult"] @@ -6339,7 +6339,7 @@ extension DescribeApplicationVersionsOutput { extension DescribeConfigurationOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeConfigurationOptionsResult"] @@ -6353,7 +6353,7 @@ extension DescribeConfigurationOptionsOutput { extension DescribeConfigurationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeConfigurationSettingsResult"] @@ -6365,7 +6365,7 @@ extension DescribeConfigurationSettingsOutput { extension DescribeEnvironmentHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEnvironmentHealthResult"] @@ -6384,7 +6384,7 @@ extension DescribeEnvironmentHealthOutput { extension DescribeEnvironmentManagedActionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentManagedActionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentManagedActionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEnvironmentManagedActionHistoryResult"] @@ -6397,7 +6397,7 @@ extension DescribeEnvironmentManagedActionHistoryOutput { extension DescribeEnvironmentManagedActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentManagedActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentManagedActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEnvironmentManagedActionsResult"] @@ -6409,7 +6409,7 @@ extension DescribeEnvironmentManagedActionsOutput { extension DescribeEnvironmentResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEnvironmentResourcesResult"] @@ -6421,7 +6421,7 @@ extension DescribeEnvironmentResourcesOutput { extension DescribeEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEnvironmentsResult"] @@ -6434,7 +6434,7 @@ extension DescribeEnvironmentsOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventsResult"] @@ -6447,7 +6447,7 @@ extension DescribeEventsOutput { extension DescribeInstancesHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancesHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancesHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeInstancesHealthResult"] @@ -6461,7 +6461,7 @@ extension DescribeInstancesHealthOutput { extension DescribePlatformVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePlatformVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePlatformVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePlatformVersionResult"] @@ -6473,14 +6473,14 @@ extension DescribePlatformVersionOutput { extension DisassociateEnvironmentOperationsRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateEnvironmentOperationsRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateEnvironmentOperationsRoleOutput { return DisassociateEnvironmentOperationsRoleOutput() } } extension ListAvailableSolutionStacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableSolutionStacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableSolutionStacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAvailableSolutionStacksResult"] @@ -6493,7 +6493,7 @@ extension ListAvailableSolutionStacksOutput { extension ListPlatformBranchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlatformBranchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlatformBranchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPlatformBranchesResult"] @@ -6506,7 +6506,7 @@ extension ListPlatformBranchesOutput { extension ListPlatformVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlatformVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlatformVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPlatformVersionsResult"] @@ -6519,7 +6519,7 @@ extension ListPlatformVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -6532,28 +6532,28 @@ extension ListTagsForResourceOutput { extension RebuildEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebuildEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebuildEnvironmentOutput { return RebuildEnvironmentOutput() } } extension RequestEnvironmentInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestEnvironmentInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestEnvironmentInfoOutput { return RequestEnvironmentInfoOutput() } } extension RestartAppServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestartAppServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestartAppServerOutput { return RestartAppServerOutput() } } extension RetrieveEnvironmentInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveEnvironmentInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveEnvironmentInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RetrieveEnvironmentInfoResult"] @@ -6565,14 +6565,14 @@ extension RetrieveEnvironmentInfoOutput { extension SwapEnvironmentCNAMEsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SwapEnvironmentCNAMEsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SwapEnvironmentCNAMEsOutput { return SwapEnvironmentCNAMEsOutput() } } extension TerminateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["TerminateEnvironmentResult"] @@ -6604,7 +6604,7 @@ extension TerminateEnvironmentOutput { extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateApplicationResult"] @@ -6616,7 +6616,7 @@ extension UpdateApplicationOutput { extension UpdateApplicationResourceLifecycleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationResourceLifecycleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationResourceLifecycleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateApplicationResourceLifecycleResult"] @@ -6629,7 +6629,7 @@ extension UpdateApplicationResourceLifecycleOutput { extension UpdateApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateApplicationVersionResult"] @@ -6641,7 +6641,7 @@ extension UpdateApplicationVersionOutput { extension UpdateConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateConfigurationTemplateResult"] @@ -6662,7 +6662,7 @@ extension UpdateConfigurationTemplateOutput { extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateEnvironmentResult"] @@ -6694,14 +6694,14 @@ extension UpdateEnvironmentOutput { extension UpdateTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTagsForResourceOutput { return UpdateTagsForResourceOutput() } } extension ValidateConfigurationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateConfigurationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateConfigurationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ValidateConfigurationSettingsResult"] @@ -6713,7 +6713,7 @@ extension ValidateConfigurationSettingsOutput { enum AbortEnvironmentUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6727,7 +6727,7 @@ enum AbortEnvironmentUpdateOutputError { enum ApplyEnvironmentManagedActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6742,7 @@ enum ApplyEnvironmentManagedActionOutputError { enum AssociateEnvironmentOperationsRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6756,7 +6756,7 @@ enum AssociateEnvironmentOperationsRoleOutputError { enum CheckDNSAvailabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6769,7 +6769,7 @@ enum CheckDNSAvailabilityOutputError { enum ComposeEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6784,7 +6784,7 @@ enum ComposeEnvironmentsOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6798,7 +6798,7 @@ enum CreateApplicationOutputError { enum CreateApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6816,7 +6816,7 @@ enum CreateApplicationVersionOutputError { enum CreateConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6832,7 +6832,7 @@ enum CreateConfigurationTemplateOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6847,7 +6847,7 @@ enum CreateEnvironmentOutputError { enum CreatePlatformVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6863,7 +6863,7 @@ enum CreatePlatformVersionOutputError { enum CreateStorageLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6879,7 +6879,7 @@ enum CreateStorageLocationOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6893,7 +6893,7 @@ enum DeleteApplicationOutputError { enum DeleteApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6910,7 +6910,7 @@ enum DeleteApplicationVersionOutputError { enum DeleteConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6924,7 +6924,7 @@ enum DeleteConfigurationTemplateOutputError { enum DeleteEnvironmentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6937,7 +6937,7 @@ enum DeleteEnvironmentConfigurationOutputError { enum DeletePlatformVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6954,7 +6954,7 @@ enum DeletePlatformVersionOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6968,7 +6968,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6981,7 +6981,7 @@ enum DescribeApplicationsOutputError { enum DescribeApplicationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6994,7 +6994,7 @@ enum DescribeApplicationVersionsOutputError { enum DescribeConfigurationOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7008,7 +7008,7 @@ enum DescribeConfigurationOptionsOutputError { enum DescribeConfigurationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7022,7 +7022,7 @@ enum DescribeConfigurationSettingsOutputError { enum DescribeEnvironmentHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7037,7 +7037,7 @@ enum DescribeEnvironmentHealthOutputError { enum DescribeEnvironmentManagedActionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7051,7 +7051,7 @@ enum DescribeEnvironmentManagedActionHistoryOutputError { enum DescribeEnvironmentManagedActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7065,7 +7065,7 @@ enum DescribeEnvironmentManagedActionsOutputError { enum DescribeEnvironmentResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7079,7 +7079,7 @@ enum DescribeEnvironmentResourcesOutputError { enum DescribeEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7092,7 +7092,7 @@ enum DescribeEnvironmentsOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7105,7 +7105,7 @@ enum DescribeEventsOutputError { enum DescribeInstancesHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7120,7 +7120,7 @@ enum DescribeInstancesHealthOutputError { enum DescribePlatformVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7135,7 +7135,7 @@ enum DescribePlatformVersionOutputError { enum DisassociateEnvironmentOperationsRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7149,7 +7149,7 @@ enum DisassociateEnvironmentOperationsRoleOutputError { enum ListAvailableSolutionStacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7162,7 +7162,7 @@ enum ListAvailableSolutionStacksOutputError { enum ListPlatformBranchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7175,7 +7175,7 @@ enum ListPlatformBranchesOutputError { enum ListPlatformVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7190,7 +7190,7 @@ enum ListPlatformVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7206,7 +7206,7 @@ enum ListTagsForResourceOutputError { enum RebuildEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7220,7 +7220,7 @@ enum RebuildEnvironmentOutputError { enum RequestEnvironmentInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7233,7 +7233,7 @@ enum RequestEnvironmentInfoOutputError { enum RestartAppServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7246,7 +7246,7 @@ enum RestartAppServerOutputError { enum RetrieveEnvironmentInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7259,7 +7259,7 @@ enum RetrieveEnvironmentInfoOutputError { enum SwapEnvironmentCNAMEsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7272,7 +7272,7 @@ enum SwapEnvironmentCNAMEsOutputError { enum TerminateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7286,7 +7286,7 @@ enum TerminateEnvironmentOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7299,7 +7299,7 @@ enum UpdateApplicationOutputError { enum UpdateApplicationResourceLifecycleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7313,7 +7313,7 @@ enum UpdateApplicationResourceLifecycleOutputError { enum UpdateApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7326,7 +7326,7 @@ enum UpdateApplicationVersionOutputError { enum UpdateConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7341,7 +7341,7 @@ enum UpdateConfigurationTemplateOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7356,7 +7356,7 @@ enum UpdateEnvironmentOutputError { enum UpdateTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7374,7 +7374,7 @@ enum UpdateTagsForResourceOutputError { enum ValidateConfigurationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/Models.swift b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/Models.swift index 7b1d09e6e89..5cedaf425ad 100644 --- a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/Models.swift +++ b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -150,7 +150,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -532,7 +532,7 @@ extension TagResourceInput { extension DescribeAcceleratorOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAcceleratorOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAcceleratorOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -544,7 +544,7 @@ extension DescribeAcceleratorOfferingsOutput { extension DescribeAcceleratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAcceleratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAcceleratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -557,7 +557,7 @@ extension DescribeAcceleratorsOutput { extension DescribeAcceleratorTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAcceleratorTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAcceleratorTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -569,7 +569,7 @@ extension DescribeAcceleratorTypesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -581,21 +581,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum DescribeAcceleratorOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -611,7 +611,7 @@ enum DescribeAcceleratorOfferingsOutputError { enum DescribeAcceleratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -627,7 +627,7 @@ enum DescribeAcceleratorsOutputError { enum DescribeAcceleratorTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -641,7 +641,7 @@ enum DescribeAcceleratorTypesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -657,7 +657,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -673,7 +673,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/Models.swift b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/Models.swift index cd3fa653457..2038727d4cc 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/Models.swift +++ b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -62,7 +62,7 @@ public struct AccessPointNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -108,7 +108,7 @@ public struct DuplicateTagKeysException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -132,7 +132,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct InvalidConfigurationRequestException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -246,7 +246,7 @@ public struct InvalidSecurityGroupException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -302,7 +302,7 @@ public struct InvalidSubnetException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -326,7 +326,7 @@ public struct SubnetNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -402,7 +402,7 @@ public struct CertificateNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -568,7 +568,7 @@ public struct DuplicatePolicyNameException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -592,7 +592,7 @@ public struct TooManyPoliciesException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -675,7 +675,7 @@ public struct DuplicateAccessPointNameException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -699,7 +699,7 @@ public struct InvalidSchemeException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -723,7 +723,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -747,7 +747,7 @@ public struct TooManyAccessPointsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -771,7 +771,7 @@ public struct UnsupportedProtocolException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -847,7 +847,7 @@ public struct DuplicateListenerException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -896,7 +896,7 @@ public struct PolicyTypeNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1061,7 +1061,7 @@ public struct DependencyThrottleException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1101,7 +1101,7 @@ public struct InvalidEndPointException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1458,7 +1458,7 @@ public struct LoadBalancerAttributeNotFoundException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1541,7 +1541,7 @@ public struct PolicyNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2019,7 +2019,7 @@ public struct ListenerNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2654,14 +2654,14 @@ extension SetLoadBalancerPoliciesOfListenerInput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension ApplySecurityGroupsToLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplySecurityGroupsToLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplySecurityGroupsToLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ApplySecurityGroupsToLoadBalancerResult"] @@ -2673,7 +2673,7 @@ extension ApplySecurityGroupsToLoadBalancerOutput { extension AttachLoadBalancerToSubnetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachLoadBalancerToSubnetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachLoadBalancerToSubnetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AttachLoadBalancerToSubnetsResult"] @@ -2685,7 +2685,7 @@ extension AttachLoadBalancerToSubnetsOutput { extension ConfigureHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureHealthCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ConfigureHealthCheckResult"] @@ -2697,21 +2697,21 @@ extension ConfigureHealthCheckOutput { extension CreateAppCookieStickinessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppCookieStickinessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppCookieStickinessPolicyOutput { return CreateAppCookieStickinessPolicyOutput() } } extension CreateLBCookieStickinessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLBCookieStickinessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLBCookieStickinessPolicyOutput { return CreateLBCookieStickinessPolicyOutput() } } extension CreateLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateLoadBalancerResult"] @@ -2723,42 +2723,42 @@ extension CreateLoadBalancerOutput { extension CreateLoadBalancerListenersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoadBalancerListenersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoadBalancerListenersOutput { return CreateLoadBalancerListenersOutput() } } extension CreateLoadBalancerPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoadBalancerPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoadBalancerPolicyOutput { return CreateLoadBalancerPolicyOutput() } } extension DeleteLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoadBalancerOutput { return DeleteLoadBalancerOutput() } } extension DeleteLoadBalancerListenersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoadBalancerListenersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoadBalancerListenersOutput { return DeleteLoadBalancerListenersOutput() } } extension DeleteLoadBalancerPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoadBalancerPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoadBalancerPolicyOutput { return DeleteLoadBalancerPolicyOutput() } } extension DeregisterInstancesFromLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterInstancesFromLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterInstancesFromLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeregisterInstancesFromLoadBalancerResult"] @@ -2770,7 +2770,7 @@ extension DeregisterInstancesFromLoadBalancerOutput { extension DescribeAccountLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountLimitsResult"] @@ -2783,7 +2783,7 @@ extension DescribeAccountLimitsOutput { extension DescribeInstanceHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeInstanceHealthResult"] @@ -2795,7 +2795,7 @@ extension DescribeInstanceHealthOutput { extension DescribeLoadBalancerAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancerAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancerAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancerAttributesResult"] @@ -2807,7 +2807,7 @@ extension DescribeLoadBalancerAttributesOutput { extension DescribeLoadBalancerPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancerPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancerPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancerPoliciesResult"] @@ -2819,7 +2819,7 @@ extension DescribeLoadBalancerPoliciesOutput { extension DescribeLoadBalancerPolicyTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancerPolicyTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancerPolicyTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancerPolicyTypesResult"] @@ -2831,7 +2831,7 @@ extension DescribeLoadBalancerPolicyTypesOutput { extension DescribeLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancersResult"] @@ -2844,7 +2844,7 @@ extension DescribeLoadBalancersOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTagsResult"] @@ -2856,7 +2856,7 @@ extension DescribeTagsOutput { extension DetachLoadBalancerFromSubnetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachLoadBalancerFromSubnetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachLoadBalancerFromSubnetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DetachLoadBalancerFromSubnetsResult"] @@ -2868,7 +2868,7 @@ extension DetachLoadBalancerFromSubnetsOutput { extension DisableAvailabilityZonesForLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAvailabilityZonesForLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAvailabilityZonesForLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisableAvailabilityZonesForLoadBalancerResult"] @@ -2880,7 +2880,7 @@ extension DisableAvailabilityZonesForLoadBalancerOutput { extension EnableAvailabilityZonesForLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAvailabilityZonesForLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAvailabilityZonesForLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EnableAvailabilityZonesForLoadBalancerResult"] @@ -2892,7 +2892,7 @@ extension EnableAvailabilityZonesForLoadBalancerOutput { extension ModifyLoadBalancerAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyLoadBalancerAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyLoadBalancerAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyLoadBalancerAttributesResult"] @@ -2905,7 +2905,7 @@ extension ModifyLoadBalancerAttributesOutput { extension RegisterInstancesWithLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterInstancesWithLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterInstancesWithLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RegisterInstancesWithLoadBalancerResult"] @@ -2917,35 +2917,35 @@ extension RegisterInstancesWithLoadBalancerOutput { extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension SetLoadBalancerListenerSSLCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLoadBalancerListenerSSLCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLoadBalancerListenerSSLCertificateOutput { return SetLoadBalancerListenerSSLCertificateOutput() } } extension SetLoadBalancerPoliciesForBackendServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLoadBalancerPoliciesForBackendServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLoadBalancerPoliciesForBackendServerOutput { return SetLoadBalancerPoliciesForBackendServerOutput() } } extension SetLoadBalancerPoliciesOfListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLoadBalancerPoliciesOfListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLoadBalancerPoliciesOfListenerOutput { return SetLoadBalancerPoliciesOfListenerOutput() } } enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2961,7 +2961,7 @@ enum AddTagsOutputError { enum ApplySecurityGroupsToLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2977,7 +2977,7 @@ enum ApplySecurityGroupsToLoadBalancerOutputError { enum AttachLoadBalancerToSubnetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2994,7 +2994,7 @@ enum AttachLoadBalancerToSubnetsOutputError { enum ConfigureHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3008,7 +3008,7 @@ enum ConfigureHealthCheckOutputError { enum CreateAppCookieStickinessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3025,7 +3025,7 @@ enum CreateAppCookieStickinessPolicyOutputError { enum CreateLBCookieStickinessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3042,7 +3042,7 @@ enum CreateLBCookieStickinessPolicyOutputError { enum CreateLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3067,7 +3067,7 @@ enum CreateLoadBalancerOutputError { enum CreateLoadBalancerListenersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3085,7 +3085,7 @@ enum CreateLoadBalancerListenersOutputError { enum CreateLoadBalancerPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3103,7 +3103,7 @@ enum CreateLoadBalancerPolicyOutputError { enum DeleteLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3116,7 +3116,7 @@ enum DeleteLoadBalancerOutputError { enum DeleteLoadBalancerListenersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3130,7 +3130,7 @@ enum DeleteLoadBalancerListenersOutputError { enum DeleteLoadBalancerPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3145,7 +3145,7 @@ enum DeleteLoadBalancerPolicyOutputError { enum DeregisterInstancesFromLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3160,7 +3160,7 @@ enum DeregisterInstancesFromLoadBalancerOutputError { enum DescribeAccountLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3173,7 +3173,7 @@ enum DescribeAccountLimitsOutputError { enum DescribeInstanceHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3188,7 +3188,7 @@ enum DescribeInstanceHealthOutputError { enum DescribeLoadBalancerAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3203,7 +3203,7 @@ enum DescribeLoadBalancerAttributesOutputError { enum DescribeLoadBalancerPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3218,7 +3218,7 @@ enum DescribeLoadBalancerPoliciesOutputError { enum DescribeLoadBalancerPolicyTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3232,7 +3232,7 @@ enum DescribeLoadBalancerPolicyTypesOutputError { enum DescribeLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3247,7 +3247,7 @@ enum DescribeLoadBalancersOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3261,7 +3261,7 @@ enum DescribeTagsOutputError { enum DetachLoadBalancerFromSubnetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3276,7 +3276,7 @@ enum DetachLoadBalancerFromSubnetsOutputError { enum DisableAvailabilityZonesForLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3291,7 +3291,7 @@ enum DisableAvailabilityZonesForLoadBalancerOutputError { enum EnableAvailabilityZonesForLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3305,7 +3305,7 @@ enum EnableAvailabilityZonesForLoadBalancerOutputError { enum ModifyLoadBalancerAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3321,7 +3321,7 @@ enum ModifyLoadBalancerAttributesOutputError { enum RegisterInstancesWithLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3336,7 +3336,7 @@ enum RegisterInstancesWithLoadBalancerOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3350,7 +3350,7 @@ enum RemoveTagsOutputError { enum SetLoadBalancerListenerSSLCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3368,7 +3368,7 @@ enum SetLoadBalancerListenerSSLCertificateOutputError { enum SetLoadBalancerPoliciesForBackendServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3384,7 +3384,7 @@ enum SetLoadBalancerPoliciesForBackendServerOutputError { enum SetLoadBalancerPoliciesOfListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift index 553aeb89ddb..b7f65858c47 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -469,7 +469,7 @@ public struct CertificateNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -493,7 +493,7 @@ public struct ListenerNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -517,7 +517,7 @@ public struct TooManyCertificatesException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -591,7 +591,7 @@ public struct DuplicateTagKeysException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -615,7 +615,7 @@ public struct LoadBalancerNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -639,7 +639,7 @@ public struct RuleNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -663,7 +663,7 @@ public struct TargetGroupNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -687,7 +687,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -711,7 +711,7 @@ public struct TrustStoreNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -779,7 +779,7 @@ public struct InvalidRevocationContentException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -803,7 +803,7 @@ public struct RevocationContentNotFoundException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -827,7 +827,7 @@ public struct TooManyTrustStoreRevocationEntriesException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -962,7 +962,7 @@ public struct AllocationIdNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -986,7 +986,7 @@ public struct ALPNPolicyNotSupportedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1144,7 +1144,7 @@ public struct AvailabilityZoneNotSupportedException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1168,7 +1168,7 @@ public struct CaCertificatesBundleNotFoundException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1212,7 +1212,7 @@ public struct DuplicateListenerException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1236,7 +1236,7 @@ public struct IncompatibleProtocolsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1260,7 +1260,7 @@ public struct InvalidConfigurationRequestException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1284,7 +1284,7 @@ public struct InvalidLoadBalancerActionException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1308,7 +1308,7 @@ public struct SSLPolicyNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1332,7 +1332,7 @@ public struct TargetGroupAssociationLimitException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1356,7 +1356,7 @@ public struct TooManyActionsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1380,7 +1380,7 @@ public struct TooManyListenersException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1404,7 +1404,7 @@ public struct TooManyRegistrationsForTargetIdException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1428,7 +1428,7 @@ public struct TooManyTargetsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1452,7 +1452,7 @@ public struct TooManyUniqueTargetGroupsPerLoadBalancerException: ClientRuntime.M public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1476,7 +1476,7 @@ public struct TrustStoreNotReadyException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1500,7 +1500,7 @@ public struct UnsupportedProtocolException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1711,7 +1711,7 @@ public struct DuplicateLoadBalancerNameException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1735,7 +1735,7 @@ public struct InvalidSchemeException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1759,7 +1759,7 @@ public struct InvalidSecurityGroupException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1783,7 +1783,7 @@ public struct InvalidSubnetException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1807,7 +1807,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1831,7 +1831,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1855,7 +1855,7 @@ public struct SubnetNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1879,7 +1879,7 @@ public struct TooManyLoadBalancersException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2204,7 +2204,7 @@ public struct PriorityInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2228,7 +2228,7 @@ public struct TooManyRulesException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2252,7 +2252,7 @@ public struct TooManyTargetGroupsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2549,7 +2549,7 @@ public struct DuplicateTargetGroupNameException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2838,7 +2838,7 @@ public struct DuplicateTrustStoreNameException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2862,7 +2862,7 @@ public struct InvalidCaCertificatesBundleException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2886,7 +2886,7 @@ public struct TooManyTrustStoresException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3086,7 +3086,7 @@ public struct TrustStoreInUseException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3128,7 +3128,7 @@ public struct InvalidTargetException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3824,7 +3824,7 @@ public struct HealthUnavailableException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4184,7 +4184,7 @@ public struct RevocationIdNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5723,7 +5723,7 @@ extension SetSubnetsInput { extension AddListenerCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddListenerCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddListenerCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddListenerCertificatesResult"] @@ -5735,14 +5735,14 @@ extension AddListenerCertificatesOutput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension AddTrustStoreRevocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTrustStoreRevocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTrustStoreRevocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddTrustStoreRevocationsResult"] @@ -5754,7 +5754,7 @@ extension AddTrustStoreRevocationsOutput { extension CreateListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateListenerResult"] @@ -5766,7 +5766,7 @@ extension CreateListenerOutput { extension CreateLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateLoadBalancerResult"] @@ -5778,7 +5778,7 @@ extension CreateLoadBalancerOutput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateRuleResult"] @@ -5790,7 +5790,7 @@ extension CreateRuleOutput { extension CreateTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateTargetGroupResult"] @@ -5802,7 +5802,7 @@ extension CreateTargetGroupOutput { extension CreateTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrustStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateTrustStoreResult"] @@ -5814,49 +5814,49 @@ extension CreateTrustStoreOutput { extension DeleteListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteListenerOutput { return DeleteListenerOutput() } } extension DeleteLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoadBalancerOutput { return DeleteLoadBalancerOutput() } } extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension DeleteTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTargetGroupOutput { return DeleteTargetGroupOutput() } } extension DeleteTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrustStoreOutput { return DeleteTrustStoreOutput() } } extension DeregisterTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTargetsOutput { return DeregisterTargetsOutput() } } extension DescribeAccountLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountLimitsResult"] @@ -5869,7 +5869,7 @@ extension DescribeAccountLimitsOutput { extension DescribeListenerCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeListenerCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeListenerCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeListenerCertificatesResult"] @@ -5882,7 +5882,7 @@ extension DescribeListenerCertificatesOutput { extension DescribeListenersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeListenersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeListenersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeListenersResult"] @@ -5895,7 +5895,7 @@ extension DescribeListenersOutput { extension DescribeLoadBalancerAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancerAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancerAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancerAttributesResult"] @@ -5907,7 +5907,7 @@ extension DescribeLoadBalancerAttributesOutput { extension DescribeLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBalancersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoadBalancersResult"] @@ -5920,7 +5920,7 @@ extension DescribeLoadBalancersOutput { extension DescribeRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeRulesResult"] @@ -5933,7 +5933,7 @@ extension DescribeRulesOutput { extension DescribeSSLPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSSLPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSSLPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeSSLPoliciesResult"] @@ -5946,7 +5946,7 @@ extension DescribeSSLPoliciesOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTagsResult"] @@ -5958,7 +5958,7 @@ extension DescribeTagsOutput { extension DescribeTargetGroupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTargetGroupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTargetGroupAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTargetGroupAttributesResult"] @@ -5970,7 +5970,7 @@ extension DescribeTargetGroupAttributesOutput { extension DescribeTargetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTargetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTargetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTargetGroupsResult"] @@ -5983,7 +5983,7 @@ extension DescribeTargetGroupsOutput { extension DescribeTargetHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTargetHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTargetHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTargetHealthResult"] @@ -5995,7 +5995,7 @@ extension DescribeTargetHealthOutput { extension DescribeTrustStoreAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustStoreAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustStoreAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTrustStoreAssociationsResult"] @@ -6008,7 +6008,7 @@ extension DescribeTrustStoreAssociationsOutput { extension DescribeTrustStoreRevocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustStoreRevocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustStoreRevocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTrustStoreRevocationsResult"] @@ -6021,7 +6021,7 @@ extension DescribeTrustStoreRevocationsOutput { extension DescribeTrustStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTrustStoresResult"] @@ -6034,7 +6034,7 @@ extension DescribeTrustStoresOutput { extension GetTrustStoreCaCertificatesBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrustStoreCaCertificatesBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrustStoreCaCertificatesBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetTrustStoreCaCertificatesBundleResult"] @@ -6046,7 +6046,7 @@ extension GetTrustStoreCaCertificatesBundleOutput { extension GetTrustStoreRevocationContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrustStoreRevocationContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrustStoreRevocationContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetTrustStoreRevocationContentResult"] @@ -6058,7 +6058,7 @@ extension GetTrustStoreRevocationContentOutput { extension ModifyListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyListenerResult"] @@ -6070,7 +6070,7 @@ extension ModifyListenerOutput { extension ModifyLoadBalancerAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyLoadBalancerAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyLoadBalancerAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyLoadBalancerAttributesResult"] @@ -6082,7 +6082,7 @@ extension ModifyLoadBalancerAttributesOutput { extension ModifyRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyRuleResult"] @@ -6094,7 +6094,7 @@ extension ModifyRuleOutput { extension ModifyTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyTargetGroupResult"] @@ -6106,7 +6106,7 @@ extension ModifyTargetGroupOutput { extension ModifyTargetGroupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTargetGroupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTargetGroupAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyTargetGroupAttributesResult"] @@ -6118,7 +6118,7 @@ extension ModifyTargetGroupAttributesOutput { extension ModifyTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTrustStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyTrustStoreResult"] @@ -6130,35 +6130,35 @@ extension ModifyTrustStoreOutput { extension RegisterTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTargetsOutput { return RegisterTargetsOutput() } } extension RemoveListenerCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveListenerCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveListenerCertificatesOutput { return RemoveListenerCertificatesOutput() } } extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension RemoveTrustStoreRevocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTrustStoreRevocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTrustStoreRevocationsOutput { return RemoveTrustStoreRevocationsOutput() } } extension SetIpAddressTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIpAddressTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIpAddressTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SetIpAddressTypeResult"] @@ -6170,7 +6170,7 @@ extension SetIpAddressTypeOutput { extension SetRulePrioritiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetRulePrioritiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetRulePrioritiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SetRulePrioritiesResult"] @@ -6182,7 +6182,7 @@ extension SetRulePrioritiesOutput { extension SetSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SetSecurityGroupsResult"] @@ -6195,7 +6195,7 @@ extension SetSecurityGroupsOutput { extension SetSubnetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetSubnetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetSubnetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SetSubnetsResult"] @@ -6208,7 +6208,7 @@ extension SetSubnetsOutput { enum AddListenerCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6224,7 +6224,7 @@ enum AddListenerCertificatesOutputError { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6244,7 +6244,7 @@ enum AddTagsOutputError { enum AddTrustStoreRevocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6261,7 +6261,7 @@ enum AddTrustStoreRevocationsOutputError { enum CreateListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6294,7 +6294,7 @@ enum CreateListenerOutputError { enum CreateLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6320,7 +6320,7 @@ enum CreateLoadBalancerOutputError { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6348,7 +6348,7 @@ enum CreateRuleOutputError { enum CreateTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6365,7 +6365,7 @@ enum CreateTargetGroupOutputError { enum CreateTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6384,7 +6384,7 @@ enum CreateTrustStoreOutputError { enum DeleteListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6399,7 +6399,7 @@ enum DeleteListenerOutputError { enum DeleteLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6415,7 +6415,7 @@ enum DeleteLoadBalancerOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6430,7 +6430,7 @@ enum DeleteRuleOutputError { enum DeleteTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6444,7 +6444,7 @@ enum DeleteTargetGroupOutputError { enum DeleteTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6459,7 +6459,7 @@ enum DeleteTrustStoreOutputError { enum DeregisterTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6474,7 +6474,7 @@ enum DeregisterTargetsOutputError { enum DescribeAccountLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6487,7 +6487,7 @@ enum DescribeAccountLimitsOutputError { enum DescribeListenerCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6501,7 +6501,7 @@ enum DescribeListenerCertificatesOutputError { enum DescribeListenersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6517,7 +6517,7 @@ enum DescribeListenersOutputError { enum DescribeLoadBalancerAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6531,7 +6531,7 @@ enum DescribeLoadBalancerAttributesOutputError { enum DescribeLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6545,7 +6545,7 @@ enum DescribeLoadBalancersOutputError { enum DescribeRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6561,7 +6561,7 @@ enum DescribeRulesOutputError { enum DescribeSSLPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6575,7 +6575,7 @@ enum DescribeSSLPoliciesOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6593,7 +6593,7 @@ enum DescribeTagsOutputError { enum DescribeTargetGroupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6607,7 +6607,7 @@ enum DescribeTargetGroupAttributesOutputError { enum DescribeTargetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6622,7 +6622,7 @@ enum DescribeTargetGroupsOutputError { enum DescribeTargetHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6638,7 +6638,7 @@ enum DescribeTargetHealthOutputError { enum DescribeTrustStoreAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6652,7 +6652,7 @@ enum DescribeTrustStoreAssociationsOutputError { enum DescribeTrustStoreRevocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6667,7 +6667,7 @@ enum DescribeTrustStoreRevocationsOutputError { enum DescribeTrustStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6681,7 +6681,7 @@ enum DescribeTrustStoresOutputError { enum GetTrustStoreCaCertificatesBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6695,7 +6695,7 @@ enum GetTrustStoreCaCertificatesBundleOutputError { enum GetTrustStoreRevocationContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6710,7 +6710,7 @@ enum GetTrustStoreRevocationContentOutputError { enum ModifyListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6742,7 @@ enum ModifyListenerOutputError { enum ModifyLoadBalancerAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6757,7 +6757,7 @@ enum ModifyLoadBalancerAttributesOutputError { enum ModifyRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6781,7 +6781,7 @@ enum ModifyRuleOutputError { enum ModifyTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6796,7 +6796,7 @@ enum ModifyTargetGroupOutputError { enum ModifyTargetGroupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6811,7 +6811,7 @@ enum ModifyTargetGroupAttributesOutputError { enum ModifyTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6827,7 +6827,7 @@ enum ModifyTrustStoreOutputError { enum RegisterTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6844,7 +6844,7 @@ enum RegisterTargetsOutputError { enum RemoveListenerCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6859,7 +6859,7 @@ enum RemoveListenerCertificatesOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6878,7 +6878,7 @@ enum RemoveTagsOutputError { enum RemoveTrustStoreRevocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6893,7 +6893,7 @@ enum RemoveTrustStoreRevocationsOutputError { enum SetIpAddressTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6909,7 +6909,7 @@ enum SetIpAddressTypeOutputError { enum SetRulePrioritiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6925,7 +6925,7 @@ enum SetRulePrioritiesOutputError { enum SetSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6941,7 +6941,7 @@ enum SetSecurityGroupsOutputError { enum SetSubnetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/Models.swift b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/Models.swift index 5fc4f9a3989..61d31bc67cd 100644 --- a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/Models.swift +++ b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -306,7 +306,7 @@ public struct IncompatibleVersionException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -331,7 +331,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -356,7 +356,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -381,7 +381,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -406,7 +406,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -619,7 +619,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3036,14 +3036,14 @@ extension UpdatePipelineStatusInput { extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { return CancelJobOutput() } } extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3055,7 +3055,7 @@ extension CreateJobOutput { extension CreatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3068,7 +3068,7 @@ extension CreatePipelineOutput { extension CreatePresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePresetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3081,21 +3081,21 @@ extension CreatePresetOutput { extension DeletePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipelineOutput { return DeletePipelineOutput() } } extension DeletePresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePresetOutput { return DeletePresetOutput() } } extension ListJobsByPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsByPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsByPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3108,7 +3108,7 @@ extension ListJobsByPipelineOutput { extension ListJobsByStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsByStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsByStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3121,7 +3121,7 @@ extension ListJobsByStatusOutput { extension ListPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3134,7 +3134,7 @@ extension ListPipelinesOutput { extension ListPresetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPresetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPresetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3147,7 +3147,7 @@ extension ListPresetsOutput { extension ReadJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReadJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReadJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3159,7 +3159,7 @@ extension ReadJobOutput { extension ReadPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReadPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReadPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3172,7 +3172,7 @@ extension ReadPipelineOutput { extension ReadPresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReadPresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReadPresetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3184,7 +3184,7 @@ extension ReadPresetOutput { extension TestRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3197,7 +3197,7 @@ extension TestRoleOutput { extension UpdatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3210,7 +3210,7 @@ extension UpdatePipelineOutput { extension UpdatePipelineNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3222,7 +3222,7 @@ extension UpdatePipelineNotificationsOutput { extension UpdatePipelineStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3234,7 +3234,7 @@ extension UpdatePipelineStatusOutput { enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3253,7 +3253,7 @@ enum CancelJobOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3272,7 +3272,7 @@ enum CreateJobOutputError { enum CreatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3291,7 +3291,7 @@ enum CreatePipelineOutputError { enum CreatePresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3309,7 +3309,7 @@ enum CreatePresetOutputError { enum DeletePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3328,7 +3328,7 @@ enum DeletePipelineOutputError { enum DeletePresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3346,7 +3346,7 @@ enum DeletePresetOutputError { enum ListJobsByPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3364,7 +3364,7 @@ enum ListJobsByPipelineOutputError { enum ListJobsByStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3382,7 +3382,7 @@ enum ListJobsByStatusOutputError { enum ListPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3399,7 +3399,7 @@ enum ListPipelinesOutputError { enum ListPresetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3416,7 +3416,7 @@ enum ListPresetsOutputError { enum ReadJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3434,7 +3434,7 @@ enum ReadJobOutputError { enum ReadPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3452,7 +3452,7 @@ enum ReadPipelineOutputError { enum ReadPresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3470,7 +3470,7 @@ enum ReadPresetOutputError { enum TestRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3488,7 +3488,7 @@ enum TestRoleOutputError { enum UpdatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3507,7 +3507,7 @@ enum UpdatePipelineOutputError { enum UpdatePipelineNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3526,7 +3526,7 @@ enum UpdatePipelineNotificationsOutputError { enum UpdatePipelineStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/Models.swift b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/Models.swift index a7e312629ce..63899326079 100644 --- a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/Models.swift +++ b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -57,7 +57,7 @@ public struct DisabledOperationException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -282,7 +282,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -438,7 +438,7 @@ public struct BaseException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -463,7 +463,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -488,7 +488,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -797,7 +797,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1241,7 +1241,7 @@ public struct InvalidTypeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1266,7 +1266,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4200,7 +4200,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6759,7 +6759,7 @@ extension UpgradeElasticsearchDomainInput { extension AcceptInboundCrossClusterSearchConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInboundCrossClusterSearchConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInboundCrossClusterSearchConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6771,14 +6771,14 @@ extension AcceptInboundCrossClusterSearchConnectionOutput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension AssociatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6790,7 +6790,7 @@ extension AssociatePackageOutput { extension AuthorizeVpcEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeVpcEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeVpcEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6802,7 +6802,7 @@ extension AuthorizeVpcEndpointAccessOutput { extension CancelDomainConfigChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDomainConfigChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDomainConfigChangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6816,7 +6816,7 @@ extension CancelDomainConfigChangeOutput { extension CancelElasticsearchServiceSoftwareUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelElasticsearchServiceSoftwareUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelElasticsearchServiceSoftwareUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6828,7 +6828,7 @@ extension CancelElasticsearchServiceSoftwareUpdateOutput { extension CreateElasticsearchDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateElasticsearchDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateElasticsearchDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6840,7 +6840,7 @@ extension CreateElasticsearchDomainOutput { extension CreateOutboundCrossClusterSearchConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOutboundCrossClusterSearchConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOutboundCrossClusterSearchConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6856,7 +6856,7 @@ extension CreateOutboundCrossClusterSearchConnectionOutput { extension CreatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6868,7 +6868,7 @@ extension CreatePackageOutput { extension CreateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6880,7 +6880,7 @@ extension CreateVpcEndpointOutput { extension DeleteElasticsearchDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteElasticsearchDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteElasticsearchDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6892,14 +6892,14 @@ extension DeleteElasticsearchDomainOutput { extension DeleteElasticsearchServiceRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteElasticsearchServiceRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteElasticsearchServiceRoleOutput { return DeleteElasticsearchServiceRoleOutput() } } extension DeleteInboundCrossClusterSearchConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInboundCrossClusterSearchConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInboundCrossClusterSearchConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6911,7 +6911,7 @@ extension DeleteInboundCrossClusterSearchConnectionOutput { extension DeleteOutboundCrossClusterSearchConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOutboundCrossClusterSearchConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOutboundCrossClusterSearchConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6923,7 +6923,7 @@ extension DeleteOutboundCrossClusterSearchConnectionOutput { extension DeletePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6935,7 +6935,7 @@ extension DeletePackageOutput { extension DeleteVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6947,7 +6947,7 @@ extension DeleteVpcEndpointOutput { extension DescribeDomainAutoTunesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainAutoTunesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainAutoTunesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6960,7 +6960,7 @@ extension DescribeDomainAutoTunesOutput { extension DescribeDomainChangeProgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainChangeProgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainChangeProgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6972,7 +6972,7 @@ extension DescribeDomainChangeProgressOutput { extension DescribeElasticsearchDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticsearchDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticsearchDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6984,7 +6984,7 @@ extension DescribeElasticsearchDomainOutput { extension DescribeElasticsearchDomainConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticsearchDomainConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticsearchDomainConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6996,7 +6996,7 @@ extension DescribeElasticsearchDomainConfigOutput { extension DescribeElasticsearchDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticsearchDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticsearchDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7008,7 +7008,7 @@ extension DescribeElasticsearchDomainsOutput { extension DescribeElasticsearchInstanceTypeLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticsearchInstanceTypeLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticsearchInstanceTypeLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7020,7 +7020,7 @@ extension DescribeElasticsearchInstanceTypeLimitsOutput { extension DescribeInboundCrossClusterSearchConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInboundCrossClusterSearchConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInboundCrossClusterSearchConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7033,7 +7033,7 @@ extension DescribeInboundCrossClusterSearchConnectionsOutput { extension DescribeOutboundCrossClusterSearchConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOutboundCrossClusterSearchConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOutboundCrossClusterSearchConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7046,7 +7046,7 @@ extension DescribeOutboundCrossClusterSearchConnectionsOutput { extension DescribePackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7059,7 +7059,7 @@ extension DescribePackagesOutput { extension DescribeReservedElasticsearchInstanceOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedElasticsearchInstanceOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedElasticsearchInstanceOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7072,7 +7072,7 @@ extension DescribeReservedElasticsearchInstanceOfferingsOutput { extension DescribeReservedElasticsearchInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedElasticsearchInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedElasticsearchInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7085,7 +7085,7 @@ extension DescribeReservedElasticsearchInstancesOutput { extension DescribeVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7098,7 +7098,7 @@ extension DescribeVpcEndpointsOutput { extension DissociatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DissociatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DissociatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7110,7 +7110,7 @@ extension DissociatePackageOutput { extension GetCompatibleElasticsearchVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCompatibleElasticsearchVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCompatibleElasticsearchVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7122,7 +7122,7 @@ extension GetCompatibleElasticsearchVersionsOutput { extension GetPackageVersionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageVersionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageVersionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7136,7 +7136,7 @@ extension GetPackageVersionHistoryOutput { extension GetUpgradeHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUpgradeHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUpgradeHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7149,7 +7149,7 @@ extension GetUpgradeHistoryOutput { extension GetUpgradeStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUpgradeStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUpgradeStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7163,7 +7163,7 @@ extension GetUpgradeStatusOutput { extension ListDomainNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7175,7 +7175,7 @@ extension ListDomainNamesOutput { extension ListDomainsForPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsForPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsForPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7188,7 +7188,7 @@ extension ListDomainsForPackageOutput { extension ListElasticsearchInstanceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListElasticsearchInstanceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListElasticsearchInstanceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7201,7 +7201,7 @@ extension ListElasticsearchInstanceTypesOutput { extension ListElasticsearchVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListElasticsearchVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListElasticsearchVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7214,7 +7214,7 @@ extension ListElasticsearchVersionsOutput { extension ListPackagesForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagesForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagesForDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7227,7 +7227,7 @@ extension ListPackagesForDomainOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7239,7 +7239,7 @@ extension ListTagsOutput { extension ListVpcEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7252,7 +7252,7 @@ extension ListVpcEndpointAccessOutput { extension ListVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7265,7 +7265,7 @@ extension ListVpcEndpointsOutput { extension ListVpcEndpointsForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointsForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointsForDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7278,7 +7278,7 @@ extension ListVpcEndpointsForDomainOutput { extension PurchaseReservedElasticsearchInstanceOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedElasticsearchInstanceOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedElasticsearchInstanceOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7291,7 +7291,7 @@ extension PurchaseReservedElasticsearchInstanceOfferingOutput { extension RejectInboundCrossClusterSearchConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectInboundCrossClusterSearchConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectInboundCrossClusterSearchConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7303,21 +7303,21 @@ extension RejectInboundCrossClusterSearchConnectionOutput { extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension RevokeVpcEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeVpcEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeVpcEndpointAccessOutput { return RevokeVpcEndpointAccessOutput() } } extension StartElasticsearchServiceSoftwareUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartElasticsearchServiceSoftwareUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartElasticsearchServiceSoftwareUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7329,7 +7329,7 @@ extension StartElasticsearchServiceSoftwareUpdateOutput { extension UpdateElasticsearchDomainConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateElasticsearchDomainConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateElasticsearchDomainConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7342,7 +7342,7 @@ extension UpdateElasticsearchDomainConfigOutput { extension UpdatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7354,7 +7354,7 @@ extension UpdatePackageOutput { extension UpdateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7366,7 +7366,7 @@ extension UpdateVpcEndpointOutput { extension UpgradeElasticsearchDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradeElasticsearchDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradeElasticsearchDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7381,7 +7381,7 @@ extension UpgradeElasticsearchDomainOutput { enum AcceptInboundCrossClusterSearchConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7397,7 +7397,7 @@ enum AcceptInboundCrossClusterSearchConnectionOutputError { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7414,7 +7414,7 @@ enum AddTagsOutputError { enum AssociatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7433,7 +7433,7 @@ enum AssociatePackageOutputError { enum AuthorizeVpcEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7452,7 +7452,7 @@ enum AuthorizeVpcEndpointAccessOutputError { enum CancelDomainConfigChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7470,7 +7470,7 @@ enum CancelDomainConfigChangeOutputError { enum CancelElasticsearchServiceSoftwareUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7487,7 +7487,7 @@ enum CancelElasticsearchServiceSoftwareUpdateOutputError { enum CreateElasticsearchDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7507,7 +7507,7 @@ enum CreateElasticsearchDomainOutputError { enum CreateOutboundCrossClusterSearchConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7524,7 +7524,7 @@ enum CreateOutboundCrossClusterSearchConnectionOutputError { enum CreatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7544,7 +7544,7 @@ enum CreatePackageOutputError { enum CreateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7563,7 +7563,7 @@ enum CreateVpcEndpointOutputError { enum DeleteElasticsearchDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7580,7 +7580,7 @@ enum DeleteElasticsearchDomainOutputError { enum DeleteElasticsearchServiceRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7596,7 +7596,7 @@ enum DeleteElasticsearchServiceRoleOutputError { enum DeleteInboundCrossClusterSearchConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7611,7 +7611,7 @@ enum DeleteInboundCrossClusterSearchConnectionOutputError { enum DeleteOutboundCrossClusterSearchConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7626,7 +7626,7 @@ enum DeleteOutboundCrossClusterSearchConnectionOutputError { enum DeletePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7645,7 +7645,7 @@ enum DeletePackageOutputError { enum DeleteVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7662,7 +7662,7 @@ enum DeleteVpcEndpointOutputError { enum DescribeDomainAutoTunesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7679,7 +7679,7 @@ enum DescribeDomainAutoTunesOutputError { enum DescribeDomainChangeProgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7696,7 +7696,7 @@ enum DescribeDomainChangeProgressOutputError { enum DescribeElasticsearchDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7713,7 +7713,7 @@ enum DescribeElasticsearchDomainOutputError { enum DescribeElasticsearchDomainConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7730,7 +7730,7 @@ enum DescribeElasticsearchDomainConfigOutputError { enum DescribeElasticsearchDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7746,7 +7746,7 @@ enum DescribeElasticsearchDomainsOutputError { enum DescribeElasticsearchInstanceTypeLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7765,7 +7765,7 @@ enum DescribeElasticsearchInstanceTypeLimitsOutputError { enum DescribeInboundCrossClusterSearchConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7780,7 +7780,7 @@ enum DescribeInboundCrossClusterSearchConnectionsOutputError { enum DescribeOutboundCrossClusterSearchConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7795,7 +7795,7 @@ enum DescribeOutboundCrossClusterSearchConnectionsOutputError { enum DescribePackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7813,7 +7813,7 @@ enum DescribePackagesOutputError { enum DescribeReservedElasticsearchInstanceOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7830,7 +7830,7 @@ enum DescribeReservedElasticsearchInstanceOfferingsOutputError { enum DescribeReservedElasticsearchInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7847,7 +7847,7 @@ enum DescribeReservedElasticsearchInstancesOutputError { enum DescribeVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7864,7 +7864,7 @@ enum DescribeVpcEndpointsOutputError { enum DissociatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7883,7 +7883,7 @@ enum DissociatePackageOutputError { enum GetCompatibleElasticsearchVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7901,7 +7901,7 @@ enum GetCompatibleElasticsearchVersionsOutputError { enum GetPackageVersionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7919,7 +7919,7 @@ enum GetPackageVersionHistoryOutputError { enum GetUpgradeHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7937,7 +7937,7 @@ enum GetUpgradeHistoryOutputError { enum GetUpgradeStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7955,7 +7955,7 @@ enum GetUpgradeStatusOutputError { enum ListDomainNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7970,7 +7970,7 @@ enum ListDomainNamesOutputError { enum ListDomainsForPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7988,7 +7988,7 @@ enum ListDomainsForPackageOutputError { enum ListElasticsearchInstanceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8005,7 +8005,7 @@ enum ListElasticsearchInstanceTypesOutputError { enum ListElasticsearchVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8022,7 +8022,7 @@ enum ListElasticsearchVersionsOutputError { enum ListPackagesForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8040,7 +8040,7 @@ enum ListPackagesForDomainOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8057,7 +8057,7 @@ enum ListTagsOutputError { enum ListVpcEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8074,7 +8074,7 @@ enum ListVpcEndpointAccessOutputError { enum ListVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8090,7 +8090,7 @@ enum ListVpcEndpointsOutputError { enum ListVpcEndpointsForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8107,7 +8107,7 @@ enum ListVpcEndpointsForDomainOutputError { enum PurchaseReservedElasticsearchInstanceOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8126,7 +8126,7 @@ enum PurchaseReservedElasticsearchInstanceOfferingOutputError { enum RejectInboundCrossClusterSearchConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8141,7 +8141,7 @@ enum RejectInboundCrossClusterSearchConnectionOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8157,7 +8157,7 @@ enum RemoveTagsOutputError { enum RevokeVpcEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8175,7 +8175,7 @@ enum RevokeVpcEndpointAccessOutputError { enum StartElasticsearchServiceSoftwareUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8192,7 +8192,7 @@ enum StartElasticsearchServiceSoftwareUpdateOutputError { enum UpdateElasticsearchDomainConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8211,7 +8211,7 @@ enum UpdateElasticsearchDomainConfigOutputError { enum UpdatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8230,7 +8230,7 @@ enum UpdatePackageOutputError { enum UpdateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8249,7 +8249,7 @@ enum UpdateVpcEndpointOutputError { enum UpgradeElasticsearchDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/Models.swift b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/Models.swift index 377ab34f29e..1b7ea4c71db 100644 --- a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/Models.swift +++ b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -64,7 +64,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -88,7 +88,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -452,7 +452,7 @@ public struct ExceedsLimitException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3924,7 +3924,7 @@ extension UpdateSchemaMappingInput { extension AddPolicyStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddPolicyStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddPolicyStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3938,7 +3938,7 @@ extension AddPolicyStatementOutput { extension BatchDeleteUniqueIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteUniqueIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteUniqueIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3953,7 +3953,7 @@ extension BatchDeleteUniqueIdOutput { extension CreateIdMappingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIdMappingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdMappingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3971,7 +3971,7 @@ extension CreateIdMappingWorkflowOutput { extension CreateIdNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIdNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3992,7 +3992,7 @@ extension CreateIdNamespaceOutput { extension CreateMatchingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMatchingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMatchingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4011,7 +4011,7 @@ extension CreateMatchingWorkflowOutput { extension CreateSchemaMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSchemaMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSchemaMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4026,7 +4026,7 @@ extension CreateSchemaMappingOutput { extension DeleteIdMappingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdMappingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdMappingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4038,7 +4038,7 @@ extension DeleteIdMappingWorkflowOutput { extension DeleteIdNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4050,7 +4050,7 @@ extension DeleteIdNamespaceOutput { extension DeleteMatchingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMatchingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMatchingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4062,7 +4062,7 @@ extension DeleteMatchingWorkflowOutput { extension DeletePolicyStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4076,7 +4076,7 @@ extension DeletePolicyStatementOutput { extension DeleteSchemaMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4088,7 +4088,7 @@ extension DeleteSchemaMappingOutput { extension GetIdMappingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdMappingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdMappingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4106,7 +4106,7 @@ extension GetIdMappingJobOutput { extension GetIdMappingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdMappingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdMappingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4127,7 +4127,7 @@ extension GetIdMappingWorkflowOutput { extension GetIdNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4148,7 +4148,7 @@ extension GetIdNamespaceOutput { extension GetMatchIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMatchIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMatchIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4161,7 +4161,7 @@ extension GetMatchIdOutput { extension GetMatchingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMatchingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMatchingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4179,7 +4179,7 @@ extension GetMatchingJobOutput { extension GetMatchingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMatchingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMatchingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4201,7 +4201,7 @@ extension GetMatchingWorkflowOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4215,7 +4215,7 @@ extension GetPolicyOutput { extension GetProviderServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProviderServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProviderServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4239,7 +4239,7 @@ extension GetProviderServiceOutput { extension GetSchemaMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4258,7 +4258,7 @@ extension GetSchemaMappingOutput { extension ListIdMappingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdMappingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdMappingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4271,7 +4271,7 @@ extension ListIdMappingJobsOutput { extension ListIdMappingWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdMappingWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdMappingWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4284,7 +4284,7 @@ extension ListIdMappingWorkflowsOutput { extension ListIdNamespacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdNamespacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdNamespacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4297,7 +4297,7 @@ extension ListIdNamespacesOutput { extension ListMatchingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMatchingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMatchingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4310,7 +4310,7 @@ extension ListMatchingJobsOutput { extension ListMatchingWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMatchingWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMatchingWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4323,7 +4323,7 @@ extension ListMatchingWorkflowsOutput { extension ListProviderServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProviderServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProviderServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4336,7 +4336,7 @@ extension ListProviderServicesOutput { extension ListSchemaMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemaMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemaMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4349,7 +4349,7 @@ extension ListSchemaMappingsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4361,7 +4361,7 @@ extension ListTagsForResourceOutput { extension PutPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4375,7 +4375,7 @@ extension PutPolicyOutput { extension StartIdMappingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartIdMappingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartIdMappingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4388,7 +4388,7 @@ extension StartIdMappingJobOutput { extension StartMatchingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMatchingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMatchingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4400,21 +4400,21 @@ extension StartMatchingJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateIdMappingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdMappingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdMappingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4432,7 +4432,7 @@ extension UpdateIdMappingWorkflowOutput { extension UpdateIdNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4452,7 +4452,7 @@ extension UpdateIdNamespaceOutput { extension UpdateMatchingWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMatchingWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMatchingWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4470,7 +4470,7 @@ extension UpdateMatchingWorkflowOutput { extension UpdateSchemaMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSchemaMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSchemaMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4485,7 +4485,7 @@ extension UpdateSchemaMappingOutput { enum AddPolicyStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4504,7 +4504,7 @@ enum AddPolicyStatementOutputError { enum BatchDeleteUniqueIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4520,7 +4520,7 @@ enum BatchDeleteUniqueIdOutputError { enum CreateIdMappingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4539,7 +4539,7 @@ enum CreateIdMappingWorkflowOutputError { enum CreateIdNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4558,7 +4558,7 @@ enum CreateIdNamespaceOutputError { enum CreateMatchingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4577,7 +4577,7 @@ enum CreateMatchingWorkflowOutputError { enum CreateSchemaMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4596,7 +4596,7 @@ enum CreateSchemaMappingOutputError { enum DeleteIdMappingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4614,7 +4614,7 @@ enum DeleteIdMappingWorkflowOutputError { enum DeleteIdNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4631,7 +4631,7 @@ enum DeleteIdNamespaceOutputError { enum DeleteMatchingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4649,7 +4649,7 @@ enum DeleteMatchingWorkflowOutputError { enum DeletePolicyStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4668,7 +4668,7 @@ enum DeletePolicyStatementOutputError { enum DeleteSchemaMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4686,7 +4686,7 @@ enum DeleteSchemaMappingOutputError { enum GetIdMappingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4704,7 +4704,7 @@ enum GetIdMappingJobOutputError { enum GetIdMappingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4722,7 +4722,7 @@ enum GetIdMappingWorkflowOutputError { enum GetIdNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4740,7 +4740,7 @@ enum GetIdNamespaceOutputError { enum GetMatchIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4758,7 +4758,7 @@ enum GetMatchIdOutputError { enum GetMatchingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4776,7 +4776,7 @@ enum GetMatchingJobOutputError { enum GetMatchingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4794,7 +4794,7 @@ enum GetMatchingWorkflowOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4812,7 +4812,7 @@ enum GetPolicyOutputError { enum GetProviderServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4830,7 +4830,7 @@ enum GetProviderServiceOutputError { enum GetSchemaMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4848,7 +4848,7 @@ enum GetSchemaMappingOutputError { enum ListIdMappingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4866,7 +4866,7 @@ enum ListIdMappingJobsOutputError { enum ListIdMappingWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4883,7 +4883,7 @@ enum ListIdMappingWorkflowsOutputError { enum ListIdNamespacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4900,7 +4900,7 @@ enum ListIdNamespacesOutputError { enum ListMatchingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4918,7 +4918,7 @@ enum ListMatchingJobsOutputError { enum ListMatchingWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4935,7 +4935,7 @@ enum ListMatchingWorkflowsOutputError { enum ListProviderServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4952,7 +4952,7 @@ enum ListProviderServicesOutputError { enum ListSchemaMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4969,7 +4969,7 @@ enum ListSchemaMappingsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4985,7 +4985,7 @@ enum ListTagsForResourceOutputError { enum PutPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5004,7 +5004,7 @@ enum PutPolicyOutputError { enum StartIdMappingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5024,7 +5024,7 @@ enum StartIdMappingJobOutputError { enum StartMatchingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5044,7 +5044,7 @@ enum StartMatchingJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5060,7 +5060,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5075,7 +5075,7 @@ enum UntagResourceOutputError { enum UpdateIdMappingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5093,7 +5093,7 @@ enum UpdateIdMappingWorkflowOutputError { enum UpdateIdNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5111,7 +5111,7 @@ enum UpdateIdNamespaceOutputError { enum UpdateMatchingWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5129,7 +5129,7 @@ enum UpdateMatchingWorkflowOutputError { enum UpdateSchemaMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift index 9f85be068df..a0f39c8692d 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift @@ -17,8 +17,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -220,7 +220,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -290,7 +290,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -360,7 +360,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -441,7 +441,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -510,7 +510,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -579,7 +579,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -652,7 +652,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -732,7 +732,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -803,7 +803,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -872,7 +872,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -941,7 +941,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1010,7 +1010,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1079,7 +1079,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1148,7 +1148,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1216,7 +1216,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1285,7 +1285,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1355,7 +1355,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1423,7 +1423,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1492,7 +1492,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1560,7 +1560,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1628,7 +1628,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1696,7 +1696,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1765,7 +1765,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1834,7 +1834,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1902,7 +1902,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1970,7 +1970,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2040,7 +2040,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2110,7 +2110,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2177,7 +2177,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2245,7 +2245,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2312,7 +2312,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2379,7 +2379,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2446,7 +2446,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2514,7 +2514,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2583,7 +2583,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2651,7 +2651,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2718,7 +2718,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2786,7 +2786,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2854,7 +2854,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2922,7 +2922,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2990,7 +2990,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3057,7 +3057,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3125,7 +3125,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3196,7 +3196,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3268,7 +3268,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3368,7 +3368,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3438,7 +3438,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3508,7 +3508,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3579,7 +3579,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3649,7 +3649,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3717,7 +3717,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3787,7 +3787,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3857,7 +3857,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3928,7 +3928,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3998,7 +3998,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4067,7 +4067,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4137,7 +4137,7 @@ extension EventBridgeClient { .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/Models.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/Models.swift index 53a77f331de..7f7b76309aa 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/Models.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -78,7 +78,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -102,7 +102,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct OperationDisabledException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -467,7 +467,7 @@ public struct IllegalStatusException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -565,7 +565,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -589,7 +589,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -673,7 +673,7 @@ public struct InvalidEventPatternException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1725,7 +1725,7 @@ public struct ManagedRuleException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4247,7 +4247,7 @@ public struct PolicyLengthExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6072,14 +6072,14 @@ extension UpdateEventBusInput { extension ActivateEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateEventSourceOutput { return ActivateEventSourceOutput() } } extension CancelReplayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelReplayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelReplayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6093,7 +6093,7 @@ extension CancelReplayOutput { extension CreateApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApiDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6108,7 +6108,7 @@ extension CreateApiDestinationOutput { extension CreateArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6123,7 +6123,7 @@ extension CreateArchiveOutput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6138,7 +6138,7 @@ extension CreateConnectionOutput { extension CreateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6156,7 +6156,7 @@ extension CreateEndpointOutput { extension CreateEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventBusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6171,7 +6171,7 @@ extension CreateEventBusOutput { extension CreatePartnerEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePartnerEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartnerEventSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6183,14 +6183,14 @@ extension CreatePartnerEventSourceOutput { extension DeactivateEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateEventSourceOutput { return DeactivateEventSourceOutput() } } extension DeauthorizeConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeauthorizeConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeauthorizeConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6206,21 +6206,21 @@ extension DeauthorizeConnectionOutput { extension DeleteApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApiDestinationOutput { return DeleteApiDestinationOutput() } } extension DeleteArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteArchiveOutput { return DeleteArchiveOutput() } } extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6236,35 +6236,35 @@ extension DeleteConnectionOutput { extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { return DeleteEndpointOutput() } } extension DeleteEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventBusOutput { return DeleteEventBusOutput() } } extension DeletePartnerEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePartnerEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePartnerEventSourceOutput { return DeletePartnerEventSourceOutput() } } extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension DescribeApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApiDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6285,7 +6285,7 @@ extension DescribeApiDestinationOutput { extension DescribeArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6307,7 +6307,7 @@ extension DescribeArchiveOutput { extension DescribeConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6329,7 +6329,7 @@ extension DescribeConnectionOutput { extension DescribeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6353,7 +6353,7 @@ extension DescribeEndpointOutput { extension DescribeEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventBusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6372,7 +6372,7 @@ extension DescribeEventBusOutput { extension DescribeEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6389,7 +6389,7 @@ extension DescribeEventSourceOutput { extension DescribePartnerEventSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePartnerEventSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePartnerEventSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6402,7 +6402,7 @@ extension DescribePartnerEventSourceOutput { extension DescribeReplayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6425,7 +6425,7 @@ extension DescribeReplayOutput { extension DescribeRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6446,21 +6446,21 @@ extension DescribeRuleOutput { extension DisableRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableRuleOutput { return DisableRuleOutput() } } extension EnableRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableRuleOutput { return EnableRuleOutput() } } extension ListApiDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApiDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApiDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6473,7 +6473,7 @@ extension ListApiDestinationsOutput { extension ListArchivesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArchivesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArchivesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6486,7 +6486,7 @@ extension ListArchivesOutput { extension ListConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6499,7 +6499,7 @@ extension ListConnectionsOutput { extension ListEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6512,7 +6512,7 @@ extension ListEndpointsOutput { extension ListEventBusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventBusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventBusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6525,7 +6525,7 @@ extension ListEventBusesOutput { extension ListEventSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6538,7 +6538,7 @@ extension ListEventSourcesOutput { extension ListPartnerEventSourceAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartnerEventSourceAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartnerEventSourceAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6551,7 +6551,7 @@ extension ListPartnerEventSourceAccountsOutput { extension ListPartnerEventSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartnerEventSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartnerEventSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6564,7 +6564,7 @@ extension ListPartnerEventSourcesOutput { extension ListReplaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReplaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReplaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6577,7 +6577,7 @@ extension ListReplaysOutput { extension ListRuleNamesByTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleNamesByTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleNamesByTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6590,7 +6590,7 @@ extension ListRuleNamesByTargetOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6603,7 +6603,7 @@ extension ListRulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6615,7 +6615,7 @@ extension ListTagsForResourceOutput { extension ListTargetsByRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsByRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsByRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6628,7 +6628,7 @@ extension ListTargetsByRuleOutput { extension PutEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6641,7 +6641,7 @@ extension PutEventsOutput { extension PutPartnerEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPartnerEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPartnerEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6654,14 +6654,14 @@ extension PutPartnerEventsOutput { extension PutPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionOutput { return PutPermissionOutput() } } extension PutRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6673,7 +6673,7 @@ extension PutRuleOutput { extension PutTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6686,14 +6686,14 @@ extension PutTargetsOutput { extension RemovePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemovePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemovePermissionOutput { return RemovePermissionOutput() } } extension RemoveTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6706,7 +6706,7 @@ extension RemoveTargetsOutput { extension StartReplayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6721,14 +6721,14 @@ extension StartReplayOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestEventPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestEventPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestEventPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6740,14 +6740,14 @@ extension TestEventPatternOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApiDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApiDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApiDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6762,7 +6762,7 @@ extension UpdateApiDestinationOutput { extension UpdateArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6777,7 +6777,7 @@ extension UpdateArchiveOutput { extension UpdateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6793,7 +6793,7 @@ extension UpdateConnectionOutput { extension UpdateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6813,7 +6813,7 @@ extension UpdateEndpointOutput { extension UpdateEventBusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventBusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventBusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6829,7 +6829,7 @@ extension UpdateEventBusOutput { enum ActivateEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6847,7 +6847,7 @@ enum ActivateEventSourceOutputError { enum CancelReplayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6864,7 +6864,7 @@ enum CancelReplayOutputError { enum CreateApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6881,7 +6881,7 @@ enum CreateApiDestinationOutputError { enum CreateArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6900,7 +6900,7 @@ enum CreateArchiveOutputError { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6916,7 +6916,7 @@ enum CreateConnectionOutputError { enum CreateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6932,7 +6932,7 @@ enum CreateEndpointOutputError { enum CreateEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6952,7 +6952,7 @@ enum CreateEventBusOutputError { enum CreatePartnerEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6970,7 +6970,7 @@ enum CreatePartnerEventSourceOutputError { enum DeactivateEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6988,7 +6988,7 @@ enum DeactivateEventSourceOutputError { enum DeauthorizeConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7004,7 +7004,7 @@ enum DeauthorizeConnectionOutputError { enum DeleteApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7020,7 +7020,7 @@ enum DeleteApiDestinationOutputError { enum DeleteArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7036,7 +7036,7 @@ enum DeleteArchiveOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7052,7 +7052,7 @@ enum DeleteConnectionOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7068,7 +7068,7 @@ enum DeleteEndpointOutputError { enum DeleteEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7083,7 +7083,7 @@ enum DeleteEventBusOutputError { enum DeletePartnerEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7099,7 +7099,7 @@ enum DeletePartnerEventSourceOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7116,7 +7116,7 @@ enum DeleteRuleOutputError { enum DescribeApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7131,7 +7131,7 @@ enum DescribeApiDestinationOutputError { enum DescribeArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7147,7 +7147,7 @@ enum DescribeArchiveOutputError { enum DescribeConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7162,7 +7162,7 @@ enum DescribeConnectionOutputError { enum DescribeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7177,7 +7177,7 @@ enum DescribeEndpointOutputError { enum DescribeEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7192,7 +7192,7 @@ enum DescribeEventBusOutputError { enum DescribeEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7208,7 +7208,7 @@ enum DescribeEventSourceOutputError { enum DescribePartnerEventSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7224,7 +7224,7 @@ enum DescribePartnerEventSourceOutputError { enum DescribeReplayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7239,7 +7239,7 @@ enum DescribeReplayOutputError { enum DescribeRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7254,7 +7254,7 @@ enum DescribeRuleOutputError { enum DisableRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7271,7 +7271,7 @@ enum DisableRuleOutputError { enum EnableRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7288,7 +7288,7 @@ enum EnableRuleOutputError { enum ListApiDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7302,7 +7302,7 @@ enum ListApiDestinationsOutputError { enum ListArchivesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7317,7 +7317,7 @@ enum ListArchivesOutputError { enum ListConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7331,7 +7331,7 @@ enum ListConnectionsOutputError { enum ListEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7345,7 +7345,7 @@ enum ListEndpointsOutputError { enum ListEventBusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7359,7 +7359,7 @@ enum ListEventBusesOutputError { enum ListEventSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7374,7 +7374,7 @@ enum ListEventSourcesOutputError { enum ListPartnerEventSourceAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7390,7 +7390,7 @@ enum ListPartnerEventSourceAccountsOutputError { enum ListPartnerEventSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7405,7 +7405,7 @@ enum ListPartnerEventSourcesOutputError { enum ListReplaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7419,7 +7419,7 @@ enum ListReplaysOutputError { enum ListRuleNamesByTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7434,7 +7434,7 @@ enum ListRuleNamesByTargetOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7449,7 +7449,7 @@ enum ListRulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7464,7 +7464,7 @@ enum ListTagsForResourceOutputError { enum ListTargetsByRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7479,7 +7479,7 @@ enum ListTargetsByRuleOutputError { enum PutEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7493,7 +7493,7 @@ enum PutEventsOutputError { enum PutPartnerEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7508,7 +7508,7 @@ enum PutPartnerEventsOutputError { enum PutPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7526,7 +7526,7 @@ enum PutPermissionOutputError { enum PutRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7545,7 +7545,7 @@ enum PutRuleOutputError { enum PutTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7563,7 +7563,7 @@ enum PutTargetsOutputError { enum RemovePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7580,7 +7580,7 @@ enum RemovePermissionOutputError { enum RemoveTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7597,7 +7597,7 @@ enum RemoveTargetsOutputError { enum StartReplayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7615,7 +7615,7 @@ enum StartReplayOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7632,7 +7632,7 @@ enum TagResourceOutputError { enum TestEventPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7647,7 +7647,7 @@ enum TestEventPatternOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7664,7 +7664,7 @@ enum UntagResourceOutputError { enum UpdateApiDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7681,7 +7681,7 @@ enum UpdateApiDestinationOutputError { enum UpdateArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7699,7 +7699,7 @@ enum UpdateArchiveOutputError { enum UpdateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7716,7 +7716,7 @@ enum UpdateConnectionOutputError { enum UpdateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7732,7 +7732,7 @@ enum UpdateEndpointOutputError { enum UpdateEventBusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSEvidently/Sources/AWSEvidently/Models.swift b/Sources/Services/AWSEvidently/Sources/AWSEvidently/Models.swift index 2170b83423e..92cdf766c67 100644 --- a/Sources/Services/AWSEvidently/Sources/AWSEvidently/Models.swift +++ b/Sources/Services/AWSEvidently/Sources/AWSEvidently/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -65,7 +65,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -97,7 +97,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -393,7 +393,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -429,7 +429,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1991,7 +1991,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2015,7 +2015,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4409,7 +4409,7 @@ extension UpdateProjectDataDeliveryInput { extension BatchEvaluateFeatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchEvaluateFeatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchEvaluateFeatureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4421,7 +4421,7 @@ extension BatchEvaluateFeatureOutput { extension CreateExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4433,7 +4433,7 @@ extension CreateExperimentOutput { extension CreateFeatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFeatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFeatureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4445,7 +4445,7 @@ extension CreateFeatureOutput { extension CreateLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4457,7 +4457,7 @@ extension CreateLaunchOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4469,7 +4469,7 @@ extension CreateProjectOutput { extension CreateSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSegmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4481,42 +4481,42 @@ extension CreateSegmentOutput { extension DeleteExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExperimentOutput { return DeleteExperimentOutput() } } extension DeleteFeatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFeatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFeatureOutput { return DeleteFeatureOutput() } } extension DeleteLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchOutput { return DeleteLaunchOutput() } } extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DeleteSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSegmentOutput { return DeleteSegmentOutput() } } extension EvaluateFeatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EvaluateFeatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EvaluateFeatureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4531,7 +4531,7 @@ extension EvaluateFeatureOutput { extension GetExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4543,7 +4543,7 @@ extension GetExperimentOutput { extension GetExperimentResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExperimentResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExperimentResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4558,7 +4558,7 @@ extension GetExperimentResultsOutput { extension GetFeatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFeatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFeatureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4570,7 +4570,7 @@ extension GetFeatureOutput { extension GetLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4582,7 +4582,7 @@ extension GetLaunchOutput { extension GetProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4594,7 +4594,7 @@ extension GetProjectOutput { extension GetSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4606,7 +4606,7 @@ extension GetSegmentOutput { extension ListExperimentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperimentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperimentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4619,7 +4619,7 @@ extension ListExperimentsOutput { extension ListFeaturesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFeaturesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFeaturesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4632,7 +4632,7 @@ extension ListFeaturesOutput { extension ListLaunchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLaunchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLaunchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4645,7 +4645,7 @@ extension ListLaunchesOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4658,7 +4658,7 @@ extension ListProjectsOutput { extension ListSegmentReferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSegmentReferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSegmentReferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4671,7 +4671,7 @@ extension ListSegmentReferencesOutput { extension ListSegmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSegmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSegmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4684,7 +4684,7 @@ extension ListSegmentsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4696,7 +4696,7 @@ extension ListTagsForResourceOutput { extension PutProjectEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutProjectEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProjectEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4709,7 +4709,7 @@ extension PutProjectEventsOutput { extension StartExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4721,7 +4721,7 @@ extension StartExperimentOutput { extension StartLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4733,7 +4733,7 @@ extension StartLaunchOutput { extension StopExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4745,7 +4745,7 @@ extension StopExperimentOutput { extension StopLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4757,14 +4757,14 @@ extension StopLaunchOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestSegmentPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestSegmentPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestSegmentPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4776,14 +4776,14 @@ extension TestSegmentPatternOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4795,7 +4795,7 @@ extension UpdateExperimentOutput { extension UpdateFeatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFeatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFeatureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4807,7 +4807,7 @@ extension UpdateFeatureOutput { extension UpdateLaunchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4819,7 +4819,7 @@ extension UpdateLaunchOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4831,7 +4831,7 @@ extension UpdateProjectOutput { extension UpdateProjectDataDeliveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectDataDeliveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectDataDeliveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4843,7 +4843,7 @@ extension UpdateProjectDataDeliveryOutput { enum BatchEvaluateFeatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4860,7 +4860,7 @@ enum BatchEvaluateFeatureOutputError { enum CreateExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4878,7 +4878,7 @@ enum CreateExperimentOutputError { enum CreateFeatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4896,7 +4896,7 @@ enum CreateFeatureOutputError { enum CreateLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4914,7 +4914,7 @@ enum CreateLaunchOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4931,7 +4931,7 @@ enum CreateProjectOutputError { enum CreateSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4948,7 +4948,7 @@ enum CreateSegmentOutputError { enum DeleteExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4967,7 +4967,7 @@ enum DeleteExperimentOutputError { enum DeleteFeatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4985,7 +4985,7 @@ enum DeleteFeatureOutputError { enum DeleteLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5003,7 +5003,7 @@ enum DeleteLaunchOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5021,7 +5021,7 @@ enum DeleteProjectOutputError { enum DeleteSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5039,7 +5039,7 @@ enum DeleteSegmentOutputError { enum EvaluateFeatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5056,7 +5056,7 @@ enum EvaluateFeatureOutputError { enum GetExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5073,7 +5073,7 @@ enum GetExperimentOutputError { enum GetExperimentResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5091,7 +5091,7 @@ enum GetExperimentResultsOutputError { enum GetFeatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5108,7 +5108,7 @@ enum GetFeatureOutputError { enum GetLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5125,7 +5125,7 @@ enum GetLaunchOutputError { enum GetProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5142,7 +5142,7 @@ enum GetProjectOutputError { enum GetSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5159,7 +5159,7 @@ enum GetSegmentOutputError { enum ListExperimentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5175,7 +5175,7 @@ enum ListExperimentsOutputError { enum ListFeaturesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5192,7 +5192,7 @@ enum ListFeaturesOutputError { enum ListLaunchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5208,7 +5208,7 @@ enum ListLaunchesOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5224,7 +5224,7 @@ enum ListProjectsOutputError { enum ListSegmentReferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5241,7 +5241,7 @@ enum ListSegmentReferencesOutputError { enum ListSegmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5257,7 +5257,7 @@ enum ListSegmentsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5273,7 +5273,7 @@ enum ListTagsForResourceOutputError { enum PutProjectEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5290,7 +5290,7 @@ enum PutProjectEventsOutputError { enum StartExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5309,7 +5309,7 @@ enum StartExperimentOutputError { enum StartLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5328,7 +5328,7 @@ enum StartLaunchOutputError { enum StopExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5347,7 +5347,7 @@ enum StopExperimentOutputError { enum StopLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5364,7 +5364,7 @@ enum StopLaunchOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5380,7 +5380,7 @@ enum TagResourceOutputError { enum TestSegmentPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5396,7 +5396,7 @@ enum TestSegmentPatternOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5412,7 +5412,7 @@ enum UntagResourceOutputError { enum UpdateExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5429,7 +5429,7 @@ enum UpdateExperimentOutputError { enum UpdateFeatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5447,7 +5447,7 @@ enum UpdateFeatureOutputError { enum UpdateLaunchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5464,7 +5464,7 @@ enum UpdateLaunchOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5482,7 +5482,7 @@ enum UpdateProjectOutputError { enum UpdateProjectDataDeliveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFMS/Sources/AWSFMS/Models.swift b/Sources/Services/AWSFMS/Sources/AWSFMS/Models.swift index 82693935b9c..72680b7721e 100644 --- a/Sources/Services/AWSFMS/Sources/AWSFMS/Models.swift +++ b/Sources/Services/AWSFMS/Sources/AWSFMS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -476,7 +476,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -500,7 +500,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -524,7 +524,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -548,7 +548,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -572,7 +572,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1346,7 +1346,7 @@ public struct InvalidTypeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5839,14 +5839,14 @@ extension UntagResourceInput { extension AssociateAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAdminAccountOutput { return AssociateAdminAccountOutput() } } extension AssociateThirdPartyFirewallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateThirdPartyFirewallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateThirdPartyFirewallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5858,7 +5858,7 @@ extension AssociateThirdPartyFirewallOutput { extension BatchAssociateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5871,7 +5871,7 @@ extension BatchAssociateResourceOutput { extension BatchDisassociateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5884,49 +5884,49 @@ extension BatchDisassociateResourceOutput { extension DeleteAppsListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppsListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppsListOutput { return DeleteAppsListOutput() } } extension DeleteNotificationChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotificationChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotificationChannelOutput { return DeleteNotificationChannelOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeleteProtocolsListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProtocolsListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProtocolsListOutput { return DeleteProtocolsListOutput() } } extension DeleteResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceSetOutput { return DeleteResourceSetOutput() } } extension DisassociateAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAdminAccountOutput { return DisassociateAdminAccountOutput() } } extension DisassociateThirdPartyFirewallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateThirdPartyFirewallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateThirdPartyFirewallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5938,7 +5938,7 @@ extension DisassociateThirdPartyFirewallOutput { extension GetAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5951,7 +5951,7 @@ extension GetAdminAccountOutput { extension GetAdminScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdminScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdminScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5964,7 +5964,7 @@ extension GetAdminScopeOutput { extension GetAppsListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppsListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppsListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5977,7 +5977,7 @@ extension GetAppsListOutput { extension GetComplianceDetailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComplianceDetailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComplianceDetailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5989,7 +5989,7 @@ extension GetComplianceDetailOutput { extension GetNotificationChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNotificationChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNotificationChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6002,7 +6002,7 @@ extension GetNotificationChannelOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6015,7 +6015,7 @@ extension GetPolicyOutput { extension GetProtectionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProtectionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProtectionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6030,7 +6030,7 @@ extension GetProtectionStatusOutput { extension GetProtocolsListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProtocolsListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProtocolsListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6043,7 +6043,7 @@ extension GetProtocolsListOutput { extension GetResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6056,7 +6056,7 @@ extension GetResourceSetOutput { extension GetThirdPartyFirewallAssociationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetThirdPartyFirewallAssociationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetThirdPartyFirewallAssociationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6069,7 +6069,7 @@ extension GetThirdPartyFirewallAssociationStatusOutput { extension GetViolationDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetViolationDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetViolationDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6081,7 +6081,7 @@ extension GetViolationDetailsOutput { extension ListAdminAccountsForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAdminAccountsForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAdminAccountsForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6094,7 +6094,7 @@ extension ListAdminAccountsForOrganizationOutput { extension ListAdminsManagingAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAdminsManagingAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAdminsManagingAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6107,7 +6107,7 @@ extension ListAdminsManagingAccountOutput { extension ListAppsListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppsListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppsListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6120,7 +6120,7 @@ extension ListAppsListsOutput { extension ListComplianceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComplianceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComplianceStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6133,7 +6133,7 @@ extension ListComplianceStatusOutput { extension ListDiscoveredResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDiscoveredResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDiscoveredResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6146,7 +6146,7 @@ extension ListDiscoveredResourcesOutput { extension ListMemberAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMemberAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMemberAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6159,7 +6159,7 @@ extension ListMemberAccountsOutput { extension ListPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6172,7 +6172,7 @@ extension ListPoliciesOutput { extension ListProtocolsListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProtocolsListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtocolsListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6185,7 +6185,7 @@ extension ListProtocolsListsOutput { extension ListResourceSetResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceSetResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceSetResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6198,7 +6198,7 @@ extension ListResourceSetResourcesOutput { extension ListResourceSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6211,7 +6211,7 @@ extension ListResourceSetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6223,7 +6223,7 @@ extension ListTagsForResourceOutput { extension ListThirdPartyFirewallFirewallPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThirdPartyFirewallFirewallPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThirdPartyFirewallFirewallPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6236,14 +6236,14 @@ extension ListThirdPartyFirewallFirewallPoliciesOutput { extension PutAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAdminAccountOutput { return PutAdminAccountOutput() } } extension PutAppsListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppsListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppsListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6256,14 +6256,14 @@ extension PutAppsListOutput { extension PutNotificationChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutNotificationChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutNotificationChannelOutput { return PutNotificationChannelOutput() } } extension PutPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6276,7 +6276,7 @@ extension PutPolicyOutput { extension PutProtocolsListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutProtocolsListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProtocolsListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6289,7 +6289,7 @@ extension PutProtocolsListOutput { extension PutResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourceSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6302,21 +6302,21 @@ extension PutResourceSetOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum AssociateAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6334,7 +6334,7 @@ enum AssociateAdminAccountOutputError { enum AssociateThirdPartyFirewallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6351,7 +6351,7 @@ enum AssociateThirdPartyFirewallOutputError { enum BatchAssociateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6369,7 +6369,7 @@ enum BatchAssociateResourceOutputError { enum BatchDisassociateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6386,7 +6386,7 @@ enum BatchDisassociateResourceOutputError { enum DeleteAppsListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6402,7 +6402,7 @@ enum DeleteAppsListOutputError { enum DeleteNotificationChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6418,7 +6418,7 @@ enum DeleteNotificationChannelOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6436,7 +6436,7 @@ enum DeletePolicyOutputError { enum DeleteProtocolsListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6452,7 +6452,7 @@ enum DeleteProtocolsListOutputError { enum DeleteResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6469,7 +6469,7 @@ enum DeleteResourceSetOutputError { enum DisassociateAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6485,7 +6485,7 @@ enum DisassociateAdminAccountOutputError { enum DisassociateThirdPartyFirewallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6502,7 +6502,7 @@ enum DisassociateThirdPartyFirewallOutputError { enum GetAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6518,7 +6518,7 @@ enum GetAdminAccountOutputError { enum GetAdminScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6536,7 +6536,7 @@ enum GetAdminScopeOutputError { enum GetAppsListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6552,7 +6552,7 @@ enum GetAppsListOutputError { enum GetComplianceDetailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6569,7 +6569,7 @@ enum GetComplianceDetailOutputError { enum GetNotificationChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6585,7 +6585,7 @@ enum GetNotificationChannelOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6602,7 +6602,7 @@ enum GetPolicyOutputError { enum GetProtectionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6618,7 +6618,7 @@ enum GetProtectionStatusOutputError { enum GetProtocolsListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6634,7 +6634,7 @@ enum GetProtocolsListOutputError { enum GetResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6651,7 +6651,7 @@ enum GetResourceSetOutputError { enum GetThirdPartyFirewallAssociationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6668,7 +6668,7 @@ enum GetThirdPartyFirewallAssociationStatusOutputError { enum GetViolationDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6684,7 +6684,7 @@ enum GetViolationDetailsOutputError { enum ListAdminAccountsForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6701,7 +6701,7 @@ enum ListAdminAccountsForOrganizationOutputError { enum ListAdminsManagingAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6717,7 +6717,7 @@ enum ListAdminsManagingAccountOutputError { enum ListAppsListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6734,7 +6734,7 @@ enum ListAppsListsOutputError { enum ListComplianceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6749,7 +6749,7 @@ enum ListComplianceStatusOutputError { enum ListDiscoveredResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6765,7 +6765,7 @@ enum ListDiscoveredResourcesOutputError { enum ListMemberAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6780,7 +6780,7 @@ enum ListMemberAccountsOutputError { enum ListPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6797,7 +6797,7 @@ enum ListPoliciesOutputError { enum ListProtocolsListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6813,7 +6813,7 @@ enum ListProtocolsListsOutputError { enum ListResourceSetResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6830,7 +6830,7 @@ enum ListResourceSetResourcesOutputError { enum ListResourceSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6846,7 +6846,7 @@ enum ListResourceSetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6863,7 +6863,7 @@ enum ListTagsForResourceOutputError { enum ListThirdPartyFirewallFirewallPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6880,7 +6880,7 @@ enum ListThirdPartyFirewallFirewallPoliciesOutputError { enum PutAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6897,7 +6897,7 @@ enum PutAdminAccountOutputError { enum PutAppsListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6915,7 +6915,7 @@ enum PutAppsListOutputError { enum PutNotificationChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6931,7 +6931,7 @@ enum PutNotificationChannelOutputError { enum PutPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6950,7 +6950,7 @@ enum PutPolicyOutputError { enum PutProtocolsListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6968,7 +6968,7 @@ enum PutProtocolsListOutputError { enum PutResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6985,7 +6985,7 @@ enum PutResourceSetOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7003,7 +7003,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFSx/Sources/AWSFSx/Models.swift b/Sources/Services/AWSFSx/Sources/AWSFSx/Models.swift index 8993be0adc4..11066d8a316 100644 --- a/Sources/Services/AWSFSx/Sources/AWSFSx/Models.swift +++ b/Sources/Services/AWSFSx/Sources/AWSFSx/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -101,7 +101,7 @@ public struct ActiveDirectoryError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ extension FSxClientTypes { /// /// * THROUGHPUT_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase a file system's throughput capacity has been completed successfully, a THROUGHPUT_OPTIMIZATION task starts. You can track the storage-optimization progress using the ProgressPercent property. When THROUGHPUT_OPTIMIZATION has been completed successfully, the parent FILE_SYSTEM_UPDATE action status changes to COMPLETED. For more information, see [Managing throughput capacity](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-throughput-capacity.html) in the Amazon FSx for Windows File Server User Guide. /// - /// * STORAGE_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase a file system's storage capacity has been completed successfully, a STORAGE_OPTIMIZATION task starts. + /// * STORAGE_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase a file system's storage capacity has completed successfully, a STORAGE_OPTIMIZATION task starts. /// /// * For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks. /// @@ -150,10 +150,13 @@ extension FSxClientTypes { /// /// * RELEASE_NFS_V3_LOCKS - Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system. /// + /// * DOWNLOAD_DATA_FROM_BACKUP - An FSx for ONTAP backup is being restored to a new volume on a second-generation file system. Once the all the file metadata is loaded onto the volume, you can mount the volume with read-only access. during this process. + /// /// * VOLUME_INITIALIZE_WITH_SNAPSHOT - A volume is being created from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CreateVolume), or CLI (create-volume) when using the using the FULL_COPY strategy. /// /// * VOLUME_UPDATE_WITH_SNAPSHOT - A volume is being updated from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CopySnapshotAndUpdateVolume), or CLI (copy-snapshot-and-update-volume). public enum AdministrativeActionType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case downloadDataFromBackup case fileSystemAliasAssociation case fileSystemAliasDisassociation case fileSystemUpdate @@ -172,6 +175,7 @@ extension FSxClientTypes { public static var allCases: [AdministrativeActionType] { return [ + .downloadDataFromBackup, .fileSystemAliasAssociation, .fileSystemAliasDisassociation, .fileSystemUpdate, @@ -196,6 +200,7 @@ extension FSxClientTypes { public var rawValue: Swift.String { switch self { + case .downloadDataFromBackup: return "DOWNLOAD_DATA_FROM_BACKUP" case .fileSystemAliasAssociation: return "FILE_SYSTEM_ALIAS_ASSOCIATION" case .fileSystemAliasDisassociation: return "FILE_SYSTEM_ALIAS_DISASSOCIATION" case .fileSystemUpdate: return "FILE_SYSTEM_UPDATE" @@ -238,6 +243,7 @@ extension FSxClientTypes { case completed case failed case inProgress + case optimizing case pending case updatedOptimizing case sdkUnknown(Swift.String) @@ -247,6 +253,7 @@ extension FSxClientTypes { .completed, .failed, .inProgress, + .optimizing, .pending, .updatedOptimizing ] @@ -262,6 +269,7 @@ extension FSxClientTypes { case .completed: return "COMPLETED" case .failed: return "FAILED" case .inProgress: return "IN_PROGRESS" + case .optimizing: return "OPTIMIZING" case .pending: return "PENDING" case .updatedOptimizing: return "UPDATED_OPTIMIZING" case let .sdkUnknown(s): return s @@ -839,6 +847,7 @@ extension FSxClientTypes { public enum OntapDeploymentType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case multiAz1 + case multiAz2 case singleAz1 case singleAz2 case sdkUnknown(Swift.String) @@ -846,6 +855,7 @@ extension FSxClientTypes { public static var allCases: [OntapDeploymentType] { return [ .multiAz1, + .multiAz2, .singleAz1, .singleAz2 ] @@ -859,6 +869,7 @@ extension FSxClientTypes { public var rawValue: Swift.String { switch self { case .multiAz1: return "MULTI_AZ_1" + case .multiAz2: return "MULTI_AZ_2" case .singleAz1: return "SINGLE_AZ_1" case .singleAz2: return "SINGLE_AZ_2" case let .sdkUnknown(s): return s @@ -965,11 +976,13 @@ extension FSxClientTypes { public var dailyAutomaticBackupStartTime: Swift.String? /// Specifies the FSx for ONTAP file system deployment type in use in the file system. /// - /// * MULTI_AZ_1 - (Default) A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. + /// * MULTI_AZ_1 - A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. + /// + /// * MULTI_AZ_2 - A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. /// - /// * SINGLE_AZ_1 - A file system configured for Single-AZ redundancy. + /// * SINGLE_AZ_1 - A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. /// - /// * SINGLE_AZ_2 - A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. + /// * SINGLE_AZ_2 - A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system. /// /// /// For information about the use cases for Multi-AZ and Single-AZ deployments, refer to [Choosing Multi-AZ or Single-AZ file system deployment](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/high-availability-multiAZ.html). @@ -986,7 +999,7 @@ extension FSxClientTypes { /// /// * The value of HAPairs is less than 1 or greater than 12. /// - /// * The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1 or MULTI_AZ_1. + /// * The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1, MULTI_AZ_1, or MULTI_AZ_2. public var haPairs: Swift.Int? /// The ID for a subnet. A subnet is a range of IP addresses in your virtual private cloud (VPC). For more information, see [VPC and subnets](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html) in the Amazon VPC User Guide. public var preferredSubnetId: Swift.String? @@ -996,16 +1009,18 @@ extension FSxClientTypes { public var throughputCapacity: Swift.Int? /// Use to choose the throughput capacity per HA pair. When the value of HAPairs is equal to 1, the value of ThroughputCapacityPerHAPair is the total throughput for the file system. This field and ThroughputCapacity cannot be defined in the same API call, but one is required. This field and ThroughputCapacity are the same for file systems with one HA pair. /// - /// * For SINGLE_AZ_1 and MULTI_AZ_1, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. + /// * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. /// - /// * For SINGLE_AZ_2, valid values are 3072 or 6144 MBps. + /// * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. + /// + /// * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. /// /// /// Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: /// /// * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value. /// - /// * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / ThroughputCapacityPerHAPair is a valid HA pair (a value between 2 and 12). + /// * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). /// /// * The value of ThroughputCapacityPerHAPair is not a valid value. public var throughputCapacityPerHAPair: Swift.Int? @@ -1057,13 +1072,17 @@ extension FSxClientTypes { case multiAz1 case singleAz1 case singleAz2 + case singleAzHa1 + case singleAzHa2 case sdkUnknown(Swift.String) public static var allCases: [OpenZFSDeploymentType] { return [ .multiAz1, .singleAz1, - .singleAz2 + .singleAz2, + .singleAzHa1, + .singleAzHa2 ] } @@ -1077,6 +1096,8 @@ extension FSxClientTypes { case .multiAz1: return "MULTI_AZ_1" case .singleAz1: return "SINGLE_AZ_1" case .singleAz2: return "SINGLE_AZ_2" + case .singleAzHa1: return "SINGLE_AZ_HA_1" + case .singleAzHa2: return "SINGLE_AZ_HA_2" case let .sdkUnknown(s): return s } } @@ -1094,7 +1115,7 @@ extension FSxClientTypes { public var copyTagsToVolumes: Swift.Bool? /// A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. public var dailyAutomaticBackupStartTime: Swift.String? - /// Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, SINGLE_AZ_1, and SINGLE_AZ_2. + /// Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, SINGLE_AZ_HA_2, SINGLE_AZ_HA_1, SINGLE_AZ_2, and SINGLE_AZ_1. public var deploymentType: FSxClientTypes.OpenZFSDeploymentType? /// The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system. By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx). public var diskIopsConfiguration: FSxClientTypes.DiskIopsConfiguration? @@ -1630,7 +1651,7 @@ extension FSxClientTypes { public struct AggregateConfiguration { /// The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: /// - /// * The strings in the value of Aggregates are not are not formatted as aggrX, where X is a number between 1 and 6. + /// * The strings in the value of Aggregates are not are not formatted as aggrX, where X is a number between 1 and 12. /// /// * The value of Aggregates contains aggregates that are not present. /// @@ -2562,7 +2583,7 @@ public struct BadRequest: ClientRuntime.ModeledError, AWSClientRuntime.AWSServic public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2587,7 +2608,7 @@ public struct FileSystemNotFound: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2612,7 +2633,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2766,7 +2787,7 @@ public struct DataRepositoryTaskEnded: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2791,7 +2812,7 @@ public struct DataRepositoryTaskNotFound: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2816,7 +2837,7 @@ public struct UnsupportedOperation: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2924,7 +2945,7 @@ public struct BackupNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2952,7 +2973,7 @@ public struct IncompatibleParameterError: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2979,7 +3000,7 @@ public struct IncompatibleRegionForMultiAZ: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3004,7 +3025,7 @@ public struct InvalidDestinationKmsKey: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3029,7 +3050,7 @@ public struct InvalidRegion: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3054,7 +3075,7 @@ public struct InvalidSourceKmsKey: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3136,7 +3157,7 @@ public struct ServiceLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3165,7 +3186,7 @@ public struct SourceBackupUnavailable: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3448,7 +3469,7 @@ public struct BackupInProgress: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3473,7 +3494,7 @@ public struct VolumeNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3758,7 +3779,7 @@ public struct DataRepositoryTaskExecuting: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4196,7 +4217,7 @@ public struct InvalidNetworkSettings: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4227,7 +4248,7 @@ public struct InvalidPerUnitStorageThroughput: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4252,7 +4273,7 @@ public struct MissingFileCacheConfiguration: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4590,7 +4611,7 @@ extension FSxClientTypes { public var dataRepositoryAssociationIds: [Swift.String]? /// The Domain Name System (DNS) name for the cache. public var dnsName: Swift.String? - /// A structure providing details of any failures that occurred. + /// A structure providing details of any failures that occurred in creating a cache. public var failureDetails: FSxClientTypes.FileCacheFailureDetails? /// The system-generated, unique ID of the cache. public var fileCacheId: Swift.String? @@ -4698,7 +4719,7 @@ public struct InvalidExportPath: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4723,7 +4744,7 @@ public struct InvalidImportPath: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4748,7 +4769,7 @@ public struct MissingFileSystemConfiguration: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4937,11 +4958,13 @@ extension FSxClientTypes { public var dailyAutomaticBackupStartTime: Swift.String? /// Specifies the FSx for ONTAP file system deployment type to use in creating the file system. /// - /// * MULTI_AZ_1 - (Default) A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. + /// * MULTI_AZ_1 - A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. + /// + /// * MULTI_AZ_2 - A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. /// - /// * SINGLE_AZ_1 - A file system configured for Single-AZ redundancy. + /// * SINGLE_AZ_1 - A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. /// - /// * SINGLE_AZ_2 - A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. + /// * SINGLE_AZ_2 - A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system. /// /// /// For information about the use cases for Multi-AZ and Single-AZ deployments, refer to [Choosing a file system deployment type](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/high-availability-AZ.html). @@ -4953,13 +4976,13 @@ extension FSxClientTypes { public var endpointIpAddressRange: Swift.String? /// The ONTAP administrative password for the fsxadmin user with which you administer your file system using the NetApp ONTAP CLI and REST API. public var fsxAdminPassword: Swift.String? - /// Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of StorageCapacity, Iops, and ThroughputCapacity. For more information, see [High-availability (HA) pairs](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs) in the FSx for ONTAP user guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: + /// Specifies how many high-availability (HA) pairs of file servers will power your file system. First-generation file systems are powered by 1 HA pair. Second-generation multi-AZ file systems are powered by 1 HA pair. Second generation single-AZ file systems are powered by up to 12 HA pairs. The default value is 1. The value of this property affects the values of StorageCapacity, Iops, and ThroughputCapacity. For more information, see [High-availability (HA) pairs](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs) in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over TCP) is disabled on file systems with more than 6 HA pairs. For more information, see [Using block storage protocols](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/supported-fsx-clients.html#using-block-storage). Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: /// /// * The value of HAPairs is less than 1 or greater than 12. /// - /// * The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1 or MULTI_AZ_1. + /// * The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1, MULTI_AZ_1, or MULTI_AZ_2. public var haPairs: Swift.Int? - /// Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in which you want the preferred file server to be located. + /// Required when DeploymentType is set to MULTI_AZ_1 or MULTI_AZ_2. This specifies the subnet in which you want the preferred file server to be located. public var preferredSubnetId: Swift.String? /// (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table. Amazon FSx manages these route tables for Multi-AZ file systems using tag-based authentication. These route tables are tagged with Key: AmazonFSx; Value: ManagedByAmazonFSx. When creating FSx for ONTAP Multi-AZ file systems using CloudFormation we recommend that you add the Key: AmazonFSx; Value: ManagedByAmazonFSx tag manually. public var routeTableIds: [Swift.String]? @@ -4969,18 +4992,20 @@ extension FSxClientTypes { /// /// * The value of ThroughputCapacity when divided by the value of HAPairs is outside of the valid range for ThroughputCapacity. public var throughputCapacity: Swift.Int? - /// Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. You can define either the ThroughputCapacityPerHAPair or the ThroughputCapacity when creating a file system, but not both. This field and ThroughputCapacity are the same for scale-up file systems powered by one HA pair. + /// Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. You can define either the ThroughputCapacityPerHAPair or the ThroughputCapacity when creating a file system, but not both. This field and ThroughputCapacity are the same for file systems powered by one HA pair. /// /// * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. /// - /// * For SINGLE_AZ_2 file systems, valid values are 3072 or 6144 MBps. + /// * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. + /// + /// * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. /// /// /// Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: /// /// * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value for file systems with one HA pair. /// - /// * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / ThroughputCapacityPerHAPair is a valid HA pair (a value between 2 and 12). + /// * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). /// /// * The value of ThroughputCapacityPerHAPair is not a valid value. public var throughputCapacityPerHAPair: Swift.Int? @@ -5077,16 +5102,20 @@ extension FSxClientTypes { public var copyTagsToVolumes: Swift.Bool? /// A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. public var dailyAutomaticBackupStartTime: Swift.String? - /// Specifies the file system deployment type. Single AZ deployment types are configured for redundancy within a single Availability Zone in an Amazon Web Services Region . Valid values are the following: + /// Specifies the file system deployment type. Valid values are the following: + /// + /// * MULTI_AZ_1- Creates file systems with high availability and durability by replicating your data and supporting failover across multiple Availability Zones in the same Amazon Web Services Region. /// - /// * MULTI_AZ_1- Creates file systems with high availability that are configured for Multi-AZ redundancy to tolerate temporary unavailability in Availability Zones (AZs). Multi_AZ_1 is available only in the US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Tokyo), and Europe (Ireland) Amazon Web Services Regions. + /// * SINGLE_AZ_HA_2- Creates file systems with high availability and throughput capacities of 160 - 10,240 MB/s using an NVMe L2ARC cache by deploying a primary and standby file system within the same Availability Zone. /// - /// * SINGLE_AZ_1- Creates file systems with throughput capacities of 64 - 4,096 MB/s. Single_AZ_1 is available in all Amazon Web Services Regions where Amazon FSx for OpenZFS is available. + /// * SINGLE_AZ_HA_1- Creates file systems with high availability and throughput capacities of 64 - 4,096 MB/s by deploying a primary and standby file system within the same Availability Zone. /// - /// * SINGLE_AZ_2- Creates file systems with throughput capacities of 160 - 10,240 MB/s using an NVMe L2ARC cache. Single_AZ_2 is available only in the US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Tokyo), and Europe (Ireland) Amazon Web Services Regions. + /// * SINGLE_AZ_2- Creates file systems with throughput capacities of 160 - 10,240 MB/s using an NVMe L2ARC cache that automatically recover within a single Availability Zone. /// + /// * SINGLE_AZ_1- Creates file systems with throughput capacities of 64 - 4,096 MBs that automatically recover within a single Availability Zone. /// - /// For more information, see [Deployment type availability](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/availability-durability.html#available-aws-regions) and [File system performance](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance.html#zfs-fs-performance) in the Amazon FSx for OpenZFS User Guide. + /// + /// For a list of which Amazon Web Services Regions each deployment type is available in, see [Deployment type availability](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/availability-durability.html#available-aws-regions). For more information on the differences in performance between deployment types, see [File system performance](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance.html#zfs-fs-performance) in the Amazon FSx for OpenZFS User Guide. /// This member is required. public var deploymentType: FSxClientTypes.OpenZFSDeploymentType? /// The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system. By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx). @@ -5896,7 +5925,7 @@ public struct MissingVolumeConfiguration: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5921,7 +5950,7 @@ public struct StorageVirtualMachineNotFound: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6301,7 +6330,7 @@ public struct BackupBeingCopied: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6330,7 +6359,7 @@ public struct BackupRestoring: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6392,7 +6421,7 @@ public struct DataRepositoryAssociationNotFound: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6458,7 +6487,7 @@ public struct FileCacheNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6725,7 +6754,7 @@ public struct SnapshotNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7037,7 +7066,7 @@ public struct InvalidDataRepositoryType: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7679,7 +7708,7 @@ public struct NotServiceResourceError: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7709,7 +7738,7 @@ public struct ResourceDoesNotSupportTagging: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7739,7 +7768,7 @@ public struct ResourceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8131,6 +8160,8 @@ extension FSxClientTypes { public var diskIopsConfiguration: FSxClientTypes.DiskIopsConfiguration? /// Update the password for the fsxadmin user by entering a new password. You use the fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system resources. For more information, see [Managing resources using NetApp Applicaton](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-resources-ontap-apps.html). public var fsxAdminPassword: Swift.String? + /// Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If you increase the number of HA pairs for your file system, you must specify proportional increases for StorageCapacity, Iops, and ThroughputCapacity. For more information, see [High-availability (HA) pairs](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs) in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over TCP) is disabled on file systems with more than 6 HA pairs. For more information, see [Using block storage protocols](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/supported-fsx-clients.html#using-block-storage). + public var haPairs: Swift.Int? /// (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route table IDs for a file system. public var removeRouteTableIds: [Swift.String]? /// Enter a new value to change the amount of throughput capacity for the file system in megabytes per second (MBps). For more information, see [Managing throughput capacity](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-throughput-capacity.html) in the FSx for ONTAP User Guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: @@ -8141,16 +8172,18 @@ extension FSxClientTypes { public var throughputCapacity: Swift.Int? /// Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. This field and ThroughputCapacity cannot be defined in the same API call, but one is required. This field and ThroughputCapacity are the same for file systems with one HA pair. /// - /// * For SINGLE_AZ_1 and MULTI_AZ_1, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. + /// * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. /// - /// * For SINGLE_AZ_2, valid values are 3072 or 6144 MBps. + /// * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. + /// + /// * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. /// /// /// Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: /// /// * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value for file systems with one HA pair. /// - /// * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / ThroughputCapacityPerHAPair is a valid HA pair (a value between 2 and 12). + /// * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). /// /// * The value of ThroughputCapacityPerHAPair is not a valid value. public var throughputCapacityPerHAPair: Swift.Int? @@ -8163,6 +8196,7 @@ extension FSxClientTypes { dailyAutomaticBackupStartTime: Swift.String? = nil, diskIopsConfiguration: FSxClientTypes.DiskIopsConfiguration? = nil, fsxAdminPassword: Swift.String? = nil, + haPairs: Swift.Int? = nil, removeRouteTableIds: [Swift.String]? = nil, throughputCapacity: Swift.Int? = nil, throughputCapacityPerHAPair: Swift.Int? = nil, @@ -8174,6 +8208,7 @@ extension FSxClientTypes { self.dailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime self.diskIopsConfiguration = diskIopsConfiguration self.fsxAdminPassword = fsxAdminPassword + self.haPairs = haPairs self.removeRouteTableIds = removeRouteTableIds self.throughputCapacity = throughputCapacity self.throughputCapacityPerHAPair = throughputCapacityPerHAPair @@ -8185,7 +8220,7 @@ extension FSxClientTypes { extension FSxClientTypes.UpdateFileSystemOntapConfiguration: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateFileSystemOntapConfiguration(addRouteTableIds: \(Swift.String(describing: addRouteTableIds)), automaticBackupRetentionDays: \(Swift.String(describing: automaticBackupRetentionDays)), dailyAutomaticBackupStartTime: \(Swift.String(describing: dailyAutomaticBackupStartTime)), diskIopsConfiguration: \(Swift.String(describing: diskIopsConfiguration)), removeRouteTableIds: \(Swift.String(describing: removeRouteTableIds)), throughputCapacity: \(Swift.String(describing: throughputCapacity)), throughputCapacityPerHAPair: \(Swift.String(describing: throughputCapacityPerHAPair)), weeklyMaintenanceStartTime: \(Swift.String(describing: weeklyMaintenanceStartTime)), fsxAdminPassword: \"CONTENT_REDACTED\")"} + "UpdateFileSystemOntapConfiguration(addRouteTableIds: \(Swift.String(describing: addRouteTableIds)), automaticBackupRetentionDays: \(Swift.String(describing: automaticBackupRetentionDays)), dailyAutomaticBackupStartTime: \(Swift.String(describing: dailyAutomaticBackupStartTime)), diskIopsConfiguration: \(Swift.String(describing: diskIopsConfiguration)), haPairs: \(Swift.String(describing: haPairs)), removeRouteTableIds: \(Swift.String(describing: removeRouteTableIds)), throughputCapacity: \(Swift.String(describing: throughputCapacity)), throughputCapacityPerHAPair: \(Swift.String(describing: throughputCapacityPerHAPair)), weeklyMaintenanceStartTime: \(Swift.String(describing: weeklyMaintenanceStartTime)), fsxAdminPassword: \"CONTENT_REDACTED\")"} } extension FSxClientTypes { @@ -8657,7 +8692,7 @@ extension FSxClientTypes { /// /// * THROUGHPUT_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase a file system's throughput capacity has been completed successfully, a THROUGHPUT_OPTIMIZATION task starts. You can track the storage-optimization progress using the ProgressPercent property. When THROUGHPUT_OPTIMIZATION has been completed successfully, the parent FILE_SYSTEM_UPDATE action status changes to COMPLETED. For more information, see [Managing throughput capacity](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-throughput-capacity.html) in the Amazon FSx for Windows File Server User Guide. /// - /// * STORAGE_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase a file system's storage capacity has been completed successfully, a STORAGE_OPTIMIZATION task starts. + /// * STORAGE_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase a file system's storage capacity has completed successfully, a STORAGE_OPTIMIZATION task starts. /// /// * For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks. /// @@ -8682,13 +8717,15 @@ extension FSxClientTypes { /// /// * RELEASE_NFS_V3_LOCKS - Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system. /// + /// * DOWNLOAD_DATA_FROM_BACKUP - An FSx for ONTAP backup is being restored to a new volume on a second-generation file system. Once the all the file metadata is loaded onto the volume, you can mount the volume with read-only access. during this process. + /// /// * VOLUME_INITIALIZE_WITH_SNAPSHOT - A volume is being created from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CreateVolume), or CLI (create-volume) when using the using the FULL_COPY strategy. /// /// * VOLUME_UPDATE_WITH_SNAPSHOT - A volume is being updated from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CopySnapshotAndUpdateVolume), or CLI (copy-snapshot-and-update-volume). public var administrativeActionType: FSxClientTypes.AdministrativeActionType? /// Provides information about a failed administrative action. public var failureDetails: FSxClientTypes.AdministrativeActionFailureDetails? - /// The percentage-complete status of a STORAGE_OPTIMIZATION administrative action. Does not apply to any other administrative action type. + /// The percentage-complete status of a STORAGE_OPTIMIZATION or DOWNLOAD_DATA_FROM_BACKUP administrative action. Does not apply to any other administrative action type. public var progressPercent: Swift.Int? /// The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying. public var remainingTransferBytes: Swift.Int? @@ -8702,9 +8739,13 @@ extension FSxClientTypes { /// /// * PENDING - Amazon FSx is waiting to process the administrative action. /// - /// * COMPLETED - Amazon FSx has finished processing the administrative task. + /// * COMPLETED - Amazon FSx has finished processing the administrative task. For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume. /// /// * UPDATED_OPTIMIZING - For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process. + /// + /// * PENDING - For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING. + /// + /// * IN_PROGRESS - For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with the ProgressPercent element. public var status: FSxClientTypes.Status? /// The target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions. public var targetFileSystemValues: FSxClientTypes.FileSystem? @@ -10168,7 +10209,7 @@ extension UpdateVolumeInput { extension AssociateFileSystemAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFileSystemAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFileSystemAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10180,7 +10221,7 @@ extension AssociateFileSystemAliasesOutput { extension CancelDataRepositoryTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDataRepositoryTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDataRepositoryTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10193,7 +10234,7 @@ extension CancelDataRepositoryTaskOutput { extension CopyBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10205,7 +10246,7 @@ extension CopyBackupOutput { extension CopySnapshotAndUpdateVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopySnapshotAndUpdateVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopySnapshotAndUpdateVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10219,7 +10260,7 @@ extension CopySnapshotAndUpdateVolumeOutput { extension CreateBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10231,7 +10272,7 @@ extension CreateBackupOutput { extension CreateDataRepositoryAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataRepositoryAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataRepositoryAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10243,7 +10284,7 @@ extension CreateDataRepositoryAssociationOutput { extension CreateDataRepositoryTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataRepositoryTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataRepositoryTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10255,7 +10296,7 @@ extension CreateDataRepositoryTaskOutput { extension CreateFileCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFileCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFileCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10267,7 +10308,7 @@ extension CreateFileCacheOutput { extension CreateFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10279,7 +10320,7 @@ extension CreateFileSystemOutput { extension CreateFileSystemFromBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFileSystemFromBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFileSystemFromBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10291,7 +10332,7 @@ extension CreateFileSystemFromBackupOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10303,7 +10344,7 @@ extension CreateSnapshotOutput { extension CreateStorageVirtualMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStorageVirtualMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStorageVirtualMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10315,7 +10356,7 @@ extension CreateStorageVirtualMachineOutput { extension CreateVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10327,7 +10368,7 @@ extension CreateVolumeOutput { extension CreateVolumeFromBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVolumeFromBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVolumeFromBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10339,7 +10380,7 @@ extension CreateVolumeFromBackupOutput { extension DeleteBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10352,7 +10393,7 @@ extension DeleteBackupOutput { extension DeleteDataRepositoryAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataRepositoryAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataRepositoryAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10366,7 +10407,7 @@ extension DeleteDataRepositoryAssociationOutput { extension DeleteFileCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFileCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFileCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10379,7 +10420,7 @@ extension DeleteFileCacheOutput { extension DeleteFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10395,7 +10436,7 @@ extension DeleteFileSystemOutput { extension DeleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10408,7 +10449,7 @@ extension DeleteSnapshotOutput { extension DeleteStorageVirtualMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStorageVirtualMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStorageVirtualMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10421,7 +10462,7 @@ extension DeleteStorageVirtualMachineOutput { extension DeleteVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10435,7 +10476,7 @@ extension DeleteVolumeOutput { extension DescribeBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10448,7 +10489,7 @@ extension DescribeBackupsOutput { extension DescribeDataRepositoryAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataRepositoryAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataRepositoryAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10461,7 +10502,7 @@ extension DescribeDataRepositoryAssociationsOutput { extension DescribeDataRepositoryTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataRepositoryTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataRepositoryTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10474,7 +10515,7 @@ extension DescribeDataRepositoryTasksOutput { extension DescribeFileCachesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFileCachesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFileCachesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10487,7 +10528,7 @@ extension DescribeFileCachesOutput { extension DescribeFileSystemAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFileSystemAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFileSystemAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10500,7 +10541,7 @@ extension DescribeFileSystemAliasesOutput { extension DescribeFileSystemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFileSystemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFileSystemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10513,7 +10554,7 @@ extension DescribeFileSystemsOutput { extension DescribeSharedVpcConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSharedVpcConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSharedVpcConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10525,7 +10566,7 @@ extension DescribeSharedVpcConfigurationOutput { extension DescribeSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10538,7 +10579,7 @@ extension DescribeSnapshotsOutput { extension DescribeStorageVirtualMachinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorageVirtualMachinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorageVirtualMachinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10551,7 +10592,7 @@ extension DescribeStorageVirtualMachinesOutput { extension DescribeVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10564,7 +10605,7 @@ extension DescribeVolumesOutput { extension DisassociateFileSystemAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFileSystemAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFileSystemAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10576,7 +10617,7 @@ extension DisassociateFileSystemAliasesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10589,7 +10630,7 @@ extension ListTagsForResourceOutput { extension ReleaseFileSystemNfsV3LocksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleaseFileSystemNfsV3LocksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleaseFileSystemNfsV3LocksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10601,7 +10642,7 @@ extension ReleaseFileSystemNfsV3LocksOutput { extension RestoreVolumeFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreVolumeFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreVolumeFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10615,7 +10656,7 @@ extension RestoreVolumeFromSnapshotOutput { extension StartMisconfiguredStateRecoveryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMisconfiguredStateRecoveryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMisconfiguredStateRecoveryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10627,21 +10668,21 @@ extension StartMisconfiguredStateRecoveryOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDataRepositoryAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataRepositoryAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataRepositoryAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10653,7 +10694,7 @@ extension UpdateDataRepositoryAssociationOutput { extension UpdateFileCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFileCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFileCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10665,7 +10706,7 @@ extension UpdateFileCacheOutput { extension UpdateFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10677,7 +10718,7 @@ extension UpdateFileSystemOutput { extension UpdateSharedVpcConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSharedVpcConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSharedVpcConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10689,7 +10730,7 @@ extension UpdateSharedVpcConfigurationOutput { extension UpdateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10701,7 +10742,7 @@ extension UpdateSnapshotOutput { extension UpdateStorageVirtualMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStorageVirtualMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStorageVirtualMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10713,7 +10754,7 @@ extension UpdateStorageVirtualMachineOutput { extension UpdateVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10725,7 +10766,7 @@ extension UpdateVolumeOutput { enum AssociateFileSystemAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10741,7 +10782,7 @@ enum AssociateFileSystemAliasesOutputError { enum CancelDataRepositoryTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10759,7 +10800,7 @@ enum CancelDataRepositoryTaskOutputError { enum CopyBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10783,7 +10824,7 @@ enum CopyBackupOutputError { enum CopySnapshotAndUpdateVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10800,7 +10841,7 @@ enum CopySnapshotAndUpdateVolumeOutputError { enum CreateBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10821,7 +10862,7 @@ enum CreateBackupOutputError { enum CreateDataRepositoryAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10840,7 +10881,7 @@ enum CreateDataRepositoryAssociationOutputError { enum CreateDataRepositoryTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10860,7 +10901,7 @@ enum CreateDataRepositoryTaskOutputError { enum CreateFileCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10880,7 +10921,7 @@ enum CreateFileCacheOutputError { enum CreateFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10903,7 +10944,7 @@ enum CreateFileSystemOutputError { enum CreateFileSystemFromBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10925,7 +10966,7 @@ enum CreateFileSystemFromBackupOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10942,7 +10983,7 @@ enum CreateSnapshotOutputError { enum CreateStorageVirtualMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10962,7 +11003,7 @@ enum CreateStorageVirtualMachineOutputError { enum CreateVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10983,7 +11024,7 @@ enum CreateVolumeOutputError { enum CreateVolumeFromBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11004,7 +11045,7 @@ enum CreateVolumeFromBackupOutputError { enum DeleteBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11024,7 +11065,7 @@ enum DeleteBackupOutputError { enum DeleteDataRepositoryAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11042,7 +11083,7 @@ enum DeleteDataRepositoryAssociationOutputError { enum DeleteFileCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11060,7 +11101,7 @@ enum DeleteFileCacheOutputError { enum DeleteFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11078,7 +11119,7 @@ enum DeleteFileSystemOutputError { enum DeleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11094,7 +11135,7 @@ enum DeleteSnapshotOutputError { enum DeleteStorageVirtualMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11111,7 +11152,7 @@ enum DeleteStorageVirtualMachineOutputError { enum DeleteVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11129,7 +11170,7 @@ enum DeleteVolumeOutputError { enum DescribeBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11147,7 +11188,7 @@ enum DescribeBackupsOutputError { enum DescribeDataRepositoryAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11165,7 +11206,7 @@ enum DescribeDataRepositoryAssociationsOutputError { enum DescribeDataRepositoryTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11182,7 +11223,7 @@ enum DescribeDataRepositoryTasksOutputError { enum DescribeFileCachesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11198,7 +11239,7 @@ enum DescribeFileCachesOutputError { enum DescribeFileSystemAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11214,7 +11255,7 @@ enum DescribeFileSystemAliasesOutputError { enum DescribeFileSystemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11230,7 +11271,7 @@ enum DescribeFileSystemsOutputError { enum DescribeSharedVpcConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11245,7 +11286,7 @@ enum DescribeSharedVpcConfigurationOutputError { enum DescribeSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11261,7 +11302,7 @@ enum DescribeSnapshotsOutputError { enum DescribeStorageVirtualMachinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11277,7 +11318,7 @@ enum DescribeStorageVirtualMachinesOutputError { enum DescribeVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11293,7 +11334,7 @@ enum DescribeVolumesOutputError { enum DisassociateFileSystemAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11309,7 +11350,7 @@ enum DisassociateFileSystemAliasesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11327,7 +11368,7 @@ enum ListTagsForResourceOutputError { enum ReleaseFileSystemNfsV3LocksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11345,7 +11386,7 @@ enum ReleaseFileSystemNfsV3LocksOutputError { enum RestoreVolumeFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11361,7 +11402,7 @@ enum RestoreVolumeFromSnapshotOutputError { enum StartMisconfiguredStateRecoveryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11377,7 +11418,7 @@ enum StartMisconfiguredStateRecoveryOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11395,7 +11436,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11413,7 +11454,7 @@ enum UntagResourceOutputError { enum UpdateDataRepositoryAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11431,7 +11472,7 @@ enum UpdateDataRepositoryAssociationOutputError { enum UpdateFileCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11451,7 +11492,7 @@ enum UpdateFileCacheOutputError { enum UpdateFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11472,7 +11513,7 @@ enum UpdateFileSystemOutputError { enum UpdateSharedVpcConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11488,7 +11529,7 @@ enum UpdateSharedVpcConfigurationOutputError { enum UpdateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11504,7 +11545,7 @@ enum UpdateSnapshotOutputError { enum UpdateStorageVirtualMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11522,7 +11563,7 @@ enum UpdateStorageVirtualMachineOutputError { enum UpdateVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13408,6 +13449,7 @@ extension FSxClientTypes.UpdateFileSystemOntapConfiguration { try writer["DailyAutomaticBackupStartTime"].write(value.dailyAutomaticBackupStartTime) try writer["DiskIopsConfiguration"].write(value.diskIopsConfiguration, with: FSxClientTypes.DiskIopsConfiguration.write(value:to:)) try writer["FsxAdminPassword"].write(value.fsxAdminPassword) + try writer["HAPairs"].write(value.haPairs) try writer["RemoveRouteTableIds"].writeList(value.removeRouteTableIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["ThroughputCapacity"].write(value.throughputCapacity) try writer["ThroughputCapacityPerHAPair"].write(value.throughputCapacityPerHAPair) diff --git a/Sources/Services/AWSFinspace/Sources/AWSFinspace/Models.swift b/Sources/Services/AWSFinspace/Sources/AWSFinspace/Models.swift index 8519cd5efc4..b7d03087a77 100644 --- a/Sources/Services/AWSFinspace/Sources/AWSFinspace/Models.swift +++ b/Sources/Services/AWSFinspace/Sources/AWSFinspace/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +121,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +145,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -169,7 +169,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -193,7 +193,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -217,7 +217,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -409,7 +409,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -435,7 +435,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1502,7 +1502,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4644,7 +4644,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6572,7 +6572,7 @@ extension UpdateKxVolumeInput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6586,7 +6586,7 @@ extension CreateEnvironmentOutput { extension CreateKxChangesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxChangesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxChangesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6605,7 +6605,7 @@ extension CreateKxChangesetOutput { extension CreateKxClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6640,7 +6640,7 @@ extension CreateKxClusterOutput { extension CreateKxDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6657,7 +6657,7 @@ extension CreateKxDatabaseOutput { extension CreateKxDataviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxDataviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxDataviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6681,7 +6681,7 @@ extension CreateKxDataviewOutput { extension CreateKxEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6699,7 +6699,7 @@ extension CreateKxEnvironmentOutput { extension CreateKxScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxScalingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6717,7 +6717,7 @@ extension CreateKxScalingGroupOutput { extension CreateKxUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6732,7 +6732,7 @@ extension CreateKxUserOutput { extension CreateKxVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKxVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKxVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6754,70 +6754,70 @@ extension CreateKxVolumeOutput { extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension DeleteKxClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxClusterOutput { return DeleteKxClusterOutput() } } extension DeleteKxClusterNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxClusterNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxClusterNodeOutput { return DeleteKxClusterNodeOutput() } } extension DeleteKxDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxDatabaseOutput { return DeleteKxDatabaseOutput() } } extension DeleteKxDataviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxDataviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxDataviewOutput { return DeleteKxDataviewOutput() } } extension DeleteKxEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxEnvironmentOutput { return DeleteKxEnvironmentOutput() } } extension DeleteKxScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxScalingGroupOutput { return DeleteKxScalingGroupOutput() } } extension DeleteKxUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxUserOutput { return DeleteKxUserOutput() } } extension DeleteKxVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKxVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKxVolumeOutput { return DeleteKxVolumeOutput() } } extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6829,7 +6829,7 @@ extension GetEnvironmentOutput { extension GetKxChangesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxChangesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxChangesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6849,7 +6849,7 @@ extension GetKxChangesetOutput { extension GetKxClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6883,7 +6883,7 @@ extension GetKxClusterOutput { extension GetKxConnectionStringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxConnectionStringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxConnectionStringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6895,7 +6895,7 @@ extension GetKxConnectionStringOutput { extension GetKxDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6916,7 +6916,7 @@ extension GetKxDatabaseOutput { extension GetKxDataviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxDataviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxDataviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6942,7 +6942,7 @@ extension GetKxDataviewOutput { extension GetKxEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6970,7 +6970,7 @@ extension GetKxEnvironmentOutput { extension GetKxScalingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxScalingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxScalingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6990,7 +6990,7 @@ extension GetKxScalingGroupOutput { extension GetKxUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7005,7 +7005,7 @@ extension GetKxUserOutput { extension GetKxVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKxVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKxVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7029,7 +7029,7 @@ extension GetKxVolumeOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7042,7 +7042,7 @@ extension ListEnvironmentsOutput { extension ListKxChangesetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxChangesetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxChangesetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7055,7 +7055,7 @@ extension ListKxChangesetsOutput { extension ListKxClusterNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxClusterNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxClusterNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7068,7 +7068,7 @@ extension ListKxClusterNodesOutput { extension ListKxClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7081,7 +7081,7 @@ extension ListKxClustersOutput { extension ListKxDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7094,7 +7094,7 @@ extension ListKxDatabasesOutput { extension ListKxDataviewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxDataviewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxDataviewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7107,7 +7107,7 @@ extension ListKxDataviewsOutput { extension ListKxEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7120,7 +7120,7 @@ extension ListKxEnvironmentsOutput { extension ListKxScalingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxScalingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxScalingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7133,7 +7133,7 @@ extension ListKxScalingGroupsOutput { extension ListKxUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7146,7 +7146,7 @@ extension ListKxUsersOutput { extension ListKxVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKxVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKxVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7159,7 +7159,7 @@ extension ListKxVolumesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7171,21 +7171,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7197,21 +7197,21 @@ extension UpdateEnvironmentOutput { extension UpdateKxClusterCodeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxClusterCodeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxClusterCodeConfigurationOutput { return UpdateKxClusterCodeConfigurationOutput() } } extension UpdateKxClusterDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxClusterDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxClusterDatabasesOutput { return UpdateKxClusterDatabasesOutput() } } extension UpdateKxDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7226,7 +7226,7 @@ extension UpdateKxDatabaseOutput { extension UpdateKxDataviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxDataviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxDataviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7251,7 +7251,7 @@ extension UpdateKxDataviewOutput { extension UpdateKxEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7278,7 +7278,7 @@ extension UpdateKxEnvironmentOutput { extension UpdateKxEnvironmentNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxEnvironmentNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxEnvironmentNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7305,7 +7305,7 @@ extension UpdateKxEnvironmentNetworkOutput { extension UpdateKxUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7320,7 +7320,7 @@ extension UpdateKxUserOutput { extension UpdateKxVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKxVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKxVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7344,7 +7344,7 @@ extension UpdateKxVolumeOutput { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7363,7 +7363,7 @@ enum CreateEnvironmentOutputError { enum CreateKxChangesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7383,7 +7383,7 @@ enum CreateKxChangesetOutputError { enum CreateKxClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7403,7 +7403,7 @@ enum CreateKxClusterOutputError { enum CreateKxDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7424,7 +7424,7 @@ enum CreateKxDatabaseOutputError { enum CreateKxDataviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7445,7 +7445,7 @@ enum CreateKxDataviewOutputError { enum CreateKxEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7465,7 +7465,7 @@ enum CreateKxEnvironmentOutputError { enum CreateKxScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7485,7 +7485,7 @@ enum CreateKxScalingGroupOutputError { enum CreateKxUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7506,7 +7506,7 @@ enum CreateKxUserOutputError { enum CreateKxVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7527,7 +7527,7 @@ enum CreateKxVolumeOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7545,7 +7545,7 @@ enum DeleteEnvironmentOutputError { enum DeleteKxClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7565,7 +7565,7 @@ enum DeleteKxClusterOutputError { enum DeleteKxClusterNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7583,7 +7583,7 @@ enum DeleteKxClusterNodeOutputError { enum DeleteKxDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7602,7 +7602,7 @@ enum DeleteKxDatabaseOutputError { enum DeleteKxDataviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7621,7 +7621,7 @@ enum DeleteKxDataviewOutputError { enum DeleteKxEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7640,7 +7640,7 @@ enum DeleteKxEnvironmentOutputError { enum DeleteKxScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7660,7 +7660,7 @@ enum DeleteKxScalingGroupOutputError { enum DeleteKxUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7679,7 +7679,7 @@ enum DeleteKxUserOutputError { enum DeleteKxVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7699,7 +7699,7 @@ enum DeleteKxVolumeOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7716,7 +7716,7 @@ enum GetEnvironmentOutputError { enum GetKxChangesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7734,7 +7734,7 @@ enum GetKxChangesetOutputError { enum GetKxClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7754,7 +7754,7 @@ enum GetKxClusterOutputError { enum GetKxConnectionStringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7772,7 +7772,7 @@ enum GetKxConnectionStringOutputError { enum GetKxDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7790,7 +7790,7 @@ enum GetKxDatabaseOutputError { enum GetKxDataviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7808,7 +7808,7 @@ enum GetKxDataviewOutputError { enum GetKxEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7826,7 +7826,7 @@ enum GetKxEnvironmentOutputError { enum GetKxScalingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7846,7 +7846,7 @@ enum GetKxScalingGroupOutputError { enum GetKxUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7864,7 +7864,7 @@ enum GetKxUserOutputError { enum GetKxVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7884,7 +7884,7 @@ enum GetKxVolumeOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7900,7 +7900,7 @@ enum ListEnvironmentsOutputError { enum ListKxChangesetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7918,7 +7918,7 @@ enum ListKxChangesetsOutputError { enum ListKxClusterNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7937,7 +7937,7 @@ enum ListKxClusterNodesOutputError { enum ListKxClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7957,7 +7957,7 @@ enum ListKxClustersOutputError { enum ListKxDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7975,7 +7975,7 @@ enum ListKxDatabasesOutputError { enum ListKxDataviewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7993,7 +7993,7 @@ enum ListKxDataviewsOutputError { enum ListKxEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8009,7 +8009,7 @@ enum ListKxEnvironmentsOutputError { enum ListKxScalingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8029,7 +8029,7 @@ enum ListKxScalingGroupsOutputError { enum ListKxUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8047,7 +8047,7 @@ enum ListKxUsersOutputError { enum ListKxVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8067,7 +8067,7 @@ enum ListKxVolumesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8083,7 +8083,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8099,7 +8099,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8115,7 +8115,7 @@ enum UntagResourceOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8133,7 +8133,7 @@ enum UpdateEnvironmentOutputError { enum UpdateKxClusterCodeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8153,7 +8153,7 @@ enum UpdateKxClusterCodeConfigurationOutputError { enum UpdateKxClusterDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8173,7 +8173,7 @@ enum UpdateKxClusterDatabasesOutputError { enum UpdateKxDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8192,7 +8192,7 @@ enum UpdateKxDatabaseOutputError { enum UpdateKxDataviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8212,7 +8212,7 @@ enum UpdateKxDataviewOutputError { enum UpdateKxEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8231,7 +8231,7 @@ enum UpdateKxEnvironmentOutputError { enum UpdateKxEnvironmentNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8250,7 +8250,7 @@ enum UpdateKxEnvironmentNetworkOutputError { enum UpdateKxUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8270,7 +8270,7 @@ enum UpdateKxUserOutputError { enum UpdateKxVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/Models.swift b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/Models.swift index 804977a0e11..84d86f4842d 100644 --- a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/Models.swift +++ b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -185,7 +185,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -205,7 +205,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -225,7 +225,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -319,7 +319,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3651,7 +3651,7 @@ extension UpdateUserInput { extension AssociateUserToPermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateUserToPermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateUserToPermissionGroupOutput { var value = AssociateUserToPermissionGroupOutput() value.statusCode = httpResponse.statusCode.rawValue return value @@ -3660,7 +3660,7 @@ extension AssociateUserToPermissionGroupOutput { extension CreateChangesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChangesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChangesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3673,7 +3673,7 @@ extension CreateChangesetOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3685,7 +3685,7 @@ extension CreateDatasetOutput { extension CreateDataViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3698,7 +3698,7 @@ extension CreateDataViewOutput { extension CreatePermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePermissionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3710,7 +3710,7 @@ extension CreatePermissionGroupOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3722,7 +3722,7 @@ extension CreateUserOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3734,7 +3734,7 @@ extension DeleteDatasetOutput { extension DeletePermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3746,7 +3746,7 @@ extension DeletePermissionGroupOutput { extension DisableUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3758,7 +3758,7 @@ extension DisableUserOutput { extension DisassociateUserFromPermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateUserFromPermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateUserFromPermissionGroupOutput { var value = DisassociateUserFromPermissionGroupOutput() value.statusCode = httpResponse.statusCode.rawValue return value @@ -3767,7 +3767,7 @@ extension DisassociateUserFromPermissionGroupOutput { extension EnableUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3779,7 +3779,7 @@ extension EnableUserOutput { extension GetChangesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3803,7 +3803,7 @@ extension GetChangesetOutput { extension GetDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3824,7 +3824,7 @@ extension GetDatasetOutput { extension GetDataViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3847,7 +3847,7 @@ extension GetDataViewOutput { extension GetExternalDataViewAccessDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExternalDataViewAccessDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExternalDataViewAccessDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3860,7 +3860,7 @@ extension GetExternalDataViewAccessDetailsOutput { extension GetPermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPermissionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3872,7 +3872,7 @@ extension GetPermissionGroupOutput { extension GetProgrammaticAccessCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProgrammaticAccessCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProgrammaticAccessCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3885,7 +3885,7 @@ extension GetProgrammaticAccessCredentialsOutput { extension GetUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3909,7 +3909,7 @@ extension GetUserOutput { extension GetWorkingLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkingLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkingLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3923,7 +3923,7 @@ extension GetWorkingLocationOutput { extension ListChangesetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChangesetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChangesetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3936,7 +3936,7 @@ extension ListChangesetsOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3949,7 +3949,7 @@ extension ListDatasetsOutput { extension ListDataViewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataViewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataViewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3962,7 +3962,7 @@ extension ListDataViewsOutput { extension ListPermissionGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3975,7 +3975,7 @@ extension ListPermissionGroupsOutput { extension ListPermissionGroupsByUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionGroupsByUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionGroupsByUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3988,7 +3988,7 @@ extension ListPermissionGroupsByUserOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4001,7 +4001,7 @@ extension ListUsersOutput { extension ListUsersByPermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersByPermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersByPermissionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4014,7 +4014,7 @@ extension ListUsersByPermissionGroupOutput { extension ResetUserPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetUserPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetUserPasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4027,7 +4027,7 @@ extension ResetUserPasswordOutput { extension UpdateChangesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChangesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChangesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4040,7 +4040,7 @@ extension UpdateChangesetOutput { extension UpdateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4052,7 +4052,7 @@ extension UpdateDatasetOutput { extension UpdatePermissionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePermissionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePermissionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4064,7 +4064,7 @@ extension UpdatePermissionGroupOutput { extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4076,7 +4076,7 @@ extension UpdateUserOutput { enum AssociateUserToPermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4095,7 +4095,7 @@ enum AssociateUserToPermissionGroupOutputError { enum CreateChangesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4115,7 +4115,7 @@ enum CreateChangesetOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4135,7 +4135,7 @@ enum CreateDatasetOutputError { enum CreateDataViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4154,7 +4154,7 @@ enum CreateDataViewOutputError { enum CreatePermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4173,7 +4173,7 @@ enum CreatePermissionGroupOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4192,7 +4192,7 @@ enum CreateUserOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4212,7 +4212,7 @@ enum DeleteDatasetOutputError { enum DeletePermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4232,7 +4232,7 @@ enum DeletePermissionGroupOutputError { enum DisableUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4251,7 +4251,7 @@ enum DisableUserOutputError { enum DisassociateUserFromPermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4270,7 +4270,7 @@ enum DisassociateUserFromPermissionGroupOutputError { enum EnableUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4290,7 +4290,7 @@ enum EnableUserOutputError { enum GetChangesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4309,7 +4309,7 @@ enum GetChangesetOutputError { enum GetDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4328,7 +4328,7 @@ enum GetDatasetOutputError { enum GetDataViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4346,7 +4346,7 @@ enum GetDataViewOutputError { enum GetExternalDataViewAccessDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4364,7 +4364,7 @@ enum GetExternalDataViewAccessDetailsOutputError { enum GetPermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4382,7 +4382,7 @@ enum GetPermissionGroupOutputError { enum GetProgrammaticAccessCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4399,7 +4399,7 @@ enum GetProgrammaticAccessCredentialsOutputError { enum GetUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4417,7 +4417,7 @@ enum GetUserOutputError { enum GetWorkingLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4434,7 +4434,7 @@ enum GetWorkingLocationOutputError { enum ListChangesetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4453,7 +4453,7 @@ enum ListChangesetsOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4471,7 +4471,7 @@ enum ListDatasetsOutputError { enum ListDataViewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4489,7 +4489,7 @@ enum ListDataViewsOutputError { enum ListPermissionGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4506,7 +4506,7 @@ enum ListPermissionGroupsOutputError { enum ListPermissionGroupsByUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4524,7 +4524,7 @@ enum ListPermissionGroupsByUserOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4541,7 +4541,7 @@ enum ListUsersOutputError { enum ListUsersByPermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4559,7 +4559,7 @@ enum ListUsersByPermissionGroupOutputError { enum ResetUserPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4578,7 +4578,7 @@ enum ResetUserPasswordOutputError { enum UpdateChangesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4597,7 +4597,7 @@ enum UpdateChangesetOutputError { enum UpdateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4616,7 +4616,7 @@ enum UpdateDatasetOutputError { enum UpdatePermissionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4635,7 +4635,7 @@ enum UpdatePermissionGroupOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFirehose/Sources/AWSFirehose/Models.swift b/Sources/Services/AWSFirehose/Sources/AWSFirehose/Models.swift index 41a93ddc770..503f6324c7c 100644 --- a/Sources/Services/AWSFirehose/Sources/AWSFirehose/Models.swift +++ b/Sources/Services/AWSFirehose/Sources/AWSFirehose/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1190,7 +1190,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1269,7 +1269,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1294,7 +1294,7 @@ public struct InvalidKMSResourceException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1321,7 +1321,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1346,7 +1346,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3019,7 +3019,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4137,7 +4137,7 @@ public struct InvalidSourceException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4164,7 +4164,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4924,7 +4924,7 @@ extension UpdateDestinationInput { extension CreateDeliveryStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeliveryStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeliveryStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4936,14 +4936,14 @@ extension CreateDeliveryStreamOutput { extension DeleteDeliveryStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeliveryStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeliveryStreamOutput { return DeleteDeliveryStreamOutput() } } extension DescribeDeliveryStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeliveryStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeliveryStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4955,7 +4955,7 @@ extension DescribeDeliveryStreamOutput { extension ListDeliveryStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeliveryStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeliveryStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4968,7 +4968,7 @@ extension ListDeliveryStreamsOutput { extension ListTagsForDeliveryStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForDeliveryStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForDeliveryStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4981,7 +4981,7 @@ extension ListTagsForDeliveryStreamOutput { extension PutRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4994,7 +4994,7 @@ extension PutRecordOutput { extension PutRecordBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecordBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecordBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5008,42 +5008,42 @@ extension PutRecordBatchOutput { extension StartDeliveryStreamEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDeliveryStreamEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDeliveryStreamEncryptionOutput { return StartDeliveryStreamEncryptionOutput() } } extension StopDeliveryStreamEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDeliveryStreamEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDeliveryStreamEncryptionOutput { return StopDeliveryStreamEncryptionOutput() } } extension TagDeliveryStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagDeliveryStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagDeliveryStreamOutput { return TagDeliveryStreamOutput() } } extension UntagDeliveryStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagDeliveryStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagDeliveryStreamOutput { return UntagDeliveryStreamOutput() } } extension UpdateDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDestinationOutput { return UpdateDestinationOutput() } } enum CreateDeliveryStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5060,7 +5060,7 @@ enum CreateDeliveryStreamOutputError { enum DeleteDeliveryStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5075,7 +5075,7 @@ enum DeleteDeliveryStreamOutputError { enum DescribeDeliveryStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5089,7 +5089,7 @@ enum DescribeDeliveryStreamOutputError { enum ListDeliveryStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5102,7 +5102,7 @@ enum ListDeliveryStreamsOutputError { enum ListTagsForDeliveryStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5118,7 +5118,7 @@ enum ListTagsForDeliveryStreamOutputError { enum PutRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5136,7 +5136,7 @@ enum PutRecordOutputError { enum PutRecordBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5154,7 +5154,7 @@ enum PutRecordBatchOutputError { enum StartDeliveryStreamEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5172,7 +5172,7 @@ enum StartDeliveryStreamEncryptionOutputError { enum StopDeliveryStreamEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5189,7 +5189,7 @@ enum StopDeliveryStreamEncryptionOutputError { enum TagDeliveryStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5206,7 +5206,7 @@ enum TagDeliveryStreamOutputError { enum UntagDeliveryStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5223,7 +5223,7 @@ enum UntagDeliveryStreamOutputError { enum UpdateDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFis/Sources/AWSFis/Models.swift b/Sources/Services/AWSFis/Sources/AWSFis/Models.swift index e65eab7f359..65cee8be6c7 100644 --- a/Sources/Services/AWSFis/Sources/AWSFis/Models.swift +++ b/Sources/Services/AWSFis/Sources/AWSFis/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -196,7 +196,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -220,7 +220,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -244,7 +244,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -268,7 +268,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2804,7 +2804,7 @@ extension UpdateTargetAccountConfigurationInput { extension CreateExperimentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExperimentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExperimentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2816,7 +2816,7 @@ extension CreateExperimentTemplateOutput { extension CreateTargetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTargetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTargetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2828,7 +2828,7 @@ extension CreateTargetAccountConfigurationOutput { extension DeleteExperimentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExperimentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExperimentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2840,7 +2840,7 @@ extension DeleteExperimentTemplateOutput { extension DeleteTargetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTargetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTargetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2852,7 +2852,7 @@ extension DeleteTargetAccountConfigurationOutput { extension GetActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2864,7 +2864,7 @@ extension GetActionOutput { extension GetExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2876,7 +2876,7 @@ extension GetExperimentOutput { extension GetExperimentTargetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExperimentTargetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExperimentTargetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2888,7 +2888,7 @@ extension GetExperimentTargetAccountConfigurationOutput { extension GetExperimentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExperimentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExperimentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2900,7 +2900,7 @@ extension GetExperimentTemplateOutput { extension GetTargetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTargetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTargetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2912,7 +2912,7 @@ extension GetTargetAccountConfigurationOutput { extension GetTargetResourceTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTargetResourceTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTargetResourceTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2924,7 +2924,7 @@ extension GetTargetResourceTypeOutput { extension ListActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2937,7 +2937,7 @@ extension ListActionsOutput { extension ListExperimentResolvedTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperimentResolvedTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperimentResolvedTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2950,7 +2950,7 @@ extension ListExperimentResolvedTargetsOutput { extension ListExperimentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperimentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperimentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2963,7 +2963,7 @@ extension ListExperimentsOutput { extension ListExperimentTargetAccountConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperimentTargetAccountConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperimentTargetAccountConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2976,7 +2976,7 @@ extension ListExperimentTargetAccountConfigurationsOutput { extension ListExperimentTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperimentTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperimentTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2989,7 +2989,7 @@ extension ListExperimentTemplatesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3001,7 +3001,7 @@ extension ListTagsForResourceOutput { extension ListTargetAccountConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetAccountConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetAccountConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3014,7 +3014,7 @@ extension ListTargetAccountConfigurationsOutput { extension ListTargetResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetResourceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3027,7 +3027,7 @@ extension ListTargetResourceTypesOutput { extension StartExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3039,7 +3039,7 @@ extension StartExperimentOutput { extension StopExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3051,21 +3051,21 @@ extension StopExperimentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateExperimentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExperimentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExperimentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3077,7 +3077,7 @@ extension UpdateExperimentTemplateOutput { extension UpdateTargetAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTargetAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTargetAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3089,7 +3089,7 @@ extension UpdateTargetAccountConfigurationOutput { enum CreateExperimentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3106,7 +3106,7 @@ enum CreateExperimentTemplateOutputError { enum CreateTargetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3123,7 +3123,7 @@ enum CreateTargetAccountConfigurationOutputError { enum DeleteExperimentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3138,7 +3138,7 @@ enum DeleteExperimentTemplateOutputError { enum DeleteTargetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3153,7 +3153,7 @@ enum DeleteTargetAccountConfigurationOutputError { enum GetActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3168,7 +3168,7 @@ enum GetActionOutputError { enum GetExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3183,7 +3183,7 @@ enum GetExperimentOutputError { enum GetExperimentTargetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3198,7 +3198,7 @@ enum GetExperimentTargetAccountConfigurationOutputError { enum GetExperimentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3213,7 +3213,7 @@ enum GetExperimentTemplateOutputError { enum GetTargetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3228,7 +3228,7 @@ enum GetTargetAccountConfigurationOutputError { enum GetTargetResourceTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3243,7 +3243,7 @@ enum GetTargetResourceTypeOutputError { enum ListActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3257,7 +3257,7 @@ enum ListActionsOutputError { enum ListExperimentResolvedTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3272,7 +3272,7 @@ enum ListExperimentResolvedTargetsOutputError { enum ListExperimentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3286,7 +3286,7 @@ enum ListExperimentsOutputError { enum ListExperimentTargetAccountConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3301,7 +3301,7 @@ enum ListExperimentTargetAccountConfigurationsOutputError { enum ListExperimentTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3315,7 +3315,7 @@ enum ListExperimentTemplatesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3328,7 +3328,7 @@ enum ListTagsForResourceOutputError { enum ListTargetAccountConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3343,7 +3343,7 @@ enum ListTargetAccountConfigurationsOutputError { enum ListTargetResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3357,7 +3357,7 @@ enum ListTargetResourceTypesOutputError { enum StartExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3374,7 +3374,7 @@ enum StartExperimentOutputError { enum StopExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3389,7 +3389,7 @@ enum StopExperimentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3402,7 +3402,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3415,7 +3415,7 @@ enum UntagResourceOutputError { enum UpdateExperimentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3431,7 +3431,7 @@ enum UpdateExperimentTemplateOutputError { enum UpdateTargetAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSForecast/Sources/AWSForecast/Models.swift b/Sources/Services/AWSForecast/Sources/AWSForecast/Models.swift index 1e46bcbaf39..a0687aff73b 100644 --- a/Sources/Services/AWSForecast/Sources/AWSForecast/Models.swift +++ b/Sources/Services/AWSForecast/Sources/AWSForecast/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -338,7 +338,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -362,7 +362,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -386,7 +386,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -410,7 +410,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -434,7 +434,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4586,7 +4586,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6224,6 +6224,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagResourceOutput { public init() { } @@ -7310,7 +7315,7 @@ extension UpdateDatasetGroupInput { extension CreateAutoPredictorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAutoPredictorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAutoPredictorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7322,7 +7327,7 @@ extension CreateAutoPredictorOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7334,7 +7339,7 @@ extension CreateDatasetOutput { extension CreateDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7346,7 +7351,7 @@ extension CreateDatasetGroupOutput { extension CreateDatasetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7358,7 +7363,7 @@ extension CreateDatasetImportJobOutput { extension CreateExplainabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExplainabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExplainabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7370,7 +7375,7 @@ extension CreateExplainabilityOutput { extension CreateExplainabilityExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExplainabilityExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExplainabilityExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7382,7 +7387,7 @@ extension CreateExplainabilityExportOutput { extension CreateForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7394,7 +7399,7 @@ extension CreateForecastOutput { extension CreateForecastExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateForecastExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateForecastExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7406,7 +7411,7 @@ extension CreateForecastExportJobOutput { extension CreateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7418,7 +7423,7 @@ extension CreateMonitorOutput { extension CreatePredictorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePredictorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePredictorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7430,7 +7435,7 @@ extension CreatePredictorOutput { extension CreatePredictorBacktestExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePredictorBacktestExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePredictorBacktestExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7442,7 +7447,7 @@ extension CreatePredictorBacktestExportJobOutput { extension CreateWhatIfAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWhatIfAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWhatIfAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7454,7 +7459,7 @@ extension CreateWhatIfAnalysisOutput { extension CreateWhatIfForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWhatIfForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWhatIfForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7466,7 +7471,7 @@ extension CreateWhatIfForecastOutput { extension CreateWhatIfForecastExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWhatIfForecastExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWhatIfForecastExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7478,105 +7483,105 @@ extension CreateWhatIfForecastExportOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { return DeleteDatasetOutput() } } extension DeleteDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetGroupOutput { return DeleteDatasetGroupOutput() } } extension DeleteDatasetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetImportJobOutput { return DeleteDatasetImportJobOutput() } } extension DeleteExplainabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExplainabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExplainabilityOutput { return DeleteExplainabilityOutput() } } extension DeleteExplainabilityExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExplainabilityExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExplainabilityExportOutput { return DeleteExplainabilityExportOutput() } } extension DeleteForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteForecastOutput { return DeleteForecastOutput() } } extension DeleteForecastExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteForecastExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteForecastExportJobOutput { return DeleteForecastExportJobOutput() } } extension DeleteMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMonitorOutput { return DeleteMonitorOutput() } } extension DeletePredictorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePredictorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePredictorOutput { return DeletePredictorOutput() } } extension DeletePredictorBacktestExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePredictorBacktestExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePredictorBacktestExportJobOutput { return DeletePredictorBacktestExportJobOutput() } } extension DeleteResourceTreeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceTreeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceTreeOutput { return DeleteResourceTreeOutput() } } extension DeleteWhatIfAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWhatIfAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWhatIfAnalysisOutput { return DeleteWhatIfAnalysisOutput() } } extension DeleteWhatIfForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWhatIfForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWhatIfForecastOutput { return DeleteWhatIfForecastOutput() } } extension DeleteWhatIfForecastExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWhatIfForecastExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWhatIfForecastExportOutput { return DeleteWhatIfForecastExportOutput() } } extension DescribeAutoPredictorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoPredictorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoPredictorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7606,7 +7611,7 @@ extension DescribeAutoPredictorOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7627,7 +7632,7 @@ extension DescribeDatasetOutput { extension DescribeDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7645,7 +7650,7 @@ extension DescribeDatasetGroupOutput { extension DescribeDatasetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7673,7 +7678,7 @@ extension DescribeDatasetImportJobOutput { extension DescribeExplainabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExplainabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExplainabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7698,7 +7703,7 @@ extension DescribeExplainabilityOutput { extension DescribeExplainabilityExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExplainabilityExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExplainabilityExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7718,7 +7723,7 @@ extension DescribeExplainabilityExportOutput { extension DescribeForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7740,7 +7745,7 @@ extension DescribeForecastOutput { extension DescribeForecastExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeForecastExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeForecastExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7760,7 +7765,7 @@ extension DescribeForecastExportJobOutput { extension DescribeMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7782,7 +7787,7 @@ extension DescribeMonitorOutput { extension DescribePredictorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePredictorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePredictorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7817,7 +7822,7 @@ extension DescribePredictorOutput { extension DescribePredictorBacktestExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePredictorBacktestExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePredictorBacktestExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7837,7 +7842,7 @@ extension DescribePredictorBacktestExportJobOutput { extension DescribeWhatIfAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWhatIfAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWhatIfAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7857,7 +7862,7 @@ extension DescribeWhatIfAnalysisOutput { extension DescribeWhatIfForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWhatIfForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWhatIfForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7879,7 +7884,7 @@ extension DescribeWhatIfForecastOutput { extension DescribeWhatIfForecastExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWhatIfForecastExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWhatIfForecastExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7900,7 +7905,7 @@ extension DescribeWhatIfForecastExportOutput { extension GetAccuracyMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccuracyMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccuracyMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7915,7 +7920,7 @@ extension GetAccuracyMetricsOutput { extension ListDatasetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7928,7 +7933,7 @@ extension ListDatasetGroupsOutput { extension ListDatasetImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7941,7 +7946,7 @@ extension ListDatasetImportJobsOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7954,7 +7959,7 @@ extension ListDatasetsOutput { extension ListExplainabilitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExplainabilitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExplainabilitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7967,7 +7972,7 @@ extension ListExplainabilitiesOutput { extension ListExplainabilityExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExplainabilityExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExplainabilityExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7980,7 +7985,7 @@ extension ListExplainabilityExportsOutput { extension ListForecastExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListForecastExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListForecastExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7993,7 +7998,7 @@ extension ListForecastExportJobsOutput { extension ListForecastsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListForecastsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListForecastsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8006,7 +8011,7 @@ extension ListForecastsOutput { extension ListMonitorEvaluationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitorEvaluationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitorEvaluationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8019,7 +8024,7 @@ extension ListMonitorEvaluationsOutput { extension ListMonitorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8032,7 +8037,7 @@ extension ListMonitorsOutput { extension ListPredictorBacktestExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPredictorBacktestExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPredictorBacktestExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8045,7 +8050,7 @@ extension ListPredictorBacktestExportJobsOutput { extension ListPredictorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPredictorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPredictorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8058,7 +8063,7 @@ extension ListPredictorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8070,7 +8075,7 @@ extension ListTagsForResourceOutput { extension ListWhatIfAnalysesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWhatIfAnalysesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWhatIfAnalysesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8083,7 +8088,7 @@ extension ListWhatIfAnalysesOutput { extension ListWhatIfForecastExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWhatIfForecastExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWhatIfForecastExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8096,7 +8101,7 @@ extension ListWhatIfForecastExportsOutput { extension ListWhatIfForecastsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWhatIfForecastsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWhatIfForecastsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8109,42 +8114,42 @@ extension ListWhatIfForecastsOutput { extension ResumeResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeResourceOutput { return ResumeResourceOutput() } } extension StopResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopResourceOutput { return StopResourceOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetGroupOutput { return UpdateDatasetGroupOutput() } } enum CreateAutoPredictorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8162,7 +8167,7 @@ enum CreateAutoPredictorOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8178,7 +8183,7 @@ enum CreateDatasetOutputError { enum CreateDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8196,7 +8201,7 @@ enum CreateDatasetGroupOutputError { enum CreateDatasetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8214,7 +8219,7 @@ enum CreateDatasetImportJobOutputError { enum CreateExplainabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8232,7 +8237,7 @@ enum CreateExplainabilityOutputError { enum CreateExplainabilityExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8250,7 +8255,7 @@ enum CreateExplainabilityExportOutputError { enum CreateForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8268,7 +8273,7 @@ enum CreateForecastOutputError { enum CreateForecastExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8286,7 +8291,7 @@ enum CreateForecastExportJobOutputError { enum CreateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8304,7 +8309,7 @@ enum CreateMonitorOutputError { enum CreatePredictorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8322,7 +8327,7 @@ enum CreatePredictorOutputError { enum CreatePredictorBacktestExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8340,7 +8345,7 @@ enum CreatePredictorBacktestExportJobOutputError { enum CreateWhatIfAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8358,7 +8363,7 @@ enum CreateWhatIfAnalysisOutputError { enum CreateWhatIfForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8376,7 +8381,7 @@ enum CreateWhatIfForecastOutputError { enum CreateWhatIfForecastExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8394,7 +8399,7 @@ enum CreateWhatIfForecastExportOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8410,7 +8415,7 @@ enum DeleteDatasetOutputError { enum DeleteDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8426,7 +8431,7 @@ enum DeleteDatasetGroupOutputError { enum DeleteDatasetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8442,7 +8447,7 @@ enum DeleteDatasetImportJobOutputError { enum DeleteExplainabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8458,7 +8463,7 @@ enum DeleteExplainabilityOutputError { enum DeleteExplainabilityExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8474,7 +8479,7 @@ enum DeleteExplainabilityExportOutputError { enum DeleteForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8490,7 +8495,7 @@ enum DeleteForecastOutputError { enum DeleteForecastExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8506,7 +8511,7 @@ enum DeleteForecastExportJobOutputError { enum DeleteMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8522,7 +8527,7 @@ enum DeleteMonitorOutputError { enum DeletePredictorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8538,7 +8543,7 @@ enum DeletePredictorOutputError { enum DeletePredictorBacktestExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8554,7 +8559,7 @@ enum DeletePredictorBacktestExportJobOutputError { enum DeleteResourceTreeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8570,7 +8575,7 @@ enum DeleteResourceTreeOutputError { enum DeleteWhatIfAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8586,7 +8591,7 @@ enum DeleteWhatIfAnalysisOutputError { enum DeleteWhatIfForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8602,7 +8607,7 @@ enum DeleteWhatIfForecastOutputError { enum DeleteWhatIfForecastExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8618,7 +8623,7 @@ enum DeleteWhatIfForecastExportOutputError { enum DescribeAutoPredictorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8633,7 +8638,7 @@ enum DescribeAutoPredictorOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8648,7 +8653,7 @@ enum DescribeDatasetOutputError { enum DescribeDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8663,7 +8668,7 @@ enum DescribeDatasetGroupOutputError { enum DescribeDatasetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8678,7 +8683,7 @@ enum DescribeDatasetImportJobOutputError { enum DescribeExplainabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8693,7 +8698,7 @@ enum DescribeExplainabilityOutputError { enum DescribeExplainabilityExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8708,7 +8713,7 @@ enum DescribeExplainabilityExportOutputError { enum DescribeForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8723,7 +8728,7 @@ enum DescribeForecastOutputError { enum DescribeForecastExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8738,7 +8743,7 @@ enum DescribeForecastExportJobOutputError { enum DescribeMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8753,7 +8758,7 @@ enum DescribeMonitorOutputError { enum DescribePredictorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8768,7 +8773,7 @@ enum DescribePredictorOutputError { enum DescribePredictorBacktestExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8783,7 +8788,7 @@ enum DescribePredictorBacktestExportJobOutputError { enum DescribeWhatIfAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8798,7 +8803,7 @@ enum DescribeWhatIfAnalysisOutputError { enum DescribeWhatIfForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8813,7 +8818,7 @@ enum DescribeWhatIfForecastOutputError { enum DescribeWhatIfForecastExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8828,7 +8833,7 @@ enum DescribeWhatIfForecastExportOutputError { enum GetAccuracyMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8844,7 +8849,7 @@ enum GetAccuracyMetricsOutputError { enum ListDatasetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8858,7 +8863,7 @@ enum ListDatasetGroupsOutputError { enum ListDatasetImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8873,7 +8878,7 @@ enum ListDatasetImportJobsOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8887,7 +8892,7 @@ enum ListDatasetsOutputError { enum ListExplainabilitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8902,7 +8907,7 @@ enum ListExplainabilitiesOutputError { enum ListExplainabilityExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8917,7 +8922,7 @@ enum ListExplainabilityExportsOutputError { enum ListForecastExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8932,7 +8937,7 @@ enum ListForecastExportJobsOutputError { enum ListForecastsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8947,7 +8952,7 @@ enum ListForecastsOutputError { enum ListMonitorEvaluationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8963,7 +8968,7 @@ enum ListMonitorEvaluationsOutputError { enum ListMonitorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8978,7 +8983,7 @@ enum ListMonitorsOutputError { enum ListPredictorBacktestExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8993,7 +8998,7 @@ enum ListPredictorBacktestExportJobsOutputError { enum ListPredictorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9008,7 +9013,7 @@ enum ListPredictorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9023,7 +9028,7 @@ enum ListTagsForResourceOutputError { enum ListWhatIfAnalysesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9038,7 +9043,7 @@ enum ListWhatIfAnalysesOutputError { enum ListWhatIfForecastExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9053,7 +9058,7 @@ enum ListWhatIfForecastExportsOutputError { enum ListWhatIfForecastsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9068,7 +9073,7 @@ enum ListWhatIfForecastsOutputError { enum ResumeResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9085,7 +9090,7 @@ enum ResumeResourceOutputError { enum StopResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9101,7 +9106,7 @@ enum StopResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9117,7 +9122,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9132,7 +9137,7 @@ enum UntagResourceOutputError { enum UpdateDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/Models.swift b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/Models.swift index cfe4f6fab34..1407b433a46 100644 --- a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/Models.swift +++ b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -56,7 +56,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -80,7 +80,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -104,7 +104,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -128,7 +128,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -309,7 +309,7 @@ extension QueryWhatIfForecastInput { extension QueryForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -321,7 +321,7 @@ extension QueryForecastOutput { extension QueryWhatIfForecastOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryWhatIfForecastOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryWhatIfForecastOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -333,7 +333,7 @@ extension QueryWhatIfForecastOutput { enum QueryForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -351,7 +351,7 @@ enum QueryForecastOutputError { enum QueryWhatIfForecastOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/Models.swift b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/Models.swift index e8423feb969..b72677766d9 100644 --- a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/Models.swift +++ b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -41,7 +41,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -299,7 +299,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -324,7 +324,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -631,7 +631,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1010,6 +1010,11 @@ public struct CreateListInput { } } +extension CreateListInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateListInput(description: \(Swift.String(describing: description)), name: \(Swift.String(describing: name)), tags: \(Swift.String(describing: tags)), variableType: \(Swift.String(describing: variableType)), elements: \"CONTENT_REDACTED\")"} +} + public struct CreateListOutput { public init() { } @@ -1470,7 +1475,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2889,6 +2894,11 @@ extension FraudDetectorClientTypes { } +extension FraudDetectorClientTypes.Event: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Event(currentLabel: \(Swift.String(describing: currentLabel)), eventId: \(Swift.String(describing: eventId)), eventTimestamp: \(Swift.String(describing: eventTimestamp)), eventTypeName: \(Swift.String(describing: eventTypeName)), labelTimestamp: \(Swift.String(describing: labelTimestamp)), entities: \"CONTENT_REDACTED\", eventVariables: [keys: \(Swift.String(describing: eventVariables?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct GetEventOutput { /// The details of the event. public var event: FraudDetectorClientTypes.Event? @@ -2913,7 +2923,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2993,7 +3003,7 @@ public struct GetEventPredictionInput { extension GetEventPredictionInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetEventPredictionInput(detectorId: \(Swift.String(describing: detectorId)), detectorVersionId: \(Swift.String(describing: detectorVersionId)), entities: \(Swift.String(describing: entities)), eventId: \(Swift.String(describing: eventId)), eventTimestamp: \(Swift.String(describing: eventTimestamp)), eventTypeName: \(Swift.String(describing: eventTypeName)), eventVariables: \(Swift.String(describing: eventVariables)), externalModelEndpointDataBlobs: \"CONTENT_REDACTED\")"} + "GetEventPredictionInput(detectorId: \(Swift.String(describing: detectorId)), detectorVersionId: \(Swift.String(describing: detectorVersionId)), eventId: \(Swift.String(describing: eventId)), eventTimestamp: \(Swift.String(describing: eventTimestamp)), eventTypeName: \(Swift.String(describing: eventTypeName)), entities: \"CONTENT_REDACTED\", eventVariables: [keys: \(Swift.String(describing: eventVariables?.keys)), values: \"CONTENT_REDACTED\"], externalModelEndpointDataBlobs: \"CONTENT_REDACTED\")"} } extension FraudDetectorClientTypes { @@ -3606,6 +3616,11 @@ public struct GetEventTypesOutput { } } +extension GetEventTypesOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetEventTypesOutput(nextToken: \(Swift.String(describing: nextToken)), eventTypes: \"CONTENT_REDACTED\")"} +} + public struct GetExternalModelsInput { /// The maximum number of objects to return for the request. public var maxResults: Swift.Int? @@ -3968,6 +3983,11 @@ public struct GetListElementsOutput { } } +extension GetListElementsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetListElementsOutput(nextToken: \(Swift.String(describing: nextToken)), elements: \"CONTENT_REDACTED\")"} +} + public struct GetListsMetadataInput { /// The maximum number of objects to return for the request. public var maxResults: Swift.Int? @@ -4801,6 +4821,11 @@ public struct SendEventInput { } } +extension SendEventInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SendEventInput(assignedLabel: \(Swift.String(describing: assignedLabel)), eventId: \(Swift.String(describing: eventId)), eventTimestamp: \(Swift.String(describing: eventTimestamp)), eventTypeName: \(Swift.String(describing: eventTypeName)), labelTimestamp: \(Swift.String(describing: labelTimestamp)), entities: \"CONTENT_REDACTED\", eventVariables: [keys: \(Swift.String(describing: eventVariables?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct SendEventOutput { public init() { } @@ -5053,6 +5078,11 @@ public struct UpdateListInput { } } +extension UpdateListInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateListInput(description: \(Swift.String(describing: description)), name: \(Swift.String(describing: name)), updateMode: \(Swift.String(describing: updateMode)), variableType: \(Swift.String(describing: variableType)), elements: \"CONTENT_REDACTED\")"} +} + public struct UpdateListOutput { public init() { } @@ -6587,7 +6617,7 @@ extension UpdateVariableInput { extension BatchCreateVariableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateVariableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateVariableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6599,7 +6629,7 @@ extension BatchCreateVariableOutput { extension BatchGetVariableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetVariableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetVariableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6612,35 +6642,35 @@ extension BatchGetVariableOutput { extension CancelBatchImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelBatchImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelBatchImportJobOutput { return CancelBatchImportJobOutput() } } extension CancelBatchPredictionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelBatchPredictionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelBatchPredictionJobOutput { return CancelBatchPredictionJobOutput() } } extension CreateBatchImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBatchImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBatchImportJobOutput { return CreateBatchImportJobOutput() } } extension CreateBatchPredictionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBatchPredictionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBatchPredictionJobOutput { return CreateBatchPredictionJobOutput() } } extension CreateDetectorVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDetectorVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDetectorVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6654,21 +6684,21 @@ extension CreateDetectorVersionOutput { extension CreateListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateListOutput { return CreateListOutput() } } extension CreateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelOutput { return CreateModelOutput() } } extension CreateModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6683,7 +6713,7 @@ extension CreateModelVersionOutput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6695,56 +6725,56 @@ extension CreateRuleOutput { extension CreateVariableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVariableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVariableOutput { return CreateVariableOutput() } } extension DeleteBatchImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBatchImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBatchImportJobOutput { return DeleteBatchImportJobOutput() } } extension DeleteBatchPredictionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBatchPredictionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBatchPredictionJobOutput { return DeleteBatchPredictionJobOutput() } } extension DeleteDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDetectorOutput { return DeleteDetectorOutput() } } extension DeleteDetectorVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDetectorVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDetectorVersionOutput { return DeleteDetectorVersionOutput() } } extension DeleteEntityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEntityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEntityTypeOutput { return DeleteEntityTypeOutput() } } extension DeleteEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventOutput { return DeleteEventOutput() } } extension DeleteEventsByEventTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventsByEventTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventsByEventTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6757,70 +6787,70 @@ extension DeleteEventsByEventTypeOutput { extension DeleteEventTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventTypeOutput { return DeleteEventTypeOutput() } } extension DeleteExternalModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExternalModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExternalModelOutput { return DeleteExternalModelOutput() } } extension DeleteLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLabelOutput { return DeleteLabelOutput() } } extension DeleteListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteListOutput { return DeleteListOutput() } } extension DeleteModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelOutput { return DeleteModelOutput() } } extension DeleteModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelVersionOutput { return DeleteModelVersionOutput() } } extension DeleteOutcomeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOutcomeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOutcomeOutput { return DeleteOutcomeOutput() } } extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension DeleteVariableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVariableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVariableOutput { return DeleteVariableOutput() } } extension DescribeDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6835,7 +6865,7 @@ extension DescribeDetectorOutput { extension DescribeModelVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6848,7 +6878,7 @@ extension DescribeModelVersionsOutput { extension GetBatchImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBatchImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBatchImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6861,7 +6891,7 @@ extension GetBatchImportJobsOutput { extension GetBatchPredictionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBatchPredictionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBatchPredictionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6874,7 +6904,7 @@ extension GetBatchPredictionJobsOutput { extension GetDeleteEventsByEventTypeStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeleteEventsByEventTypeStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeleteEventsByEventTypeStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6887,7 +6917,7 @@ extension GetDeleteEventsByEventTypeStatusOutput { extension GetDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6900,7 +6930,7 @@ extension GetDetectorsOutput { extension GetDetectorVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDetectorVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDetectorVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6922,7 +6952,7 @@ extension GetDetectorVersionOutput { extension GetEntityTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEntityTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEntityTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6935,7 +6965,7 @@ extension GetEntityTypesOutput { extension GetEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6947,7 +6977,7 @@ extension GetEventOutput { extension GetEventPredictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventPredictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventPredictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6961,7 +6991,7 @@ extension GetEventPredictionOutput { extension GetEventPredictionMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventPredictionMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventPredictionMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6987,7 +7017,7 @@ extension GetEventPredictionMetadataOutput { extension GetEventTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7000,7 +7030,7 @@ extension GetEventTypesOutput { extension GetExternalModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExternalModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExternalModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7013,7 +7043,7 @@ extension GetExternalModelsOutput { extension GetKMSEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKMSEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKMSEncryptionKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7025,7 +7055,7 @@ extension GetKMSEncryptionKeyOutput { extension GetLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7038,7 +7068,7 @@ extension GetLabelsOutput { extension GetListElementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetListElementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetListElementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7051,7 +7081,7 @@ extension GetListElementsOutput { extension GetListsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetListsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetListsMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7064,7 +7094,7 @@ extension GetListsMetadataOutput { extension GetModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7077,7 +7107,7 @@ extension GetModelsOutput { extension GetModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7097,7 +7127,7 @@ extension GetModelVersionOutput { extension GetOutcomesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOutcomesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOutcomesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7110,7 +7140,7 @@ extension GetOutcomesOutput { extension GetRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7123,7 +7153,7 @@ extension GetRulesOutput { extension GetVariablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVariablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVariablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7136,7 +7166,7 @@ extension GetVariablesOutput { extension ListEventPredictionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventPredictionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventPredictionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7149,7 +7179,7 @@ extension ListEventPredictionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7162,119 +7192,119 @@ extension ListTagsForResourceOutput { extension PutDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDetectorOutput { return PutDetectorOutput() } } extension PutEntityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEntityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEntityTypeOutput { return PutEntityTypeOutput() } } extension PutEventTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventTypeOutput { return PutEventTypeOutput() } } extension PutExternalModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutExternalModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutExternalModelOutput { return PutExternalModelOutput() } } extension PutKMSEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutKMSEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutKMSEncryptionKeyOutput { return PutKMSEncryptionKeyOutput() } } extension PutLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLabelOutput { return PutLabelOutput() } } extension PutOutcomeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutOutcomeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOutcomeOutput { return PutOutcomeOutput() } } extension SendEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendEventOutput { return SendEventOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDetectorVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDetectorVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDetectorVersionOutput { return UpdateDetectorVersionOutput() } } extension UpdateDetectorVersionMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDetectorVersionMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDetectorVersionMetadataOutput { return UpdateDetectorVersionMetadataOutput() } } extension UpdateDetectorVersionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDetectorVersionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDetectorVersionStatusOutput { return UpdateDetectorVersionStatusOutput() } } extension UpdateEventLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventLabelOutput { return UpdateEventLabelOutput() } } extension UpdateListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateListOutput { return UpdateListOutput() } } extension UpdateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelOutput { return UpdateModelOutput() } } extension UpdateModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7289,21 +7319,21 @@ extension UpdateModelVersionOutput { extension UpdateModelVersionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelVersionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelVersionStatusOutput { return UpdateModelVersionStatusOutput() } } extension UpdateRuleMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleMetadataOutput { return UpdateRuleMetadataOutput() } } extension UpdateRuleVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7315,14 +7345,14 @@ extension UpdateRuleVersionOutput { extension UpdateVariableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVariableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVariableOutput { return UpdateVariableOutput() } } enum BatchCreateVariableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7339,7 +7369,7 @@ enum BatchCreateVariableOutputError { enum BatchGetVariableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7356,7 +7386,7 @@ enum BatchGetVariableOutputError { enum CancelBatchImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7374,7 +7404,7 @@ enum CancelBatchImportJobOutputError { enum CancelBatchPredictionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7392,7 +7422,7 @@ enum CancelBatchPredictionJobOutputError { enum CreateBatchImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7410,7 +7440,7 @@ enum CreateBatchImportJobOutputError { enum CreateBatchPredictionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7428,7 +7458,7 @@ enum CreateBatchPredictionJobOutputError { enum CreateDetectorVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7446,7 +7476,7 @@ enum CreateDetectorVersionOutputError { enum CreateListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7463,7 +7493,7 @@ enum CreateListOutputError { enum CreateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7480,7 +7510,7 @@ enum CreateModelOutputError { enum CreateModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7498,7 +7528,7 @@ enum CreateModelVersionOutputError { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7515,7 +7545,7 @@ enum CreateRuleOutputError { enum CreateVariableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7532,7 +7562,7 @@ enum CreateVariableOutputError { enum DeleteBatchImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7549,7 +7579,7 @@ enum DeleteBatchImportJobOutputError { enum DeleteBatchPredictionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7566,7 +7596,7 @@ enum DeleteBatchPredictionJobOutputError { enum DeleteDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7584,7 +7614,7 @@ enum DeleteDetectorOutputError { enum DeleteDetectorVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7603,7 +7633,7 @@ enum DeleteDetectorVersionOutputError { enum DeleteEntityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7621,7 +7651,7 @@ enum DeleteEntityTypeOutputError { enum DeleteEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7638,7 +7668,7 @@ enum DeleteEventOutputError { enum DeleteEventsByEventTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7657,7 +7687,7 @@ enum DeleteEventsByEventTypeOutputError { enum DeleteEventTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7675,7 +7705,7 @@ enum DeleteEventTypeOutputError { enum DeleteExternalModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7693,7 +7723,7 @@ enum DeleteExternalModelOutputError { enum DeleteLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7710,7 +7740,7 @@ enum DeleteLabelOutputError { enum DeleteListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7728,7 +7758,7 @@ enum DeleteListOutputError { enum DeleteModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7746,7 +7776,7 @@ enum DeleteModelOutputError { enum DeleteModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7764,7 +7794,7 @@ enum DeleteModelVersionOutputError { enum DeleteOutcomeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7782,7 +7812,7 @@ enum DeleteOutcomeOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7800,7 +7830,7 @@ enum DeleteRuleOutputError { enum DeleteVariableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7818,7 +7848,7 @@ enum DeleteVariableOutputError { enum DescribeDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7836,7 +7866,7 @@ enum DescribeDetectorOutputError { enum DescribeModelVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7854,7 +7884,7 @@ enum DescribeModelVersionsOutputError { enum GetBatchImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7872,7 +7902,7 @@ enum GetBatchImportJobsOutputError { enum GetBatchPredictionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7890,7 +7920,7 @@ enum GetBatchPredictionJobsOutputError { enum GetDeleteEventsByEventTypeStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7908,7 +7938,7 @@ enum GetDeleteEventsByEventTypeStatusOutputError { enum GetDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7926,7 +7956,7 @@ enum GetDetectorsOutputError { enum GetDetectorVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7944,7 +7974,7 @@ enum GetDetectorVersionOutputError { enum GetEntityTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7962,7 +7992,7 @@ enum GetEntityTypesOutputError { enum GetEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7980,7 +8010,7 @@ enum GetEventOutputError { enum GetEventPredictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8000,7 +8030,7 @@ enum GetEventPredictionOutputError { enum GetEventPredictionMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8018,7 +8048,7 @@ enum GetEventPredictionMetadataOutputError { enum GetEventTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8036,7 +8066,7 @@ enum GetEventTypesOutputError { enum GetExternalModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8054,7 +8084,7 @@ enum GetExternalModelsOutputError { enum GetKMSEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8071,7 +8101,7 @@ enum GetKMSEncryptionKeyOutputError { enum GetLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8089,7 +8119,7 @@ enum GetLabelsOutputError { enum GetListElementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8107,7 +8137,7 @@ enum GetListElementsOutputError { enum GetListsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8125,7 +8155,7 @@ enum GetListsMetadataOutputError { enum GetModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8143,7 +8173,7 @@ enum GetModelsOutputError { enum GetModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8161,7 +8191,7 @@ enum GetModelVersionOutputError { enum GetOutcomesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8179,7 +8209,7 @@ enum GetOutcomesOutputError { enum GetRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8197,7 +8227,7 @@ enum GetRulesOutputError { enum GetVariablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8215,7 +8245,7 @@ enum GetVariablesOutputError { enum ListEventPredictionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8232,7 +8262,7 @@ enum ListEventPredictionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8249,7 +8279,7 @@ enum ListTagsForResourceOutputError { enum PutDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8267,7 +8297,7 @@ enum PutDetectorOutputError { enum PutEntityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8285,7 +8315,7 @@ enum PutEntityTypeOutputError { enum PutEventTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8303,7 +8333,7 @@ enum PutEventTypeOutputError { enum PutExternalModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8321,7 +8351,7 @@ enum PutExternalModelOutputError { enum PutKMSEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8340,7 +8370,7 @@ enum PutKMSEncryptionKeyOutputError { enum PutLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8358,7 +8388,7 @@ enum PutLabelOutputError { enum PutOutcomeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8376,7 +8406,7 @@ enum PutOutcomeOutputError { enum SendEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8395,7 +8425,7 @@ enum SendEventOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8412,7 +8442,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8429,7 +8459,7 @@ enum UntagResourceOutputError { enum UpdateDetectorVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8448,7 +8478,7 @@ enum UpdateDetectorVersionOutputError { enum UpdateDetectorVersionMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8466,7 +8496,7 @@ enum UpdateDetectorVersionMetadataOutputError { enum UpdateDetectorVersionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8485,7 +8515,7 @@ enum UpdateDetectorVersionStatusOutputError { enum UpdateEventLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8504,7 +8534,7 @@ enum UpdateEventLabelOutputError { enum UpdateListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8523,7 +8553,7 @@ enum UpdateListOutputError { enum UpdateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8542,7 +8572,7 @@ enum UpdateModelOutputError { enum UpdateModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8561,7 +8591,7 @@ enum UpdateModelVersionOutputError { enum UpdateModelVersionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8580,7 +8610,7 @@ enum UpdateModelVersionStatusOutputError { enum UpdateRuleMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8599,7 +8629,7 @@ enum UpdateRuleMetadataOutputError { enum UpdateRuleVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8618,7 +8648,7 @@ enum UpdateRuleVersionOutputError { enum UpdateVariableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/Models.swift b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/Models.swift index 93625640b3b..86f96eeafca 100644 --- a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/Models.swift +++ b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -348,7 +348,7 @@ extension GetFreeTierUsageInput { extension GetFreeTierUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFreeTierUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFreeTierUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -361,7 +361,7 @@ extension GetFreeTierUsageOutput { enum GetFreeTierUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGameLift/Sources/AWSGameLift/Models.swift b/Sources/Services/AWSGameLift/Sources/AWSGameLift/Models.swift index 5688f5b671a..5b6b4c7ce4d 100644 --- a/Sources/Services/AWSGameLift/Sources/AWSGameLift/Models.swift +++ b/Sources/Services/AWSGameLift/Sources/AWSGameLift/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -99,7 +99,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -123,7 +123,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -147,7 +147,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct UnsupportedRegionException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -684,7 +684,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -708,7 +708,7 @@ public struct OutOfCapacityException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -732,7 +732,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2332,7 +2332,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2356,7 +2356,7 @@ public struct TaggingFailedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2578,7 +2578,7 @@ public struct NotReadyException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3206,7 +3206,7 @@ public struct InvalidFleetStatusException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3893,7 +3893,7 @@ public struct FleetCapacityExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3917,7 +3917,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3941,7 +3941,7 @@ public struct TerminalRoutingStrategyException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4790,7 +4790,7 @@ public struct GameSessionFullException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4814,7 +4814,7 @@ public struct InvalidGameSessionStatusException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11906,14 +11906,14 @@ extension ValidateMatchmakingRuleSetInput { extension AcceptMatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptMatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptMatchOutput { return AcceptMatchOutput() } } extension ClaimGameServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClaimGameServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClaimGameServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11925,7 +11925,7 @@ extension ClaimGameServerOutput { extension CreateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11937,7 +11937,7 @@ extension CreateAliasOutput { extension CreateBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBuildOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11951,7 +11951,7 @@ extension CreateBuildOutput { extension CreateContainerGroupDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContainerGroupDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContainerGroupDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11963,7 +11963,7 @@ extension CreateContainerGroupDefinitionOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11976,7 +11976,7 @@ extension CreateFleetOutput { extension CreateFleetLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11990,7 +11990,7 @@ extension CreateFleetLocationsOutput { extension CreateGameServerGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGameServerGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGameServerGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12002,7 +12002,7 @@ extension CreateGameServerGroupOutput { extension CreateGameSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGameSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGameSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12014,7 +12014,7 @@ extension CreateGameSessionOutput { extension CreateGameSessionQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGameSessionQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGameSessionQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12026,7 +12026,7 @@ extension CreateGameSessionQueueOutput { extension CreateLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12038,7 +12038,7 @@ extension CreateLocationOutput { extension CreateMatchmakingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMatchmakingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMatchmakingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12050,7 +12050,7 @@ extension CreateMatchmakingConfigurationOutput { extension CreateMatchmakingRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMatchmakingRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMatchmakingRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12062,7 +12062,7 @@ extension CreateMatchmakingRuleSetOutput { extension CreatePlayerSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlayerSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlayerSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12074,7 +12074,7 @@ extension CreatePlayerSessionOutput { extension CreatePlayerSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlayerSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlayerSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12086,7 +12086,7 @@ extension CreatePlayerSessionsOutput { extension CreateScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12098,7 +12098,7 @@ extension CreateScriptOutput { extension CreateVpcPeeringAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcPeeringAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcPeeringAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12110,42 +12110,42 @@ extension CreateVpcPeeringAuthorizationOutput { extension CreateVpcPeeringConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcPeeringConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcPeeringConnectionOutput { return CreateVpcPeeringConnectionOutput() } } extension DeleteAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAliasOutput { return DeleteAliasOutput() } } extension DeleteBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBuildOutput { return DeleteBuildOutput() } } extension DeleteContainerGroupDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContainerGroupDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContainerGroupDefinitionOutput { return DeleteContainerGroupDefinitionOutput() } } extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { return DeleteFleetOutput() } } extension DeleteFleetLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12159,7 +12159,7 @@ extension DeleteFleetLocationsOutput { extension DeleteGameServerGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGameServerGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGameServerGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12171,77 +12171,77 @@ extension DeleteGameServerGroupOutput { extension DeleteGameSessionQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGameSessionQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGameSessionQueueOutput { return DeleteGameSessionQueueOutput() } } extension DeleteLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLocationOutput { return DeleteLocationOutput() } } extension DeleteMatchmakingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMatchmakingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMatchmakingConfigurationOutput { return DeleteMatchmakingConfigurationOutput() } } extension DeleteMatchmakingRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMatchmakingRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMatchmakingRuleSetOutput { return DeleteMatchmakingRuleSetOutput() } } extension DeleteScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScalingPolicyOutput { return DeleteScalingPolicyOutput() } } extension DeleteScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScriptOutput { return DeleteScriptOutput() } } extension DeleteVpcPeeringAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcPeeringAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcPeeringAuthorizationOutput { return DeleteVpcPeeringAuthorizationOutput() } } extension DeleteVpcPeeringConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcPeeringConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcPeeringConnectionOutput { return DeleteVpcPeeringConnectionOutput() } } extension DeregisterComputeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterComputeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterComputeOutput { return DeregisterComputeOutput() } } extension DeregisterGameServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterGameServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterGameServerOutput { return DeregisterGameServerOutput() } } extension DescribeAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12253,7 +12253,7 @@ extension DescribeAliasOutput { extension DescribeBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBuildOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12265,7 +12265,7 @@ extension DescribeBuildOutput { extension DescribeComputeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComputeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComputeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12277,7 +12277,7 @@ extension DescribeComputeOutput { extension DescribeContainerGroupDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContainerGroupDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContainerGroupDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12289,7 +12289,7 @@ extension DescribeContainerGroupDefinitionOutput { extension DescribeEC2InstanceLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEC2InstanceLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEC2InstanceLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12301,7 +12301,7 @@ extension DescribeEC2InstanceLimitsOutput { extension DescribeFleetAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12314,7 +12314,7 @@ extension DescribeFleetAttributesOutput { extension DescribeFleetCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetCapacityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12327,7 +12327,7 @@ extension DescribeFleetCapacityOutput { extension DescribeFleetEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12340,7 +12340,7 @@ extension DescribeFleetEventsOutput { extension DescribeFleetLocationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetLocationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetLocationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12355,7 +12355,7 @@ extension DescribeFleetLocationAttributesOutput { extension DescribeFleetLocationCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetLocationCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetLocationCapacityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12367,7 +12367,7 @@ extension DescribeFleetLocationCapacityOutput { extension DescribeFleetLocationUtilizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetLocationUtilizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetLocationUtilizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12379,7 +12379,7 @@ extension DescribeFleetLocationUtilizationOutput { extension DescribeFleetPortSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetPortSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetPortSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12395,7 +12395,7 @@ extension DescribeFleetPortSettingsOutput { extension DescribeFleetUtilizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetUtilizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetUtilizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12408,7 +12408,7 @@ extension DescribeFleetUtilizationOutput { extension DescribeGameServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12420,7 +12420,7 @@ extension DescribeGameServerOutput { extension DescribeGameServerGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameServerGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameServerGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12432,7 +12432,7 @@ extension DescribeGameServerGroupOutput { extension DescribeGameServerInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameServerInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameServerInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12445,7 +12445,7 @@ extension DescribeGameServerInstancesOutput { extension DescribeGameSessionDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameSessionDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameSessionDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12458,7 +12458,7 @@ extension DescribeGameSessionDetailsOutput { extension DescribeGameSessionPlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameSessionPlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameSessionPlacementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12470,7 +12470,7 @@ extension DescribeGameSessionPlacementOutput { extension DescribeGameSessionQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameSessionQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameSessionQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12483,7 +12483,7 @@ extension DescribeGameSessionQueuesOutput { extension DescribeGameSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGameSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGameSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12496,7 +12496,7 @@ extension DescribeGameSessionsOutput { extension DescribeInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12509,7 +12509,7 @@ extension DescribeInstancesOutput { extension DescribeMatchmakingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMatchmakingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMatchmakingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12521,7 +12521,7 @@ extension DescribeMatchmakingOutput { extension DescribeMatchmakingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMatchmakingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMatchmakingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12534,7 +12534,7 @@ extension DescribeMatchmakingConfigurationsOutput { extension DescribeMatchmakingRuleSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMatchmakingRuleSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMatchmakingRuleSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12547,7 +12547,7 @@ extension DescribeMatchmakingRuleSetsOutput { extension DescribePlayerSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePlayerSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePlayerSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12560,7 +12560,7 @@ extension DescribePlayerSessionsOutput { extension DescribeRuntimeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuntimeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuntimeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12572,7 +12572,7 @@ extension DescribeRuntimeConfigurationOutput { extension DescribeScalingPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScalingPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScalingPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12585,7 +12585,7 @@ extension DescribeScalingPoliciesOutput { extension DescribeScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12597,7 +12597,7 @@ extension DescribeScriptOutput { extension DescribeVpcPeeringAuthorizationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcPeeringAuthorizationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcPeeringAuthorizationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12609,7 +12609,7 @@ extension DescribeVpcPeeringAuthorizationsOutput { extension DescribeVpcPeeringConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcPeeringConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcPeeringConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12621,7 +12621,7 @@ extension DescribeVpcPeeringConnectionsOutput { extension GetComputeAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComputeAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComputeAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12638,7 +12638,7 @@ extension GetComputeAccessOutput { extension GetComputeAuthTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComputeAuthTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComputeAuthTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12655,7 +12655,7 @@ extension GetComputeAuthTokenOutput { extension GetGameSessionLogUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGameSessionLogUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGameSessionLogUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12667,7 +12667,7 @@ extension GetGameSessionLogUrlOutput { extension GetInstanceAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12679,7 +12679,7 @@ extension GetInstanceAccessOutput { extension ListAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12692,7 +12692,7 @@ extension ListAliasesOutput { extension ListBuildsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuildsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuildsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12705,7 +12705,7 @@ extension ListBuildsOutput { extension ListComputeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComputeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComputeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12718,7 +12718,7 @@ extension ListComputeOutput { extension ListContainerGroupDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContainerGroupDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContainerGroupDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12731,7 +12731,7 @@ extension ListContainerGroupDefinitionsOutput { extension ListFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12744,7 +12744,7 @@ extension ListFleetsOutput { extension ListGameServerGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGameServerGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGameServerGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12757,7 +12757,7 @@ extension ListGameServerGroupsOutput { extension ListGameServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGameServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGameServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12770,7 +12770,7 @@ extension ListGameServersOutput { extension ListLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12783,7 +12783,7 @@ extension ListLocationsOutput { extension ListScriptsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScriptsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScriptsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12796,7 +12796,7 @@ extension ListScriptsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12808,7 +12808,7 @@ extension ListTagsForResourceOutput { extension PutScalingPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutScalingPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutScalingPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12820,7 +12820,7 @@ extension PutScalingPolicyOutput { extension RegisterComputeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterComputeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterComputeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12832,7 +12832,7 @@ extension RegisterComputeOutput { extension RegisterGameServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterGameServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterGameServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12844,7 +12844,7 @@ extension RegisterGameServerOutput { extension RequestUploadCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestUploadCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestUploadCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12857,7 +12857,7 @@ extension RequestUploadCredentialsOutput { extension ResolveAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResolveAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResolveAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12870,7 +12870,7 @@ extension ResolveAliasOutput { extension ResumeGameServerGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeGameServerGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeGameServerGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12882,7 +12882,7 @@ extension ResumeGameServerGroupOutput { extension SearchGameSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchGameSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchGameSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12895,7 +12895,7 @@ extension SearchGameSessionsOutput { extension StartFleetActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFleetActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFleetActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12908,7 +12908,7 @@ extension StartFleetActionsOutput { extension StartGameSessionPlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartGameSessionPlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartGameSessionPlacementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12920,7 +12920,7 @@ extension StartGameSessionPlacementOutput { extension StartMatchBackfillOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMatchBackfillOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMatchBackfillOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12932,7 +12932,7 @@ extension StartMatchBackfillOutput { extension StartMatchmakingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMatchmakingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMatchmakingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12944,7 +12944,7 @@ extension StartMatchmakingOutput { extension StopFleetActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopFleetActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopFleetActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12957,7 +12957,7 @@ extension StopFleetActionsOutput { extension StopGameSessionPlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopGameSessionPlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopGameSessionPlacementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12969,14 +12969,14 @@ extension StopGameSessionPlacementOutput { extension StopMatchmakingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMatchmakingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMatchmakingOutput { return StopMatchmakingOutput() } } extension SuspendGameServerGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SuspendGameServerGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SuspendGameServerGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12988,21 +12988,21 @@ extension SuspendGameServerGroupOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13014,7 +13014,7 @@ extension UpdateAliasOutput { extension UpdateBuildOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBuildOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBuildOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13026,7 +13026,7 @@ extension UpdateBuildOutput { extension UpdateFleetAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13039,7 +13039,7 @@ extension UpdateFleetAttributesOutput { extension UpdateFleetCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetCapacityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13053,7 +13053,7 @@ extension UpdateFleetCapacityOutput { extension UpdateFleetPortSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetPortSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetPortSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13066,7 +13066,7 @@ extension UpdateFleetPortSettingsOutput { extension UpdateGameServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGameServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGameServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13078,7 +13078,7 @@ extension UpdateGameServerOutput { extension UpdateGameServerGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGameServerGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGameServerGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13090,7 +13090,7 @@ extension UpdateGameServerGroupOutput { extension UpdateGameSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGameSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGameSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13102,7 +13102,7 @@ extension UpdateGameSessionOutput { extension UpdateGameSessionQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGameSessionQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGameSessionQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13114,7 +13114,7 @@ extension UpdateGameSessionQueueOutput { extension UpdateMatchmakingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMatchmakingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMatchmakingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13126,7 +13126,7 @@ extension UpdateMatchmakingConfigurationOutput { extension UpdateRuntimeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuntimeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuntimeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13138,7 +13138,7 @@ extension UpdateRuntimeConfigurationOutput { extension UpdateScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13150,7 +13150,7 @@ extension UpdateScriptOutput { extension ValidateMatchmakingRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateMatchmakingRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateMatchmakingRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -13162,7 +13162,7 @@ extension ValidateMatchmakingRuleSetOutput { enum AcceptMatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13179,7 +13179,7 @@ enum AcceptMatchOutputError { enum ClaimGameServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13198,7 +13198,7 @@ enum ClaimGameServerOutputError { enum CreateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13217,7 +13217,7 @@ enum CreateAliasOutputError { enum CreateBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13235,7 +13235,7 @@ enum CreateBuildOutputError { enum CreateContainerGroupDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13255,7 +13255,7 @@ enum CreateContainerGroupDefinitionOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13277,7 +13277,7 @@ enum CreateFleetOutputError { enum CreateFleetLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13299,7 +13299,7 @@ enum CreateFleetLocationsOutputError { enum CreateGameServerGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13317,7 +13317,7 @@ enum CreateGameServerGroupOutputError { enum CreateGameSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13341,7 +13341,7 @@ enum CreateGameSessionOutputError { enum CreateGameSessionQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13360,7 +13360,7 @@ enum CreateGameSessionQueueOutputError { enum CreateLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13379,7 +13379,7 @@ enum CreateLocationOutputError { enum CreateMatchmakingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13398,7 +13398,7 @@ enum CreateMatchmakingConfigurationOutputError { enum CreateMatchmakingRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13416,7 +13416,7 @@ enum CreateMatchmakingRuleSetOutputError { enum CreatePlayerSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13436,7 +13436,7 @@ enum CreatePlayerSessionOutputError { enum CreatePlayerSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13456,7 +13456,7 @@ enum CreatePlayerSessionsOutputError { enum CreateScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13474,7 +13474,7 @@ enum CreateScriptOutputError { enum CreateVpcPeeringAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13491,7 +13491,7 @@ enum CreateVpcPeeringAuthorizationOutputError { enum CreateVpcPeeringConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13508,7 +13508,7 @@ enum CreateVpcPeeringConnectionOutputError { enum DeleteAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13526,7 +13526,7 @@ enum DeleteAliasOutputError { enum DeleteBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13544,7 +13544,7 @@ enum DeleteBuildOutputError { enum DeleteContainerGroupDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13563,7 +13563,7 @@ enum DeleteContainerGroupDefinitionOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13582,7 +13582,7 @@ enum DeleteFleetOutputError { enum DeleteFleetLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13600,7 +13600,7 @@ enum DeleteFleetLocationsOutputError { enum DeleteGameServerGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13617,7 +13617,7 @@ enum DeleteGameServerGroupOutputError { enum DeleteGameSessionQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13635,7 +13635,7 @@ enum DeleteGameSessionQueueOutputError { enum DeleteLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13652,7 +13652,7 @@ enum DeleteLocationOutputError { enum DeleteMatchmakingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13670,7 +13670,7 @@ enum DeleteMatchmakingConfigurationOutputError { enum DeleteMatchmakingRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13688,7 +13688,7 @@ enum DeleteMatchmakingRuleSetOutputError { enum DeleteScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13705,7 +13705,7 @@ enum DeleteScalingPolicyOutputError { enum DeleteScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13723,7 +13723,7 @@ enum DeleteScriptOutputError { enum DeleteVpcPeeringAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13740,7 +13740,7 @@ enum DeleteVpcPeeringAuthorizationOutputError { enum DeleteVpcPeeringConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13757,7 +13757,7 @@ enum DeleteVpcPeeringConnectionOutputError { enum DeregisterComputeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13774,7 +13774,7 @@ enum DeregisterComputeOutputError { enum DeregisterGameServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13791,7 +13791,7 @@ enum DeregisterGameServerOutputError { enum DescribeAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13808,7 +13808,7 @@ enum DescribeAliasOutputError { enum DescribeBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13825,7 +13825,7 @@ enum DescribeBuildOutputError { enum DescribeComputeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13842,7 +13842,7 @@ enum DescribeComputeOutputError { enum DescribeContainerGroupDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13860,7 +13860,7 @@ enum DescribeContainerGroupDefinitionOutputError { enum DescribeEC2InstanceLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13877,7 +13877,7 @@ enum DescribeEC2InstanceLimitsOutputError { enum DescribeFleetAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13894,7 +13894,7 @@ enum DescribeFleetAttributesOutputError { enum DescribeFleetCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13911,7 +13911,7 @@ enum DescribeFleetCapacityOutputError { enum DescribeFleetEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13928,7 +13928,7 @@ enum DescribeFleetEventsOutputError { enum DescribeFleetLocationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13946,7 +13946,7 @@ enum DescribeFleetLocationAttributesOutputError { enum DescribeFleetLocationCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13964,7 +13964,7 @@ enum DescribeFleetLocationCapacityOutputError { enum DescribeFleetLocationUtilizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13982,7 +13982,7 @@ enum DescribeFleetLocationUtilizationOutputError { enum DescribeFleetPortSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14000,7 +14000,7 @@ enum DescribeFleetPortSettingsOutputError { enum DescribeFleetUtilizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14017,7 +14017,7 @@ enum DescribeFleetUtilizationOutputError { enum DescribeGameServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14034,7 +14034,7 @@ enum DescribeGameServerOutputError { enum DescribeGameServerGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14051,7 +14051,7 @@ enum DescribeGameServerGroupOutputError { enum DescribeGameServerInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14068,7 +14068,7 @@ enum DescribeGameServerInstancesOutputError { enum DescribeGameSessionDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14087,7 +14087,7 @@ enum DescribeGameSessionDetailsOutputError { enum DescribeGameSessionPlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14104,7 +14104,7 @@ enum DescribeGameSessionPlacementOutputError { enum DescribeGameSessionQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14121,7 +14121,7 @@ enum DescribeGameSessionQueuesOutputError { enum DescribeGameSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14140,7 +14140,7 @@ enum DescribeGameSessionsOutputError { enum DescribeInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14158,7 +14158,7 @@ enum DescribeInstancesOutputError { enum DescribeMatchmakingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14174,7 +14174,7 @@ enum DescribeMatchmakingOutputError { enum DescribeMatchmakingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14190,7 +14190,7 @@ enum DescribeMatchmakingConfigurationsOutputError { enum DescribeMatchmakingRuleSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14207,7 +14207,7 @@ enum DescribeMatchmakingRuleSetsOutputError { enum DescribePlayerSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14224,7 +14224,7 @@ enum DescribePlayerSessionsOutputError { enum DescribeRuntimeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14241,7 +14241,7 @@ enum DescribeRuntimeConfigurationOutputError { enum DescribeScalingPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14259,7 +14259,7 @@ enum DescribeScalingPoliciesOutputError { enum DescribeScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14276,7 +14276,7 @@ enum DescribeScriptOutputError { enum DescribeVpcPeeringAuthorizationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14292,7 +14292,7 @@ enum DescribeVpcPeeringAuthorizationsOutputError { enum DescribeVpcPeeringConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14309,7 +14309,7 @@ enum DescribeVpcPeeringConnectionsOutputError { enum GetComputeAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14326,7 +14326,7 @@ enum GetComputeAccessOutputError { enum GetComputeAuthTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14343,7 +14343,7 @@ enum GetComputeAuthTokenOutputError { enum GetGameSessionLogUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14360,7 +14360,7 @@ enum GetGameSessionLogUrlOutputError { enum GetInstanceAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14377,7 +14377,7 @@ enum GetInstanceAccessOutputError { enum ListAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14393,7 +14393,7 @@ enum ListAliasesOutputError { enum ListBuildsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14409,7 +14409,7 @@ enum ListBuildsOutputError { enum ListComputeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14425,7 +14425,7 @@ enum ListComputeOutputError { enum ListContainerGroupDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14442,7 +14442,7 @@ enum ListContainerGroupDefinitionsOutputError { enum ListFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14459,7 +14459,7 @@ enum ListFleetsOutputError { enum ListGameServerGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14475,7 +14475,7 @@ enum ListGameServerGroupsOutputError { enum ListGameServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14491,7 +14491,7 @@ enum ListGameServersOutputError { enum ListLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14507,7 +14507,7 @@ enum ListLocationsOutputError { enum ListScriptsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14523,7 +14523,7 @@ enum ListScriptsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14540,7 +14540,7 @@ enum ListTagsForResourceOutputError { enum PutScalingPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14557,7 +14557,7 @@ enum PutScalingPolicyOutputError { enum RegisterComputeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14576,7 +14576,7 @@ enum RegisterComputeOutputError { enum RegisterGameServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14594,7 +14594,7 @@ enum RegisterGameServerOutputError { enum RequestUploadCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14611,7 +14611,7 @@ enum RequestUploadCredentialsOutputError { enum ResolveAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14629,7 +14629,7 @@ enum ResolveAliasOutputError { enum ResumeGameServerGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14646,7 +14646,7 @@ enum ResumeGameServerGroupOutputError { enum SearchGameSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14665,7 +14665,7 @@ enum SearchGameSessionsOutputError { enum StartFleetActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14683,7 +14683,7 @@ enum StartFleetActionsOutputError { enum StartGameSessionPlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14700,7 +14700,7 @@ enum StartGameSessionPlacementOutputError { enum StartMatchBackfillOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14717,7 +14717,7 @@ enum StartMatchBackfillOutputError { enum StartMatchmakingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14734,7 +14734,7 @@ enum StartMatchmakingOutputError { enum StopFleetActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14752,7 +14752,7 @@ enum StopFleetActionsOutputError { enum StopGameSessionPlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14769,7 +14769,7 @@ enum StopGameSessionPlacementOutputError { enum StopMatchmakingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14786,7 +14786,7 @@ enum StopMatchmakingOutputError { enum SuspendGameServerGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14803,7 +14803,7 @@ enum SuspendGameServerGroupOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14820,7 +14820,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14837,7 +14837,7 @@ enum UntagResourceOutputError { enum UpdateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14854,7 +14854,7 @@ enum UpdateAliasOutputError { enum UpdateBuildOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14871,7 +14871,7 @@ enum UpdateBuildOutputError { enum UpdateFleetAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14891,7 +14891,7 @@ enum UpdateFleetAttributesOutputError { enum UpdateFleetCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14912,7 +14912,7 @@ enum UpdateFleetCapacityOutputError { enum UpdateFleetPortSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14932,7 +14932,7 @@ enum UpdateFleetPortSettingsOutputError { enum UpdateGameServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14949,7 +14949,7 @@ enum UpdateGameServerOutputError { enum UpdateGameServerGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14966,7 +14966,7 @@ enum UpdateGameServerGroupOutputError { enum UpdateGameSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14985,7 +14985,7 @@ enum UpdateGameSessionOutputError { enum UpdateGameSessionQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15002,7 +15002,7 @@ enum UpdateGameSessionQueueOutputError { enum UpdateMatchmakingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15019,7 +15019,7 @@ enum UpdateMatchmakingConfigurationOutputError { enum UpdateRuntimeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15038,7 +15038,7 @@ enum UpdateRuntimeConfigurationOutputError { enum UpdateScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15055,7 +15055,7 @@ enum UpdateScriptOutputError { enum ValidateMatchmakingRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGlacier/Sources/AWSGlacier/Models.swift b/Sources/Services/AWSGlacier/Sources/AWSGlacier/Models.swift index 2959acf44ec..37d78ad7b86 100644 --- a/Sources/Services/AWSGlacier/Sources/AWSGlacier/Models.swift +++ b/Sources/Services/AWSGlacier/Sources/AWSGlacier/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -101,7 +101,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct MissingParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -167,7 +167,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -200,7 +200,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -431,7 +431,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1647,7 +1647,7 @@ public struct InsufficientCapacityException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1680,7 +1680,7 @@ public struct PolicyEnforcedException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2492,7 +2492,7 @@ public struct RequestTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3278,28 +3278,28 @@ extension UploadMultipartPartInput { extension AbortMultipartUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AbortMultipartUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AbortMultipartUploadOutput { return AbortMultipartUploadOutput() } } extension AbortVaultLockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AbortVaultLockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AbortVaultLockOutput { return AbortVaultLockOutput() } } extension AddTagsToVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToVaultOutput { return AddTagsToVaultOutput() } } extension CompleteMultipartUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteMultipartUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteMultipartUploadOutput { var value = CompleteMultipartUploadOutput() if let archiveIdHeaderValue = httpResponse.headers.value(for: "x-amz-archive-id") { value.archiveId = archiveIdHeaderValue @@ -3316,14 +3316,14 @@ extension CompleteMultipartUploadOutput { extension CompleteVaultLockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteVaultLockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteVaultLockOutput { return CompleteVaultLockOutput() } } extension CreateVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVaultOutput { var value = CreateVaultOutput() if let locationHeaderValue = httpResponse.headers.value(for: "Location") { value.location = locationHeaderValue @@ -3334,35 +3334,35 @@ extension CreateVaultOutput { extension DeleteArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteArchiveOutput { return DeleteArchiveOutput() } } extension DeleteVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVaultOutput { return DeleteVaultOutput() } } extension DeleteVaultAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVaultAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVaultAccessPolicyOutput { return DeleteVaultAccessPolicyOutput() } } extension DeleteVaultNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVaultNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVaultNotificationsOutput { return DeleteVaultNotificationsOutput() } } extension DescribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3394,7 +3394,7 @@ extension DescribeJobOutput { extension DescribeVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3411,7 +3411,7 @@ extension DescribeVaultOutput { extension GetDataRetrievalPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataRetrievalPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataRetrievalPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3423,7 +3423,7 @@ extension GetDataRetrievalPolicyOutput { extension GetJobOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutputOutput { var value = GetJobOutputOutput() if let acceptRangesHeaderValue = httpResponse.headers.value(for: "Accept-Ranges") { value.acceptRanges = acceptRangesHeaderValue @@ -3455,7 +3455,7 @@ extension GetJobOutputOutput { extension GetVaultAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVaultAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVaultAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3467,7 +3467,7 @@ extension GetVaultAccessPolicyOutput { extension GetVaultLockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVaultLockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVaultLockOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3482,7 +3482,7 @@ extension GetVaultLockOutput { extension GetVaultNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVaultNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVaultNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3494,7 +3494,7 @@ extension GetVaultNotificationsOutput { extension InitiateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateJobOutput { var value = InitiateJobOutput() if let jobIdHeaderValue = httpResponse.headers.value(for: "x-amz-job-id") { value.jobId = jobIdHeaderValue @@ -3511,7 +3511,7 @@ extension InitiateJobOutput { extension InitiateMultipartUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateMultipartUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateMultipartUploadOutput { var value = InitiateMultipartUploadOutput() if let locationHeaderValue = httpResponse.headers.value(for: "Location") { value.location = locationHeaderValue @@ -3525,7 +3525,7 @@ extension InitiateMultipartUploadOutput { extension InitiateVaultLockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateVaultLockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateVaultLockOutput { var value = InitiateVaultLockOutput() if let lockIdHeaderValue = httpResponse.headers.value(for: "x-amz-lock-id") { value.lockId = lockIdHeaderValue @@ -3536,7 +3536,7 @@ extension InitiateVaultLockOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3549,7 +3549,7 @@ extension ListJobsOutput { extension ListMultipartUploadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMultipartUploadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultipartUploadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3562,7 +3562,7 @@ extension ListMultipartUploadsOutput { extension ListPartsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3580,7 +3580,7 @@ extension ListPartsOutput { extension ListProvisionedCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisionedCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisionedCapacityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3592,7 +3592,7 @@ extension ListProvisionedCapacityOutput { extension ListTagsForVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForVaultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3604,7 +3604,7 @@ extension ListTagsForVaultOutput { extension ListVaultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVaultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVaultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3617,7 +3617,7 @@ extension ListVaultsOutput { extension PurchaseProvisionedCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseProvisionedCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseProvisionedCapacityOutput { var value = PurchaseProvisionedCapacityOutput() if let capacityIdHeaderValue = httpResponse.headers.value(for: "x-amz-capacity-id") { value.capacityId = capacityIdHeaderValue @@ -3628,35 +3628,35 @@ extension PurchaseProvisionedCapacityOutput { extension RemoveTagsFromVaultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromVaultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromVaultOutput { return RemoveTagsFromVaultOutput() } } extension SetDataRetrievalPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDataRetrievalPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDataRetrievalPolicyOutput { return SetDataRetrievalPolicyOutput() } } extension SetVaultAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetVaultAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetVaultAccessPolicyOutput { return SetVaultAccessPolicyOutput() } } extension SetVaultNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetVaultNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetVaultNotificationsOutput { return SetVaultNotificationsOutput() } } extension UploadArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadArchiveOutput { var value = UploadArchiveOutput() if let archiveIdHeaderValue = httpResponse.headers.value(for: "x-amz-archive-id") { value.archiveId = archiveIdHeaderValue @@ -3673,7 +3673,7 @@ extension UploadArchiveOutput { extension UploadMultipartPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadMultipartPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadMultipartPartOutput { var value = UploadMultipartPartOutput() if let checksumHeaderValue = httpResponse.headers.value(for: "x-amz-sha256-tree-hash") { value.checksum = checksumHeaderValue @@ -3684,7 +3684,7 @@ extension UploadMultipartPartOutput { enum AbortMultipartUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3701,7 +3701,7 @@ enum AbortMultipartUploadOutputError { enum AbortVaultLockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3718,7 +3718,7 @@ enum AbortVaultLockOutputError { enum AddTagsToVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3736,7 +3736,7 @@ enum AddTagsToVaultOutputError { enum CompleteMultipartUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3753,7 +3753,7 @@ enum CompleteMultipartUploadOutputError { enum CompleteVaultLockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3770,7 +3770,7 @@ enum CompleteVaultLockOutputError { enum CreateVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3787,7 +3787,7 @@ enum CreateVaultOutputError { enum DeleteArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3804,7 +3804,7 @@ enum DeleteArchiveOutputError { enum DeleteVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3821,7 +3821,7 @@ enum DeleteVaultOutputError { enum DeleteVaultAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3838,7 +3838,7 @@ enum DeleteVaultAccessPolicyOutputError { enum DeleteVaultNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3855,7 +3855,7 @@ enum DeleteVaultNotificationsOutputError { enum DescribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3872,7 +3872,7 @@ enum DescribeJobOutputError { enum DescribeVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3889,7 +3889,7 @@ enum DescribeVaultOutputError { enum GetDataRetrievalPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3905,7 +3905,7 @@ enum GetDataRetrievalPolicyOutputError { enum GetJobOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3922,7 +3922,7 @@ enum GetJobOutputOutputError { enum GetVaultAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3939,7 +3939,7 @@ enum GetVaultAccessPolicyOutputError { enum GetVaultLockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3956,7 +3956,7 @@ enum GetVaultLockOutputError { enum GetVaultNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3973,7 +3973,7 @@ enum GetVaultNotificationsOutputError { enum InitiateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3992,7 +3992,7 @@ enum InitiateJobOutputError { enum InitiateMultipartUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4009,7 +4009,7 @@ enum InitiateMultipartUploadOutputError { enum InitiateVaultLockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4026,7 +4026,7 @@ enum InitiateVaultLockOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4043,7 +4043,7 @@ enum ListJobsOutputError { enum ListMultipartUploadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4060,7 +4060,7 @@ enum ListMultipartUploadsOutputError { enum ListPartsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4077,7 +4077,7 @@ enum ListPartsOutputError { enum ListProvisionedCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4093,7 +4093,7 @@ enum ListProvisionedCapacityOutputError { enum ListTagsForVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4110,7 +4110,7 @@ enum ListTagsForVaultOutputError { enum ListVaultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4127,7 +4127,7 @@ enum ListVaultsOutputError { enum PurchaseProvisionedCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4144,7 +4144,7 @@ enum PurchaseProvisionedCapacityOutputError { enum RemoveTagsFromVaultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4161,7 +4161,7 @@ enum RemoveTagsFromVaultOutputError { enum SetDataRetrievalPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4177,7 +4177,7 @@ enum SetDataRetrievalPolicyOutputError { enum SetVaultAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4194,7 +4194,7 @@ enum SetVaultAccessPolicyOutputError { enum SetVaultNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4211,7 +4211,7 @@ enum SetVaultNotificationsOutputError { enum UploadArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4229,7 +4229,7 @@ enum UploadArchiveOutputError { enum UploadMultipartPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift index 8035c8aa2cb..047f5cb87bc 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift @@ -410,9 +410,11 @@ extension GlobalAcceleratorClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You don't have access permission. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. /// - `LimitExceededException` : Processing your request would cause you to exceed an Global Accelerator limit. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func createAccelerator(input: CreateAcceleratorInput) async throws -> CreateAcceleratorOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -520,6 +522,7 @@ extension GlobalAcceleratorClient { /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. /// - `LimitExceededException` : Processing your request would cause you to exceed an Global Accelerator limit. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func createCustomRoutingAccelerator(input: CreateCustomRoutingAcceleratorInput) async throws -> CreateCustomRoutingAcceleratorOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -795,6 +798,7 @@ extension GlobalAcceleratorClient { /// - `AssociatedListenerFoundException` : The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an accelerator before you can delete it. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func deleteAccelerator(input: DeleteAcceleratorInput) async throws -> DeleteAcceleratorOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -901,6 +905,7 @@ extension GlobalAcceleratorClient { /// - `AssociatedListenerFoundException` : The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an accelerator before you can delete it. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func deleteCustomRoutingAccelerator(input: DeleteCustomRoutingAcceleratorInput) async throws -> DeleteCustomRoutingAcceleratorOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -2342,8 +2347,11 @@ extension GlobalAcceleratorClient { /// /// __Possible Exceptions:__ /// - `AcceleratorNotFoundException` : The accelerator that you specified doesn't exist. + /// - `AttachmentNotFoundException` : No cross-account attachment was found. + /// - `EndpointGroupNotFoundException` : The endpoint group that you specified doesn't exist. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `ListenerNotFoundException` : The listener that you specified doesn't exist. public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -2671,8 +2679,10 @@ extension GlobalAcceleratorClient { /// __Possible Exceptions:__ /// - `AcceleratorNotFoundException` : The accelerator that you specified doesn't exist. /// - `AccessDeniedException` : You don't have access permission. + /// - `ConflictException` : You can't use both of those options. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func updateAccelerator(input: UpdateAcceleratorInput) async throws -> UpdateAcceleratorOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -2725,6 +2735,7 @@ extension GlobalAcceleratorClient { /// - `AccessDeniedException` : You don't have access permission. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func updateAcceleratorAttributes(input: UpdateAcceleratorAttributesInput) async throws -> UpdateAcceleratorAttributesOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -2828,8 +2839,10 @@ extension GlobalAcceleratorClient { /// /// __Possible Exceptions:__ /// - `AcceleratorNotFoundException` : The accelerator that you specified doesn't exist. + /// - `ConflictException` : You can't use both of those options. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func updateCustomRoutingAccelerator(input: UpdateCustomRoutingAcceleratorInput) async throws -> UpdateCustomRoutingAcceleratorOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -2882,6 +2895,7 @@ extension GlobalAcceleratorClient { /// - `AccessDeniedException` : You don't have access permission. /// - `InternalServiceErrorException` : There was an internal error for Global Accelerator. /// - `InvalidArgumentException` : An argument that you specified is invalid. + /// - `TransactionInProgressException` : There's already a transaction in progress. Another transaction can't be processed. public func updateCustomRoutingAcceleratorAttributes(input: UpdateCustomRoutingAcceleratorAttributesInput) async throws -> UpdateCustomRoutingAcceleratorAttributesOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/Models.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/Models.swift index 78b00ea0907..50054c92f27 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/Models.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -302,7 +302,7 @@ public struct AcceleratorNotDisabledException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -326,7 +326,7 @@ public struct AcceleratorNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -350,7 +350,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -374,7 +374,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -398,7 +398,7 @@ public struct EndpointAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -422,7 +422,7 @@ public struct EndpointGroupNotFoundException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -446,7 +446,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -470,7 +470,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -494,7 +494,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -588,7 +588,7 @@ public struct TransactionInProgressException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -738,7 +738,7 @@ public struct ByoipCidrNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -762,7 +762,7 @@ public struct IncorrectCidrStateException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -963,7 +963,7 @@ public struct AssociatedEndpointGroupFoundException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -987,7 +987,7 @@ public struct AssociatedListenerFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1071,7 +1071,7 @@ public struct AttachmentNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1379,7 +1379,7 @@ public struct EndpointGroupAlreadyExistsException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1403,7 +1403,7 @@ public struct InvalidPortRangeException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1427,7 +1427,7 @@ public struct ListenerNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2479,7 +2479,7 @@ public struct EndpointNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2503,7 +2503,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4397,7 +4397,7 @@ extension WithdrawByoipCidrInput { extension AddCustomRoutingEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddCustomRoutingEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddCustomRoutingEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4410,7 +4410,7 @@ extension AddCustomRoutingEndpointsOutput { extension AddEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4423,7 +4423,7 @@ extension AddEndpointsOutput { extension AdvertiseByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AdvertiseByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AdvertiseByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4435,14 +4435,14 @@ extension AdvertiseByoipCidrOutput { extension AllowCustomRoutingTrafficOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllowCustomRoutingTrafficOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllowCustomRoutingTrafficOutput { return AllowCustomRoutingTrafficOutput() } } extension CreateAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAcceleratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4454,7 +4454,7 @@ extension CreateAcceleratorOutput { extension CreateCrossAccountAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCrossAccountAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCrossAccountAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4466,7 +4466,7 @@ extension CreateCrossAccountAttachmentOutput { extension CreateCustomRoutingAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomRoutingAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomRoutingAcceleratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4478,7 +4478,7 @@ extension CreateCustomRoutingAcceleratorOutput { extension CreateCustomRoutingEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomRoutingEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomRoutingEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4490,7 +4490,7 @@ extension CreateCustomRoutingEndpointGroupOutput { extension CreateCustomRoutingListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomRoutingListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomRoutingListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4502,7 +4502,7 @@ extension CreateCustomRoutingListenerOutput { extension CreateEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4514,7 +4514,7 @@ extension CreateEndpointGroupOutput { extension CreateListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4526,63 +4526,63 @@ extension CreateListenerOutput { extension DeleteAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAcceleratorOutput { return DeleteAcceleratorOutput() } } extension DeleteCrossAccountAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCrossAccountAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCrossAccountAttachmentOutput { return DeleteCrossAccountAttachmentOutput() } } extension DeleteCustomRoutingAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomRoutingAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomRoutingAcceleratorOutput { return DeleteCustomRoutingAcceleratorOutput() } } extension DeleteCustomRoutingEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomRoutingEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomRoutingEndpointGroupOutput { return DeleteCustomRoutingEndpointGroupOutput() } } extension DeleteCustomRoutingListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomRoutingListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomRoutingListenerOutput { return DeleteCustomRoutingListenerOutput() } } extension DeleteEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointGroupOutput { return DeleteEndpointGroupOutput() } } extension DeleteListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteListenerOutput { return DeleteListenerOutput() } } extension DenyCustomRoutingTrafficOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DenyCustomRoutingTrafficOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DenyCustomRoutingTrafficOutput { return DenyCustomRoutingTrafficOutput() } } extension DeprovisionByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprovisionByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprovisionByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4594,7 +4594,7 @@ extension DeprovisionByoipCidrOutput { extension DescribeAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAcceleratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4606,7 +4606,7 @@ extension DescribeAcceleratorOutput { extension DescribeAcceleratorAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAcceleratorAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAcceleratorAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4618,7 +4618,7 @@ extension DescribeAcceleratorAttributesOutput { extension DescribeCrossAccountAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCrossAccountAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCrossAccountAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4630,7 +4630,7 @@ extension DescribeCrossAccountAttachmentOutput { extension DescribeCustomRoutingAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomRoutingAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomRoutingAcceleratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4642,7 +4642,7 @@ extension DescribeCustomRoutingAcceleratorOutput { extension DescribeCustomRoutingAcceleratorAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomRoutingAcceleratorAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomRoutingAcceleratorAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4654,7 +4654,7 @@ extension DescribeCustomRoutingAcceleratorAttributesOutput { extension DescribeCustomRoutingEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomRoutingEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomRoutingEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4666,7 +4666,7 @@ extension DescribeCustomRoutingEndpointGroupOutput { extension DescribeCustomRoutingListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomRoutingListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomRoutingListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4678,7 +4678,7 @@ extension DescribeCustomRoutingListenerOutput { extension DescribeEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4690,7 +4690,7 @@ extension DescribeEndpointGroupOutput { extension DescribeListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4702,7 +4702,7 @@ extension DescribeListenerOutput { extension ListAcceleratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAcceleratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAcceleratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4715,7 +4715,7 @@ extension ListAcceleratorsOutput { extension ListByoipCidrsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListByoipCidrsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListByoipCidrsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4728,7 +4728,7 @@ extension ListByoipCidrsOutput { extension ListCrossAccountAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrossAccountAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrossAccountAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4741,7 +4741,7 @@ extension ListCrossAccountAttachmentsOutput { extension ListCrossAccountResourceAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrossAccountResourceAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrossAccountResourceAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4753,7 +4753,7 @@ extension ListCrossAccountResourceAccountsOutput { extension ListCrossAccountResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrossAccountResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrossAccountResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4766,7 +4766,7 @@ extension ListCrossAccountResourcesOutput { extension ListCustomRoutingAcceleratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomRoutingAcceleratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomRoutingAcceleratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4779,7 +4779,7 @@ extension ListCustomRoutingAcceleratorsOutput { extension ListCustomRoutingEndpointGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomRoutingEndpointGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomRoutingEndpointGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4792,7 +4792,7 @@ extension ListCustomRoutingEndpointGroupsOutput { extension ListCustomRoutingListenersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomRoutingListenersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomRoutingListenersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4805,7 +4805,7 @@ extension ListCustomRoutingListenersOutput { extension ListCustomRoutingPortMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomRoutingPortMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomRoutingPortMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4818,7 +4818,7 @@ extension ListCustomRoutingPortMappingsOutput { extension ListCustomRoutingPortMappingsByDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomRoutingPortMappingsByDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomRoutingPortMappingsByDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4831,7 +4831,7 @@ extension ListCustomRoutingPortMappingsByDestinationOutput { extension ListEndpointGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4844,7 +4844,7 @@ extension ListEndpointGroupsOutput { extension ListListenersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListListenersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListListenersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4857,7 +4857,7 @@ extension ListListenersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4869,7 +4869,7 @@ extension ListTagsForResourceOutput { extension ProvisionByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4881,35 +4881,35 @@ extension ProvisionByoipCidrOutput { extension RemoveCustomRoutingEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveCustomRoutingEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveCustomRoutingEndpointsOutput { return RemoveCustomRoutingEndpointsOutput() } } extension RemoveEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveEndpointsOutput { return RemoveEndpointsOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAcceleratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4921,7 +4921,7 @@ extension UpdateAcceleratorOutput { extension UpdateAcceleratorAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAcceleratorAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAcceleratorAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4933,7 +4933,7 @@ extension UpdateAcceleratorAttributesOutput { extension UpdateCrossAccountAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCrossAccountAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCrossAccountAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4945,7 +4945,7 @@ extension UpdateCrossAccountAttachmentOutput { extension UpdateCustomRoutingAcceleratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomRoutingAcceleratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomRoutingAcceleratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4957,7 +4957,7 @@ extension UpdateCustomRoutingAcceleratorOutput { extension UpdateCustomRoutingAcceleratorAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomRoutingAcceleratorAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomRoutingAcceleratorAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4969,7 +4969,7 @@ extension UpdateCustomRoutingAcceleratorAttributesOutput { extension UpdateCustomRoutingListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomRoutingListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomRoutingListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4981,7 +4981,7 @@ extension UpdateCustomRoutingListenerOutput { extension UpdateEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4993,7 +4993,7 @@ extension UpdateEndpointGroupOutput { extension UpdateListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5005,7 +5005,7 @@ extension UpdateListenerOutput { extension WithdrawByoipCidrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> WithdrawByoipCidrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> WithdrawByoipCidrOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5017,7 +5017,7 @@ extension WithdrawByoipCidrOutput { enum AddCustomRoutingEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5037,7 +5037,7 @@ enum AddCustomRoutingEndpointsOutputError { enum AddEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5056,7 +5056,7 @@ enum AddEndpointsOutputError { enum AdvertiseByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5074,7 +5074,7 @@ enum AdvertiseByoipCidrOutputError { enum AllowCustomRoutingTrafficOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5090,15 +5090,17 @@ enum AllowCustomRoutingTrafficOutputError { enum CreateAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) case "LimitExceededException": return try LimitExceededException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5106,7 +5108,7 @@ enum CreateAcceleratorOutputError { enum CreateCrossAccountAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5124,7 +5126,7 @@ enum CreateCrossAccountAttachmentOutputError { enum CreateCustomRoutingAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5134,6 +5136,7 @@ enum CreateCustomRoutingAcceleratorOutputError { case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) case "LimitExceededException": return try LimitExceededException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5141,7 +5144,7 @@ enum CreateCustomRoutingAcceleratorOutputError { enum CreateCustomRoutingEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5162,7 +5165,7 @@ enum CreateCustomRoutingEndpointGroupOutputError { enum CreateCustomRoutingListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5180,7 +5183,7 @@ enum CreateCustomRoutingListenerOutputError { enum CreateEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5200,7 +5203,7 @@ enum CreateEndpointGroupOutputError { enum CreateListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5218,7 +5221,7 @@ enum CreateListenerOutputError { enum DeleteAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5229,6 +5232,7 @@ enum DeleteAcceleratorOutputError { case "AssociatedListenerFoundException": return try AssociatedListenerFoundException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5236,7 +5240,7 @@ enum DeleteAcceleratorOutputError { enum DeleteCrossAccountAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5254,7 +5258,7 @@ enum DeleteCrossAccountAttachmentOutputError { enum DeleteCustomRoutingAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5265,6 +5269,7 @@ enum DeleteCustomRoutingAcceleratorOutputError { case "AssociatedListenerFoundException": return try AssociatedListenerFoundException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5272,7 +5277,7 @@ enum DeleteCustomRoutingAcceleratorOutputError { enum DeleteCustomRoutingEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5288,7 +5293,7 @@ enum DeleteCustomRoutingEndpointGroupOutputError { enum DeleteCustomRoutingListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5305,7 +5310,7 @@ enum DeleteCustomRoutingListenerOutputError { enum DeleteEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5321,7 +5326,7 @@ enum DeleteEndpointGroupOutputError { enum DeleteListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5338,7 +5343,7 @@ enum DeleteListenerOutputError { enum DenyCustomRoutingTrafficOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5354,7 +5359,7 @@ enum DenyCustomRoutingTrafficOutputError { enum DeprovisionByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5372,7 +5377,7 @@ enum DeprovisionByoipCidrOutputError { enum DescribeAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5388,7 +5393,7 @@ enum DescribeAcceleratorOutputError { enum DescribeAcceleratorAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5404,7 +5409,7 @@ enum DescribeAcceleratorAttributesOutputError { enum DescribeCrossAccountAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5421,7 +5426,7 @@ enum DescribeCrossAccountAttachmentOutputError { enum DescribeCustomRoutingAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5437,7 +5442,7 @@ enum DescribeCustomRoutingAcceleratorOutputError { enum DescribeCustomRoutingAcceleratorAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5453,7 +5458,7 @@ enum DescribeCustomRoutingAcceleratorAttributesOutputError { enum DescribeCustomRoutingEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5469,7 +5474,7 @@ enum DescribeCustomRoutingEndpointGroupOutputError { enum DescribeCustomRoutingListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5485,7 +5490,7 @@ enum DescribeCustomRoutingListenerOutputError { enum DescribeEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5501,7 +5506,7 @@ enum DescribeEndpointGroupOutputError { enum DescribeListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5517,7 +5522,7 @@ enum DescribeListenerOutputError { enum ListAcceleratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5533,7 +5538,7 @@ enum ListAcceleratorsOutputError { enum ListByoipCidrsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5550,7 +5555,7 @@ enum ListByoipCidrsOutputError { enum ListCrossAccountAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5567,7 +5572,7 @@ enum ListCrossAccountAttachmentsOutputError { enum ListCrossAccountResourceAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5582,7 +5587,7 @@ enum ListCrossAccountResourceAccountsOutputError { enum ListCrossAccountResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5600,7 +5605,7 @@ enum ListCrossAccountResourcesOutputError { enum ListCustomRoutingAcceleratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5616,7 +5621,7 @@ enum ListCustomRoutingAcceleratorsOutputError { enum ListCustomRoutingEndpointGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5633,7 +5638,7 @@ enum ListCustomRoutingEndpointGroupsOutputError { enum ListCustomRoutingListenersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5650,7 +5655,7 @@ enum ListCustomRoutingListenersOutputError { enum ListCustomRoutingPortMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5668,7 +5673,7 @@ enum ListCustomRoutingPortMappingsOutputError { enum ListCustomRoutingPortMappingsByDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5685,7 +5690,7 @@ enum ListCustomRoutingPortMappingsByDestinationOutputError { enum ListEndpointGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5702,7 +5707,7 @@ enum ListEndpointGroupsOutputError { enum ListListenersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5719,15 +5724,18 @@ enum ListListenersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AcceleratorNotFoundException": return try AcceleratorNotFoundException.makeError(baseError: baseError) + case "AttachmentNotFoundException": return try AttachmentNotFoundException.makeError(baseError: baseError) + case "EndpointGroupNotFoundException": return try EndpointGroupNotFoundException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "ListenerNotFoundException": return try ListenerNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5735,7 +5743,7 @@ enum ListTagsForResourceOutputError { enum ProvisionByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5753,7 +5761,7 @@ enum ProvisionByoipCidrOutputError { enum RemoveCustomRoutingEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5772,7 +5780,7 @@ enum RemoveCustomRoutingEndpointsOutputError { enum RemoveEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5790,7 +5798,7 @@ enum RemoveEndpointsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5806,7 +5814,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5822,7 +5830,7 @@ enum UntagResourceOutputError { enum UpdateAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5830,8 +5838,10 @@ enum UpdateAcceleratorOutputError { switch baseError.code { case "AcceleratorNotFoundException": return try AcceleratorNotFoundException.makeError(baseError: baseError) case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5839,7 +5849,7 @@ enum UpdateAcceleratorOutputError { enum UpdateAcceleratorAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5849,6 +5859,7 @@ enum UpdateAcceleratorAttributesOutputError { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5856,7 +5867,7 @@ enum UpdateAcceleratorAttributesOutputError { enum UpdateCrossAccountAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5875,15 +5886,17 @@ enum UpdateCrossAccountAttachmentOutputError { enum UpdateCustomRoutingAcceleratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AcceleratorNotFoundException": return try AcceleratorNotFoundException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5891,7 +5904,7 @@ enum UpdateCustomRoutingAcceleratorOutputError { enum UpdateCustomRoutingAcceleratorAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5901,6 +5914,7 @@ enum UpdateCustomRoutingAcceleratorAttributesOutputError { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "TransactionInProgressException": return try TransactionInProgressException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -5908,7 +5922,7 @@ enum UpdateCustomRoutingAcceleratorAttributesOutputError { enum UpdateCustomRoutingListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5926,7 +5940,7 @@ enum UpdateCustomRoutingListenerOutputError { enum UpdateEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5944,7 +5958,7 @@ enum UpdateEndpointGroupOutputError { enum UpdateListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5962,7 +5976,7 @@ enum UpdateListenerOutputError { enum WithdrawByoipCidrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/Models.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/Models.swift index a3e23b584eb..2157aeb00dd 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/Models.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -266,7 +266,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -815,7 +815,7 @@ public struct EntityNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -842,7 +842,7 @@ public struct GlueEncryptionException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -867,7 +867,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -894,7 +894,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -921,7 +921,7 @@ public struct OperationTimeoutException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -946,7 +946,7 @@ public struct ResourceNumberLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1386,7 +1386,7 @@ public struct ResourceNotReadyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5419,6 +5419,74 @@ extension GlueClientTypes { } +extension GlueClientTypes { + /// Actions defined in the Glue Studio data preparation recipe node. + public struct RecipeAction { + /// The operation of the recipe action. + /// This member is required. + public var operation: Swift.String? + /// The parameters of the recipe action. + public var parameters: [Swift.String: Swift.String]? + + public init( + operation: Swift.String? = nil, + parameters: [Swift.String: Swift.String]? = nil + ) + { + self.operation = operation + self.parameters = parameters + } + } + +} + +extension GlueClientTypes { + /// Condition expression defined in the Glue Studio data preparation recipe node. + public struct ConditionExpression { + /// The condition of the condition expression. + /// This member is required. + public var condition: Swift.String? + /// The target column of the condition expressions. + /// This member is required. + public var targetColumn: Swift.String? + /// The value of the condition expression. + public var value: Swift.String? + + public init( + condition: Swift.String? = nil, + targetColumn: Swift.String? = nil, + value: Swift.String? = nil + ) + { + self.condition = condition + self.targetColumn = targetColumn + self.value = value + } + } + +} + +extension GlueClientTypes { + /// A recipe step used in a Glue Studio data preparation recipe node. + public struct RecipeStep { + /// The transformation action of the recipe step. + /// This member is required. + public var action: GlueClientTypes.RecipeAction? + /// The condition expressions for the recipe step. + public var conditionExpressions: [GlueClientTypes.ConditionExpression]? + + public init( + action: GlueClientTypes.RecipeAction? = nil, + conditionExpressions: [GlueClientTypes.ConditionExpression]? = nil + ) + { + self.action = action + self.conditionExpressions = conditionExpressions + } + } + +} + extension GlueClientTypes { /// A Glue Studio node that uses a Glue DataBrew recipe in Glue jobs. public struct Recipe { @@ -5429,18 +5497,21 @@ extension GlueClientTypes { /// This member is required. public var name: Swift.String? /// A reference to the DataBrew recipe used by the node. - /// This member is required. public var recipeReference: GlueClientTypes.RecipeReference? + /// Transform steps used in the recipe node. + public var recipeSteps: [GlueClientTypes.RecipeStep]? public init( inputs: [Swift.String]? = nil, name: Swift.String? = nil, - recipeReference: GlueClientTypes.RecipeReference? = nil + recipeReference: GlueClientTypes.RecipeReference? = nil, + recipeSteps: [GlueClientTypes.RecipeStep]? = nil ) { self.inputs = inputs self.name = name self.recipeReference = recipeReference + self.recipeSteps = recipeSteps } } @@ -7372,7 +7443,7 @@ public struct FederationSourceException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7399,7 +7470,7 @@ public struct FederationSourceRetryableException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7424,7 +7495,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9101,7 +9172,7 @@ public struct IllegalSessionStateException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9953,7 +10024,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10016,7 +10087,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10043,7 +10114,7 @@ public struct FederatedResourceAlreadyExistsException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10339,7 +10410,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12179,7 +12250,7 @@ public struct OperationNotSupportedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12608,7 +12679,7 @@ public struct CrawlerRunningException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12633,7 +12704,7 @@ public struct SchedulerTransitioningException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12841,7 +12912,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12960,7 +13031,7 @@ public struct ConditionCheckFailureException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -14988,6 +15059,32 @@ public struct GetDatabaseOutput { } } +extension GlueClientTypes { + + public enum DatabaseAttributes: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case name + case sdkUnknown(Swift.String) + + public static var allCases: [DatabaseAttributes] { + return [ + .name + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .name: return "NAME" + case let .sdkUnknown(s): return s + } + } + } +} + extension GlueClientTypes { public enum ResourceShareType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -15021,6 +15118,8 @@ extension GlueClientTypes { } public struct GetDatabasesInput { + /// Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME. + public var attributesToGet: [GlueClientTypes.DatabaseAttributes]? /// The ID of the Data Catalog from which to retrieve Databases. If none is provided, the Amazon Web Services account ID is used by default. public var catalogId: Swift.String? /// The maximum number of databases to return in one response. @@ -15037,12 +15136,14 @@ public struct GetDatabasesInput { public var resourceShareType: GlueClientTypes.ResourceShareType? public init( + attributesToGet: [GlueClientTypes.DatabaseAttributes]? = nil, catalogId: Swift.String? = nil, maxResults: Swift.Int? = nil, nextToken: Swift.String? = nil, resourceShareType: GlueClientTypes.ResourceShareType? = nil ) { + self.attributesToGet = attributesToGet self.catalogId = catalogId self.maxResults = maxResults self.nextToken = nextToken @@ -18483,7 +18584,7 @@ public struct PermissionTypeMismatchException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21104,7 +21205,7 @@ public struct ConcurrentRunsExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21129,7 +21230,7 @@ public struct IllegalWorkflowStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21394,7 +21495,7 @@ public struct IllegalBlueprintStateException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21453,7 +21554,7 @@ public struct ColumnStatisticsTaskRunningException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21547,7 +21648,7 @@ public struct NoScheduleException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21572,7 +21673,7 @@ public struct SchedulerRunningException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21862,7 +21963,7 @@ public struct MLTransformNotReadyException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21996,7 +22097,7 @@ public struct ColumnStatisticsTaskNotRunningException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -22021,7 +22122,7 @@ public struct ColumnStatisticsTaskStoppingException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -22069,7 +22170,7 @@ public struct CrawlerNotRunningException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -22094,7 +22195,7 @@ public struct CrawlerStoppingException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -22137,7 +22238,7 @@ public struct SchedulerNotRunningException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -22337,7 +22438,7 @@ public struct VersionMismatchException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -26771,6 +26872,7 @@ extension GetDatabasesInput { static func write(value: GetDatabasesInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["AttributesToGet"].writeList(value.attributesToGet, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["CatalogId"].write(value.catalogId) try writer["MaxResults"].write(value.maxResults) try writer["NextToken"].write(value.nextToken) @@ -28125,7 +28227,7 @@ extension UpdateWorkflowInput { extension BatchCreatePartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreatePartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreatePartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28137,7 +28239,7 @@ extension BatchCreatePartitionOutput { extension BatchDeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28150,7 +28252,7 @@ extension BatchDeleteConnectionOutput { extension BatchDeletePartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeletePartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeletePartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28162,7 +28264,7 @@ extension BatchDeletePartitionOutput { extension BatchDeleteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28174,7 +28276,7 @@ extension BatchDeleteTableOutput { extension BatchDeleteTableVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteTableVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteTableVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28186,7 +28288,7 @@ extension BatchDeleteTableVersionOutput { extension BatchGetBlueprintsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetBlueprintsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetBlueprintsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28199,7 +28301,7 @@ extension BatchGetBlueprintsOutput { extension BatchGetCrawlersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCrawlersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCrawlersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28212,7 +28314,7 @@ extension BatchGetCrawlersOutput { extension BatchGetCustomEntityTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCustomEntityTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCustomEntityTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28225,7 +28327,7 @@ extension BatchGetCustomEntityTypesOutput { extension BatchGetDataQualityResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDataQualityResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDataQualityResultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28238,7 +28340,7 @@ extension BatchGetDataQualityResultOutput { extension BatchGetDevEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDevEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDevEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28251,7 +28353,7 @@ extension BatchGetDevEndpointsOutput { extension BatchGetJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28264,7 +28366,7 @@ extension BatchGetJobsOutput { extension BatchGetPartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetPartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetPartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28277,7 +28379,7 @@ extension BatchGetPartitionOutput { extension BatchGetTableOptimizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetTableOptimizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetTableOptimizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28290,7 +28392,7 @@ extension BatchGetTableOptimizerOutput { extension BatchGetTriggersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetTriggersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetTriggersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28303,7 +28405,7 @@ extension BatchGetTriggersOutput { extension BatchGetWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28316,7 +28418,7 @@ extension BatchGetWorkflowsOutput { extension BatchStopJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchStopJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchStopJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28329,7 +28431,7 @@ extension BatchStopJobRunOutput { extension BatchUpdatePartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdatePartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdatePartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28341,21 +28443,21 @@ extension BatchUpdatePartitionOutput { extension CancelDataQualityRuleRecommendationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDataQualityRuleRecommendationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDataQualityRuleRecommendationRunOutput { return CancelDataQualityRuleRecommendationRunOutput() } } extension CancelDataQualityRulesetEvaluationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDataQualityRulesetEvaluationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDataQualityRulesetEvaluationRunOutput { return CancelDataQualityRulesetEvaluationRunOutput() } } extension CancelMLTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMLTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMLTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28369,14 +28471,14 @@ extension CancelMLTaskRunOutput { extension CancelStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelStatementOutput { return CancelStatementOutput() } } extension CheckSchemaVersionValidityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckSchemaVersionValidityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckSchemaVersionValidityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28389,7 +28491,7 @@ extension CheckSchemaVersionValidityOutput { extension CreateBlueprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBlueprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBlueprintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28401,14 +28503,14 @@ extension CreateBlueprintOutput { extension CreateClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClassifierOutput { return CreateClassifierOutput() } } extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28420,14 +28522,14 @@ extension CreateConnectionOutput { extension CreateCrawlerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCrawlerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCrawlerOutput { return CreateCrawlerOutput() } } extension CreateCustomEntityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomEntityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomEntityTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28439,14 +28541,14 @@ extension CreateCustomEntityTypeOutput { extension CreateDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatabaseOutput { return CreateDatabaseOutput() } } extension CreateDataQualityRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataQualityRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataQualityRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28458,7 +28560,7 @@ extension CreateDataQualityRulesetOutput { extension CreateDevEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDevEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDevEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28488,7 +28590,7 @@ extension CreateDevEndpointOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28500,7 +28602,7 @@ extension CreateJobOutput { extension CreateMLTransformOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMLTransformOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMLTransformOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28512,21 +28614,21 @@ extension CreateMLTransformOutput { extension CreatePartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartitionOutput { return CreatePartitionOutput() } } extension CreatePartitionIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePartitionIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartitionIndexOutput { return CreatePartitionIndexOutput() } } extension CreateRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28541,7 +28643,7 @@ extension CreateRegistryOutput { extension CreateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28566,7 +28668,7 @@ extension CreateSchemaOutput { extension CreateScriptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScriptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScriptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28579,7 +28681,7 @@ extension CreateScriptOutput { extension CreateSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28592,7 +28694,7 @@ extension CreateSecurityConfigurationOutput { extension CreateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28604,21 +28706,21 @@ extension CreateSessionOutput { extension CreateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTableOutput { return CreateTableOutput() } } extension CreateTableOptimizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTableOptimizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTableOptimizerOutput { return CreateTableOptimizerOutput() } } extension CreateTriggerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTriggerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTriggerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28630,7 +28732,7 @@ extension CreateTriggerOutput { extension CreateUsageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUsageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUsageProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28642,14 +28744,14 @@ extension CreateUsageProfileOutput { extension CreateUserDefinedFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserDefinedFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserDefinedFunctionOutput { return CreateUserDefinedFunctionOutput() } } extension CreateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28661,7 +28763,7 @@ extension CreateWorkflowOutput { extension DeleteBlueprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBlueprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBlueprintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28673,42 +28775,42 @@ extension DeleteBlueprintOutput { extension DeleteClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClassifierOutput { return DeleteClassifierOutput() } } extension DeleteColumnStatisticsForPartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteColumnStatisticsForPartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteColumnStatisticsForPartitionOutput { return DeleteColumnStatisticsForPartitionOutput() } } extension DeleteColumnStatisticsForTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteColumnStatisticsForTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteColumnStatisticsForTableOutput { return DeleteColumnStatisticsForTableOutput() } } extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { return DeleteConnectionOutput() } } extension DeleteCrawlerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCrawlerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCrawlerOutput { return DeleteCrawlerOutput() } } extension DeleteCustomEntityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomEntityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomEntityTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28720,28 +28822,28 @@ extension DeleteCustomEntityTypeOutput { extension DeleteDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatabaseOutput { return DeleteDatabaseOutput() } } extension DeleteDataQualityRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataQualityRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataQualityRulesetOutput { return DeleteDataQualityRulesetOutput() } } extension DeleteDevEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDevEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDevEndpointOutput { return DeleteDevEndpointOutput() } } extension DeleteJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28753,7 +28855,7 @@ extension DeleteJobOutput { extension DeleteMLTransformOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMLTransformOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMLTransformOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28765,21 +28867,21 @@ extension DeleteMLTransformOutput { extension DeletePartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePartitionOutput { return DeletePartitionOutput() } } extension DeletePartitionIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePartitionIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePartitionIndexOutput { return DeletePartitionIndexOutput() } } extension DeleteRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28793,14 +28895,14 @@ extension DeleteRegistryOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28814,7 +28916,7 @@ extension DeleteSchemaOutput { extension DeleteSchemaVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28826,14 +28928,14 @@ extension DeleteSchemaVersionsOutput { extension DeleteSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityConfigurationOutput { return DeleteSecurityConfigurationOutput() } } extension DeleteSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28845,28 +28947,28 @@ extension DeleteSessionOutput { extension DeleteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTableOutput { return DeleteTableOutput() } } extension DeleteTableOptimizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTableOptimizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTableOptimizerOutput { return DeleteTableOptimizerOutput() } } extension DeleteTableVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTableVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTableVersionOutput { return DeleteTableVersionOutput() } } extension DeleteTriggerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTriggerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTriggerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28878,21 +28980,21 @@ extension DeleteTriggerOutput { extension DeleteUsageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUsageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUsageProfileOutput { return DeleteUsageProfileOutput() } } extension DeleteUserDefinedFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserDefinedFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserDefinedFunctionOutput { return DeleteUserDefinedFunctionOutput() } } extension DeleteWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28904,7 +29006,7 @@ extension DeleteWorkflowOutput { extension GetBlueprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlueprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlueprintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28916,7 +29018,7 @@ extension GetBlueprintOutput { extension GetBlueprintRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlueprintRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlueprintRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28928,7 +29030,7 @@ extension GetBlueprintRunOutput { extension GetBlueprintRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlueprintRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlueprintRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28941,7 +29043,7 @@ extension GetBlueprintRunsOutput { extension GetCatalogImportStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCatalogImportStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCatalogImportStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28953,7 +29055,7 @@ extension GetCatalogImportStatusOutput { extension GetClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClassifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28965,7 +29067,7 @@ extension GetClassifierOutput { extension GetClassifiersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClassifiersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClassifiersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28978,7 +29080,7 @@ extension GetClassifiersOutput { extension GetColumnStatisticsForPartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetColumnStatisticsForPartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetColumnStatisticsForPartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28991,7 +29093,7 @@ extension GetColumnStatisticsForPartitionOutput { extension GetColumnStatisticsForTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetColumnStatisticsForTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetColumnStatisticsForTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29004,7 +29106,7 @@ extension GetColumnStatisticsForTableOutput { extension GetColumnStatisticsTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetColumnStatisticsTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetColumnStatisticsTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29016,7 +29118,7 @@ extension GetColumnStatisticsTaskRunOutput { extension GetColumnStatisticsTaskRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetColumnStatisticsTaskRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetColumnStatisticsTaskRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29029,7 +29131,7 @@ extension GetColumnStatisticsTaskRunsOutput { extension GetConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29041,7 +29143,7 @@ extension GetConnectionOutput { extension GetConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29054,7 +29156,7 @@ extension GetConnectionsOutput { extension GetCrawlerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCrawlerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCrawlerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29066,7 +29168,7 @@ extension GetCrawlerOutput { extension GetCrawlerMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCrawlerMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCrawlerMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29079,7 +29181,7 @@ extension GetCrawlerMetricsOutput { extension GetCrawlersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCrawlersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCrawlersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29092,7 +29194,7 @@ extension GetCrawlersOutput { extension GetCustomEntityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomEntityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomEntityTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29106,7 +29208,7 @@ extension GetCustomEntityTypeOutput { extension GetDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29118,7 +29220,7 @@ extension GetDatabaseOutput { extension GetDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29131,7 +29233,7 @@ extension GetDatabasesOutput { extension GetDataCatalogEncryptionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataCatalogEncryptionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataCatalogEncryptionSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29143,7 +29245,7 @@ extension GetDataCatalogEncryptionSettingsOutput { extension GetDataflowGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataflowGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataflowGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29156,7 +29258,7 @@ extension GetDataflowGraphOutput { extension GetDataQualityResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataQualityResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataQualityResultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29180,7 +29282,7 @@ extension GetDataQualityResultOutput { extension GetDataQualityRuleRecommendationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataQualityRuleRecommendationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataQualityRuleRecommendationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29204,7 +29306,7 @@ extension GetDataQualityRuleRecommendationRunOutput { extension GetDataQualityRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataQualityRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataQualityRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29222,7 +29324,7 @@ extension GetDataQualityRulesetOutput { extension GetDataQualityRulesetEvaluationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataQualityRulesetEvaluationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataQualityRulesetEvaluationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29248,7 +29350,7 @@ extension GetDataQualityRulesetEvaluationRunOutput { extension GetDevEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29260,7 +29362,7 @@ extension GetDevEndpointOutput { extension GetDevEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29273,7 +29375,7 @@ extension GetDevEndpointsOutput { extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29285,7 +29387,7 @@ extension GetJobOutput { extension GetJobBookmarkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobBookmarkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobBookmarkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29297,7 +29399,7 @@ extension GetJobBookmarkOutput { extension GetJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29309,7 +29411,7 @@ extension GetJobRunOutput { extension GetJobRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29322,7 +29424,7 @@ extension GetJobRunsOutput { extension GetJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29335,7 +29437,7 @@ extension GetJobsOutput { extension GetMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29347,7 +29449,7 @@ extension GetMappingOutput { extension GetMLTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29368,7 +29470,7 @@ extension GetMLTaskRunOutput { extension GetMLTaskRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLTaskRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLTaskRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29381,7 +29483,7 @@ extension GetMLTaskRunsOutput { extension GetMLTransformOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLTransformOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLTransformOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29411,7 +29513,7 @@ extension GetMLTransformOutput { extension GetMLTransformsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLTransformsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLTransformsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29424,7 +29526,7 @@ extension GetMLTransformsOutput { extension GetPartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29436,7 +29538,7 @@ extension GetPartitionOutput { extension GetPartitionIndexesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPartitionIndexesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPartitionIndexesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29449,7 +29551,7 @@ extension GetPartitionIndexesOutput { extension GetPartitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPartitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPartitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29462,7 +29564,7 @@ extension GetPartitionsOutput { extension GetPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29475,7 +29577,7 @@ extension GetPlanOutput { extension GetRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29492,7 +29594,7 @@ extension GetRegistryOutput { extension GetResourcePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29505,7 +29607,7 @@ extension GetResourcePoliciesOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29520,7 +29622,7 @@ extension GetResourcePolicyOutput { extension GetSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29544,7 +29646,7 @@ extension GetSchemaOutput { extension GetSchemaByDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaByDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaByDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29560,7 +29662,7 @@ extension GetSchemaByDefinitionOutput { extension GetSchemaVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29578,7 +29680,7 @@ extension GetSchemaVersionOutput { extension GetSchemaVersionsDiffOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaVersionsDiffOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaVersionsDiffOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29590,7 +29692,7 @@ extension GetSchemaVersionsDiffOutput { extension GetSecurityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecurityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecurityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29602,7 +29704,7 @@ extension GetSecurityConfigurationOutput { extension GetSecurityConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecurityConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecurityConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29615,7 +29717,7 @@ extension GetSecurityConfigurationsOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29627,7 +29729,7 @@ extension GetSessionOutput { extension GetStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29639,7 +29741,7 @@ extension GetStatementOutput { extension GetTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29651,7 +29753,7 @@ extension GetTableOutput { extension GetTableOptimizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableOptimizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableOptimizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29666,7 +29768,7 @@ extension GetTableOptimizerOutput { extension GetTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29679,7 +29781,7 @@ extension GetTablesOutput { extension GetTableVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29691,7 +29793,7 @@ extension GetTableVersionOutput { extension GetTableVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29704,7 +29806,7 @@ extension GetTableVersionsOutput { extension GetTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29716,7 +29818,7 @@ extension GetTagsOutput { extension GetTriggerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTriggerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTriggerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29728,7 +29830,7 @@ extension GetTriggerOutput { extension GetTriggersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTriggersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTriggersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29741,7 +29843,7 @@ extension GetTriggersOutput { extension GetUnfilteredPartitionMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUnfilteredPartitionMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUnfilteredPartitionMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29755,7 +29857,7 @@ extension GetUnfilteredPartitionMetadataOutput { extension GetUnfilteredPartitionsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUnfilteredPartitionsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUnfilteredPartitionsMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29768,7 +29870,7 @@ extension GetUnfilteredPartitionsMetadataOutput { extension GetUnfilteredTableMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUnfilteredTableMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUnfilteredTableMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29789,7 +29891,7 @@ extension GetUnfilteredTableMetadataOutput { extension GetUsageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29805,7 +29907,7 @@ extension GetUsageProfileOutput { extension GetUserDefinedFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserDefinedFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserDefinedFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29817,7 +29919,7 @@ extension GetUserDefinedFunctionOutput { extension GetUserDefinedFunctionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserDefinedFunctionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserDefinedFunctionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29830,7 +29932,7 @@ extension GetUserDefinedFunctionsOutput { extension GetWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29842,7 +29944,7 @@ extension GetWorkflowOutput { extension GetWorkflowRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29854,7 +29956,7 @@ extension GetWorkflowRunOutput { extension GetWorkflowRunPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowRunPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowRunPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29866,7 +29968,7 @@ extension GetWorkflowRunPropertiesOutput { extension GetWorkflowRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29879,14 +29981,14 @@ extension GetWorkflowRunsOutput { extension ImportCatalogToGlueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportCatalogToGlueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportCatalogToGlueOutput { return ImportCatalogToGlueOutput() } } extension ListBlueprintsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBlueprintsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBlueprintsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29899,7 +30001,7 @@ extension ListBlueprintsOutput { extension ListColumnStatisticsTaskRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListColumnStatisticsTaskRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListColumnStatisticsTaskRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29912,7 +30014,7 @@ extension ListColumnStatisticsTaskRunsOutput { extension ListCrawlersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrawlersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrawlersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29925,7 +30027,7 @@ extension ListCrawlersOutput { extension ListCrawlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrawlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrawlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29938,7 +30040,7 @@ extension ListCrawlsOutput { extension ListCustomEntityTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomEntityTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomEntityTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29951,7 +30053,7 @@ extension ListCustomEntityTypesOutput { extension ListDataQualityResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataQualityResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataQualityResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29964,7 +30066,7 @@ extension ListDataQualityResultsOutput { extension ListDataQualityRuleRecommendationRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataQualityRuleRecommendationRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataQualityRuleRecommendationRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29977,7 +30079,7 @@ extension ListDataQualityRuleRecommendationRunsOutput { extension ListDataQualityRulesetEvaluationRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataQualityRulesetEvaluationRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataQualityRulesetEvaluationRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -29990,7 +30092,7 @@ extension ListDataQualityRulesetEvaluationRunsOutput { extension ListDataQualityRulesetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataQualityRulesetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataQualityRulesetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30003,7 +30105,7 @@ extension ListDataQualityRulesetsOutput { extension ListDevEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30016,7 +30118,7 @@ extension ListDevEndpointsOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30029,7 +30131,7 @@ extension ListJobsOutput { extension ListMLTransformsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMLTransformsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMLTransformsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30042,7 +30144,7 @@ extension ListMLTransformsOutput { extension ListRegistriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegistriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegistriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30055,7 +30157,7 @@ extension ListRegistriesOutput { extension ListSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30068,7 +30170,7 @@ extension ListSchemasOutput { extension ListSchemaVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemaVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemaVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30081,7 +30183,7 @@ extension ListSchemaVersionsOutput { extension ListSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30095,7 +30197,7 @@ extension ListSessionsOutput { extension ListStatementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStatementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStatementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30108,7 +30210,7 @@ extension ListStatementsOutput { extension ListTableOptimizerRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTableOptimizerRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTableOptimizerRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30124,7 +30226,7 @@ extension ListTableOptimizerRunsOutput { extension ListTriggersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTriggersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTriggersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30137,7 +30239,7 @@ extension ListTriggersOutput { extension ListUsageProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsageProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsageProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30150,7 +30252,7 @@ extension ListUsageProfilesOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30163,14 +30265,14 @@ extension ListWorkflowsOutput { extension PutDataCatalogEncryptionSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDataCatalogEncryptionSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDataCatalogEncryptionSettingsOutput { return PutDataCatalogEncryptionSettingsOutput() } } extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30182,7 +30284,7 @@ extension PutResourcePolicyOutput { extension PutSchemaVersionMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSchemaVersionMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSchemaVersionMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30201,14 +30303,14 @@ extension PutSchemaVersionMetadataOutput { extension PutWorkflowRunPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutWorkflowRunPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutWorkflowRunPropertiesOutput { return PutWorkflowRunPropertiesOutput() } } extension QuerySchemaVersionMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QuerySchemaVersionMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QuerySchemaVersionMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30222,7 +30324,7 @@ extension QuerySchemaVersionMetadataOutput { extension RegisterSchemaVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterSchemaVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterSchemaVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30236,7 +30338,7 @@ extension RegisterSchemaVersionOutput { extension RemoveSchemaVersionMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveSchemaVersionMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveSchemaVersionMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30255,7 +30357,7 @@ extension RemoveSchemaVersionMetadataOutput { extension ResetJobBookmarkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetJobBookmarkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetJobBookmarkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30267,7 +30369,7 @@ extension ResetJobBookmarkOutput { extension ResumeWorkflowRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeWorkflowRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeWorkflowRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30280,7 +30382,7 @@ extension ResumeWorkflowRunOutput { extension RunStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30292,7 +30394,7 @@ extension RunStatementOutput { extension SearchTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30305,7 +30407,7 @@ extension SearchTablesOutput { extension StartBlueprintRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBlueprintRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBlueprintRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30317,7 +30419,7 @@ extension StartBlueprintRunOutput { extension StartColumnStatisticsTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartColumnStatisticsTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartColumnStatisticsTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30329,21 +30431,21 @@ extension StartColumnStatisticsTaskRunOutput { extension StartCrawlerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCrawlerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCrawlerOutput { return StartCrawlerOutput() } } extension StartCrawlerScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCrawlerScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCrawlerScheduleOutput { return StartCrawlerScheduleOutput() } } extension StartDataQualityRuleRecommendationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataQualityRuleRecommendationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataQualityRuleRecommendationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30355,7 +30457,7 @@ extension StartDataQualityRuleRecommendationRunOutput { extension StartDataQualityRulesetEvaluationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataQualityRulesetEvaluationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataQualityRulesetEvaluationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30367,7 +30469,7 @@ extension StartDataQualityRulesetEvaluationRunOutput { extension StartExportLabelsTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExportLabelsTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExportLabelsTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30379,7 +30481,7 @@ extension StartExportLabelsTaskRunOutput { extension StartImportLabelsTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportLabelsTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportLabelsTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30391,7 +30493,7 @@ extension StartImportLabelsTaskRunOutput { extension StartJobRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartJobRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartJobRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30403,7 +30505,7 @@ extension StartJobRunOutput { extension StartMLEvaluationTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMLEvaluationTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMLEvaluationTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30415,7 +30517,7 @@ extension StartMLEvaluationTaskRunOutput { extension StartMLLabelingSetGenerationTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMLLabelingSetGenerationTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMLLabelingSetGenerationTaskRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30427,7 +30529,7 @@ extension StartMLLabelingSetGenerationTaskRunOutput { extension StartTriggerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTriggerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTriggerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30439,7 +30541,7 @@ extension StartTriggerOutput { extension StartWorkflowRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWorkflowRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWorkflowRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30451,28 +30553,28 @@ extension StartWorkflowRunOutput { extension StopColumnStatisticsTaskRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopColumnStatisticsTaskRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopColumnStatisticsTaskRunOutput { return StopColumnStatisticsTaskRunOutput() } } extension StopCrawlerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCrawlerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCrawlerOutput { return StopCrawlerOutput() } } extension StopCrawlerScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCrawlerScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCrawlerScheduleOutput { return StopCrawlerScheduleOutput() } } extension StopSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30484,7 +30586,7 @@ extension StopSessionOutput { extension StopTriggerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTriggerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTriggerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30496,28 +30598,28 @@ extension StopTriggerOutput { extension StopWorkflowRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopWorkflowRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopWorkflowRunOutput { return StopWorkflowRunOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBlueprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBlueprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBlueprintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30529,14 +30631,14 @@ extension UpdateBlueprintOutput { extension UpdateClassifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClassifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClassifierOutput { return UpdateClassifierOutput() } } extension UpdateColumnStatisticsForPartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateColumnStatisticsForPartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateColumnStatisticsForPartitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30548,7 +30650,7 @@ extension UpdateColumnStatisticsForPartitionOutput { extension UpdateColumnStatisticsForTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateColumnStatisticsForTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateColumnStatisticsForTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30560,35 +30662,35 @@ extension UpdateColumnStatisticsForTableOutput { extension UpdateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectionOutput { return UpdateConnectionOutput() } } extension UpdateCrawlerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCrawlerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCrawlerOutput { return UpdateCrawlerOutput() } } extension UpdateCrawlerScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCrawlerScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCrawlerScheduleOutput { return UpdateCrawlerScheduleOutput() } } extension UpdateDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatabaseOutput { return UpdateDatabaseOutput() } } extension UpdateDataQualityRulesetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataQualityRulesetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataQualityRulesetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30602,14 +30704,14 @@ extension UpdateDataQualityRulesetOutput { extension UpdateDevEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDevEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDevEndpointOutput { return UpdateDevEndpointOutput() } } extension UpdateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30621,7 +30723,7 @@ extension UpdateJobOutput { extension UpdateJobFromSourceControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobFromSourceControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobFromSourceControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30633,7 +30735,7 @@ extension UpdateJobFromSourceControlOutput { extension UpdateMLTransformOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMLTransformOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMLTransformOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30645,14 +30747,14 @@ extension UpdateMLTransformOutput { extension UpdatePartitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePartitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePartitionOutput { return UpdatePartitionOutput() } } extension UpdateRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30665,7 +30767,7 @@ extension UpdateRegistryOutput { extension UpdateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30679,7 +30781,7 @@ extension UpdateSchemaOutput { extension UpdateSourceControlFromJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSourceControlFromJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSourceControlFromJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30691,21 +30793,21 @@ extension UpdateSourceControlFromJobOutput { extension UpdateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableOutput { return UpdateTableOutput() } } extension UpdateTableOptimizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableOptimizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableOptimizerOutput { return UpdateTableOptimizerOutput() } } extension UpdateTriggerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTriggerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTriggerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30717,7 +30819,7 @@ extension UpdateTriggerOutput { extension UpdateUsageProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUsageProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUsageProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30729,14 +30831,14 @@ extension UpdateUsageProfileOutput { extension UpdateUserDefinedFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserDefinedFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserDefinedFunctionOutput { return UpdateUserDefinedFunctionOutput() } } extension UpdateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -30748,7 +30850,7 @@ extension UpdateWorkflowOutput { enum BatchCreatePartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30768,7 +30870,7 @@ enum BatchCreatePartitionOutputError { enum BatchDeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30783,7 +30885,7 @@ enum BatchDeleteConnectionOutputError { enum BatchDeletePartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30800,7 +30902,7 @@ enum BatchDeletePartitionOutputError { enum BatchDeleteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30819,7 +30921,7 @@ enum BatchDeleteTableOutputError { enum BatchDeleteTableVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30836,7 +30938,7 @@ enum BatchDeleteTableVersionOutputError { enum BatchGetBlueprintsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30852,7 +30954,7 @@ enum BatchGetBlueprintsOutputError { enum BatchGetCrawlersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30867,7 +30969,7 @@ enum BatchGetCrawlersOutputError { enum BatchGetCustomEntityTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30883,7 +30985,7 @@ enum BatchGetCustomEntityTypesOutputError { enum BatchGetDataQualityResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30899,7 +31001,7 @@ enum BatchGetDataQualityResultOutputError { enum BatchGetDevEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30916,7 +31018,7 @@ enum BatchGetDevEndpointsOutputError { enum BatchGetJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30932,7 +31034,7 @@ enum BatchGetJobsOutputError { enum BatchGetPartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30953,7 +31055,7 @@ enum BatchGetPartitionOutputError { enum BatchGetTableOptimizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30967,7 +31069,7 @@ enum BatchGetTableOptimizerOutputError { enum BatchGetTriggersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30983,7 +31085,7 @@ enum BatchGetTriggersOutputError { enum BatchGetWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30999,7 +31101,7 @@ enum BatchGetWorkflowsOutputError { enum BatchStopJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31015,7 +31117,7 @@ enum BatchStopJobRunOutputError { enum BatchUpdatePartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31033,7 +31135,7 @@ enum BatchUpdatePartitionOutputError { enum CancelDataQualityRuleRecommendationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31050,7 +31152,7 @@ enum CancelDataQualityRuleRecommendationRunOutputError { enum CancelDataQualityRulesetEvaluationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31067,7 +31169,7 @@ enum CancelDataQualityRulesetEvaluationRunOutputError { enum CancelMLTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31084,7 +31186,7 @@ enum CancelMLTaskRunOutputError { enum CancelStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31103,7 +31205,7 @@ enum CancelStatementOutputError { enum CheckSchemaVersionValidityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31119,7 +31221,7 @@ enum CheckSchemaVersionValidityOutputError { enum CreateBlueprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31137,7 +31239,7 @@ enum CreateBlueprintOutputError { enum CreateClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31153,7 +31255,7 @@ enum CreateClassifierOutputError { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31171,7 +31273,7 @@ enum CreateConnectionOutputError { enum CreateCrawlerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31188,7 +31290,7 @@ enum CreateCrawlerOutputError { enum CreateCustomEntityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31208,7 +31310,7 @@ enum CreateCustomEntityTypeOutputError { enum CreateDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31229,7 +31331,7 @@ enum CreateDatabaseOutputError { enum CreateDataQualityRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31247,7 +31349,7 @@ enum CreateDataQualityRulesetOutputError { enum CreateDevEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31268,7 +31370,7 @@ enum CreateDevEndpointOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31288,7 +31390,7 @@ enum CreateJobOutputError { enum CreateMLTransformOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31308,7 +31410,7 @@ enum CreateMLTransformOutputError { enum CreatePartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31328,7 +31430,7 @@ enum CreatePartitionOutputError { enum CreatePartitionIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31348,7 +31450,7 @@ enum CreatePartitionIndexOutputError { enum CreateRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31367,7 +31469,7 @@ enum CreateRegistryOutputError { enum CreateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31387,7 +31489,7 @@ enum CreateSchemaOutputError { enum CreateScriptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31403,7 +31505,7 @@ enum CreateScriptOutputError { enum CreateSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31421,7 +31523,7 @@ enum CreateSecurityConfigurationOutputError { enum CreateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31442,7 +31544,7 @@ enum CreateSessionOutputError { enum CreateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31464,7 +31566,7 @@ enum CreateTableOutputError { enum CreateTableOptimizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31482,7 +31584,7 @@ enum CreateTableOptimizerOutputError { enum CreateTriggerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31503,7 +31605,7 @@ enum CreateTriggerOutputError { enum CreateUsageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31522,7 +31624,7 @@ enum CreateUsageProfileOutputError { enum CreateUserDefinedFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31542,7 +31644,7 @@ enum CreateUserDefinedFunctionOutputError { enum CreateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31561,7 +31663,7 @@ enum CreateWorkflowOutputError { enum DeleteBlueprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31577,7 +31679,7 @@ enum DeleteBlueprintOutputError { enum DeleteClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31592,7 +31694,7 @@ enum DeleteClassifierOutputError { enum DeleteColumnStatisticsForPartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31610,7 +31712,7 @@ enum DeleteColumnStatisticsForPartitionOutputError { enum DeleteColumnStatisticsForTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31628,7 +31730,7 @@ enum DeleteColumnStatisticsForTableOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31643,7 +31745,7 @@ enum DeleteConnectionOutputError { enum DeleteCrawlerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31660,7 +31762,7 @@ enum DeleteCrawlerOutputError { enum DeleteCustomEntityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31678,7 +31780,7 @@ enum DeleteCustomEntityTypeOutputError { enum DeleteDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31696,7 +31798,7 @@ enum DeleteDatabaseOutputError { enum DeleteDataQualityRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31713,7 +31815,7 @@ enum DeleteDataQualityRulesetOutputError { enum DeleteDevEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31730,7 +31832,7 @@ enum DeleteDevEndpointOutputError { enum DeleteJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31746,7 +31848,7 @@ enum DeleteJobOutputError { enum DeleteMLTransformOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31763,7 +31865,7 @@ enum DeleteMLTransformOutputError { enum DeletePartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31780,7 +31882,7 @@ enum DeletePartitionOutputError { enum DeletePartitionIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31799,7 +31901,7 @@ enum DeletePartitionIndexOutputError { enum DeleteRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31816,7 +31918,7 @@ enum DeleteRegistryOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31834,7 +31936,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31851,7 +31953,7 @@ enum DeleteSchemaOutputError { enum DeleteSchemaVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31868,7 +31970,7 @@ enum DeleteSchemaVersionsOutputError { enum DeleteSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31885,7 +31987,7 @@ enum DeleteSecurityConfigurationOutputError { enum DeleteSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31904,7 +32006,7 @@ enum DeleteSessionOutputError { enum DeleteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31923,7 +32025,7 @@ enum DeleteTableOutputError { enum DeleteTableOptimizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31940,7 +32042,7 @@ enum DeleteTableOptimizerOutputError { enum DeleteTableVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31957,7 +32059,7 @@ enum DeleteTableVersionOutputError { enum DeleteTriggerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31974,7 +32076,7 @@ enum DeleteTriggerOutputError { enum DeleteUsageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31991,7 +32093,7 @@ enum DeleteUsageProfileOutputError { enum DeleteUserDefinedFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32008,7 +32110,7 @@ enum DeleteUserDefinedFunctionOutputError { enum DeleteWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32025,7 +32127,7 @@ enum DeleteWorkflowOutputError { enum GetBlueprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32042,7 +32144,7 @@ enum GetBlueprintOutputError { enum GetBlueprintRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32058,7 +32160,7 @@ enum GetBlueprintRunOutputError { enum GetBlueprintRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32075,7 +32177,7 @@ enum GetBlueprintRunsOutputError { enum GetCatalogImportStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32090,7 +32192,7 @@ enum GetCatalogImportStatusOutputError { enum GetClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32105,7 +32207,7 @@ enum GetClassifierOutputError { enum GetClassifiersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32119,7 +32221,7 @@ enum GetClassifiersOutputError { enum GetColumnStatisticsForPartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32137,7 +32239,7 @@ enum GetColumnStatisticsForPartitionOutputError { enum GetColumnStatisticsForTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32155,7 +32257,7 @@ enum GetColumnStatisticsForTableOutputError { enum GetColumnStatisticsTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32171,7 +32273,7 @@ enum GetColumnStatisticsTaskRunOutputError { enum GetColumnStatisticsTaskRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32185,7 +32287,7 @@ enum GetColumnStatisticsTaskRunsOutputError { enum GetConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32202,7 +32304,7 @@ enum GetConnectionOutputError { enum GetConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32219,7 +32321,7 @@ enum GetConnectionsOutputError { enum GetCrawlerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32234,7 +32336,7 @@ enum GetCrawlerOutputError { enum GetCrawlerMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32248,7 +32350,7 @@ enum GetCrawlerMetricsOutputError { enum GetCrawlersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32262,7 +32364,7 @@ enum GetCrawlersOutputError { enum GetCustomEntityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32280,7 +32382,7 @@ enum GetCustomEntityTypeOutputError { enum GetDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32299,7 +32401,7 @@ enum GetDatabaseOutputError { enum GetDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32316,7 +32418,7 @@ enum GetDatabasesOutputError { enum GetDataCatalogEncryptionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32332,7 +32434,7 @@ enum GetDataCatalogEncryptionSettingsOutputError { enum GetDataflowGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32348,7 +32450,7 @@ enum GetDataflowGraphOutputError { enum GetDataQualityResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32365,7 +32467,7 @@ enum GetDataQualityResultOutputError { enum GetDataQualityRuleRecommendationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32382,7 +32484,7 @@ enum GetDataQualityRuleRecommendationRunOutputError { enum GetDataQualityRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32399,7 +32501,7 @@ enum GetDataQualityRulesetOutputError { enum GetDataQualityRulesetEvaluationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32416,7 +32518,7 @@ enum GetDataQualityRulesetEvaluationRunOutputError { enum GetDevEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32433,7 +32535,7 @@ enum GetDevEndpointOutputError { enum GetDevEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32450,7 +32552,7 @@ enum GetDevEndpointsOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32467,7 +32569,7 @@ enum GetJobOutputError { enum GetJobBookmarkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32485,7 +32587,7 @@ enum GetJobBookmarkOutputError { enum GetJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32502,7 +32604,7 @@ enum GetJobRunOutputError { enum GetJobRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32519,7 +32621,7 @@ enum GetJobRunsOutputError { enum GetJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32536,7 +32638,7 @@ enum GetJobsOutputError { enum GetMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32553,7 +32655,7 @@ enum GetMappingOutputError { enum GetMLTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32570,7 +32672,7 @@ enum GetMLTaskRunOutputError { enum GetMLTaskRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32587,7 +32689,7 @@ enum GetMLTaskRunsOutputError { enum GetMLTransformOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32604,7 +32706,7 @@ enum GetMLTransformOutputError { enum GetMLTransformsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32621,7 +32723,7 @@ enum GetMLTransformsOutputError { enum GetPartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32641,7 +32743,7 @@ enum GetPartitionOutputError { enum GetPartitionIndexesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32659,7 +32761,7 @@ enum GetPartitionIndexesOutputError { enum GetPartitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32681,7 +32783,7 @@ enum GetPartitionsOutputError { enum GetPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32697,7 +32799,7 @@ enum GetPlanOutputError { enum GetRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32714,7 +32816,7 @@ enum GetRegistryOutputError { enum GetResourcePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32731,7 +32833,7 @@ enum GetResourcePoliciesOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32748,7 +32850,7 @@ enum GetResourcePolicyOutputError { enum GetSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32765,7 +32867,7 @@ enum GetSchemaOutputError { enum GetSchemaByDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32782,7 +32884,7 @@ enum GetSchemaByDefinitionOutputError { enum GetSchemaVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32799,7 +32901,7 @@ enum GetSchemaVersionOutputError { enum GetSchemaVersionsDiffOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32816,7 +32918,7 @@ enum GetSchemaVersionsDiffOutputError { enum GetSecurityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32833,7 +32935,7 @@ enum GetSecurityConfigurationOutputError { enum GetSecurityConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32850,7 +32952,7 @@ enum GetSecurityConfigurationsOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32868,7 +32970,7 @@ enum GetSessionOutputError { enum GetStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32887,7 +32989,7 @@ enum GetStatementOutputError { enum GetTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32908,7 +33010,7 @@ enum GetTableOutputError { enum GetTableOptimizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32925,7 +33027,7 @@ enum GetTableOptimizerOutputError { enum GetTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32945,7 +33047,7 @@ enum GetTablesOutputError { enum GetTableVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32963,7 +33065,7 @@ enum GetTableVersionOutputError { enum GetTableVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32981,7 +33083,7 @@ enum GetTableVersionsOutputError { enum GetTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -32998,7 +33100,7 @@ enum GetTagsOutputError { enum GetTriggerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33015,7 +33117,7 @@ enum GetTriggerOutputError { enum GetTriggersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33032,7 +33134,7 @@ enum GetTriggersOutputError { enum GetUnfilteredPartitionMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33053,7 +33155,7 @@ enum GetUnfilteredPartitionMetadataOutputError { enum GetUnfilteredPartitionsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33074,7 +33176,7 @@ enum GetUnfilteredPartitionsMetadataOutputError { enum GetUnfilteredTableMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33095,7 +33197,7 @@ enum GetUnfilteredTableMetadataOutputError { enum GetUsageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33113,7 +33215,7 @@ enum GetUsageProfileOutputError { enum GetUserDefinedFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33131,7 +33233,7 @@ enum GetUserDefinedFunctionOutputError { enum GetUserDefinedFunctionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33149,7 +33251,7 @@ enum GetUserDefinedFunctionsOutputError { enum GetWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33166,7 +33268,7 @@ enum GetWorkflowOutputError { enum GetWorkflowRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33183,7 +33285,7 @@ enum GetWorkflowRunOutputError { enum GetWorkflowRunPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33200,7 +33302,7 @@ enum GetWorkflowRunPropertiesOutputError { enum GetWorkflowRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33217,7 +33319,7 @@ enum GetWorkflowRunsOutputError { enum ImportCatalogToGlueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33232,7 +33334,7 @@ enum ImportCatalogToGlueOutputError { enum ListBlueprintsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33248,7 +33350,7 @@ enum ListBlueprintsOutputError { enum ListColumnStatisticsTaskRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33262,7 +33364,7 @@ enum ListColumnStatisticsTaskRunsOutputError { enum ListCrawlersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33276,7 +33378,7 @@ enum ListCrawlersOutputError { enum ListCrawlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33292,7 +33394,7 @@ enum ListCrawlsOutputError { enum ListCustomEntityTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33308,7 +33410,7 @@ enum ListCustomEntityTypesOutputError { enum ListDataQualityResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33324,7 +33426,7 @@ enum ListDataQualityResultsOutputError { enum ListDataQualityRuleRecommendationRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33340,7 +33442,7 @@ enum ListDataQualityRuleRecommendationRunsOutputError { enum ListDataQualityRulesetEvaluationRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33356,7 +33458,7 @@ enum ListDataQualityRulesetEvaluationRunsOutputError { enum ListDataQualityRulesetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33373,7 +33475,7 @@ enum ListDataQualityRulesetsOutputError { enum ListDevEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33390,7 +33492,7 @@ enum ListDevEndpointsOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33407,7 +33509,7 @@ enum ListJobsOutputError { enum ListMLTransformsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33424,7 +33526,7 @@ enum ListMLTransformsOutputError { enum ListRegistriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33440,7 +33542,7 @@ enum ListRegistriesOutputError { enum ListSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33457,7 +33559,7 @@ enum ListSchemasOutputError { enum ListSchemaVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33474,7 +33576,7 @@ enum ListSchemaVersionsOutputError { enum ListSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33491,7 +33593,7 @@ enum ListSessionsOutputError { enum ListStatementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33510,7 +33612,7 @@ enum ListStatementsOutputError { enum ListTableOptimizerRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33527,7 +33629,7 @@ enum ListTableOptimizerRunsOutputError { enum ListTriggersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33544,7 +33646,7 @@ enum ListTriggersOutputError { enum ListUsageProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33561,7 +33663,7 @@ enum ListUsageProfilesOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33577,7 +33679,7 @@ enum ListWorkflowsOutputError { enum PutDataCatalogEncryptionSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33593,7 +33695,7 @@ enum PutDataCatalogEncryptionSettingsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33611,7 +33713,7 @@ enum PutResourcePolicyOutputError { enum PutSchemaVersionMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33629,7 +33731,7 @@ enum PutSchemaVersionMetadataOutputError { enum PutWorkflowRunPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33649,7 +33751,7 @@ enum PutWorkflowRunPropertiesOutputError { enum QuerySchemaVersionMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33665,7 +33767,7 @@ enum QuerySchemaVersionMetadataOutputError { enum RegisterSchemaVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33684,7 +33786,7 @@ enum RegisterSchemaVersionOutputError { enum RemoveSchemaVersionMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33700,7 +33802,7 @@ enum RemoveSchemaVersionMetadataOutputError { enum ResetJobBookmarkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33717,7 +33819,7 @@ enum ResetJobBookmarkOutputError { enum ResumeWorkflowRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33736,7 +33838,7 @@ enum ResumeWorkflowRunOutputError { enum RunStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33757,7 +33859,7 @@ enum RunStatementOutputError { enum SearchTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33773,7 +33875,7 @@ enum SearchTablesOutputError { enum StartBlueprintRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33792,7 +33894,7 @@ enum StartBlueprintRunOutputError { enum StartColumnStatisticsTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33811,7 +33913,7 @@ enum StartColumnStatisticsTaskRunOutputError { enum StartCrawlerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33827,7 +33929,7 @@ enum StartCrawlerOutputError { enum StartCrawlerScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33845,7 +33947,7 @@ enum StartCrawlerScheduleOutputError { enum StartDataQualityRuleRecommendationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33862,7 +33964,7 @@ enum StartDataQualityRuleRecommendationRunOutputError { enum StartDataQualityRulesetEvaluationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33880,7 +33982,7 @@ enum StartDataQualityRulesetEvaluationRunOutputError { enum StartExportLabelsTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33897,7 +33999,7 @@ enum StartExportLabelsTaskRunOutputError { enum StartImportLabelsTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33915,7 +34017,7 @@ enum StartImportLabelsTaskRunOutputError { enum StartJobRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33934,7 +34036,7 @@ enum StartJobRunOutputError { enum StartMLEvaluationTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33953,7 +34055,7 @@ enum StartMLEvaluationTaskRunOutputError { enum StartMLLabelingSetGenerationTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33971,7 +34073,7 @@ enum StartMLLabelingSetGenerationTaskRunOutputError { enum StartTriggerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -33990,7 +34092,7 @@ enum StartTriggerOutputError { enum StartWorkflowRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34009,7 +34111,7 @@ enum StartWorkflowRunOutputError { enum StopColumnStatisticsTaskRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34026,7 +34128,7 @@ enum StopColumnStatisticsTaskRunOutputError { enum StopCrawlerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34043,7 +34145,7 @@ enum StopCrawlerOutputError { enum StopCrawlerScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34060,7 +34162,7 @@ enum StopCrawlerScheduleOutputError { enum StopSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34079,7 +34181,7 @@ enum StopSessionOutputError { enum StopTriggerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34097,7 +34199,7 @@ enum StopTriggerOutputError { enum StopWorkflowRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34115,7 +34217,7 @@ enum StopWorkflowRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34132,7 +34234,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34149,7 +34251,7 @@ enum UntagResourceOutputError { enum UpdateBlueprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34168,7 +34270,7 @@ enum UpdateBlueprintOutputError { enum UpdateClassifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34185,7 +34287,7 @@ enum UpdateClassifierOutputError { enum UpdateColumnStatisticsForPartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34203,7 +34305,7 @@ enum UpdateColumnStatisticsForPartitionOutputError { enum UpdateColumnStatisticsForTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34221,7 +34323,7 @@ enum UpdateColumnStatisticsForTableOutputError { enum UpdateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34238,7 +34340,7 @@ enum UpdateConnectionOutputError { enum UpdateCrawlerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34256,7 +34358,7 @@ enum UpdateCrawlerOutputError { enum UpdateCrawlerScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34274,7 +34376,7 @@ enum UpdateCrawlerScheduleOutputError { enum UpdateDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34293,7 +34395,7 @@ enum UpdateDatabaseOutputError { enum UpdateDataQualityRulesetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34313,7 +34415,7 @@ enum UpdateDataQualityRulesetOutputError { enum UpdateDevEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34331,7 +34433,7 @@ enum UpdateDevEndpointOutputError { enum UpdateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34349,7 +34451,7 @@ enum UpdateJobOutputError { enum UpdateJobFromSourceControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34369,7 +34471,7 @@ enum UpdateJobFromSourceControlOutputError { enum UpdateMLTransformOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34387,7 +34489,7 @@ enum UpdateMLTransformOutputError { enum UpdatePartitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34405,7 +34507,7 @@ enum UpdatePartitionOutputError { enum UpdateRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34423,7 +34525,7 @@ enum UpdateRegistryOutputError { enum UpdateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34441,7 +34543,7 @@ enum UpdateSchemaOutputError { enum UpdateSourceControlFromJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34461,7 +34563,7 @@ enum UpdateSourceControlFromJobOutputError { enum UpdateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34482,7 +34584,7 @@ enum UpdateTableOutputError { enum UpdateTableOptimizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34499,7 +34601,7 @@ enum UpdateTableOptimizerOutputError { enum UpdateTriggerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34517,7 +34619,7 @@ enum UpdateTriggerOutputError { enum UpdateUsageProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34536,7 +34638,7 @@ enum UpdateUsageProfileOutputError { enum UpdateUserDefinedFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -34554,7 +34656,7 @@ enum UpdateUserDefinedFunctionOutputError { enum UpdateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -36019,6 +36121,7 @@ extension GlueClientTypes.Recipe { try writer["Inputs"].writeList(value.inputs, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Name"].write(value.name) try writer["RecipeReference"].write(value.recipeReference, with: GlueClientTypes.RecipeReference.write(value:to:)) + try writer["RecipeSteps"].writeList(value.recipeSteps, memberWritingClosure: GlueClientTypes.RecipeStep.write(value:to:), memberNodeInfo: "member", isFlattened: false) } static func read(from reader: SmithyJSON.Reader) throws -> GlueClientTypes.Recipe { @@ -36027,6 +36130,60 @@ extension GlueClientTypes.Recipe { value.name = try reader["Name"].readIfPresent() value.inputs = try reader["Inputs"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) value.recipeReference = try reader["RecipeReference"].readIfPresent(with: GlueClientTypes.RecipeReference.read(from:)) + value.recipeSteps = try reader["RecipeSteps"].readListIfPresent(memberReadingClosure: GlueClientTypes.RecipeStep.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension GlueClientTypes.RecipeStep { + + static func write(value: GlueClientTypes.RecipeStep?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Action"].write(value.action, with: GlueClientTypes.RecipeAction.write(value:to:)) + try writer["ConditionExpressions"].writeList(value.conditionExpressions, memberWritingClosure: GlueClientTypes.ConditionExpression.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> GlueClientTypes.RecipeStep { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GlueClientTypes.RecipeStep() + value.action = try reader["Action"].readIfPresent(with: GlueClientTypes.RecipeAction.read(from:)) + value.conditionExpressions = try reader["ConditionExpressions"].readListIfPresent(memberReadingClosure: GlueClientTypes.ConditionExpression.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension GlueClientTypes.ConditionExpression { + + static func write(value: GlueClientTypes.ConditionExpression?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Condition"].write(value.condition) + try writer["TargetColumn"].write(value.targetColumn) + try writer["Value"].write(value.value) + } + + static func read(from reader: SmithyJSON.Reader) throws -> GlueClientTypes.ConditionExpression { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GlueClientTypes.ConditionExpression() + value.condition = try reader["Condition"].readIfPresent() + value.value = try reader["Value"].readIfPresent() + value.targetColumn = try reader["TargetColumn"].readIfPresent() + return value + } +} + +extension GlueClientTypes.RecipeAction { + + static func write(value: GlueClientTypes.RecipeAction?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Operation"].write(value.operation) + try writer["Parameters"].writeMap(value.parameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> GlueClientTypes.RecipeAction { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = GlueClientTypes.RecipeAction() + value.operation = try reader["Operation"].readIfPresent() + value.parameters = try reader["Parameters"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } } diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/Paginators.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/Paginators.swift index 23bd99c92f0..cdb84afe085 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/Paginators.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/Paginators.swift @@ -161,6 +161,7 @@ extension GlueClient { extension GetDatabasesInput: ClientRuntime.PaginateToken { public func usingPaginationToken(_ token: Swift.String) -> GetDatabasesInput { return GetDatabasesInput( + attributesToGet: self.attributesToGet, catalogId: self.catalogId, maxResults: self.maxResults, nextToken: token, diff --git a/Sources/Services/AWSGrafana/Sources/AWSGrafana/Models.swift b/Sources/Services/AWSGrafana/Sources/AWSGrafana/Models.swift index 62067594e36..ae6ad9aaa2a 100644 --- a/Sources/Services/AWSGrafana/Sources/AWSGrafana/Models.swift +++ b/Sources/Services/AWSGrafana/Sources/AWSGrafana/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -135,7 +135,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -169,7 +169,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -211,7 +211,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -251,7 +251,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -345,7 +345,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2885,7 +2885,7 @@ extension UpdateWorkspaceConfigurationInput { extension AssociateLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2897,7 +2897,7 @@ extension AssociateLicenseOutput { extension CreateWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2909,7 +2909,7 @@ extension CreateWorkspaceOutput { extension CreateWorkspaceApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2923,7 +2923,7 @@ extension CreateWorkspaceApiKeyOutput { extension CreateWorkspaceServiceAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceServiceAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceServiceAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2938,7 +2938,7 @@ extension CreateWorkspaceServiceAccountOutput { extension CreateWorkspaceServiceAccountTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceServiceAccountTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceServiceAccountTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2952,7 +2952,7 @@ extension CreateWorkspaceServiceAccountTokenOutput { extension DeleteWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2964,7 +2964,7 @@ extension DeleteWorkspaceOutput { extension DeleteWorkspaceApiKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceApiKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceApiKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2977,7 +2977,7 @@ extension DeleteWorkspaceApiKeyOutput { extension DeleteWorkspaceServiceAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceServiceAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceServiceAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2990,7 +2990,7 @@ extension DeleteWorkspaceServiceAccountOutput { extension DeleteWorkspaceServiceAccountTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceServiceAccountTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceServiceAccountTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3004,7 +3004,7 @@ extension DeleteWorkspaceServiceAccountTokenOutput { extension DescribeWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3016,7 +3016,7 @@ extension DescribeWorkspaceOutput { extension DescribeWorkspaceAuthenticationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceAuthenticationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceAuthenticationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3028,7 +3028,7 @@ extension DescribeWorkspaceAuthenticationOutput { extension DescribeWorkspaceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3041,7 +3041,7 @@ extension DescribeWorkspaceConfigurationOutput { extension DisassociateLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3053,7 +3053,7 @@ extension DisassociateLicenseOutput { extension ListPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3066,7 +3066,7 @@ extension ListPermissionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3078,7 +3078,7 @@ extension ListTagsForResourceOutput { extension ListVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3091,7 +3091,7 @@ extension ListVersionsOutput { extension ListWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3104,7 +3104,7 @@ extension ListWorkspacesOutput { extension ListWorkspaceServiceAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkspaceServiceAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkspaceServiceAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3118,7 +3118,7 @@ extension ListWorkspaceServiceAccountsOutput { extension ListWorkspaceServiceAccountTokensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkspaceServiceAccountTokensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkspaceServiceAccountTokensOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3133,21 +3133,21 @@ extension ListWorkspaceServiceAccountTokensOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3159,7 +3159,7 @@ extension UpdatePermissionsOutput { extension UpdateWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3171,7 +3171,7 @@ extension UpdateWorkspaceOutput { extension UpdateWorkspaceAuthenticationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceAuthenticationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceAuthenticationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3183,14 +3183,14 @@ extension UpdateWorkspaceAuthenticationOutput { extension UpdateWorkspaceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceConfigurationOutput { return UpdateWorkspaceConfigurationOutput() } } enum AssociateLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3208,7 +3208,7 @@ enum AssociateLicenseOutputError { enum CreateWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3227,7 +3227,7 @@ enum CreateWorkspaceOutputError { enum CreateWorkspaceApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3247,7 +3247,7 @@ enum CreateWorkspaceApiKeyOutputError { enum CreateWorkspaceServiceAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3267,7 +3267,7 @@ enum CreateWorkspaceServiceAccountOutputError { enum CreateWorkspaceServiceAccountTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3287,7 +3287,7 @@ enum CreateWorkspaceServiceAccountTokenOutputError { enum DeleteWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3306,7 +3306,7 @@ enum DeleteWorkspaceOutputError { enum DeleteWorkspaceApiKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3325,7 +3325,7 @@ enum DeleteWorkspaceApiKeyOutputError { enum DeleteWorkspaceServiceAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3344,7 +3344,7 @@ enum DeleteWorkspaceServiceAccountOutputError { enum DeleteWorkspaceServiceAccountTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3363,7 +3363,7 @@ enum DeleteWorkspaceServiceAccountTokenOutputError { enum DescribeWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3381,7 +3381,7 @@ enum DescribeWorkspaceOutputError { enum DescribeWorkspaceAuthenticationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3400,7 +3400,7 @@ enum DescribeWorkspaceAuthenticationOutputError { enum DescribeWorkspaceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3417,7 +3417,7 @@ enum DescribeWorkspaceConfigurationOutputError { enum DisassociateLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3435,7 +3435,7 @@ enum DisassociateLicenseOutputError { enum ListPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3453,7 +3453,7 @@ enum ListPermissionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3471,7 +3471,7 @@ enum ListTagsForResourceOutputError { enum ListVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3489,7 +3489,7 @@ enum ListVersionsOutputError { enum ListWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3505,7 +3505,7 @@ enum ListWorkspacesOutputError { enum ListWorkspaceServiceAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3524,7 +3524,7 @@ enum ListWorkspaceServiceAccountsOutputError { enum ListWorkspaceServiceAccountTokensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3543,7 +3543,7 @@ enum ListWorkspaceServiceAccountTokensOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3561,7 +3561,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3579,7 +3579,7 @@ enum UntagResourceOutputError { enum UpdatePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3597,7 +3597,7 @@ enum UpdatePermissionsOutputError { enum UpdateWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3616,7 +3616,7 @@ enum UpdateWorkspaceOutputError { enum UpdateWorkspaceAuthenticationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3635,7 +3635,7 @@ enum UpdateWorkspaceAuthenticationOutputError { enum UpdateWorkspaceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/Models.swift b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/Models.swift index 89cf64f21c8..5168200d6e0 100644 --- a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/Models.swift +++ b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -941,7 +941,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -970,7 +970,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6898,7 +6898,7 @@ extension UpdateThingRuntimeConfigurationInput { extension AssociateRoleToGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateRoleToGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateRoleToGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6910,7 +6910,7 @@ extension AssociateRoleToGroupOutput { extension AssociateServiceRoleToAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateServiceRoleToAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateServiceRoleToAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6922,7 +6922,7 @@ extension AssociateServiceRoleToAccountOutput { extension CreateConnectorDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6940,7 +6940,7 @@ extension CreateConnectorDefinitionOutput { extension CreateConnectorDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6955,7 +6955,7 @@ extension CreateConnectorDefinitionVersionOutput { extension CreateCoreDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCoreDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCoreDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6973,7 +6973,7 @@ extension CreateCoreDefinitionOutput { extension CreateCoreDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCoreDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCoreDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6988,7 +6988,7 @@ extension CreateCoreDefinitionVersionOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7001,7 +7001,7 @@ extension CreateDeploymentOutput { extension CreateDeviceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeviceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeviceDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7019,7 +7019,7 @@ extension CreateDeviceDefinitionOutput { extension CreateDeviceDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeviceDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeviceDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7034,7 +7034,7 @@ extension CreateDeviceDefinitionVersionOutput { extension CreateFunctionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFunctionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFunctionDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7052,7 +7052,7 @@ extension CreateFunctionDefinitionOutput { extension CreateFunctionDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFunctionDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFunctionDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7067,7 +7067,7 @@ extension CreateFunctionDefinitionVersionOutput { extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7085,7 +7085,7 @@ extension CreateGroupOutput { extension CreateGroupCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupCertificateAuthorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7097,7 +7097,7 @@ extension CreateGroupCertificateAuthorityOutput { extension CreateGroupVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7112,7 +7112,7 @@ extension CreateGroupVersionOutput { extension CreateLoggerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoggerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoggerDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7130,7 +7130,7 @@ extension CreateLoggerDefinitionOutput { extension CreateLoggerDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoggerDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoggerDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7145,7 +7145,7 @@ extension CreateLoggerDefinitionVersionOutput { extension CreateResourceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7163,7 +7163,7 @@ extension CreateResourceDefinitionOutput { extension CreateResourceDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7178,7 +7178,7 @@ extension CreateResourceDefinitionVersionOutput { extension CreateSoftwareUpdateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSoftwareUpdateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSoftwareUpdateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7192,7 +7192,7 @@ extension CreateSoftwareUpdateJobOutput { extension CreateSubscriptionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriptionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7210,7 +7210,7 @@ extension CreateSubscriptionDefinitionOutput { extension CreateSubscriptionDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriptionDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7225,63 +7225,63 @@ extension CreateSubscriptionDefinitionVersionOutput { extension DeleteConnectorDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorDefinitionOutput { return DeleteConnectorDefinitionOutput() } } extension DeleteCoreDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCoreDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCoreDefinitionOutput { return DeleteCoreDefinitionOutput() } } extension DeleteDeviceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeviceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeviceDefinitionOutput { return DeleteDeviceDefinitionOutput() } } extension DeleteFunctionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionDefinitionOutput { return DeleteFunctionDefinitionOutput() } } extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteLoggerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoggerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoggerDefinitionOutput { return DeleteLoggerDefinitionOutput() } } extension DeleteResourceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceDefinitionOutput { return DeleteResourceDefinitionOutput() } } extension DeleteSubscriptionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriptionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionDefinitionOutput { return DeleteSubscriptionDefinitionOutput() } } extension DisassociateRoleFromGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateRoleFromGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateRoleFromGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7293,7 +7293,7 @@ extension DisassociateRoleFromGroupOutput { extension DisassociateServiceRoleFromAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateServiceRoleFromAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateServiceRoleFromAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7305,7 +7305,7 @@ extension DisassociateServiceRoleFromAccountOutput { extension GetAssociatedRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssociatedRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssociatedRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7318,7 +7318,7 @@ extension GetAssociatedRoleOutput { extension GetBulkDeploymentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBulkDeploymentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBulkDeploymentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7335,7 +7335,7 @@ extension GetBulkDeploymentStatusOutput { extension GetConnectivityInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectivityInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectivityInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7348,7 +7348,7 @@ extension GetConnectivityInfoOutput { extension GetConnectorDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectorDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectorDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7367,7 +7367,7 @@ extension GetConnectorDefinitionOutput { extension GetConnectorDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectorDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectorDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7384,7 +7384,7 @@ extension GetConnectorDefinitionVersionOutput { extension GetCoreDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7403,7 +7403,7 @@ extension GetCoreDefinitionOutput { extension GetCoreDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7420,7 +7420,7 @@ extension GetCoreDefinitionVersionOutput { extension GetDeploymentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7436,7 +7436,7 @@ extension GetDeploymentStatusOutput { extension GetDeviceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7455,7 +7455,7 @@ extension GetDeviceDefinitionOutput { extension GetDeviceDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7472,7 +7472,7 @@ extension GetDeviceDefinitionVersionOutput { extension GetFunctionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7491,7 +7491,7 @@ extension GetFunctionDefinitionOutput { extension GetFunctionDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7508,7 +7508,7 @@ extension GetFunctionDefinitionVersionOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7527,7 +7527,7 @@ extension GetGroupOutput { extension GetGroupCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupCertificateAuthorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7541,7 +7541,7 @@ extension GetGroupCertificateAuthorityOutput { extension GetGroupCertificateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupCertificateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupCertificateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7555,7 +7555,7 @@ extension GetGroupCertificateConfigurationOutput { extension GetGroupVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7571,7 +7571,7 @@ extension GetGroupVersionOutput { extension GetLoggerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggerDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7590,7 +7590,7 @@ extension GetLoggerDefinitionOutput { extension GetLoggerDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggerDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggerDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7606,7 +7606,7 @@ extension GetLoggerDefinitionVersionOutput { extension GetResourceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7625,7 +7625,7 @@ extension GetResourceDefinitionOutput { extension GetResourceDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7641,7 +7641,7 @@ extension GetResourceDefinitionVersionOutput { extension GetServiceRoleForAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceRoleForAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceRoleForAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7654,7 +7654,7 @@ extension GetServiceRoleForAccountOutput { extension GetSubscriptionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7673,7 +7673,7 @@ extension GetSubscriptionDefinitionOutput { extension GetSubscriptionDefinitionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionDefinitionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionDefinitionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7690,7 +7690,7 @@ extension GetSubscriptionDefinitionVersionOutput { extension GetThingRuntimeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetThingRuntimeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetThingRuntimeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7702,7 +7702,7 @@ extension GetThingRuntimeConfigurationOutput { extension ListBulkDeploymentDetailedReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBulkDeploymentDetailedReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBulkDeploymentDetailedReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7715,7 +7715,7 @@ extension ListBulkDeploymentDetailedReportsOutput { extension ListBulkDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBulkDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBulkDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7728,7 +7728,7 @@ extension ListBulkDeploymentsOutput { extension ListConnectorDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7741,7 +7741,7 @@ extension ListConnectorDefinitionsOutput { extension ListConnectorDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7754,7 +7754,7 @@ extension ListConnectorDefinitionVersionsOutput { extension ListCoreDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoreDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoreDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7767,7 +7767,7 @@ extension ListCoreDefinitionsOutput { extension ListCoreDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoreDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoreDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7780,7 +7780,7 @@ extension ListCoreDefinitionVersionsOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7793,7 +7793,7 @@ extension ListDeploymentsOutput { extension ListDeviceDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7806,7 +7806,7 @@ extension ListDeviceDefinitionsOutput { extension ListDeviceDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7819,7 +7819,7 @@ extension ListDeviceDefinitionVersionsOutput { extension ListFunctionDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7832,7 +7832,7 @@ extension ListFunctionDefinitionsOutput { extension ListFunctionDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7845,7 +7845,7 @@ extension ListFunctionDefinitionVersionsOutput { extension ListGroupCertificateAuthoritiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupCertificateAuthoritiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupCertificateAuthoritiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7857,7 +7857,7 @@ extension ListGroupCertificateAuthoritiesOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7870,7 +7870,7 @@ extension ListGroupsOutput { extension ListGroupVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7883,7 +7883,7 @@ extension ListGroupVersionsOutput { extension ListLoggerDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoggerDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoggerDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7896,7 +7896,7 @@ extension ListLoggerDefinitionsOutput { extension ListLoggerDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoggerDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoggerDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7909,7 +7909,7 @@ extension ListLoggerDefinitionVersionsOutput { extension ListResourceDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7922,7 +7922,7 @@ extension ListResourceDefinitionsOutput { extension ListResourceDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7935,7 +7935,7 @@ extension ListResourceDefinitionVersionsOutput { extension ListSubscriptionDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7948,7 +7948,7 @@ extension ListSubscriptionDefinitionsOutput { extension ListSubscriptionDefinitionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionDefinitionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionDefinitionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7961,7 +7961,7 @@ extension ListSubscriptionDefinitionVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7973,7 +7973,7 @@ extension ListTagsForResourceOutput { extension ResetDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7986,7 +7986,7 @@ extension ResetDeploymentsOutput { extension StartBulkDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBulkDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBulkDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7999,28 +7999,28 @@ extension StartBulkDeploymentOutput { extension StopBulkDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopBulkDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopBulkDeploymentOutput { return StopBulkDeploymentOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConnectivityInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectivityInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectivityInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8033,42 +8033,42 @@ extension UpdateConnectivityInfoOutput { extension UpdateConnectorDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectorDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectorDefinitionOutput { return UpdateConnectorDefinitionOutput() } } extension UpdateCoreDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCoreDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCoreDefinitionOutput { return UpdateCoreDefinitionOutput() } } extension UpdateDeviceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceDefinitionOutput { return UpdateDeviceDefinitionOutput() } } extension UpdateFunctionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionDefinitionOutput { return UpdateFunctionDefinitionOutput() } } extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { return UpdateGroupOutput() } } extension UpdateGroupCertificateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupCertificateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupCertificateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8082,35 +8082,35 @@ extension UpdateGroupCertificateConfigurationOutput { extension UpdateLoggerDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLoggerDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLoggerDefinitionOutput { return UpdateLoggerDefinitionOutput() } } extension UpdateResourceDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceDefinitionOutput { return UpdateResourceDefinitionOutput() } } extension UpdateSubscriptionDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriptionDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionDefinitionOutput { return UpdateSubscriptionDefinitionOutput() } } extension UpdateThingRuntimeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThingRuntimeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingRuntimeConfigurationOutput { return UpdateThingRuntimeConfigurationOutput() } } enum AssociateRoleToGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8125,7 +8125,7 @@ enum AssociateRoleToGroupOutputError { enum AssociateServiceRoleToAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8140,7 +8140,7 @@ enum AssociateServiceRoleToAccountOutputError { enum CreateConnectorDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8154,7 +8154,7 @@ enum CreateConnectorDefinitionOutputError { enum CreateConnectorDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8168,7 +8168,7 @@ enum CreateConnectorDefinitionVersionOutputError { enum CreateCoreDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8182,7 +8182,7 @@ enum CreateCoreDefinitionOutputError { enum CreateCoreDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8196,7 +8196,7 @@ enum CreateCoreDefinitionVersionOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8210,7 +8210,7 @@ enum CreateDeploymentOutputError { enum CreateDeviceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8224,7 +8224,7 @@ enum CreateDeviceDefinitionOutputError { enum CreateDeviceDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8238,7 +8238,7 @@ enum CreateDeviceDefinitionVersionOutputError { enum CreateFunctionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8252,7 +8252,7 @@ enum CreateFunctionDefinitionOutputError { enum CreateFunctionDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8266,7 +8266,7 @@ enum CreateFunctionDefinitionVersionOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8280,7 +8280,7 @@ enum CreateGroupOutputError { enum CreateGroupCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8295,7 +8295,7 @@ enum CreateGroupCertificateAuthorityOutputError { enum CreateGroupVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8309,7 +8309,7 @@ enum CreateGroupVersionOutputError { enum CreateLoggerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8323,7 +8323,7 @@ enum CreateLoggerDefinitionOutputError { enum CreateLoggerDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8337,7 +8337,7 @@ enum CreateLoggerDefinitionVersionOutputError { enum CreateResourceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8351,7 +8351,7 @@ enum CreateResourceDefinitionOutputError { enum CreateResourceDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8365,7 +8365,7 @@ enum CreateResourceDefinitionVersionOutputError { enum CreateSoftwareUpdateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8380,7 +8380,7 @@ enum CreateSoftwareUpdateJobOutputError { enum CreateSubscriptionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8394,7 +8394,7 @@ enum CreateSubscriptionDefinitionOutputError { enum CreateSubscriptionDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8408,7 +8408,7 @@ enum CreateSubscriptionDefinitionVersionOutputError { enum DeleteConnectorDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8422,7 +8422,7 @@ enum DeleteConnectorDefinitionOutputError { enum DeleteCoreDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8436,7 +8436,7 @@ enum DeleteCoreDefinitionOutputError { enum DeleteDeviceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8450,7 +8450,7 @@ enum DeleteDeviceDefinitionOutputError { enum DeleteFunctionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8464,7 +8464,7 @@ enum DeleteFunctionDefinitionOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8478,7 +8478,7 @@ enum DeleteGroupOutputError { enum DeleteLoggerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8492,7 +8492,7 @@ enum DeleteLoggerDefinitionOutputError { enum DeleteResourceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8506,7 +8506,7 @@ enum DeleteResourceDefinitionOutputError { enum DeleteSubscriptionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8520,7 +8520,7 @@ enum DeleteSubscriptionDefinitionOutputError { enum DisassociateRoleFromGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8535,7 +8535,7 @@ enum DisassociateRoleFromGroupOutputError { enum DisassociateServiceRoleFromAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8549,7 +8549,7 @@ enum DisassociateServiceRoleFromAccountOutputError { enum GetAssociatedRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8564,7 +8564,7 @@ enum GetAssociatedRoleOutputError { enum GetBulkDeploymentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8578,7 +8578,7 @@ enum GetBulkDeploymentStatusOutputError { enum GetConnectivityInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8593,7 +8593,7 @@ enum GetConnectivityInfoOutputError { enum GetConnectorDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8607,7 +8607,7 @@ enum GetConnectorDefinitionOutputError { enum GetConnectorDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8621,7 +8621,7 @@ enum GetConnectorDefinitionVersionOutputError { enum GetCoreDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8635,7 +8635,7 @@ enum GetCoreDefinitionOutputError { enum GetCoreDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8649,7 +8649,7 @@ enum GetCoreDefinitionVersionOutputError { enum GetDeploymentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8663,7 +8663,7 @@ enum GetDeploymentStatusOutputError { enum GetDeviceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8677,7 +8677,7 @@ enum GetDeviceDefinitionOutputError { enum GetDeviceDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8691,7 +8691,7 @@ enum GetDeviceDefinitionVersionOutputError { enum GetFunctionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8705,7 +8705,7 @@ enum GetFunctionDefinitionOutputError { enum GetFunctionDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8719,7 +8719,7 @@ enum GetFunctionDefinitionVersionOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8733,7 +8733,7 @@ enum GetGroupOutputError { enum GetGroupCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8748,7 +8748,7 @@ enum GetGroupCertificateAuthorityOutputError { enum GetGroupCertificateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8763,7 +8763,7 @@ enum GetGroupCertificateConfigurationOutputError { enum GetGroupVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8777,7 +8777,7 @@ enum GetGroupVersionOutputError { enum GetLoggerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8791,7 +8791,7 @@ enum GetLoggerDefinitionOutputError { enum GetLoggerDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8805,7 +8805,7 @@ enum GetLoggerDefinitionVersionOutputError { enum GetResourceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8819,7 +8819,7 @@ enum GetResourceDefinitionOutputError { enum GetResourceDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8833,7 +8833,7 @@ enum GetResourceDefinitionVersionOutputError { enum GetServiceRoleForAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8847,7 +8847,7 @@ enum GetServiceRoleForAccountOutputError { enum GetSubscriptionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8861,7 +8861,7 @@ enum GetSubscriptionDefinitionOutputError { enum GetSubscriptionDefinitionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8875,7 +8875,7 @@ enum GetSubscriptionDefinitionVersionOutputError { enum GetThingRuntimeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8890,7 +8890,7 @@ enum GetThingRuntimeConfigurationOutputError { enum ListBulkDeploymentDetailedReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8904,7 +8904,7 @@ enum ListBulkDeploymentDetailedReportsOutputError { enum ListBulkDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8918,7 +8918,7 @@ enum ListBulkDeploymentsOutputError { enum ListConnectorDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8931,7 +8931,7 @@ enum ListConnectorDefinitionsOutputError { enum ListConnectorDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8945,7 +8945,7 @@ enum ListConnectorDefinitionVersionsOutputError { enum ListCoreDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8958,7 +8958,7 @@ enum ListCoreDefinitionsOutputError { enum ListCoreDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8972,7 +8972,7 @@ enum ListCoreDefinitionVersionsOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8986,7 +8986,7 @@ enum ListDeploymentsOutputError { enum ListDeviceDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8999,7 +8999,7 @@ enum ListDeviceDefinitionsOutputError { enum ListDeviceDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9013,7 +9013,7 @@ enum ListDeviceDefinitionVersionsOutputError { enum ListFunctionDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9026,7 +9026,7 @@ enum ListFunctionDefinitionsOutputError { enum ListFunctionDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9040,7 +9040,7 @@ enum ListFunctionDefinitionVersionsOutputError { enum ListGroupCertificateAuthoritiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9055,7 +9055,7 @@ enum ListGroupCertificateAuthoritiesOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9068,7 +9068,7 @@ enum ListGroupsOutputError { enum ListGroupVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9082,7 +9082,7 @@ enum ListGroupVersionsOutputError { enum ListLoggerDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9095,7 +9095,7 @@ enum ListLoggerDefinitionsOutputError { enum ListLoggerDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9109,7 +9109,7 @@ enum ListLoggerDefinitionVersionsOutputError { enum ListResourceDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9122,7 +9122,7 @@ enum ListResourceDefinitionsOutputError { enum ListResourceDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9136,7 +9136,7 @@ enum ListResourceDefinitionVersionsOutputError { enum ListSubscriptionDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9149,7 +9149,7 @@ enum ListSubscriptionDefinitionsOutputError { enum ListSubscriptionDefinitionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9163,7 +9163,7 @@ enum ListSubscriptionDefinitionVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9177,7 +9177,7 @@ enum ListTagsForResourceOutputError { enum ResetDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9191,7 +9191,7 @@ enum ResetDeploymentsOutputError { enum StartBulkDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9205,7 +9205,7 @@ enum StartBulkDeploymentOutputError { enum StopBulkDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9219,7 +9219,7 @@ enum StopBulkDeploymentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9233,7 +9233,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9247,7 +9247,7 @@ enum UntagResourceOutputError { enum UpdateConnectivityInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9262,7 +9262,7 @@ enum UpdateConnectivityInfoOutputError { enum UpdateConnectorDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9276,7 +9276,7 @@ enum UpdateConnectorDefinitionOutputError { enum UpdateCoreDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9290,7 +9290,7 @@ enum UpdateCoreDefinitionOutputError { enum UpdateDeviceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9304,7 +9304,7 @@ enum UpdateDeviceDefinitionOutputError { enum UpdateFunctionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9318,7 +9318,7 @@ enum UpdateFunctionDefinitionOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9332,7 +9332,7 @@ enum UpdateGroupOutputError { enum UpdateGroupCertificateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9347,7 +9347,7 @@ enum UpdateGroupCertificateConfigurationOutputError { enum UpdateLoggerDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9361,7 +9361,7 @@ enum UpdateLoggerDefinitionOutputError { enum UpdateResourceDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9375,7 +9375,7 @@ enum UpdateResourceDefinitionOutputError { enum UpdateSubscriptionDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9389,7 +9389,7 @@ enum UpdateSubscriptionDefinitionOutputError { enum UpdateThingRuntimeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/Models.swift b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/Models.swift index 9d73937a049..550b2ccce7e 100644 --- a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/Models.swift +++ b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -53,7 +53,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -141,7 +141,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -229,7 +229,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -289,7 +289,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -324,7 +324,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -460,7 +460,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1009,7 +1009,7 @@ public struct RequestAlreadyInProgressException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1044,7 +1044,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3709,7 +3709,7 @@ extension UpdateConnectivityInfoInput { extension AssociateServiceRoleToAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateServiceRoleToAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateServiceRoleToAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3721,7 +3721,7 @@ extension AssociateServiceRoleToAccountOutput { extension BatchAssociateClientDeviceWithCoreDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateClientDeviceWithCoreDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateClientDeviceWithCoreDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3733,7 +3733,7 @@ extension BatchAssociateClientDeviceWithCoreDeviceOutput { extension BatchDisassociateClientDeviceFromCoreDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateClientDeviceFromCoreDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateClientDeviceFromCoreDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3745,7 +3745,7 @@ extension BatchDisassociateClientDeviceFromCoreDeviceOutput { extension CancelDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3757,7 +3757,7 @@ extension CancelDeploymentOutput { extension CreateComponentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComponentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComponentVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3773,7 +3773,7 @@ extension CreateComponentVersionOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3787,28 +3787,28 @@ extension CreateDeploymentOutput { extension DeleteComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComponentOutput { return DeleteComponentOutput() } } extension DeleteCoreDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCoreDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCoreDeviceOutput { return DeleteCoreDeviceOutput() } } extension DeleteDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentOutput { return DeleteDeploymentOutput() } } extension DescribeComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3828,7 +3828,7 @@ extension DescribeComponentOutput { extension DisassociateServiceRoleFromAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateServiceRoleFromAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateServiceRoleFromAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3840,7 +3840,7 @@ extension DisassociateServiceRoleFromAccountOutput { extension GetComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3854,7 +3854,7 @@ extension GetComponentOutput { extension GetComponentVersionArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentVersionArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentVersionArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3866,7 +3866,7 @@ extension GetComponentVersionArtifactOutput { extension GetConnectivityInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectivityInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectivityInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3879,7 +3879,7 @@ extension GetConnectivityInfoOutput { extension GetCoreDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3897,7 +3897,7 @@ extension GetCoreDeviceOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3922,7 +3922,7 @@ extension GetDeploymentOutput { extension GetServiceRoleForAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceRoleForAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceRoleForAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3935,7 +3935,7 @@ extension GetServiceRoleForAccountOutput { extension ListClientDevicesAssociatedWithCoreDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClientDevicesAssociatedWithCoreDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClientDevicesAssociatedWithCoreDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3948,7 +3948,7 @@ extension ListClientDevicesAssociatedWithCoreDeviceOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3961,7 +3961,7 @@ extension ListComponentsOutput { extension ListComponentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3974,7 +3974,7 @@ extension ListComponentVersionsOutput { extension ListCoreDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoreDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoreDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3987,7 +3987,7 @@ extension ListCoreDevicesOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4000,7 +4000,7 @@ extension ListDeploymentsOutput { extension ListEffectiveDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEffectiveDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEffectiveDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4013,7 +4013,7 @@ extension ListEffectiveDeploymentsOutput { extension ListInstalledComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstalledComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstalledComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4026,7 +4026,7 @@ extension ListInstalledComponentsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4038,7 +4038,7 @@ extension ListTagsForResourceOutput { extension ResolveComponentCandidatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResolveComponentCandidatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResolveComponentCandidatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4050,21 +4050,21 @@ extension ResolveComponentCandidatesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConnectivityInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectivityInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectivityInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4077,7 +4077,7 @@ extension UpdateConnectivityInfoOutput { enum AssociateServiceRoleToAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4092,7 +4092,7 @@ enum AssociateServiceRoleToAccountOutputError { enum BatchAssociateClientDeviceWithCoreDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4110,7 +4110,7 @@ enum BatchAssociateClientDeviceWithCoreDeviceOutputError { enum BatchDisassociateClientDeviceFromCoreDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4128,7 +4128,7 @@ enum BatchDisassociateClientDeviceFromCoreDeviceOutputError { enum CancelDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4147,7 +4147,7 @@ enum CancelDeploymentOutputError { enum CreateComponentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4167,7 +4167,7 @@ enum CreateComponentVersionOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4187,7 +4187,7 @@ enum CreateDeploymentOutputError { enum DeleteComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4206,7 +4206,7 @@ enum DeleteComponentOutputError { enum DeleteCoreDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4225,7 +4225,7 @@ enum DeleteCoreDeviceOutputError { enum DeleteDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4244,7 +4244,7 @@ enum DeleteDeploymentOutputError { enum DescribeComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4262,7 +4262,7 @@ enum DescribeComponentOutputError { enum DisassociateServiceRoleFromAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4276,7 +4276,7 @@ enum DisassociateServiceRoleFromAccountOutputError { enum GetComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4294,7 +4294,7 @@ enum GetComponentOutputError { enum GetComponentVersionArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4312,7 +4312,7 @@ enum GetComponentVersionArtifactOutputError { enum GetConnectivityInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4327,7 +4327,7 @@ enum GetConnectivityInfoOutputError { enum GetCoreDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4345,7 +4345,7 @@ enum GetCoreDeviceOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4363,7 +4363,7 @@ enum GetDeploymentOutputError { enum GetServiceRoleForAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4377,7 +4377,7 @@ enum GetServiceRoleForAccountOutputError { enum ListClientDevicesAssociatedWithCoreDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4395,7 +4395,7 @@ enum ListClientDevicesAssociatedWithCoreDeviceOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4413,7 +4413,7 @@ enum ListComponentsOutputError { enum ListComponentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4431,7 +4431,7 @@ enum ListComponentVersionsOutputError { enum ListCoreDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4448,7 +4448,7 @@ enum ListCoreDevicesOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4465,7 +4465,7 @@ enum ListDeploymentsOutputError { enum ListEffectiveDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4483,7 +4483,7 @@ enum ListEffectiveDeploymentsOutputError { enum ListInstalledComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4501,7 +4501,7 @@ enum ListInstalledComponentsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4517,7 +4517,7 @@ enum ListTagsForResourceOutputError { enum ResolveComponentCandidatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4536,7 +4536,7 @@ enum ResolveComponentCandidatesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4552,7 +4552,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4568,7 +4568,7 @@ enum UntagResourceOutputError { enum UpdateConnectivityInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/Models.swift b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/Models.swift index 453e03ac74b..0bb42e3a1e2 100644 --- a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/Models.swift +++ b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -41,7 +41,7 @@ public struct DependencyException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -69,7 +69,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1122,7 +1122,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2186,7 +2186,7 @@ extension GroundStationClientTypes { } extension GroundStationClientTypes { - /// Ephemeris data in Orbit Ephemeris Message (OEM) format. + /// Ephemeris data in Orbit Ephemeris Message (OEM) format. Position, velocity, and acceleration units must be represented in km, km/s, and km/s**2, respectively, in ephemeris data lines. Covariance matrix line units must be represented in km**2 if computed from two positions, km**2/s if computed from one position and one velocity, and km**2/s**2 if computed from two velocities. Consult section 7.7.2 of The Consultative Committee for Space Data Systems (CCSDS) [Recommended Standard for Orbit Data Messages](https://public.ccsds.org/Pubs/502x0b3e1.pdf) for more information. public struct OEMEphemeris { /// The data for an OEM ephemeris, supplied directly in the request rather than through an S3 object. public var oemData: Swift.String? @@ -2279,7 +2279,7 @@ extension GroundStationClientTypes { public enum EphemerisData { /// Two-line element set (TLE) ephemeris. case tle(GroundStationClientTypes.TLEEphemeris) - /// Ephemeris data in Orbit Ephemeris Message (OEM) format. + /// Ephemeris data in Orbit Ephemeris Message (OEM) format. Position, velocity, and acceleration units must be represented in km, km/s, and km/s**2, respectively, in ephemeris data lines. Covariance matrix line units must be represented in km**2 if computed from two positions, km**2/s if computed from one position and one velocity, and km**2/s**2 if computed from two velocities. Consult section 7.7.2 of The Consultative Committee for Space Data Systems (CCSDS) [Recommended Standard for Orbit Data Messages](https://public.ccsds.org/Pubs/502x0b3e1.pdf) for more information. case oem(GroundStationClientTypes.OEMEphemeris) case sdkUnknown(Swift.String) } @@ -4024,7 +4024,7 @@ extension UpdateMissionProfileInput { extension CancelContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4036,7 +4036,7 @@ extension CancelContactOutput { extension CreateConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4050,7 +4050,7 @@ extension CreateConfigOutput { extension CreateDataflowEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataflowEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataflowEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4062,7 +4062,7 @@ extension CreateDataflowEndpointGroupOutput { extension CreateEphemerisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEphemerisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEphemerisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4074,7 +4074,7 @@ extension CreateEphemerisOutput { extension CreateMissionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMissionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMissionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4086,7 +4086,7 @@ extension CreateMissionProfileOutput { extension DeleteConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4100,7 +4100,7 @@ extension DeleteConfigOutput { extension DeleteDataflowEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataflowEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataflowEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4112,7 +4112,7 @@ extension DeleteDataflowEndpointGroupOutput { extension DeleteEphemerisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEphemerisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEphemerisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4124,7 +4124,7 @@ extension DeleteEphemerisOutput { extension DeleteMissionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMissionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMissionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4136,7 +4136,7 @@ extension DeleteMissionProfileOutput { extension DescribeContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4163,7 +4163,7 @@ extension DescribeContactOutput { extension DescribeEphemerisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEphemerisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEphemerisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4184,7 +4184,7 @@ extension DescribeEphemerisOutput { extension GetAgentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgentConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4197,7 +4197,7 @@ extension GetAgentConfigurationOutput { extension GetConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4214,7 +4214,7 @@ extension GetConfigOutput { extension GetDataflowEndpointGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataflowEndpointGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataflowEndpointGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4231,7 +4231,7 @@ extension GetDataflowEndpointGroupOutput { extension GetMinuteUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMinuteUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMinuteUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4247,7 +4247,7 @@ extension GetMinuteUsageOutput { extension GetMissionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMissionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMissionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4270,7 +4270,7 @@ extension GetMissionProfileOutput { extension GetSatelliteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSatelliteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSatelliteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4286,7 +4286,7 @@ extension GetSatelliteOutput { extension ListConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4299,7 +4299,7 @@ extension ListConfigsOutput { extension ListContactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4312,7 +4312,7 @@ extension ListContactsOutput { extension ListDataflowEndpointGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataflowEndpointGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataflowEndpointGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4325,7 +4325,7 @@ extension ListDataflowEndpointGroupsOutput { extension ListEphemeridesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEphemeridesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEphemeridesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4338,7 +4338,7 @@ extension ListEphemeridesOutput { extension ListGroundStationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroundStationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroundStationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4351,7 +4351,7 @@ extension ListGroundStationsOutput { extension ListMissionProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMissionProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMissionProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4364,7 +4364,7 @@ extension ListMissionProfilesOutput { extension ListSatellitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSatellitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSatellitesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4377,7 +4377,7 @@ extension ListSatellitesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4389,7 +4389,7 @@ extension ListTagsForResourceOutput { extension RegisterAgentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterAgentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterAgentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4401,7 +4401,7 @@ extension RegisterAgentOutput { extension ReserveContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReserveContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReserveContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4413,21 +4413,21 @@ extension ReserveContactOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAgentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4439,7 +4439,7 @@ extension UpdateAgentStatusOutput { extension UpdateConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4453,7 +4453,7 @@ extension UpdateConfigOutput { extension UpdateEphemerisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEphemerisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEphemerisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4465,7 +4465,7 @@ extension UpdateEphemerisOutput { extension UpdateMissionProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMissionProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMissionProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4477,7 +4477,7 @@ extension UpdateMissionProfileOutput { enum CancelContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4493,7 +4493,7 @@ enum CancelContactOutputError { enum CreateConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4510,7 +4510,7 @@ enum CreateConfigOutputError { enum CreateDataflowEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4526,7 +4526,7 @@ enum CreateDataflowEndpointGroupOutputError { enum CreateEphemerisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4542,7 +4542,7 @@ enum CreateEphemerisOutputError { enum CreateMissionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4558,7 +4558,7 @@ enum CreateMissionProfileOutputError { enum DeleteConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4574,7 +4574,7 @@ enum DeleteConfigOutputError { enum DeleteDataflowEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4590,7 +4590,7 @@ enum DeleteDataflowEndpointGroupOutputError { enum DeleteEphemerisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4606,7 +4606,7 @@ enum DeleteEphemerisOutputError { enum DeleteMissionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4622,7 +4622,7 @@ enum DeleteMissionProfileOutputError { enum DescribeContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4638,7 +4638,7 @@ enum DescribeContactOutputError { enum DescribeEphemerisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4654,7 +4654,7 @@ enum DescribeEphemerisOutputError { enum GetAgentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4670,7 +4670,7 @@ enum GetAgentConfigurationOutputError { enum GetConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4686,7 +4686,7 @@ enum GetConfigOutputError { enum GetDataflowEndpointGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4702,7 +4702,7 @@ enum GetDataflowEndpointGroupOutputError { enum GetMinuteUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4718,7 +4718,7 @@ enum GetMinuteUsageOutputError { enum GetMissionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4734,7 +4734,7 @@ enum GetMissionProfileOutputError { enum GetSatelliteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4750,7 +4750,7 @@ enum GetSatelliteOutputError { enum ListConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4766,7 +4766,7 @@ enum ListConfigsOutputError { enum ListContactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4782,7 +4782,7 @@ enum ListContactsOutputError { enum ListDataflowEndpointGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4798,7 +4798,7 @@ enum ListDataflowEndpointGroupsOutputError { enum ListEphemeridesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4814,7 +4814,7 @@ enum ListEphemeridesOutputError { enum ListGroundStationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4830,7 +4830,7 @@ enum ListGroundStationsOutputError { enum ListMissionProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4846,7 +4846,7 @@ enum ListMissionProfilesOutputError { enum ListSatellitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4862,7 +4862,7 @@ enum ListSatellitesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4878,7 +4878,7 @@ enum ListTagsForResourceOutputError { enum RegisterAgentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4894,7 +4894,7 @@ enum RegisterAgentOutputError { enum ReserveContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4910,7 +4910,7 @@ enum ReserveContactOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4926,7 +4926,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4942,7 +4942,7 @@ enum UntagResourceOutputError { enum UpdateAgentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4958,7 +4958,7 @@ enum UpdateAgentStatusOutputError { enum UpdateConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4974,7 +4974,7 @@ enum UpdateConfigOutputError { enum UpdateEphemerisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4990,7 +4990,7 @@ enum UpdateEphemerisOutputError { enum UpdateMissionProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift index fd4680f51b1..40d6f380f0f 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -56,7 +56,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1592,7 +1592,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3810,7 +3810,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10847,28 +10847,28 @@ extension UpdateThreatIntelSetInput { extension AcceptAdministratorInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptAdministratorInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptAdministratorInvitationOutput { return AcceptAdministratorInvitationOutput() } } extension AcceptInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInvitationOutput { return AcceptInvitationOutput() } } extension ArchiveFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ArchiveFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ArchiveFindingsOutput { return ArchiveFindingsOutput() } } extension CreateDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10881,7 +10881,7 @@ extension CreateDetectorOutput { extension CreateFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10893,7 +10893,7 @@ extension CreateFilterOutput { extension CreateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10905,7 +10905,7 @@ extension CreateIPSetOutput { extension CreateMalwareProtectionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMalwareProtectionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMalwareProtectionPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10917,7 +10917,7 @@ extension CreateMalwareProtectionPlanOutput { extension CreateMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10929,7 +10929,7 @@ extension CreateMembersOutput { extension CreatePublishingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePublishingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePublishingDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10941,14 +10941,14 @@ extension CreatePublishingDestinationOutput { extension CreateSampleFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSampleFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSampleFindingsOutput { return CreateSampleFindingsOutput() } } extension CreateThreatIntelSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThreatIntelSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThreatIntelSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10960,7 +10960,7 @@ extension CreateThreatIntelSetOutput { extension DeclineInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeclineInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeclineInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10972,21 +10972,21 @@ extension DeclineInvitationsOutput { extension DeleteDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDetectorOutput { return DeleteDetectorOutput() } } extension DeleteFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFilterOutput { return DeleteFilterOutput() } } extension DeleteInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10998,21 +10998,21 @@ extension DeleteInvitationsOutput { extension DeleteIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIPSetOutput { return DeleteIPSetOutput() } } extension DeleteMalwareProtectionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMalwareProtectionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMalwareProtectionPlanOutput { return DeleteMalwareProtectionPlanOutput() } } extension DeleteMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11024,21 +11024,21 @@ extension DeleteMembersOutput { extension DeletePublishingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePublishingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePublishingDestinationOutput { return DeletePublishingDestinationOutput() } } extension DeleteThreatIntelSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThreatIntelSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThreatIntelSetOutput { return DeleteThreatIntelSetOutput() } } extension DescribeMalwareScansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMalwareScansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMalwareScansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11051,7 +11051,7 @@ extension DescribeMalwareScansOutput { extension DescribeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11068,7 +11068,7 @@ extension DescribeOrganizationConfigurationOutput { extension DescribePublishingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePublishingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePublishingDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11084,28 +11084,28 @@ extension DescribePublishingDestinationOutput { extension DisableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableOrganizationAdminAccountOutput { return DisableOrganizationAdminAccountOutput() } } extension DisassociateFromAdministratorAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFromAdministratorAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFromAdministratorAccountOutput { return DisassociateFromAdministratorAccountOutput() } } extension DisassociateFromMasterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFromMasterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFromMasterAccountOutput { return DisassociateFromMasterAccountOutput() } } extension DisassociateMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11117,14 +11117,14 @@ extension DisassociateMembersOutput { extension EnableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableOrganizationAdminAccountOutput { return EnableOrganizationAdminAccountOutput() } } extension GetAdministratorAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdministratorAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdministratorAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11136,7 +11136,7 @@ extension GetAdministratorAccountOutput { extension GetCoverageStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoverageStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoverageStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11148,7 +11148,7 @@ extension GetCoverageStatisticsOutput { extension GetDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11167,7 +11167,7 @@ extension GetDetectorOutput { extension GetFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11184,7 +11184,7 @@ extension GetFilterOutput { extension GetFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11196,7 +11196,7 @@ extension GetFindingsOutput { extension GetFindingsStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11208,7 +11208,7 @@ extension GetFindingsStatisticsOutput { extension GetInvitationsCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInvitationsCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInvitationsCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11220,7 +11220,7 @@ extension GetInvitationsCountOutput { extension GetIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11236,7 +11236,7 @@ extension GetIPSetOutput { extension GetMalwareProtectionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMalwareProtectionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMalwareProtectionPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11255,7 +11255,7 @@ extension GetMalwareProtectionPlanOutput { extension GetMalwareScanSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMalwareScanSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMalwareScanSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11268,7 +11268,7 @@ extension GetMalwareScanSettingsOutput { extension GetMasterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMasterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMasterAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11280,7 +11280,7 @@ extension GetMasterAccountOutput { extension GetMemberDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMemberDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMemberDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11293,7 +11293,7 @@ extension GetMemberDetectorsOutput { extension GetMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11306,7 +11306,7 @@ extension GetMembersOutput { extension GetOrganizationStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11318,7 +11318,7 @@ extension GetOrganizationStatisticsOutput { extension GetRemainingFreeTrialDaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRemainingFreeTrialDaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRemainingFreeTrialDaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11331,7 +11331,7 @@ extension GetRemainingFreeTrialDaysOutput { extension GetThreatIntelSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetThreatIntelSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetThreatIntelSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11347,7 +11347,7 @@ extension GetThreatIntelSetOutput { extension GetUsageStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11360,7 +11360,7 @@ extension GetUsageStatisticsOutput { extension InviteMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InviteMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InviteMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11372,7 +11372,7 @@ extension InviteMembersOutput { extension ListCoverageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoverageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoverageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11385,7 +11385,7 @@ extension ListCoverageOutput { extension ListDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11398,7 +11398,7 @@ extension ListDetectorsOutput { extension ListFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11411,7 +11411,7 @@ extension ListFiltersOutput { extension ListFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11424,7 +11424,7 @@ extension ListFindingsOutput { extension ListInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11437,7 +11437,7 @@ extension ListInvitationsOutput { extension ListIPSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIPSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIPSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11450,7 +11450,7 @@ extension ListIPSetsOutput { extension ListMalwareProtectionPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMalwareProtectionPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMalwareProtectionPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11463,7 +11463,7 @@ extension ListMalwareProtectionPlansOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11476,7 +11476,7 @@ extension ListMembersOutput { extension ListOrganizationAdminAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationAdminAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationAdminAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11489,7 +11489,7 @@ extension ListOrganizationAdminAccountsOutput { extension ListPublishingDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPublishingDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPublishingDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11502,7 +11502,7 @@ extension ListPublishingDestinationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11514,7 +11514,7 @@ extension ListTagsForResourceOutput { extension ListThreatIntelSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThreatIntelSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThreatIntelSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11527,7 +11527,7 @@ extension ListThreatIntelSetsOutput { extension StartMalwareScanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMalwareScanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMalwareScanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11539,7 +11539,7 @@ extension StartMalwareScanOutput { extension StartMonitoringMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMonitoringMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMonitoringMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11551,7 +11551,7 @@ extension StartMonitoringMembersOutput { extension StopMonitoringMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMonitoringMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMonitoringMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11563,35 +11563,35 @@ extension StopMonitoringMembersOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnarchiveFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnarchiveFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnarchiveFindingsOutput { return UnarchiveFindingsOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDetectorOutput { return UpdateDetectorOutput() } } extension UpdateFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11603,35 +11603,35 @@ extension UpdateFilterOutput { extension UpdateFindingsFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFindingsFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFindingsFeedbackOutput { return UpdateFindingsFeedbackOutput() } } extension UpdateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIPSetOutput { return UpdateIPSetOutput() } } extension UpdateMalwareProtectionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMalwareProtectionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMalwareProtectionPlanOutput { return UpdateMalwareProtectionPlanOutput() } } extension UpdateMalwareScanSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMalwareScanSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMalwareScanSettingsOutput { return UpdateMalwareScanSettingsOutput() } } extension UpdateMemberDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMemberDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMemberDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11643,28 +11643,28 @@ extension UpdateMemberDetectorsOutput { extension UpdateOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationConfigurationOutput { return UpdateOrganizationConfigurationOutput() } } extension UpdatePublishingDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePublishingDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePublishingDestinationOutput { return UpdatePublishingDestinationOutput() } } extension UpdateThreatIntelSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThreatIntelSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThreatIntelSetOutput { return UpdateThreatIntelSetOutput() } } enum AcceptAdministratorInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11679,7 +11679,7 @@ enum AcceptAdministratorInvitationOutputError { enum AcceptInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11694,7 +11694,7 @@ enum AcceptInvitationOutputError { enum ArchiveFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11709,7 +11709,7 @@ enum ArchiveFindingsOutputError { enum CreateDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11724,7 +11724,7 @@ enum CreateDetectorOutputError { enum CreateFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11739,7 +11739,7 @@ enum CreateFilterOutputError { enum CreateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11754,7 +11754,7 @@ enum CreateIPSetOutputError { enum CreateMalwareProtectionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11771,7 +11771,7 @@ enum CreateMalwareProtectionPlanOutputError { enum CreateMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11786,7 +11786,7 @@ enum CreateMembersOutputError { enum CreatePublishingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11801,7 +11801,7 @@ enum CreatePublishingDestinationOutputError { enum CreateSampleFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11816,7 +11816,7 @@ enum CreateSampleFindingsOutputError { enum CreateThreatIntelSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11831,7 +11831,7 @@ enum CreateThreatIntelSetOutputError { enum DeclineInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11846,7 +11846,7 @@ enum DeclineInvitationsOutputError { enum DeleteDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11861,7 +11861,7 @@ enum DeleteDetectorOutputError { enum DeleteFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11876,7 +11876,7 @@ enum DeleteFilterOutputError { enum DeleteInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11891,7 +11891,7 @@ enum DeleteInvitationsOutputError { enum DeleteIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11906,7 +11906,7 @@ enum DeleteIPSetOutputError { enum DeleteMalwareProtectionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11923,7 +11923,7 @@ enum DeleteMalwareProtectionPlanOutputError { enum DeleteMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11938,7 +11938,7 @@ enum DeleteMembersOutputError { enum DeletePublishingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11953,7 +11953,7 @@ enum DeletePublishingDestinationOutputError { enum DeleteThreatIntelSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11968,7 +11968,7 @@ enum DeleteThreatIntelSetOutputError { enum DescribeMalwareScansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11983,7 +11983,7 @@ enum DescribeMalwareScansOutputError { enum DescribeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11998,7 +11998,7 @@ enum DescribeOrganizationConfigurationOutputError { enum DescribePublishingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12013,7 +12013,7 @@ enum DescribePublishingDestinationOutputError { enum DisableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12028,7 +12028,7 @@ enum DisableOrganizationAdminAccountOutputError { enum DisassociateFromAdministratorAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12043,7 +12043,7 @@ enum DisassociateFromAdministratorAccountOutputError { enum DisassociateFromMasterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12058,7 +12058,7 @@ enum DisassociateFromMasterAccountOutputError { enum DisassociateMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12073,7 +12073,7 @@ enum DisassociateMembersOutputError { enum EnableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12088,7 +12088,7 @@ enum EnableOrganizationAdminAccountOutputError { enum GetAdministratorAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12103,7 +12103,7 @@ enum GetAdministratorAccountOutputError { enum GetCoverageStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12118,7 +12118,7 @@ enum GetCoverageStatisticsOutputError { enum GetDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12133,7 +12133,7 @@ enum GetDetectorOutputError { enum GetFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12148,7 +12148,7 @@ enum GetFilterOutputError { enum GetFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12163,7 +12163,7 @@ enum GetFindingsOutputError { enum GetFindingsStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12178,7 +12178,7 @@ enum GetFindingsStatisticsOutputError { enum GetInvitationsCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12193,7 +12193,7 @@ enum GetInvitationsCountOutputError { enum GetIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12208,7 +12208,7 @@ enum GetIPSetOutputError { enum GetMalwareProtectionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12225,7 +12225,7 @@ enum GetMalwareProtectionPlanOutputError { enum GetMalwareScanSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12240,7 +12240,7 @@ enum GetMalwareScanSettingsOutputError { enum GetMasterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12255,7 +12255,7 @@ enum GetMasterAccountOutputError { enum GetMemberDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12270,7 +12270,7 @@ enum GetMemberDetectorsOutputError { enum GetMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12285,7 +12285,7 @@ enum GetMembersOutputError { enum GetOrganizationStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12300,7 +12300,7 @@ enum GetOrganizationStatisticsOutputError { enum GetRemainingFreeTrialDaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12315,7 +12315,7 @@ enum GetRemainingFreeTrialDaysOutputError { enum GetThreatIntelSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12330,7 +12330,7 @@ enum GetThreatIntelSetOutputError { enum GetUsageStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12345,7 +12345,7 @@ enum GetUsageStatisticsOutputError { enum InviteMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12360,7 +12360,7 @@ enum InviteMembersOutputError { enum ListCoverageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12375,7 +12375,7 @@ enum ListCoverageOutputError { enum ListDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12390,7 +12390,7 @@ enum ListDetectorsOutputError { enum ListFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12405,7 +12405,7 @@ enum ListFiltersOutputError { enum ListFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12420,7 +12420,7 @@ enum ListFindingsOutputError { enum ListInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12435,7 +12435,7 @@ enum ListInvitationsOutputError { enum ListIPSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12450,7 +12450,7 @@ enum ListIPSetsOutputError { enum ListMalwareProtectionPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12466,7 +12466,7 @@ enum ListMalwareProtectionPlansOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12481,7 +12481,7 @@ enum ListMembersOutputError { enum ListOrganizationAdminAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12496,7 +12496,7 @@ enum ListOrganizationAdminAccountsOutputError { enum ListPublishingDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12511,7 +12511,7 @@ enum ListPublishingDestinationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12527,7 +12527,7 @@ enum ListTagsForResourceOutputError { enum ListThreatIntelSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12542,7 +12542,7 @@ enum ListThreatIntelSetsOutputError { enum StartMalwareScanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12558,7 +12558,7 @@ enum StartMalwareScanOutputError { enum StartMonitoringMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12573,7 +12573,7 @@ enum StartMonitoringMembersOutputError { enum StopMonitoringMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12588,7 +12588,7 @@ enum StopMonitoringMembersOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12604,7 +12604,7 @@ enum TagResourceOutputError { enum UnarchiveFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12619,7 +12619,7 @@ enum UnarchiveFindingsOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12635,7 +12635,7 @@ enum UntagResourceOutputError { enum UpdateDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12650,7 +12650,7 @@ enum UpdateDetectorOutputError { enum UpdateFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12665,7 +12665,7 @@ enum UpdateFilterOutputError { enum UpdateFindingsFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12680,7 +12680,7 @@ enum UpdateFindingsFeedbackOutputError { enum UpdateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12695,7 +12695,7 @@ enum UpdateIPSetOutputError { enum UpdateMalwareProtectionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12712,7 +12712,7 @@ enum UpdateMalwareProtectionPlanOutputError { enum UpdateMalwareScanSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12727,7 +12727,7 @@ enum UpdateMalwareScanSettingsOutputError { enum UpdateMemberDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12742,7 +12742,7 @@ enum UpdateMemberDetectorsOutputError { enum UpdateOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12757,7 +12757,7 @@ enum UpdateOrganizationConfigurationOutputError { enum UpdatePublishingDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12772,7 +12772,7 @@ enum UpdatePublishingDestinationOutputError { enum UpdateThreatIntelSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSHealth/Sources/AWSHealth/Models.swift b/Sources/Services/AWSHealth/Sources/AWSHealth/Models.swift index 440685fad60..d42f1d4a44f 100644 --- a/Sources/Services/AWSHealth/Sources/AWSHealth/Models.swift +++ b/Sources/Services/AWSHealth/Sources/AWSHealth/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -166,7 +166,7 @@ public struct InvalidPaginationToken: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +269,7 @@ public struct UnsupportedLocale: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1399,7 +1399,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1647,7 +1647,7 @@ extension EnableHealthServiceAccessForOrganizationInput { extension DescribeAffectedAccountsForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAffectedAccountsForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAffectedAccountsForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1661,7 +1661,7 @@ extension DescribeAffectedAccountsForOrganizationOutput { extension DescribeAffectedEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAffectedEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAffectedEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1674,7 +1674,7 @@ extension DescribeAffectedEntitiesOutput { extension DescribeAffectedEntitiesForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAffectedEntitiesForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAffectedEntitiesForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1688,7 +1688,7 @@ extension DescribeAffectedEntitiesForOrganizationOutput { extension DescribeEntityAggregatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntityAggregatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntityAggregatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1700,7 +1700,7 @@ extension DescribeEntityAggregatesOutput { extension DescribeEntityAggregatesForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntityAggregatesForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntityAggregatesForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1712,7 +1712,7 @@ extension DescribeEntityAggregatesForOrganizationOutput { extension DescribeEventAggregatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventAggregatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventAggregatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1725,7 +1725,7 @@ extension DescribeEventAggregatesOutput { extension DescribeEventDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1738,7 +1738,7 @@ extension DescribeEventDetailsOutput { extension DescribeEventDetailsForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventDetailsForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventDetailsForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1751,7 +1751,7 @@ extension DescribeEventDetailsForOrganizationOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1764,7 +1764,7 @@ extension DescribeEventsOutput { extension DescribeEventsForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1777,7 +1777,7 @@ extension DescribeEventsForOrganizationOutput { extension DescribeEventTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1790,7 +1790,7 @@ extension DescribeEventTypesOutput { extension DescribeHealthServiceStatusForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHealthServiceStatusForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHealthServiceStatusForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1802,21 +1802,21 @@ extension DescribeHealthServiceStatusForOrganizationOutput { extension DisableHealthServiceAccessForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableHealthServiceAccessForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableHealthServiceAccessForOrganizationOutput { return DisableHealthServiceAccessForOrganizationOutput() } } extension EnableHealthServiceAccessForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableHealthServiceAccessForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableHealthServiceAccessForOrganizationOutput { return EnableHealthServiceAccessForOrganizationOutput() } } enum DescribeAffectedAccountsForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1830,7 +1830,7 @@ enum DescribeAffectedAccountsForOrganizationOutputError { enum DescribeAffectedEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1845,7 +1845,7 @@ enum DescribeAffectedEntitiesOutputError { enum DescribeAffectedEntitiesForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1860,7 +1860,7 @@ enum DescribeAffectedEntitiesForOrganizationOutputError { enum DescribeEntityAggregatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1873,7 +1873,7 @@ enum DescribeEntityAggregatesOutputError { enum DescribeEntityAggregatesForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1886,7 +1886,7 @@ enum DescribeEntityAggregatesForOrganizationOutputError { enum DescribeEventAggregatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1900,7 +1900,7 @@ enum DescribeEventAggregatesOutputError { enum DescribeEventDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1914,7 +1914,7 @@ enum DescribeEventDetailsOutputError { enum DescribeEventDetailsForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1928,7 +1928,7 @@ enum DescribeEventDetailsForOrganizationOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1943,7 +1943,7 @@ enum DescribeEventsOutputError { enum DescribeEventsForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1958,7 +1958,7 @@ enum DescribeEventsForOrganizationOutputError { enum DescribeEventTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1973,7 +1973,7 @@ enum DescribeEventTypesOutputError { enum DescribeHealthServiceStatusForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1986,7 +1986,7 @@ enum DescribeHealthServiceStatusForOrganizationOutputError { enum DisableHealthServiceAccessForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2000,7 +2000,7 @@ enum DisableHealthServiceAccessForOrganizationOutputError { enum EnableHealthServiceAccessForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/Models.swift b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/Models.swift index d248c5acde1..165951e4ee9 100644 --- a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/Models.swift +++ b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -114,7 +114,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -138,7 +138,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,7 +162,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -609,7 +609,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1559,7 +1559,7 @@ extension UntagResourceInput { extension CreateFHIRDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFHIRDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFHIRDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1574,7 +1574,7 @@ extension CreateFHIRDatastoreOutput { extension DeleteFHIRDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFHIRDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFHIRDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1589,7 +1589,7 @@ extension DeleteFHIRDatastoreOutput { extension DescribeFHIRDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFHIRDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFHIRDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1601,7 +1601,7 @@ extension DescribeFHIRDatastoreOutput { extension DescribeFHIRExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFHIRExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFHIRExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1613,7 +1613,7 @@ extension DescribeFHIRExportJobOutput { extension DescribeFHIRImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFHIRImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFHIRImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1625,7 +1625,7 @@ extension DescribeFHIRImportJobOutput { extension ListFHIRDatastoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFHIRDatastoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFHIRDatastoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1638,7 +1638,7 @@ extension ListFHIRDatastoresOutput { extension ListFHIRExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFHIRExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFHIRExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1651,7 +1651,7 @@ extension ListFHIRExportJobsOutput { extension ListFHIRImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFHIRImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFHIRImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1664,7 +1664,7 @@ extension ListFHIRImportJobsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1676,7 +1676,7 @@ extension ListTagsForResourceOutput { extension StartFHIRExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFHIRExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFHIRExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1690,7 +1690,7 @@ extension StartFHIRExportJobOutput { extension StartFHIRImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFHIRImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFHIRImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1704,21 +1704,21 @@ extension StartFHIRImportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateFHIRDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1735,7 +1735,7 @@ enum CreateFHIRDatastoreOutputError { enum DeleteFHIRDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1754,7 +1754,7 @@ enum DeleteFHIRDatastoreOutputError { enum DescribeFHIRDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1771,7 +1771,7 @@ enum DescribeFHIRDatastoreOutputError { enum DescribeFHIRExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1788,7 +1788,7 @@ enum DescribeFHIRExportJobOutputError { enum DescribeFHIRImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1805,7 +1805,7 @@ enum DescribeFHIRImportJobOutputError { enum ListFHIRDatastoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1821,7 +1821,7 @@ enum ListFHIRDatastoresOutputError { enum ListFHIRExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1839,7 +1839,7 @@ enum ListFHIRExportJobsOutputError { enum ListFHIRImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1857,7 +1857,7 @@ enum ListFHIRImportJobsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1872,7 +1872,7 @@ enum ListTagsForResourceOutputError { enum StartFHIRExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1890,7 +1890,7 @@ enum StartFHIRExportJobOutputError { enum StartFHIRImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1908,7 +1908,7 @@ enum StartFHIRImportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1923,7 +1923,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIAM/Sources/AWSIAM/Models.swift b/Sources/Services/AWSIAM/Sources/AWSIAM/Models.swift index e9a3b5a71e9..30c584606cd 100644 --- a/Sources/Services/AWSIAM/Sources/AWSIAM/Models.swift +++ b/Sources/Services/AWSIAM/Sources/AWSIAM/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -638,7 +638,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -662,7 +662,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -686,7 +686,7 @@ public struct NoSuchEntityException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -710,7 +710,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -752,7 +752,7 @@ public struct EntityAlreadyExistsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -776,7 +776,7 @@ public struct UnmodifiableEntityException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -934,7 +934,7 @@ public struct PolicyNotAttachableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1012,7 +1012,7 @@ public struct EntityTemporarilyUnmodifiableException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1036,7 +1036,7 @@ public struct InvalidUserTypeException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1060,7 +1060,7 @@ public struct PasswordPolicyViolationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1133,7 +1133,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1503,7 +1503,7 @@ public struct OpenIdIdpCommunicationErrorException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1569,7 +1569,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1904,7 +1904,7 @@ public struct ServiceNotSupportedException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2235,7 +2235,7 @@ public struct DeleteConflictException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2619,7 +2619,7 @@ public struct InvalidAuthenticationCodeException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2720,7 +2720,7 @@ public struct ReportGenerationLimitExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3403,7 +3403,7 @@ public struct CredentialReportExpiredException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3427,7 +3427,7 @@ public struct CredentialReportNotPresentException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3451,7 +3451,7 @@ public struct CredentialReportNotReadyException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4566,7 +4566,7 @@ public struct UnrecognizedPublicKeyEncodingException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6850,7 +6850,7 @@ public struct PolicyEvaluationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8061,7 +8061,7 @@ public struct KeyPairMismatchException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8085,7 +8085,7 @@ public struct MalformedCertificateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8184,7 +8184,7 @@ public struct DuplicateCertificateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8208,7 +8208,7 @@ public struct InvalidCertificateException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8269,7 +8269,7 @@ public struct DuplicateSSHPublicKeyException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8293,7 +8293,7 @@ public struct InvalidPublicKeyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11282,56 +11282,56 @@ extension UploadSSHPublicKeyInput { extension AddClientIDToOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddClientIDToOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddClientIDToOpenIDConnectProviderOutput { return AddClientIDToOpenIDConnectProviderOutput() } } extension AddRoleToInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddRoleToInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddRoleToInstanceProfileOutput { return AddRoleToInstanceProfileOutput() } } extension AddUserToGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddUserToGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddUserToGroupOutput { return AddUserToGroupOutput() } } extension AttachGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachGroupPolicyOutput { return AttachGroupPolicyOutput() } } extension AttachRolePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachRolePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachRolePolicyOutput { return AttachRolePolicyOutput() } } extension AttachUserPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachUserPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachUserPolicyOutput { return AttachUserPolicyOutput() } } extension ChangePasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangePasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangePasswordOutput { return ChangePasswordOutput() } } extension CreateAccessKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateAccessKeyResult"] @@ -11343,14 +11343,14 @@ extension CreateAccessKeyOutput { extension CreateAccountAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountAliasOutput { return CreateAccountAliasOutput() } } extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateGroupResult"] @@ -11362,7 +11362,7 @@ extension CreateGroupOutput { extension CreateInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateInstanceProfileResult"] @@ -11374,7 +11374,7 @@ extension CreateInstanceProfileOutput { extension CreateLoginProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoginProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoginProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateLoginProfileResult"] @@ -11386,7 +11386,7 @@ extension CreateLoginProfileOutput { extension CreateOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOpenIDConnectProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateOpenIDConnectProviderResult"] @@ -11399,7 +11399,7 @@ extension CreateOpenIDConnectProviderOutput { extension CreatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreatePolicyResult"] @@ -11411,7 +11411,7 @@ extension CreatePolicyOutput { extension CreatePolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreatePolicyVersionResult"] @@ -11423,7 +11423,7 @@ extension CreatePolicyVersionOutput { extension CreateRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateRoleResult"] @@ -11435,7 +11435,7 @@ extension CreateRoleOutput { extension CreateSAMLProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSAMLProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSAMLProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateSAMLProviderResult"] @@ -11448,7 +11448,7 @@ extension CreateSAMLProviderOutput { extension CreateServiceLinkedRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceLinkedRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceLinkedRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateServiceLinkedRoleResult"] @@ -11460,7 +11460,7 @@ extension CreateServiceLinkedRoleOutput { extension CreateServiceSpecificCredentialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceSpecificCredentialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceSpecificCredentialOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateServiceSpecificCredentialResult"] @@ -11472,7 +11472,7 @@ extension CreateServiceSpecificCredentialOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateUserResult"] @@ -11484,7 +11484,7 @@ extension CreateUserOutput { extension CreateVirtualMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVirtualMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVirtualMFADeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateVirtualMFADeviceResult"] @@ -11496,119 +11496,119 @@ extension CreateVirtualMFADeviceOutput { extension DeactivateMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateMFADeviceOutput { return DeactivateMFADeviceOutput() } } extension DeleteAccessKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessKeyOutput { return DeleteAccessKeyOutput() } } extension DeleteAccountAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountAliasOutput { return DeleteAccountAliasOutput() } } extension DeleteAccountPasswordPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountPasswordPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountPasswordPolicyOutput { return DeleteAccountPasswordPolicyOutput() } } extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupPolicyOutput { return DeleteGroupPolicyOutput() } } extension DeleteInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceProfileOutput { return DeleteInstanceProfileOutput() } } extension DeleteLoginProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoginProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoginProfileOutput { return DeleteLoginProfileOutput() } } extension DeleteOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOpenIDConnectProviderOutput { return DeleteOpenIDConnectProviderOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeletePolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyVersionOutput { return DeletePolicyVersionOutput() } } extension DeleteRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoleOutput { return DeleteRoleOutput() } } extension DeleteRolePermissionsBoundaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRolePermissionsBoundaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRolePermissionsBoundaryOutput { return DeleteRolePermissionsBoundaryOutput() } } extension DeleteRolePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRolePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRolePolicyOutput { return DeleteRolePolicyOutput() } } extension DeleteSAMLProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSAMLProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSAMLProviderOutput { return DeleteSAMLProviderOutput() } } extension DeleteServerCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServerCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServerCertificateOutput { return DeleteServerCertificateOutput() } } extension DeleteServiceLinkedRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceLinkedRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceLinkedRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteServiceLinkedRoleResult"] @@ -11620,84 +11620,84 @@ extension DeleteServiceLinkedRoleOutput { extension DeleteServiceSpecificCredentialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceSpecificCredentialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceSpecificCredentialOutput { return DeleteServiceSpecificCredentialOutput() } } extension DeleteSigningCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSigningCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSigningCertificateOutput { return DeleteSigningCertificateOutput() } } extension DeleteSSHPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSSHPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSSHPublicKeyOutput { return DeleteSSHPublicKeyOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DeleteUserPermissionsBoundaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserPermissionsBoundaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserPermissionsBoundaryOutput { return DeleteUserPermissionsBoundaryOutput() } } extension DeleteUserPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserPolicyOutput { return DeleteUserPolicyOutput() } } extension DeleteVirtualMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVirtualMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVirtualMFADeviceOutput { return DeleteVirtualMFADeviceOutput() } } extension DetachGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachGroupPolicyOutput { return DetachGroupPolicyOutput() } } extension DetachRolePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachRolePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachRolePolicyOutput { return DetachRolePolicyOutput() } } extension DetachUserPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachUserPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachUserPolicyOutput { return DetachUserPolicyOutput() } } extension EnableMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableMFADeviceOutput { return EnableMFADeviceOutput() } } extension GenerateCredentialReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateCredentialReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateCredentialReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GenerateCredentialReportResult"] @@ -11710,7 +11710,7 @@ extension GenerateCredentialReportOutput { extension GenerateOrganizationsAccessReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateOrganizationsAccessReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateOrganizationsAccessReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GenerateOrganizationsAccessReportResult"] @@ -11722,7 +11722,7 @@ extension GenerateOrganizationsAccessReportOutput { extension GenerateServiceLastAccessedDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateServiceLastAccessedDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateServiceLastAccessedDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GenerateServiceLastAccessedDetailsResult"] @@ -11734,7 +11734,7 @@ extension GenerateServiceLastAccessedDetailsOutput { extension GetAccessKeyLastUsedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessKeyLastUsedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessKeyLastUsedOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetAccessKeyLastUsedResult"] @@ -11747,7 +11747,7 @@ extension GetAccessKeyLastUsedOutput { extension GetAccountAuthorizationDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountAuthorizationDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountAuthorizationDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetAccountAuthorizationDetailsResult"] @@ -11764,7 +11764,7 @@ extension GetAccountAuthorizationDetailsOutput { extension GetAccountPasswordPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountPasswordPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountPasswordPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetAccountPasswordPolicyResult"] @@ -11776,7 +11776,7 @@ extension GetAccountPasswordPolicyOutput { extension GetAccountSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetAccountSummaryResult"] @@ -11788,7 +11788,7 @@ extension GetAccountSummaryOutput { extension GetContextKeysForCustomPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContextKeysForCustomPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContextKeysForCustomPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetContextKeysForCustomPolicyResult"] @@ -11800,7 +11800,7 @@ extension GetContextKeysForCustomPolicyOutput { extension GetContextKeysForPrincipalPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContextKeysForPrincipalPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContextKeysForPrincipalPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetContextKeysForPrincipalPolicyResult"] @@ -11812,7 +11812,7 @@ extension GetContextKeysForPrincipalPolicyOutput { extension GetCredentialReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCredentialReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCredentialReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetCredentialReportResult"] @@ -11826,7 +11826,7 @@ extension GetCredentialReportOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetGroupResult"] @@ -11841,7 +11841,7 @@ extension GetGroupOutput { extension GetGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetGroupPolicyResult"] @@ -11855,7 +11855,7 @@ extension GetGroupPolicyOutput { extension GetInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetInstanceProfileResult"] @@ -11867,7 +11867,7 @@ extension GetInstanceProfileOutput { extension GetLoginProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoginProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoginProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetLoginProfileResult"] @@ -11879,7 +11879,7 @@ extension GetLoginProfileOutput { extension GetMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMFADeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetMFADeviceResult"] @@ -11894,7 +11894,7 @@ extension GetMFADeviceOutput { extension GetOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpenIDConnectProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetOpenIDConnectProviderResult"] @@ -11910,7 +11910,7 @@ extension GetOpenIDConnectProviderOutput { extension GetOrganizationsAccessReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationsAccessReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationsAccessReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetOrganizationsAccessReportResult"] @@ -11930,7 +11930,7 @@ extension GetOrganizationsAccessReportOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetPolicyResult"] @@ -11942,7 +11942,7 @@ extension GetPolicyOutput { extension GetPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetPolicyVersionResult"] @@ -11954,7 +11954,7 @@ extension GetPolicyVersionOutput { extension GetRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetRoleResult"] @@ -11966,7 +11966,7 @@ extension GetRoleOutput { extension GetRolePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRolePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRolePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetRolePolicyResult"] @@ -11980,7 +11980,7 @@ extension GetRolePolicyOutput { extension GetSAMLProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSAMLProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSAMLProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSAMLProviderResult"] @@ -11995,7 +11995,7 @@ extension GetSAMLProviderOutput { extension GetServerCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServerCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServerCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetServerCertificateResult"] @@ -12007,7 +12007,7 @@ extension GetServerCertificateOutput { extension GetServiceLastAccessedDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceLastAccessedDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceLastAccessedDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetServiceLastAccessedDetailsResult"] @@ -12026,7 +12026,7 @@ extension GetServiceLastAccessedDetailsOutput { extension GetServiceLastAccessedDetailsWithEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceLastAccessedDetailsWithEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceLastAccessedDetailsWithEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetServiceLastAccessedDetailsWithEntitiesResult"] @@ -12044,7 +12044,7 @@ extension GetServiceLastAccessedDetailsWithEntitiesOutput { extension GetServiceLinkedRoleDeletionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceLinkedRoleDeletionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceLinkedRoleDeletionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetServiceLinkedRoleDeletionStatusResult"] @@ -12057,7 +12057,7 @@ extension GetServiceLinkedRoleDeletionStatusOutput { extension GetSSHPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSSHPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSSHPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSSHPublicKeyResult"] @@ -12069,7 +12069,7 @@ extension GetSSHPublicKeyOutput { extension GetUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetUserResult"] @@ -12081,7 +12081,7 @@ extension GetUserOutput { extension GetUserPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetUserPolicyResult"] @@ -12095,7 +12095,7 @@ extension GetUserPolicyOutput { extension ListAccessKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAccessKeysResult"] @@ -12109,7 +12109,7 @@ extension ListAccessKeysOutput { extension ListAccountAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAccountAliasesResult"] @@ -12123,7 +12123,7 @@ extension ListAccountAliasesOutput { extension ListAttachedGroupPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachedGroupPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachedGroupPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAttachedGroupPoliciesResult"] @@ -12137,7 +12137,7 @@ extension ListAttachedGroupPoliciesOutput { extension ListAttachedRolePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachedRolePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachedRolePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAttachedRolePoliciesResult"] @@ -12151,7 +12151,7 @@ extension ListAttachedRolePoliciesOutput { extension ListAttachedUserPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachedUserPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachedUserPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListAttachedUserPoliciesResult"] @@ -12165,7 +12165,7 @@ extension ListAttachedUserPoliciesOutput { extension ListEntitiesForPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitiesForPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitiesForPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListEntitiesForPolicyResult"] @@ -12181,7 +12181,7 @@ extension ListEntitiesForPolicyOutput { extension ListGroupPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListGroupPoliciesResult"] @@ -12195,7 +12195,7 @@ extension ListGroupPoliciesOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListGroupsResult"] @@ -12209,7 +12209,7 @@ extension ListGroupsOutput { extension ListGroupsForUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsForUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsForUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListGroupsForUserResult"] @@ -12223,7 +12223,7 @@ extension ListGroupsForUserOutput { extension ListInstanceProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListInstanceProfilesResult"] @@ -12237,7 +12237,7 @@ extension ListInstanceProfilesOutput { extension ListInstanceProfilesForRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceProfilesForRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceProfilesForRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListInstanceProfilesForRoleResult"] @@ -12251,7 +12251,7 @@ extension ListInstanceProfilesForRoleOutput { extension ListInstanceProfileTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceProfileTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceProfileTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListInstanceProfileTagsResult"] @@ -12265,7 +12265,7 @@ extension ListInstanceProfileTagsOutput { extension ListMFADevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMFADevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMFADevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListMFADevicesResult"] @@ -12279,7 +12279,7 @@ extension ListMFADevicesOutput { extension ListMFADeviceTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMFADeviceTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMFADeviceTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListMFADeviceTagsResult"] @@ -12293,7 +12293,7 @@ extension ListMFADeviceTagsOutput { extension ListOpenIDConnectProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpenIDConnectProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpenIDConnectProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListOpenIDConnectProvidersResult"] @@ -12305,7 +12305,7 @@ extension ListOpenIDConnectProvidersOutput { extension ListOpenIDConnectProviderTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpenIDConnectProviderTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpenIDConnectProviderTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListOpenIDConnectProviderTagsResult"] @@ -12319,7 +12319,7 @@ extension ListOpenIDConnectProviderTagsOutput { extension ListPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPoliciesResult"] @@ -12333,7 +12333,7 @@ extension ListPoliciesOutput { extension ListPoliciesGrantingServiceAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesGrantingServiceAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesGrantingServiceAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPoliciesGrantingServiceAccessResult"] @@ -12347,7 +12347,7 @@ extension ListPoliciesGrantingServiceAccessOutput { extension ListPolicyTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPolicyTagsResult"] @@ -12361,7 +12361,7 @@ extension ListPolicyTagsOutput { extension ListPolicyVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPolicyVersionsResult"] @@ -12375,7 +12375,7 @@ extension ListPolicyVersionsOutput { extension ListRolePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRolePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRolePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListRolePoliciesResult"] @@ -12389,7 +12389,7 @@ extension ListRolePoliciesOutput { extension ListRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRolesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListRolesResult"] @@ -12403,7 +12403,7 @@ extension ListRolesOutput { extension ListRoleTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoleTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoleTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListRoleTagsResult"] @@ -12417,7 +12417,7 @@ extension ListRoleTagsOutput { extension ListSAMLProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSAMLProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSAMLProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSAMLProvidersResult"] @@ -12429,7 +12429,7 @@ extension ListSAMLProvidersOutput { extension ListSAMLProviderTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSAMLProviderTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSAMLProviderTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSAMLProviderTagsResult"] @@ -12443,7 +12443,7 @@ extension ListSAMLProviderTagsOutput { extension ListServerCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServerCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServerCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListServerCertificatesResult"] @@ -12457,7 +12457,7 @@ extension ListServerCertificatesOutput { extension ListServerCertificateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServerCertificateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServerCertificateTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListServerCertificateTagsResult"] @@ -12471,7 +12471,7 @@ extension ListServerCertificateTagsOutput { extension ListServiceSpecificCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceSpecificCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceSpecificCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListServiceSpecificCredentialsResult"] @@ -12483,7 +12483,7 @@ extension ListServiceSpecificCredentialsOutput { extension ListSigningCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSigningCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSigningCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSigningCertificatesResult"] @@ -12497,7 +12497,7 @@ extension ListSigningCertificatesOutput { extension ListSSHPublicKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSSHPublicKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSSHPublicKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSSHPublicKeysResult"] @@ -12511,7 +12511,7 @@ extension ListSSHPublicKeysOutput { extension ListUserPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListUserPoliciesResult"] @@ -12525,7 +12525,7 @@ extension ListUserPoliciesOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListUsersResult"] @@ -12539,7 +12539,7 @@ extension ListUsersOutput { extension ListUserTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListUserTagsResult"] @@ -12553,7 +12553,7 @@ extension ListUserTagsOutput { extension ListVirtualMFADevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVirtualMFADevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVirtualMFADevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListVirtualMFADevicesResult"] @@ -12567,63 +12567,63 @@ extension ListVirtualMFADevicesOutput { extension PutGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutGroupPolicyOutput { return PutGroupPolicyOutput() } } extension PutRolePermissionsBoundaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRolePermissionsBoundaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRolePermissionsBoundaryOutput { return PutRolePermissionsBoundaryOutput() } } extension PutRolePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRolePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRolePolicyOutput { return PutRolePolicyOutput() } } extension PutUserPermissionsBoundaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutUserPermissionsBoundaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutUserPermissionsBoundaryOutput { return PutUserPermissionsBoundaryOutput() } } extension PutUserPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutUserPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutUserPolicyOutput { return PutUserPolicyOutput() } } extension RemoveClientIDFromOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveClientIDFromOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveClientIDFromOpenIDConnectProviderOutput { return RemoveClientIDFromOpenIDConnectProviderOutput() } } extension RemoveRoleFromInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveRoleFromInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveRoleFromInstanceProfileOutput { return RemoveRoleFromInstanceProfileOutput() } } extension RemoveUserFromGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveUserFromGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveUserFromGroupOutput { return RemoveUserFromGroupOutput() } } extension ResetServiceSpecificCredentialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetServiceSpecificCredentialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetServiceSpecificCredentialOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetServiceSpecificCredentialResult"] @@ -12635,28 +12635,28 @@ extension ResetServiceSpecificCredentialOutput { extension ResyncMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResyncMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResyncMFADeviceOutput { return ResyncMFADeviceOutput() } } extension SetDefaultPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDefaultPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultPolicyVersionOutput { return SetDefaultPolicyVersionOutput() } } extension SetSecurityTokenServicePreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetSecurityTokenServicePreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetSecurityTokenServicePreferencesOutput { return SetSecurityTokenServicePreferencesOutput() } } extension SimulateCustomPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SimulateCustomPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SimulateCustomPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SimulateCustomPolicyResult"] @@ -12670,7 +12670,7 @@ extension SimulateCustomPolicyOutput { extension SimulatePrincipalPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SimulatePrincipalPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SimulatePrincipalPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SimulatePrincipalPolicyResult"] @@ -12684,168 +12684,168 @@ extension SimulatePrincipalPolicyOutput { extension TagInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagInstanceProfileOutput { return TagInstanceProfileOutput() } } extension TagMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagMFADeviceOutput { return TagMFADeviceOutput() } } extension TagOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagOpenIDConnectProviderOutput { return TagOpenIDConnectProviderOutput() } } extension TagPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagPolicyOutput { return TagPolicyOutput() } } extension TagRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagRoleOutput { return TagRoleOutput() } } extension TagSAMLProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagSAMLProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagSAMLProviderOutput { return TagSAMLProviderOutput() } } extension TagServerCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagServerCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagServerCertificateOutput { return TagServerCertificateOutput() } } extension TagUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagUserOutput { return TagUserOutput() } } extension UntagInstanceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagInstanceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagInstanceProfileOutput { return UntagInstanceProfileOutput() } } extension UntagMFADeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagMFADeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagMFADeviceOutput { return UntagMFADeviceOutput() } } extension UntagOpenIDConnectProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagOpenIDConnectProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagOpenIDConnectProviderOutput { return UntagOpenIDConnectProviderOutput() } } extension UntagPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagPolicyOutput { return UntagPolicyOutput() } } extension UntagRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagRoleOutput { return UntagRoleOutput() } } extension UntagSAMLProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagSAMLProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagSAMLProviderOutput { return UntagSAMLProviderOutput() } } extension UntagServerCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagServerCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagServerCertificateOutput { return UntagServerCertificateOutput() } } extension UntagUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagUserOutput { return UntagUserOutput() } } extension UpdateAccessKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessKeyOutput { return UpdateAccessKeyOutput() } } extension UpdateAccountPasswordPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountPasswordPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountPasswordPolicyOutput { return UpdateAccountPasswordPolicyOutput() } } extension UpdateAssumeRolePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssumeRolePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssumeRolePolicyOutput { return UpdateAssumeRolePolicyOutput() } } extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { return UpdateGroupOutput() } } extension UpdateLoginProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLoginProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLoginProfileOutput { return UpdateLoginProfileOutput() } } extension UpdateOpenIDConnectProviderThumbprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOpenIDConnectProviderThumbprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOpenIDConnectProviderThumbprintOutput { return UpdateOpenIDConnectProviderThumbprintOutput() } } extension UpdateRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoleOutput { return UpdateRoleOutput() } } extension UpdateRoleDescriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoleDescriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoleDescriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateRoleDescriptionResult"] @@ -12857,7 +12857,7 @@ extension UpdateRoleDescriptionOutput { extension UpdateSAMLProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSAMLProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSAMLProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdateSAMLProviderResult"] @@ -12869,42 +12869,42 @@ extension UpdateSAMLProviderOutput { extension UpdateServerCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServerCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServerCertificateOutput { return UpdateServerCertificateOutput() } } extension UpdateServiceSpecificCredentialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceSpecificCredentialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceSpecificCredentialOutput { return UpdateServiceSpecificCredentialOutput() } } extension UpdateSigningCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSigningCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSigningCertificateOutput { return UpdateSigningCertificateOutput() } } extension UpdateSSHPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSSHPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSSHPublicKeyOutput { return UpdateSSHPublicKeyOutput() } } extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { return UpdateUserOutput() } } extension UploadServerCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadServerCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadServerCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UploadServerCertificateResult"] @@ -12917,7 +12917,7 @@ extension UploadServerCertificateOutput { extension UploadSigningCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadSigningCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadSigningCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UploadSigningCertificateResult"] @@ -12929,7 +12929,7 @@ extension UploadSigningCertificateOutput { extension UploadSSHPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadSSHPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadSSHPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UploadSSHPublicKeyResult"] @@ -12941,7 +12941,7 @@ extension UploadSSHPublicKeyOutput { enum AddClientIDToOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12958,7 +12958,7 @@ enum AddClientIDToOpenIDConnectProviderOutputError { enum AddRoleToInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12976,7 +12976,7 @@ enum AddRoleToInstanceProfileOutputError { enum AddUserToGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12992,7 +12992,7 @@ enum AddUserToGroupOutputError { enum AttachGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13010,7 +13010,7 @@ enum AttachGroupPolicyOutputError { enum AttachRolePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13029,7 +13029,7 @@ enum AttachRolePolicyOutputError { enum AttachUserPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13047,7 +13047,7 @@ enum AttachUserPolicyOutputError { enum ChangePasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13066,7 +13066,7 @@ enum ChangePasswordOutputError { enum CreateAccessKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13082,7 +13082,7 @@ enum CreateAccessKeyOutputError { enum CreateAccountAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13099,7 +13099,7 @@ enum CreateAccountAliasOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13116,7 +13116,7 @@ enum CreateGroupOutputError { enum CreateInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13134,7 +13134,7 @@ enum CreateInstanceProfileOutputError { enum CreateLoginProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13152,7 +13152,7 @@ enum CreateLoginProfileOutputError { enum CreateOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13171,7 +13171,7 @@ enum CreateOpenIDConnectProviderOutputError { enum CreatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13190,7 +13190,7 @@ enum CreatePolicyOutputError { enum CreatePolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13208,7 +13208,7 @@ enum CreatePolicyVersionOutputError { enum CreateRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13227,7 +13227,7 @@ enum CreateRoleOutputError { enum CreateSAMLProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13245,7 +13245,7 @@ enum CreateSAMLProviderOutputError { enum CreateServiceLinkedRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13262,7 +13262,7 @@ enum CreateServiceLinkedRoleOutputError { enum CreateServiceSpecificCredentialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13278,7 +13278,7 @@ enum CreateServiceSpecificCredentialOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13297,7 +13297,7 @@ enum CreateUserOutputError { enum CreateVirtualMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13315,7 +13315,7 @@ enum CreateVirtualMFADeviceOutputError { enum DeactivateMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13333,7 +13333,7 @@ enum DeactivateMFADeviceOutputError { enum DeleteAccessKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13349,7 +13349,7 @@ enum DeleteAccessKeyOutputError { enum DeleteAccountAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13366,7 +13366,7 @@ enum DeleteAccountAliasOutputError { enum DeleteAccountPasswordPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13382,7 +13382,7 @@ enum DeleteAccountPasswordPolicyOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13399,7 +13399,7 @@ enum DeleteGroupOutputError { enum DeleteGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13415,7 +13415,7 @@ enum DeleteGroupPolicyOutputError { enum DeleteInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13432,7 +13432,7 @@ enum DeleteInstanceProfileOutputError { enum DeleteLoginProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13449,7 +13449,7 @@ enum DeleteLoginProfileOutputError { enum DeleteOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13465,7 +13465,7 @@ enum DeleteOpenIDConnectProviderOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13483,7 +13483,7 @@ enum DeletePolicyOutputError { enum DeletePolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13501,7 +13501,7 @@ enum DeletePolicyVersionOutputError { enum DeleteRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13520,7 +13520,7 @@ enum DeleteRoleOutputError { enum DeleteRolePermissionsBoundaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13536,7 +13536,7 @@ enum DeleteRolePermissionsBoundaryOutputError { enum DeleteRolePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13553,7 +13553,7 @@ enum DeleteRolePolicyOutputError { enum DeleteSAMLProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13570,7 +13570,7 @@ enum DeleteSAMLProviderOutputError { enum DeleteServerCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13587,7 +13587,7 @@ enum DeleteServerCertificateOutputError { enum DeleteServiceLinkedRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13603,7 +13603,7 @@ enum DeleteServiceLinkedRoleOutputError { enum DeleteServiceSpecificCredentialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13617,7 +13617,7 @@ enum DeleteServiceSpecificCredentialOutputError { enum DeleteSigningCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13634,7 +13634,7 @@ enum DeleteSigningCertificateOutputError { enum DeleteSSHPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13648,7 +13648,7 @@ enum DeleteSSHPublicKeyOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13666,7 +13666,7 @@ enum DeleteUserOutputError { enum DeleteUserPermissionsBoundaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13681,7 +13681,7 @@ enum DeleteUserPermissionsBoundaryOutputError { enum DeleteUserPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13697,7 +13697,7 @@ enum DeleteUserPolicyOutputError { enum DeleteVirtualMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13715,7 +13715,7 @@ enum DeleteVirtualMFADeviceOutputError { enum DetachGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13732,7 +13732,7 @@ enum DetachGroupPolicyOutputError { enum DetachRolePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13750,7 +13750,7 @@ enum DetachRolePolicyOutputError { enum DetachUserPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13767,7 +13767,7 @@ enum DetachUserPolicyOutputError { enum EnableMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13787,7 +13787,7 @@ enum EnableMFADeviceOutputError { enum GenerateCredentialReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13802,7 +13802,7 @@ enum GenerateCredentialReportOutputError { enum GenerateOrganizationsAccessReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13816,7 +13816,7 @@ enum GenerateOrganizationsAccessReportOutputError { enum GenerateServiceLastAccessedDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13831,7 +13831,7 @@ enum GenerateServiceLastAccessedDetailsOutputError { enum GetAccessKeyLastUsedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13844,7 +13844,7 @@ enum GetAccessKeyLastUsedOutputError { enum GetAccountAuthorizationDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13858,7 +13858,7 @@ enum GetAccountAuthorizationDetailsOutputError { enum GetAccountPasswordPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13873,7 +13873,7 @@ enum GetAccountPasswordPolicyOutputError { enum GetAccountSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13887,7 +13887,7 @@ enum GetAccountSummaryOutputError { enum GetContextKeysForCustomPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13901,7 +13901,7 @@ enum GetContextKeysForCustomPolicyOutputError { enum GetContextKeysForPrincipalPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13916,7 +13916,7 @@ enum GetContextKeysForPrincipalPolicyOutputError { enum GetCredentialReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13933,7 +13933,7 @@ enum GetCredentialReportOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13948,7 +13948,7 @@ enum GetGroupOutputError { enum GetGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13963,7 +13963,7 @@ enum GetGroupPolicyOutputError { enum GetInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13978,7 +13978,7 @@ enum GetInstanceProfileOutputError { enum GetLoginProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13993,7 +13993,7 @@ enum GetLoginProfileOutputError { enum GetMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14008,7 +14008,7 @@ enum GetMFADeviceOutputError { enum GetOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14024,7 +14024,7 @@ enum GetOpenIDConnectProviderOutputError { enum GetOrganizationsAccessReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14038,7 +14038,7 @@ enum GetOrganizationsAccessReportOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14054,7 +14054,7 @@ enum GetPolicyOutputError { enum GetPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14070,7 +14070,7 @@ enum GetPolicyVersionOutputError { enum GetRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14085,7 +14085,7 @@ enum GetRoleOutputError { enum GetRolePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14100,7 +14100,7 @@ enum GetRolePolicyOutputError { enum GetSAMLProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14116,7 +14116,7 @@ enum GetSAMLProviderOutputError { enum GetServerCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14131,7 +14131,7 @@ enum GetServerCertificateOutputError { enum GetServiceLastAccessedDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14146,7 +14146,7 @@ enum GetServiceLastAccessedDetailsOutputError { enum GetServiceLastAccessedDetailsWithEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14161,7 +14161,7 @@ enum GetServiceLastAccessedDetailsWithEntitiesOutputError { enum GetServiceLinkedRoleDeletionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14177,7 +14177,7 @@ enum GetServiceLinkedRoleDeletionStatusOutputError { enum GetSSHPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14192,7 +14192,7 @@ enum GetSSHPublicKeyOutputError { enum GetUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14207,7 +14207,7 @@ enum GetUserOutputError { enum GetUserPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14222,7 +14222,7 @@ enum GetUserPolicyOutputError { enum ListAccessKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14237,7 +14237,7 @@ enum ListAccessKeysOutputError { enum ListAccountAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14251,7 +14251,7 @@ enum ListAccountAliasesOutputError { enum ListAttachedGroupPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14267,7 +14267,7 @@ enum ListAttachedGroupPoliciesOutputError { enum ListAttachedRolePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14283,7 +14283,7 @@ enum ListAttachedRolePoliciesOutputError { enum ListAttachedUserPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14299,7 +14299,7 @@ enum ListAttachedUserPoliciesOutputError { enum ListEntitiesForPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14315,7 +14315,7 @@ enum ListEntitiesForPolicyOutputError { enum ListGroupPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14330,7 +14330,7 @@ enum ListGroupPoliciesOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14344,7 +14344,7 @@ enum ListGroupsOutputError { enum ListGroupsForUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14359,7 +14359,7 @@ enum ListGroupsForUserOutputError { enum ListInstanceProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14373,7 +14373,7 @@ enum ListInstanceProfilesOutputError { enum ListInstanceProfilesForRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14388,7 +14388,7 @@ enum ListInstanceProfilesForRoleOutputError { enum ListInstanceProfileTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14403,7 +14403,7 @@ enum ListInstanceProfileTagsOutputError { enum ListMFADevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14418,7 +14418,7 @@ enum ListMFADevicesOutputError { enum ListMFADeviceTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14434,7 +14434,7 @@ enum ListMFADeviceTagsOutputError { enum ListOpenIDConnectProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14448,7 +14448,7 @@ enum ListOpenIDConnectProvidersOutputError { enum ListOpenIDConnectProviderTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14464,7 +14464,7 @@ enum ListOpenIDConnectProviderTagsOutputError { enum ListPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14478,7 +14478,7 @@ enum ListPoliciesOutputError { enum ListPoliciesGrantingServiceAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14493,7 +14493,7 @@ enum ListPoliciesGrantingServiceAccessOutputError { enum ListPolicyTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14509,7 +14509,7 @@ enum ListPolicyTagsOutputError { enum ListPolicyVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14525,7 +14525,7 @@ enum ListPolicyVersionsOutputError { enum ListRolePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14540,7 +14540,7 @@ enum ListRolePoliciesOutputError { enum ListRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14554,7 +14554,7 @@ enum ListRolesOutputError { enum ListRoleTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14569,7 +14569,7 @@ enum ListRoleTagsOutputError { enum ListSAMLProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14583,7 +14583,7 @@ enum ListSAMLProvidersOutputError { enum ListSAMLProviderTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14599,7 +14599,7 @@ enum ListSAMLProviderTagsOutputError { enum ListServerCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14613,7 +14613,7 @@ enum ListServerCertificatesOutputError { enum ListServerCertificateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14628,7 +14628,7 @@ enum ListServerCertificateTagsOutputError { enum ListServiceSpecificCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14643,7 +14643,7 @@ enum ListServiceSpecificCredentialsOutputError { enum ListSigningCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14658,7 +14658,7 @@ enum ListSigningCertificatesOutputError { enum ListSSHPublicKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14672,7 +14672,7 @@ enum ListSSHPublicKeysOutputError { enum ListUserPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14687,7 +14687,7 @@ enum ListUserPoliciesOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14701,7 +14701,7 @@ enum ListUsersOutputError { enum ListUserTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14716,7 +14716,7 @@ enum ListUserTagsOutputError { enum ListVirtualMFADevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14729,7 +14729,7 @@ enum ListVirtualMFADevicesOutputError { enum PutGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14746,7 +14746,7 @@ enum PutGroupPolicyOutputError { enum PutRolePermissionsBoundaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14764,7 +14764,7 @@ enum PutRolePermissionsBoundaryOutputError { enum PutRolePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14782,7 +14782,7 @@ enum PutRolePolicyOutputError { enum PutUserPermissionsBoundaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14799,7 +14799,7 @@ enum PutUserPermissionsBoundaryOutputError { enum PutUserPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14816,7 +14816,7 @@ enum PutUserPolicyOutputError { enum RemoveClientIDFromOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14832,7 +14832,7 @@ enum RemoveClientIDFromOpenIDConnectProviderOutputError { enum RemoveRoleFromInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14849,7 +14849,7 @@ enum RemoveRoleFromInstanceProfileOutputError { enum RemoveUserFromGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14865,7 +14865,7 @@ enum RemoveUserFromGroupOutputError { enum ResetServiceSpecificCredentialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14879,7 +14879,7 @@ enum ResetServiceSpecificCredentialOutputError { enum ResyncMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14897,7 +14897,7 @@ enum ResyncMFADeviceOutputError { enum SetDefaultPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14914,7 +14914,7 @@ enum SetDefaultPolicyVersionOutputError { enum SetSecurityTokenServicePreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14928,7 +14928,7 @@ enum SetSecurityTokenServicePreferencesOutputError { enum SimulateCustomPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14943,7 +14943,7 @@ enum SimulateCustomPolicyOutputError { enum SimulatePrincipalPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14959,7 +14959,7 @@ enum SimulatePrincipalPolicyOutputError { enum TagInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14977,7 +14977,7 @@ enum TagInstanceProfileOutputError { enum TagMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14995,7 +14995,7 @@ enum TagMFADeviceOutputError { enum TagOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15013,7 +15013,7 @@ enum TagOpenIDConnectProviderOutputError { enum TagPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15031,7 +15031,7 @@ enum TagPolicyOutputError { enum TagRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15049,7 +15049,7 @@ enum TagRoleOutputError { enum TagSAMLProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15067,7 +15067,7 @@ enum TagSAMLProviderOutputError { enum TagServerCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15085,7 +15085,7 @@ enum TagServerCertificateOutputError { enum TagUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15103,7 +15103,7 @@ enum TagUserOutputError { enum UntagInstanceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15120,7 +15120,7 @@ enum UntagInstanceProfileOutputError { enum UntagMFADeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15137,7 +15137,7 @@ enum UntagMFADeviceOutputError { enum UntagOpenIDConnectProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15154,7 +15154,7 @@ enum UntagOpenIDConnectProviderOutputError { enum UntagPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15171,7 +15171,7 @@ enum UntagPolicyOutputError { enum UntagRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15187,7 +15187,7 @@ enum UntagRoleOutputError { enum UntagSAMLProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15204,7 +15204,7 @@ enum UntagSAMLProviderOutputError { enum UntagServerCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15221,7 +15221,7 @@ enum UntagServerCertificateOutputError { enum UntagUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15237,7 +15237,7 @@ enum UntagUserOutputError { enum UpdateAccessKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15253,7 +15253,7 @@ enum UpdateAccessKeyOutputError { enum UpdateAccountPasswordPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15270,7 +15270,7 @@ enum UpdateAccountPasswordPolicyOutputError { enum UpdateAssumeRolePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15288,7 +15288,7 @@ enum UpdateAssumeRolePolicyOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15305,7 +15305,7 @@ enum UpdateGroupOutputError { enum UpdateLoginProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15323,7 +15323,7 @@ enum UpdateLoginProfileOutputError { enum UpdateOpenIDConnectProviderThumbprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15339,7 +15339,7 @@ enum UpdateOpenIDConnectProviderThumbprintOutputError { enum UpdateRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15355,7 +15355,7 @@ enum UpdateRoleOutputError { enum UpdateRoleDescriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15371,7 +15371,7 @@ enum UpdateRoleDescriptionOutputError { enum UpdateSAMLProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15388,7 +15388,7 @@ enum UpdateSAMLProviderOutputError { enum UpdateServerCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15405,7 +15405,7 @@ enum UpdateServerCertificateOutputError { enum UpdateServiceSpecificCredentialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15419,7 +15419,7 @@ enum UpdateServiceSpecificCredentialOutputError { enum UpdateSigningCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15435,7 +15435,7 @@ enum UpdateSigningCertificateOutputError { enum UpdateSSHPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15449,7 +15449,7 @@ enum UpdateSSHPublicKeyOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15468,7 +15468,7 @@ enum UpdateUserOutputError { enum UploadServerCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15488,7 +15488,7 @@ enum UploadServerCertificateOutputError { enum UploadSigningCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -15509,7 +15509,7 @@ enum UploadSigningCertificateOutputError { enum UploadSSHPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift index 66764f8f8ed..24e6913e03f 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift @@ -443,6 +443,58 @@ extension IVSRealTimeClient { return result } + /// Performs the `DeletePublicKey` operation on the `AmazonInteractiveVideoServiceRealTime` service. + /// + /// Deletes the specified public key used to sign stage participant tokens. This invalidates future participant tokens generated using the key pair’s private key. + /// + /// - Parameter DeletePublicKeyInput : [no documentation found] + /// + /// - Returns: `DeletePublicKeyOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : + /// - `ConflictException` : + /// - `PendingVerification` : + /// - `ResourceNotFoundException` : + /// - `ValidationException` : + public func deletePublicKey(input: DeletePublicKeyInput) async throws -> DeletePublicKeyOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deletePublicKey") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "ivs") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deletePublicKey") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeletePublicKeyInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeletePublicKeyInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeletePublicKeyOutput.httpOutput(from:), DeletePublicKeyOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DeleteStage` operation on the `AmazonInteractiveVideoServiceRealTime` service. /// /// Shuts down and deletes the specified stage (disconnecting all participants). @@ -755,6 +807,56 @@ extension IVSRealTimeClient { return result } + /// Performs the `GetPublicKey` operation on the `AmazonInteractiveVideoServiceRealTime` service. + /// + /// Gets information for the specified public key. + /// + /// - Parameter GetPublicKeyInput : [no documentation found] + /// + /// - Returns: `GetPublicKeyOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : + /// - `ResourceNotFoundException` : + /// - `ValidationException` : + public func getPublicKey(input: GetPublicKeyInput) async throws -> GetPublicKeyOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "getPublicKey") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "ivs") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getPublicKey") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetPublicKeyInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: GetPublicKeyInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetPublicKeyOutput.httpOutput(from:), GetPublicKeyOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `GetStage` operation on the `AmazonInteractiveVideoServiceRealTime` service. /// /// Gets information for the specified stage. @@ -908,6 +1010,58 @@ extension IVSRealTimeClient { return result } + /// Performs the `ImportPublicKey` operation on the `AmazonInteractiveVideoServiceRealTime` service. + /// + /// Import a public key to be used for signing stage participant tokens. + /// + /// - Parameter ImportPublicKeyInput : [no documentation found] + /// + /// - Returns: `ImportPublicKeyOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : + /// - `ConflictException` : + /// - `PendingVerification` : + /// - `ServiceQuotaExceededException` : + /// - `ValidationException` : + public func importPublicKey(input: ImportPublicKeyInput) async throws -> ImportPublicKeyOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "importPublicKey") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "ivs") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "importPublicKey") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ImportPublicKeyInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ImportPublicKeyInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ImportPublicKeyOutput.httpOutput(from:), ImportPublicKeyOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListCompositions` operation on the `AmazonInteractiveVideoServiceRealTime` service. /// /// Gets summary information about all Compositions in your account, in the AWS region where the API request is processed. @@ -1110,6 +1264,55 @@ extension IVSRealTimeClient { return result } + /// Performs the `ListPublicKeys` operation on the `AmazonInteractiveVideoServiceRealTime` service. + /// + /// Gets summary information about all public keys in your account, in the AWS region where the API request is processed. + /// + /// - Parameter ListPublicKeysInput : [no documentation found] + /// + /// - Returns: `ListPublicKeysOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : + /// - `ValidationException` : + public func listPublicKeys(input: ListPublicKeysInput) async throws -> ListPublicKeysOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listPublicKeys") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "ivs") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listPublicKeys") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListPublicKeysInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListPublicKeysInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListPublicKeysOutput.httpOutput(from:), ListPublicKeysOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListStageSessions` operation on the `AmazonInteractiveVideoServiceRealTime` service. /// /// Gets all sessions for a specified stage. diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Models.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Models.swift index 6a537d71ab4..a69e1916a68 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Models.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -88,7 +88,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -113,7 +113,7 @@ public struct PendingVerification: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -138,7 +138,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -188,7 +188,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -434,11 +434,11 @@ extension IVSRealTimeClientTypes { } extension IVSRealTimeClientTypes { - /// Object specifying an auto-participant-recording configuration. + /// Object specifying a configuration for individual participant recording. public struct AutoParticipantRecordingConfiguration { /// Types of media to be recorded. Default: AUDIO_VIDEO. public var mediaTypes: [IVSRealTimeClientTypes.ParticipantRecordingMediaType]? - /// ARN of the [StorageConfiguration] resource to use for auto participant recording. Default: "" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a [Stage] is created or updated. + /// ARN of the [StorageConfiguration] resource to use for individual participant recording. Default: "" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a [Stage] is created or updated. /// This member is required. public var storageConfigurationArn: Swift.String? @@ -483,7 +483,7 @@ extension IVSRealTimeClientTypes { } public struct CreateStageInput { - /// Auto participant recording configuration object attached to the stage. + /// Configuration object for individual participant recording, to attach to the new stage. public var autoParticipantRecordingConfiguration: IVSRealTimeClientTypes.AutoParticipantRecordingConfiguration? /// Optional name that can be specified for the stage being created. public var name: Swift.String? @@ -506,6 +506,26 @@ public struct CreateStageInput { } } +extension IVSRealTimeClientTypes { + /// Summary information about various endpoints for a stage. + public struct StageEndpoints { + /// Events endpoint. + public var events: Swift.String? + /// WHIP endpoint. + public var whip: Swift.String? + + public init( + events: Swift.String? = nil, + whip: Swift.String? = nil + ) + { + self.events = events + self.whip = whip + } + } + +} + extension IVSRealTimeClientTypes { /// Object specifying a stage. public struct Stage { @@ -514,8 +534,10 @@ extension IVSRealTimeClientTypes { /// Stage ARN. /// This member is required. public var arn: Swift.String? - /// Auto-participant-recording configuration object attached to the stage. + /// Configuration object for individual participant recording, attached to the stage. public var autoParticipantRecordingConfiguration: IVSRealTimeClientTypes.AutoParticipantRecordingConfiguration? + /// Summary information about various endpoints for a stage. + public var endpoints: IVSRealTimeClientTypes.StageEndpoints? /// Stage name. public var name: Swift.String? /// Tags attached to the resource. Array of maps, each of the form string:string (key:value). See [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there. @@ -525,6 +547,7 @@ extension IVSRealTimeClientTypes { activeSessionId: Swift.String? = nil, arn: Swift.String? = nil, autoParticipantRecordingConfiguration: IVSRealTimeClientTypes.AutoParticipantRecordingConfiguration? = nil, + endpoints: IVSRealTimeClientTypes.StageEndpoints? = nil, name: Swift.String? = nil, tags: [Swift.String: Swift.String]? = nil ) @@ -532,6 +555,7 @@ extension IVSRealTimeClientTypes { self.activeSessionId = activeSessionId self.arn = arn self.autoParticipantRecordingConfiguration = autoParticipantRecordingConfiguration + self.endpoints = endpoints self.name = name self.tags = tags } @@ -652,6 +676,24 @@ public struct DeleteEncoderConfigurationOutput { public init() { } } +public struct DeletePublicKeyInput { + /// ARN of the public key to be deleted. + /// This member is required. + public var arn: Swift.String? + + public init( + arn: Swift.String? = nil + ) + { + self.arn = arn + } +} + +public struct DeletePublicKeyOutput { + + public init() { } +} + public struct DeleteStageInput { /// ARN of the stage to be deleted. /// This member is required. @@ -1024,15 +1066,15 @@ extension IVSRealTimeClientTypes { extension IVSRealTimeClientTypes { /// Configuration information specific to Grid layout, for server-side composition. See "Layouts" in [Server-Side Composition](https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html). public struct GridConfiguration { - /// This attribute name identifies the featured slot. A participant with this attribute set to "true" (as a string value) in [ParticipantTokenConfiguration] is placed in the featured slot. + /// This attribute name identifies the featured slot. A participant with this attribute set to "true" (as a string value) in [ParticipantTokenConfiguration] is placed in the featured slot. Default: "" (no featured participant). public var featuredParticipantAttribute: Swift.String? /// Specifies the spacing between participant tiles in pixels. Default: 2. public var gridGap: Swift.Int /// Determines whether to omit participants with stopped video in the composition. Default: false. public var omitStoppedVideo: Swift.Bool - /// Sets the non-featured participant display mode. Default: VIDEO. + /// Sets the non-featured participant display mode, to control the aspect ratio of video tiles. VIDEO is 16:9, SQUARE is 1:1, and PORTRAIT is 3:4. Default: VIDEO. public var videoAspectRatio: IVSRealTimeClientTypes.VideoAspectRatio? - /// Defines how video fits within the participant tile. When not set, videoFillMode defaults to COVER fill mode for participants in the grid and to CONTAIN fill mode for featured participants. + /// Defines how video content fits within the participant tile: FILL (stretched), COVER (cropped), or CONTAIN (letterboxed). When not set, videoFillMode defaults to COVER fill mode for participants in the grid and to CONTAIN fill mode for featured participants. public var videoFillMode: IVSRealTimeClientTypes.VideoFillMode? public init( @@ -1120,25 +1162,25 @@ extension IVSRealTimeClientTypes { extension IVSRealTimeClientTypes { /// Configuration information specific to Picture-in-Picture (PiP) layout, for [server-side composition](https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html). public struct PipConfiguration { - /// This attribute name identifies the featured slot. A participant with this attribute set to "true" (as a string value) in [ParticipantTokenConfiguration] is placed in the featured slot. + /// This attribute name identifies the featured slot. A participant with this attribute set to "true" (as a string value) in [ParticipantTokenConfiguration] is placed in the featured slot. Default: "" (no featured participant). public var featuredParticipantAttribute: Swift.String? /// Specifies the spacing between participant tiles in pixels. Default: 0. public var gridGap: Swift.Int /// Determines whether to omit participants with stopped video in the composition. Default: false. public var omitStoppedVideo: Swift.Bool - /// Defines PiP behavior when all participants have left. Default: STATIC. + /// Defines PiP behavior when all participants have left: STATIC (maintains original position/size) or DYNAMIC (expands to full composition). Default: STATIC. public var pipBehavior: IVSRealTimeClientTypes.PipBehavior? /// Specifies the height of the PiP window in pixels. When this is not set explicitly, pipHeight’s value will be based on the size of the composition and the aspect ratio of the participant’s video. public var pipHeight: Swift.Int? /// Sets the PiP window’s offset position in pixels from the closest edges determined by PipPosition. Default: 0. public var pipOffset: Swift.Int - /// Identifies the PiP slot. A participant with this attribute set to "true" (as a string value) in [ParticipantTokenConfiguration] is placed in the PiP slot. + /// Specifies the participant for the PiP window. A participant with this attribute set to "true" (as a string value) in [ParticipantTokenConfiguration] is placed in the PiP slot. Default: "" (no PiP participant). public var pipParticipantAttribute: Swift.String? /// Determines the corner position of the PiP window. Default: BOTTOM_RIGHT. public var pipPosition: IVSRealTimeClientTypes.PipPosition? /// Specifies the width of the PiP window in pixels. When this is not set explicitly, pipWidth’s value will be based on the size of the composition and the aspect ratio of the participant’s video. public var pipWidth: Swift.Int? - /// Defines how video fits within the participant tile. Default: COVER. + /// Defines how video content fits within the participant tile: FILL (stretched), COVER (cropped), or CONTAIN (letterboxed). Default: COVER. public var videoFillMode: IVSRealTimeClientTypes.VideoFillMode? public init( @@ -1429,9 +1471,9 @@ extension IVSRealTimeClientTypes { public var published: Swift.Bool /// Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or "" (empty string), if recording is not enabled. public var recordingS3BucketName: Swift.String? - /// S3 prefix of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or "" (empty string), if recording is not enabled. + /// S3 prefix of the S3 bucket where the participant is being recorded, if individual participant recording is enabled, or "" (empty string), if recording is not enabled. public var recordingS3Prefix: Swift.String? - /// Participant’s recording state. + /// The participant’s recording state. public var recordingState: IVSRealTimeClientTypes.ParticipantRecordingState? /// The participant’s SDK version. public var sdkVersion: Swift.String? @@ -1490,6 +1532,63 @@ public struct GetParticipantOutput { } } +public struct GetPublicKeyInput { + /// ARN of the public key for which the information is to be retrieved. + /// This member is required. + public var arn: Swift.String? + + public init( + arn: Swift.String? = nil + ) + { + self.arn = arn + } +} + +extension IVSRealTimeClientTypes { + /// Object specifying a public key used to sign stage participant tokens. + public struct PublicKey { + /// Public key ARN. + public var arn: Swift.String? + /// The public key fingerprint, a short string used to identify or verify the full public key. + public var fingerprint: Swift.String? + /// Public key name. + public var name: Swift.String? + /// Public key material. + public var publicKeyMaterial: Swift.String? + /// Tags attached to the resource. Array of maps, each of the form string:string (key:value). See [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + fingerprint: Swift.String? = nil, + name: Swift.String? = nil, + publicKeyMaterial: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.fingerprint = fingerprint + self.name = name + self.publicKeyMaterial = publicKeyMaterial + self.tags = tags + } + } + +} + +public struct GetPublicKeyOutput { + /// The public key that is returned. + public var publicKey: IVSRealTimeClientTypes.PublicKey? + + public init( + publicKey: IVSRealTimeClientTypes.PublicKey? = nil + ) + { + self.publicKey = publicKey + } +} + public struct GetStageInput { /// ARN of the stage for which the information is to be retrieved. /// This member is required. @@ -1594,6 +1693,39 @@ public struct GetStorageConfigurationOutput { } } +public struct ImportPublicKeyInput { + /// Name of the public key to be imported. + public var name: Swift.String? + /// The content of the public key to be imported. + /// This member is required. + public var publicKeyMaterial: Swift.String? + /// Tags attached to the resource. Array of maps, each of the form string:string (key:value). See [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there. + public var tags: [Swift.String: Swift.String]? + + public init( + name: Swift.String? = nil, + publicKeyMaterial: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.name = name + self.publicKeyMaterial = publicKeyMaterial + self.tags = tags + } +} + +public struct ImportPublicKeyOutput { + /// The public key that was imported. + public var publicKey: IVSRealTimeClientTypes.PublicKey? + + public init( + publicKey: IVSRealTimeClientTypes.PublicKey? = nil + ) + { + self.publicKey = publicKey + } +} + public struct ListCompositionsInput { /// Filters the Composition list to match the specified EncoderConfiguration attached to at least one of its output. public var filterByEncoderConfigurationArn: Swift.String? @@ -2018,7 +2150,7 @@ extension IVSRealTimeClientTypes { public var participantId: Swift.String? /// Whether the participant ever published to the stage session. public var published: Swift.Bool - /// Participant’s recording state. + /// The participant’s recording state. public var recordingState: IVSRealTimeClientTypes.ParticipantRecordingState? /// Whether the participant is connected to or disconnected from the stage. public var state: IVSRealTimeClientTypes.ParticipantState? @@ -2062,6 +2194,63 @@ public struct ListParticipantsOutput { } } +public struct ListPublicKeysInput { + /// Maximum number of results to return. Default: 50. + public var maxResults: Swift.Int? + /// The first public key to retrieve. This is used for pagination; see the nextToken response field. + public var nextToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension IVSRealTimeClientTypes { + /// Summary information about a public key. + public struct PublicKeySummary { + /// Public key ARN. + public var arn: Swift.String? + /// Public key name. + public var name: Swift.String? + /// Tags attached to the resource. Array of maps, each of the form string:string (key:value). See [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + name: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.name = name + self.tags = tags + } + } + +} + +public struct ListPublicKeysOutput { + /// If there are more public keys than maxResults, use nextToken in the request to get the next set. + public var nextToken: Swift.String? + /// List of the matching public keys (summary information only). + /// This member is required. + public var publicKeys: [IVSRealTimeClientTypes.PublicKeySummary]? + + public init( + nextToken: Swift.String? = nil, + publicKeys: [IVSRealTimeClientTypes.PublicKeySummary]? = nil + ) + { + self.nextToken = nextToken + self.publicKeys = publicKeys + } +} + public struct ListStagesInput { /// Maximum number of results to return. Default: 50. public var maxResults: Swift.Int? @@ -2384,7 +2573,7 @@ public struct UpdateStageInput { /// ARN of the stage to be updated. /// This member is required. public var arn: Swift.String? - /// Auto-participant-recording configuration object to attach to the stage. Auto-participant-recording configuration cannot be updated while recording is active. + /// Configuration object for individual participant recording, to attach to the stage. Note that this cannot be updated while recording is active. public var autoParticipantRecordingConfiguration: IVSRealTimeClientTypes.AutoParticipantRecordingConfiguration? /// Name of the stage to be updated. public var name: Swift.String? @@ -2448,6 +2637,13 @@ extension DeleteEncoderConfigurationInput { } } +extension DeletePublicKeyInput { + + static func urlPathProvider(_ value: DeletePublicKeyInput) -> Swift.String? { + return "/DeletePublicKey" + } +} + extension DeleteStageInput { static func urlPathProvider(_ value: DeleteStageInput) -> Swift.String? { @@ -2490,6 +2686,13 @@ extension GetParticipantInput { } } +extension GetPublicKeyInput { + + static func urlPathProvider(_ value: GetPublicKeyInput) -> Swift.String? { + return "/GetPublicKey" + } +} + extension GetStageInput { static func urlPathProvider(_ value: GetStageInput) -> Swift.String? { @@ -2511,6 +2714,13 @@ extension GetStorageConfigurationInput { } } +extension ImportPublicKeyInput { + + static func urlPathProvider(_ value: ImportPublicKeyInput) -> Swift.String? { + return "/ImportPublicKey" + } +} + extension ListCompositionsInput { static func urlPathProvider(_ value: ListCompositionsInput) -> Swift.String? { @@ -2539,6 +2749,13 @@ extension ListParticipantsInput { } } +extension ListPublicKeysInput { + + static func urlPathProvider(_ value: ListPublicKeysInput) -> Swift.String? { + return "/ListPublicKeys" + } +} + extension ListStagesInput { static func urlPathProvider(_ value: ListStagesInput) -> Swift.String? { @@ -2678,6 +2895,14 @@ extension DeleteEncoderConfigurationInput { } } +extension DeletePublicKeyInput { + + static func write(value: DeletePublicKeyInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["arn"].write(value.arn) + } +} + extension DeleteStageInput { static func write(value: DeleteStageInput?, to writer: SmithyJSON.Writer) throws { @@ -2730,6 +2955,14 @@ extension GetParticipantInput { } } +extension GetPublicKeyInput { + + static func write(value: GetPublicKeyInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["arn"].write(value.arn) + } +} + extension GetStageInput { static func write(value: GetStageInput?, to writer: SmithyJSON.Writer) throws { @@ -2755,6 +2988,16 @@ extension GetStorageConfigurationInput { } } +extension ImportPublicKeyInput { + + static func write(value: ImportPublicKeyInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["publicKeyMaterial"].write(value.publicKeyMaterial) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + extension ListCompositionsInput { static func write(value: ListCompositionsInput?, to writer: SmithyJSON.Writer) throws { @@ -2802,6 +3045,15 @@ extension ListParticipantsInput { } } +extension ListPublicKeysInput { + + static func write(value: ListPublicKeysInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + extension ListStagesInput { static func write(value: ListStagesInput?, to writer: SmithyJSON.Writer) throws { @@ -2870,7 +3122,7 @@ extension UpdateStageInput { extension CreateEncoderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEncoderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEncoderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2882,7 +3134,7 @@ extension CreateEncoderConfigurationOutput { extension CreateParticipantTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateParticipantTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateParticipantTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2894,7 +3146,7 @@ extension CreateParticipantTokenOutput { extension CreateStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2907,7 +3159,7 @@ extension CreateStageOutput { extension CreateStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStorageConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2919,35 +3171,42 @@ extension CreateStorageConfigurationOutput { extension DeleteEncoderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEncoderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEncoderConfigurationOutput { return DeleteEncoderConfigurationOutput() } } +extension DeletePublicKeyOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePublicKeyOutput { + return DeletePublicKeyOutput() + } +} + extension DeleteStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStageOutput { return DeleteStageOutput() } } extension DeleteStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStorageConfigurationOutput { return DeleteStorageConfigurationOutput() } } extension DisconnectParticipantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectParticipantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectParticipantOutput { return DisconnectParticipantOutput() } } extension GetCompositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCompositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCompositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2959,7 +3218,7 @@ extension GetCompositionOutput { extension GetEncoderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEncoderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEncoderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2971,7 +3230,7 @@ extension GetEncoderConfigurationOutput { extension GetParticipantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParticipantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParticipantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2981,9 +3240,21 @@ extension GetParticipantOutput { } } +extension GetPublicKeyOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicKeyOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetPublicKeyOutput() + value.publicKey = try reader["publicKey"].readIfPresent(with: IVSRealTimeClientTypes.PublicKey.read(from:)) + return value + } +} + extension GetStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2995,7 +3266,7 @@ extension GetStageOutput { extension GetStageSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStageSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStageSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3007,7 +3278,7 @@ extension GetStageSessionOutput { extension GetStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStorageConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3017,9 +3288,21 @@ extension GetStorageConfigurationOutput { } } +extension ImportPublicKeyOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportPublicKeyOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ImportPublicKeyOutput() + value.publicKey = try reader["publicKey"].readIfPresent(with: IVSRealTimeClientTypes.PublicKey.read(from:)) + return value + } +} + extension ListCompositionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCompositionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCompositionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3032,7 +3315,7 @@ extension ListCompositionsOutput { extension ListEncoderConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEncoderConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEncoderConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3045,7 +3328,7 @@ extension ListEncoderConfigurationsOutput { extension ListParticipantEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListParticipantEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListParticipantEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3058,7 +3341,7 @@ extension ListParticipantEventsOutput { extension ListParticipantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListParticipantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListParticipantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3069,9 +3352,22 @@ extension ListParticipantsOutput { } } +extension ListPublicKeysOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPublicKeysOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListPublicKeysOutput() + value.nextToken = try reader["nextToken"].readIfPresent() + value.publicKeys = try reader["publicKeys"].readListIfPresent(memberReadingClosure: IVSRealTimeClientTypes.PublicKeySummary.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListStagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3084,7 +3380,7 @@ extension ListStagesOutput { extension ListStageSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStageSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStageSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3097,7 +3393,7 @@ extension ListStageSessionsOutput { extension ListStorageConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStorageConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStorageConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3110,7 +3406,7 @@ extension ListStorageConfigurationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3122,7 +3418,7 @@ extension ListTagsForResourceOutput { extension StartCompositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCompositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCompositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3134,28 +3430,28 @@ extension StartCompositionOutput { extension StopCompositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCompositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCompositionOutput { return StopCompositionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3167,7 +3463,7 @@ extension UpdateStageOutput { enum CreateEncoderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3187,7 +3483,7 @@ enum CreateEncoderConfigurationOutputError { enum CreateParticipantTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3205,7 +3501,7 @@ enum CreateParticipantTokenOutputError { enum CreateStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3222,7 +3518,7 @@ enum CreateStageOutputError { enum CreateStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3242,7 +3538,7 @@ enum CreateStorageConfigurationOutputError { enum DeleteEncoderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3259,9 +3555,27 @@ enum DeleteEncoderConfigurationOutputError { } } +enum DeletePublicKeyOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "PendingVerification": return try PendingVerification.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3279,7 +3593,7 @@ enum DeleteStageOutputError { enum DeleteStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3298,7 +3612,7 @@ enum DeleteStorageConfigurationOutputError { enum DisconnectParticipantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3315,7 +3629,7 @@ enum DisconnectParticipantOutputError { enum GetCompositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3334,7 +3648,7 @@ enum GetCompositionOutputError { enum GetEncoderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3353,7 +3667,23 @@ enum GetEncoderConfigurationOutputError { enum GetParticipantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetPublicKeyOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3369,7 +3699,7 @@ enum GetParticipantOutputError { enum GetStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3385,7 +3715,7 @@ enum GetStageOutputError { enum GetStageSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3401,7 +3731,7 @@ enum GetStageSessionOutputError { enum GetStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3418,9 +3748,27 @@ enum GetStorageConfigurationOutputError { } } +enum ImportPublicKeyOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "PendingVerification": return try PendingVerification.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListCompositionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3438,7 +3786,7 @@ enum ListCompositionsOutputError { enum ListEncoderConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3456,7 +3804,7 @@ enum ListEncoderConfigurationsOutputError { enum ListParticipantEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3471,7 +3819,22 @@ enum ListParticipantEventsOutputError { enum ListParticipantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListPublicKeysOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3486,7 +3849,7 @@ enum ListParticipantsOutputError { enum ListStagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3502,7 +3865,7 @@ enum ListStagesOutputError { enum ListStageSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3517,7 +3880,7 @@ enum ListStageSessionsOutputError { enum ListStorageConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3535,7 +3898,7 @@ enum ListStorageConfigurationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3551,7 +3914,7 @@ enum ListTagsForResourceOutputError { enum StartCompositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3571,7 +3934,7 @@ enum StartCompositionOutputError { enum StopCompositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3590,7 +3953,7 @@ enum StopCompositionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3606,7 +3969,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3622,7 +3985,7 @@ enum UntagResourceOutputError { enum UpdateStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3790,6 +4153,18 @@ extension IVSRealTimeClientTypes.Stage { value.activeSessionId = try reader["activeSessionId"].readIfPresent() value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.autoParticipantRecordingConfiguration = try reader["autoParticipantRecordingConfiguration"].readIfPresent(with: IVSRealTimeClientTypes.AutoParticipantRecordingConfiguration.read(from:)) + value.endpoints = try reader["endpoints"].readIfPresent(with: IVSRealTimeClientTypes.StageEndpoints.read(from:)) + return value + } +} + +extension IVSRealTimeClientTypes.StageEndpoints { + + static func read(from reader: SmithyJSON.Reader) throws -> IVSRealTimeClientTypes.StageEndpoints { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IVSRealTimeClientTypes.StageEndpoints() + value.events = try reader["events"].readIfPresent() + value.whip = try reader["whip"].readIfPresent() return value } } @@ -4058,6 +4433,20 @@ extension IVSRealTimeClientTypes.Participant { } } +extension IVSRealTimeClientTypes.PublicKey { + + static func read(from reader: SmithyJSON.Reader) throws -> IVSRealTimeClientTypes.PublicKey { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IVSRealTimeClientTypes.PublicKey() + value.arn = try reader["arn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.publicKeyMaterial = try reader["publicKeyMaterial"].readIfPresent() + value.fingerprint = try reader["fingerprint"].readIfPresent() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + extension IVSRealTimeClientTypes.StageSession { static func read(from reader: SmithyJSON.Reader) throws -> IVSRealTimeClientTypes.StageSession { @@ -4140,6 +4529,18 @@ extension IVSRealTimeClientTypes.ParticipantSummary { } } +extension IVSRealTimeClientTypes.PublicKeySummary { + + static func read(from reader: SmithyJSON.Reader) throws -> IVSRealTimeClientTypes.PublicKeySummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IVSRealTimeClientTypes.PublicKeySummary() + value.arn = try reader["arn"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + extension IVSRealTimeClientTypes.StageSummary { static func read(from reader: SmithyJSON.Reader) throws -> IVSRealTimeClientTypes.StageSummary { diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Paginators.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Paginators.swift index 9c64f2ec792..3301b55be5e 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Paginators.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/Paginators.swift @@ -105,6 +105,36 @@ extension ListParticipantsInput: ClientRuntime.PaginateToken { stageArn: self.stageArn )} } +extension IVSRealTimeClient { + /// Paginate over `[ListPublicKeysOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListPublicKeysInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListPublicKeysOutput` + public func listPublicKeysPaginated(input: ListPublicKeysInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listPublicKeys(input:)) + } +} + +extension ListPublicKeysInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListPublicKeysInput { + return ListPublicKeysInput( + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListPublicKeysInput, OperationStackOutput == ListPublicKeysOutput { + /// This paginator transforms the `AsyncSequence` returned by `listPublicKeysPaginated` + /// to access the nested member `[IVSRealTimeClientTypes.PublicKeySummary]` + /// - Returns: `[IVSRealTimeClientTypes.PublicKeySummary]` + public func publicKeys() async throws -> [IVSRealTimeClientTypes.PublicKeySummary] { + return try await self.asyncCompactMap { item in item.publicKeys } + } +} extension IVSRealTimeClient { /// Paginate over `[ListStagesOutput]` results. /// diff --git a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/Models.swift b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/Models.swift index 0ec703cca7d..4196ef102f2 100644 --- a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/Models.swift +++ b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -232,7 +232,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -264,7 +264,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -454,7 +454,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -484,7 +484,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -953,7 +953,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1093,7 +1093,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1902,7 +1902,7 @@ extension UpdateUserInput { extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1915,7 +1915,7 @@ extension CreateGroupOutput { extension CreateGroupMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1928,7 +1928,7 @@ extension CreateGroupMembershipOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1941,28 +1941,28 @@ extension CreateUserOutput { extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteGroupMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupMembershipOutput { return DeleteGroupMembershipOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DescribeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1978,7 +1978,7 @@ extension DescribeGroupOutput { extension DescribeGroupMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGroupMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGroupMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1993,7 +1993,7 @@ extension DescribeGroupMembershipOutput { extension DescribeUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2020,7 +2020,7 @@ extension DescribeUserOutput { extension GetGroupIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2033,7 +2033,7 @@ extension GetGroupIdOutput { extension GetGroupMembershipIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupMembershipIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupMembershipIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2046,7 +2046,7 @@ extension GetGroupMembershipIdOutput { extension GetUserIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2059,7 +2059,7 @@ extension GetUserIdOutput { extension IsMemberInGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IsMemberInGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IsMemberInGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2071,7 +2071,7 @@ extension IsMemberInGroupsOutput { extension ListGroupMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2084,7 +2084,7 @@ extension ListGroupMembershipsOutput { extension ListGroupMembershipsForMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupMembershipsForMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupMembershipsForMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2097,7 +2097,7 @@ extension ListGroupMembershipsForMemberOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2110,7 +2110,7 @@ extension ListGroupsOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2123,14 +2123,14 @@ extension ListUsersOutput { extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { return UpdateGroupOutput() } } extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { return UpdateUserOutput() } } @@ -2146,7 +2146,7 @@ func httpServiceError(baseError: AWSClientRuntime.AWSJSONError) throws -> Swift. enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2164,7 +2164,7 @@ enum CreateGroupOutputError { enum CreateGroupMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2182,7 +2182,7 @@ enum CreateGroupMembershipOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2200,7 +2200,7 @@ enum CreateUserOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2217,7 +2217,7 @@ enum DeleteGroupOutputError { enum DeleteGroupMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2234,7 +2234,7 @@ enum DeleteGroupMembershipOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2251,7 +2251,7 @@ enum DeleteUserOutputError { enum DescribeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2267,7 +2267,7 @@ enum DescribeGroupOutputError { enum DescribeGroupMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2283,7 +2283,7 @@ enum DescribeGroupMembershipOutputError { enum DescribeUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2299,7 +2299,7 @@ enum DescribeUserOutputError { enum GetGroupIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2315,7 +2315,7 @@ enum GetGroupIdOutputError { enum GetGroupMembershipIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2331,7 +2331,7 @@ enum GetGroupMembershipIdOutputError { enum GetUserIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2347,7 +2347,7 @@ enum GetUserIdOutputError { enum IsMemberInGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2363,7 +2363,7 @@ enum IsMemberInGroupsOutputError { enum ListGroupMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2379,7 +2379,7 @@ enum ListGroupMembershipsOutputError { enum ListGroupMembershipsForMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2395,7 +2395,7 @@ enum ListGroupMembershipsForMemberOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2411,7 +2411,7 @@ enum ListGroupsOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2427,7 +2427,7 @@ enum ListUsersOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2445,7 +2445,7 @@ enum UpdateGroupOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/Models.swift b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/Models.swift index 8874cc65836..bf111f1e742 100644 --- a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/Models.swift +++ b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -330,7 +330,7 @@ public struct CallRateLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -354,7 +354,7 @@ public struct ClientException: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -378,7 +378,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -402,7 +402,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -426,7 +426,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -450,7 +450,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -474,7 +474,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -498,7 +498,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1384,7 +1384,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1408,7 +1408,7 @@ public struct InvalidVersionNumberException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1432,7 +1432,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1532,7 +1532,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3145,7 +3145,7 @@ public struct ResourceDependencyException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3556,7 +3556,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5228,7 +5228,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6852,7 +6852,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7368,7 +7368,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9576,7 +9576,7 @@ extension UpdateLifecyclePolicyInput { extension CancelImageCreationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelImageCreationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelImageCreationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9590,7 +9590,7 @@ extension CancelImageCreationOutput { extension CancelLifecycleExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelLifecycleExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelLifecycleExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9602,7 +9602,7 @@ extension CancelLifecycleExecutionOutput { extension CreateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9616,7 +9616,7 @@ extension CreateComponentOutput { extension CreateContainerRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContainerRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContainerRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9630,7 +9630,7 @@ extension CreateContainerRecipeOutput { extension CreateDistributionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDistributionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDistributionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9644,7 +9644,7 @@ extension CreateDistributionConfigurationOutput { extension CreateImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9658,7 +9658,7 @@ extension CreateImageOutput { extension CreateImagePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImagePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImagePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9672,7 +9672,7 @@ extension CreateImagePipelineOutput { extension CreateImageRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9686,7 +9686,7 @@ extension CreateImageRecipeOutput { extension CreateInfrastructureConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInfrastructureConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInfrastructureConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9700,7 +9700,7 @@ extension CreateInfrastructureConfigurationOutput { extension CreateLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9713,7 +9713,7 @@ extension CreateLifecyclePolicyOutput { extension CreateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9726,7 +9726,7 @@ extension CreateWorkflowOutput { extension DeleteComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9739,7 +9739,7 @@ extension DeleteComponentOutput { extension DeleteContainerRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContainerRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContainerRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9752,7 +9752,7 @@ extension DeleteContainerRecipeOutput { extension DeleteDistributionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDistributionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDistributionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9765,7 +9765,7 @@ extension DeleteDistributionConfigurationOutput { extension DeleteImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9778,7 +9778,7 @@ extension DeleteImageOutput { extension DeleteImagePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImagePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImagePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9791,7 +9791,7 @@ extension DeleteImagePipelineOutput { extension DeleteImageRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9804,7 +9804,7 @@ extension DeleteImageRecipeOutput { extension DeleteInfrastructureConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInfrastructureConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInfrastructureConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9817,7 +9817,7 @@ extension DeleteInfrastructureConfigurationOutput { extension DeleteLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9829,7 +9829,7 @@ extension DeleteLifecyclePolicyOutput { extension DeleteWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9841,7 +9841,7 @@ extension DeleteWorkflowOutput { extension GetComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9854,7 +9854,7 @@ extension GetComponentOutput { extension GetComponentPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9867,7 +9867,7 @@ extension GetComponentPolicyOutput { extension GetContainerRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9880,7 +9880,7 @@ extension GetContainerRecipeOutput { extension GetContainerRecipePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerRecipePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerRecipePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9893,7 +9893,7 @@ extension GetContainerRecipePolicyOutput { extension GetDistributionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9906,7 +9906,7 @@ extension GetDistributionConfigurationOutput { extension GetImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9919,7 +9919,7 @@ extension GetImageOutput { extension GetImagePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImagePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImagePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9932,7 +9932,7 @@ extension GetImagePipelineOutput { extension GetImagePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImagePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImagePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9945,7 +9945,7 @@ extension GetImagePolicyOutput { extension GetImageRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9958,7 +9958,7 @@ extension GetImageRecipeOutput { extension GetImageRecipePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageRecipePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageRecipePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9971,7 +9971,7 @@ extension GetImageRecipePolicyOutput { extension GetInfrastructureConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInfrastructureConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInfrastructureConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9984,7 +9984,7 @@ extension GetInfrastructureConfigurationOutput { extension GetLifecycleExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecycleExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecycleExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9996,7 +9996,7 @@ extension GetLifecycleExecutionOutput { extension GetLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10008,7 +10008,7 @@ extension GetLifecyclePolicyOutput { extension GetWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10020,7 +10020,7 @@ extension GetWorkflowOutput { extension GetWorkflowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10045,7 +10045,7 @@ extension GetWorkflowExecutionOutput { extension GetWorkflowStepExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowStepExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowStepExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10073,7 +10073,7 @@ extension GetWorkflowStepExecutionOutput { extension ImportComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10087,7 +10087,7 @@ extension ImportComponentOutput { extension ImportVmImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportVmImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportVmImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10101,7 +10101,7 @@ extension ImportVmImageOutput { extension ListComponentBuildVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentBuildVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentBuildVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10115,7 +10115,7 @@ extension ListComponentBuildVersionsOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10129,7 +10129,7 @@ extension ListComponentsOutput { extension ListContainerRecipesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContainerRecipesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContainerRecipesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10143,7 +10143,7 @@ extension ListContainerRecipesOutput { extension ListDistributionConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributionConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10157,7 +10157,7 @@ extension ListDistributionConfigurationsOutput { extension ListImageBuildVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImageBuildVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImageBuildVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10171,7 +10171,7 @@ extension ListImageBuildVersionsOutput { extension ListImagePackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagePackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagePackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10185,7 +10185,7 @@ extension ListImagePackagesOutput { extension ListImagePipelineImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagePipelineImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagePipelineImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10199,7 +10199,7 @@ extension ListImagePipelineImagesOutput { extension ListImagePipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagePipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagePipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10213,7 +10213,7 @@ extension ListImagePipelinesOutput { extension ListImageRecipesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImageRecipesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImageRecipesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10227,7 +10227,7 @@ extension ListImageRecipesOutput { extension ListImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10241,7 +10241,7 @@ extension ListImagesOutput { extension ListImageScanFindingAggregationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImageScanFindingAggregationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImageScanFindingAggregationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10256,7 +10256,7 @@ extension ListImageScanFindingAggregationsOutput { extension ListImageScanFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImageScanFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImageScanFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10270,7 +10270,7 @@ extension ListImageScanFindingsOutput { extension ListInfrastructureConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInfrastructureConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInfrastructureConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10284,7 +10284,7 @@ extension ListInfrastructureConfigurationsOutput { extension ListLifecycleExecutionResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLifecycleExecutionResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLifecycleExecutionResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10299,7 +10299,7 @@ extension ListLifecycleExecutionResourcesOutput { extension ListLifecycleExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLifecycleExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLifecycleExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10312,7 +10312,7 @@ extension ListLifecycleExecutionsOutput { extension ListLifecyclePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLifecyclePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLifecyclePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10325,7 +10325,7 @@ extension ListLifecyclePoliciesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10337,7 +10337,7 @@ extension ListTagsForResourceOutput { extension ListWaitingWorkflowStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWaitingWorkflowStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWaitingWorkflowStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10350,7 +10350,7 @@ extension ListWaitingWorkflowStepsOutput { extension ListWorkflowBuildVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowBuildVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowBuildVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10363,7 +10363,7 @@ extension ListWorkflowBuildVersionsOutput { extension ListWorkflowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10379,7 +10379,7 @@ extension ListWorkflowExecutionsOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10392,7 +10392,7 @@ extension ListWorkflowsOutput { extension ListWorkflowStepExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowStepExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowStepExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10410,7 +10410,7 @@ extension ListWorkflowStepExecutionsOutput { extension PutComponentPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutComponentPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutComponentPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10423,7 +10423,7 @@ extension PutComponentPolicyOutput { extension PutContainerRecipePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutContainerRecipePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutContainerRecipePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10436,7 +10436,7 @@ extension PutContainerRecipePolicyOutput { extension PutImagePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutImagePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutImagePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10449,7 +10449,7 @@ extension PutImagePolicyOutput { extension PutImageRecipePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutImageRecipePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutImageRecipePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10462,7 +10462,7 @@ extension PutImageRecipePolicyOutput { extension SendWorkflowStepActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendWorkflowStepActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendWorkflowStepActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10476,7 +10476,7 @@ extension SendWorkflowStepActionOutput { extension StartImagePipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImagePipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImagePipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10490,7 +10490,7 @@ extension StartImagePipelineExecutionOutput { extension StartResourceStateUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartResourceStateUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartResourceStateUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10503,21 +10503,21 @@ extension StartResourceStateUpdateOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDistributionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDistributionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDistributionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10531,7 +10531,7 @@ extension UpdateDistributionConfigurationOutput { extension UpdateImagePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImagePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImagePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10545,7 +10545,7 @@ extension UpdateImagePipelineOutput { extension UpdateInfrastructureConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInfrastructureConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInfrastructureConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10559,7 +10559,7 @@ extension UpdateInfrastructureConfigurationOutput { extension UpdateLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10571,7 +10571,7 @@ extension UpdateLifecyclePolicyOutput { enum CancelImageCreationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10592,7 +10592,7 @@ enum CancelImageCreationOutputError { enum CancelLifecycleExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10613,7 +10613,7 @@ enum CancelLifecycleExecutionOutputError { enum CreateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10637,7 +10637,7 @@ enum CreateComponentOutputError { enum CreateContainerRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10661,7 +10661,7 @@ enum CreateContainerRecipeOutputError { enum CreateDistributionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10685,7 +10685,7 @@ enum CreateDistributionConfigurationOutputError { enum CreateImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10707,7 +10707,7 @@ enum CreateImageOutputError { enum CreateImagePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10730,7 +10730,7 @@ enum CreateImagePipelineOutputError { enum CreateImageRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10754,7 +10754,7 @@ enum CreateImageRecipeOutputError { enum CreateInfrastructureConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10777,7 +10777,7 @@ enum CreateInfrastructureConfigurationOutputError { enum CreateLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10800,7 +10800,7 @@ enum CreateLifecyclePolicyOutputError { enum CreateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10824,7 +10824,7 @@ enum CreateWorkflowOutputError { enum DeleteComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10844,7 +10844,7 @@ enum DeleteComponentOutputError { enum DeleteContainerRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10864,7 +10864,7 @@ enum DeleteContainerRecipeOutputError { enum DeleteDistributionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10884,7 +10884,7 @@ enum DeleteDistributionConfigurationOutputError { enum DeleteImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10904,7 +10904,7 @@ enum DeleteImageOutputError { enum DeleteImagePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10924,7 +10924,7 @@ enum DeleteImagePipelineOutputError { enum DeleteImageRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10944,7 +10944,7 @@ enum DeleteImageRecipeOutputError { enum DeleteInfrastructureConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10964,7 +10964,7 @@ enum DeleteInfrastructureConfigurationOutputError { enum DeleteLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10984,7 +10984,7 @@ enum DeleteLifecyclePolicyOutputError { enum DeleteWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11004,7 +11004,7 @@ enum DeleteWorkflowOutputError { enum GetComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11023,7 +11023,7 @@ enum GetComponentOutputError { enum GetComponentPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11042,7 +11042,7 @@ enum GetComponentPolicyOutputError { enum GetContainerRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11061,7 +11061,7 @@ enum GetContainerRecipeOutputError { enum GetContainerRecipePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11080,7 +11080,7 @@ enum GetContainerRecipePolicyOutputError { enum GetDistributionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11099,7 +11099,7 @@ enum GetDistributionConfigurationOutputError { enum GetImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11118,7 +11118,7 @@ enum GetImageOutputError { enum GetImagePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11137,7 +11137,7 @@ enum GetImagePipelineOutputError { enum GetImagePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11156,7 +11156,7 @@ enum GetImagePolicyOutputError { enum GetImageRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11175,7 +11175,7 @@ enum GetImageRecipeOutputError { enum GetImageRecipePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11194,7 +11194,7 @@ enum GetImageRecipePolicyOutputError { enum GetInfrastructureConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11213,7 +11213,7 @@ enum GetInfrastructureConfigurationOutputError { enum GetLifecycleExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11232,7 +11232,7 @@ enum GetLifecycleExecutionOutputError { enum GetLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11251,7 +11251,7 @@ enum GetLifecyclePolicyOutputError { enum GetWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11270,7 +11270,7 @@ enum GetWorkflowOutputError { enum GetWorkflowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11289,7 +11289,7 @@ enum GetWorkflowExecutionOutputError { enum GetWorkflowStepExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11308,7 +11308,7 @@ enum GetWorkflowStepExecutionOutputError { enum ImportComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11331,7 +11331,7 @@ enum ImportComponentOutputError { enum ImportVmImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11347,7 +11347,7 @@ enum ImportVmImageOutputError { enum ListComponentBuildVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11367,7 +11367,7 @@ enum ListComponentBuildVersionsOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11387,7 +11387,7 @@ enum ListComponentsOutputError { enum ListContainerRecipesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11407,7 +11407,7 @@ enum ListContainerRecipesOutputError { enum ListDistributionConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11427,7 +11427,7 @@ enum ListDistributionConfigurationsOutputError { enum ListImageBuildVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11447,7 +11447,7 @@ enum ListImageBuildVersionsOutputError { enum ListImagePackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11468,7 +11468,7 @@ enum ListImagePackagesOutputError { enum ListImagePipelineImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11489,7 +11489,7 @@ enum ListImagePipelineImagesOutputError { enum ListImagePipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11509,7 +11509,7 @@ enum ListImagePipelinesOutputError { enum ListImageRecipesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11529,7 +11529,7 @@ enum ListImageRecipesOutputError { enum ListImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11549,7 +11549,7 @@ enum ListImagesOutputError { enum ListImageScanFindingAggregationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11569,7 +11569,7 @@ enum ListImageScanFindingAggregationsOutputError { enum ListImageScanFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11589,7 +11589,7 @@ enum ListImageScanFindingsOutputError { enum ListInfrastructureConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11609,7 +11609,7 @@ enum ListInfrastructureConfigurationsOutputError { enum ListLifecycleExecutionResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11629,7 +11629,7 @@ enum ListLifecycleExecutionResourcesOutputError { enum ListLifecycleExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11649,7 +11649,7 @@ enum ListLifecycleExecutionsOutputError { enum ListLifecyclePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11669,7 +11669,7 @@ enum ListLifecyclePoliciesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11685,7 +11685,7 @@ enum ListTagsForResourceOutputError { enum ListWaitingWorkflowStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11705,7 +11705,7 @@ enum ListWaitingWorkflowStepsOutputError { enum ListWorkflowBuildVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11725,7 +11725,7 @@ enum ListWorkflowBuildVersionsOutputError { enum ListWorkflowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11745,7 +11745,7 @@ enum ListWorkflowExecutionsOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11765,7 +11765,7 @@ enum ListWorkflowsOutputError { enum ListWorkflowStepExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11785,7 +11785,7 @@ enum ListWorkflowStepExecutionsOutputError { enum PutComponentPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11806,7 +11806,7 @@ enum PutComponentPolicyOutputError { enum PutContainerRecipePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11827,7 +11827,7 @@ enum PutContainerRecipePolicyOutputError { enum PutImagePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11848,7 +11848,7 @@ enum PutImagePolicyOutputError { enum PutImageRecipePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11869,7 +11869,7 @@ enum PutImageRecipePolicyOutputError { enum SendWorkflowStepActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11892,7 +11892,7 @@ enum SendWorkflowStepActionOutputError { enum StartImagePipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11914,7 +11914,7 @@ enum StartImagePipelineExecutionOutputError { enum StartResourceStateUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11936,7 +11936,7 @@ enum StartResourceStateUpdateOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11952,7 +11952,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11968,7 +11968,7 @@ enum UntagResourceOutputError { enum UpdateDistributionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11990,7 +11990,7 @@ enum UpdateDistributionConfigurationOutputError { enum UpdateImagePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12011,7 +12011,7 @@ enum UpdateImagePipelineOutputError { enum UpdateInfrastructureConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12032,7 +12032,7 @@ enum UpdateInfrastructureConfigurationOutputError { enum UpdateLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSInspector/Sources/AWSInspector/Models.swift b/Sources/Services/AWSInspector/Sources/AWSInspector/Models.swift index bbf8eaef5cd..70ac8f2a813 100644 --- a/Sources/Services/AWSInspector/Sources/AWSInspector/Models.swift +++ b/Sources/Services/AWSInspector/Sources/AWSInspector/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -139,7 +139,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -172,7 +172,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -391,7 +391,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -474,7 +474,7 @@ public struct NoSuchEntityException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -507,7 +507,7 @@ public struct ServiceTemporarilyUnavailableException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -821,7 +821,7 @@ public struct AgentsAlreadyRunningAssessmentException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1332,7 +1332,7 @@ public struct AssessmentRunInProgressException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1715,7 +1715,7 @@ public struct InvalidCrossAccountRoleException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1789,7 +1789,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1893,7 +1893,7 @@ public struct PreviewGenerationInProgressException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2678,7 +2678,7 @@ public struct UnsupportedFeatureException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4137,7 +4137,7 @@ extension UpdateAssessmentTargetInput { extension AddAttributesToFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddAttributesToFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddAttributesToFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4149,7 +4149,7 @@ extension AddAttributesToFindingsOutput { extension CreateAssessmentTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssessmentTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssessmentTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4161,7 +4161,7 @@ extension CreateAssessmentTargetOutput { extension CreateAssessmentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssessmentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssessmentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4173,7 +4173,7 @@ extension CreateAssessmentTemplateOutput { extension CreateExclusionsPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExclusionsPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExclusionsPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4185,7 +4185,7 @@ extension CreateExclusionsPreviewOutput { extension CreateResourceGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4197,28 +4197,28 @@ extension CreateResourceGroupOutput { extension DeleteAssessmentRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentRunOutput { return DeleteAssessmentRunOutput() } } extension DeleteAssessmentTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentTargetOutput { return DeleteAssessmentTargetOutput() } } extension DeleteAssessmentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssessmentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssessmentTemplateOutput { return DeleteAssessmentTemplateOutput() } } extension DescribeAssessmentRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssessmentRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssessmentRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4231,7 +4231,7 @@ extension DescribeAssessmentRunsOutput { extension DescribeAssessmentTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssessmentTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssessmentTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4244,7 +4244,7 @@ extension DescribeAssessmentTargetsOutput { extension DescribeAssessmentTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssessmentTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssessmentTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4257,7 +4257,7 @@ extension DescribeAssessmentTemplatesOutput { extension DescribeCrossAccountAccessRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCrossAccountAccessRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCrossAccountAccessRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4271,7 +4271,7 @@ extension DescribeCrossAccountAccessRoleOutput { extension DescribeExclusionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExclusionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExclusionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4284,7 +4284,7 @@ extension DescribeExclusionsOutput { extension DescribeFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4297,7 +4297,7 @@ extension DescribeFindingsOutput { extension DescribeResourceGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourceGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourceGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4310,7 +4310,7 @@ extension DescribeResourceGroupsOutput { extension DescribeRulesPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRulesPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRulesPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4323,7 +4323,7 @@ extension DescribeRulesPackagesOutput { extension GetAssessmentReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssessmentReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssessmentReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4336,7 +4336,7 @@ extension GetAssessmentReportOutput { extension GetExclusionsPreviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExclusionsPreviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExclusionsPreviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4350,7 +4350,7 @@ extension GetExclusionsPreviewOutput { extension GetTelemetryMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTelemetryMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTelemetryMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4362,7 +4362,7 @@ extension GetTelemetryMetadataOutput { extension ListAssessmentRunAgentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentRunAgentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentRunAgentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4375,7 +4375,7 @@ extension ListAssessmentRunAgentsOutput { extension ListAssessmentRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4388,7 +4388,7 @@ extension ListAssessmentRunsOutput { extension ListAssessmentTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4401,7 +4401,7 @@ extension ListAssessmentTargetsOutput { extension ListAssessmentTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssessmentTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssessmentTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4414,7 +4414,7 @@ extension ListAssessmentTemplatesOutput { extension ListEventSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4427,7 +4427,7 @@ extension ListEventSubscriptionsOutput { extension ListExclusionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExclusionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExclusionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4440,7 +4440,7 @@ extension ListExclusionsOutput { extension ListFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4453,7 +4453,7 @@ extension ListFindingsOutput { extension ListRulesPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4466,7 +4466,7 @@ extension ListRulesPackagesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4478,7 +4478,7 @@ extension ListTagsForResourceOutput { extension PreviewAgentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PreviewAgentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PreviewAgentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4491,14 +4491,14 @@ extension PreviewAgentsOutput { extension RegisterCrossAccountAccessRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterCrossAccountAccessRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterCrossAccountAccessRoleOutput { return RegisterCrossAccountAccessRoleOutput() } } extension RemoveAttributesFromFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAttributesFromFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAttributesFromFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4510,14 +4510,14 @@ extension RemoveAttributesFromFindingsOutput { extension SetTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTagsForResourceOutput { return SetTagsForResourceOutput() } } extension StartAssessmentRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAssessmentRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAssessmentRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4529,35 +4529,35 @@ extension StartAssessmentRunOutput { extension StopAssessmentRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAssessmentRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAssessmentRunOutput { return StopAssessmentRunOutput() } } extension SubscribeToEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubscribeToEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubscribeToEventOutput { return SubscribeToEventOutput() } } extension UnsubscribeFromEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnsubscribeFromEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnsubscribeFromEventOutput { return UnsubscribeFromEventOutput() } } extension UpdateAssessmentTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssessmentTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssessmentTargetOutput { return UpdateAssessmentTargetOutput() } } enum AddAttributesToFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4575,7 +4575,7 @@ enum AddAttributesToFindingsOutputError { enum CreateAssessmentTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4595,7 +4595,7 @@ enum CreateAssessmentTargetOutputError { enum CreateAssessmentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4614,7 +4614,7 @@ enum CreateAssessmentTemplateOutputError { enum CreateExclusionsPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4633,7 +4633,7 @@ enum CreateExclusionsPreviewOutputError { enum CreateResourceGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4651,7 +4651,7 @@ enum CreateResourceGroupOutputError { enum DeleteAssessmentRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4670,7 +4670,7 @@ enum DeleteAssessmentRunOutputError { enum DeleteAssessmentTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4689,7 +4689,7 @@ enum DeleteAssessmentTargetOutputError { enum DeleteAssessmentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4708,7 +4708,7 @@ enum DeleteAssessmentTemplateOutputError { enum DescribeAssessmentRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4723,7 +4723,7 @@ enum DescribeAssessmentRunsOutputError { enum DescribeAssessmentTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4738,7 +4738,7 @@ enum DescribeAssessmentTargetsOutputError { enum DescribeAssessmentTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4753,7 +4753,7 @@ enum DescribeAssessmentTemplatesOutputError { enum DescribeCrossAccountAccessRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4767,7 +4767,7 @@ enum DescribeCrossAccountAccessRoleOutputError { enum DescribeExclusionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4782,7 +4782,7 @@ enum DescribeExclusionsOutputError { enum DescribeFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4797,7 +4797,7 @@ enum DescribeFindingsOutputError { enum DescribeResourceGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4812,7 +4812,7 @@ enum DescribeResourceGroupsOutputError { enum DescribeRulesPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4827,7 +4827,7 @@ enum DescribeRulesPackagesOutputError { enum GetAssessmentReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4847,7 +4847,7 @@ enum GetAssessmentReportOutputError { enum GetExclusionsPreviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4864,7 +4864,7 @@ enum GetExclusionsPreviewOutputError { enum GetTelemetryMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4881,7 +4881,7 @@ enum GetTelemetryMetadataOutputError { enum ListAssessmentRunAgentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4898,7 +4898,7 @@ enum ListAssessmentRunAgentsOutputError { enum ListAssessmentRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4915,7 +4915,7 @@ enum ListAssessmentRunsOutputError { enum ListAssessmentTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4931,7 +4931,7 @@ enum ListAssessmentTargetsOutputError { enum ListAssessmentTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4948,7 +4948,7 @@ enum ListAssessmentTemplatesOutputError { enum ListEventSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4965,7 +4965,7 @@ enum ListEventSubscriptionsOutputError { enum ListExclusionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4982,7 +4982,7 @@ enum ListExclusionsOutputError { enum ListFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4999,7 +4999,7 @@ enum ListFindingsOutputError { enum ListRulesPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5015,7 +5015,7 @@ enum ListRulesPackagesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5032,7 +5032,7 @@ enum ListTagsForResourceOutputError { enum PreviewAgentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5050,7 +5050,7 @@ enum PreviewAgentsOutputError { enum RegisterCrossAccountAccessRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5068,7 +5068,7 @@ enum RegisterCrossAccountAccessRoleOutputError { enum RemoveAttributesFromFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5086,7 +5086,7 @@ enum RemoveAttributesFromFindingsOutputError { enum SetTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5104,7 +5104,7 @@ enum SetTagsForResourceOutputError { enum StartAssessmentRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5125,7 +5125,7 @@ enum StartAssessmentRunOutputError { enum StopAssessmentRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5143,7 +5143,7 @@ enum StopAssessmentRunOutputError { enum SubscribeToEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5162,7 +5162,7 @@ enum SubscribeToEventOutputError { enum UnsubscribeFromEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5180,7 +5180,7 @@ enum UnsubscribeFromEventOutputError { enum UpdateAssessmentTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Models.swift b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Models.swift index 3eb7ae1d29e..435116a26ec 100644 --- a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Models.swift +++ b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1788,7 +1788,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1817,7 +1817,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1903,7 +1903,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2293,7 +2293,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2318,7 +2318,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4716,7 +4716,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5544,7 +5544,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10938,7 +10938,7 @@ extension UpdateOrgEc2DeepInspectionConfigurationInput { extension AssociateMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10950,7 +10950,7 @@ extension AssociateMemberOutput { extension BatchGetAccountStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAccountStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAccountStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10963,7 +10963,7 @@ extension BatchGetAccountStatusOutput { extension BatchGetCodeSnippetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCodeSnippetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCodeSnippetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10976,7 +10976,7 @@ extension BatchGetCodeSnippetOutput { extension BatchGetFindingDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFindingDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFindingDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10989,7 +10989,7 @@ extension BatchGetFindingDetailsOutput { extension BatchGetFreeTrialInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetFreeTrialInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetFreeTrialInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11002,7 +11002,7 @@ extension BatchGetFreeTrialInfoOutput { extension BatchGetMemberEc2DeepInspectionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetMemberEc2DeepInspectionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetMemberEc2DeepInspectionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11015,7 +11015,7 @@ extension BatchGetMemberEc2DeepInspectionStatusOutput { extension BatchUpdateMemberEc2DeepInspectionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateMemberEc2DeepInspectionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateMemberEc2DeepInspectionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11028,7 +11028,7 @@ extension BatchUpdateMemberEc2DeepInspectionStatusOutput { extension CancelFindingsReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelFindingsReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelFindingsReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11040,7 +11040,7 @@ extension CancelFindingsReportOutput { extension CancelSbomExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSbomExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSbomExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11052,7 +11052,7 @@ extension CancelSbomExportOutput { extension CreateCisScanConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCisScanConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCisScanConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11064,7 +11064,7 @@ extension CreateCisScanConfigurationOutput { extension CreateFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11076,7 +11076,7 @@ extension CreateFilterOutput { extension CreateFindingsReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFindingsReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFindingsReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11088,7 +11088,7 @@ extension CreateFindingsReportOutput { extension CreateSbomExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSbomExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSbomExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11100,7 +11100,7 @@ extension CreateSbomExportOutput { extension DeleteCisScanConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCisScanConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCisScanConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11112,7 +11112,7 @@ extension DeleteCisScanConfigurationOutput { extension DeleteFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11124,7 +11124,7 @@ extension DeleteFilterOutput { extension DescribeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11137,7 +11137,7 @@ extension DescribeOrganizationConfigurationOutput { extension DisableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11150,7 +11150,7 @@ extension DisableOutput { extension DisableDelegatedAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableDelegatedAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableDelegatedAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11162,7 +11162,7 @@ extension DisableDelegatedAdminAccountOutput { extension DisassociateMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11174,7 +11174,7 @@ extension DisassociateMemberOutput { extension EnableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11187,7 +11187,7 @@ extension EnableOutput { extension EnableDelegatedAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableDelegatedAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableDelegatedAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11199,7 +11199,7 @@ extension EnableDelegatedAdminAccountOutput { extension GetCisScanReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCisScanReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCisScanReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11212,7 +11212,7 @@ extension GetCisScanReportOutput { extension GetCisScanResultDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCisScanResultDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCisScanResultDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11225,7 +11225,7 @@ extension GetCisScanResultDetailsOutput { extension GetConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11238,7 +11238,7 @@ extension GetConfigurationOutput { extension GetDelegatedAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDelegatedAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDelegatedAdminAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11250,7 +11250,7 @@ extension GetDelegatedAdminAccountOutput { extension GetEc2DeepInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEc2DeepInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEc2DeepInspectionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11265,7 +11265,7 @@ extension GetEc2DeepInspectionConfigurationOutput { extension GetEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEncryptionKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11277,7 +11277,7 @@ extension GetEncryptionKeyOutput { extension GetFindingsReportStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsReportStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsReportStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11294,7 +11294,7 @@ extension GetFindingsReportStatusOutput { extension GetMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11306,7 +11306,7 @@ extension GetMemberOutput { extension GetSbomExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSbomExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSbomExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11324,7 +11324,7 @@ extension GetSbomExportOutput { extension ListAccountPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11337,7 +11337,7 @@ extension ListAccountPermissionsOutput { extension ListCisScanConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCisScanConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCisScanConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11350,7 +11350,7 @@ extension ListCisScanConfigurationsOutput { extension ListCisScanResultsAggregatedByChecksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCisScanResultsAggregatedByChecksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCisScanResultsAggregatedByChecksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11363,7 +11363,7 @@ extension ListCisScanResultsAggregatedByChecksOutput { extension ListCisScanResultsAggregatedByTargetResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCisScanResultsAggregatedByTargetResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCisScanResultsAggregatedByTargetResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11376,7 +11376,7 @@ extension ListCisScanResultsAggregatedByTargetResourceOutput { extension ListCisScansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCisScansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCisScansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11389,7 +11389,7 @@ extension ListCisScansOutput { extension ListCoverageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoverageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoverageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11402,7 +11402,7 @@ extension ListCoverageOutput { extension ListCoverageStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoverageStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoverageStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11416,7 +11416,7 @@ extension ListCoverageStatisticsOutput { extension ListDelegatedAdminAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDelegatedAdminAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDelegatedAdminAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11429,7 +11429,7 @@ extension ListDelegatedAdminAccountsOutput { extension ListFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11442,7 +11442,7 @@ extension ListFiltersOutput { extension ListFindingAggregationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingAggregationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingAggregationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11456,7 +11456,7 @@ extension ListFindingAggregationsOutput { extension ListFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11469,7 +11469,7 @@ extension ListFindingsOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11482,7 +11482,7 @@ extension ListMembersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11494,7 +11494,7 @@ extension ListTagsForResourceOutput { extension ListUsageTotalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsageTotalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsageTotalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11507,14 +11507,14 @@ extension ListUsageTotalsOutput { extension ResetEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetEncryptionKeyOutput { return ResetEncryptionKeyOutput() } } extension SearchVulnerabilitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchVulnerabilitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchVulnerabilitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11527,49 +11527,49 @@ extension SearchVulnerabilitiesOutput { extension SendCisSessionHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendCisSessionHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendCisSessionHealthOutput { return SendCisSessionHealthOutput() } } extension SendCisSessionTelemetryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendCisSessionTelemetryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendCisSessionTelemetryOutput { return SendCisSessionTelemetryOutput() } } extension StartCisSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCisSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCisSessionOutput { return StartCisSessionOutput() } } extension StopCisSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCisSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCisSessionOutput { return StopCisSessionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCisScanConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCisScanConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCisScanConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11581,14 +11581,14 @@ extension UpdateCisScanConfigurationOutput { extension UpdateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationOutput { return UpdateConfigurationOutput() } } extension UpdateEc2DeepInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEc2DeepInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEc2DeepInspectionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11603,14 +11603,14 @@ extension UpdateEc2DeepInspectionConfigurationOutput { extension UpdateEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEncryptionKeyOutput { return UpdateEncryptionKeyOutput() } } extension UpdateFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11622,7 +11622,7 @@ extension UpdateFilterOutput { extension UpdateOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11634,14 +11634,14 @@ extension UpdateOrganizationConfigurationOutput { extension UpdateOrgEc2DeepInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrgEc2DeepInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrgEc2DeepInspectionConfigurationOutput { return UpdateOrgEc2DeepInspectionConfigurationOutput() } } enum AssociateMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11658,7 +11658,7 @@ enum AssociateMemberOutputError { enum BatchGetAccountStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11676,7 +11676,7 @@ enum BatchGetAccountStatusOutputError { enum BatchGetCodeSnippetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11693,7 +11693,7 @@ enum BatchGetCodeSnippetOutputError { enum BatchGetFindingDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11710,7 +11710,7 @@ enum BatchGetFindingDetailsOutputError { enum BatchGetFreeTrialInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11727,7 +11727,7 @@ enum BatchGetFreeTrialInfoOutputError { enum BatchGetMemberEc2DeepInspectionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11744,7 +11744,7 @@ enum BatchGetMemberEc2DeepInspectionStatusOutputError { enum BatchUpdateMemberEc2DeepInspectionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11761,7 +11761,7 @@ enum BatchUpdateMemberEc2DeepInspectionStatusOutputError { enum CancelFindingsReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11779,7 +11779,7 @@ enum CancelFindingsReportOutputError { enum CancelSbomExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11797,7 +11797,7 @@ enum CancelSbomExportOutputError { enum CreateCisScanConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11814,7 +11814,7 @@ enum CreateCisScanConfigurationOutputError { enum CreateFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11833,7 +11833,7 @@ enum CreateFilterOutputError { enum CreateFindingsReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11851,7 +11851,7 @@ enum CreateFindingsReportOutputError { enum CreateSbomExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11869,7 +11869,7 @@ enum CreateSbomExportOutputError { enum DeleteCisScanConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11887,7 +11887,7 @@ enum DeleteCisScanConfigurationOutputError { enum DeleteFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11905,7 +11905,7 @@ enum DeleteFilterOutputError { enum DescribeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11922,7 +11922,7 @@ enum DescribeOrganizationConfigurationOutputError { enum DisableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11940,7 +11940,7 @@ enum DisableOutputError { enum DisableDelegatedAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11959,7 +11959,7 @@ enum DisableDelegatedAdminAccountOutputError { enum DisassociateMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11976,7 +11976,7 @@ enum DisassociateMemberOutputError { enum EnableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11994,7 +11994,7 @@ enum EnableOutputError { enum EnableDelegatedAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12013,7 +12013,7 @@ enum EnableDelegatedAdminAccountOutputError { enum GetCisScanReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12031,7 +12031,7 @@ enum GetCisScanReportOutputError { enum GetCisScanResultDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12048,7 +12048,7 @@ enum GetCisScanResultDetailsOutputError { enum GetConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12064,7 +12064,7 @@ enum GetConfigurationOutputError { enum GetDelegatedAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12082,7 +12082,7 @@ enum GetDelegatedAdminAccountOutputError { enum GetEc2DeepInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12099,7 +12099,7 @@ enum GetEc2DeepInspectionConfigurationOutputError { enum GetEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12117,7 +12117,7 @@ enum GetEncryptionKeyOutputError { enum GetFindingsReportStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12135,7 +12135,7 @@ enum GetFindingsReportStatusOutputError { enum GetMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12153,7 +12153,7 @@ enum GetMemberOutputError { enum GetSbomExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12171,7 +12171,7 @@ enum GetSbomExportOutputError { enum ListAccountPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12188,7 +12188,7 @@ enum ListAccountPermissionsOutputError { enum ListCisScanConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12205,7 +12205,7 @@ enum ListCisScanConfigurationsOutputError { enum ListCisScanResultsAggregatedByChecksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12222,7 +12222,7 @@ enum ListCisScanResultsAggregatedByChecksOutputError { enum ListCisScanResultsAggregatedByTargetResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12239,7 +12239,7 @@ enum ListCisScanResultsAggregatedByTargetResourceOutputError { enum ListCisScansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12256,7 +12256,7 @@ enum ListCisScansOutputError { enum ListCoverageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12272,7 +12272,7 @@ enum ListCoverageOutputError { enum ListCoverageStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12288,7 +12288,7 @@ enum ListCoverageStatisticsOutputError { enum ListDelegatedAdminAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12305,7 +12305,7 @@ enum ListDelegatedAdminAccountsOutputError { enum ListFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12322,7 +12322,7 @@ enum ListFiltersOutputError { enum ListFindingAggregationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12338,7 +12338,7 @@ enum ListFindingAggregationsOutputError { enum ListFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12354,7 +12354,7 @@ enum ListFindingsOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12371,7 +12371,7 @@ enum ListMembersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12388,7 +12388,7 @@ enum ListTagsForResourceOutputError { enum ListUsageTotalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12405,7 +12405,7 @@ enum ListUsageTotalsOutputError { enum ResetEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12423,7 +12423,7 @@ enum ResetEncryptionKeyOutputError { enum SearchVulnerabilitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12440,7 +12440,7 @@ enum SearchVulnerabilitiesOutputError { enum SendCisSessionHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12458,7 +12458,7 @@ enum SendCisSessionHealthOutputError { enum SendCisSessionTelemetryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12476,7 +12476,7 @@ enum SendCisSessionTelemetryOutputError { enum StartCisSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12494,7 +12494,7 @@ enum StartCisSessionOutputError { enum StopCisSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12512,7 +12512,7 @@ enum StopCisSessionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12530,7 +12530,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12547,7 +12547,7 @@ enum UntagResourceOutputError { enum UpdateCisScanConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12565,7 +12565,7 @@ enum UpdateCisScanConfigurationOutputError { enum UpdateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12582,7 +12582,7 @@ enum UpdateConfigurationOutputError { enum UpdateEc2DeepInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12599,7 +12599,7 @@ enum UpdateEc2DeepInspectionConfigurationOutputError { enum UpdateEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12617,7 +12617,7 @@ enum UpdateEncryptionKeyOutputError { enum UpdateFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12635,7 +12635,7 @@ enum UpdateFilterOutputError { enum UpdateOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12652,7 +12652,7 @@ enum UpdateOrganizationConfigurationOutputError { enum UpdateOrgEc2DeepInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/Models.swift b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/Models.swift index 0de09f077ac..edef2c22d41 100644 --- a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/Models.swift +++ b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -91,7 +91,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -122,7 +122,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -214,7 +214,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -306,7 +306,7 @@ extension ScanSbomInput { extension ScanSbomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ScanSbomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ScanSbomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -318,7 +318,7 @@ extension ScanSbomOutput { enum ScanSbomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/Models.swift b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/Models.swift index 87e284fe9cd..3c4407e11d4 100644 --- a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/Models.swift +++ b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,7 +159,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -183,7 +183,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -207,7 +207,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -231,7 +231,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -255,7 +255,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1456,7 +1456,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1575,7 +1575,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1599,7 +1599,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1833,7 +1833,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2313,7 +2313,7 @@ extension UpdateMonitorInput { extension CreateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2326,14 +2326,14 @@ extension CreateMonitorOutput { extension DeleteMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMonitorOutput { return DeleteMonitorOutput() } } extension GetHealthEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHealthEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHealthEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2355,7 +2355,7 @@ extension GetHealthEventOutput { extension GetInternetEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInternetEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInternetEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2373,7 +2373,7 @@ extension GetInternetEventOutput { extension GetMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2397,7 +2397,7 @@ extension GetMonitorOutput { extension GetQueryResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2411,7 +2411,7 @@ extension GetQueryResultsOutput { extension GetQueryStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2423,7 +2423,7 @@ extension GetQueryStatusOutput { extension ListHealthEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHealthEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHealthEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2436,7 +2436,7 @@ extension ListHealthEventsOutput { extension ListInternetEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInternetEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInternetEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2449,7 +2449,7 @@ extension ListInternetEventsOutput { extension ListMonitorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2462,7 +2462,7 @@ extension ListMonitorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2474,7 +2474,7 @@ extension ListTagsForResourceOutput { extension StartQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2486,28 +2486,28 @@ extension StartQueryOutput { extension StopQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopQueryOutput { return StopQueryOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2520,7 +2520,7 @@ extension UpdateMonitorOutput { enum CreateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2539,7 +2539,7 @@ enum CreateMonitorOutputError { enum DeleteMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2556,7 +2556,7 @@ enum DeleteMonitorOutputError { enum GetHealthEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2573,7 +2573,7 @@ enum GetHealthEventOutputError { enum GetInternetEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2590,7 +2590,7 @@ enum GetInternetEventOutputError { enum GetMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2607,7 +2607,7 @@ enum GetMonitorOutputError { enum GetQueryResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2625,7 +2625,7 @@ enum GetQueryResultsOutputError { enum GetQueryStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2643,7 +2643,7 @@ enum GetQueryStatusOutputError { enum ListHealthEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2660,7 +2660,7 @@ enum ListHealthEventsOutputError { enum ListInternetEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2677,7 +2677,7 @@ enum ListInternetEventsOutputError { enum ListMonitorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2694,7 +2694,7 @@ enum ListMonitorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2712,7 +2712,7 @@ enum ListTagsForResourceOutputError { enum StartQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2730,7 +2730,7 @@ enum StartQueryOutputError { enum StopQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2748,7 +2748,7 @@ enum StopQueryOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2766,7 +2766,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2784,7 +2784,7 @@ enum UntagResourceOutputError { enum UpdateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift index 3791ce578e6..e7176854cf0 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -298,7 +298,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -323,7 +323,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -348,7 +348,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -373,7 +373,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -398,7 +398,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -423,7 +423,7 @@ public struct TransferAlreadyCompletedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -448,7 +448,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2406,7 +2406,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2514,7 +2514,7 @@ public struct VersionConflictException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3800,7 +3800,7 @@ public struct InvalidStateTransitionException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3865,7 +3865,7 @@ public struct ConflictingResourceUpdateException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3890,7 +3890,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3937,7 +3937,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4410,7 +4410,7 @@ public struct CertificateValidationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4560,7 +4560,7 @@ public struct InvalidQueryException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4671,7 +4671,7 @@ public struct IndexNotReadyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4695,7 +4695,7 @@ public struct InvalidAggregationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5277,7 +5277,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6372,7 +6372,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6396,7 +6396,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6420,7 +6420,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6612,7 +6612,7 @@ public struct MalformedPolicyException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6685,7 +6685,7 @@ public struct VersionsLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7397,7 +7397,7 @@ public struct SqlParseException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7738,7 +7738,7 @@ public struct DeleteConflictException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7803,7 +7803,7 @@ public struct CertificateStateException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12842,7 +12842,7 @@ public struct NotConfiguredException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16462,7 +16462,7 @@ public struct RegistrationCodeValidationException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16542,7 +16542,7 @@ public struct CertificateConflictException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16644,7 +16644,7 @@ public struct ResourceRegistrationFailureException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17066,7 +17066,7 @@ public struct TaskAlreadyExistsException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17334,7 +17334,7 @@ public struct InvalidResponseException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17480,7 +17480,7 @@ public struct TransferConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -23972,28 +23972,28 @@ extension ValidateSecurityProfileBehaviorsInput { extension AcceptCertificateTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptCertificateTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptCertificateTransferOutput { return AcceptCertificateTransferOutput() } } extension AddThingToBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddThingToBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddThingToBillingGroupOutput { return AddThingToBillingGroupOutput() } } extension AddThingToThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddThingToThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddThingToThingGroupOutput { return AddThingToThingGroupOutput() } } extension AssociateTargetsWithJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTargetsWithJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTargetsWithJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24007,63 +24007,63 @@ extension AssociateTargetsWithJobOutput { extension AttachPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachPolicyOutput { return AttachPolicyOutput() } } extension AttachPrincipalPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachPrincipalPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachPrincipalPolicyOutput { return AttachPrincipalPolicyOutput() } } extension AttachSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachSecurityProfileOutput { return AttachSecurityProfileOutput() } } extension AttachThingPrincipalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachThingPrincipalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachThingPrincipalOutput { return AttachThingPrincipalOutput() } } extension CancelAuditMitigationActionsTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelAuditMitigationActionsTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelAuditMitigationActionsTaskOutput { return CancelAuditMitigationActionsTaskOutput() } } extension CancelAuditTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelAuditTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelAuditTaskOutput { return CancelAuditTaskOutput() } } extension CancelCertificateTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelCertificateTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelCertificateTransferOutput { return CancelCertificateTransferOutput() } } extension CancelDetectMitigationActionsTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDetectMitigationActionsTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDetectMitigationActionsTaskOutput { return CancelDetectMitigationActionsTaskOutput() } } extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24077,35 +24077,35 @@ extension CancelJobOutput { extension CancelJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobExecutionOutput { return CancelJobExecutionOutput() } } extension ClearDefaultAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClearDefaultAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClearDefaultAuthorizerOutput { return ClearDefaultAuthorizerOutput() } } extension ConfirmTopicRuleDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmTopicRuleDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmTopicRuleDestinationOutput { return ConfirmTopicRuleDestinationOutput() } } extension CreateAuditSuppressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAuditSuppressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAuditSuppressionOutput { return CreateAuditSuppressionOutput() } } extension CreateAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24118,7 +24118,7 @@ extension CreateAuthorizerOutput { extension CreateBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24132,7 +24132,7 @@ extension CreateBillingGroupOutput { extension CreateCertificateFromCsrOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCertificateFromCsrOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCertificateFromCsrOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24146,7 +24146,7 @@ extension CreateCertificateFromCsrOutput { extension CreateCertificateProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCertificateProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCertificateProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24159,7 +24159,7 @@ extension CreateCertificateProviderOutput { extension CreateCustomMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomMetricOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24172,7 +24172,7 @@ extension CreateCustomMetricOutput { extension CreateDimensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDimensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDimensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24185,7 +24185,7 @@ extension CreateDimensionOutput { extension CreateDomainConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24198,7 +24198,7 @@ extension CreateDomainConfigurationOutput { extension CreateDynamicThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDynamicThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDynamicThingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24215,7 +24215,7 @@ extension CreateDynamicThingGroupOutput { extension CreateFleetMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetMetricOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24228,7 +24228,7 @@ extension CreateFleetMetricOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24242,7 +24242,7 @@ extension CreateJobOutput { extension CreateJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24255,7 +24255,7 @@ extension CreateJobTemplateOutput { extension CreateKeysAndCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeysAndCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeysAndCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24270,7 +24270,7 @@ extension CreateKeysAndCertificateOutput { extension CreateMitigationActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMitigationActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMitigationActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24283,7 +24283,7 @@ extension CreateMitigationActionOutput { extension CreateOTAUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOTAUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOTAUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24299,7 +24299,7 @@ extension CreateOTAUpdateOutput { extension CreatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24313,7 +24313,7 @@ extension CreatePackageOutput { extension CreatePackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24331,7 +24331,7 @@ extension CreatePackageVersionOutput { extension CreatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24346,7 +24346,7 @@ extension CreatePolicyOutput { extension CreatePolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24361,7 +24361,7 @@ extension CreatePolicyVersionOutput { extension CreateProvisioningClaimOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProvisioningClaimOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProvisioningClaimOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24376,7 +24376,7 @@ extension CreateProvisioningClaimOutput { extension CreateProvisioningTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProvisioningTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProvisioningTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24390,7 +24390,7 @@ extension CreateProvisioningTemplateOutput { extension CreateProvisioningTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProvisioningTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProvisioningTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24405,7 +24405,7 @@ extension CreateProvisioningTemplateVersionOutput { extension CreateRoleAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoleAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoleAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24418,7 +24418,7 @@ extension CreateRoleAliasOutput { extension CreateScheduledAuditOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduledAuditOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduledAuditOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24430,7 +24430,7 @@ extension CreateScheduledAuditOutput { extension CreateSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24443,7 +24443,7 @@ extension CreateSecurityProfileOutput { extension CreateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24458,7 +24458,7 @@ extension CreateStreamOutput { extension CreateThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24472,7 +24472,7 @@ extension CreateThingOutput { extension CreateThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24486,7 +24486,7 @@ extension CreateThingGroupOutput { extension CreateThingTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThingTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThingTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24500,14 +24500,14 @@ extension CreateThingTypeOutput { extension CreateTopicRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTopicRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTopicRuleOutput { return CreateTopicRuleOutput() } } extension CreateTopicRuleDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTopicRuleDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTopicRuleDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24519,252 +24519,252 @@ extension CreateTopicRuleDestinationOutput { extension DeleteAccountAuditConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountAuditConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountAuditConfigurationOutput { return DeleteAccountAuditConfigurationOutput() } } extension DeleteAuditSuppressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAuditSuppressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAuditSuppressionOutput { return DeleteAuditSuppressionOutput() } } extension DeleteAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAuthorizerOutput { return DeleteAuthorizerOutput() } } extension DeleteBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBillingGroupOutput { return DeleteBillingGroupOutput() } } extension DeleteCACertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCACertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCACertificateOutput { return DeleteCACertificateOutput() } } extension DeleteCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateOutput { return DeleteCertificateOutput() } } extension DeleteCertificateProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateProviderOutput { return DeleteCertificateProviderOutput() } } extension DeleteCustomMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomMetricOutput { return DeleteCustomMetricOutput() } } extension DeleteDimensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDimensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDimensionOutput { return DeleteDimensionOutput() } } extension DeleteDomainConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainConfigurationOutput { return DeleteDomainConfigurationOutput() } } extension DeleteDynamicThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDynamicThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDynamicThingGroupOutput { return DeleteDynamicThingGroupOutput() } } extension DeleteFleetMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetMetricOutput { return DeleteFleetMetricOutput() } } extension DeleteJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobOutput { return DeleteJobOutput() } } extension DeleteJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobExecutionOutput { return DeleteJobExecutionOutput() } } extension DeleteJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobTemplateOutput { return DeleteJobTemplateOutput() } } extension DeleteMitigationActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMitigationActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMitigationActionOutput { return DeleteMitigationActionOutput() } } extension DeleteOTAUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOTAUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOTAUpdateOutput { return DeleteOTAUpdateOutput() } } extension DeletePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageOutput { return DeletePackageOutput() } } extension DeletePackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageVersionOutput { return DeletePackageVersionOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeletePolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyVersionOutput { return DeletePolicyVersionOutput() } } extension DeleteProvisioningTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProvisioningTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProvisioningTemplateOutput { return DeleteProvisioningTemplateOutput() } } extension DeleteProvisioningTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProvisioningTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProvisioningTemplateVersionOutput { return DeleteProvisioningTemplateVersionOutput() } } extension DeleteRegistrationCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistrationCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistrationCodeOutput { return DeleteRegistrationCodeOutput() } } extension DeleteRoleAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoleAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoleAliasOutput { return DeleteRoleAliasOutput() } } extension DeleteScheduledAuditOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduledAuditOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduledAuditOutput { return DeleteScheduledAuditOutput() } } extension DeleteSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityProfileOutput { return DeleteSecurityProfileOutput() } } extension DeleteStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamOutput { return DeleteStreamOutput() } } extension DeleteThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThingOutput { return DeleteThingOutput() } } extension DeleteThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThingGroupOutput { return DeleteThingGroupOutput() } } extension DeleteThingTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThingTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThingTypeOutput { return DeleteThingTypeOutput() } } extension DeleteTopicRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTopicRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTopicRuleOutput { return DeleteTopicRuleOutput() } } extension DeleteTopicRuleDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTopicRuleDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTopicRuleDestinationOutput { return DeleteTopicRuleDestinationOutput() } } extension DeleteV2LoggingLevelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteV2LoggingLevelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteV2LoggingLevelOutput { return DeleteV2LoggingLevelOutput() } } extension DeprecateThingTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprecateThingTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprecateThingTypeOutput { return DeprecateThingTypeOutput() } } extension DescribeAccountAuditConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAuditConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAuditConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24778,7 +24778,7 @@ extension DescribeAccountAuditConfigurationOutput { extension DescribeAuditFindingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuditFindingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuditFindingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24790,7 +24790,7 @@ extension DescribeAuditFindingOutput { extension DescribeAuditMitigationActionsTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuditMitigationActionsTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuditMitigationActionsTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24808,7 +24808,7 @@ extension DescribeAuditMitigationActionsTaskOutput { extension DescribeAuditSuppressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuditSuppressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuditSuppressionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24824,7 +24824,7 @@ extension DescribeAuditSuppressionOutput { extension DescribeAuditTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuditTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuditTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24841,7 +24841,7 @@ extension DescribeAuditTaskOutput { extension DescribeAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24853,7 +24853,7 @@ extension DescribeAuthorizerOutput { extension DescribeBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24870,7 +24870,7 @@ extension DescribeBillingGroupOutput { extension DescribeCACertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCACertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCACertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24883,7 +24883,7 @@ extension DescribeCACertificateOutput { extension DescribeCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24895,7 +24895,7 @@ extension DescribeCertificateOutput { extension DescribeCertificateProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24912,7 +24912,7 @@ extension DescribeCertificateProviderOutput { extension DescribeCustomMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomMetricOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24929,7 +24929,7 @@ extension DescribeCustomMetricOutput { extension DescribeDefaultAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDefaultAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDefaultAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24941,7 +24941,7 @@ extension DescribeDefaultAuthorizerOutput { extension DescribeDetectMitigationActionsTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDetectMitigationActionsTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDetectMitigationActionsTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24953,7 +24953,7 @@ extension DescribeDetectMitigationActionsTaskOutput { extension DescribeDimensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDimensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDimensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24970,7 +24970,7 @@ extension DescribeDimensionOutput { extension DescribeDomainConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24992,7 +24992,7 @@ extension DescribeDomainConfigurationOutput { extension DescribeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25004,7 +25004,7 @@ extension DescribeEndpointOutput { extension DescribeEventConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25018,7 +25018,7 @@ extension DescribeEventConfigurationsOutput { extension DescribeFleetMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetMetricOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25042,7 +25042,7 @@ extension DescribeFleetMetricOutput { extension DescribeIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25056,7 +25056,7 @@ extension DescribeIndexOutput { extension DescribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25069,7 +25069,7 @@ extension DescribeJobOutput { extension DescribeJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25081,7 +25081,7 @@ extension DescribeJobExecutionOutput { extension DescribeJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25105,7 +25105,7 @@ extension DescribeJobTemplateOutput { extension DescribeManagedJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeManagedJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeManagedJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25123,7 +25123,7 @@ extension DescribeManagedJobTemplateOutput { extension DescribeMitigationActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMitigationActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMitigationActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25142,7 +25142,7 @@ extension DescribeMitigationActionOutput { extension DescribeProvisioningTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProvisioningTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProvisioningTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25164,7 +25164,7 @@ extension DescribeProvisioningTemplateOutput { extension DescribeProvisioningTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProvisioningTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProvisioningTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25179,7 +25179,7 @@ extension DescribeProvisioningTemplateVersionOutput { extension DescribeRoleAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRoleAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRoleAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25191,7 +25191,7 @@ extension DescribeRoleAliasOutput { extension DescribeScheduledAuditOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledAuditOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledAuditOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25208,7 +25208,7 @@ extension DescribeScheduledAuditOutput { extension DescribeSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25230,7 +25230,7 @@ extension DescribeSecurityProfileOutput { extension DescribeStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25242,7 +25242,7 @@ extension DescribeStreamOutput { extension DescribeThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25261,7 +25261,7 @@ extension DescribeThingOutput { extension DescribeThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25282,7 +25282,7 @@ extension DescribeThingGroupOutput { extension DescribeThingRegistrationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThingRegistrationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThingRegistrationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25305,7 +25305,7 @@ extension DescribeThingRegistrationTaskOutput { extension DescribeThingTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThingTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThingTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25321,49 +25321,49 @@ extension DescribeThingTypeOutput { extension DetachPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachPolicyOutput { return DetachPolicyOutput() } } extension DetachPrincipalPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachPrincipalPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachPrincipalPolicyOutput { return DetachPrincipalPolicyOutput() } } extension DetachSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachSecurityProfileOutput { return DetachSecurityProfileOutput() } } extension DetachThingPrincipalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachThingPrincipalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachThingPrincipalOutput { return DetachThingPrincipalOutput() } } extension DisableTopicRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableTopicRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableTopicRuleOutput { return DisableTopicRuleOutput() } } extension EnableTopicRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableTopicRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableTopicRuleOutput { return EnableTopicRuleOutput() } } extension GetBehaviorModelTrainingSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBehaviorModelTrainingSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBehaviorModelTrainingSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25376,7 +25376,7 @@ extension GetBehaviorModelTrainingSummariesOutput { extension GetBucketsAggregationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketsAggregationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketsAggregationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25389,7 +25389,7 @@ extension GetBucketsAggregationOutput { extension GetCardinalityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCardinalityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCardinalityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25401,7 +25401,7 @@ extension GetCardinalityOutput { extension GetEffectivePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEffectivePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEffectivePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25413,7 +25413,7 @@ extension GetEffectivePoliciesOutput { extension GetIndexingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIndexingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIndexingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25426,7 +25426,7 @@ extension GetIndexingConfigurationOutput { extension GetJobDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25438,7 +25438,7 @@ extension GetJobDocumentOutput { extension GetLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggingOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25451,7 +25451,7 @@ extension GetLoggingOptionsOutput { extension GetOTAUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOTAUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOTAUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25463,7 +25463,7 @@ extension GetOTAUpdateOutput { extension GetPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25480,7 +25480,7 @@ extension GetPackageOutput { extension GetPackageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25492,7 +25492,7 @@ extension GetPackageConfigurationOutput { extension GetPackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25512,7 +25512,7 @@ extension GetPackageVersionOutput { extension GetPercentilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPercentilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPercentilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25524,7 +25524,7 @@ extension GetPercentilesOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25542,7 +25542,7 @@ extension GetPolicyOutput { extension GetPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25561,7 +25561,7 @@ extension GetPolicyVersionOutput { extension GetRegistrationCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegistrationCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegistrationCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25573,7 +25573,7 @@ extension GetRegistrationCodeOutput { extension GetStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25585,7 +25585,7 @@ extension GetStatisticsOutput { extension GetTopicRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTopicRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTopicRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25598,7 +25598,7 @@ extension GetTopicRuleOutput { extension GetTopicRuleDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTopicRuleDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTopicRuleDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25610,7 +25610,7 @@ extension GetTopicRuleDestinationOutput { extension GetV2LoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetV2LoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetV2LoggingOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25624,7 +25624,7 @@ extension GetV2LoggingOptionsOutput { extension ListActiveViolationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActiveViolationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActiveViolationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25637,7 +25637,7 @@ extension ListActiveViolationsOutput { extension ListAttachedPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachedPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachedPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25650,7 +25650,7 @@ extension ListAttachedPoliciesOutput { extension ListAuditFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAuditFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuditFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25663,7 +25663,7 @@ extension ListAuditFindingsOutput { extension ListAuditMitigationActionsExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAuditMitigationActionsExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuditMitigationActionsExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25676,7 +25676,7 @@ extension ListAuditMitigationActionsExecutionsOutput { extension ListAuditMitigationActionsTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAuditMitigationActionsTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuditMitigationActionsTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25689,7 +25689,7 @@ extension ListAuditMitigationActionsTasksOutput { extension ListAuditSuppressionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAuditSuppressionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuditSuppressionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25702,7 +25702,7 @@ extension ListAuditSuppressionsOutput { extension ListAuditTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAuditTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuditTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25715,7 +25715,7 @@ extension ListAuditTasksOutput { extension ListAuthorizersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAuthorizersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAuthorizersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25728,7 +25728,7 @@ extension ListAuthorizersOutput { extension ListBillingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBillingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBillingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25741,7 +25741,7 @@ extension ListBillingGroupsOutput { extension ListCACertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCACertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCACertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25754,7 +25754,7 @@ extension ListCACertificatesOutput { extension ListCertificateProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificateProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificateProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25767,7 +25767,7 @@ extension ListCertificateProvidersOutput { extension ListCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25780,7 +25780,7 @@ extension ListCertificatesOutput { extension ListCertificatesByCAOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificatesByCAOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificatesByCAOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25793,7 +25793,7 @@ extension ListCertificatesByCAOutput { extension ListCustomMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25806,7 +25806,7 @@ extension ListCustomMetricsOutput { extension ListDetectMitigationActionsExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDetectMitigationActionsExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDetectMitigationActionsExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25819,7 +25819,7 @@ extension ListDetectMitigationActionsExecutionsOutput { extension ListDetectMitigationActionsTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDetectMitigationActionsTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDetectMitigationActionsTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25832,7 +25832,7 @@ extension ListDetectMitigationActionsTasksOutput { extension ListDimensionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDimensionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDimensionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25845,7 +25845,7 @@ extension ListDimensionsOutput { extension ListDomainConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25858,7 +25858,7 @@ extension ListDomainConfigurationsOutput { extension ListFleetMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25871,7 +25871,7 @@ extension ListFleetMetricsOutput { extension ListIndicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25884,7 +25884,7 @@ extension ListIndicesOutput { extension ListJobExecutionsForJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobExecutionsForJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobExecutionsForJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25897,7 +25897,7 @@ extension ListJobExecutionsForJobOutput { extension ListJobExecutionsForThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobExecutionsForThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobExecutionsForThingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25910,7 +25910,7 @@ extension ListJobExecutionsForThingOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25923,7 +25923,7 @@ extension ListJobsOutput { extension ListJobTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25936,7 +25936,7 @@ extension ListJobTemplatesOutput { extension ListManagedJobTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedJobTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedJobTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25949,7 +25949,7 @@ extension ListManagedJobTemplatesOutput { extension ListMetricValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetricValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetricValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25962,7 +25962,7 @@ extension ListMetricValuesOutput { extension ListMitigationActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMitigationActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMitigationActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25975,7 +25975,7 @@ extension ListMitigationActionsOutput { extension ListOTAUpdatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOTAUpdatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOTAUpdatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25988,7 +25988,7 @@ extension ListOTAUpdatesOutput { extension ListOutgoingCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOutgoingCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOutgoingCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26001,7 +26001,7 @@ extension ListOutgoingCertificatesOutput { extension ListPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26014,7 +26014,7 @@ extension ListPackagesOutput { extension ListPackageVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackageVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackageVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26027,7 +26027,7 @@ extension ListPackageVersionsOutput { extension ListPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26040,7 +26040,7 @@ extension ListPoliciesOutput { extension ListPolicyPrincipalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyPrincipalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyPrincipalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26053,7 +26053,7 @@ extension ListPolicyPrincipalsOutput { extension ListPolicyVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26065,7 +26065,7 @@ extension ListPolicyVersionsOutput { extension ListPrincipalPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrincipalPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrincipalPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26078,7 +26078,7 @@ extension ListPrincipalPoliciesOutput { extension ListPrincipalThingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrincipalThingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrincipalThingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26091,7 +26091,7 @@ extension ListPrincipalThingsOutput { extension ListProvisioningTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisioningTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisioningTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26104,7 +26104,7 @@ extension ListProvisioningTemplatesOutput { extension ListProvisioningTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisioningTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisioningTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26117,7 +26117,7 @@ extension ListProvisioningTemplateVersionsOutput { extension ListRelatedResourcesForAuditFindingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRelatedResourcesForAuditFindingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRelatedResourcesForAuditFindingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26130,7 +26130,7 @@ extension ListRelatedResourcesForAuditFindingOutput { extension ListRoleAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoleAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoleAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26143,7 +26143,7 @@ extension ListRoleAliasesOutput { extension ListScheduledAuditsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScheduledAuditsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScheduledAuditsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26156,7 +26156,7 @@ extension ListScheduledAuditsOutput { extension ListSecurityProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26169,7 +26169,7 @@ extension ListSecurityProfilesOutput { extension ListSecurityProfilesForTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityProfilesForTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityProfilesForTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26182,7 +26182,7 @@ extension ListSecurityProfilesForTargetOutput { extension ListStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26195,7 +26195,7 @@ extension ListStreamsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26208,7 +26208,7 @@ extension ListTagsForResourceOutput { extension ListTargetsForPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsForPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsForPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26221,7 +26221,7 @@ extension ListTargetsForPolicyOutput { extension ListTargetsForSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsForSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsForSecurityProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26234,7 +26234,7 @@ extension ListTargetsForSecurityProfileOutput { extension ListThingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26247,7 +26247,7 @@ extension ListThingGroupsOutput { extension ListThingGroupsForThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingGroupsForThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingGroupsForThingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26260,7 +26260,7 @@ extension ListThingGroupsForThingOutput { extension ListThingPrincipalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingPrincipalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingPrincipalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26273,7 +26273,7 @@ extension ListThingPrincipalsOutput { extension ListThingRegistrationTaskReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingRegistrationTaskReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingRegistrationTaskReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26287,7 +26287,7 @@ extension ListThingRegistrationTaskReportsOutput { extension ListThingRegistrationTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingRegistrationTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingRegistrationTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26300,7 +26300,7 @@ extension ListThingRegistrationTasksOutput { extension ListThingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26313,7 +26313,7 @@ extension ListThingsOutput { extension ListThingsInBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingsInBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingsInBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26326,7 +26326,7 @@ extension ListThingsInBillingGroupOutput { extension ListThingsInThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingsInThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingsInThingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26339,7 +26339,7 @@ extension ListThingsInThingGroupOutput { extension ListThingTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThingTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26352,7 +26352,7 @@ extension ListThingTypesOutput { extension ListTopicRuleDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTopicRuleDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicRuleDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26365,7 +26365,7 @@ extension ListTopicRuleDestinationsOutput { extension ListTopicRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTopicRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26378,7 +26378,7 @@ extension ListTopicRulesOutput { extension ListV2LoggingLevelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListV2LoggingLevelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListV2LoggingLevelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26391,7 +26391,7 @@ extension ListV2LoggingLevelsOutput { extension ListViolationEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListViolationEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListViolationEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26404,14 +26404,14 @@ extension ListViolationEventsOutput { extension PutVerificationStateOnViolationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutVerificationStateOnViolationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutVerificationStateOnViolationOutput { return PutVerificationStateOnViolationOutput() } } extension RegisterCACertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterCACertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterCACertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26424,7 +26424,7 @@ extension RegisterCACertificateOutput { extension RegisterCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26437,7 +26437,7 @@ extension RegisterCertificateOutput { extension RegisterCertificateWithoutCAOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterCertificateWithoutCAOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterCertificateWithoutCAOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26450,7 +26450,7 @@ extension RegisterCertificateWithoutCAOutput { extension RegisterThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterThingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26463,35 +26463,35 @@ extension RegisterThingOutput { extension RejectCertificateTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectCertificateTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectCertificateTransferOutput { return RejectCertificateTransferOutput() } } extension RemoveThingFromBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveThingFromBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveThingFromBillingGroupOutput { return RemoveThingFromBillingGroupOutput() } } extension RemoveThingFromThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveThingFromThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveThingFromThingGroupOutput { return RemoveThingFromThingGroupOutput() } } extension ReplaceTopicRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplaceTopicRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplaceTopicRuleOutput { return ReplaceTopicRuleOutput() } } extension SearchIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26505,7 +26505,7 @@ extension SearchIndexOutput { extension SetDefaultAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDefaultAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26518,35 +26518,35 @@ extension SetDefaultAuthorizerOutput { extension SetDefaultPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDefaultPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultPolicyVersionOutput { return SetDefaultPolicyVersionOutput() } } extension SetLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLoggingOptionsOutput { return SetLoggingOptionsOutput() } } extension SetV2LoggingLevelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetV2LoggingLevelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetV2LoggingLevelOutput { return SetV2LoggingLevelOutput() } } extension SetV2LoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetV2LoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetV2LoggingOptionsOutput { return SetV2LoggingOptionsOutput() } } extension StartAuditMitigationActionsTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAuditMitigationActionsTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAuditMitigationActionsTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26558,7 +26558,7 @@ extension StartAuditMitigationActionsTaskOutput { extension StartDetectMitigationActionsTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDetectMitigationActionsTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDetectMitigationActionsTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26570,7 +26570,7 @@ extension StartDetectMitigationActionsTaskOutput { extension StartOnDemandAuditTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartOnDemandAuditTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartOnDemandAuditTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26582,7 +26582,7 @@ extension StartOnDemandAuditTaskOutput { extension StartThingRegistrationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartThingRegistrationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartThingRegistrationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26594,21 +26594,21 @@ extension StartThingRegistrationTaskOutput { extension StopThingRegistrationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopThingRegistrationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopThingRegistrationTaskOutput { return StopThingRegistrationTaskOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26620,7 +26620,7 @@ extension TestAuthorizationOutput { extension TestInvokeAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestInvokeAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestInvokeAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26636,7 +26636,7 @@ extension TestInvokeAuthorizerOutput { extension TransferCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransferCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransferCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26648,28 +26648,28 @@ extension TransferCertificateOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountAuditConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountAuditConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountAuditConfigurationOutput { return UpdateAccountAuditConfigurationOutput() } } extension UpdateAuditSuppressionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAuditSuppressionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuditSuppressionOutput { return UpdateAuditSuppressionOutput() } } extension UpdateAuthorizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAuthorizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuthorizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26682,7 +26682,7 @@ extension UpdateAuthorizerOutput { extension UpdateBillingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBillingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBillingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26694,21 +26694,21 @@ extension UpdateBillingGroupOutput { extension UpdateCACertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCACertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCACertificateOutput { return UpdateCACertificateOutput() } } extension UpdateCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCertificateOutput { return UpdateCertificateOutput() } } extension UpdateCertificateProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCertificateProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCertificateProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26721,7 +26721,7 @@ extension UpdateCertificateProviderOutput { extension UpdateCustomMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomMetricOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26738,7 +26738,7 @@ extension UpdateCustomMetricOutput { extension UpdateDimensionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDimensionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDimensionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26755,7 +26755,7 @@ extension UpdateDimensionOutput { extension UpdateDomainConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26768,7 +26768,7 @@ extension UpdateDomainConfigurationOutput { extension UpdateDynamicThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDynamicThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDynamicThingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26780,35 +26780,35 @@ extension UpdateDynamicThingGroupOutput { extension UpdateEventConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventConfigurationsOutput { return UpdateEventConfigurationsOutput() } } extension UpdateFleetMetricOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetMetricOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetMetricOutput { return UpdateFleetMetricOutput() } } extension UpdateIndexingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIndexingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIndexingConfigurationOutput { return UpdateIndexingConfigurationOutput() } } extension UpdateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobOutput { return UpdateJobOutput() } } extension UpdateMitigationActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMitigationActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMitigationActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26821,35 +26821,35 @@ extension UpdateMitigationActionOutput { extension UpdatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageOutput { return UpdatePackageOutput() } } extension UpdatePackageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageConfigurationOutput { return UpdatePackageConfigurationOutput() } } extension UpdatePackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageVersionOutput { return UpdatePackageVersionOutput() } } extension UpdateProvisioningTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProvisioningTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProvisioningTemplateOutput { return UpdateProvisioningTemplateOutput() } } extension UpdateRoleAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoleAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoleAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26862,7 +26862,7 @@ extension UpdateRoleAliasOutput { extension UpdateScheduledAuditOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScheduledAuditOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScheduledAuditOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26874,7 +26874,7 @@ extension UpdateScheduledAuditOutput { extension UpdateSecurityProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26896,7 +26896,7 @@ extension UpdateSecurityProfileOutput { extension UpdateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26911,14 +26911,14 @@ extension UpdateStreamOutput { extension UpdateThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingOutput { return UpdateThingOutput() } } extension UpdateThingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26930,21 +26930,21 @@ extension UpdateThingGroupOutput { extension UpdateThingGroupsForThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThingGroupsForThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingGroupsForThingOutput { return UpdateThingGroupsForThingOutput() } } extension UpdateTopicRuleDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTopicRuleDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTopicRuleDestinationOutput { return UpdateTopicRuleDestinationOutput() } } extension ValidateSecurityProfileBehaviorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateSecurityProfileBehaviorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateSecurityProfileBehaviorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26957,7 +26957,7 @@ extension ValidateSecurityProfileBehaviorsOutput { enum AcceptCertificateTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26977,7 +26977,7 @@ enum AcceptCertificateTransferOutputError { enum AddThingToBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26994,7 +26994,7 @@ enum AddThingToBillingGroupOutputError { enum AddThingToThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27011,7 +27011,7 @@ enum AddThingToThingGroupOutputError { enum AssociateTargetsWithJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27029,7 +27029,7 @@ enum AssociateTargetsWithJobOutputError { enum AttachPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27049,7 +27049,7 @@ enum AttachPolicyOutputError { enum AttachPrincipalPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27069,7 +27069,7 @@ enum AttachPrincipalPolicyOutputError { enum AttachSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27088,7 +27088,7 @@ enum AttachSecurityProfileOutputError { enum AttachThingPrincipalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27107,7 +27107,7 @@ enum AttachThingPrincipalOutputError { enum CancelAuditMitigationActionsTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27124,7 +27124,7 @@ enum CancelAuditMitigationActionsTaskOutputError { enum CancelAuditTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27141,7 +27141,7 @@ enum CancelAuditTaskOutputError { enum CancelCertificateTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27161,7 +27161,7 @@ enum CancelCertificateTransferOutputError { enum CancelDetectMitigationActionsTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27178,7 +27178,7 @@ enum CancelDetectMitigationActionsTaskOutputError { enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27196,7 +27196,7 @@ enum CancelJobOutputError { enum CancelJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27215,7 +27215,7 @@ enum CancelJobExecutionOutputError { enum ClearDefaultAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27234,7 +27234,7 @@ enum ClearDefaultAuthorizerOutputError { enum ConfirmTopicRuleDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27252,7 +27252,7 @@ enum ConfirmTopicRuleDestinationOutputError { enum CreateAuditSuppressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27270,7 +27270,7 @@ enum CreateAuditSuppressionOutputError { enum CreateAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27290,7 +27290,7 @@ enum CreateAuthorizerOutputError { enum CreateBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27307,7 +27307,7 @@ enum CreateBillingGroupOutputError { enum CreateCertificateFromCsrOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27325,7 +27325,7 @@ enum CreateCertificateFromCsrOutputError { enum CreateCertificateProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27345,7 +27345,7 @@ enum CreateCertificateProviderOutputError { enum CreateCustomMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27363,7 +27363,7 @@ enum CreateCustomMetricOutputError { enum CreateDimensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27381,7 +27381,7 @@ enum CreateDimensionOutputError { enum CreateDomainConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27402,7 +27402,7 @@ enum CreateDomainConfigurationOutputError { enum CreateDynamicThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27422,7 +27422,7 @@ enum CreateDynamicThingGroupOutputError { enum CreateFleetMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27446,7 +27446,7 @@ enum CreateFleetMetricOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27465,7 +27465,7 @@ enum CreateJobOutputError { enum CreateJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27484,7 +27484,7 @@ enum CreateJobTemplateOutputError { enum CreateKeysAndCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27502,7 +27502,7 @@ enum CreateKeysAndCertificateOutputError { enum CreateMitigationActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27520,7 +27520,7 @@ enum CreateMitigationActionOutputError { enum CreateOTAUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27541,7 +27541,7 @@ enum CreateOTAUpdateOutputError { enum CreatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27559,7 +27559,7 @@ enum CreatePackageOutputError { enum CreatePackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27577,7 +27577,7 @@ enum CreatePackageVersionOutputError { enum CreatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27597,7 +27597,7 @@ enum CreatePolicyOutputError { enum CreatePolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27618,7 +27618,7 @@ enum CreatePolicyVersionOutputError { enum CreateProvisioningClaimOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27637,7 +27637,7 @@ enum CreateProvisioningClaimOutputError { enum CreateProvisioningTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27656,7 +27656,7 @@ enum CreateProvisioningTemplateOutputError { enum CreateProvisioningTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27676,7 +27676,7 @@ enum CreateProvisioningTemplateVersionOutputError { enum CreateRoleAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27696,7 +27696,7 @@ enum CreateRoleAliasOutputError { enum CreateScheduledAuditOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27714,7 +27714,7 @@ enum CreateScheduledAuditOutputError { enum CreateSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27731,7 +27731,7 @@ enum CreateSecurityProfileOutputError { enum CreateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27752,7 +27752,7 @@ enum CreateStreamOutputError { enum CreateThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27772,7 +27772,7 @@ enum CreateThingOutputError { enum CreateThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27789,7 +27789,7 @@ enum CreateThingGroupOutputError { enum CreateThingTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27808,7 +27808,7 @@ enum CreateThingTypeOutputError { enum CreateTopicRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27827,7 +27827,7 @@ enum CreateTopicRuleOutputError { enum CreateTopicRuleDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27845,7 +27845,7 @@ enum CreateTopicRuleDestinationOutputError { enum DeleteAccountAuditConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27862,7 +27862,7 @@ enum DeleteAccountAuditConfigurationOutputError { enum DeleteAuditSuppressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27878,7 +27878,7 @@ enum DeleteAuditSuppressionOutputError { enum DeleteAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27898,7 +27898,7 @@ enum DeleteAuthorizerOutputError { enum DeleteBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27915,7 +27915,7 @@ enum DeleteBillingGroupOutputError { enum DeleteCACertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27935,7 +27935,7 @@ enum DeleteCACertificateOutputError { enum DeleteCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27956,7 +27956,7 @@ enum DeleteCertificateOutputError { enum DeleteCertificateProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27976,7 +27976,7 @@ enum DeleteCertificateProviderOutputError { enum DeleteCustomMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27992,7 +27992,7 @@ enum DeleteCustomMetricOutputError { enum DeleteDimensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28008,7 +28008,7 @@ enum DeleteDimensionOutputError { enum DeleteDomainConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28027,7 +28027,7 @@ enum DeleteDomainConfigurationOutputError { enum DeleteDynamicThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28044,7 +28044,7 @@ enum DeleteDynamicThingGroupOutputError { enum DeleteFleetMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28063,7 +28063,7 @@ enum DeleteFleetMetricOutputError { enum DeleteJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28082,7 +28082,7 @@ enum DeleteJobOutputError { enum DeleteJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28100,7 +28100,7 @@ enum DeleteJobExecutionOutputError { enum DeleteJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28117,7 +28117,7 @@ enum DeleteJobTemplateOutputError { enum DeleteMitigationActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28133,7 +28133,7 @@ enum DeleteMitigationActionOutputError { enum DeleteOTAUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28153,7 +28153,7 @@ enum DeleteOTAUpdateOutputError { enum DeletePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28169,7 +28169,7 @@ enum DeletePackageOutputError { enum DeletePackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28185,7 +28185,7 @@ enum DeletePackageVersionOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28205,7 +28205,7 @@ enum DeletePolicyOutputError { enum DeletePolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28225,7 +28225,7 @@ enum DeletePolicyVersionOutputError { enum DeleteProvisioningTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28245,7 +28245,7 @@ enum DeleteProvisioningTemplateOutputError { enum DeleteProvisioningTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28265,7 +28265,7 @@ enum DeleteProvisioningTemplateVersionOutputError { enum DeleteRegistrationCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28283,7 +28283,7 @@ enum DeleteRegistrationCodeOutputError { enum DeleteRoleAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28303,7 +28303,7 @@ enum DeleteRoleAliasOutputError { enum DeleteScheduledAuditOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28320,7 +28320,7 @@ enum DeleteScheduledAuditOutputError { enum DeleteSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28337,7 +28337,7 @@ enum DeleteSecurityProfileOutputError { enum DeleteStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28357,7 +28357,7 @@ enum DeleteStreamOutputError { enum DeleteThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28377,7 +28377,7 @@ enum DeleteThingOutputError { enum DeleteThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28394,7 +28394,7 @@ enum DeleteThingGroupOutputError { enum DeleteThingTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28413,7 +28413,7 @@ enum DeleteThingTypeOutputError { enum DeleteTopicRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28431,7 +28431,7 @@ enum DeleteTopicRuleOutputError { enum DeleteTopicRuleDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28449,7 +28449,7 @@ enum DeleteTopicRuleDestinationOutputError { enum DeleteV2LoggingLevelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28465,7 +28465,7 @@ enum DeleteV2LoggingLevelOutputError { enum DeprecateThingTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28484,7 +28484,7 @@ enum DeprecateThingTypeOutputError { enum DescribeAccountAuditConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28499,7 +28499,7 @@ enum DescribeAccountAuditConfigurationOutputError { enum DescribeAuditFindingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28516,7 +28516,7 @@ enum DescribeAuditFindingOutputError { enum DescribeAuditMitigationActionsTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28533,7 +28533,7 @@ enum DescribeAuditMitigationActionsTaskOutputError { enum DescribeAuditSuppressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28550,7 +28550,7 @@ enum DescribeAuditSuppressionOutputError { enum DescribeAuditTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28567,7 +28567,7 @@ enum DescribeAuditTaskOutputError { enum DescribeAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28586,7 +28586,7 @@ enum DescribeAuthorizerOutputError { enum DescribeBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28603,7 +28603,7 @@ enum DescribeBillingGroupOutputError { enum DescribeCACertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28622,7 +28622,7 @@ enum DescribeCACertificateOutputError { enum DescribeCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28641,7 +28641,7 @@ enum DescribeCertificateOutputError { enum DescribeCertificateProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28660,7 +28660,7 @@ enum DescribeCertificateProviderOutputError { enum DescribeCustomMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28677,7 +28677,7 @@ enum DescribeCustomMetricOutputError { enum DescribeDefaultAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28696,7 +28696,7 @@ enum DescribeDefaultAuthorizerOutputError { enum DescribeDetectMitigationActionsTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28713,7 +28713,7 @@ enum DescribeDetectMitigationActionsTaskOutputError { enum DescribeDimensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28730,7 +28730,7 @@ enum DescribeDimensionOutputError { enum DescribeDomainConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28749,7 +28749,7 @@ enum DescribeDomainConfigurationOutputError { enum DescribeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28766,7 +28766,7 @@ enum DescribeEndpointOutputError { enum DescribeEventConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28781,7 +28781,7 @@ enum DescribeEventConfigurationsOutputError { enum DescribeFleetMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28800,7 +28800,7 @@ enum DescribeFleetMetricOutputError { enum DescribeIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28819,7 +28819,7 @@ enum DescribeIndexOutputError { enum DescribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28836,7 +28836,7 @@ enum DescribeJobOutputError { enum DescribeJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28853,7 +28853,7 @@ enum DescribeJobExecutionOutputError { enum DescribeJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28870,7 +28870,7 @@ enum DescribeJobTemplateOutputError { enum DescribeManagedJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28887,7 +28887,7 @@ enum DescribeManagedJobTemplateOutputError { enum DescribeMitigationActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28904,7 +28904,7 @@ enum DescribeMitigationActionOutputError { enum DescribeProvisioningTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28922,7 +28922,7 @@ enum DescribeProvisioningTemplateOutputError { enum DescribeProvisioningTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28940,7 +28940,7 @@ enum DescribeProvisioningTemplateVersionOutputError { enum DescribeRoleAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28959,7 +28959,7 @@ enum DescribeRoleAliasOutputError { enum DescribeScheduledAuditOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28976,7 +28976,7 @@ enum DescribeScheduledAuditOutputError { enum DescribeSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28993,7 +28993,7 @@ enum DescribeSecurityProfileOutputError { enum DescribeStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29012,7 +29012,7 @@ enum DescribeStreamOutputError { enum DescribeThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29031,7 +29031,7 @@ enum DescribeThingOutputError { enum DescribeThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29048,7 +29048,7 @@ enum DescribeThingGroupOutputError { enum DescribeThingRegistrationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29066,7 +29066,7 @@ enum DescribeThingRegistrationTaskOutputError { enum DescribeThingTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29085,7 +29085,7 @@ enum DescribeThingTypeOutputError { enum DetachPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29104,7 +29104,7 @@ enum DetachPolicyOutputError { enum DetachPrincipalPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29123,7 +29123,7 @@ enum DetachPrincipalPolicyOutputError { enum DetachSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29140,7 +29140,7 @@ enum DetachSecurityProfileOutputError { enum DetachThingPrincipalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29159,7 +29159,7 @@ enum DetachThingPrincipalOutputError { enum DisableTopicRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29177,7 +29177,7 @@ enum DisableTopicRuleOutputError { enum EnableTopicRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29195,7 +29195,7 @@ enum EnableTopicRuleOutputError { enum GetBehaviorModelTrainingSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29212,7 +29212,7 @@ enum GetBehaviorModelTrainingSummariesOutputError { enum GetBucketsAggregationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29234,7 +29234,7 @@ enum GetBucketsAggregationOutputError { enum GetCardinalityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29256,7 +29256,7 @@ enum GetCardinalityOutputError { enum GetEffectivePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29276,7 +29276,7 @@ enum GetEffectivePoliciesOutputError { enum GetIndexingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29294,7 +29294,7 @@ enum GetIndexingConfigurationOutputError { enum GetJobDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29311,7 +29311,7 @@ enum GetJobDocumentOutputError { enum GetLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29327,7 +29327,7 @@ enum GetLoggingOptionsOutputError { enum GetOTAUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29346,7 +29346,7 @@ enum GetOTAUpdateOutputError { enum GetPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29363,7 +29363,7 @@ enum GetPackageOutputError { enum GetPackageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29378,7 +29378,7 @@ enum GetPackageConfigurationOutputError { enum GetPackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29395,7 +29395,7 @@ enum GetPackageVersionOutputError { enum GetPercentilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29417,7 +29417,7 @@ enum GetPercentilesOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29436,7 +29436,7 @@ enum GetPolicyOutputError { enum GetPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29455,7 +29455,7 @@ enum GetPolicyVersionOutputError { enum GetRegistrationCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29473,7 +29473,7 @@ enum GetRegistrationCodeOutputError { enum GetStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29495,7 +29495,7 @@ enum GetStatisticsOutputError { enum GetTopicRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29512,7 +29512,7 @@ enum GetTopicRuleOutputError { enum GetTopicRuleDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29529,7 +29529,7 @@ enum GetTopicRuleDestinationOutputError { enum GetV2LoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29545,7 +29545,7 @@ enum GetV2LoggingOptionsOutputError { enum ListActiveViolationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29562,7 +29562,7 @@ enum ListActiveViolationsOutputError { enum ListAttachedPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29582,7 +29582,7 @@ enum ListAttachedPoliciesOutputError { enum ListAuditFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29598,7 +29598,7 @@ enum ListAuditFindingsOutputError { enum ListAuditMitigationActionsExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29614,7 +29614,7 @@ enum ListAuditMitigationActionsExecutionsOutputError { enum ListAuditMitigationActionsTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29630,7 +29630,7 @@ enum ListAuditMitigationActionsTasksOutputError { enum ListAuditSuppressionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29646,7 +29646,7 @@ enum ListAuditSuppressionsOutputError { enum ListAuditTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29662,7 +29662,7 @@ enum ListAuditTasksOutputError { enum ListAuthorizersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29680,7 +29680,7 @@ enum ListAuthorizersOutputError { enum ListBillingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29697,7 +29697,7 @@ enum ListBillingGroupsOutputError { enum ListCACertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29715,7 +29715,7 @@ enum ListCACertificatesOutputError { enum ListCertificateProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29733,7 +29733,7 @@ enum ListCertificateProvidersOutputError { enum ListCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29751,7 +29751,7 @@ enum ListCertificatesOutputError { enum ListCertificatesByCAOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29769,7 +29769,7 @@ enum ListCertificatesByCAOutputError { enum ListCustomMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29785,7 +29785,7 @@ enum ListCustomMetricsOutputError { enum ListDetectMitigationActionsExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29801,7 +29801,7 @@ enum ListDetectMitigationActionsExecutionsOutputError { enum ListDetectMitigationActionsTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29817,7 +29817,7 @@ enum ListDetectMitigationActionsTasksOutputError { enum ListDimensionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29833,7 +29833,7 @@ enum ListDimensionsOutputError { enum ListDomainConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29851,7 +29851,7 @@ enum ListDomainConfigurationsOutputError { enum ListFleetMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29869,7 +29869,7 @@ enum ListFleetMetricsOutputError { enum ListIndicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29887,7 +29887,7 @@ enum ListIndicesOutputError { enum ListJobExecutionsForJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29904,7 +29904,7 @@ enum ListJobExecutionsForJobOutputError { enum ListJobExecutionsForThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29921,7 +29921,7 @@ enum ListJobExecutionsForThingOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29938,7 +29938,7 @@ enum ListJobsOutputError { enum ListJobTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29954,7 +29954,7 @@ enum ListJobTemplatesOutputError { enum ListManagedJobTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29971,7 +29971,7 @@ enum ListManagedJobTemplatesOutputError { enum ListMetricValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29988,7 +29988,7 @@ enum ListMetricValuesOutputError { enum ListMitigationActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30004,7 +30004,7 @@ enum ListMitigationActionsOutputError { enum ListOTAUpdatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30022,7 +30022,7 @@ enum ListOTAUpdatesOutputError { enum ListOutgoingCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30040,7 +30040,7 @@ enum ListOutgoingCertificatesOutputError { enum ListPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30056,7 +30056,7 @@ enum ListPackagesOutputError { enum ListPackageVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30072,7 +30072,7 @@ enum ListPackageVersionsOutputError { enum ListPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30090,7 +30090,7 @@ enum ListPoliciesOutputError { enum ListPolicyPrincipalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30109,7 +30109,7 @@ enum ListPolicyPrincipalsOutputError { enum ListPolicyVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30128,7 +30128,7 @@ enum ListPolicyVersionsOutputError { enum ListPrincipalPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30147,7 +30147,7 @@ enum ListPrincipalPoliciesOutputError { enum ListPrincipalThingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30166,7 +30166,7 @@ enum ListPrincipalThingsOutputError { enum ListProvisioningTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30183,7 +30183,7 @@ enum ListProvisioningTemplatesOutputError { enum ListProvisioningTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30201,7 +30201,7 @@ enum ListProvisioningTemplateVersionsOutputError { enum ListRelatedResourcesForAuditFindingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30218,7 +30218,7 @@ enum ListRelatedResourcesForAuditFindingOutputError { enum ListRoleAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30236,7 +30236,7 @@ enum ListRoleAliasesOutputError { enum ListScheduledAuditsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30252,7 +30252,7 @@ enum ListScheduledAuditsOutputError { enum ListSecurityProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30269,7 +30269,7 @@ enum ListSecurityProfilesOutputError { enum ListSecurityProfilesForTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30286,7 +30286,7 @@ enum ListSecurityProfilesForTargetOutputError { enum ListStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30304,7 +30304,7 @@ enum ListStreamsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30321,7 +30321,7 @@ enum ListTagsForResourceOutputError { enum ListTargetsForPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30341,7 +30341,7 @@ enum ListTargetsForPolicyOutputError { enum ListTargetsForSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30358,7 +30358,7 @@ enum ListTargetsForSecurityProfileOutputError { enum ListThingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30375,7 +30375,7 @@ enum ListThingGroupsOutputError { enum ListThingGroupsForThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30392,7 +30392,7 @@ enum ListThingGroupsForThingOutputError { enum ListThingPrincipalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30411,7 +30411,7 @@ enum ListThingPrincipalsOutputError { enum ListThingRegistrationTaskReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30428,7 +30428,7 @@ enum ListThingRegistrationTaskReportsOutputError { enum ListThingRegistrationTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30445,7 +30445,7 @@ enum ListThingRegistrationTasksOutputError { enum ListThingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30463,7 +30463,7 @@ enum ListThingsOutputError { enum ListThingsInBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30480,7 +30480,7 @@ enum ListThingsInBillingGroupOutputError { enum ListThingsInThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30497,7 +30497,7 @@ enum ListThingsInThingGroupOutputError { enum ListThingTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30515,7 +30515,7 @@ enum ListThingTypesOutputError { enum ListTopicRuleDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30532,7 +30532,7 @@ enum ListTopicRuleDestinationsOutputError { enum ListTopicRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30548,7 +30548,7 @@ enum ListTopicRulesOutputError { enum ListV2LoggingLevelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30565,7 +30565,7 @@ enum ListV2LoggingLevelsOutputError { enum ListViolationEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30581,7 +30581,7 @@ enum ListViolationEventsOutputError { enum PutVerificationStateOnViolationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30597,7 +30597,7 @@ enum PutVerificationStateOnViolationOutputError { enum RegisterCACertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30620,7 +30620,7 @@ enum RegisterCACertificateOutputError { enum RegisterCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30642,7 +30642,7 @@ enum RegisterCertificateOutputError { enum RegisterCertificateWithoutCAOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30663,7 +30663,7 @@ enum RegisterCertificateWithoutCAOutputError { enum RegisterThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30683,7 +30683,7 @@ enum RegisterThingOutputError { enum RejectCertificateTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30703,7 +30703,7 @@ enum RejectCertificateTransferOutputError { enum RemoveThingFromBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30720,7 +30720,7 @@ enum RemoveThingFromBillingGroupOutputError { enum RemoveThingFromThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30737,7 +30737,7 @@ enum RemoveThingFromThingGroupOutputError { enum ReplaceTopicRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30756,7 +30756,7 @@ enum ReplaceTopicRuleOutputError { enum SearchIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30777,7 +30777,7 @@ enum SearchIndexOutputError { enum SetDefaultAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30797,7 +30797,7 @@ enum SetDefaultAuthorizerOutputError { enum SetDefaultPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30816,7 +30816,7 @@ enum SetDefaultPolicyVersionOutputError { enum SetLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30832,7 +30832,7 @@ enum SetLoggingOptionsOutputError { enum SetV2LoggingLevelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30850,7 +30850,7 @@ enum SetV2LoggingLevelOutputError { enum SetV2LoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30866,7 +30866,7 @@ enum SetV2LoggingOptionsOutputError { enum StartAuditMitigationActionsTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30884,7 +30884,7 @@ enum StartAuditMitigationActionsTaskOutputError { enum StartDetectMitigationActionsTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30902,7 +30902,7 @@ enum StartDetectMitigationActionsTaskOutputError { enum StartOnDemandAuditTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30919,7 +30919,7 @@ enum StartOnDemandAuditTaskOutputError { enum StartThingRegistrationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30936,7 +30936,7 @@ enum StartThingRegistrationTaskOutputError { enum StopThingRegistrationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30954,7 +30954,7 @@ enum StopThingRegistrationTaskOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30972,7 +30972,7 @@ enum TagResourceOutputError { enum TestAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30992,7 +30992,7 @@ enum TestAuthorizationOutputError { enum TestInvokeAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31012,7 +31012,7 @@ enum TestInvokeAuthorizerOutputError { enum TransferCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31033,7 +31033,7 @@ enum TransferCertificateOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31050,7 +31050,7 @@ enum UntagResourceOutputError { enum UpdateAccountAuditConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31066,7 +31066,7 @@ enum UpdateAccountAuditConfigurationOutputError { enum UpdateAuditSuppressionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31083,7 +31083,7 @@ enum UpdateAuditSuppressionOutputError { enum UpdateAuthorizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31103,7 +31103,7 @@ enum UpdateAuthorizerOutputError { enum UpdateBillingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31121,7 +31121,7 @@ enum UpdateBillingGroupOutputError { enum UpdateCACertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31140,7 +31140,7 @@ enum UpdateCACertificateOutputError { enum UpdateCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31160,7 +31160,7 @@ enum UpdateCertificateOutputError { enum UpdateCertificateProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31179,7 +31179,7 @@ enum UpdateCertificateProviderOutputError { enum UpdateCustomMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31196,7 +31196,7 @@ enum UpdateCustomMetricOutputError { enum UpdateDimensionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31213,7 +31213,7 @@ enum UpdateDimensionOutputError { enum UpdateDomainConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31233,7 +31233,7 @@ enum UpdateDomainConfigurationOutputError { enum UpdateDynamicThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31252,7 +31252,7 @@ enum UpdateDynamicThingGroupOutputError { enum UpdateEventConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31268,7 +31268,7 @@ enum UpdateEventConfigurationsOutputError { enum UpdateFleetMetricOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31291,7 +31291,7 @@ enum UpdateFleetMetricOutputError { enum UpdateIndexingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31309,7 +31309,7 @@ enum UpdateIndexingConfigurationOutputError { enum UpdateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31326,7 +31326,7 @@ enum UpdateJobOutputError { enum UpdateMitigationActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31343,7 +31343,7 @@ enum UpdateMitigationActionOutputError { enum UpdatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31361,7 +31361,7 @@ enum UpdatePackageOutputError { enum UpdatePackageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31378,7 +31378,7 @@ enum UpdatePackageConfigurationOutputError { enum UpdatePackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31396,7 +31396,7 @@ enum UpdatePackageVersionOutputError { enum UpdateProvisioningTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31414,7 +31414,7 @@ enum UpdateProvisioningTemplateOutputError { enum UpdateRoleAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31433,7 +31433,7 @@ enum UpdateRoleAliasOutputError { enum UpdateScheduledAuditOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31450,7 +31450,7 @@ enum UpdateScheduledAuditOutputError { enum UpdateSecurityProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31468,7 +31468,7 @@ enum UpdateSecurityProfileOutputError { enum UpdateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31487,7 +31487,7 @@ enum UpdateStreamOutputError { enum UpdateThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31507,7 +31507,7 @@ enum UpdateThingOutputError { enum UpdateThingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31525,7 +31525,7 @@ enum UpdateThingGroupOutputError { enum UpdateThingGroupsForThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31542,7 +31542,7 @@ enum UpdateThingGroupsForThingOutputError { enum UpdateTopicRuleDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -31560,7 +31560,7 @@ enum UpdateTopicRuleDestinationOutputError { enum ValidateSecurityProfileBehaviorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/Models.swift b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/Models.swift index 30e8c69bd2e..87edacad342 100644 --- a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/Models.swift +++ b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -156,7 +156,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -212,7 +212,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +269,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -322,7 +322,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -350,7 +350,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -457,7 +457,7 @@ public struct RangeNotSatisfiableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -921,7 +921,7 @@ extension UpdateDeviceStateInput { extension ClaimDevicesByClaimCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClaimDevicesByClaimCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClaimDevicesByClaimCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -934,7 +934,7 @@ extension ClaimDevicesByClaimCodeOutput { extension DescribeDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -946,7 +946,7 @@ extension DescribeDeviceOutput { extension FinalizeDeviceClaimOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FinalizeDeviceClaimOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FinalizeDeviceClaimOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -958,7 +958,7 @@ extension FinalizeDeviceClaimOutput { extension GetDeviceMethodsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceMethodsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceMethodsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -970,7 +970,7 @@ extension GetDeviceMethodsOutput { extension InitiateDeviceClaimOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateDeviceClaimOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateDeviceClaimOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -982,7 +982,7 @@ extension InitiateDeviceClaimOutput { extension InvokeDeviceMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeDeviceMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeDeviceMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -994,7 +994,7 @@ extension InvokeDeviceMethodOutput { extension ListDeviceEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1007,7 +1007,7 @@ extension ListDeviceEventsOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1020,7 +1020,7 @@ extension ListDevicesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1032,14 +1032,14 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnclaimDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnclaimDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnclaimDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1051,21 +1051,21 @@ extension UnclaimDeviceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDeviceStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceStateOutput { return UpdateDeviceStateOutput() } } enum ClaimDevicesByClaimCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1081,7 +1081,7 @@ enum ClaimDevicesByClaimCodeOutputError { enum DescribeDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1097,7 +1097,7 @@ enum DescribeDeviceOutputError { enum FinalizeDeviceClaimOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1115,7 +1115,7 @@ enum FinalizeDeviceClaimOutputError { enum GetDeviceMethodsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1131,7 +1131,7 @@ enum GetDeviceMethodsOutputError { enum InitiateDeviceClaimOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1148,7 +1148,7 @@ enum InitiateDeviceClaimOutputError { enum InvokeDeviceMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1167,7 +1167,7 @@ enum InvokeDeviceMethodOutputError { enum ListDeviceEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1184,7 +1184,7 @@ enum ListDeviceEventsOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1200,7 +1200,7 @@ enum ListDevicesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1215,7 +1215,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1231,7 +1231,7 @@ enum TagResourceOutputError { enum UnclaimDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1247,7 +1247,7 @@ enum UnclaimDeviceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1263,7 +1263,7 @@ enum UntagResourceOutputError { enum UpdateDeviceStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/Models.swift b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/Models.swift index 3fdd7285da4..8d9742526a4 100644 --- a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/Models.swift +++ b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -67,7 +67,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -284,7 +284,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1078,42 +1078,42 @@ extension UpdateProjectInput { extension AssociateDeviceWithPlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDeviceWithPlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDeviceWithPlacementOutput { return AssociateDeviceWithPlacementOutput() } } extension CreatePlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlacementOutput { return CreatePlacementOutput() } } extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { return CreateProjectOutput() } } extension DeletePlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlacementOutput { return DeletePlacementOutput() } } extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DescribePlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePlacementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1125,7 +1125,7 @@ extension DescribePlacementOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1137,14 +1137,14 @@ extension DescribeProjectOutput { extension DisassociateDeviceFromPlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDeviceFromPlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDeviceFromPlacementOutput { return DisassociateDeviceFromPlacementOutput() } } extension GetDevicesInPlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevicesInPlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevicesInPlacementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1156,7 +1156,7 @@ extension GetDevicesInPlacementOutput { extension ListPlacementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlacementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlacementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1169,7 +1169,7 @@ extension ListPlacementsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1182,7 +1182,7 @@ extension ListProjectsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1194,35 +1194,35 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePlacementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePlacementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePlacementOutput { return UpdatePlacementOutput() } } extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { return UpdateProjectOutput() } } enum AssociateDeviceWithPlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1239,7 +1239,7 @@ enum AssociateDeviceWithPlacementOutputError { enum CreatePlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1256,7 +1256,7 @@ enum CreatePlacementOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1272,7 +1272,7 @@ enum CreateProjectOutputError { enum DeletePlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1289,7 +1289,7 @@ enum DeletePlacementOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1306,7 +1306,7 @@ enum DeleteProjectOutputError { enum DescribePlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1322,7 +1322,7 @@ enum DescribePlacementOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1338,7 +1338,7 @@ enum DescribeProjectOutputError { enum DisassociateDeviceFromPlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1355,7 +1355,7 @@ enum DisassociateDeviceFromPlacementOutputError { enum GetDevicesInPlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1371,7 +1371,7 @@ enum GetDevicesInPlacementOutputError { enum ListPlacementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1387,7 +1387,7 @@ enum ListPlacementsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1402,7 +1402,7 @@ enum ListProjectsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1418,7 +1418,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1434,7 +1434,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1450,7 +1450,7 @@ enum UntagResourceOutputError { enum UpdatePlacementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1467,7 +1467,7 @@ enum UpdatePlacementOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/Models.swift b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/Models.swift index f3567e5d37b..d5ac9ab164f 100644 --- a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/Models.swift +++ b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -112,7 +112,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -208,7 +208,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -346,7 +346,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -374,7 +374,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4043,7 +4043,7 @@ extension UpdatePipelineInput { extension BatchPutMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4055,14 +4055,14 @@ extension BatchPutMessageOutput { extension CancelPipelineReprocessingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelPipelineReprocessingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelPipelineReprocessingOutput { return CancelPipelineReprocessingOutput() } } extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4076,7 +4076,7 @@ extension CreateChannelOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4090,7 +4090,7 @@ extension CreateDatasetOutput { extension CreateDatasetContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4102,7 +4102,7 @@ extension CreateDatasetContentOutput { extension CreateDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4116,7 +4116,7 @@ extension CreateDatastoreOutput { extension CreatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4129,42 +4129,42 @@ extension CreatePipelineOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { return DeleteDatasetOutput() } } extension DeleteDatasetContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetContentOutput { return DeleteDatasetContentOutput() } } extension DeleteDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatastoreOutput { return DeleteDatastoreOutput() } } extension DeletePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipelineOutput { return DeletePipelineOutput() } } extension DescribeChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4177,7 +4177,7 @@ extension DescribeChannelOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4189,7 +4189,7 @@ extension DescribeDatasetOutput { extension DescribeDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4202,7 +4202,7 @@ extension DescribeDatastoreOutput { extension DescribeLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoggingOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4214,7 +4214,7 @@ extension DescribeLoggingOptionsOutput { extension DescribePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4226,7 +4226,7 @@ extension DescribePipelineOutput { extension GetDatasetContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatasetContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatasetContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4240,7 +4240,7 @@ extension GetDatasetContentOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4253,7 +4253,7 @@ extension ListChannelsOutput { extension ListDatasetContentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetContentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetContentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4266,7 +4266,7 @@ extension ListDatasetContentsOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4279,7 +4279,7 @@ extension ListDatasetsOutput { extension ListDatastoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatastoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatastoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4292,7 +4292,7 @@ extension ListDatastoresOutput { extension ListPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4305,7 +4305,7 @@ extension ListPipelinesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4317,14 +4317,14 @@ extension ListTagsForResourceOutput { extension PutLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingOptionsOutput { return PutLoggingOptionsOutput() } } extension RunPipelineActivityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RunPipelineActivityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RunPipelineActivityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4337,7 +4337,7 @@ extension RunPipelineActivityOutput { extension SampleChannelDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SampleChannelDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SampleChannelDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4349,7 +4349,7 @@ extension SampleChannelDataOutput { extension StartPipelineReprocessingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPipelineReprocessingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPipelineReprocessingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4361,49 +4361,49 @@ extension StartPipelineReprocessingOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { return UpdateChannelOutput() } } extension UpdateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetOutput { return UpdateDatasetOutput() } } extension UpdateDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatastoreOutput { return UpdateDatastoreOutput() } } extension UpdatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineOutput { return UpdatePipelineOutput() } } enum BatchPutMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4421,7 +4421,7 @@ enum BatchPutMessageOutputError { enum CancelPipelineReprocessingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4439,7 +4439,7 @@ enum CancelPipelineReprocessingOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4458,7 +4458,7 @@ enum CreateChannelOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4477,7 +4477,7 @@ enum CreateDatasetOutputError { enum CreateDatasetContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4495,7 +4495,7 @@ enum CreateDatasetContentOutputError { enum CreateDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4514,7 +4514,7 @@ enum CreateDatastoreOutputError { enum CreatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4533,7 +4533,7 @@ enum CreatePipelineOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4551,7 +4551,7 @@ enum DeleteChannelOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4569,7 +4569,7 @@ enum DeleteDatasetOutputError { enum DeleteDatasetContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4587,7 +4587,7 @@ enum DeleteDatasetContentOutputError { enum DeleteDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4605,7 +4605,7 @@ enum DeleteDatastoreOutputError { enum DeletePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4623,7 +4623,7 @@ enum DeletePipelineOutputError { enum DescribeChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4641,7 +4641,7 @@ enum DescribeChannelOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4659,7 +4659,7 @@ enum DescribeDatasetOutputError { enum DescribeDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4677,7 +4677,7 @@ enum DescribeDatastoreOutputError { enum DescribeLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4695,7 +4695,7 @@ enum DescribeLoggingOptionsOutputError { enum DescribePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4713,7 +4713,7 @@ enum DescribePipelineOutputError { enum GetDatasetContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4731,7 +4731,7 @@ enum GetDatasetContentOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4748,7 +4748,7 @@ enum ListChannelsOutputError { enum ListDatasetContentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4766,7 +4766,7 @@ enum ListDatasetContentsOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4783,7 +4783,7 @@ enum ListDatasetsOutputError { enum ListDatastoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4800,7 +4800,7 @@ enum ListDatastoresOutputError { enum ListPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4817,7 +4817,7 @@ enum ListPipelinesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4836,7 +4836,7 @@ enum ListTagsForResourceOutputError { enum PutLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4853,7 +4853,7 @@ enum PutLoggingOptionsOutputError { enum RunPipelineActivityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4870,7 +4870,7 @@ enum RunPipelineActivityOutputError { enum SampleChannelDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4888,7 +4888,7 @@ enum SampleChannelDataOutputError { enum StartPipelineReprocessingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4907,7 +4907,7 @@ enum StartPipelineReprocessingOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4926,7 +4926,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4945,7 +4945,7 @@ enum UntagResourceOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4963,7 +4963,7 @@ enum UpdateChannelOutputError { enum UpdateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4981,7 +4981,7 @@ enum UpdateDatasetOutputError { enum UpdateDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4999,7 +4999,7 @@ enum UpdateDatastoreOutputError { enum UpdatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/Models.swift b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/Models.swift index 66dc4a46946..59c68b805c6 100644 --- a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/Models.swift +++ b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -41,7 +41,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -66,7 +66,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -91,7 +91,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -116,7 +116,7 @@ public struct MethodNotAllowedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -141,7 +141,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -166,7 +166,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -191,7 +191,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -216,7 +216,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -241,7 +241,7 @@ public struct UnsupportedDocumentEncodingException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -552,7 +552,7 @@ public struct RequestEntityTooLargeException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -802,7 +802,7 @@ extension UpdateThingShadowInput { extension DeleteThingShadowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThingShadowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThingShadowOutput { var value = DeleteThingShadowOutput() switch httpResponse.body { case .data(let data): @@ -818,7 +818,7 @@ extension DeleteThingShadowOutput { extension GetRetainedMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRetainedMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRetainedMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -834,7 +834,7 @@ extension GetRetainedMessageOutput { extension GetThingShadowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetThingShadowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetThingShadowOutput { var value = GetThingShadowOutput() switch httpResponse.body { case .data(let data): @@ -850,7 +850,7 @@ extension GetThingShadowOutput { extension ListNamedShadowsForThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNamedShadowsForThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNamedShadowsForThingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -864,7 +864,7 @@ extension ListNamedShadowsForThingOutput { extension ListRetainedMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRetainedMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRetainedMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -877,14 +877,14 @@ extension ListRetainedMessagesOutput { extension PublishOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishOutput { return PublishOutput() } } extension UpdateThingShadowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThingShadowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingShadowOutput { var value = UpdateThingShadowOutput() switch httpResponse.body { case .data(let data): @@ -900,7 +900,7 @@ extension UpdateThingShadowOutput { enum DeleteThingShadowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -921,7 +921,7 @@ enum DeleteThingShadowOutputError { enum GetRetainedMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -941,7 +941,7 @@ enum GetRetainedMessageOutputError { enum GetThingShadowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -962,7 +962,7 @@ enum GetThingShadowOutputError { enum ListNamedShadowsForThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -982,7 +982,7 @@ enum ListNamedShadowsForThingOutputError { enum ListRetainedMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1001,7 +1001,7 @@ enum ListRetainedMessagesOutputError { enum PublishOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1019,7 +1019,7 @@ enum PublishOutputError { enum UpdateThingShadowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/Models.swift b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/Models.swift index 9593401daaa..f9f81a4ad3b 100644 --- a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/Models.swift +++ b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1303,7 +1303,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1328,7 +1328,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1353,7 +1353,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1382,7 +1382,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1411,7 +1411,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1436,7 +1436,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1461,7 +1461,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2061,7 +2061,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2358,7 +2358,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3682,7 +3682,7 @@ extension UpdateInputInput { extension CreateAlarmModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAlarmModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAlarmModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3698,7 +3698,7 @@ extension CreateAlarmModelOutput { extension CreateDetectorModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDetectorModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDetectorModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3710,7 +3710,7 @@ extension CreateDetectorModelOutput { extension CreateInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3722,28 +3722,28 @@ extension CreateInputOutput { extension DeleteAlarmModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlarmModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlarmModelOutput { return DeleteAlarmModelOutput() } } extension DeleteDetectorModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDetectorModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDetectorModelOutput { return DeleteDetectorModelOutput() } } extension DeleteInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInputOutput { return DeleteInputOutput() } } extension DescribeAlarmModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlarmModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlarmModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3769,7 +3769,7 @@ extension DescribeAlarmModelOutput { extension DescribeDetectorModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDetectorModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDetectorModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3781,7 +3781,7 @@ extension DescribeDetectorModelOutput { extension DescribeDetectorModelAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDetectorModelAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDetectorModelAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3793,7 +3793,7 @@ extension DescribeDetectorModelAnalysisOutput { extension DescribeInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3805,7 +3805,7 @@ extension DescribeInputOutput { extension DescribeLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoggingOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3817,7 +3817,7 @@ extension DescribeLoggingOptionsOutput { extension GetDetectorModelAnalysisResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDetectorModelAnalysisResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDetectorModelAnalysisResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3830,7 +3830,7 @@ extension GetDetectorModelAnalysisResultsOutput { extension ListAlarmModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlarmModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlarmModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3843,7 +3843,7 @@ extension ListAlarmModelsOutput { extension ListAlarmModelVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlarmModelVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlarmModelVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3856,7 +3856,7 @@ extension ListAlarmModelVersionsOutput { extension ListDetectorModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDetectorModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDetectorModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3869,7 +3869,7 @@ extension ListDetectorModelsOutput { extension ListDetectorModelVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDetectorModelVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDetectorModelVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3882,7 +3882,7 @@ extension ListDetectorModelVersionsOutput { extension ListInputRoutingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInputRoutingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInputRoutingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3895,7 +3895,7 @@ extension ListInputRoutingsOutput { extension ListInputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3908,7 +3908,7 @@ extension ListInputsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3920,14 +3920,14 @@ extension ListTagsForResourceOutput { extension PutLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingOptionsOutput { return PutLoggingOptionsOutput() } } extension StartDetectorModelAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDetectorModelAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDetectorModelAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3939,21 +3939,21 @@ extension StartDetectorModelAnalysisOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAlarmModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAlarmModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAlarmModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3969,7 +3969,7 @@ extension UpdateAlarmModelOutput { extension UpdateDetectorModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDetectorModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDetectorModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3981,7 +3981,7 @@ extension UpdateDetectorModelOutput { extension UpdateInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3993,7 +3993,7 @@ extension UpdateInputOutput { enum CreateAlarmModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4013,7 +4013,7 @@ enum CreateAlarmModelOutputError { enum CreateDetectorModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4033,7 +4033,7 @@ enum CreateDetectorModelOutputError { enum CreateInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4051,7 +4051,7 @@ enum CreateInputOutputError { enum DeleteAlarmModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4070,7 +4070,7 @@ enum DeleteAlarmModelOutputError { enum DeleteDetectorModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4089,7 +4089,7 @@ enum DeleteDetectorModelOutputError { enum DeleteInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4108,7 +4108,7 @@ enum DeleteInputOutputError { enum DescribeAlarmModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4126,7 +4126,7 @@ enum DescribeAlarmModelOutputError { enum DescribeDetectorModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4144,7 +4144,7 @@ enum DescribeDetectorModelOutputError { enum DescribeDetectorModelAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4162,7 +4162,7 @@ enum DescribeDetectorModelAnalysisOutputError { enum DescribeInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4180,7 +4180,7 @@ enum DescribeInputOutputError { enum DescribeLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4199,7 +4199,7 @@ enum DescribeLoggingOptionsOutputError { enum GetDetectorModelAnalysisResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4217,7 +4217,7 @@ enum GetDetectorModelAnalysisResultsOutputError { enum ListAlarmModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4234,7 +4234,7 @@ enum ListAlarmModelsOutputError { enum ListAlarmModelVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4252,7 +4252,7 @@ enum ListAlarmModelVersionsOutputError { enum ListDetectorModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4269,7 +4269,7 @@ enum ListDetectorModelsOutputError { enum ListDetectorModelVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4287,7 +4287,7 @@ enum ListDetectorModelVersionsOutputError { enum ListInputRoutingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4305,7 +4305,7 @@ enum ListInputRoutingsOutputError { enum ListInputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4322,7 +4322,7 @@ enum ListInputsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4340,7 +4340,7 @@ enum ListTagsForResourceOutputError { enum PutLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4359,7 +4359,7 @@ enum PutLoggingOptionsOutputError { enum StartDetectorModelAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4377,7 +4377,7 @@ enum StartDetectorModelAnalysisOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4396,7 +4396,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4414,7 +4414,7 @@ enum UntagResourceOutputError { enum UpdateAlarmModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4433,7 +4433,7 @@ enum UpdateAlarmModelOutputError { enum UpdateDetectorModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4452,7 +4452,7 @@ enum UpdateDetectorModelOutputError { enum UpdateInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/Models.swift b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/Models.swift index 5c56143ae0e..002b66d4eff 100644 --- a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/Models.swift +++ b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -572,7 +572,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -597,7 +597,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -622,7 +622,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -647,7 +647,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1316,7 +1316,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1845,7 +1845,7 @@ extension BatchUpdateDetectorInput { extension BatchAcknowledgeAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAcknowledgeAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAcknowledgeAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1857,7 +1857,7 @@ extension BatchAcknowledgeAlarmOutput { extension BatchDeleteDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1869,7 +1869,7 @@ extension BatchDeleteDetectorOutput { extension BatchDisableAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisableAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisableAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1881,7 +1881,7 @@ extension BatchDisableAlarmOutput { extension BatchEnableAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchEnableAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchEnableAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1893,7 +1893,7 @@ extension BatchEnableAlarmOutput { extension BatchPutMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1905,7 +1905,7 @@ extension BatchPutMessageOutput { extension BatchResetAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchResetAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchResetAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1917,7 +1917,7 @@ extension BatchResetAlarmOutput { extension BatchSnoozeAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchSnoozeAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchSnoozeAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1929,7 +1929,7 @@ extension BatchSnoozeAlarmOutput { extension BatchUpdateDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1941,7 +1941,7 @@ extension BatchUpdateDetectorOutput { extension DescribeAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1953,7 +1953,7 @@ extension DescribeAlarmOutput { extension DescribeDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1965,7 +1965,7 @@ extension DescribeDetectorOutput { extension ListAlarmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlarmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlarmsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1978,7 +1978,7 @@ extension ListAlarmsOutput { extension ListDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1991,7 +1991,7 @@ extension ListDetectorsOutput { enum BatchAcknowledgeAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2008,7 +2008,7 @@ enum BatchAcknowledgeAlarmOutputError { enum BatchDeleteDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2025,7 +2025,7 @@ enum BatchDeleteDetectorOutputError { enum BatchDisableAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2042,7 +2042,7 @@ enum BatchDisableAlarmOutputError { enum BatchEnableAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2059,7 +2059,7 @@ enum BatchEnableAlarmOutputError { enum BatchPutMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2076,7 +2076,7 @@ enum BatchPutMessageOutputError { enum BatchResetAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2093,7 +2093,7 @@ enum BatchResetAlarmOutputError { enum BatchSnoozeAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2110,7 +2110,7 @@ enum BatchSnoozeAlarmOutputError { enum BatchUpdateDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2127,7 +2127,7 @@ enum BatchUpdateDetectorOutputError { enum DescribeAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2145,7 +2145,7 @@ enum DescribeAlarmOutputError { enum DescribeDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2163,7 +2163,7 @@ enum DescribeDetectorOutputError { enum ListAlarmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2181,7 +2181,7 @@ enum ListAlarmsOutputError { enum ListDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/Models.swift b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/Models.swift index 2230a25dd84..f81e706e66d 100644 --- a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/Models.swift +++ b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -115,7 +115,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -139,7 +139,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -187,7 +187,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -481,7 +481,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -669,7 +669,7 @@ extension UpdateApplicationInput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -682,14 +682,14 @@ extension CreateApplicationOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DescribeApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -712,7 +712,7 @@ extension DescribeApplicationOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -725,7 +725,7 @@ extension ListApplicationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -737,28 +737,28 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -775,7 +775,7 @@ enum CreateApplicationOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -792,7 +792,7 @@ enum DeleteApplicationOutputError { enum DescribeApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -809,7 +809,7 @@ enum DescribeApplicationOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -825,7 +825,7 @@ enum ListApplicationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -841,7 +841,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -857,7 +857,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -873,7 +873,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/Models.swift b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/Models.swift index 1547f608d2f..c3712d15ac3 100644 --- a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/Models.swift +++ b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -231,7 +231,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -264,7 +264,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -299,7 +299,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -334,7 +334,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -426,7 +426,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -874,7 +874,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1978,7 +1978,7 @@ public struct DecoderManifestValidationException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2472,7 +2472,7 @@ public struct InvalidSignalsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2725,7 +2725,7 @@ public struct InvalidNodeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6027,14 +6027,14 @@ extension UpdateVehicleInput { extension AssociateVehicleFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateVehicleFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateVehicleFleetOutput { return AssociateVehicleFleetOutput() } } extension BatchCreateVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6047,7 +6047,7 @@ extension BatchCreateVehicleOutput { extension BatchUpdateVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6060,7 +6060,7 @@ extension BatchUpdateVehicleOutput { extension CreateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6073,7 +6073,7 @@ extension CreateCampaignOutput { extension CreateDecoderManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDecoderManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDecoderManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6086,7 +6086,7 @@ extension CreateDecoderManifestOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6099,7 +6099,7 @@ extension CreateFleetOutput { extension CreateModelManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6112,7 +6112,7 @@ extension CreateModelManifestOutput { extension CreateSignalCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSignalCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSignalCatalogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6125,7 +6125,7 @@ extension CreateSignalCatalogOutput { extension CreateVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6139,7 +6139,7 @@ extension CreateVehicleOutput { extension DeleteCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6152,7 +6152,7 @@ extension DeleteCampaignOutput { extension DeleteDecoderManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDecoderManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDecoderManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6165,7 +6165,7 @@ extension DeleteDecoderManifestOutput { extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6178,7 +6178,7 @@ extension DeleteFleetOutput { extension DeleteModelManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6191,7 +6191,7 @@ extension DeleteModelManifestOutput { extension DeleteSignalCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSignalCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSignalCatalogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6204,7 +6204,7 @@ extension DeleteSignalCatalogOutput { extension DeleteVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6217,14 +6217,14 @@ extension DeleteVehicleOutput { extension DisassociateVehicleFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateVehicleFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateVehicleFleetOutput { return DisassociateVehicleFleetOutput() } } extension GetCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6254,7 +6254,7 @@ extension GetCampaignOutput { extension GetDecoderManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDecoderManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDecoderManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6273,7 +6273,7 @@ extension GetDecoderManifestOutput { extension GetEncryptionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEncryptionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEncryptionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6290,7 +6290,7 @@ extension GetEncryptionConfigurationOutput { extension GetFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6307,7 +6307,7 @@ extension GetFleetOutput { extension GetLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggingOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6319,7 +6319,7 @@ extension GetLoggingOptionsOutput { extension GetModelManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6337,7 +6337,7 @@ extension GetModelManifestOutput { extension GetRegisterAccountStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegisterAccountStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegisterAccountStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6354,7 +6354,7 @@ extension GetRegisterAccountStatusOutput { extension GetSignalCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSignalCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSignalCatalogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6371,7 +6371,7 @@ extension GetSignalCatalogOutput { extension GetVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6389,7 +6389,7 @@ extension GetVehicleOutput { extension GetVehicleStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVehicleStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVehicleStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6402,7 +6402,7 @@ extension GetVehicleStatusOutput { extension ImportDecoderManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportDecoderManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportDecoderManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6415,7 +6415,7 @@ extension ImportDecoderManifestOutput { extension ImportSignalCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportSignalCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportSignalCatalogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6428,7 +6428,7 @@ extension ImportSignalCatalogOutput { extension ListCampaignsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCampaignsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCampaignsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6441,7 +6441,7 @@ extension ListCampaignsOutput { extension ListDecoderManifestNetworkInterfacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDecoderManifestNetworkInterfacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDecoderManifestNetworkInterfacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6454,7 +6454,7 @@ extension ListDecoderManifestNetworkInterfacesOutput { extension ListDecoderManifestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDecoderManifestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDecoderManifestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6467,7 +6467,7 @@ extension ListDecoderManifestsOutput { extension ListDecoderManifestSignalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDecoderManifestSignalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDecoderManifestSignalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6480,7 +6480,7 @@ extension ListDecoderManifestSignalsOutput { extension ListFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6493,7 +6493,7 @@ extension ListFleetsOutput { extension ListFleetsForVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsForVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsForVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6506,7 +6506,7 @@ extension ListFleetsForVehicleOutput { extension ListModelManifestNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelManifestNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelManifestNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6519,7 +6519,7 @@ extension ListModelManifestNodesOutput { extension ListModelManifestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelManifestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelManifestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6532,7 +6532,7 @@ extension ListModelManifestsOutput { extension ListSignalCatalogNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSignalCatalogNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSignalCatalogNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6545,7 +6545,7 @@ extension ListSignalCatalogNodesOutput { extension ListSignalCatalogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSignalCatalogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSignalCatalogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6558,7 +6558,7 @@ extension ListSignalCatalogsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6570,7 +6570,7 @@ extension ListTagsForResourceOutput { extension ListVehiclesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVehiclesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVehiclesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6583,7 +6583,7 @@ extension ListVehiclesOutput { extension ListVehiclesInFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVehiclesInFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVehiclesInFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6596,7 +6596,7 @@ extension ListVehiclesInFleetOutput { extension PutEncryptionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEncryptionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEncryptionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6610,14 +6610,14 @@ extension PutEncryptionConfigurationOutput { extension PutLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingOptionsOutput { return PutLoggingOptionsOutput() } } extension RegisterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6633,21 +6633,21 @@ extension RegisterAccountOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6661,7 +6661,7 @@ extension UpdateCampaignOutput { extension UpdateDecoderManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDecoderManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDecoderManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6674,7 +6674,7 @@ extension UpdateDecoderManifestOutput { extension UpdateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6687,7 +6687,7 @@ extension UpdateFleetOutput { extension UpdateModelManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6700,7 +6700,7 @@ extension UpdateModelManifestOutput { extension UpdateSignalCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSignalCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSignalCatalogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6713,7 +6713,7 @@ extension UpdateSignalCatalogOutput { extension UpdateVehicleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVehicleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVehicleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6733,7 +6733,7 @@ func httpServiceError(baseError: AWSClientRuntime.AWSJSONError) throws -> Swift. enum AssociateVehicleFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6753,7 +6753,7 @@ enum AssociateVehicleFleetOutputError { enum BatchCreateVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6772,7 +6772,7 @@ enum BatchCreateVehicleOutputError { enum BatchUpdateVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6790,7 +6790,7 @@ enum BatchUpdateVehicleOutputError { enum CreateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6810,7 +6810,7 @@ enum CreateCampaignOutputError { enum CreateDecoderManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6831,7 +6831,7 @@ enum CreateDecoderManifestOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6852,7 +6852,7 @@ enum CreateFleetOutputError { enum CreateModelManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6873,7 +6873,7 @@ enum CreateModelManifestOutputError { enum CreateSignalCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6894,7 +6894,7 @@ enum CreateSignalCatalogOutputError { enum CreateVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6915,7 +6915,7 @@ enum CreateVehicleOutputError { enum DeleteCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6933,7 +6933,7 @@ enum DeleteCampaignOutputError { enum DeleteDecoderManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6952,7 +6952,7 @@ enum DeleteDecoderManifestOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6970,7 +6970,7 @@ enum DeleteFleetOutputError { enum DeleteModelManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6989,7 +6989,7 @@ enum DeleteModelManifestOutputError { enum DeleteSignalCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7008,7 +7008,7 @@ enum DeleteSignalCatalogOutputError { enum DeleteVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7026,7 +7026,7 @@ enum DeleteVehicleOutputError { enum DisassociateVehicleFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7045,7 +7045,7 @@ enum DisassociateVehicleFleetOutputError { enum GetCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7063,7 +7063,7 @@ enum GetCampaignOutputError { enum GetDecoderManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7081,7 +7081,7 @@ enum GetDecoderManifestOutputError { enum GetEncryptionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7100,7 +7100,7 @@ enum GetEncryptionConfigurationOutputError { enum GetFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7119,7 +7119,7 @@ enum GetFleetOutputError { enum GetLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7135,7 +7135,7 @@ enum GetLoggingOptionsOutputError { enum GetModelManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7153,7 +7153,7 @@ enum GetModelManifestOutputError { enum GetRegisterAccountStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7172,7 +7172,7 @@ enum GetRegisterAccountStatusOutputError { enum GetSignalCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7190,7 +7190,7 @@ enum GetSignalCatalogOutputError { enum GetVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7209,7 +7209,7 @@ enum GetVehicleOutputError { enum GetVehicleStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7227,7 +7227,7 @@ enum GetVehicleStatusOutputError { enum ImportDecoderManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7248,7 +7248,7 @@ enum ImportDecoderManifestOutputError { enum ImportSignalCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7270,7 +7270,7 @@ enum ImportSignalCatalogOutputError { enum ListCampaignsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7287,7 +7287,7 @@ enum ListCampaignsOutputError { enum ListDecoderManifestNetworkInterfacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7306,7 +7306,7 @@ enum ListDecoderManifestNetworkInterfacesOutputError { enum ListDecoderManifestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7324,7 +7324,7 @@ enum ListDecoderManifestsOutputError { enum ListDecoderManifestSignalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7343,7 +7343,7 @@ enum ListDecoderManifestSignalsOutputError { enum ListFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7362,7 +7362,7 @@ enum ListFleetsOutputError { enum ListFleetsForVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7381,7 +7381,7 @@ enum ListFleetsForVehicleOutputError { enum ListModelManifestNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7401,7 +7401,7 @@ enum ListModelManifestNodesOutputError { enum ListModelManifestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7419,7 +7419,7 @@ enum ListModelManifestsOutputError { enum ListSignalCatalogNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7439,7 +7439,7 @@ enum ListSignalCatalogNodesOutputError { enum ListSignalCatalogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7457,7 +7457,7 @@ enum ListSignalCatalogsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7476,7 +7476,7 @@ enum ListTagsForResourceOutputError { enum ListVehiclesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7494,7 +7494,7 @@ enum ListVehiclesOutputError { enum ListVehiclesInFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7513,7 +7513,7 @@ enum ListVehiclesInFleetOutputError { enum PutEncryptionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7533,7 +7533,7 @@ enum PutEncryptionConfigurationOutputError { enum PutLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7552,7 +7552,7 @@ enum PutLoggingOptionsOutputError { enum RegisterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7572,7 +7572,7 @@ enum RegisterAccountOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7591,7 +7591,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7610,7 +7610,7 @@ enum UntagResourceOutputError { enum UpdateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7629,7 +7629,7 @@ enum UpdateCampaignOutputError { enum UpdateDecoderManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7650,7 +7650,7 @@ enum UpdateDecoderManifestOutputError { enum UpdateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7670,7 +7670,7 @@ enum UpdateFleetOutputError { enum UpdateModelManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7691,7 +7691,7 @@ enum UpdateModelManifestOutputError { enum UpdateSignalCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7714,7 +7714,7 @@ enum UpdateSignalCatalogOutputError { enum UpdateVehicleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/Models.swift b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/Models.swift index 653bc8ce8a4..0ab8ad76dca 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/Models.swift +++ b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct CertificateValidationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -60,7 +60,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct TerminalStateException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -393,7 +393,7 @@ public struct InvalidStateTransitionException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -612,7 +612,7 @@ extension UpdateJobExecutionInput { extension DescribeJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -624,7 +624,7 @@ extension DescribeJobExecutionOutput { extension GetPendingJobExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPendingJobExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPendingJobExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -637,7 +637,7 @@ extension GetPendingJobExecutionsOutput { extension StartNextPendingJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartNextPendingJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartNextPendingJobExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -649,7 +649,7 @@ extension StartNextPendingJobExecutionOutput { extension UpdateJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -662,7 +662,7 @@ extension UpdateJobExecutionOutput { enum DescribeJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -681,7 +681,7 @@ enum DescribeJobExecutionOutputError { enum GetPendingJobExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -699,7 +699,7 @@ enum GetPendingJobExecutionsOutputError { enum StartNextPendingJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -717,7 +717,7 @@ enum StartNextPendingJobExecutionOutputError { enum UpdateJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/Models.swift b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/Models.swift index 20d99de243e..c1f5035a0d1 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/Models.swift +++ b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -66,7 +66,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -427,7 +427,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -734,14 +734,14 @@ extension UntagResourceInput { extension CloseTunnelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CloseTunnelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CloseTunnelOutput { return CloseTunnelOutput() } } extension DescribeTunnelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTunnelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTunnelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -753,7 +753,7 @@ extension DescribeTunnelOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -765,7 +765,7 @@ extension ListTagsForResourceOutput { extension ListTunnelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTunnelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTunnelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -778,7 +778,7 @@ extension ListTunnelsOutput { extension OpenTunnelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> OpenTunnelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> OpenTunnelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -793,7 +793,7 @@ extension OpenTunnelOutput { extension RotateTunnelAccessTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RotateTunnelAccessTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RotateTunnelAccessTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -807,21 +807,21 @@ extension RotateTunnelAccessTokenOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CloseTunnelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -835,7 +835,7 @@ enum CloseTunnelOutputError { enum DescribeTunnelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -849,7 +849,7 @@ enum DescribeTunnelOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -863,7 +863,7 @@ enum ListTagsForResourceOutputError { enum ListTunnelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -876,7 +876,7 @@ enum ListTunnelsOutputError { enum OpenTunnelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -890,7 +890,7 @@ enum OpenTunnelOutputError { enum RotateTunnelAccessTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -904,7 +904,7 @@ enum RotateTunnelAccessTokenOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -918,7 +918,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/Models.swift b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/Models.swift index cf448500508..1e005421cc4 100644 --- a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/Models.swift +++ b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -78,7 +78,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2195,7 +2195,7 @@ public struct ConflictingOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2224,7 +2224,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2249,7 +2249,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2274,7 +2274,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2305,7 +2305,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2334,7 +2334,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2359,7 +2359,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2595,7 +2595,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6390,7 +6390,7 @@ public struct QueryTimeoutException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6414,7 +6414,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7992,7 +7992,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8324,7 +8324,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10852,21 +10852,21 @@ extension UpdateProjectInput { extension AssociateAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAssetsOutput { return AssociateAssetsOutput() } } extension AssociateTimeSeriesToAssetPropertyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTimeSeriesToAssetPropertyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTimeSeriesToAssetPropertyOutput { return AssociateTimeSeriesToAssetPropertyOutput() } } extension BatchAssociateProjectAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateProjectAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateProjectAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10878,7 +10878,7 @@ extension BatchAssociateProjectAssetsOutput { extension BatchDisassociateProjectAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateProjectAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateProjectAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10890,7 +10890,7 @@ extension BatchDisassociateProjectAssetsOutput { extension BatchGetAssetPropertyAggregatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAssetPropertyAggregatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAssetPropertyAggregatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10905,7 +10905,7 @@ extension BatchGetAssetPropertyAggregatesOutput { extension BatchGetAssetPropertyValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAssetPropertyValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAssetPropertyValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10920,7 +10920,7 @@ extension BatchGetAssetPropertyValueOutput { extension BatchGetAssetPropertyValueHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAssetPropertyValueHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAssetPropertyValueHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10935,7 +10935,7 @@ extension BatchGetAssetPropertyValueHistoryOutput { extension BatchPutAssetPropertyValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutAssetPropertyValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutAssetPropertyValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10947,7 +10947,7 @@ extension BatchPutAssetPropertyValueOutput { extension CreateAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10960,7 +10960,7 @@ extension CreateAccessPolicyOutput { extension CreateAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10974,7 +10974,7 @@ extension CreateAssetOutput { extension CreateAssetModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10988,7 +10988,7 @@ extension CreateAssetModelOutput { extension CreateAssetModelCompositeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetModelCompositeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetModelCompositeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11002,7 +11002,7 @@ extension CreateAssetModelCompositeModelOutput { extension CreateBulkImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBulkImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBulkImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11016,7 +11016,7 @@ extension CreateBulkImportJobOutput { extension CreateDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11029,7 +11029,7 @@ extension CreateDashboardOutput { extension CreateGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11042,7 +11042,7 @@ extension CreateGatewayOutput { extension CreatePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11058,7 +11058,7 @@ extension CreatePortalOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11071,14 +11071,14 @@ extension CreateProjectOutput { extension DeleteAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPolicyOutput { return DeleteAccessPolicyOutput() } } extension DeleteAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11090,7 +11090,7 @@ extension DeleteAssetOutput { extension DeleteAssetModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11102,7 +11102,7 @@ extension DeleteAssetModelOutput { extension DeleteAssetModelCompositeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetModelCompositeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetModelCompositeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11114,21 +11114,21 @@ extension DeleteAssetModelCompositeModelOutput { extension DeleteDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDashboardOutput { return DeleteDashboardOutput() } } extension DeleteGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGatewayOutput { return DeleteGatewayOutput() } } extension DeletePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11140,21 +11140,21 @@ extension DeletePortalOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DeleteTimeSeriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTimeSeriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTimeSeriesOutput { return DeleteTimeSeriesOutput() } } extension DescribeAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11172,7 +11172,7 @@ extension DescribeAccessPolicyOutput { extension DescribeActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11188,7 +11188,7 @@ extension DescribeActionOutput { extension DescribeAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11212,7 +11212,7 @@ extension DescribeAssetOutput { extension DescribeAssetCompositeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetCompositeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetCompositeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11233,7 +11233,7 @@ extension DescribeAssetCompositeModelOutput { extension DescribeAssetModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11257,7 +11257,7 @@ extension DescribeAssetModelOutput { extension DescribeAssetModelCompositeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetModelCompositeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetModelCompositeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11279,7 +11279,7 @@ extension DescribeAssetModelCompositeModelOutput { extension DescribeAssetPropertyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetPropertyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetPropertyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11296,7 +11296,7 @@ extension DescribeAssetPropertyOutput { extension DescribeBulkImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBulkImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBulkImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11318,7 +11318,7 @@ extension DescribeBulkImportJobOutput { extension DescribeDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11337,7 +11337,7 @@ extension DescribeDashboardOutput { extension DescribeDefaultEncryptionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDefaultEncryptionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDefaultEncryptionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11351,7 +11351,7 @@ extension DescribeDefaultEncryptionConfigurationOutput { extension DescribeGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11369,7 +11369,7 @@ extension DescribeGatewayOutput { extension DescribeGatewayCapabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGatewayCapabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGatewayCapabilityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11384,7 +11384,7 @@ extension DescribeGatewayCapabilityConfigurationOutput { extension DescribeLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoggingOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11396,7 +11396,7 @@ extension DescribeLoggingOptionsOutput { extension DescribePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11422,7 +11422,7 @@ extension DescribePortalOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11440,7 +11440,7 @@ extension DescribeProjectOutput { extension DescribeStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorageConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11459,7 +11459,7 @@ extension DescribeStorageConfigurationOutput { extension DescribeTimeSeriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTimeSeriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTimeSeriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11479,21 +11479,21 @@ extension DescribeTimeSeriesOutput { extension DisassociateAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAssetsOutput { return DisassociateAssetsOutput() } } extension DisassociateTimeSeriesFromAssetPropertyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTimeSeriesFromAssetPropertyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTimeSeriesFromAssetPropertyOutput { return DisassociateTimeSeriesFromAssetPropertyOutput() } } extension ExecuteActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11505,7 +11505,7 @@ extension ExecuteActionOutput { extension ExecuteQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11519,7 +11519,7 @@ extension ExecuteQueryOutput { extension GetAssetPropertyAggregatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetPropertyAggregatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetPropertyAggregatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11532,7 +11532,7 @@ extension GetAssetPropertyAggregatesOutput { extension GetAssetPropertyValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetPropertyValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetPropertyValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11544,7 +11544,7 @@ extension GetAssetPropertyValueOutput { extension GetAssetPropertyValueHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetPropertyValueHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetPropertyValueHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11557,7 +11557,7 @@ extension GetAssetPropertyValueHistoryOutput { extension GetInterpolatedAssetPropertyValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInterpolatedAssetPropertyValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInterpolatedAssetPropertyValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11570,7 +11570,7 @@ extension GetInterpolatedAssetPropertyValuesOutput { extension ListAccessPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11583,7 +11583,7 @@ extension ListAccessPoliciesOutput { extension ListActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11596,7 +11596,7 @@ extension ListActionsOutput { extension ListAssetModelCompositeModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetModelCompositeModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetModelCompositeModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11609,7 +11609,7 @@ extension ListAssetModelCompositeModelsOutput { extension ListAssetModelPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetModelPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetModelPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11622,7 +11622,7 @@ extension ListAssetModelPropertiesOutput { extension ListAssetModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11635,7 +11635,7 @@ extension ListAssetModelsOutput { extension ListAssetPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11648,7 +11648,7 @@ extension ListAssetPropertiesOutput { extension ListAssetRelationshipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetRelationshipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetRelationshipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11661,7 +11661,7 @@ extension ListAssetRelationshipsOutput { extension ListAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11674,7 +11674,7 @@ extension ListAssetsOutput { extension ListAssociatedAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11687,7 +11687,7 @@ extension ListAssociatedAssetsOutput { extension ListBulkImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBulkImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBulkImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11700,7 +11700,7 @@ extension ListBulkImportJobsOutput { extension ListCompositionRelationshipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCompositionRelationshipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCompositionRelationshipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11713,7 +11713,7 @@ extension ListCompositionRelationshipsOutput { extension ListDashboardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDashboardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDashboardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11726,7 +11726,7 @@ extension ListDashboardsOutput { extension ListGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11739,7 +11739,7 @@ extension ListGatewaysOutput { extension ListPortalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPortalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPortalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11752,7 +11752,7 @@ extension ListPortalsOutput { extension ListProjectAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11765,7 +11765,7 @@ extension ListProjectAssetsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11778,7 +11778,7 @@ extension ListProjectsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11790,7 +11790,7 @@ extension ListTagsForResourceOutput { extension ListTimeSeriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTimeSeriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTimeSeriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11803,7 +11803,7 @@ extension ListTimeSeriesOutput { extension PutDefaultEncryptionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDefaultEncryptionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDefaultEncryptionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11817,14 +11817,14 @@ extension PutDefaultEncryptionConfigurationOutput { extension PutLoggingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingOptionsOutput { return PutLoggingOptionsOutput() } } extension PutStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutStorageConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11842,28 +11842,28 @@ extension PutStorageConfigurationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessPolicyOutput { return UpdateAccessPolicyOutput() } } extension UpdateAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11875,7 +11875,7 @@ extension UpdateAssetOutput { extension UpdateAssetModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssetModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssetModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11887,7 +11887,7 @@ extension UpdateAssetModelOutput { extension UpdateAssetModelCompositeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssetModelCompositeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssetModelCompositeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11900,28 +11900,28 @@ extension UpdateAssetModelCompositeModelOutput { extension UpdateAssetPropertyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssetPropertyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssetPropertyOutput { return UpdateAssetPropertyOutput() } } extension UpdateDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDashboardOutput { return UpdateDashboardOutput() } } extension UpdateGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayOutput { return UpdateGatewayOutput() } } extension UpdateGatewayCapabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayCapabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayCapabilityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11934,7 +11934,7 @@ extension UpdateGatewayCapabilityConfigurationOutput { extension UpdatePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11946,14 +11946,14 @@ extension UpdatePortalOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { return UpdateProjectOutput() } } enum AssociateAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11973,7 +11973,7 @@ enum AssociateAssetsOutputError { enum AssociateTimeSeriesToAssetPropertyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11991,7 +11991,7 @@ enum AssociateTimeSeriesToAssetPropertyOutputError { enum BatchAssociateProjectAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12009,7 +12009,7 @@ enum BatchAssociateProjectAssetsOutputError { enum BatchDisassociateProjectAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12026,7 +12026,7 @@ enum BatchDisassociateProjectAssetsOutputError { enum BatchGetAssetPropertyAggregatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12043,7 +12043,7 @@ enum BatchGetAssetPropertyAggregatesOutputError { enum BatchGetAssetPropertyValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12060,7 +12060,7 @@ enum BatchGetAssetPropertyValueOutputError { enum BatchGetAssetPropertyValueHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12077,7 +12077,7 @@ enum BatchGetAssetPropertyValueHistoryOutputError { enum BatchPutAssetPropertyValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12097,7 +12097,7 @@ enum BatchPutAssetPropertyValueOutputError { enum CreateAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12115,7 +12115,7 @@ enum CreateAccessPolicyOutputError { enum CreateAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12135,7 +12135,7 @@ enum CreateAssetOutputError { enum CreateAssetModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12155,7 +12155,7 @@ enum CreateAssetModelOutputError { enum CreateAssetModelCompositeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12175,7 +12175,7 @@ enum CreateAssetModelCompositeModelOutputError { enum CreateBulkImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12195,7 +12195,7 @@ enum CreateBulkImportJobOutputError { enum CreateDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12213,7 +12213,7 @@ enum CreateDashboardOutputError { enum CreateGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12231,7 +12231,7 @@ enum CreateGatewayOutputError { enum CreatePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12249,7 +12249,7 @@ enum CreatePortalOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12267,7 +12267,7 @@ enum CreateProjectOutputError { enum DeleteAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12284,7 +12284,7 @@ enum DeleteAccessPolicyOutputError { enum DeleteAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12302,7 +12302,7 @@ enum DeleteAssetOutputError { enum DeleteAssetModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12320,7 +12320,7 @@ enum DeleteAssetModelOutputError { enum DeleteAssetModelCompositeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12338,7 +12338,7 @@ enum DeleteAssetModelCompositeModelOutputError { enum DeleteDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12355,7 +12355,7 @@ enum DeleteDashboardOutputError { enum DeleteGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12372,7 +12372,7 @@ enum DeleteGatewayOutputError { enum DeletePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12390,7 +12390,7 @@ enum DeletePortalOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12407,7 +12407,7 @@ enum DeleteProjectOutputError { enum DeleteTimeSeriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12425,7 +12425,7 @@ enum DeleteTimeSeriesOutputError { enum DescribeAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12442,7 +12442,7 @@ enum DescribeAccessPolicyOutputError { enum DescribeActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12459,7 +12459,7 @@ enum DescribeActionOutputError { enum DescribeAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12476,7 +12476,7 @@ enum DescribeAssetOutputError { enum DescribeAssetCompositeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12493,7 +12493,7 @@ enum DescribeAssetCompositeModelOutputError { enum DescribeAssetModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12510,7 +12510,7 @@ enum DescribeAssetModelOutputError { enum DescribeAssetModelCompositeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12527,7 +12527,7 @@ enum DescribeAssetModelCompositeModelOutputError { enum DescribeAssetPropertyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12544,7 +12544,7 @@ enum DescribeAssetPropertyOutputError { enum DescribeBulkImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12561,7 +12561,7 @@ enum DescribeBulkImportJobOutputError { enum DescribeDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12578,7 +12578,7 @@ enum DescribeDashboardOutputError { enum DescribeDefaultEncryptionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12594,7 +12594,7 @@ enum DescribeDefaultEncryptionConfigurationOutputError { enum DescribeGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12611,7 +12611,7 @@ enum DescribeGatewayOutputError { enum DescribeGatewayCapabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12628,7 +12628,7 @@ enum DescribeGatewayCapabilityConfigurationOutputError { enum DescribeLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12645,7 +12645,7 @@ enum DescribeLoggingOptionsOutputError { enum DescribePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12662,7 +12662,7 @@ enum DescribePortalOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12679,7 +12679,7 @@ enum DescribeProjectOutputError { enum DescribeStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12698,7 +12698,7 @@ enum DescribeStorageConfigurationOutputError { enum DescribeTimeSeriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12715,7 +12715,7 @@ enum DescribeTimeSeriesOutputError { enum DisassociateAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12733,7 +12733,7 @@ enum DisassociateAssetsOutputError { enum DisassociateTimeSeriesFromAssetPropertyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12751,7 +12751,7 @@ enum DisassociateTimeSeriesFromAssetPropertyOutputError { enum ExecuteActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12770,7 +12770,7 @@ enum ExecuteActionOutputError { enum ExecuteQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12790,7 +12790,7 @@ enum ExecuteQueryOutputError { enum GetAssetPropertyAggregatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12808,7 +12808,7 @@ enum GetAssetPropertyAggregatesOutputError { enum GetAssetPropertyValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12826,7 +12826,7 @@ enum GetAssetPropertyValueOutputError { enum GetAssetPropertyValueHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12844,7 +12844,7 @@ enum GetAssetPropertyValueHistoryOutputError { enum GetInterpolatedAssetPropertyValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12862,7 +12862,7 @@ enum GetInterpolatedAssetPropertyValuesOutputError { enum ListAccessPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12878,7 +12878,7 @@ enum ListAccessPoliciesOutputError { enum ListActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12895,7 +12895,7 @@ enum ListActionsOutputError { enum ListAssetModelCompositeModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12912,7 +12912,7 @@ enum ListAssetModelCompositeModelsOutputError { enum ListAssetModelPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12929,7 +12929,7 @@ enum ListAssetModelPropertiesOutputError { enum ListAssetModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12945,7 +12945,7 @@ enum ListAssetModelsOutputError { enum ListAssetPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12962,7 +12962,7 @@ enum ListAssetPropertiesOutputError { enum ListAssetRelationshipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12979,7 +12979,7 @@ enum ListAssetRelationshipsOutputError { enum ListAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12996,7 +12996,7 @@ enum ListAssetsOutputError { enum ListAssociatedAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13013,7 +13013,7 @@ enum ListAssociatedAssetsOutputError { enum ListBulkImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13030,7 +13030,7 @@ enum ListBulkImportJobsOutputError { enum ListCompositionRelationshipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13047,7 +13047,7 @@ enum ListCompositionRelationshipsOutputError { enum ListDashboardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13063,7 +13063,7 @@ enum ListDashboardsOutputError { enum ListGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13079,7 +13079,7 @@ enum ListGatewaysOutputError { enum ListPortalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13095,7 +13095,7 @@ enum ListPortalsOutputError { enum ListProjectAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13111,7 +13111,7 @@ enum ListProjectAssetsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13127,7 +13127,7 @@ enum ListProjectsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13147,7 +13147,7 @@ enum ListTagsForResourceOutputError { enum ListTimeSeriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13164,7 +13164,7 @@ enum ListTimeSeriesOutputError { enum PutDefaultEncryptionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13182,7 +13182,7 @@ enum PutDefaultEncryptionConfigurationOutputError { enum PutLoggingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13200,7 +13200,7 @@ enum PutLoggingOptionsOutputError { enum PutStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13220,7 +13220,7 @@ enum PutStorageConfigurationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13241,7 +13241,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13261,7 +13261,7 @@ enum UntagResourceOutputError { enum UpdateAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13278,7 +13278,7 @@ enum UpdateAccessPolicyOutputError { enum UpdateAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13297,7 +13297,7 @@ enum UpdateAssetOutputError { enum UpdateAssetModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13317,7 +13317,7 @@ enum UpdateAssetModelOutputError { enum UpdateAssetModelCompositeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13337,7 +13337,7 @@ enum UpdateAssetModelCompositeModelOutputError { enum UpdateAssetPropertyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13355,7 +13355,7 @@ enum UpdateAssetPropertyOutputError { enum UpdateDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13372,7 +13372,7 @@ enum UpdateDashboardOutputError { enum UpdateGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13390,7 +13390,7 @@ enum UpdateGatewayOutputError { enum UpdateGatewayCapabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13409,7 +13409,7 @@ enum UpdateGatewayCapabilityConfigurationOutputError { enum UpdatePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13427,7 +13427,7 @@ enum UpdatePortalOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/Models.swift b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/Models.swift index 79f3b3d44da..a1e12bae051 100644 --- a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/Models.swift +++ b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -583,7 +583,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2810,14 +2810,14 @@ extension UploadEntityDefinitionsInput { extension AssociateEntityToThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateEntityToThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateEntityToThingOutput { return AssociateEntityToThingOutput() } } extension CreateFlowTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFlowTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2829,7 +2829,7 @@ extension CreateFlowTemplateOutput { extension CreateSystemInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSystemInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSystemInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2841,7 +2841,7 @@ extension CreateSystemInstanceOutput { extension CreateSystemTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSystemTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSystemTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2853,14 +2853,14 @@ extension CreateSystemTemplateOutput { extension DeleteFlowTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFlowTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowTemplateOutput { return DeleteFlowTemplateOutput() } } extension DeleteNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2873,21 +2873,21 @@ extension DeleteNamespaceOutput { extension DeleteSystemInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSystemInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSystemInstanceOutput { return DeleteSystemInstanceOutput() } } extension DeleteSystemTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSystemTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSystemTemplateOutput { return DeleteSystemTemplateOutput() } } extension DeploySystemInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeploySystemInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeploySystemInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2900,21 +2900,21 @@ extension DeploySystemInstanceOutput { extension DeprecateFlowTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprecateFlowTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprecateFlowTemplateOutput { return DeprecateFlowTemplateOutput() } } extension DeprecateSystemTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprecateSystemTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprecateSystemTemplateOutput { return DeprecateSystemTemplateOutput() } } extension DescribeNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2930,14 +2930,14 @@ extension DescribeNamespaceOutput { extension DissociateEntityFromThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DissociateEntityFromThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DissociateEntityFromThingOutput { return DissociateEntityFromThingOutput() } } extension GetEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2949,7 +2949,7 @@ extension GetEntitiesOutput { extension GetFlowTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFlowTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2961,7 +2961,7 @@ extension GetFlowTemplateOutput { extension GetFlowTemplateRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFlowTemplateRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFlowTemplateRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2974,7 +2974,7 @@ extension GetFlowTemplateRevisionsOutput { extension GetNamespaceDeletionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNamespaceDeletionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNamespaceDeletionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2990,7 +2990,7 @@ extension GetNamespaceDeletionStatusOutput { extension GetSystemInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSystemInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSystemInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3002,7 +3002,7 @@ extension GetSystemInstanceOutput { extension GetSystemTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSystemTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSystemTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3014,7 +3014,7 @@ extension GetSystemTemplateOutput { extension GetSystemTemplateRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSystemTemplateRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSystemTemplateRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3027,7 +3027,7 @@ extension GetSystemTemplateRevisionsOutput { extension GetUploadStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUploadStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUploadStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3045,7 +3045,7 @@ extension GetUploadStatusOutput { extension ListFlowExecutionMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlowExecutionMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowExecutionMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3058,7 +3058,7 @@ extension ListFlowExecutionMessagesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3071,7 +3071,7 @@ extension ListTagsForResourceOutput { extension SearchEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3084,7 +3084,7 @@ extension SearchEntitiesOutput { extension SearchFlowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchFlowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchFlowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3097,7 +3097,7 @@ extension SearchFlowExecutionsOutput { extension SearchFlowTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchFlowTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchFlowTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3110,7 +3110,7 @@ extension SearchFlowTemplatesOutput { extension SearchSystemInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchSystemInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchSystemInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3123,7 +3123,7 @@ extension SearchSystemInstancesOutput { extension SearchSystemTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchSystemTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchSystemTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3136,7 +3136,7 @@ extension SearchSystemTemplatesOutput { extension SearchThingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchThingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchThingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3149,14 +3149,14 @@ extension SearchThingsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UndeploySystemInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UndeploySystemInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UndeploySystemInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3168,14 +3168,14 @@ extension UndeploySystemInstanceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateFlowTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3187,7 +3187,7 @@ extension UpdateFlowTemplateOutput { extension UpdateSystemTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSystemTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSystemTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3199,7 +3199,7 @@ extension UpdateSystemTemplateOutput { extension UploadEntityDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadEntityDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadEntityDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3211,7 +3211,7 @@ extension UploadEntityDefinitionsOutput { enum AssociateEntityToThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3228,7 +3228,7 @@ enum AssociateEntityToThingOutputError { enum CreateFlowTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3246,7 +3246,7 @@ enum CreateFlowTemplateOutputError { enum CreateSystemInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3264,7 +3264,7 @@ enum CreateSystemInstanceOutputError { enum CreateSystemTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3281,7 +3281,7 @@ enum CreateSystemTemplateOutputError { enum DeleteFlowTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3298,7 +3298,7 @@ enum DeleteFlowTemplateOutputError { enum DeleteNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3313,7 +3313,7 @@ enum DeleteNamespaceOutputError { enum DeleteSystemInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3330,7 +3330,7 @@ enum DeleteSystemInstanceOutputError { enum DeleteSystemTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3347,7 +3347,7 @@ enum DeleteSystemTemplateOutputError { enum DeploySystemInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3365,7 +3365,7 @@ enum DeploySystemInstanceOutputError { enum DeprecateFlowTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3382,7 +3382,7 @@ enum DeprecateFlowTemplateOutputError { enum DeprecateSystemTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3399,7 +3399,7 @@ enum DeprecateSystemTemplateOutputError { enum DescribeNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3416,7 +3416,7 @@ enum DescribeNamespaceOutputError { enum DissociateEntityFromThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3433,7 +3433,7 @@ enum DissociateEntityFromThingOutputError { enum GetEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3450,7 +3450,7 @@ enum GetEntitiesOutputError { enum GetFlowTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3467,7 +3467,7 @@ enum GetFlowTemplateOutputError { enum GetFlowTemplateRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3484,7 +3484,7 @@ enum GetFlowTemplateRevisionsOutputError { enum GetNamespaceDeletionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3500,7 +3500,7 @@ enum GetNamespaceDeletionStatusOutputError { enum GetSystemInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3517,7 +3517,7 @@ enum GetSystemInstanceOutputError { enum GetSystemTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3534,7 +3534,7 @@ enum GetSystemTemplateOutputError { enum GetSystemTemplateRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3551,7 +3551,7 @@ enum GetSystemTemplateRevisionsOutputError { enum GetUploadStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3568,7 +3568,7 @@ enum GetUploadStatusOutputError { enum ListFlowExecutionMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3585,7 +3585,7 @@ enum ListFlowExecutionMessagesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3602,7 +3602,7 @@ enum ListTagsForResourceOutputError { enum SearchEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3618,7 +3618,7 @@ enum SearchEntitiesOutputError { enum SearchFlowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3635,7 +3635,7 @@ enum SearchFlowExecutionsOutputError { enum SearchFlowTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3651,7 +3651,7 @@ enum SearchFlowTemplatesOutputError { enum SearchSystemInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3667,7 +3667,7 @@ enum SearchSystemInstancesOutputError { enum SearchSystemTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3683,7 +3683,7 @@ enum SearchSystemTemplatesOutputError { enum SearchThingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3700,7 +3700,7 @@ enum SearchThingsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3717,7 +3717,7 @@ enum TagResourceOutputError { enum UndeploySystemInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3735,7 +3735,7 @@ enum UndeploySystemInstanceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3752,7 +3752,7 @@ enum UntagResourceOutputError { enum UpdateFlowTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3769,7 +3769,7 @@ enum UpdateFlowTemplateOutputError { enum UpdateSystemTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3786,7 +3786,7 @@ enum UpdateSystemTemplateOutputError { enum UploadEntityDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/Models.swift b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/Models.swift index 336d93af286..4fcc782fd79 100644 --- a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/Models.swift +++ b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/Models.swift @@ -9,7 +9,7 @@ import Foundation import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -135,7 +135,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -212,7 +212,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -444,7 +444,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1578,7 +1578,7 @@ public struct QueryTimeoutException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2182,7 +2182,7 @@ public struct ConnectorFailureException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2206,7 +2206,7 @@ public struct ConnectorTimeoutException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3460,7 +3460,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5698,7 +5698,7 @@ extension UpdateWorkspaceInput { extension BatchPutPropertyValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutPropertyValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutPropertyValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5710,7 +5710,7 @@ extension BatchPutPropertyValuesOutput { extension CancelMetadataTransferJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMetadataTransferJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMetadataTransferJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5726,7 +5726,7 @@ extension CancelMetadataTransferJobOutput { extension CreateComponentTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComponentTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComponentTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5740,7 +5740,7 @@ extension CreateComponentTypeOutput { extension CreateEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5755,7 +5755,7 @@ extension CreateEntityOutput { extension CreateMetadataTransferJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMetadataTransferJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMetadataTransferJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5770,7 +5770,7 @@ extension CreateMetadataTransferJobOutput { extension CreateSceneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSceneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSceneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5783,7 +5783,7 @@ extension CreateSceneOutput { extension CreateSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSyncJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5797,7 +5797,7 @@ extension CreateSyncJobOutput { extension CreateWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5810,7 +5810,7 @@ extension CreateWorkspaceOutput { extension DeleteComponentTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComponentTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComponentTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5822,7 +5822,7 @@ extension DeleteComponentTypeOutput { extension DeleteEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5834,14 +5834,14 @@ extension DeleteEntityOutput { extension DeleteSceneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSceneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSceneOutput { return DeleteSceneOutput() } } extension DeleteSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSyncJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5853,7 +5853,7 @@ extension DeleteSyncJobOutput { extension DeleteWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5865,7 +5865,7 @@ extension DeleteWorkspaceOutput { extension ExecuteQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5879,7 +5879,7 @@ extension ExecuteQueryOutput { extension GetComponentTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5907,7 +5907,7 @@ extension GetComponentTypeOutput { extension GetEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5931,7 +5931,7 @@ extension GetEntityOutput { extension GetMetadataTransferJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetadataTransferJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetadataTransferJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5953,7 +5953,7 @@ extension GetMetadataTransferJobOutput { extension GetPricingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPricingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPricingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5966,7 +5966,7 @@ extension GetPricingPlanOutput { extension GetPropertyValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPropertyValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPropertyValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5980,7 +5980,7 @@ extension GetPropertyValueOutput { extension GetPropertyValueHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPropertyValueHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPropertyValueHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5993,7 +5993,7 @@ extension GetPropertyValueHistoryOutput { extension GetSceneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSceneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSceneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6015,7 +6015,7 @@ extension GetSceneOutput { extension GetSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSyncJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6033,7 +6033,7 @@ extension GetSyncJobOutput { extension GetWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6052,7 +6052,7 @@ extension GetWorkspaceOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6065,7 +6065,7 @@ extension ListComponentsOutput { extension ListComponentTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6080,7 +6080,7 @@ extension ListComponentTypesOutput { extension ListEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6093,7 +6093,7 @@ extension ListEntitiesOutput { extension ListMetadataTransferJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetadataTransferJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetadataTransferJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6106,7 +6106,7 @@ extension ListMetadataTransferJobsOutput { extension ListPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6119,7 +6119,7 @@ extension ListPropertiesOutput { extension ListScenesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScenesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScenesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6132,7 +6132,7 @@ extension ListScenesOutput { extension ListSyncJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSyncJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSyncJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6145,7 +6145,7 @@ extension ListSyncJobsOutput { extension ListSyncResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSyncResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSyncResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6158,7 +6158,7 @@ extension ListSyncResourcesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6171,7 +6171,7 @@ extension ListTagsForResourceOutput { extension ListWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6184,21 +6184,21 @@ extension ListWorkspacesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateComponentTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateComponentTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateComponentTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6213,7 +6213,7 @@ extension UpdateComponentTypeOutput { extension UpdateEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6226,7 +6226,7 @@ extension UpdateEntityOutput { extension UpdatePricingPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePricingPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePricingPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6239,7 +6239,7 @@ extension UpdatePricingPlanOutput { extension UpdateSceneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSceneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSceneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6251,7 +6251,7 @@ extension UpdateSceneOutput { extension UpdateWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6263,7 +6263,7 @@ extension UpdateWorkspaceOutput { enum BatchPutPropertyValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6280,7 +6280,7 @@ enum BatchPutPropertyValuesOutputError { enum CancelMetadataTransferJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6299,7 +6299,7 @@ enum CancelMetadataTransferJobOutputError { enum CreateComponentTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6318,7 +6318,7 @@ enum CreateComponentTypeOutputError { enum CreateEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6337,7 +6337,7 @@ enum CreateEntityOutputError { enum CreateMetadataTransferJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6357,7 +6357,7 @@ enum CreateMetadataTransferJobOutputError { enum CreateSceneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6376,7 +6376,7 @@ enum CreateSceneOutputError { enum CreateSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6395,7 +6395,7 @@ enum CreateSyncJobOutputError { enum CreateWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6414,7 +6414,7 @@ enum CreateWorkspaceOutputError { enum DeleteComponentTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6432,7 +6432,7 @@ enum DeleteComponentTypeOutputError { enum DeleteEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6450,7 +6450,7 @@ enum DeleteEntityOutputError { enum DeleteSceneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6468,7 +6468,7 @@ enum DeleteSceneOutputError { enum DeleteSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6487,7 +6487,7 @@ enum DeleteSyncJobOutputError { enum DeleteWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6505,7 +6505,7 @@ enum DeleteWorkspaceOutputError { enum ExecuteQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6524,7 +6524,7 @@ enum ExecuteQueryOutputError { enum GetComponentTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6542,7 +6542,7 @@ enum GetComponentTypeOutputError { enum GetEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6560,7 +6560,7 @@ enum GetEntityOutputError { enum GetMetadataTransferJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6578,7 +6578,7 @@ enum GetMetadataTransferJobOutputError { enum GetPricingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6595,7 +6595,7 @@ enum GetPricingPlanOutputError { enum GetPropertyValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6615,7 +6615,7 @@ enum GetPropertyValueOutputError { enum GetPropertyValueHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6635,7 +6635,7 @@ enum GetPropertyValueHistoryOutputError { enum GetSceneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6653,7 +6653,7 @@ enum GetSceneOutputError { enum GetSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6672,7 +6672,7 @@ enum GetSyncJobOutputError { enum GetWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6690,7 +6690,7 @@ enum GetWorkspaceOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6708,7 +6708,7 @@ enum ListComponentsOutputError { enum ListComponentTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6725,7 +6725,7 @@ enum ListComponentTypesOutputError { enum ListEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6742,7 @@ enum ListEntitiesOutputError { enum ListMetadataTransferJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6759,7 +6759,7 @@ enum ListMetadataTransferJobsOutputError { enum ListPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6777,7 +6777,7 @@ enum ListPropertiesOutputError { enum ListScenesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6794,7 +6794,7 @@ enum ListScenesOutputError { enum ListSyncJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6812,7 +6812,7 @@ enum ListSyncJobsOutputError { enum ListSyncResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6830,7 +6830,7 @@ enum ListSyncResourcesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6845,7 +6845,7 @@ enum ListTagsForResourceOutputError { enum ListWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6862,7 +6862,7 @@ enum ListWorkspacesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6878,7 +6878,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6893,7 +6893,7 @@ enum UntagResourceOutputError { enum UpdateComponentTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6912,7 +6912,7 @@ enum UpdateComponentTypeOutputError { enum UpdateEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6932,7 +6932,7 @@ enum UpdateEntityOutputError { enum UpdatePricingPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6949,7 +6949,7 @@ enum UpdatePricingPlanOutputError { enum UpdateSceneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6967,7 +6967,7 @@ enum UpdateSceneOutputError { enum UpdateWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/Models.swift b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/Models.swift index 664e7fe2749..a2b8523ce78 100644 --- a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/Models.swift +++ b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -134,7 +134,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -264,7 +264,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -292,7 +292,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -320,7 +320,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -348,7 +348,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -372,7 +372,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8128,7 +8128,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10911,7 +10911,7 @@ extension UpdateWirelessGatewayInput { extension AssociateAwsAccountWithPartnerAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAwsAccountWithPartnerAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAwsAccountWithPartnerAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10924,35 +10924,35 @@ extension AssociateAwsAccountWithPartnerAccountOutput { extension AssociateMulticastGroupWithFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMulticastGroupWithFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMulticastGroupWithFuotaTaskOutput { return AssociateMulticastGroupWithFuotaTaskOutput() } } extension AssociateWirelessDeviceWithFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWirelessDeviceWithFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWirelessDeviceWithFuotaTaskOutput { return AssociateWirelessDeviceWithFuotaTaskOutput() } } extension AssociateWirelessDeviceWithMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWirelessDeviceWithMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWirelessDeviceWithMulticastGroupOutput { return AssociateWirelessDeviceWithMulticastGroupOutput() } } extension AssociateWirelessDeviceWithThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWirelessDeviceWithThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWirelessDeviceWithThingOutput { return AssociateWirelessDeviceWithThingOutput() } } extension AssociateWirelessGatewayWithCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWirelessGatewayWithCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWirelessGatewayWithCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10964,21 +10964,21 @@ extension AssociateWirelessGatewayWithCertificateOutput { extension AssociateWirelessGatewayWithThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWirelessGatewayWithThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWirelessGatewayWithThingOutput { return AssociateWirelessGatewayWithThingOutput() } } extension CancelMulticastGroupSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMulticastGroupSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMulticastGroupSessionOutput { return CancelMulticastGroupSessionOutput() } } extension CreateDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10991,7 +10991,7 @@ extension CreateDestinationOutput { extension CreateDeviceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeviceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeviceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11004,7 +11004,7 @@ extension CreateDeviceProfileOutput { extension CreateFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFuotaTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11017,7 +11017,7 @@ extension CreateFuotaTaskOutput { extension CreateMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMulticastGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11030,7 +11030,7 @@ extension CreateMulticastGroupOutput { extension CreateNetworkAnalyzerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkAnalyzerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkAnalyzerConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11043,7 +11043,7 @@ extension CreateNetworkAnalyzerConfigurationOutput { extension CreateServiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11056,7 +11056,7 @@ extension CreateServiceProfileOutput { extension CreateWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWirelessDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11069,7 +11069,7 @@ extension CreateWirelessDeviceOutput { extension CreateWirelessGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWirelessGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWirelessGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11082,7 +11082,7 @@ extension CreateWirelessGatewayOutput { extension CreateWirelessGatewayTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWirelessGatewayTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWirelessGatewayTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11095,7 +11095,7 @@ extension CreateWirelessGatewayTaskOutput { extension CreateWirelessGatewayTaskDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWirelessGatewayTaskDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWirelessGatewayTaskDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11108,147 +11108,147 @@ extension CreateWirelessGatewayTaskDefinitionOutput { extension DeleteDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDestinationOutput { return DeleteDestinationOutput() } } extension DeleteDeviceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeviceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeviceProfileOutput { return DeleteDeviceProfileOutput() } } extension DeleteFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFuotaTaskOutput { return DeleteFuotaTaskOutput() } } extension DeleteMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMulticastGroupOutput { return DeleteMulticastGroupOutput() } } extension DeleteNetworkAnalyzerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkAnalyzerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkAnalyzerConfigurationOutput { return DeleteNetworkAnalyzerConfigurationOutput() } } extension DeleteQueuedMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueuedMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueuedMessagesOutput { return DeleteQueuedMessagesOutput() } } extension DeleteServiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceProfileOutput { return DeleteServiceProfileOutput() } } extension DeleteWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWirelessDeviceOutput { return DeleteWirelessDeviceOutput() } } extension DeleteWirelessDeviceImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWirelessDeviceImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWirelessDeviceImportTaskOutput { return DeleteWirelessDeviceImportTaskOutput() } } extension DeleteWirelessGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWirelessGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWirelessGatewayOutput { return DeleteWirelessGatewayOutput() } } extension DeleteWirelessGatewayTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWirelessGatewayTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWirelessGatewayTaskOutput { return DeleteWirelessGatewayTaskOutput() } } extension DeleteWirelessGatewayTaskDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWirelessGatewayTaskDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWirelessGatewayTaskDefinitionOutput { return DeleteWirelessGatewayTaskDefinitionOutput() } } extension DeregisterWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterWirelessDeviceOutput { return DeregisterWirelessDeviceOutput() } } extension DisassociateAwsAccountFromPartnerAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAwsAccountFromPartnerAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAwsAccountFromPartnerAccountOutput { return DisassociateAwsAccountFromPartnerAccountOutput() } } extension DisassociateMulticastGroupFromFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMulticastGroupFromFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMulticastGroupFromFuotaTaskOutput { return DisassociateMulticastGroupFromFuotaTaskOutput() } } extension DisassociateWirelessDeviceFromFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWirelessDeviceFromFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWirelessDeviceFromFuotaTaskOutput { return DisassociateWirelessDeviceFromFuotaTaskOutput() } } extension DisassociateWirelessDeviceFromMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWirelessDeviceFromMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWirelessDeviceFromMulticastGroupOutput { return DisassociateWirelessDeviceFromMulticastGroupOutput() } } extension DisassociateWirelessDeviceFromThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWirelessDeviceFromThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWirelessDeviceFromThingOutput { return DisassociateWirelessDeviceFromThingOutput() } } extension DisassociateWirelessGatewayFromCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWirelessGatewayFromCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWirelessGatewayFromCertificateOutput { return DisassociateWirelessGatewayFromCertificateOutput() } } extension DisassociateWirelessGatewayFromThingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWirelessGatewayFromThingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWirelessGatewayFromThingOutput { return DisassociateWirelessGatewayFromThingOutput() } } extension GetDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11265,7 +11265,7 @@ extension GetDestinationOutput { extension GetDeviceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11281,7 +11281,7 @@ extension GetDeviceProfileOutput { extension GetEventConfigurationByResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventConfigurationByResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventConfigurationByResourceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11297,7 +11297,7 @@ extension GetEventConfigurationByResourceTypesOutput { extension GetFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFuotaTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11320,7 +11320,7 @@ extension GetFuotaTaskOutput { extension GetLogLevelsByResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLogLevelsByResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLogLevelsByResourceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11334,7 +11334,7 @@ extension GetLogLevelsByResourceTypesOutput { extension GetMetricConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11346,7 +11346,7 @@ extension GetMetricConfigurationOutput { extension GetMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11358,7 +11358,7 @@ extension GetMetricsOutput { extension GetMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMulticastGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11376,7 +11376,7 @@ extension GetMulticastGroupOutput { extension GetMulticastGroupSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMulticastGroupSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMulticastGroupSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11388,7 +11388,7 @@ extension GetMulticastGroupSessionOutput { extension GetNetworkAnalyzerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkAnalyzerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkAnalyzerConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11406,7 +11406,7 @@ extension GetNetworkAnalyzerConfigurationOutput { extension GetPartnerAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPartnerAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPartnerAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11419,7 +11419,7 @@ extension GetPartnerAccountOutput { extension GetPositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11436,7 +11436,7 @@ extension GetPositionOutput { extension GetPositionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPositionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPositionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11449,7 +11449,7 @@ extension GetPositionConfigurationOutput { extension GetPositionEstimateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPositionEstimateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPositionEstimateOutput { var value = GetPositionEstimateOutput() switch httpResponse.body { case .data(let data): @@ -11465,7 +11465,7 @@ extension GetPositionEstimateOutput { extension GetResourceEventConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceEventConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceEventConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11481,7 +11481,7 @@ extension GetResourceEventConfigurationOutput { extension GetResourceLogLevelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceLogLevelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceLogLevelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11493,7 +11493,7 @@ extension GetResourceLogLevelOutput { extension GetResourcePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePositionOutput { var value = GetResourcePositionOutput() switch httpResponse.body { case .data(let data): @@ -11509,7 +11509,7 @@ extension GetResourcePositionOutput { extension GetServiceEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11523,7 +11523,7 @@ extension GetServiceEndpointOutput { extension GetServiceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11538,7 +11538,7 @@ extension GetServiceProfileOutput { extension GetWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11560,7 +11560,7 @@ extension GetWirelessDeviceOutput { extension GetWirelessDeviceImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessDeviceImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessDeviceImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11582,7 +11582,7 @@ extension GetWirelessDeviceImportTaskOutput { extension GetWirelessDeviceStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessDeviceStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessDeviceStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11597,7 +11597,7 @@ extension GetWirelessDeviceStatisticsOutput { extension GetWirelessGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11615,7 +11615,7 @@ extension GetWirelessGatewayOutput { extension GetWirelessGatewayCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessGatewayCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessGatewayCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11628,7 +11628,7 @@ extension GetWirelessGatewayCertificateOutput { extension GetWirelessGatewayFirmwareInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessGatewayFirmwareInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessGatewayFirmwareInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11640,7 +11640,7 @@ extension GetWirelessGatewayFirmwareInformationOutput { extension GetWirelessGatewayStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessGatewayStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessGatewayStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11654,7 +11654,7 @@ extension GetWirelessGatewayStatisticsOutput { extension GetWirelessGatewayTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessGatewayTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessGatewayTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11670,7 +11670,7 @@ extension GetWirelessGatewayTaskOutput { extension GetWirelessGatewayTaskDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWirelessGatewayTaskDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWirelessGatewayTaskDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11685,7 +11685,7 @@ extension GetWirelessGatewayTaskDefinitionOutput { extension ListDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11698,7 +11698,7 @@ extension ListDestinationsOutput { extension ListDeviceProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11711,7 +11711,7 @@ extension ListDeviceProfilesOutput { extension ListDevicesForWirelessDeviceImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesForWirelessDeviceImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesForWirelessDeviceImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11725,7 +11725,7 @@ extension ListDevicesForWirelessDeviceImportTaskOutput { extension ListEventConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11738,7 +11738,7 @@ extension ListEventConfigurationsOutput { extension ListFuotaTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFuotaTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFuotaTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11751,7 +11751,7 @@ extension ListFuotaTasksOutput { extension ListMulticastGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMulticastGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMulticastGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11764,7 +11764,7 @@ extension ListMulticastGroupsOutput { extension ListMulticastGroupsByFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMulticastGroupsByFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMulticastGroupsByFuotaTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11777,7 +11777,7 @@ extension ListMulticastGroupsByFuotaTaskOutput { extension ListNetworkAnalyzerConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworkAnalyzerConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworkAnalyzerConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11790,7 +11790,7 @@ extension ListNetworkAnalyzerConfigurationsOutput { extension ListPartnerAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartnerAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartnerAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11803,7 +11803,7 @@ extension ListPartnerAccountsOutput { extension ListPositionConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPositionConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPositionConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11816,7 +11816,7 @@ extension ListPositionConfigurationsOutput { extension ListQueuedMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueuedMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueuedMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11829,7 +11829,7 @@ extension ListQueuedMessagesOutput { extension ListServiceProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11842,7 +11842,7 @@ extension ListServiceProfilesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11854,7 +11854,7 @@ extension ListTagsForResourceOutput { extension ListWirelessDeviceImportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWirelessDeviceImportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWirelessDeviceImportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11867,7 +11867,7 @@ extension ListWirelessDeviceImportTasksOutput { extension ListWirelessDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWirelessDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWirelessDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11880,7 +11880,7 @@ extension ListWirelessDevicesOutput { extension ListWirelessGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWirelessGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWirelessGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11893,7 +11893,7 @@ extension ListWirelessGatewaysOutput { extension ListWirelessGatewayTaskDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWirelessGatewayTaskDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWirelessGatewayTaskDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11906,35 +11906,35 @@ extension ListWirelessGatewayTaskDefinitionsOutput { extension PutPositionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPositionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPositionConfigurationOutput { return PutPositionConfigurationOutput() } } extension PutResourceLogLevelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourceLogLevelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourceLogLevelOutput { return PutResourceLogLevelOutput() } } extension ResetAllResourceLogLevelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetAllResourceLogLevelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetAllResourceLogLevelsOutput { return ResetAllResourceLogLevelsOutput() } } extension ResetResourceLogLevelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetResourceLogLevelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetResourceLogLevelOutput { return ResetResourceLogLevelOutput() } } extension SendDataToMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendDataToMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendDataToMulticastGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11946,7 +11946,7 @@ extension SendDataToMulticastGroupOutput { extension SendDataToWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendDataToWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendDataToWirelessDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11958,35 +11958,35 @@ extension SendDataToWirelessDeviceOutput { extension StartBulkAssociateWirelessDeviceWithMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBulkAssociateWirelessDeviceWithMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBulkAssociateWirelessDeviceWithMulticastGroupOutput { return StartBulkAssociateWirelessDeviceWithMulticastGroupOutput() } } extension StartBulkDisassociateWirelessDeviceFromMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBulkDisassociateWirelessDeviceFromMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBulkDisassociateWirelessDeviceFromMulticastGroupOutput { return StartBulkDisassociateWirelessDeviceFromMulticastGroupOutput() } } extension StartFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFuotaTaskOutput { return StartFuotaTaskOutput() } } extension StartMulticastGroupSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMulticastGroupSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMulticastGroupSessionOutput { return StartMulticastGroupSessionOutput() } } extension StartSingleWirelessDeviceImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSingleWirelessDeviceImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSingleWirelessDeviceImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11999,7 +11999,7 @@ extension StartSingleWirelessDeviceImportTaskOutput { extension StartWirelessDeviceImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWirelessDeviceImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWirelessDeviceImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12012,14 +12012,14 @@ extension StartWirelessDeviceImportTaskOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestWirelessDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12031,112 +12031,112 @@ extension TestWirelessDeviceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDestinationOutput { return UpdateDestinationOutput() } } extension UpdateEventConfigurationByResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventConfigurationByResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventConfigurationByResourceTypesOutput { return UpdateEventConfigurationByResourceTypesOutput() } } extension UpdateFuotaTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFuotaTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFuotaTaskOutput { return UpdateFuotaTaskOutput() } } extension UpdateLogLevelsByResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLogLevelsByResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLogLevelsByResourceTypesOutput { return UpdateLogLevelsByResourceTypesOutput() } } extension UpdateMetricConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMetricConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMetricConfigurationOutput { return UpdateMetricConfigurationOutput() } } extension UpdateMulticastGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMulticastGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMulticastGroupOutput { return UpdateMulticastGroupOutput() } } extension UpdateNetworkAnalyzerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNetworkAnalyzerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkAnalyzerConfigurationOutput { return UpdateNetworkAnalyzerConfigurationOutput() } } extension UpdatePartnerAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePartnerAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePartnerAccountOutput { return UpdatePartnerAccountOutput() } } extension UpdatePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePositionOutput { return UpdatePositionOutput() } } extension UpdateResourceEventConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceEventConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceEventConfigurationOutput { return UpdateResourceEventConfigurationOutput() } } extension UpdateResourcePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourcePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourcePositionOutput { return UpdateResourcePositionOutput() } } extension UpdateWirelessDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWirelessDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWirelessDeviceOutput { return UpdateWirelessDeviceOutput() } } extension UpdateWirelessDeviceImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWirelessDeviceImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWirelessDeviceImportTaskOutput { return UpdateWirelessDeviceImportTaskOutput() } } extension UpdateWirelessGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWirelessGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWirelessGatewayOutput { return UpdateWirelessGatewayOutput() } } enum AssociateAwsAccountWithPartnerAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12155,7 +12155,7 @@ enum AssociateAwsAccountWithPartnerAccountOutputError { enum AssociateMulticastGroupWithFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12174,7 +12174,7 @@ enum AssociateMulticastGroupWithFuotaTaskOutputError { enum AssociateWirelessDeviceWithFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12193,7 +12193,7 @@ enum AssociateWirelessDeviceWithFuotaTaskOutputError { enum AssociateWirelessDeviceWithMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12212,7 +12212,7 @@ enum AssociateWirelessDeviceWithMulticastGroupOutputError { enum AssociateWirelessDeviceWithThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12231,7 +12231,7 @@ enum AssociateWirelessDeviceWithThingOutputError { enum AssociateWirelessGatewayWithCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12250,7 +12250,7 @@ enum AssociateWirelessGatewayWithCertificateOutputError { enum AssociateWirelessGatewayWithThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12269,7 +12269,7 @@ enum AssociateWirelessGatewayWithThingOutputError { enum CancelMulticastGroupSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12288,7 +12288,7 @@ enum CancelMulticastGroupSessionOutputError { enum CreateDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12307,7 +12307,7 @@ enum CreateDestinationOutputError { enum CreateDeviceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12325,7 +12325,7 @@ enum CreateDeviceProfileOutputError { enum CreateFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12344,7 +12344,7 @@ enum CreateFuotaTaskOutputError { enum CreateMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12363,7 +12363,7 @@ enum CreateMulticastGroupOutputError { enum CreateNetworkAnalyzerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12382,7 +12382,7 @@ enum CreateNetworkAnalyzerConfigurationOutputError { enum CreateServiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12400,7 +12400,7 @@ enum CreateServiceProfileOutputError { enum CreateWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12419,7 +12419,7 @@ enum CreateWirelessDeviceOutputError { enum CreateWirelessGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12437,7 +12437,7 @@ enum CreateWirelessGatewayOutputError { enum CreateWirelessGatewayTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12456,7 +12456,7 @@ enum CreateWirelessGatewayTaskOutputError { enum CreateWirelessGatewayTaskDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12475,7 +12475,7 @@ enum CreateWirelessGatewayTaskDefinitionOutputError { enum DeleteDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12494,7 +12494,7 @@ enum DeleteDestinationOutputError { enum DeleteDeviceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12513,7 +12513,7 @@ enum DeleteDeviceProfileOutputError { enum DeleteFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12531,7 +12531,7 @@ enum DeleteFuotaTaskOutputError { enum DeleteMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12550,7 +12550,7 @@ enum DeleteMulticastGroupOutputError { enum DeleteNetworkAnalyzerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12569,7 +12569,7 @@ enum DeleteNetworkAnalyzerConfigurationOutputError { enum DeleteQueuedMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12587,7 +12587,7 @@ enum DeleteQueuedMessagesOutputError { enum DeleteServiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12606,7 +12606,7 @@ enum DeleteServiceProfileOutputError { enum DeleteWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12624,7 +12624,7 @@ enum DeleteWirelessDeviceOutputError { enum DeleteWirelessDeviceImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12643,7 +12643,7 @@ enum DeleteWirelessDeviceImportTaskOutputError { enum DeleteWirelessGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12661,7 +12661,7 @@ enum DeleteWirelessGatewayOutputError { enum DeleteWirelessGatewayTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12679,7 +12679,7 @@ enum DeleteWirelessGatewayTaskOutputError { enum DeleteWirelessGatewayTaskDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12697,7 +12697,7 @@ enum DeleteWirelessGatewayTaskDefinitionOutputError { enum DeregisterWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12714,7 +12714,7 @@ enum DeregisterWirelessDeviceOutputError { enum DisassociateAwsAccountFromPartnerAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12731,7 +12731,7 @@ enum DisassociateAwsAccountFromPartnerAccountOutputError { enum DisassociateMulticastGroupFromFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12749,7 +12749,7 @@ enum DisassociateMulticastGroupFromFuotaTaskOutputError { enum DisassociateWirelessDeviceFromFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12768,7 +12768,7 @@ enum DisassociateWirelessDeviceFromFuotaTaskOutputError { enum DisassociateWirelessDeviceFromMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12786,7 +12786,7 @@ enum DisassociateWirelessDeviceFromMulticastGroupOutputError { enum DisassociateWirelessDeviceFromThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12805,7 +12805,7 @@ enum DisassociateWirelessDeviceFromThingOutputError { enum DisassociateWirelessGatewayFromCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12823,7 +12823,7 @@ enum DisassociateWirelessGatewayFromCertificateOutputError { enum DisassociateWirelessGatewayFromThingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12842,7 +12842,7 @@ enum DisassociateWirelessGatewayFromThingOutputError { enum GetDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12860,7 +12860,7 @@ enum GetDestinationOutputError { enum GetDeviceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12878,7 +12878,7 @@ enum GetDeviceProfileOutputError { enum GetEventConfigurationByResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12894,7 +12894,7 @@ enum GetEventConfigurationByResourceTypesOutputError { enum GetFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12912,7 +12912,7 @@ enum GetFuotaTaskOutputError { enum GetLogLevelsByResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12930,7 +12930,7 @@ enum GetLogLevelsByResourceTypesOutputError { enum GetMetricConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12949,7 +12949,7 @@ enum GetMetricConfigurationOutputError { enum GetMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12968,7 +12968,7 @@ enum GetMetricsOutputError { enum GetMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12986,7 +12986,7 @@ enum GetMulticastGroupOutputError { enum GetMulticastGroupSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13004,7 +13004,7 @@ enum GetMulticastGroupSessionOutputError { enum GetNetworkAnalyzerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13022,7 +13022,7 @@ enum GetNetworkAnalyzerConfigurationOutputError { enum GetPartnerAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13039,7 +13039,7 @@ enum GetPartnerAccountOutputError { enum GetPositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13057,7 +13057,7 @@ enum GetPositionOutputError { enum GetPositionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13075,7 +13075,7 @@ enum GetPositionConfigurationOutputError { enum GetPositionEstimateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13093,7 +13093,7 @@ enum GetPositionEstimateOutputError { enum GetResourceEventConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13111,7 +13111,7 @@ enum GetResourceEventConfigurationOutputError { enum GetResourceLogLevelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13129,7 +13129,7 @@ enum GetResourceLogLevelOutputError { enum GetResourcePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13147,7 +13147,7 @@ enum GetResourcePositionOutputError { enum GetServiceEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13164,7 +13164,7 @@ enum GetServiceEndpointOutputError { enum GetServiceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13182,7 +13182,7 @@ enum GetServiceProfileOutputError { enum GetWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13200,7 +13200,7 @@ enum GetWirelessDeviceOutputError { enum GetWirelessDeviceImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13219,7 +13219,7 @@ enum GetWirelessDeviceImportTaskOutputError { enum GetWirelessDeviceStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13237,7 +13237,7 @@ enum GetWirelessDeviceStatisticsOutputError { enum GetWirelessGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13255,7 +13255,7 @@ enum GetWirelessGatewayOutputError { enum GetWirelessGatewayCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13273,7 +13273,7 @@ enum GetWirelessGatewayCertificateOutputError { enum GetWirelessGatewayFirmwareInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13291,7 +13291,7 @@ enum GetWirelessGatewayFirmwareInformationOutputError { enum GetWirelessGatewayStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13309,7 +13309,7 @@ enum GetWirelessGatewayStatisticsOutputError { enum GetWirelessGatewayTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13327,7 +13327,7 @@ enum GetWirelessGatewayTaskOutputError { enum GetWirelessGatewayTaskDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13345,7 +13345,7 @@ enum GetWirelessGatewayTaskDefinitionOutputError { enum ListDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13362,7 +13362,7 @@ enum ListDestinationsOutputError { enum ListDeviceProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13379,7 +13379,7 @@ enum ListDeviceProfilesOutputError { enum ListDevicesForWirelessDeviceImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13398,7 +13398,7 @@ enum ListDevicesForWirelessDeviceImportTaskOutputError { enum ListEventConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13415,7 +13415,7 @@ enum ListEventConfigurationsOutputError { enum ListFuotaTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13432,7 +13432,7 @@ enum ListFuotaTasksOutputError { enum ListMulticastGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13449,7 +13449,7 @@ enum ListMulticastGroupsOutputError { enum ListMulticastGroupsByFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13467,7 +13467,7 @@ enum ListMulticastGroupsByFuotaTaskOutputError { enum ListNetworkAnalyzerConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13484,7 +13484,7 @@ enum ListNetworkAnalyzerConfigurationsOutputError { enum ListPartnerAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13501,7 +13501,7 @@ enum ListPartnerAccountsOutputError { enum ListPositionConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13518,7 +13518,7 @@ enum ListPositionConfigurationsOutputError { enum ListQueuedMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13536,7 +13536,7 @@ enum ListQueuedMessagesOutputError { enum ListServiceProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13553,7 +13553,7 @@ enum ListServiceProfilesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13571,7 +13571,7 @@ enum ListTagsForResourceOutputError { enum ListWirelessDeviceImportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13590,7 +13590,7 @@ enum ListWirelessDeviceImportTasksOutputError { enum ListWirelessDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13607,7 +13607,7 @@ enum ListWirelessDevicesOutputError { enum ListWirelessGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13624,7 +13624,7 @@ enum ListWirelessGatewaysOutputError { enum ListWirelessGatewayTaskDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13641,7 +13641,7 @@ enum ListWirelessGatewayTaskDefinitionsOutputError { enum PutPositionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13659,7 +13659,7 @@ enum PutPositionConfigurationOutputError { enum PutResourceLogLevelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13677,7 +13677,7 @@ enum PutResourceLogLevelOutputError { enum ResetAllResourceLogLevelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13695,7 +13695,7 @@ enum ResetAllResourceLogLevelsOutputError { enum ResetResourceLogLevelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13713,7 +13713,7 @@ enum ResetResourceLogLevelOutputError { enum SendDataToMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13732,7 +13732,7 @@ enum SendDataToMulticastGroupOutputError { enum SendDataToWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13749,7 +13749,7 @@ enum SendDataToWirelessDeviceOutputError { enum StartBulkAssociateWirelessDeviceWithMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13767,7 +13767,7 @@ enum StartBulkAssociateWirelessDeviceWithMulticastGroupOutputError { enum StartBulkDisassociateWirelessDeviceFromMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13785,7 +13785,7 @@ enum StartBulkDisassociateWirelessDeviceFromMulticastGroupOutputError { enum StartFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13804,7 +13804,7 @@ enum StartFuotaTaskOutputError { enum StartMulticastGroupSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13823,7 +13823,7 @@ enum StartMulticastGroupSessionOutputError { enum StartSingleWirelessDeviceImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13842,7 +13842,7 @@ enum StartSingleWirelessDeviceImportTaskOutputError { enum StartWirelessDeviceImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13861,7 +13861,7 @@ enum StartWirelessDeviceImportTaskOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13880,7 +13880,7 @@ enum TagResourceOutputError { enum TestWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13897,7 +13897,7 @@ enum TestWirelessDeviceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13915,7 +13915,7 @@ enum UntagResourceOutputError { enum UpdateDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13933,7 +13933,7 @@ enum UpdateDestinationOutputError { enum UpdateEventConfigurationByResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13950,7 +13950,7 @@ enum UpdateEventConfigurationByResourceTypesOutputError { enum UpdateFuotaTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13969,7 +13969,7 @@ enum UpdateFuotaTaskOutputError { enum UpdateLogLevelsByResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13988,7 +13988,7 @@ enum UpdateLogLevelsByResourceTypesOutputError { enum UpdateMetricConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14007,7 +14007,7 @@ enum UpdateMetricConfigurationOutputError { enum UpdateMulticastGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14026,7 +14026,7 @@ enum UpdateMulticastGroupOutputError { enum UpdateNetworkAnalyzerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14044,7 +14044,7 @@ enum UpdateNetworkAnalyzerConfigurationOutputError { enum UpdatePartnerAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14061,7 +14061,7 @@ enum UpdatePartnerAccountOutputError { enum UpdatePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14079,7 +14079,7 @@ enum UpdatePositionOutputError { enum UpdateResourceEventConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14098,7 +14098,7 @@ enum UpdateResourceEventConfigurationOutputError { enum UpdateResourcePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14116,7 +14116,7 @@ enum UpdateResourcePositionOutputError { enum UpdateWirelessDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14134,7 +14134,7 @@ enum UpdateWirelessDeviceOutputError { enum UpdateWirelessDeviceImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -14153,7 +14153,7 @@ enum UpdateWirelessDeviceImportTaskOutputError { enum UpdateWirelessGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/Models.swift b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/Models.swift index 577101718c0..461f7f5519d 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/Models.swift +++ b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -65,7 +65,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -90,7 +90,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -115,7 +115,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -301,7 +301,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1494,7 +1494,7 @@ extension UpdateSuiteDefinitionInput { extension CreateSuiteDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSuiteDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSuiteDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1509,14 +1509,14 @@ extension CreateSuiteDefinitionOutput { extension DeleteSuiteDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSuiteDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSuiteDefinitionOutput { return DeleteSuiteDefinitionOutput() } } extension GetEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1528,7 +1528,7 @@ extension GetEndpointOutput { extension GetSuiteDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSuiteDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSuiteDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1547,7 +1547,7 @@ extension GetSuiteDefinitionOutput { extension GetSuiteRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSuiteRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSuiteRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1569,7 +1569,7 @@ extension GetSuiteRunOutput { extension GetSuiteRunReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSuiteRunReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSuiteRunReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1581,7 +1581,7 @@ extension GetSuiteRunReportOutput { extension ListSuiteDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSuiteDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSuiteDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1594,7 +1594,7 @@ extension ListSuiteDefinitionsOutput { extension ListSuiteRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSuiteRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSuiteRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1607,7 +1607,7 @@ extension ListSuiteRunsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1619,7 +1619,7 @@ extension ListTagsForResourceOutput { extension StartSuiteRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSuiteRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSuiteRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1634,28 +1634,28 @@ extension StartSuiteRunOutput { extension StopSuiteRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSuiteRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSuiteRunOutput { return StopSuiteRunOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateSuiteDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSuiteDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSuiteDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1672,7 +1672,7 @@ extension UpdateSuiteDefinitionOutput { enum CreateSuiteDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1687,7 +1687,7 @@ enum CreateSuiteDefinitionOutputError { enum DeleteSuiteDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1702,7 +1702,7 @@ enum DeleteSuiteDefinitionOutputError { enum GetEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1718,7 +1718,7 @@ enum GetEndpointOutputError { enum GetSuiteDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1734,7 +1734,7 @@ enum GetSuiteDefinitionOutputError { enum GetSuiteRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1750,7 +1750,7 @@ enum GetSuiteRunOutputError { enum GetSuiteRunReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1766,7 +1766,7 @@ enum GetSuiteRunReportOutputError { enum ListSuiteDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1781,7 +1781,7 @@ enum ListSuiteDefinitionsOutputError { enum ListSuiteRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1796,7 +1796,7 @@ enum ListSuiteRunsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1812,7 +1812,7 @@ enum ListTagsForResourceOutputError { enum StartSuiteRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1828,7 +1828,7 @@ enum StartSuiteRunOutputError { enum StopSuiteRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1844,7 +1844,7 @@ enum StopSuiteRunOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1860,7 +1860,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1876,7 +1876,7 @@ enum UntagResourceOutputError { enum UpdateSuiteDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIvs/Sources/AWSIvs/Models.swift b/Sources/Services/AWSIvs/Sources/AWSIvs/Models.swift index bfb4c967c86..f1c5782655d 100644 --- a/Sources/Services/AWSIvs/Sources/AWSIvs/Models.swift +++ b/Sources/Services/AWSIvs/Sources/AWSIvs/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -63,7 +63,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -385,7 +385,7 @@ public struct PendingVerification: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -410,7 +410,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -435,7 +435,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -541,7 +541,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -566,7 +566,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -730,7 +730,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -755,7 +755,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1372,7 +1372,7 @@ public struct ChannelNotBroadcasting: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2353,7 +2353,7 @@ public struct StreamUnavailable: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3112,7 +3112,7 @@ extension UpdatePlaybackRestrictionPolicyInput { extension BatchGetChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3125,7 +3125,7 @@ extension BatchGetChannelOutput { extension BatchGetStreamKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetStreamKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetStreamKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3138,7 +3138,7 @@ extension BatchGetStreamKeyOutput { extension BatchStartViewerSessionRevocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchStartViewerSessionRevocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchStartViewerSessionRevocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3150,7 +3150,7 @@ extension BatchStartViewerSessionRevocationOutput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3163,7 +3163,7 @@ extension CreateChannelOutput { extension CreatePlaybackRestrictionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlaybackRestrictionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlaybackRestrictionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3175,7 +3175,7 @@ extension CreatePlaybackRestrictionPolicyOutput { extension CreateRecordingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecordingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecordingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3187,7 +3187,7 @@ extension CreateRecordingConfigurationOutput { extension CreateStreamKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3199,42 +3199,42 @@ extension CreateStreamKeyOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeletePlaybackKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlaybackKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlaybackKeyPairOutput { return DeletePlaybackKeyPairOutput() } } extension DeletePlaybackRestrictionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlaybackRestrictionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlaybackRestrictionPolicyOutput { return DeletePlaybackRestrictionPolicyOutput() } } extension DeleteRecordingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecordingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecordingConfigurationOutput { return DeleteRecordingConfigurationOutput() } } extension DeleteStreamKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamKeyOutput { return DeleteStreamKeyOutput() } } extension GetChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3246,7 +3246,7 @@ extension GetChannelOutput { extension GetPlaybackKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPlaybackKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPlaybackKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3258,7 +3258,7 @@ extension GetPlaybackKeyPairOutput { extension GetPlaybackRestrictionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPlaybackRestrictionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPlaybackRestrictionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3270,7 +3270,7 @@ extension GetPlaybackRestrictionPolicyOutput { extension GetRecordingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecordingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecordingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3282,7 +3282,7 @@ extension GetRecordingConfigurationOutput { extension GetStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3294,7 +3294,7 @@ extension GetStreamOutput { extension GetStreamKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3306,7 +3306,7 @@ extension GetStreamKeyOutput { extension GetStreamSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3318,7 +3318,7 @@ extension GetStreamSessionOutput { extension ImportPlaybackKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportPlaybackKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportPlaybackKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3330,7 +3330,7 @@ extension ImportPlaybackKeyPairOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3343,7 +3343,7 @@ extension ListChannelsOutput { extension ListPlaybackKeyPairsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlaybackKeyPairsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlaybackKeyPairsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3356,7 +3356,7 @@ extension ListPlaybackKeyPairsOutput { extension ListPlaybackRestrictionPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlaybackRestrictionPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlaybackRestrictionPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3369,7 +3369,7 @@ extension ListPlaybackRestrictionPoliciesOutput { extension ListRecordingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecordingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecordingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3382,7 +3382,7 @@ extension ListRecordingConfigurationsOutput { extension ListStreamKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3395,7 +3395,7 @@ extension ListStreamKeysOutput { extension ListStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3408,7 +3408,7 @@ extension ListStreamsOutput { extension ListStreamSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3421,7 +3421,7 @@ extension ListStreamSessionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3433,42 +3433,42 @@ extension ListTagsForResourceOutput { extension PutMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetadataOutput { return PutMetadataOutput() } } extension StartViewerSessionRevocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartViewerSessionRevocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartViewerSessionRevocationOutput { return StartViewerSessionRevocationOutput() } } extension StopStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopStreamOutput { return StopStreamOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3480,7 +3480,7 @@ extension UpdateChannelOutput { extension UpdatePlaybackRestrictionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePlaybackRestrictionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePlaybackRestrictionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3492,7 +3492,7 @@ extension UpdatePlaybackRestrictionPolicyOutput { enum BatchGetChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3505,7 +3505,7 @@ enum BatchGetChannelOutputError { enum BatchGetStreamKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3518,7 +3518,7 @@ enum BatchGetStreamKeyOutputError { enum BatchStartViewerSessionRevocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3535,7 +3535,7 @@ enum BatchStartViewerSessionRevocationOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3553,7 +3553,7 @@ enum CreateChannelOutputError { enum CreatePlaybackRestrictionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3571,7 +3571,7 @@ enum CreatePlaybackRestrictionPolicyOutputError { enum CreateRecordingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3590,7 +3590,7 @@ enum CreateRecordingConfigurationOutputError { enum CreateStreamKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3608,7 +3608,7 @@ enum CreateStreamKeyOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3626,7 +3626,7 @@ enum DeleteChannelOutputError { enum DeletePlaybackKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3643,7 +3643,7 @@ enum DeletePlaybackKeyPairOutputError { enum DeletePlaybackRestrictionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3661,7 +3661,7 @@ enum DeletePlaybackRestrictionPolicyOutputError { enum DeleteRecordingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3679,7 +3679,7 @@ enum DeleteRecordingConfigurationOutputError { enum DeleteStreamKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3696,7 +3696,7 @@ enum DeleteStreamKeyOutputError { enum GetChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3712,7 +3712,7 @@ enum GetChannelOutputError { enum GetPlaybackKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3728,7 +3728,7 @@ enum GetPlaybackKeyPairOutputError { enum GetPlaybackRestrictionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3745,7 +3745,7 @@ enum GetPlaybackRestrictionPolicyOutputError { enum GetRecordingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3762,7 +3762,7 @@ enum GetRecordingConfigurationOutputError { enum GetStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3779,7 +3779,7 @@ enum GetStreamOutputError { enum GetStreamKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3795,7 +3795,7 @@ enum GetStreamKeyOutputError { enum GetStreamSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3811,7 +3811,7 @@ enum GetStreamSessionOutputError { enum ImportPlaybackKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3829,7 +3829,7 @@ enum ImportPlaybackKeyPairOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3845,7 +3845,7 @@ enum ListChannelsOutputError { enum ListPlaybackKeyPairsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3860,7 +3860,7 @@ enum ListPlaybackKeyPairsOutputError { enum ListPlaybackRestrictionPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3877,7 +3877,7 @@ enum ListPlaybackRestrictionPoliciesOutputError { enum ListRecordingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3893,7 +3893,7 @@ enum ListRecordingConfigurationsOutputError { enum ListStreamKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3909,7 +3909,7 @@ enum ListStreamKeysOutputError { enum ListStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3924,7 +3924,7 @@ enum ListStreamsOutputError { enum ListStreamSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3940,7 +3940,7 @@ enum ListStreamSessionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3956,7 +3956,7 @@ enum ListTagsForResourceOutputError { enum PutMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3974,7 +3974,7 @@ enum PutMetadataOutputError { enum StartViewerSessionRevocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3993,7 +3993,7 @@ enum StartViewerSessionRevocationOutputError { enum StopStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4011,7 +4011,7 @@ enum StopStreamOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4027,7 +4027,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4043,7 +4043,7 @@ enum UntagResourceOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4061,7 +4061,7 @@ enum UpdateChannelOutputError { enum UpdatePlaybackRestrictionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSIvschat/Sources/AWSIvschat/Models.swift b/Sources/Services/AWSIvschat/Sources/AWSIvschat/Models.swift index 116028c8f5d..82a36b29ee4 100644 --- a/Sources/Services/AWSIvschat/Sources/AWSIvschat/Models.swift +++ b/Sources/Services/AWSIvschat/Sources/AWSIvschat/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -47,7 +47,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -72,7 +72,7 @@ public struct PendingVerification: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -217,7 +217,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -344,7 +344,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -382,7 +382,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -716,7 +716,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1150,7 +1150,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1731,7 +1731,7 @@ extension UpdateRoomInput { extension CreateChatTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChatTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChatTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1745,7 +1745,7 @@ extension CreateChatTokenOutput { extension CreateLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1764,7 +1764,7 @@ extension CreateLoggingConfigurationOutput { extension CreateRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1785,14 +1785,14 @@ extension CreateRoomOutput { extension DeleteLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoggingConfigurationOutput { return DeleteLoggingConfigurationOutput() } } extension DeleteMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1804,21 +1804,21 @@ extension DeleteMessageOutput { extension DeleteRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoomOutput { return DeleteRoomOutput() } } extension DisconnectUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectUserOutput { return DisconnectUserOutput() } } extension GetLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1837,7 +1837,7 @@ extension GetLoggingConfigurationOutput { extension GetRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRoomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1858,7 +1858,7 @@ extension GetRoomOutput { extension ListLoggingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoggingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoggingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1871,7 +1871,7 @@ extension ListLoggingConfigurationsOutput { extension ListRoomsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoomsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoomsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1884,7 +1884,7 @@ extension ListRoomsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1896,7 +1896,7 @@ extension ListTagsForResourceOutput { extension SendEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1908,21 +1908,21 @@ extension SendEventOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1941,7 +1941,7 @@ extension UpdateLoggingConfigurationOutput { extension UpdateRoomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1962,7 +1962,7 @@ extension UpdateRoomOutput { enum CreateChatTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1979,7 +1979,7 @@ enum CreateChatTokenOutputError { enum CreateLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1998,7 +1998,7 @@ enum CreateLoggingConfigurationOutputError { enum CreateRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2017,7 +2017,7 @@ enum CreateRoomOutputError { enum DeleteLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2035,7 +2035,7 @@ enum DeleteLoggingConfigurationOutputError { enum DeleteMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2053,7 +2053,7 @@ enum DeleteMessageOutputError { enum DeleteRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2070,7 +2070,7 @@ enum DeleteRoomOutputError { enum DisconnectUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2088,7 +2088,7 @@ enum DisconnectUserOutputError { enum GetLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2104,7 +2104,7 @@ enum GetLoggingConfigurationOutputError { enum GetRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2120,7 +2120,7 @@ enum GetRoomOutputError { enum ListLoggingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2135,7 +2135,7 @@ enum ListLoggingConfigurationsOutputError { enum ListRoomsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2151,7 +2151,7 @@ enum ListRoomsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2167,7 +2167,7 @@ enum ListTagsForResourceOutputError { enum SendEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2185,7 +2185,7 @@ enum SendEventOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2201,7 +2201,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2217,7 +2217,7 @@ enum UntagResourceOutputError { enum UpdateLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2235,7 +2235,7 @@ enum UpdateLoggingConfigurationOutputError { enum UpdateRoomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKMS/Sources/AWSKMS/Models.swift b/Sources/Services/AWSKMS/Sources/AWSKMS/Models.swift index 080b99f68df..a6261d99ce9 100644 --- a/Sources/Services/AWSKMS/Sources/AWSKMS/Models.swift +++ b/Sources/Services/AWSKMS/Sources/AWSKMS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -183,7 +183,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -207,7 +207,7 @@ public struct DependencyTimeoutException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -231,7 +231,7 @@ public struct InvalidArnException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -255,7 +255,7 @@ public struct KMSInternalException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -283,7 +283,7 @@ public struct KMSInvalidStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -307,7 +307,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -363,7 +363,7 @@ public struct CloudHsmClusterInUseException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -396,7 +396,7 @@ public struct CloudHsmClusterInvalidConfigurationException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -420,7 +420,7 @@ public struct CloudHsmClusterNotActiveException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -444,7 +444,7 @@ public struct CloudHsmClusterNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -468,7 +468,7 @@ public struct CloudHsmClusterNotRelatedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -492,7 +492,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -526,7 +526,7 @@ public struct CustomKeyStoreInvalidStateException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -550,7 +550,7 @@ public struct CustomKeyStoreNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -707,7 +707,7 @@ public struct InvalidAliasNameException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -731,7 +731,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -780,7 +780,7 @@ public struct CustomKeyStoreNameInUseException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -804,7 +804,7 @@ public struct IncorrectTrustAnchorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -828,7 +828,7 @@ public struct XksProxyIncorrectAuthenticationCredentialException: ClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -852,7 +852,7 @@ public struct XksProxyInvalidConfigurationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -876,7 +876,7 @@ public struct XksProxyInvalidResponseException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -900,7 +900,7 @@ public struct XksProxyUriEndpointInUseException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -924,7 +924,7 @@ public struct XksProxyUriInUseException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -948,7 +948,7 @@ public struct XksProxyUriUnreachableException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -972,7 +972,7 @@ public struct XksProxyVpcEndpointServiceInUseException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -996,7 +996,7 @@ public struct XksProxyVpcEndpointServiceInvalidConfigurationException: ClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1020,7 +1020,7 @@ public struct XksProxyVpcEndpointServiceNotFoundException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1205,7 +1205,7 @@ public struct DisabledException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1229,7 +1229,7 @@ public struct DryRunOperationException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1253,7 +1253,7 @@ public struct InvalidGrantTokenException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1437,7 +1437,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1461,7 +1461,7 @@ public struct TagException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1485,7 +1485,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1509,7 +1509,7 @@ public struct XksKeyAlreadyInUseException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1533,7 +1533,7 @@ public struct XksKeyInvalidConfigurationException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1557,7 +1557,7 @@ public struct XksKeyNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2398,7 +2398,7 @@ public struct CustomKeyStoreHasCMKsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2644,7 +2644,7 @@ public struct IncorrectKeyException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2668,7 +2668,7 @@ public struct InvalidCiphertextException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2699,7 +2699,7 @@ public struct InvalidKeyUsageException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2723,7 +2723,7 @@ public struct KeyUnavailableException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3000,7 +3000,7 @@ public struct InvalidMarkerException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3280,7 +3280,7 @@ public struct ExpiredImportTokenException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3994,7 +3994,7 @@ public struct IncorrectKeyMaterialException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4018,7 +4018,7 @@ public struct InvalidImportTokenException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4085,7 +4085,7 @@ public struct InvalidGrantIdException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4129,7 +4129,7 @@ public struct KMSInvalidMacException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4153,7 +4153,7 @@ public struct KMSInvalidSignatureException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6284,7 +6284,7 @@ extension VerifyMacInput { extension CancelKeyDeletionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelKeyDeletionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelKeyDeletionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6296,21 +6296,21 @@ extension CancelKeyDeletionOutput { extension ConnectCustomKeyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConnectCustomKeyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConnectCustomKeyStoreOutput { return ConnectCustomKeyStoreOutput() } } extension CreateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAliasOutput { return CreateAliasOutput() } } extension CreateCustomKeyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomKeyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomKeyStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6322,7 +6322,7 @@ extension CreateCustomKeyStoreOutput { extension CreateGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6335,7 +6335,7 @@ extension CreateGrantOutput { extension CreateKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6347,7 +6347,7 @@ extension CreateKeyOutput { extension DecryptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecryptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecryptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6362,28 +6362,28 @@ extension DecryptOutput { extension DeleteAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAliasOutput { return DeleteAliasOutput() } } extension DeleteCustomKeyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomKeyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomKeyStoreOutput { return DeleteCustomKeyStoreOutput() } } extension DeleteImportedKeyMaterialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImportedKeyMaterialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImportedKeyMaterialOutput { return DeleteImportedKeyMaterialOutput() } } extension DeriveSharedSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeriveSharedSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeriveSharedSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6399,7 +6399,7 @@ extension DeriveSharedSecretOutput { extension DescribeCustomKeyStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomKeyStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomKeyStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6413,7 +6413,7 @@ extension DescribeCustomKeyStoresOutput { extension DescribeKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6425,42 +6425,42 @@ extension DescribeKeyOutput { extension DisableKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableKeyOutput { return DisableKeyOutput() } } extension DisableKeyRotationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableKeyRotationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableKeyRotationOutput { return DisableKeyRotationOutput() } } extension DisconnectCustomKeyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectCustomKeyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectCustomKeyStoreOutput { return DisconnectCustomKeyStoreOutput() } } extension EnableKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableKeyOutput { return EnableKeyOutput() } } extension EnableKeyRotationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableKeyRotationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableKeyRotationOutput { return EnableKeyRotationOutput() } } extension EncryptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EncryptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EncryptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6474,7 +6474,7 @@ extension EncryptOutput { extension GenerateDataKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateDataKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateDataKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6489,7 +6489,7 @@ extension GenerateDataKeyOutput { extension GenerateDataKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateDataKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateDataKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6506,7 +6506,7 @@ extension GenerateDataKeyPairOutput { extension GenerateDataKeyPairWithoutPlaintextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateDataKeyPairWithoutPlaintextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateDataKeyPairWithoutPlaintextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6521,7 +6521,7 @@ extension GenerateDataKeyPairWithoutPlaintextOutput { extension GenerateDataKeyWithoutPlaintextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateDataKeyWithoutPlaintextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateDataKeyWithoutPlaintextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6534,7 +6534,7 @@ extension GenerateDataKeyWithoutPlaintextOutput { extension GenerateMacOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateMacOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateMacOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6548,7 +6548,7 @@ extension GenerateMacOutput { extension GenerateRandomOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateRandomOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateRandomOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6561,7 +6561,7 @@ extension GenerateRandomOutput { extension GetKeyPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6574,7 +6574,7 @@ extension GetKeyPolicyOutput { extension GetKeyRotationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyRotationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyRotationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6590,7 +6590,7 @@ extension GetKeyRotationStatusOutput { extension GetParametersForImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParametersForImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParametersForImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6605,7 +6605,7 @@ extension GetParametersForImportOutput { extension GetPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6624,14 +6624,14 @@ extension GetPublicKeyOutput { extension ImportKeyMaterialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportKeyMaterialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportKeyMaterialOutput { return ImportKeyMaterialOutput() } } extension ListAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6645,7 +6645,7 @@ extension ListAliasesOutput { extension ListGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6659,7 +6659,7 @@ extension ListGrantsOutput { extension ListKeyPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeyPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeyPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6673,7 +6673,7 @@ extension ListKeyPoliciesOutput { extension ListKeyRotationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeyRotationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeyRotationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6687,7 +6687,7 @@ extension ListKeyRotationsOutput { extension ListKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6701,7 +6701,7 @@ extension ListKeysOutput { extension ListResourceTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6715,7 +6715,7 @@ extension ListResourceTagsOutput { extension ListRetirableGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRetirableGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRetirableGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6729,14 +6729,14 @@ extension ListRetirableGrantsOutput { extension PutKeyPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutKeyPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutKeyPolicyOutput { return PutKeyPolicyOutput() } } extension ReEncryptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReEncryptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReEncryptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6752,7 +6752,7 @@ extension ReEncryptOutput { extension ReplicateKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplicateKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplicateKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6766,21 +6766,21 @@ extension ReplicateKeyOutput { extension RetireGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetireGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetireGrantOutput { return RetireGrantOutput() } } extension RevokeGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeGrantOutput { return RevokeGrantOutput() } } extension RotateKeyOnDemandOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RotateKeyOnDemandOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RotateKeyOnDemandOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6792,7 +6792,7 @@ extension RotateKeyOnDemandOutput { extension ScheduleKeyDeletionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ScheduleKeyDeletionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ScheduleKeyDeletionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6807,7 +6807,7 @@ extension ScheduleKeyDeletionOutput { extension SignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6821,49 +6821,49 @@ extension SignOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAliasOutput { return UpdateAliasOutput() } } extension UpdateCustomKeyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomKeyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomKeyStoreOutput { return UpdateCustomKeyStoreOutput() } } extension UpdateKeyDescriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKeyDescriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKeyDescriptionOutput { return UpdateKeyDescriptionOutput() } } extension UpdatePrimaryRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePrimaryRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePrimaryRegionOutput { return UpdatePrimaryRegionOutput() } } extension VerifyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6877,7 +6877,7 @@ extension VerifyOutput { extension VerifyMacOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyMacOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyMacOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6891,7 +6891,7 @@ extension VerifyMacOutput { enum CancelKeyDeletionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6909,7 +6909,7 @@ enum CancelKeyDeletionOutputError { enum ConnectCustomKeyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6927,7 +6927,7 @@ enum ConnectCustomKeyStoreOutputError { enum CreateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6947,7 +6947,7 @@ enum CreateAliasOutputError { enum CreateCustomKeyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6977,7 +6977,7 @@ enum CreateCustomKeyStoreOutputError { enum CreateGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6999,7 +6999,7 @@ enum CreateGrantOutputError { enum CreateKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7025,7 +7025,7 @@ enum CreateKeyOutputError { enum DecryptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7049,7 +7049,7 @@ enum DecryptOutputError { enum DeleteAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7066,7 +7066,7 @@ enum DeleteAliasOutputError { enum DeleteCustomKeyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7083,7 +7083,7 @@ enum DeleteCustomKeyStoreOutputError { enum DeleteImportedKeyMaterialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7102,7 +7102,7 @@ enum DeleteImportedKeyMaterialOutputError { enum DeriveSharedSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7124,7 +7124,7 @@ enum DeriveSharedSecretOutputError { enum DescribeCustomKeyStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7140,7 +7140,7 @@ enum DescribeCustomKeyStoresOutputError { enum DescribeKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7157,7 +7157,7 @@ enum DescribeKeyOutputError { enum DisableKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7175,7 +7175,7 @@ enum DisableKeyOutputError { enum DisableKeyRotationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7195,7 +7195,7 @@ enum DisableKeyRotationOutputError { enum DisconnectCustomKeyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7211,7 +7211,7 @@ enum DisconnectCustomKeyStoreOutputError { enum EnableKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7230,7 +7230,7 @@ enum EnableKeyOutputError { enum EnableKeyRotationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7250,7 +7250,7 @@ enum EnableKeyRotationOutputError { enum EncryptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7272,7 +7272,7 @@ enum EncryptOutputError { enum GenerateDataKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7294,7 +7294,7 @@ enum GenerateDataKeyOutputError { enum GenerateDataKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7317,7 +7317,7 @@ enum GenerateDataKeyPairOutputError { enum GenerateDataKeyPairWithoutPlaintextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7340,7 +7340,7 @@ enum GenerateDataKeyPairWithoutPlaintextOutputError { enum GenerateDataKeyWithoutPlaintextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7362,7 +7362,7 @@ enum GenerateDataKeyWithoutPlaintextOutputError { enum GenerateMacOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7383,7 +7383,7 @@ enum GenerateMacOutputError { enum GenerateRandomOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7401,7 +7401,7 @@ enum GenerateRandomOutputError { enum GetKeyPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7419,7 +7419,7 @@ enum GetKeyPolicyOutputError { enum GetKeyRotationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7438,7 +7438,7 @@ enum GetKeyRotationStatusOutputError { enum GetParametersForImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7457,7 +7457,7 @@ enum GetParametersForImportOutputError { enum GetPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7480,7 +7480,7 @@ enum GetPublicKeyOutputError { enum ImportKeyMaterialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7503,7 +7503,7 @@ enum ImportKeyMaterialOutputError { enum ListAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7521,7 +7521,7 @@ enum ListAliasesOutputError { enum ListGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7541,7 +7541,7 @@ enum ListGrantsOutputError { enum ListKeyPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7559,7 +7559,7 @@ enum ListKeyPoliciesOutputError { enum ListKeyRotationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7578,7 +7578,7 @@ enum ListKeyRotationsOutputError { enum ListKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7594,7 +7594,7 @@ enum ListKeysOutputError { enum ListResourceTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7611,7 +7611,7 @@ enum ListResourceTagsOutputError { enum ListRetirableGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7629,7 +7629,7 @@ enum ListRetirableGrantsOutputError { enum PutKeyPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7650,7 +7650,7 @@ enum PutKeyPolicyOutputError { enum ReEncryptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7674,7 +7674,7 @@ enum ReEncryptOutputError { enum ReplicateKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7697,7 +7697,7 @@ enum ReplicateKeyOutputError { enum RetireGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7718,7 +7718,7 @@ enum RetireGrantOutputError { enum RevokeGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7738,7 +7738,7 @@ enum RevokeGrantOutputError { enum RotateKeyOnDemandOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7760,7 +7760,7 @@ enum RotateKeyOnDemandOutputError { enum ScheduleKeyDeletionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7778,7 +7778,7 @@ enum ScheduleKeyDeletionOutputError { enum SignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7800,7 +7800,7 @@ enum SignOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7819,7 +7819,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7837,7 +7837,7 @@ enum UntagResourceOutputError { enum UpdateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7855,7 +7855,7 @@ enum UpdateAliasOutputError { enum UpdateCustomKeyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7885,7 +7885,7 @@ enum UpdateCustomKeyStoreOutputError { enum UpdateKeyDescriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7903,7 +7903,7 @@ enum UpdateKeyDescriptionOutputError { enum UpdatePrimaryRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7922,7 +7922,7 @@ enum UpdatePrimaryRegionOutputError { enum VerifyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7945,7 +7945,7 @@ enum VerifyOutputError { enum VerifyMacOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKafka/Sources/AWSKafka/Models.swift b/Sources/Services/AWSKafka/Sources/AWSKafka/Models.swift index 28e279e6eec..96d75c99ae7 100644 --- a/Sources/Services/AWSKafka/Sources/AWSKafka/Models.swift +++ b/Sources/Services/AWSKafka/Sources/AWSKafka/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -2510,7 +2510,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2539,7 +2539,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2568,7 +2568,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2597,7 +2597,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2626,7 +2626,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2655,7 +2655,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2684,7 +2684,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2907,7 +2907,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6010,7 +6010,7 @@ extension UpdateStorageInput { extension BatchAssociateScramSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateScramSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateScramSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6023,7 +6023,7 @@ extension BatchAssociateScramSecretOutput { extension BatchDisassociateScramSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateScramSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateScramSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6036,7 +6036,7 @@ extension BatchDisassociateScramSecretOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6050,7 +6050,7 @@ extension CreateClusterOutput { extension CreateClusterV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6065,7 +6065,7 @@ extension CreateClusterV2Output { extension CreateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6081,7 +6081,7 @@ extension CreateConfigurationOutput { extension CreateReplicatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6095,7 +6095,7 @@ extension CreateReplicatorOutput { extension CreateVpcConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6114,7 +6114,7 @@ extension CreateVpcConnectionOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6127,14 +6127,14 @@ extension DeleteClusterOutput { extension DeleteClusterPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterPolicyOutput { return DeleteClusterPolicyOutput() } } extension DeleteConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6147,7 +6147,7 @@ extension DeleteConfigurationOutput { extension DeleteReplicatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6160,7 +6160,7 @@ extension DeleteReplicatorOutput { extension DeleteVpcConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6173,7 +6173,7 @@ extension DeleteVpcConnectionOutput { extension DescribeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6185,7 +6185,7 @@ extension DescribeClusterOutput { extension DescribeClusterOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6197,7 +6197,7 @@ extension DescribeClusterOperationOutput { extension DescribeClusterOperationV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOperationV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOperationV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6209,7 +6209,7 @@ extension DescribeClusterOperationV2Output { extension DescribeClusterV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6221,7 +6221,7 @@ extension DescribeClusterV2Output { extension DescribeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6239,7 +6239,7 @@ extension DescribeConfigurationOutput { extension DescribeConfigurationRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6255,7 +6255,7 @@ extension DescribeConfigurationRevisionOutput { extension DescribeReplicatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6279,7 +6279,7 @@ extension DescribeReplicatorOutput { extension DescribeVpcConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6299,7 +6299,7 @@ extension DescribeVpcConnectionOutput { extension GetBootstrapBrokersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBootstrapBrokersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBootstrapBrokersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6320,7 +6320,7 @@ extension GetBootstrapBrokersOutput { extension GetClusterPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClusterPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClusterPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6333,7 +6333,7 @@ extension GetClusterPolicyOutput { extension GetCompatibleKafkaVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCompatibleKafkaVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCompatibleKafkaVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6345,7 +6345,7 @@ extension GetCompatibleKafkaVersionsOutput { extension ListClientVpcConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClientVpcConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClientVpcConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6358,7 +6358,7 @@ extension ListClientVpcConnectionsOutput { extension ListClusterOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClusterOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClusterOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6371,7 +6371,7 @@ extension ListClusterOperationsOutput { extension ListClusterOperationsV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClusterOperationsV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClusterOperationsV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6384,7 +6384,7 @@ extension ListClusterOperationsV2Output { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6397,7 +6397,7 @@ extension ListClustersOutput { extension ListClustersV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6410,7 +6410,7 @@ extension ListClustersV2Output { extension ListConfigurationRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6423,7 +6423,7 @@ extension ListConfigurationRevisionsOutput { extension ListConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6436,7 +6436,7 @@ extension ListConfigurationsOutput { extension ListKafkaVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKafkaVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKafkaVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6449,7 +6449,7 @@ extension ListKafkaVersionsOutput { extension ListNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6462,7 +6462,7 @@ extension ListNodesOutput { extension ListReplicatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReplicatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReplicatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6475,7 +6475,7 @@ extension ListReplicatorsOutput { extension ListScramSecretsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScramSecretsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScramSecretsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6488,7 +6488,7 @@ extension ListScramSecretsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6500,7 +6500,7 @@ extension ListTagsForResourceOutput { extension ListVpcConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6513,7 +6513,7 @@ extension ListVpcConnectionsOutput { extension PutClusterPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutClusterPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutClusterPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6525,7 +6525,7 @@ extension PutClusterPolicyOutput { extension RebootBrokerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootBrokerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootBrokerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6538,28 +6538,28 @@ extension RebootBrokerOutput { extension RejectClientVpcConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectClientVpcConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectClientVpcConnectionOutput { return RejectClientVpcConnectionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBrokerCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBrokerCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBrokerCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6572,7 +6572,7 @@ extension UpdateBrokerCountOutput { extension UpdateBrokerStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBrokerStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBrokerStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6585,7 +6585,7 @@ extension UpdateBrokerStorageOutput { extension UpdateBrokerTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBrokerTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBrokerTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6598,7 +6598,7 @@ extension UpdateBrokerTypeOutput { extension UpdateClusterConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6611,7 +6611,7 @@ extension UpdateClusterConfigurationOutput { extension UpdateClusterKafkaVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterKafkaVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterKafkaVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6624,7 +6624,7 @@ extension UpdateClusterKafkaVersionOutput { extension UpdateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6637,7 +6637,7 @@ extension UpdateConfigurationOutput { extension UpdateConnectivityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectivityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectivityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6650,7 +6650,7 @@ extension UpdateConnectivityOutput { extension UpdateMonitoringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMonitoringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMonitoringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6663,7 +6663,7 @@ extension UpdateMonitoringOutput { extension UpdateReplicationInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6676,7 +6676,7 @@ extension UpdateReplicationInfoOutput { extension UpdateSecurityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6689,7 +6689,7 @@ extension UpdateSecurityOutput { extension UpdateStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6702,7 +6702,7 @@ extension UpdateStorageOutput { enum BatchAssociateScramSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6722,7 +6722,7 @@ enum BatchAssociateScramSecretOutputError { enum BatchDisassociateScramSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6742,7 @@ enum BatchDisassociateScramSecretOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6762,7 +6762,7 @@ enum CreateClusterOutputError { enum CreateClusterV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6782,7 +6782,7 @@ enum CreateClusterV2OutputError { enum CreateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6802,7 +6802,7 @@ enum CreateConfigurationOutputError { enum CreateReplicatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6823,7 +6823,7 @@ enum CreateReplicatorOutputError { enum CreateVpcConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6842,7 +6842,7 @@ enum CreateVpcConnectionOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6859,7 +6859,7 @@ enum DeleteClusterOutputError { enum DeleteClusterPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6876,7 +6876,7 @@ enum DeleteClusterPolicyOutputError { enum DeleteConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6893,7 +6893,7 @@ enum DeleteConfigurationOutputError { enum DeleteReplicatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6913,7 +6913,7 @@ enum DeleteReplicatorOutputError { enum DeleteVpcConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6930,7 +6930,7 @@ enum DeleteVpcConnectionOutputError { enum DescribeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6948,7 +6948,7 @@ enum DescribeClusterOutputError { enum DescribeClusterOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6966,7 +6966,7 @@ enum DescribeClusterOperationOutputError { enum DescribeClusterOperationV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6986,7 +6986,7 @@ enum DescribeClusterOperationV2OutputError { enum DescribeClusterV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7004,7 +7004,7 @@ enum DescribeClusterV2OutputError { enum DescribeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7023,7 +7023,7 @@ enum DescribeConfigurationOutputError { enum DescribeConfigurationRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7042,7 +7042,7 @@ enum DescribeConfigurationRevisionOutputError { enum DescribeReplicatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7062,7 +7062,7 @@ enum DescribeReplicatorOutputError { enum DescribeVpcConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7081,7 +7081,7 @@ enum DescribeVpcConnectionOutputError { enum GetBootstrapBrokersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7099,7 +7099,7 @@ enum GetBootstrapBrokersOutputError { enum GetClusterPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7116,7 +7116,7 @@ enum GetClusterPolicyOutputError { enum GetCompatibleKafkaVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7136,7 +7136,7 @@ enum GetCompatibleKafkaVersionsOutputError { enum ListClientVpcConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7154,7 +7154,7 @@ enum ListClientVpcConnectionsOutputError { enum ListClusterOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7171,7 +7171,7 @@ enum ListClusterOperationsOutputError { enum ListClusterOperationsV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7191,7 +7191,7 @@ enum ListClusterOperationsV2OutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7208,7 +7208,7 @@ enum ListClustersOutputError { enum ListClustersV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7225,7 +7225,7 @@ enum ListClustersV2OutputError { enum ListConfigurationRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7244,7 +7244,7 @@ enum ListConfigurationRevisionsOutputError { enum ListConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7262,7 +7262,7 @@ enum ListConfigurationsOutputError { enum ListKafkaVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7279,7 +7279,7 @@ enum ListKafkaVersionsOutputError { enum ListNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7296,7 +7296,7 @@ enum ListNodesOutputError { enum ListReplicatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7316,7 +7316,7 @@ enum ListReplicatorsOutputError { enum ListScramSecretsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7336,7 +7336,7 @@ enum ListScramSecretsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7352,7 +7352,7 @@ enum ListTagsForResourceOutputError { enum ListVpcConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7370,7 +7370,7 @@ enum ListVpcConnectionsOutputError { enum PutClusterPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7386,7 +7386,7 @@ enum PutClusterPolicyOutputError { enum RebootBrokerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7406,7 +7406,7 @@ enum RebootBrokerOutputError { enum RejectClientVpcConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7424,7 +7424,7 @@ enum RejectClientVpcConnectionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7440,7 +7440,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7456,7 +7456,7 @@ enum UntagResourceOutputError { enum UpdateBrokerCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7474,7 +7474,7 @@ enum UpdateBrokerCountOutputError { enum UpdateBrokerStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7492,7 +7492,7 @@ enum UpdateBrokerStorageOutputError { enum UpdateBrokerTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7512,7 +7512,7 @@ enum UpdateBrokerTypeOutputError { enum UpdateClusterConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7531,7 +7531,7 @@ enum UpdateClusterConfigurationOutputError { enum UpdateClusterKafkaVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7551,7 +7551,7 @@ enum UpdateClusterKafkaVersionOutputError { enum UpdateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7570,7 +7570,7 @@ enum UpdateConfigurationOutputError { enum UpdateConnectivityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7589,7 +7589,7 @@ enum UpdateConnectivityOutputError { enum UpdateMonitoringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7607,7 +7607,7 @@ enum UpdateMonitoringOutputError { enum UpdateReplicationInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7627,7 +7627,7 @@ enum UpdateReplicationInfoOutputError { enum UpdateSecurityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7647,7 +7647,7 @@ enum UpdateSecurityOutputError { enum UpdateStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/Models.swift b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/Models.swift index 3d0833a63e5..778bea3e4ae 100644 --- a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/Models.swift +++ b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1068,7 +1068,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1197,7 +1197,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1221,7 +1221,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1245,7 +1245,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1269,7 +1269,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1293,7 +1293,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1317,7 +1317,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1341,7 +1341,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2619,7 +2619,7 @@ extension UpdateConnectorInput { extension CreateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2633,7 +2633,7 @@ extension CreateConnectorOutput { extension CreateCustomPluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomPluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomPluginOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2648,7 +2648,7 @@ extension CreateCustomPluginOutput { extension CreateWorkerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkerConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2664,7 +2664,7 @@ extension CreateWorkerConfigurationOutput { extension DeleteConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2677,7 +2677,7 @@ extension DeleteConnectorOutput { extension DeleteCustomPluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomPluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomPluginOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2690,7 +2690,7 @@ extension DeleteCustomPluginOutput { extension DeleteWorkerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkerConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2703,7 +2703,7 @@ extension DeleteWorkerConfigurationOutput { extension DescribeConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2731,7 +2731,7 @@ extension DescribeConnectorOutput { extension DescribeCustomPluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomPluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomPluginOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2749,7 +2749,7 @@ extension DescribeCustomPluginOutput { extension DescribeWorkerConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkerConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkerConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2766,7 +2766,7 @@ extension DescribeWorkerConfigurationOutput { extension ListConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2779,7 +2779,7 @@ extension ListConnectorsOutput { extension ListCustomPluginsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomPluginsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomPluginsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2792,7 +2792,7 @@ extension ListCustomPluginsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2804,7 +2804,7 @@ extension ListTagsForResourceOutput { extension ListWorkerConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkerConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkerConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2817,21 +2817,21 @@ extension ListWorkerConfigurationsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2844,7 +2844,7 @@ extension UpdateConnectorOutput { enum CreateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2865,7 +2865,7 @@ enum CreateConnectorOutputError { enum CreateCustomPluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2886,7 +2886,7 @@ enum CreateCustomPluginOutputError { enum CreateWorkerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2907,7 +2907,7 @@ enum CreateWorkerConfigurationOutputError { enum DeleteConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2927,7 +2927,7 @@ enum DeleteConnectorOutputError { enum DeleteCustomPluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2947,7 +2947,7 @@ enum DeleteCustomPluginOutputError { enum DeleteWorkerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2967,7 +2967,7 @@ enum DeleteWorkerConfigurationOutputError { enum DescribeConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2987,7 +2987,7 @@ enum DescribeConnectorOutputError { enum DescribeCustomPluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3007,7 +3007,7 @@ enum DescribeCustomPluginOutputError { enum DescribeWorkerConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3027,7 +3027,7 @@ enum DescribeWorkerConfigurationOutputError { enum ListConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3047,7 +3047,7 @@ enum ListConnectorsOutputError { enum ListCustomPluginsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3067,7 +3067,7 @@ enum ListCustomPluginsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3087,7 +3087,7 @@ enum ListTagsForResourceOutputError { enum ListWorkerConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3107,7 +3107,7 @@ enum ListWorkerConfigurationsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3128,7 +3128,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3148,7 +3148,7 @@ enum UntagResourceOutputError { enum UpdateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKendra/Sources/AWSKendra/Models.swift b/Sources/Services/AWSKendra/Sources/AWSKendra/Models.swift index 68a0db1668a..1c504953be9 100644 --- a/Sources/Services/AWSKendra/Sources/AWSKendra/Models.swift +++ b/Sources/Services/AWSKendra/Sources/AWSKendra/Models.swift @@ -9,7 +9,7 @@ import Foundation import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -151,7 +151,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -514,7 +514,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -538,7 +538,7 @@ public struct ResourceAlreadyExistException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -562,7 +562,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -586,7 +586,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -610,7 +610,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1065,7 +1065,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1418,7 +1418,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4890,7 +4890,7 @@ public struct FeaturedResultsConflictException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7216,7 +7216,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8288,7 +8288,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9204,7 +9204,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11274,7 +11274,7 @@ extension UpdateThesaurusInput { extension AssociateEntitiesToExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateEntitiesToExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateEntitiesToExperienceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11286,7 +11286,7 @@ extension AssociateEntitiesToExperienceOutput { extension AssociatePersonasToEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePersonasToEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePersonasToEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11298,7 +11298,7 @@ extension AssociatePersonasToEntitiesOutput { extension BatchDeleteDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11310,7 +11310,7 @@ extension BatchDeleteDocumentOutput { extension BatchDeleteFeaturedResultsSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteFeaturedResultsSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteFeaturedResultsSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11322,7 +11322,7 @@ extension BatchDeleteFeaturedResultsSetOutput { extension BatchGetDocumentStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDocumentStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDocumentStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11335,7 +11335,7 @@ extension BatchGetDocumentStatusOutput { extension BatchPutDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11347,14 +11347,14 @@ extension BatchPutDocumentOutput { extension ClearQuerySuggestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClearQuerySuggestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClearQuerySuggestionsOutput { return ClearQuerySuggestionsOutput() } } extension CreateAccessControlConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessControlConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessControlConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11366,7 +11366,7 @@ extension CreateAccessControlConfigurationOutput { extension CreateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11378,7 +11378,7 @@ extension CreateDataSourceOutput { extension CreateExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExperienceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11390,7 +11390,7 @@ extension CreateExperienceOutput { extension CreateFaqOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFaqOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFaqOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11402,7 +11402,7 @@ extension CreateFaqOutput { extension CreateFeaturedResultsSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFeaturedResultsSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFeaturedResultsSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11414,7 +11414,7 @@ extension CreateFeaturedResultsSetOutput { extension CreateIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11426,7 +11426,7 @@ extension CreateIndexOutput { extension CreateQuerySuggestionsBlockListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQuerySuggestionsBlockListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQuerySuggestionsBlockListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11438,7 +11438,7 @@ extension CreateQuerySuggestionsBlockListOutput { extension CreateThesaurusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThesaurusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThesaurusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11450,63 +11450,63 @@ extension CreateThesaurusOutput { extension DeleteAccessControlConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessControlConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessControlConfigurationOutput { return DeleteAccessControlConfigurationOutput() } } extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { return DeleteDataSourceOutput() } } extension DeleteExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExperienceOutput { return DeleteExperienceOutput() } } extension DeleteFaqOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFaqOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFaqOutput { return DeleteFaqOutput() } } extension DeleteIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIndexOutput { return DeleteIndexOutput() } } extension DeletePrincipalMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePrincipalMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePrincipalMappingOutput { return DeletePrincipalMappingOutput() } } extension DeleteQuerySuggestionsBlockListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQuerySuggestionsBlockListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQuerySuggestionsBlockListOutput { return DeleteQuerySuggestionsBlockListOutput() } } extension DeleteThesaurusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThesaurusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThesaurusOutput { return DeleteThesaurusOutput() } } extension DescribeAccessControlConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccessControlConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccessControlConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11522,7 +11522,7 @@ extension DescribeAccessControlConfigurationOutput { extension DescribeDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11548,7 +11548,7 @@ extension DescribeDataSourceOutput { extension DescribeExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExperienceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11570,7 +11570,7 @@ extension DescribeExperienceOutput { extension DescribeFaqOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFaqOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFaqOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11593,7 +11593,7 @@ extension DescribeFaqOutput { extension DescribeFeaturedResultsSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFeaturedResultsSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFeaturedResultsSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11613,7 +11613,7 @@ extension DescribeFeaturedResultsSetOutput { extension DescribeIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11640,7 +11640,7 @@ extension DescribeIndexOutput { extension DescribePrincipalMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePrincipalMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePrincipalMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11655,7 +11655,7 @@ extension DescribePrincipalMappingOutput { extension DescribeQuerySuggestionsBlockListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQuerySuggestionsBlockListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQuerySuggestionsBlockListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11678,7 +11678,7 @@ extension DescribeQuerySuggestionsBlockListOutput { extension DescribeQuerySuggestionsConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeQuerySuggestionsConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeQuerySuggestionsConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11699,7 +11699,7 @@ extension DescribeQuerySuggestionsConfigOutput { extension DescribeThesaurusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThesaurusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThesaurusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11723,7 +11723,7 @@ extension DescribeThesaurusOutput { extension DisassociateEntitiesFromExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateEntitiesFromExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateEntitiesFromExperienceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11735,7 +11735,7 @@ extension DisassociateEntitiesFromExperienceOutput { extension DisassociatePersonasFromEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePersonasFromEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePersonasFromEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11747,7 +11747,7 @@ extension DisassociatePersonasFromEntitiesOutput { extension GetQuerySuggestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQuerySuggestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQuerySuggestionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11760,7 +11760,7 @@ extension GetQuerySuggestionsOutput { extension GetSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11775,7 +11775,7 @@ extension GetSnapshotsOutput { extension ListAccessControlConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessControlConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessControlConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11788,7 +11788,7 @@ extension ListAccessControlConfigurationsOutput { extension ListDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11801,7 +11801,7 @@ extension ListDataSourcesOutput { extension ListDataSourceSyncJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourceSyncJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourceSyncJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11814,7 +11814,7 @@ extension ListDataSourceSyncJobsOutput { extension ListEntityPersonasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntityPersonasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntityPersonasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11827,7 +11827,7 @@ extension ListEntityPersonasOutput { extension ListExperienceEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperienceEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperienceEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11840,7 +11840,7 @@ extension ListExperienceEntitiesOutput { extension ListExperiencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperiencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperiencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11853,7 +11853,7 @@ extension ListExperiencesOutput { extension ListFaqsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFaqsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFaqsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11866,7 +11866,7 @@ extension ListFaqsOutput { extension ListFeaturedResultsSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFeaturedResultsSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFeaturedResultsSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11879,7 +11879,7 @@ extension ListFeaturedResultsSetsOutput { extension ListGroupsOlderThanOrderingIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOlderThanOrderingIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOlderThanOrderingIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11892,7 +11892,7 @@ extension ListGroupsOlderThanOrderingIdOutput { extension ListIndicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11905,7 +11905,7 @@ extension ListIndicesOutput { extension ListQuerySuggestionsBlockListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQuerySuggestionsBlockListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQuerySuggestionsBlockListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11918,7 +11918,7 @@ extension ListQuerySuggestionsBlockListsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11930,7 +11930,7 @@ extension ListTagsForResourceOutput { extension ListThesauriOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThesauriOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThesauriOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11943,14 +11943,14 @@ extension ListThesauriOutput { extension PutPrincipalMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPrincipalMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPrincipalMappingOutput { return PutPrincipalMappingOutput() } } extension QueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11968,7 +11968,7 @@ extension QueryOutput { extension RetrieveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11981,7 +11981,7 @@ extension RetrieveOutput { extension StartDataSourceSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataSourceSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataSourceSyncJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11993,56 +11993,56 @@ extension StartDataSourceSyncJobOutput { extension StopDataSourceSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDataSourceSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDataSourceSyncJobOutput { return StopDataSourceSyncJobOutput() } } extension SubmitFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitFeedbackOutput { return SubmitFeedbackOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessControlConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessControlConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessControlConfigurationOutput { return UpdateAccessControlConfigurationOutput() } } extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { return UpdateDataSourceOutput() } } extension UpdateExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExperienceOutput { return UpdateExperienceOutput() } } extension UpdateFeaturedResultsSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFeaturedResultsSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFeaturedResultsSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -12054,35 +12054,35 @@ extension UpdateFeaturedResultsSetOutput { extension UpdateIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIndexOutput { return UpdateIndexOutput() } } extension UpdateQuerySuggestionsBlockListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQuerySuggestionsBlockListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQuerySuggestionsBlockListOutput { return UpdateQuerySuggestionsBlockListOutput() } } extension UpdateQuerySuggestionsConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQuerySuggestionsConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQuerySuggestionsConfigOutput { return UpdateQuerySuggestionsConfigOutput() } } extension UpdateThesaurusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThesaurusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThesaurusOutput { return UpdateThesaurusOutput() } } enum AssociateEntitiesToExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12101,7 +12101,7 @@ enum AssociateEntitiesToExperienceOutputError { enum AssociatePersonasToEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12120,7 +12120,7 @@ enum AssociatePersonasToEntitiesOutputError { enum BatchDeleteDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12139,7 +12139,7 @@ enum BatchDeleteDocumentOutputError { enum BatchDeleteFeaturedResultsSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12157,7 +12157,7 @@ enum BatchDeleteFeaturedResultsSetOutputError { enum BatchGetDocumentStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12176,7 +12176,7 @@ enum BatchGetDocumentStatusOutputError { enum BatchPutDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12196,7 +12196,7 @@ enum BatchPutDocumentOutputError { enum ClearQuerySuggestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12215,7 +12215,7 @@ enum ClearQuerySuggestionsOutputError { enum CreateAccessControlConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12235,7 +12235,7 @@ enum CreateAccessControlConfigurationOutputError { enum CreateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12256,7 +12256,7 @@ enum CreateDataSourceOutputError { enum CreateExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12276,7 +12276,7 @@ enum CreateExperienceOutputError { enum CreateFaqOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12296,7 +12296,7 @@ enum CreateFaqOutputError { enum CreateFeaturedResultsSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12316,7 +12316,7 @@ enum CreateFeaturedResultsSetOutputError { enum CreateIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12336,7 +12336,7 @@ enum CreateIndexOutputError { enum CreateQuerySuggestionsBlockListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12356,7 +12356,7 @@ enum CreateQuerySuggestionsBlockListOutputError { enum CreateThesaurusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12376,7 +12376,7 @@ enum CreateThesaurusOutputError { enum DeleteAccessControlConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12395,7 +12395,7 @@ enum DeleteAccessControlConfigurationOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12414,7 +12414,7 @@ enum DeleteDataSourceOutputError { enum DeleteExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12433,7 +12433,7 @@ enum DeleteExperienceOutputError { enum DeleteFaqOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12452,7 +12452,7 @@ enum DeleteFaqOutputError { enum DeleteIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12471,7 +12471,7 @@ enum DeleteIndexOutputError { enum DeletePrincipalMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12490,7 +12490,7 @@ enum DeletePrincipalMappingOutputError { enum DeleteQuerySuggestionsBlockListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12509,7 +12509,7 @@ enum DeleteQuerySuggestionsBlockListOutputError { enum DeleteThesaurusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12528,7 +12528,7 @@ enum DeleteThesaurusOutputError { enum DescribeAccessControlConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12546,7 +12546,7 @@ enum DescribeAccessControlConfigurationOutputError { enum DescribeDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12564,7 +12564,7 @@ enum DescribeDataSourceOutputError { enum DescribeExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12582,7 +12582,7 @@ enum DescribeExperienceOutputError { enum DescribeFaqOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12600,7 +12600,7 @@ enum DescribeFaqOutputError { enum DescribeFeaturedResultsSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12618,7 +12618,7 @@ enum DescribeFeaturedResultsSetOutputError { enum DescribeIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12636,7 +12636,7 @@ enum DescribeIndexOutputError { enum DescribePrincipalMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12654,7 +12654,7 @@ enum DescribePrincipalMappingOutputError { enum DescribeQuerySuggestionsBlockListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12672,7 +12672,7 @@ enum DescribeQuerySuggestionsBlockListOutputError { enum DescribeQuerySuggestionsConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12690,7 +12690,7 @@ enum DescribeQuerySuggestionsConfigOutputError { enum DescribeThesaurusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12708,7 +12708,7 @@ enum DescribeThesaurusOutputError { enum DisassociateEntitiesFromExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12726,7 +12726,7 @@ enum DisassociateEntitiesFromExperienceOutputError { enum DisassociatePersonasFromEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12744,7 +12744,7 @@ enum DisassociatePersonasFromEntitiesOutputError { enum GetQuerySuggestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12764,7 +12764,7 @@ enum GetQuerySuggestionsOutputError { enum GetSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12781,7 +12781,7 @@ enum GetSnapshotsOutputError { enum ListAccessControlConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12799,7 +12799,7 @@ enum ListAccessControlConfigurationsOutputError { enum ListDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12817,7 +12817,7 @@ enum ListDataSourcesOutputError { enum ListDataSourceSyncJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12836,7 +12836,7 @@ enum ListDataSourceSyncJobsOutputError { enum ListEntityPersonasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12854,7 +12854,7 @@ enum ListEntityPersonasOutputError { enum ListExperienceEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12872,7 +12872,7 @@ enum ListExperienceEntitiesOutputError { enum ListExperiencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12890,7 +12890,7 @@ enum ListExperiencesOutputError { enum ListFaqsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12908,7 +12908,7 @@ enum ListFaqsOutputError { enum ListFeaturedResultsSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12926,7 +12926,7 @@ enum ListFeaturedResultsSetsOutputError { enum ListGroupsOlderThanOrderingIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12945,7 +12945,7 @@ enum ListGroupsOlderThanOrderingIdOutputError { enum ListIndicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12962,7 +12962,7 @@ enum ListIndicesOutputError { enum ListQuerySuggestionsBlockListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12980,7 +12980,7 @@ enum ListQuerySuggestionsBlockListsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12998,7 +12998,7 @@ enum ListTagsForResourceOutputError { enum ListThesauriOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13016,7 +13016,7 @@ enum ListThesauriOutputError { enum PutPrincipalMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13036,7 +13036,7 @@ enum PutPrincipalMappingOutputError { enum QueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13056,7 +13056,7 @@ enum QueryOutputError { enum RetrieveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13076,7 +13076,7 @@ enum RetrieveOutputError { enum StartDataSourceSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13096,7 +13096,7 @@ enum StartDataSourceSyncJobOutputError { enum StopDataSourceSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13114,7 +13114,7 @@ enum StopDataSourceSyncJobOutputError { enum SubmitFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13133,7 +13133,7 @@ enum SubmitFeedbackOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13151,7 +13151,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13169,7 +13169,7 @@ enum UntagResourceOutputError { enum UpdateAccessControlConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13189,7 +13189,7 @@ enum UpdateAccessControlConfigurationOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13208,7 +13208,7 @@ enum UpdateDataSourceOutputError { enum UpdateExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13227,7 +13227,7 @@ enum UpdateExperienceOutputError { enum UpdateFeaturedResultsSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13246,7 +13246,7 @@ enum UpdateFeaturedResultsSetOutputError { enum UpdateIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13266,7 +13266,7 @@ enum UpdateIndexOutputError { enum UpdateQuerySuggestionsBlockListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13285,7 +13285,7 @@ enum UpdateQuerySuggestionsBlockListOutputError { enum UpdateQuerySuggestionsConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -13304,7 +13304,7 @@ enum UpdateQuerySuggestionsConfigOutputError { enum UpdateThesaurusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/Models.swift b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/Models.swift index ffddb74c94c..6cc249293a4 100644 --- a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/Models.swift +++ b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -43,7 +43,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -67,7 +67,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -91,7 +91,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -115,7 +115,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -139,7 +139,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -273,7 +273,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -469,7 +469,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -837,7 +837,7 @@ extension UpdateRescoreExecutionPlanInput { extension CreateRescoreExecutionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRescoreExecutionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRescoreExecutionPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -850,14 +850,14 @@ extension CreateRescoreExecutionPlanOutput { extension DeleteRescoreExecutionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRescoreExecutionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRescoreExecutionPlanOutput { return DeleteRescoreExecutionPlanOutput() } } extension DescribeRescoreExecutionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRescoreExecutionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRescoreExecutionPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -877,7 +877,7 @@ extension DescribeRescoreExecutionPlanOutput { extension ListRescoreExecutionPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRescoreExecutionPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRescoreExecutionPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -890,7 +890,7 @@ extension ListRescoreExecutionPlansOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -902,7 +902,7 @@ extension ListTagsForResourceOutput { extension RescoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RescoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RescoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -915,28 +915,28 @@ extension RescoreOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateRescoreExecutionPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRescoreExecutionPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRescoreExecutionPlanOutput { return UpdateRescoreExecutionPlanOutput() } } enum CreateRescoreExecutionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -955,7 +955,7 @@ enum CreateRescoreExecutionPlanOutputError { enum DeleteRescoreExecutionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -974,7 +974,7 @@ enum DeleteRescoreExecutionPlanOutputError { enum DescribeRescoreExecutionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -992,7 +992,7 @@ enum DescribeRescoreExecutionPlanOutputError { enum ListRescoreExecutionPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1009,7 +1009,7 @@ enum ListRescoreExecutionPlansOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1027,7 +1027,7 @@ enum ListTagsForResourceOutputError { enum RescoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1046,7 +1046,7 @@ enum RescoreOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1064,7 +1064,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1082,7 +1082,7 @@ enum UntagResourceOutputError { enum UpdateRescoreExecutionPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/Models.swift b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/Models.swift index 25fcabacf29..d0cc3fed141 100644 --- a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/Models.swift +++ b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -421,7 +421,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -446,7 +446,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -471,7 +471,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -496,7 +496,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -637,7 +637,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2035,7 +2035,7 @@ extension UpdateTableInput { extension CreateKeyspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2047,7 +2047,7 @@ extension CreateKeyspaceOutput { extension CreateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2059,21 +2059,21 @@ extension CreateTableOutput { extension DeleteKeyspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyspaceOutput { return DeleteKeyspaceOutput() } } extension DeleteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTableOutput { return DeleteTableOutput() } } extension GetKeyspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2088,7 +2088,7 @@ extension GetKeyspaceOutput { extension GetTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2113,7 +2113,7 @@ extension GetTableOutput { extension GetTableAutoScalingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableAutoScalingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableAutoScalingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2129,7 +2129,7 @@ extension GetTableAutoScalingSettingsOutput { extension ListKeyspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeyspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeyspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2142,7 +2142,7 @@ extension ListKeyspacesOutput { extension ListTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2155,7 +2155,7 @@ extension ListTablesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2168,7 +2168,7 @@ extension ListTagsForResourceOutput { extension RestoreTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2180,21 +2180,21 @@ extension RestoreTableOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2206,7 +2206,7 @@ extension UpdateTableOutput { enum CreateKeyspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2224,7 +2224,7 @@ enum CreateKeyspaceOutputError { enum CreateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2243,7 +2243,7 @@ enum CreateTableOutputError { enum DeleteKeyspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2262,7 +2262,7 @@ enum DeleteKeyspaceOutputError { enum DeleteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2281,7 +2281,7 @@ enum DeleteTableOutputError { enum GetKeyspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2299,7 +2299,7 @@ enum GetKeyspaceOutputError { enum GetTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2317,7 +2317,7 @@ enum GetTableOutputError { enum GetTableAutoScalingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2335,7 +2335,7 @@ enum GetTableAutoScalingSettingsOutputError { enum ListKeyspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2353,7 +2353,7 @@ enum ListKeyspacesOutputError { enum ListTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2371,7 +2371,7 @@ enum ListTablesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2389,7 +2389,7 @@ enum ListTagsForResourceOutputError { enum RestoreTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2408,7 +2408,7 @@ enum RestoreTableOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2426,7 +2426,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2445,7 +2445,7 @@ enum UntagResourceOutputError { enum UpdateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift index cf8e62fb866..8fa3dcbb90f 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift @@ -17,8 +17,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -218,7 +218,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -293,7 +293,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -363,7 +363,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -437,7 +437,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -507,7 +507,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -575,7 +575,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -641,7 +641,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -710,7 +710,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -778,7 +778,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -847,7 +847,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -917,7 +917,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -987,7 +987,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1063,7 +1063,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1136,7 +1136,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1205,7 +1205,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1275,7 +1275,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1346,7 +1346,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1416,7 +1416,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1484,7 +1484,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1553,7 +1553,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1624,7 +1624,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1699,7 +1699,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1774,7 +1774,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1851,7 +1851,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1920,7 +1920,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1990,7 +1990,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2061,7 +2061,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2137,7 +2137,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2207,7 +2207,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2277,7 +2277,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2365,7 +2365,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2434,7 +2434,7 @@ extension KinesisClient { .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/Models.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/Models.swift index be1b074e67b..9ce4675eb05 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/Models.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -111,7 +111,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -211,7 +211,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1191,7 +1191,7 @@ public struct ExpiredIteratorException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1215,7 +1215,7 @@ public struct ExpiredNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1240,7 +1240,7 @@ public struct KMSAccessDeniedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1265,7 +1265,7 @@ public struct KMSDisabledException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1290,7 +1290,7 @@ public struct KMSInvalidStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1315,7 +1315,7 @@ public struct KMSNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1340,7 +1340,7 @@ public struct KMSOptInRequired: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1365,7 +1365,7 @@ public struct KMSThrottlingException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1390,7 +1390,7 @@ public struct ProvisionedThroughputExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1645,7 +1645,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1988,7 +1988,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3119,49 +3119,49 @@ extension UpdateStreamModeInput { extension AddTagsToStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToStreamOutput { return AddTagsToStreamOutput() } } extension CreateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamOutput { return CreateStreamOutput() } } extension DecreaseStreamRetentionPeriodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecreaseStreamRetentionPeriodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecreaseStreamRetentionPeriodOutput { return DecreaseStreamRetentionPeriodOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamOutput { return DeleteStreamOutput() } } extension DeregisterStreamConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterStreamConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterStreamConsumerOutput { return DeregisterStreamConsumerOutput() } } extension DescribeLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3176,7 +3176,7 @@ extension DescribeLimitsOutput { extension DescribeStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3188,7 +3188,7 @@ extension DescribeStreamOutput { extension DescribeStreamConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamConsumerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3200,7 +3200,7 @@ extension DescribeStreamConsumerOutput { extension DescribeStreamSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3212,7 +3212,7 @@ extension DescribeStreamSummaryOutput { extension DisableEnhancedMonitoringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableEnhancedMonitoringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableEnhancedMonitoringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3227,7 +3227,7 @@ extension DisableEnhancedMonitoringOutput { extension EnableEnhancedMonitoringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableEnhancedMonitoringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableEnhancedMonitoringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3242,7 +3242,7 @@ extension EnableEnhancedMonitoringOutput { extension GetRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3257,7 +3257,7 @@ extension GetRecordsOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3269,7 +3269,7 @@ extension GetResourcePolicyOutput { extension GetShardIteratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetShardIteratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetShardIteratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3281,14 +3281,14 @@ extension GetShardIteratorOutput { extension IncreaseStreamRetentionPeriodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IncreaseStreamRetentionPeriodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IncreaseStreamRetentionPeriodOutput { return IncreaseStreamRetentionPeriodOutput() } } extension ListShardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListShardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListShardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3301,7 +3301,7 @@ extension ListShardsOutput { extension ListStreamConsumersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamConsumersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamConsumersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3314,7 +3314,7 @@ extension ListStreamConsumersOutput { extension ListStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3329,7 +3329,7 @@ extension ListStreamsOutput { extension ListTagsForStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3342,14 +3342,14 @@ extension ListTagsForStreamOutput { extension MergeShardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MergeShardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MergeShardsOutput { return MergeShardsOutput() } } extension PutRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3363,7 +3363,7 @@ extension PutRecordOutput { extension PutRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3377,14 +3377,14 @@ extension PutRecordsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { return PutResourcePolicyOutput() } } extension RegisterStreamConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterStreamConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterStreamConsumerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3396,35 +3396,35 @@ extension RegisterStreamConsumerOutput { extension RemoveTagsFromStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromStreamOutput { return RemoveTagsFromStreamOutput() } } extension SplitShardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SplitShardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SplitShardOutput { return SplitShardOutput() } } extension StartStreamEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartStreamEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartStreamEncryptionOutput { return StartStreamEncryptionOutput() } } extension StopStreamEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopStreamEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopStreamEncryptionOutput { return StopStreamEncryptionOutput() } } extension SubscribeToShardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubscribeToShardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubscribeToShardOutput { var value = SubscribeToShardOutput() if case let .stream(stream) = httpResponse.body { let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() @@ -3437,7 +3437,7 @@ extension SubscribeToShardOutput { extension UpdateShardCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateShardCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateShardCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3452,14 +3452,14 @@ extension UpdateShardCountOutput { extension UpdateStreamModeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStreamModeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStreamModeOutput { return UpdateStreamModeOutput() } } enum AddTagsToStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3477,7 +3477,7 @@ enum AddTagsToStreamOutputError { enum CreateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3493,7 +3493,7 @@ enum CreateStreamOutputError { enum DecreaseStreamRetentionPeriodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3511,7 +3511,7 @@ enum DecreaseStreamRetentionPeriodOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3529,7 +3529,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3547,7 +3547,7 @@ enum DeleteStreamOutputError { enum DeregisterStreamConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3563,7 +3563,7 @@ enum DeregisterStreamConsumerOutputError { enum DescribeLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3577,7 +3577,7 @@ enum DescribeLimitsOutputError { enum DescribeStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3594,7 +3594,7 @@ enum DescribeStreamOutputError { enum DescribeStreamConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3610,7 +3610,7 @@ enum DescribeStreamConsumerOutputError { enum DescribeStreamSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3627,7 +3627,7 @@ enum DescribeStreamSummaryOutputError { enum DisableEnhancedMonitoringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3645,7 +3645,7 @@ enum DisableEnhancedMonitoringOutputError { enum EnableEnhancedMonitoringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3663,7 +3663,7 @@ enum EnableEnhancedMonitoringOutputError { enum GetRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3687,7 +3687,7 @@ enum GetRecordsOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3704,7 +3704,7 @@ enum GetResourcePolicyOutputError { enum GetShardIteratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3721,7 +3721,7 @@ enum GetShardIteratorOutputError { enum IncreaseStreamRetentionPeriodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3739,7 +3739,7 @@ enum IncreaseStreamRetentionPeriodOutputError { enum ListShardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3758,7 +3758,7 @@ enum ListShardsOutputError { enum ListStreamConsumersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3776,7 +3776,7 @@ enum ListStreamConsumersOutputError { enum ListStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3792,7 +3792,7 @@ enum ListStreamsOutputError { enum ListTagsForStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3809,7 +3809,7 @@ enum ListTagsForStreamOutputError { enum MergeShardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3828,7 +3828,7 @@ enum MergeShardsOutputError { enum PutRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3851,7 +3851,7 @@ enum PutRecordOutputError { enum PutRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3874,7 +3874,7 @@ enum PutRecordsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3892,7 +3892,7 @@ enum PutResourcePolicyOutputError { enum RegisterStreamConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3909,7 +3909,7 @@ enum RegisterStreamConsumerOutputError { enum RemoveTagsFromStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3927,7 +3927,7 @@ enum RemoveTagsFromStreamOutputError { enum SplitShardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3946,7 +3946,7 @@ enum SplitShardOutputError { enum StartStreamEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3970,7 +3970,7 @@ enum StartStreamEncryptionOutputError { enum StopStreamEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3988,7 +3988,7 @@ enum StopStreamEncryptionOutputError { enum SubscribeToShardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4006,7 +4006,7 @@ enum SubscribeToShardOutputError { enum UpdateShardCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4025,7 +4025,7 @@ enum UpdateShardCountOutputError { enum UpdateStreamModeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4278,14 +4278,14 @@ extension KinesisClientTypes.SubscribeToShardEventStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalFailureException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") diff --git a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/Models.swift b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/Models.swift index 66e14905acb..61afc916250 100644 --- a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/Models.swift +++ b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -60,7 +60,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -209,7 +209,7 @@ public struct CodeValidationException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1681,7 +1681,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1705,7 +1705,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1969,7 +1969,7 @@ public struct ResourceProvisionedThroughputExceededException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1993,7 +1993,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2019,7 +2019,7 @@ public struct UnableToDetectSchemaException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2150,7 +2150,7 @@ public struct InvalidApplicationConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2680,42 +2680,42 @@ extension UpdateApplicationInput { extension AddApplicationCloudWatchLoggingOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationCloudWatchLoggingOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationCloudWatchLoggingOptionOutput { return AddApplicationCloudWatchLoggingOptionOutput() } } extension AddApplicationInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationInputOutput { return AddApplicationInputOutput() } } extension AddApplicationInputProcessingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationInputProcessingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationInputProcessingConfigurationOutput { return AddApplicationInputProcessingConfigurationOutput() } } extension AddApplicationOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationOutputOutput { return AddApplicationOutputOutput() } } extension AddApplicationReferenceDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationReferenceDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationReferenceDataSourceOutput { return AddApplicationReferenceDataSourceOutput() } } extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2727,42 +2727,42 @@ extension CreateApplicationOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteApplicationCloudWatchLoggingOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationCloudWatchLoggingOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationCloudWatchLoggingOptionOutput { return DeleteApplicationCloudWatchLoggingOptionOutput() } } extension DeleteApplicationInputProcessingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationInputProcessingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationInputProcessingConfigurationOutput { return DeleteApplicationInputProcessingConfigurationOutput() } } extension DeleteApplicationOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutputOutput { return DeleteApplicationOutputOutput() } } extension DeleteApplicationReferenceDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationReferenceDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationReferenceDataSourceOutput { return DeleteApplicationReferenceDataSourceOutput() } } extension DescribeApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2774,7 +2774,7 @@ extension DescribeApplicationOutput { extension DiscoverInputSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DiscoverInputSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DiscoverInputSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2789,7 +2789,7 @@ extension DiscoverInputSchemaOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2802,7 +2802,7 @@ extension ListApplicationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2814,42 +2814,42 @@ extension ListTagsForResourceOutput { extension StartApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartApplicationOutput { return StartApplicationOutput() } } extension StopApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopApplicationOutput { return StopApplicationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } enum AddApplicationCloudWatchLoggingOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2867,7 +2867,7 @@ enum AddApplicationCloudWatchLoggingOptionOutputError { enum AddApplicationInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2886,7 +2886,7 @@ enum AddApplicationInputOutputError { enum AddApplicationInputProcessingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2904,7 +2904,7 @@ enum AddApplicationInputProcessingConfigurationOutputError { enum AddApplicationOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2922,7 +2922,7 @@ enum AddApplicationOutputOutputError { enum AddApplicationReferenceDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2940,7 +2940,7 @@ enum AddApplicationReferenceDataSourceOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2959,7 +2959,7 @@ enum CreateApplicationOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2976,7 +2976,7 @@ enum DeleteApplicationOutputError { enum DeleteApplicationCloudWatchLoggingOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2994,7 +2994,7 @@ enum DeleteApplicationCloudWatchLoggingOptionOutputError { enum DeleteApplicationInputProcessingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3012,7 +3012,7 @@ enum DeleteApplicationInputProcessingConfigurationOutputError { enum DeleteApplicationOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum DeleteApplicationOutputOutputError { enum DeleteApplicationReferenceDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3048,7 +3048,7 @@ enum DeleteApplicationReferenceDataSourceOutputError { enum DescribeApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3063,7 +3063,7 @@ enum DescribeApplicationOutputError { enum DiscoverInputSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3080,7 +3080,7 @@ enum DiscoverInputSchemaOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3093,7 +3093,7 @@ enum ListApplicationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3109,7 +3109,7 @@ enum ListTagsForResourceOutputError { enum StartApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3127,7 +3127,7 @@ enum StartApplicationOutputError { enum StopApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3143,7 +3143,7 @@ enum StopApplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3161,7 +3161,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3179,7 +3179,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift index a2bc58a7048..9819c81124e 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift @@ -1090,6 +1090,57 @@ extension KinesisAnalyticsV2Client { return result } + /// Performs the `DescribeApplicationOperation` operation on the `KinesisAnalytics_20180523` service. + /// + /// Returns information about a specific operation performed on a Managed Service for Apache Flink application + /// + /// - Parameter DescribeApplicationOperationInput : Request for information about a specific operation performed on a Managed Service for Apache Flink application + /// + /// - Returns: `DescribeApplicationOperationOutput` : Provides details of the operation corresponding to the operation-ID on a Managed Service for Apache Flink application + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InvalidArgumentException` : The specified input parameter value is not valid. + /// - `ResourceNotFoundException` : Specified application can't be found. + /// - `UnsupportedOperationException` : The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation. + public func describeApplicationOperation(input: DescribeApplicationOperationInput) async throws -> DescribeApplicationOperationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "describeApplicationOperation") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "kinesisanalytics") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "describeApplicationOperation") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DescribeApplicationOperationInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "KinesisAnalytics_20180523.DescribeApplicationOperation")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DescribeApplicationOperationInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DescribeApplicationOperationOutput.httpOutput(from:), DescribeApplicationOperationOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DescribeApplicationSnapshot` operation on the `KinesisAnalytics_20180523` service. /// /// Returns information about a snapshot of application state data. @@ -1246,6 +1297,57 @@ extension KinesisAnalyticsV2Client { return result } + /// Performs the `ListApplicationOperations` operation on the `KinesisAnalytics_20180523` service. + /// + /// Lists information about operations performed on a Managed Service for Apache Flink application + /// + /// - Parameter ListApplicationOperationsInput : Request to list operations performed on an application + /// + /// - Returns: `ListApplicationOperationsOutput` : Response with the list of operations for an application + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InvalidArgumentException` : The specified input parameter value is not valid. + /// - `ResourceNotFoundException` : Specified application can't be found. + /// - `UnsupportedOperationException` : The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation. + public func listApplicationOperations(input: ListApplicationOperationsInput) async throws -> ListApplicationOperationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listApplicationOperations") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "kinesisanalytics") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listApplicationOperations") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListApplicationOperationsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "KinesisAnalytics_20180523.ListApplicationOperations")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListApplicationOperationsInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListApplicationOperationsOutput.httpOutput(from:), ListApplicationOperationsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListApplicationSnapshots` operation on the `KinesisAnalytics_20180523` service. /// /// Lists information about the current application snapshots. @@ -1449,7 +1551,7 @@ extension KinesisAnalyticsV2Client { /// Performs the `RollbackApplication` operation on the `KinesisAnalytics_20180523` service. /// - /// Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status. You can roll back an application only if it is in the UPDATING or AUTOSCALING status. When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request. This action is not supported for Managed Service for Apache Flink for SQL applications. + /// Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status or in the running status. You can roll back an application only if it is in the UPDATING, AUTOSCALING, or RUNNING statuses. When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request. /// /// - Parameter RollbackApplicationInput : [no documentation found] /// diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Models.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Models.swift index ea29ac725dc..1390f365721 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Models.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct InvalidApplicationConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -130,7 +130,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -241,16 +241,20 @@ public struct AddApplicationCloudWatchLoggingOptionOutput { public var applicationVersionId: Swift.Int? /// The descriptions of the current CloudWatch logging options for the SQL-based Kinesis Data Analytics application. public var cloudWatchLoggingOptionDescriptions: [KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription]? + /// Operation ID for tracking AddApplicationCloudWatchLoggingOption request + public var operationId: Swift.String? public init( applicationARN: Swift.String? = nil, applicationVersionId: Swift.Int? = nil, - cloudWatchLoggingOptionDescriptions: [KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription]? = nil + cloudWatchLoggingOptionDescriptions: [KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription]? = nil, + operationId: Swift.String? = nil ) { self.applicationARN = applicationARN self.applicationVersionId = applicationVersionId self.cloudWatchLoggingOptionDescriptions = cloudWatchLoggingOptionDescriptions + self.operationId = operationId } } @@ -266,7 +270,7 @@ public struct CodeValidationException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1313,17 +1317,21 @@ public struct AddApplicationVpcConfigurationOutput { public var applicationARN: Swift.String? /// Provides the current application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application. public var applicationVersionId: Swift.Int? + /// Operation ID for tracking AddApplicationVpcConfiguration request + public var operationId: Swift.String? /// The parameters of the new VPC configuration. public var vpcConfigurationDescription: KinesisAnalyticsV2ClientTypes.VpcConfigurationDescription? public init( applicationARN: Swift.String? = nil, applicationVersionId: Swift.Int? = nil, + operationId: Swift.String? = nil, vpcConfigurationDescription: KinesisAnalyticsV2ClientTypes.VpcConfigurationDescription? = nil ) { self.applicationARN = applicationARN self.applicationVersionId = applicationVersionId + self.operationId = operationId self.vpcConfigurationDescription = vpcConfigurationDescription } } @@ -1588,6 +1596,23 @@ extension KinesisAnalyticsV2ClientTypes { } +extension KinesisAnalyticsV2ClientTypes { + /// Describes system rollback configuration for a Managed Service for Apache Flink application + public struct ApplicationSystemRollbackConfiguration { + /// Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application + /// This member is required. + public var rollbackEnabled: Swift.Bool? + + public init( + rollbackEnabled: Swift.Bool? = nil + ) + { + self.rollbackEnabled = rollbackEnabled + } + } + +} + extension KinesisAnalyticsV2ClientTypes { /// Property key-value pairs passed into an application. public struct PropertyGroup { @@ -1657,7 +1682,7 @@ extension KinesisAnalyticsV2ClientTypes { } extension KinesisAnalyticsV2ClientTypes { - /// Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see [ Checkpoints for Fault Tolerance](https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.18/). + /// Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see [ Checkpoints for Fault Tolerance](https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.19/). public struct CheckpointConfiguration { /// Describes the interval in milliseconds between checkpoint operations. If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointInterval value of 60000, even if this value is set to another value using this API or in application code. public var checkpointInterval: Swift.Int? @@ -1672,7 +1697,7 @@ extension KinesisAnalyticsV2ClientTypes { /// * MinPauseBetweenCheckpoints: 5000 /// This member is required. public var configurationType: KinesisAnalyticsV2ClientTypes.ConfigurationType? - /// Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see [ Tuning Checkpointing](https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/ops/state/large_state_tuning/#tuning-checkpointing) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.18/). If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code. + /// Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see [ Tuning Checkpointing](https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/state/large_state_tuning/#tuning-checkpointing) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.19/). If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code. public var minPauseBetweenCheckpoints: Swift.Int? public init( @@ -1787,7 +1812,7 @@ extension KinesisAnalyticsV2ClientTypes { } extension KinesisAnalyticsV2ClientTypes { - /// Describes parameters for how a Managed Service for Apache Flink application executes multiple tasks simultaneously. For more information about parallelism, see [Parallel Execution](https://nightlies.apache.org/flink/flink-docs-release-1.18/dev/parallel.html) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.18/). + /// Describes parameters for how a Managed Service for Apache Flink application executes multiple tasks simultaneously. For more information about parallelism, see [Parallel Execution](https://nightlies.apache.org/flink/flink-docs-release-1.19/dev/parallel.html) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.19/). public struct ParallelismConfiguration { /// Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput. public var autoScalingEnabled: Swift.Bool? @@ -1818,7 +1843,7 @@ extension KinesisAnalyticsV2ClientTypes { extension KinesisAnalyticsV2ClientTypes { /// Describes configuration parameters for a Managed Service for Apache Flink application or a Studio notebook. public struct FlinkApplicationConfiguration { - /// Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see [ Checkpoints for Fault Tolerance](https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.18/). + /// Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see [ Checkpoints for Fault Tolerance](https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.19/). public var checkpointConfiguration: KinesisAnalyticsV2ClientTypes.CheckpointConfiguration? /// Describes configuration parameters for Amazon CloudWatch logging for an application. public var monitoringConfiguration: KinesisAnalyticsV2ClientTypes.MonitoringConfiguration? @@ -2068,6 +2093,8 @@ extension KinesisAnalyticsV2ClientTypes { public var applicationCodeConfiguration: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfiguration? /// Describes whether snapshots are enabled for a Managed Service for Apache Flink application. public var applicationSnapshotConfiguration: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfiguration? + /// Describes system rollback configuration for a Managed Service for Apache Flink application + public var applicationSystemRollbackConfiguration: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfiguration? /// Describes execution properties for a Managed Service for Apache Flink application. public var environmentProperties: KinesisAnalyticsV2ClientTypes.EnvironmentProperties? /// The creation and update parameters for a Managed Service for Apache Flink application. @@ -2082,6 +2109,7 @@ extension KinesisAnalyticsV2ClientTypes { public init( applicationCodeConfiguration: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfiguration? = nil, applicationSnapshotConfiguration: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfiguration? = nil, + applicationSystemRollbackConfiguration: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfiguration? = nil, environmentProperties: KinesisAnalyticsV2ClientTypes.EnvironmentProperties? = nil, flinkApplicationConfiguration: KinesisAnalyticsV2ClientTypes.FlinkApplicationConfiguration? = nil, sqlApplicationConfiguration: KinesisAnalyticsV2ClientTypes.SqlApplicationConfiguration? = nil, @@ -2091,6 +2119,7 @@ extension KinesisAnalyticsV2ClientTypes { { self.applicationCodeConfiguration = applicationCodeConfiguration self.applicationSnapshotConfiguration = applicationSnapshotConfiguration + self.applicationSystemRollbackConfiguration = applicationSystemRollbackConfiguration self.environmentProperties = environmentProperties self.flinkApplicationConfiguration = flinkApplicationConfiguration self.sqlApplicationConfiguration = sqlApplicationConfiguration @@ -2118,6 +2147,23 @@ extension KinesisAnalyticsV2ClientTypes { } +extension KinesisAnalyticsV2ClientTypes { + /// Describes system rollback configuration for a Managed Service for Apache Flink application + public struct ApplicationSystemRollbackConfigurationDescription { + /// Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application + /// This member is required. + public var rollbackEnabled: Swift.Bool? + + public init( + rollbackEnabled: Swift.Bool? = nil + ) + { + self.rollbackEnabled = rollbackEnabled + } + } + +} + extension KinesisAnalyticsV2ClientTypes { /// Describes the execution properties for an Apache Flink runtime. public struct EnvironmentPropertyDescriptions { @@ -2229,7 +2275,7 @@ extension KinesisAnalyticsV2ClientTypes { public struct FlinkApplicationConfigurationDescription { /// Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. public var checkpointConfigurationDescription: KinesisAnalyticsV2ClientTypes.CheckpointConfigurationDescription? - /// The job plan for an application. For more information about the job plan, see [Jobs and Scheduling](https://nightlies.apache.org/flink/flink-docs-release-1.18/internals/job_scheduling.html) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.18/). To retrieve the job plan for the application, use the [DescribeApplicationRequest$IncludeAdditionalDetails] parameter of the [DescribeApplication] operation. + /// The job plan for an application. For more information about the job plan, see [Jobs and Scheduling](https://nightlies.apache.org/flink/flink-docs-release-1.19/internals/job_scheduling.html) in the [Apache Flink Documentation](https://nightlies.apache.org/flink/flink-docs-release-1.19/). To retrieve the job plan for the application, use the [DescribeApplicationRequest$IncludeAdditionalDetails] parameter of the [DescribeApplication] operation. public var jobPlanDescription: Swift.String? /// Describes configuration parameters for Amazon CloudWatch logging for an application. public var monitoringConfigurationDescription: KinesisAnalyticsV2ClientTypes.MonitoringConfigurationDescription? @@ -2308,7 +2354,7 @@ extension KinesisAnalyticsV2ClientTypes { extension KinesisAnalyticsV2ClientTypes { /// Describes the starting parameters for a Managed Service for Apache Flink application. public struct FlinkRunConfiguration { - /// When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see [ Allowing Non-Restored State](https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/ops/state/savepoints/#allowing-non-restored-state) in the [Apache Flink documentation](https://nightlies.apache.org/flink/flink-docs-release-1.18/). This value defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true. + /// When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see [ Allowing Non-Restored State](https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/state/savepoints/#allowing-non-restored-state) in the [Apache Flink documentation](https://nightlies.apache.org/flink/flink-docs-release-1.19/). This value defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true. public var allowNonRestoredState: Swift.Bool? public init( @@ -2513,6 +2559,8 @@ extension KinesisAnalyticsV2ClientTypes { public var applicationCodeConfigurationDescription: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfigurationDescription? /// Describes whether snapshots are enabled for a Managed Service for Apache Flink application. public var applicationSnapshotConfigurationDescription: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationDescription? + /// Describes system rollback configuration for a Managed Service for Apache Flink application + public var applicationSystemRollbackConfigurationDescription: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationDescription? /// Describes execution properties for a Managed Service for Apache Flink application. public var environmentPropertyDescriptions: KinesisAnalyticsV2ClientTypes.EnvironmentPropertyDescriptions? /// The details about a Managed Service for Apache Flink application. @@ -2529,6 +2577,7 @@ extension KinesisAnalyticsV2ClientTypes { public init( applicationCodeConfigurationDescription: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfigurationDescription? = nil, applicationSnapshotConfigurationDescription: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationDescription? = nil, + applicationSystemRollbackConfigurationDescription: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationDescription? = nil, environmentPropertyDescriptions: KinesisAnalyticsV2ClientTypes.EnvironmentPropertyDescriptions? = nil, flinkApplicationConfigurationDescription: KinesisAnalyticsV2ClientTypes.FlinkApplicationConfigurationDescription? = nil, runConfigurationDescription: KinesisAnalyticsV2ClientTypes.RunConfigurationDescription? = nil, @@ -2539,6 +2588,7 @@ extension KinesisAnalyticsV2ClientTypes { { self.applicationCodeConfigurationDescription = applicationCodeConfigurationDescription self.applicationSnapshotConfigurationDescription = applicationSnapshotConfigurationDescription + self.applicationSystemRollbackConfigurationDescription = applicationSystemRollbackConfigurationDescription self.environmentPropertyDescriptions = environmentPropertyDescriptions self.flinkApplicationConfigurationDescription = flinkApplicationConfigurationDescription self.runConfigurationDescription = runConfigurationDescription @@ -2567,6 +2617,23 @@ extension KinesisAnalyticsV2ClientTypes { } +extension KinesisAnalyticsV2ClientTypes { + /// Describes system rollback configuration for a Managed Service for Apache Flink application + public struct ApplicationSystemRollbackConfigurationUpdate { + /// Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application + /// This member is required. + public var rollbackEnabledUpdate: Swift.Bool? + + public init( + rollbackEnabledUpdate: Swift.Bool? = nil + ) + { + self.rollbackEnabledUpdate = rollbackEnabledUpdate + } + } + +} + extension KinesisAnalyticsV2ClientTypes { /// Describes updates to the execution property groups for a Managed Service for Apache Flink application or a Studio notebook. public struct EnvironmentPropertyUpdates { @@ -3152,6 +3219,8 @@ extension KinesisAnalyticsV2ClientTypes { public var applicationCodeConfigurationUpdate: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfigurationUpdate? /// Describes whether snapshots are enabled for a Managed Service for Apache Flink application. public var applicationSnapshotConfigurationUpdate: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationUpdate? + /// Describes system rollback configuration for a Managed Service for Apache Flink application + public var applicationSystemRollbackConfigurationUpdate: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationUpdate? /// Describes updates to the environment properties for a Managed Service for Apache Flink application. public var environmentPropertyUpdates: KinesisAnalyticsV2ClientTypes.EnvironmentPropertyUpdates? /// Describes updates to a Managed Service for Apache Flink application's configuration. @@ -3166,6 +3235,7 @@ extension KinesisAnalyticsV2ClientTypes { public init( applicationCodeConfigurationUpdate: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfigurationUpdate? = nil, applicationSnapshotConfigurationUpdate: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationUpdate? = nil, + applicationSystemRollbackConfigurationUpdate: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationUpdate? = nil, environmentPropertyUpdates: KinesisAnalyticsV2ClientTypes.EnvironmentPropertyUpdates? = nil, flinkApplicationConfigurationUpdate: KinesisAnalyticsV2ClientTypes.FlinkApplicationConfigurationUpdate? = nil, sqlApplicationConfigurationUpdate: KinesisAnalyticsV2ClientTypes.SqlApplicationConfigurationUpdate? = nil, @@ -3175,6 +3245,7 @@ extension KinesisAnalyticsV2ClientTypes { { self.applicationCodeConfigurationUpdate = applicationCodeConfigurationUpdate self.applicationSnapshotConfigurationUpdate = applicationSnapshotConfigurationUpdate + self.applicationSystemRollbackConfigurationUpdate = applicationSystemRollbackConfigurationUpdate self.environmentPropertyUpdates = environmentPropertyUpdates self.flinkApplicationConfigurationUpdate = flinkApplicationConfigurationUpdate self.sqlApplicationConfigurationUpdate = sqlApplicationConfigurationUpdate @@ -3299,6 +3370,7 @@ extension KinesisAnalyticsV2ClientTypes { case flink113 case flink115 case flink118 + case flink119 case flink16 case flink18 case sql10 @@ -3313,6 +3385,7 @@ extension KinesisAnalyticsV2ClientTypes { .flink113, .flink115, .flink118, + .flink119, .flink16, .flink18, .sql10, @@ -3333,6 +3406,7 @@ extension KinesisAnalyticsV2ClientTypes { case .flink113: return "FLINK-1_13" case .flink115: return "FLINK-1_15" case .flink118: return "FLINK-1_18" + case .flink119: return "FLINK-1_19" case .flink16: return "FLINK-1_6" case .flink18: return "FLINK-1_8" case .sql10: return "SQL-1_0" @@ -3365,6 +3439,8 @@ extension KinesisAnalyticsV2ClientTypes { /// The status of the application. /// This member is required. public var applicationStatus: KinesisAnalyticsV2ClientTypes.ApplicationStatus? + /// The current timestamp when the application version was created. + public var applicationVersionCreateTimestamp: Foundation.Date? /// Provides the current application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application. /// This member is required. public var applicationVersionId: Swift.Int? @@ -3396,6 +3472,7 @@ extension KinesisAnalyticsV2ClientTypes { applicationMode: KinesisAnalyticsV2ClientTypes.ApplicationMode? = nil, applicationName: Swift.String? = nil, applicationStatus: KinesisAnalyticsV2ClientTypes.ApplicationStatus? = nil, + applicationVersionCreateTimestamp: Foundation.Date? = nil, applicationVersionId: Swift.Int? = nil, applicationVersionRolledBackFrom: Swift.Int? = nil, applicationVersionRolledBackTo: Swift.Int? = nil, @@ -3415,6 +3492,7 @@ extension KinesisAnalyticsV2ClientTypes { self.applicationMode = applicationMode self.applicationName = applicationName self.applicationStatus = applicationStatus + self.applicationVersionCreateTimestamp = applicationVersionCreateTimestamp self.applicationVersionId = applicationVersionId self.applicationVersionRolledBackFrom = applicationVersionRolledBackFrom self.applicationVersionRolledBackTo = applicationVersionRolledBackTo @@ -3447,6 +3525,172 @@ extension KinesisAnalyticsV2ClientTypes { } +extension KinesisAnalyticsV2ClientTypes { + + /// Status of the operation performed on an application + public enum OperationStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case cancelled + case failed + case inProgress + case successful + case sdkUnknown(Swift.String) + + public static var allCases: [OperationStatus] { + return [ + .cancelled, + .failed, + .inProgress, + .successful + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .cancelled: return "CANCELLED" + case .failed: return "FAILED" + case .inProgress: return "IN_PROGRESS" + case .successful: return "SUCCESSFUL" + case let .sdkUnknown(s): return s + } + } + } +} + +extension KinesisAnalyticsV2ClientTypes { + /// Provides a description of the operation, such as the type and status of operation + public struct ApplicationOperationInfo { + /// The timestamp at which the operation finished for the application + public var endTime: Foundation.Date? + /// Type of operation performed on an application + public var operation: Swift.String? + /// Identifier of the Operation + public var operationId: Swift.String? + /// Status of the operation performed on an application + public var operationStatus: KinesisAnalyticsV2ClientTypes.OperationStatus? + /// The timestamp at which the operation was created + public var startTime: Foundation.Date? + + public init( + endTime: Foundation.Date? = nil, + operation: Swift.String? = nil, + operationId: Swift.String? = nil, + operationStatus: KinesisAnalyticsV2ClientTypes.OperationStatus? = nil, + startTime: Foundation.Date? = nil + ) + { + self.endTime = endTime + self.operation = operation + self.operationId = operationId + self.operationStatus = operationStatus + self.startTime = startTime + } + } + +} + +extension KinesisAnalyticsV2ClientTypes { + /// Contains information about the application version changes due to an operation + public struct ApplicationVersionChangeDetails { + /// The operation was performed on this version of the application + /// This member is required. + public var applicationVersionUpdatedFrom: Swift.Int? + /// The operation execution resulted in the transition to the following version of the application + /// This member is required. + public var applicationVersionUpdatedTo: Swift.Int? + + public init( + applicationVersionUpdatedFrom: Swift.Int? = nil, + applicationVersionUpdatedTo: Swift.Int? = nil + ) + { + self.applicationVersionUpdatedFrom = applicationVersionUpdatedFrom + self.applicationVersionUpdatedTo = applicationVersionUpdatedTo + } + } + +} + +extension KinesisAnalyticsV2ClientTypes { + /// Provides a description of the operation failure error + public struct ErrorInfo { + /// Error message resulting in failure of the operation + public var errorString: Swift.String? + + public init( + errorString: Swift.String? = nil + ) + { + self.errorString = errorString + } + } + +} + +extension KinesisAnalyticsV2ClientTypes { + /// Provides a description of the operation failure + public struct OperationFailureDetails { + /// Provides a description of the operation failure error + public var errorInfo: KinesisAnalyticsV2ClientTypes.ErrorInfo? + /// Provides the operation ID of a system-rollback operation executed due to failure in the current operation + public var rollbackOperationId: Swift.String? + + public init( + errorInfo: KinesisAnalyticsV2ClientTypes.ErrorInfo? = nil, + rollbackOperationId: Swift.String? = nil + ) + { + self.errorInfo = errorInfo + self.rollbackOperationId = rollbackOperationId + } + } + +} + +extension KinesisAnalyticsV2ClientTypes { + /// Provides a description of the operation, such as the operation-type and status + public struct ApplicationOperationInfoDetails { + /// Contains information about the application version changes due to an operation + public var applicationVersionChangeDetails: KinesisAnalyticsV2ClientTypes.ApplicationVersionChangeDetails? + /// The timestamp at which the operation finished for the application + /// This member is required. + public var endTime: Foundation.Date? + /// Type of operation performed on an application + /// This member is required. + public var operation: Swift.String? + /// Provides a description of the operation failure + public var operationFailureDetails: KinesisAnalyticsV2ClientTypes.OperationFailureDetails? + /// Status of the operation performed on an application + /// This member is required. + public var operationStatus: KinesisAnalyticsV2ClientTypes.OperationStatus? + /// The timestamp at which the operation was created + /// This member is required. + public var startTime: Foundation.Date? + + public init( + applicationVersionChangeDetails: KinesisAnalyticsV2ClientTypes.ApplicationVersionChangeDetails? = nil, + endTime: Foundation.Date? = nil, + operation: Swift.String? = nil, + operationFailureDetails: KinesisAnalyticsV2ClientTypes.OperationFailureDetails? = nil, + operationStatus: KinesisAnalyticsV2ClientTypes.OperationStatus? = nil, + startTime: Foundation.Date? = nil + ) + { + self.applicationVersionChangeDetails = applicationVersionChangeDetails + self.endTime = endTime + self.operation = operation + self.operationFailureDetails = operationFailureDetails + self.operationStatus = operationStatus + self.startTime = startTime + } + } + +} + extension KinesisAnalyticsV2ClientTypes { /// Provides application summary information, including the application Amazon Resource Name (ARN), name, and status. public struct ApplicationSummary { @@ -3543,7 +3787,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3567,7 +3811,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3591,7 +3835,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3822,16 +4066,20 @@ public struct DeleteApplicationCloudWatchLoggingOptionOutput { public var applicationVersionId: Swift.Int? /// The descriptions of the remaining CloudWatch logging options for the application. public var cloudWatchLoggingOptionDescriptions: [KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription]? + /// Operation ID for tracking DeleteApplicationCloudWatchLoggingOption request + public var operationId: Swift.String? public init( applicationARN: Swift.String? = nil, applicationVersionId: Swift.Int? = nil, - cloudWatchLoggingOptionDescriptions: [KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription]? = nil + cloudWatchLoggingOptionDescriptions: [KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription]? = nil, + operationId: Swift.String? = nil ) { self.applicationARN = applicationARN self.applicationVersionId = applicationVersionId self.cloudWatchLoggingOptionDescriptions = cloudWatchLoggingOptionDescriptions + self.operationId = operationId } } @@ -4011,14 +4259,18 @@ public struct DeleteApplicationVpcConfigurationOutput { public var applicationARN: Swift.String? /// The updated version ID of the application. public var applicationVersionId: Swift.Int? + /// Operation ID for tracking DeleteApplicationVpcConfiguration request + public var operationId: Swift.String? public init( applicationARN: Swift.String? = nil, - applicationVersionId: Swift.Int? = nil + applicationVersionId: Swift.Int? = nil, + operationId: Swift.String? = nil ) { self.applicationARN = applicationARN self.applicationVersionId = applicationVersionId + self.operationId = operationId } } @@ -4052,6 +4304,38 @@ public struct DescribeApplicationOutput { } } +/// Request for information about a specific operation performed on a Managed Service for Apache Flink application +public struct DescribeApplicationOperationInput { + /// The name of the application + /// This member is required. + public var applicationName: Swift.String? + /// Identifier of the Operation + /// This member is required. + public var operationId: Swift.String? + + public init( + applicationName: Swift.String? = nil, + operationId: Swift.String? = nil + ) + { + self.applicationName = applicationName + self.operationId = operationId + } +} + +/// Provides details of the operation corresponding to the operation-ID on a Managed Service for Apache Flink application +public struct DescribeApplicationOperationOutput { + /// Provides a description of the operation, such as the operation-type and status + public var applicationOperationInfoDetails: KinesisAnalyticsV2ClientTypes.ApplicationOperationInfoDetails? + + public init( + applicationOperationInfoDetails: KinesisAnalyticsV2ClientTypes.ApplicationOperationInfoDetails? = nil + ) + { + self.applicationOperationInfoDetails = applicationOperationInfoDetails + } +} + public struct DescribeApplicationSnapshotInput { /// The name of an existing application. /// This member is required. @@ -4195,7 +4479,7 @@ public struct ResourceProvisionedThroughputExceededException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4219,7 +4503,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4247,7 +4531,7 @@ public struct UnableToDetectSchemaException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4338,6 +4622,53 @@ public struct DiscoverInputSchemaOutput { } } +/// Request to list operations performed on an application +public struct ListApplicationOperationsInput { + /// The name of the application + /// This member is required. + public var applicationName: Swift.String? + /// Limit on the number of records returned in the response + public var limit: Swift.Int? + /// If a previous command returned a pagination token, pass it into this value to retrieve the next set of results + public var nextToken: Swift.String? + /// Type of operation performed on an application + public var operation: Swift.String? + /// Status of the operation performed on an application + public var operationStatus: KinesisAnalyticsV2ClientTypes.OperationStatus? + + public init( + applicationName: Swift.String? = nil, + limit: Swift.Int? = nil, + nextToken: Swift.String? = nil, + operation: Swift.String? = nil, + operationStatus: KinesisAnalyticsV2ClientTypes.OperationStatus? = nil + ) + { + self.applicationName = applicationName + self.limit = limit + self.nextToken = nextToken + self.operation = operation + self.operationStatus = operationStatus + } +} + +/// Response with the list of operations for an application +public struct ListApplicationOperationsOutput { + /// List of ApplicationOperationInfo for an application + public var applicationOperationInfoList: [KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo]? + /// If a previous command returned a pagination token, pass it into this value to retrieve the next set of results + public var nextToken: Swift.String? + + public init( + applicationOperationInfoList: [KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo]? = nil, + nextToken: Swift.String? = nil + ) + { + self.applicationOperationInfoList = applicationOperationInfoList + self.nextToken = nextToken + } +} + public struct ListApplicationsInput { /// The maximum number of applications to list. public var limit: Swift.Int? @@ -4492,12 +4823,16 @@ public struct RollbackApplicationOutput { /// Describes the application, including the application Amazon Resource Name (ARN), status, latest version, and input and output configurations. /// This member is required. public var applicationDetail: KinesisAnalyticsV2ClientTypes.ApplicationDetail? + /// Operation ID for tracking RollbackApplication request + public var operationId: Swift.String? public init( - applicationDetail: KinesisAnalyticsV2ClientTypes.ApplicationDetail? = nil + applicationDetail: KinesisAnalyticsV2ClientTypes.ApplicationDetail? = nil, + operationId: Swift.String? = nil ) { self.applicationDetail = applicationDetail + self.operationId = operationId } } @@ -4565,8 +4900,15 @@ public struct StartApplicationInput { } public struct StartApplicationOutput { + /// Operation ID for tracking StartApplication request + public var operationId: Swift.String? - public init() { } + public init( + operationId: Swift.String? = nil + ) + { + self.operationId = operationId + } } public struct StopApplicationInput { @@ -4587,8 +4929,15 @@ public struct StopApplicationInput { } public struct StopApplicationOutput { + /// Operation ID for tracking StopApplication request + public var operationId: Swift.String? - public init() { } + public init( + operationId: Swift.String? = nil + ) + { + self.operationId = operationId + } } public struct TagResourceInput { @@ -4706,12 +5055,16 @@ public struct UpdateApplicationOutput { /// Describes application updates. /// This member is required. public var applicationDetail: KinesisAnalyticsV2ClientTypes.ApplicationDetail? + /// Operation ID for tracking UpdateApplication request + public var operationId: Swift.String? public init( - applicationDetail: KinesisAnalyticsV2ClientTypes.ApplicationDetail? = nil + applicationDetail: KinesisAnalyticsV2ClientTypes.ApplicationDetail? = nil, + operationId: Swift.String? = nil ) { self.applicationDetail = applicationDetail + self.operationId = operationId } } @@ -4868,6 +5221,13 @@ extension DescribeApplicationInput { } } +extension DescribeApplicationOperationInput { + + static func urlPathProvider(_ value: DescribeApplicationOperationInput) -> Swift.String? { + return "/" + } +} + extension DescribeApplicationSnapshotInput { static func urlPathProvider(_ value: DescribeApplicationSnapshotInput) -> Swift.String? { @@ -4889,6 +5249,13 @@ extension DiscoverInputSchemaInput { } } +extension ListApplicationOperationsInput { + + static func urlPathProvider(_ value: ListApplicationOperationsInput) -> Swift.String? { + return "/" + } +} + extension ListApplicationsInput { static func urlPathProvider(_ value: ListApplicationsInput) -> Swift.String? { @@ -5143,6 +5510,15 @@ extension DescribeApplicationInput { } } +extension DescribeApplicationOperationInput { + + static func write(value: DescribeApplicationOperationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ApplicationName"].write(value.applicationName) + try writer["OperationId"].write(value.operationId) + } +} + extension DescribeApplicationSnapshotInput { static func write(value: DescribeApplicationSnapshotInput?, to writer: SmithyJSON.Writer) throws { @@ -5173,6 +5549,18 @@ extension DiscoverInputSchemaInput { } } +extension ListApplicationOperationsInput { + + static func write(value: ListApplicationOperationsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ApplicationName"].write(value.applicationName) + try writer["Limit"].write(value.limit) + try writer["NextToken"].write(value.nextToken) + try writer["Operation"].write(value.operation) + try writer["OperationStatus"].write(value.operationStatus) + } +} + extension ListApplicationsInput { static func write(value: ListApplicationsInput?, to writer: SmithyJSON.Writer) throws { @@ -5281,7 +5669,7 @@ extension UpdateApplicationMaintenanceConfigurationInput { extension AddApplicationCloudWatchLoggingOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationCloudWatchLoggingOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationCloudWatchLoggingOptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5289,13 +5677,14 @@ extension AddApplicationCloudWatchLoggingOptionOutput { value.applicationARN = try reader["ApplicationARN"].readIfPresent() value.applicationVersionId = try reader["ApplicationVersionId"].readIfPresent() value.cloudWatchLoggingOptionDescriptions = try reader["CloudWatchLoggingOptionDescriptions"].readListIfPresent(memberReadingClosure: KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription.read(from:), memberNodeInfo: "member", isFlattened: false) + value.operationId = try reader["OperationId"].readIfPresent() return value } } extension AddApplicationInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5309,7 +5698,7 @@ extension AddApplicationInputOutput { extension AddApplicationInputProcessingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationInputProcessingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationInputProcessingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5324,7 +5713,7 @@ extension AddApplicationInputProcessingConfigurationOutput { extension AddApplicationOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5338,7 +5727,7 @@ extension AddApplicationOutputOutput { extension AddApplicationReferenceDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationReferenceDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationReferenceDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5352,13 +5741,14 @@ extension AddApplicationReferenceDataSourceOutput { extension AddApplicationVpcConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddApplicationVpcConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddApplicationVpcConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = AddApplicationVpcConfigurationOutput() value.applicationARN = try reader["ApplicationARN"].readIfPresent() value.applicationVersionId = try reader["ApplicationVersionId"].readIfPresent() + value.operationId = try reader["OperationId"].readIfPresent() value.vpcConfigurationDescription = try reader["VpcConfigurationDescription"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.VpcConfigurationDescription.read(from:)) return value } @@ -5366,7 +5756,7 @@ extension AddApplicationVpcConfigurationOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5378,7 +5768,7 @@ extension CreateApplicationOutput { extension CreateApplicationPresignedUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationPresignedUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationPresignedUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5390,21 +5780,21 @@ extension CreateApplicationPresignedUrlOutput { extension CreateApplicationSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationSnapshotOutput { return CreateApplicationSnapshotOutput() } } extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteApplicationCloudWatchLoggingOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationCloudWatchLoggingOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationCloudWatchLoggingOptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5412,13 +5802,14 @@ extension DeleteApplicationCloudWatchLoggingOptionOutput { value.applicationARN = try reader["ApplicationARN"].readIfPresent() value.applicationVersionId = try reader["ApplicationVersionId"].readIfPresent() value.cloudWatchLoggingOptionDescriptions = try reader["CloudWatchLoggingOptionDescriptions"].readListIfPresent(memberReadingClosure: KinesisAnalyticsV2ClientTypes.CloudWatchLoggingOptionDescription.read(from:), memberNodeInfo: "member", isFlattened: false) + value.operationId = try reader["OperationId"].readIfPresent() return value } } extension DeleteApplicationInputProcessingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationInputProcessingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationInputProcessingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5431,7 +5822,7 @@ extension DeleteApplicationInputProcessingConfigurationOutput { extension DeleteApplicationOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5444,7 +5835,7 @@ extension DeleteApplicationOutputOutput { extension DeleteApplicationReferenceDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationReferenceDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationReferenceDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5457,27 +5848,28 @@ extension DeleteApplicationReferenceDataSourceOutput { extension DeleteApplicationSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationSnapshotOutput { return DeleteApplicationSnapshotOutput() } } extension DeleteApplicationVpcConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationVpcConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationVpcConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = DeleteApplicationVpcConfigurationOutput() value.applicationARN = try reader["ApplicationARN"].readIfPresent() value.applicationVersionId = try reader["ApplicationVersionId"].readIfPresent() + value.operationId = try reader["OperationId"].readIfPresent() return value } } extension DescribeApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5487,9 +5879,21 @@ extension DescribeApplicationOutput { } } +extension DescribeApplicationOperationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationOperationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeApplicationOperationOutput() + value.applicationOperationInfoDetails = try reader["ApplicationOperationInfoDetails"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationOperationInfoDetails.read(from:)) + return value + } +} + extension DescribeApplicationSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5501,7 +5905,7 @@ extension DescribeApplicationSnapshotOutput { extension DescribeApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5513,7 +5917,7 @@ extension DescribeApplicationVersionOutput { extension DiscoverInputSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DiscoverInputSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DiscoverInputSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5526,9 +5930,22 @@ extension DiscoverInputSchemaOutput { } } +extension ListApplicationOperationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationOperationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListApplicationOperationsOutput() + value.applicationOperationInfoList = try reader["ApplicationOperationInfoList"].readListIfPresent(memberReadingClosure: KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["NextToken"].readIfPresent() + return value + } +} + extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5541,7 +5958,7 @@ extension ListApplicationsOutput { extension ListApplicationSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5554,7 +5971,7 @@ extension ListApplicationSnapshotsOutput { extension ListApplicationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5567,7 +5984,7 @@ extension ListApplicationVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5579,59 +5996,71 @@ extension ListTagsForResourceOutput { extension RollbackApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RollbackApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RollbackApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = RollbackApplicationOutput() value.applicationDetail = try reader["ApplicationDetail"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationDetail.read(from:)) + value.operationId = try reader["OperationId"].readIfPresent() return value } } extension StartApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartApplicationOutput { - return StartApplicationOutput() + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartApplicationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = StartApplicationOutput() + value.operationId = try reader["OperationId"].readIfPresent() + return value } } extension StopApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopApplicationOutput { - return StopApplicationOutput() + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopApplicationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = StopApplicationOutput() + value.operationId = try reader["OperationId"].readIfPresent() + return value } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = UpdateApplicationOutput() value.applicationDetail = try reader["ApplicationDetail"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationDetail.read(from:)) + value.operationId = try reader["OperationId"].readIfPresent() return value } } extension UpdateApplicationMaintenanceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationMaintenanceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationMaintenanceConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5644,7 +6073,7 @@ extension UpdateApplicationMaintenanceConfigurationOutput { enum AddApplicationCloudWatchLoggingOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5663,7 +6092,7 @@ enum AddApplicationCloudWatchLoggingOptionOutputError { enum AddApplicationInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5682,7 +6111,7 @@ enum AddApplicationInputOutputError { enum AddApplicationInputProcessingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5700,7 +6129,7 @@ enum AddApplicationInputProcessingConfigurationOutputError { enum AddApplicationOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5718,7 +6147,7 @@ enum AddApplicationOutputOutputError { enum AddApplicationReferenceDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5736,7 +6165,7 @@ enum AddApplicationReferenceDataSourceOutputError { enum AddApplicationVpcConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5754,7 +6183,7 @@ enum AddApplicationVpcConfigurationOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5775,7 +6204,7 @@ enum CreateApplicationOutputError { enum CreateApplicationPresignedUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5791,7 +6220,7 @@ enum CreateApplicationPresignedUrlOutputError { enum CreateApplicationSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5811,7 +6240,7 @@ enum CreateApplicationSnapshotOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5830,7 +6259,7 @@ enum DeleteApplicationOutputError { enum DeleteApplicationCloudWatchLoggingOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5849,7 +6278,7 @@ enum DeleteApplicationCloudWatchLoggingOptionOutputError { enum DeleteApplicationInputProcessingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5867,7 +6296,7 @@ enum DeleteApplicationInputProcessingConfigurationOutputError { enum DeleteApplicationOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5885,7 +6314,7 @@ enum DeleteApplicationOutputOutputError { enum DeleteApplicationReferenceDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5903,7 +6332,7 @@ enum DeleteApplicationReferenceDataSourceOutputError { enum DeleteApplicationSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5922,7 +6351,7 @@ enum DeleteApplicationSnapshotOutputError { enum DeleteApplicationVpcConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5940,7 +6369,7 @@ enum DeleteApplicationVpcConfigurationOutputError { enum DescribeApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5954,9 +6383,25 @@ enum DescribeApplicationOutputError { } } +enum DescribeApplicationOperationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "UnsupportedOperationException": return try UnsupportedOperationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DescribeApplicationSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5972,7 +6417,7 @@ enum DescribeApplicationSnapshotOutputError { enum DescribeApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5988,7 +6433,7 @@ enum DescribeApplicationVersionOutputError { enum DiscoverInputSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6005,9 +6450,25 @@ enum DiscoverInputSchemaOutputError { } } +enum ListApplicationOperationsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InvalidArgumentException": return try InvalidArgumentException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "UnsupportedOperationException": return try UnsupportedOperationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6021,7 +6482,7 @@ enum ListApplicationsOutputError { enum ListApplicationSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6036,7 +6497,7 @@ enum ListApplicationSnapshotsOutputError { enum ListApplicationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6052,7 +6513,7 @@ enum ListApplicationVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6068,7 +6529,7 @@ enum ListTagsForResourceOutputError { enum RollbackApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6087,7 +6548,7 @@ enum RollbackApplicationOutputError { enum StartApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6105,7 +6566,7 @@ enum StartApplicationOutputError { enum StopApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6124,7 +6585,7 @@ enum StopApplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6142,7 +6603,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6160,7 +6621,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6181,7 +6642,7 @@ enum UpdateApplicationOutputError { enum UpdateApplicationMaintenanceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6695,6 +7156,7 @@ extension KinesisAnalyticsV2ClientTypes.ApplicationDetail { value.applicationMaintenanceConfigurationDescription = try reader["ApplicationMaintenanceConfigurationDescription"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationMaintenanceConfigurationDescription.read(from:)) value.applicationVersionUpdatedFrom = try reader["ApplicationVersionUpdatedFrom"].readIfPresent() value.applicationVersionRolledBackFrom = try reader["ApplicationVersionRolledBackFrom"].readIfPresent() + value.applicationVersionCreateTimestamp = try reader["ApplicationVersionCreateTimestamp"].readTimestampIfPresent(format: .epochSeconds) value.conditionalToken = try reader["ConditionalToken"].readIfPresent() value.applicationVersionRolledBackTo = try reader["ApplicationVersionRolledBackTo"].readIfPresent() value.applicationMode = try reader["ApplicationMode"].readIfPresent() @@ -6724,6 +7186,7 @@ extension KinesisAnalyticsV2ClientTypes.ApplicationConfigurationDescription { value.flinkApplicationConfigurationDescription = try reader["FlinkApplicationConfigurationDescription"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.FlinkApplicationConfigurationDescription.read(from:)) value.environmentPropertyDescriptions = try reader["EnvironmentPropertyDescriptions"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.EnvironmentPropertyDescriptions.read(from:)) value.applicationSnapshotConfigurationDescription = try reader["ApplicationSnapshotConfigurationDescription"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationDescription.read(from:)) + value.applicationSystemRollbackConfigurationDescription = try reader["ApplicationSystemRollbackConfigurationDescription"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationDescription.read(from:)) value.vpcConfigurationDescriptions = try reader["VpcConfigurationDescriptions"].readListIfPresent(memberReadingClosure: KinesisAnalyticsV2ClientTypes.VpcConfigurationDescription.read(from:), memberNodeInfo: "member", isFlattened: false) value.zeppelinApplicationConfigurationDescription = try reader["ZeppelinApplicationConfigurationDescription"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ZeppelinApplicationConfigurationDescription.read(from:)) return value @@ -6844,6 +7307,16 @@ extension KinesisAnalyticsV2ClientTypes.ZeppelinMonitoringConfigurationDescripti } } +extension KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationDescription { + + static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationDescription { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationDescription() + value.rollbackEnabled = try reader["RollbackEnabled"].readIfPresent() + return value + } +} + extension KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationDescription { static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationDescription { @@ -7024,6 +7497,53 @@ extension KinesisAnalyticsV2ClientTypes.SqlApplicationConfigurationDescription { } } +extension KinesisAnalyticsV2ClientTypes.ApplicationOperationInfoDetails { + + static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ApplicationOperationInfoDetails { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = KinesisAnalyticsV2ClientTypes.ApplicationOperationInfoDetails() + value.operation = try reader["Operation"].readIfPresent() + value.startTime = try reader["StartTime"].readTimestampIfPresent(format: .epochSeconds) + value.endTime = try reader["EndTime"].readTimestampIfPresent(format: .epochSeconds) + value.operationStatus = try reader["OperationStatus"].readIfPresent() + value.applicationVersionChangeDetails = try reader["ApplicationVersionChangeDetails"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ApplicationVersionChangeDetails.read(from:)) + value.operationFailureDetails = try reader["OperationFailureDetails"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.OperationFailureDetails.read(from:)) + return value + } +} + +extension KinesisAnalyticsV2ClientTypes.OperationFailureDetails { + + static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.OperationFailureDetails { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = KinesisAnalyticsV2ClientTypes.OperationFailureDetails() + value.rollbackOperationId = try reader["RollbackOperationId"].readIfPresent() + value.errorInfo = try reader["ErrorInfo"].readIfPresent(with: KinesisAnalyticsV2ClientTypes.ErrorInfo.read(from:)) + return value + } +} + +extension KinesisAnalyticsV2ClientTypes.ErrorInfo { + + static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ErrorInfo { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = KinesisAnalyticsV2ClientTypes.ErrorInfo() + value.errorString = try reader["ErrorString"].readIfPresent() + return value + } +} + +extension KinesisAnalyticsV2ClientTypes.ApplicationVersionChangeDetails { + + static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ApplicationVersionChangeDetails { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = KinesisAnalyticsV2ClientTypes.ApplicationVersionChangeDetails() + value.applicationVersionUpdatedFrom = try reader["ApplicationVersionUpdatedFrom"].readIfPresent() + value.applicationVersionUpdatedTo = try reader["ApplicationVersionUpdatedTo"].readIfPresent() + return value + } +} + extension KinesisAnalyticsV2ClientTypes.SnapshotDetails { static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.SnapshotDetails { @@ -7038,6 +7558,20 @@ extension KinesisAnalyticsV2ClientTypes.SnapshotDetails { } } +extension KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo { + + static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo() + value.operation = try reader["Operation"].readIfPresent() + value.operationId = try reader["OperationId"].readIfPresent() + value.startTime = try reader["StartTime"].readTimestampIfPresent(format: .epochSeconds) + value.endTime = try reader["EndTime"].readTimestampIfPresent(format: .epochSeconds) + value.operationStatus = try reader["OperationStatus"].readIfPresent() + return value + } +} + extension KinesisAnalyticsV2ClientTypes.ApplicationSummary { static func read(from reader: SmithyJSON.Reader) throws -> KinesisAnalyticsV2ClientTypes.ApplicationSummary { @@ -7204,6 +7738,7 @@ extension KinesisAnalyticsV2ClientTypes.ApplicationConfiguration { guard let value else { return } try writer["ApplicationCodeConfiguration"].write(value.applicationCodeConfiguration, with: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfiguration.write(value:to:)) try writer["ApplicationSnapshotConfiguration"].write(value.applicationSnapshotConfiguration, with: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfiguration.write(value:to:)) + try writer["ApplicationSystemRollbackConfiguration"].write(value.applicationSystemRollbackConfiguration, with: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfiguration.write(value:to:)) try writer["EnvironmentProperties"].write(value.environmentProperties, with: KinesisAnalyticsV2ClientTypes.EnvironmentProperties.write(value:to:)) try writer["FlinkApplicationConfiguration"].write(value.flinkApplicationConfiguration, with: KinesisAnalyticsV2ClientTypes.FlinkApplicationConfiguration.write(value:to:)) try writer["SqlApplicationConfiguration"].write(value.sqlApplicationConfiguration, with: KinesisAnalyticsV2ClientTypes.SqlApplicationConfiguration.write(value:to:)) @@ -7274,6 +7809,14 @@ extension KinesisAnalyticsV2ClientTypes.ZeppelinMonitoringConfiguration { } } +extension KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfiguration { + + static func write(value: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["RollbackEnabled"].write(value.rollbackEnabled) + } +} + extension KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfiguration { static func write(value: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfiguration?, to writer: SmithyJSON.Writer) throws { @@ -7395,6 +7938,7 @@ extension KinesisAnalyticsV2ClientTypes.ApplicationConfigurationUpdate { guard let value else { return } try writer["ApplicationCodeConfigurationUpdate"].write(value.applicationCodeConfigurationUpdate, with: KinesisAnalyticsV2ClientTypes.ApplicationCodeConfigurationUpdate.write(value:to:)) try writer["ApplicationSnapshotConfigurationUpdate"].write(value.applicationSnapshotConfigurationUpdate, with: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationUpdate.write(value:to:)) + try writer["ApplicationSystemRollbackConfigurationUpdate"].write(value.applicationSystemRollbackConfigurationUpdate, with: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationUpdate.write(value:to:)) try writer["EnvironmentPropertyUpdates"].write(value.environmentPropertyUpdates, with: KinesisAnalyticsV2ClientTypes.EnvironmentPropertyUpdates.write(value:to:)) try writer["FlinkApplicationConfigurationUpdate"].write(value.flinkApplicationConfigurationUpdate, with: KinesisAnalyticsV2ClientTypes.FlinkApplicationConfigurationUpdate.write(value:to:)) try writer["SqlApplicationConfigurationUpdate"].write(value.sqlApplicationConfigurationUpdate, with: KinesisAnalyticsV2ClientTypes.SqlApplicationConfigurationUpdate.write(value:to:)) @@ -7465,6 +8009,14 @@ extension KinesisAnalyticsV2ClientTypes.VpcConfigurationUpdate { } } +extension KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationUpdate { + + static func write(value: KinesisAnalyticsV2ClientTypes.ApplicationSystemRollbackConfigurationUpdate?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["RollbackEnabledUpdate"].write(value.rollbackEnabledUpdate) + } +} + extension KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationUpdate { static func write(value: KinesisAnalyticsV2ClientTypes.ApplicationSnapshotConfigurationUpdate?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Paginators.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Paginators.swift new file mode 100644 index 00000000000..46e50af301a --- /dev/null +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/Paginators.swift @@ -0,0 +1,137 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import protocol ClientRuntime.PaginateToken +import struct ClientRuntime.PaginatorSequence + +extension KinesisAnalyticsV2Client { + /// Paginate over `[ListApplicationOperationsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListApplicationOperationsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListApplicationOperationsOutput` + public func listApplicationOperationsPaginated(input: ListApplicationOperationsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listApplicationOperations(input:)) + } +} + +extension ListApplicationOperationsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListApplicationOperationsInput { + return ListApplicationOperationsInput( + applicationName: self.applicationName, + limit: self.limit, + nextToken: token, + operation: self.operation, + operationStatus: self.operationStatus + )} +} + +extension PaginatorSequence where OperationStackInput == ListApplicationOperationsInput, OperationStackOutput == ListApplicationOperationsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listApplicationOperationsPaginated` + /// to access the nested member `[KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo]` + /// - Returns: `[KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo]` + public func applicationOperationInfoList() async throws -> [KinesisAnalyticsV2ClientTypes.ApplicationOperationInfo] { + return try await self.asyncCompactMap { item in item.applicationOperationInfoList } + } +} +extension KinesisAnalyticsV2Client { + /// Paginate over `[ListApplicationsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListApplicationsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListApplicationsOutput` + public func listApplicationsPaginated(input: ListApplicationsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listApplications(input:)) + } +} + +extension ListApplicationsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListApplicationsInput { + return ListApplicationsInput( + limit: self.limit, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListApplicationsInput, OperationStackOutput == ListApplicationsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listApplicationsPaginated` + /// to access the nested member `[KinesisAnalyticsV2ClientTypes.ApplicationSummary]` + /// - Returns: `[KinesisAnalyticsV2ClientTypes.ApplicationSummary]` + public func applicationSummaries() async throws -> [KinesisAnalyticsV2ClientTypes.ApplicationSummary] { + return try await self.asyncCompactMap { item in item.applicationSummaries } + } +} +extension KinesisAnalyticsV2Client { + /// Paginate over `[ListApplicationSnapshotsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListApplicationSnapshotsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListApplicationSnapshotsOutput` + public func listApplicationSnapshotsPaginated(input: ListApplicationSnapshotsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listApplicationSnapshots(input:)) + } +} + +extension ListApplicationSnapshotsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListApplicationSnapshotsInput { + return ListApplicationSnapshotsInput( + applicationName: self.applicationName, + limit: self.limit, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListApplicationSnapshotsInput, OperationStackOutput == ListApplicationSnapshotsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listApplicationSnapshotsPaginated` + /// to access the nested member `[KinesisAnalyticsV2ClientTypes.SnapshotDetails]` + /// - Returns: `[KinesisAnalyticsV2ClientTypes.SnapshotDetails]` + public func snapshotSummaries() async throws -> [KinesisAnalyticsV2ClientTypes.SnapshotDetails] { + return try await self.asyncCompactMap { item in item.snapshotSummaries } + } +} +extension KinesisAnalyticsV2Client { + /// Paginate over `[ListApplicationVersionsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListApplicationVersionsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListApplicationVersionsOutput` + public func listApplicationVersionsPaginated(input: ListApplicationVersionsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listApplicationVersions(input:)) + } +} + +extension ListApplicationVersionsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListApplicationVersionsInput { + return ListApplicationVersionsInput( + applicationName: self.applicationName, + limit: self.limit, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListApplicationVersionsInput, OperationStackOutput == ListApplicationVersionsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listApplicationVersionsPaginated` + /// to access the nested member `[KinesisAnalyticsV2ClientTypes.ApplicationVersionSummary]` + /// - Returns: `[KinesisAnalyticsV2ClientTypes.ApplicationVersionSummary]` + public func applicationVersionSummaries() async throws -> [KinesisAnalyticsV2ClientTypes.ApplicationVersionSummary] { + return try await self.asyncCompactMap { item in item.applicationVersionSummaries } + } +} diff --git a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/Models.swift b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/Models.swift index b3649ef9b08..7814ac3aefc 100644 --- a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/Models.swift +++ b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct AccountChannelLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct AccountStreamLimitExceededException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -380,7 +380,7 @@ public struct ClientLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -433,7 +433,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -463,7 +463,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -487,7 +487,7 @@ public struct TagsPerResourceExceededLimitException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -570,7 +570,7 @@ public struct DeviceStreamLimitExceededException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -594,7 +594,7 @@ public struct InvalidDeviceException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -663,7 +663,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -687,7 +687,7 @@ public struct StreamEdgeConfigurationNotFoundException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -732,7 +732,7 @@ public struct VersionMismatchException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -778,7 +778,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1881,7 +1881,7 @@ public struct InvalidResourceFormatException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2143,7 +2143,7 @@ public struct NoDataRetentionException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3016,7 +3016,7 @@ extension UpdateStreamInput { extension CreateSignalingChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSignalingChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSignalingChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3028,7 +3028,7 @@ extension CreateSignalingChannelOutput { extension CreateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3040,28 +3040,28 @@ extension CreateStreamOutput { extension DeleteEdgeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEdgeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEdgeConfigurationOutput { return DeleteEdgeConfigurationOutput() } } extension DeleteSignalingChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSignalingChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSignalingChannelOutput { return DeleteSignalingChannelOutput() } } extension DeleteStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamOutput { return DeleteStreamOutput() } } extension DescribeEdgeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEdgeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEdgeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3080,7 +3080,7 @@ extension DescribeEdgeConfigurationOutput { extension DescribeImageGenerationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageGenerationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageGenerationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3092,7 +3092,7 @@ extension DescribeImageGenerationConfigurationOutput { extension DescribeMappedResourceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMappedResourceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMappedResourceConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3105,7 +3105,7 @@ extension DescribeMappedResourceConfigurationOutput { extension DescribeMediaStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMediaStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMediaStorageConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3117,7 +3117,7 @@ extension DescribeMediaStorageConfigurationOutput { extension DescribeNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotificationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3129,7 +3129,7 @@ extension DescribeNotificationConfigurationOutput { extension DescribeSignalingChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSignalingChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSignalingChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3141,7 +3141,7 @@ extension DescribeSignalingChannelOutput { extension DescribeStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3153,7 +3153,7 @@ extension DescribeStreamOutput { extension GetDataEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3165,7 +3165,7 @@ extension GetDataEndpointOutput { extension GetSignalingChannelEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSignalingChannelEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSignalingChannelEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3177,7 +3177,7 @@ extension GetSignalingChannelEndpointOutput { extension ListEdgeAgentConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEdgeAgentConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEdgeAgentConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3190,7 +3190,7 @@ extension ListEdgeAgentConfigurationsOutput { extension ListSignalingChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSignalingChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSignalingChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3203,7 +3203,7 @@ extension ListSignalingChannelsOutput { extension ListStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3216,7 +3216,7 @@ extension ListStreamsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3229,7 +3229,7 @@ extension ListTagsForResourceOutput { extension ListTagsForStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3242,7 +3242,7 @@ extension ListTagsForStreamOutput { extension StartEdgeConfigurationUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEdgeConfigurationUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEdgeConfigurationUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3260,77 +3260,77 @@ extension StartEdgeConfigurationUpdateOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TagStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagStreamOutput { return TagStreamOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UntagStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagStreamOutput { return UntagStreamOutput() } } extension UpdateDataRetentionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataRetentionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataRetentionOutput { return UpdateDataRetentionOutput() } } extension UpdateImageGenerationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImageGenerationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImageGenerationConfigurationOutput { return UpdateImageGenerationConfigurationOutput() } } extension UpdateMediaStorageConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMediaStorageConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMediaStorageConfigurationOutput { return UpdateMediaStorageConfigurationOutput() } } extension UpdateNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotificationConfigurationOutput { return UpdateNotificationConfigurationOutput() } } extension UpdateSignalingChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSignalingChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSignalingChannelOutput { return UpdateSignalingChannelOutput() } } extension UpdateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStreamOutput { return UpdateStreamOutput() } } enum CreateSignalingChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3349,7 +3349,7 @@ enum CreateSignalingChannelOutputError { enum CreateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3369,7 +3369,7 @@ enum CreateStreamOutputError { enum DeleteEdgeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3387,7 +3387,7 @@ enum DeleteEdgeConfigurationOutputError { enum DeleteSignalingChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3406,7 +3406,7 @@ enum DeleteSignalingChannelOutputError { enum DeleteStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3425,7 +3425,7 @@ enum DeleteStreamOutputError { enum DescribeEdgeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3443,7 +3443,7 @@ enum DescribeEdgeConfigurationOutputError { enum DescribeImageGenerationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3460,7 +3460,7 @@ enum DescribeImageGenerationConfigurationOutputError { enum DescribeMappedResourceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3477,7 +3477,7 @@ enum DescribeMappedResourceConfigurationOutputError { enum DescribeMediaStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3494,7 +3494,7 @@ enum DescribeMediaStorageConfigurationOutputError { enum DescribeNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3511,7 +3511,7 @@ enum DescribeNotificationConfigurationOutputError { enum DescribeSignalingChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3528,7 +3528,7 @@ enum DescribeSignalingChannelOutputError { enum DescribeStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3545,7 +3545,7 @@ enum DescribeStreamOutputError { enum GetDataEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3562,7 +3562,7 @@ enum GetDataEndpointOutputError { enum GetSignalingChannelEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3580,7 +3580,7 @@ enum GetSignalingChannelEndpointOutputError { enum ListEdgeAgentConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3596,7 +3596,7 @@ enum ListEdgeAgentConfigurationsOutputError { enum ListSignalingChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3612,7 +3612,7 @@ enum ListSignalingChannelsOutputError { enum ListStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3627,7 +3627,7 @@ enum ListStreamsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3644,7 +3644,7 @@ enum ListTagsForResourceOutputError { enum ListTagsForStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3662,7 +3662,7 @@ enum ListTagsForStreamOutputError { enum StartEdgeConfigurationUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3681,7 +3681,7 @@ enum StartEdgeConfigurationUpdateOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3699,7 +3699,7 @@ enum TagResourceOutputError { enum TagStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3718,7 +3718,7 @@ enum TagStreamOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3735,7 +3735,7 @@ enum UntagResourceOutputError { enum UntagStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3753,7 +3753,7 @@ enum UntagStreamOutputError { enum UpdateDataRetentionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3772,7 +3772,7 @@ enum UpdateDataRetentionOutputError { enum UpdateImageGenerationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3791,7 +3791,7 @@ enum UpdateImageGenerationConfigurationOutputError { enum UpdateMediaStorageConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3810,7 +3810,7 @@ enum UpdateMediaStorageConfigurationOutputError { enum UpdateNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3829,7 +3829,7 @@ enum UpdateNotificationConfigurationOutputError { enum UpdateSignalingChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3848,7 +3848,7 @@ enum UpdateSignalingChannelOutputError { enum UpdateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/Models.swift b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/Models.swift index 2897636d4a2..9dd9cd818ed 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/Models.swift +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct ClientLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -57,7 +57,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct InvalidCodecPrivateDataException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -105,7 +105,7 @@ public struct InvalidMediaFrameException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct MissingCodecPrivateDataException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct NoDataRetentionException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -177,7 +177,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -201,7 +201,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -225,7 +225,7 @@ public struct UnsupportedStreamMediaTypeException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1390,7 +1390,7 @@ extension ListFragmentsInput { extension GetClipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClipOutput { var value = GetClipOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -1409,7 +1409,7 @@ extension GetClipOutput { extension GetDASHStreamingSessionURLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDASHStreamingSessionURLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDASHStreamingSessionURLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1421,7 +1421,7 @@ extension GetDASHStreamingSessionURLOutput { extension GetHLSStreamingSessionURLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHLSStreamingSessionURLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHLSStreamingSessionURLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1433,7 +1433,7 @@ extension GetHLSStreamingSessionURLOutput { extension GetImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1446,7 +1446,7 @@ extension GetImagesOutput { extension GetMediaForFragmentListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaForFragmentListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaForFragmentListOutput { var value = GetMediaForFragmentListOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -1465,7 +1465,7 @@ extension GetMediaForFragmentListOutput { extension ListFragmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFragmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFragmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1478,7 +1478,7 @@ extension ListFragmentsOutput { enum GetClipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1500,7 +1500,7 @@ enum GetClipOutputError { enum GetDASHStreamingSessionURLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1521,7 +1521,7 @@ enum GetDASHStreamingSessionURLOutputError { enum GetHLSStreamingSessionURLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1542,7 +1542,7 @@ enum GetHLSStreamingSessionURLOutputError { enum GetImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1560,7 +1560,7 @@ enum GetImagesOutputError { enum GetMediaForFragmentListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1577,7 +1577,7 @@ enum GetMediaForFragmentListOutputError { enum ListFragmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/Models.swift b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/Models.swift index 6f14fb0b447..80b4995027a 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/Models.swift +++ b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -31,7 +31,7 @@ public struct ClientLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -55,7 +55,7 @@ public struct ConnectionLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -79,7 +79,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct InvalidEndpointException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -348,7 +348,7 @@ extension GetMediaInput { extension GetMediaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaOutput { var value = GetMediaOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -367,7 +367,7 @@ extension GetMediaOutput { enum GetMediaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/Models.swift b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/Models.swift index 1ad4451a72b..95ffe9e5883 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/Models.swift +++ b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -31,7 +31,7 @@ public struct ClientLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -55,7 +55,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -79,7 +79,7 @@ public struct InvalidClientException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct SessionExpiredException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -326,7 +326,7 @@ extension SendAlexaOfferToMasterInput { extension GetIceServerConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIceServerConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIceServerConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -338,7 +338,7 @@ extension GetIceServerConfigOutput { extension SendAlexaOfferToMasterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendAlexaOfferToMasterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendAlexaOfferToMasterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -350,7 +350,7 @@ extension SendAlexaOfferToMasterOutput { enum GetIceServerConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -369,7 +369,7 @@ enum GetIceServerConfigOutputError { enum SendAlexaOfferToMasterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/Models.swift b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/Models.swift index 18187191451..c90490e5a58 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/Models.swift +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct ClientLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -82,7 +82,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -148,14 +148,14 @@ extension JoinStorageSessionInput { extension JoinStorageSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> JoinStorageSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> JoinStorageSessionOutput { return JoinStorageSessionOutput() } } enum JoinStorageSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/Models.swift b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/Models.swift index 76b7f5d6a90..63a47e8ee42 100644 --- a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/Models.swift +++ b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -88,7 +88,7 @@ public struct EntityNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -113,7 +113,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -138,7 +138,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct OperationTimeoutException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -642,7 +642,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -952,7 +952,7 @@ public struct TransactionCommitInProgressException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -977,7 +977,7 @@ public struct TransactionCommittedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1020,7 +1020,7 @@ public struct TransactionCanceledException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1105,7 +1105,7 @@ public struct ResourceNumberLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1444,7 +1444,7 @@ public struct ResourceNotReadyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2080,7 +2080,7 @@ public struct ExpiredException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2105,7 +2105,7 @@ public struct StatisticsNotReadyYetException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2130,7 +2130,7 @@ public struct ThrottledException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2240,7 +2240,7 @@ public struct GlueEncryptionException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2434,7 +2434,7 @@ public struct PermissionTypeMismatchException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2707,7 +2707,7 @@ public struct WorkUnitsNotReadyYetException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4979,7 +4979,7 @@ extension UpdateTableStorageOptimizerInput { extension AddLFTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddLFTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddLFTagsToResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4991,7 +4991,7 @@ extension AddLFTagsToResourceOutput { extension AssumeDecoratedRoleWithSAMLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeDecoratedRoleWithSAMLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeDecoratedRoleWithSAMLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5006,7 +5006,7 @@ extension AssumeDecoratedRoleWithSAMLOutput { extension BatchGrantPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGrantPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGrantPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5018,7 +5018,7 @@ extension BatchGrantPermissionsOutput { extension BatchRevokePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchRevokePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchRevokePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5030,14 +5030,14 @@ extension BatchRevokePermissionsOutput { extension CancelTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelTransactionOutput { return CancelTransactionOutput() } } extension CommitTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CommitTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CommitTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5049,14 +5049,14 @@ extension CommitTransactionOutput { extension CreateDataCellsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataCellsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataCellsFilterOutput { return CreateDataCellsFilterOutput() } } extension CreateLakeFormationIdentityCenterConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLakeFormationIdentityCenterConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLakeFormationIdentityCenterConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5068,63 +5068,63 @@ extension CreateLakeFormationIdentityCenterConfigurationOutput { extension CreateLakeFormationOptInOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLakeFormationOptInOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLakeFormationOptInOutput { return CreateLakeFormationOptInOutput() } } extension CreateLFTagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLFTagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLFTagOutput { return CreateLFTagOutput() } } extension DeleteDataCellsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataCellsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataCellsFilterOutput { return DeleteDataCellsFilterOutput() } } extension DeleteLakeFormationIdentityCenterConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLakeFormationIdentityCenterConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLakeFormationIdentityCenterConfigurationOutput { return DeleteLakeFormationIdentityCenterConfigurationOutput() } } extension DeleteLakeFormationOptInOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLakeFormationOptInOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLakeFormationOptInOutput { return DeleteLakeFormationOptInOutput() } } extension DeleteLFTagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLFTagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLFTagOutput { return DeleteLFTagOutput() } } extension DeleteObjectsOnCancelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObjectsOnCancelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObjectsOnCancelOutput { return DeleteObjectsOnCancelOutput() } } extension DeregisterResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterResourceOutput { return DeregisterResourceOutput() } } extension DescribeLakeFormationIdentityCenterConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLakeFormationIdentityCenterConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLakeFormationIdentityCenterConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5141,7 +5141,7 @@ extension DescribeLakeFormationIdentityCenterConfigurationOutput { extension DescribeResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5153,7 +5153,7 @@ extension DescribeResourceOutput { extension DescribeTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5165,14 +5165,14 @@ extension DescribeTransactionOutput { extension ExtendTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExtendTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExtendTransactionOutput { return ExtendTransactionOutput() } } extension GetDataCellsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataCellsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataCellsFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5184,7 +5184,7 @@ extension GetDataCellsFilterOutput { extension GetDataLakePrincipalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataLakePrincipalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataLakePrincipalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5196,7 +5196,7 @@ extension GetDataLakePrincipalOutput { extension GetDataLakeSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataLakeSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataLakeSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5208,7 +5208,7 @@ extension GetDataLakeSettingsOutput { extension GetEffectivePermissionsForPathOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEffectivePermissionsForPathOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEffectivePermissionsForPathOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5221,7 +5221,7 @@ extension GetEffectivePermissionsForPathOutput { extension GetLFTagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLFTagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLFTagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5235,7 +5235,7 @@ extension GetLFTagOutput { extension GetQueryStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5248,7 +5248,7 @@ extension GetQueryStateOutput { extension GetQueryStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5262,7 +5262,7 @@ extension GetQueryStatisticsOutput { extension GetResourceLFTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceLFTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceLFTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5276,7 +5276,7 @@ extension GetResourceLFTagsOutput { extension GetTableObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableObjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5289,7 +5289,7 @@ extension GetTableObjectsOutput { extension GetTemporaryGluePartitionCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemporaryGluePartitionCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemporaryGluePartitionCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5304,7 +5304,7 @@ extension GetTemporaryGluePartitionCredentialsOutput { extension GetTemporaryGlueTableCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemporaryGlueTableCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemporaryGlueTableCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5320,7 +5320,7 @@ extension GetTemporaryGlueTableCredentialsOutput { extension GetWorkUnitResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkUnitResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkUnitResultsOutput { var value = GetWorkUnitResultsOutput() switch httpResponse.body { case .data(let data): @@ -5336,7 +5336,7 @@ extension GetWorkUnitResultsOutput { extension GetWorkUnitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkUnitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkUnitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5350,14 +5350,14 @@ extension GetWorkUnitsOutput { extension GrantPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GrantPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GrantPermissionsOutput { return GrantPermissionsOutput() } } extension ListDataCellsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataCellsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataCellsFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5370,7 +5370,7 @@ extension ListDataCellsFilterOutput { extension ListLakeFormationOptInsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLakeFormationOptInsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLakeFormationOptInsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5383,7 +5383,7 @@ extension ListLakeFormationOptInsOutput { extension ListLFTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLFTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLFTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5396,7 +5396,7 @@ extension ListLFTagsOutput { extension ListPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5409,7 +5409,7 @@ extension ListPermissionsOutput { extension ListResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5422,7 +5422,7 @@ extension ListResourcesOutput { extension ListTableStorageOptimizersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTableStorageOptimizersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTableStorageOptimizersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5435,7 +5435,7 @@ extension ListTableStorageOptimizersOutput { extension ListTransactionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTransactionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTransactionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5448,21 +5448,21 @@ extension ListTransactionsOutput { extension PutDataLakeSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDataLakeSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDataLakeSettingsOutput { return PutDataLakeSettingsOutput() } } extension RegisterResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterResourceOutput { return RegisterResourceOutput() } } extension RemoveLFTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveLFTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveLFTagsFromResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5474,14 +5474,14 @@ extension RemoveLFTagsFromResourceOutput { extension RevokePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokePermissionsOutput { return RevokePermissionsOutput() } } extension SearchDatabasesByLFTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchDatabasesByLFTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchDatabasesByLFTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5494,7 +5494,7 @@ extension SearchDatabasesByLFTagsOutput { extension SearchTablesByLFTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchTablesByLFTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchTablesByLFTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5507,7 +5507,7 @@ extension SearchTablesByLFTagsOutput { extension StartQueryPlanningOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartQueryPlanningOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartQueryPlanningOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5519,7 +5519,7 @@ extension StartQueryPlanningOutput { extension StartTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5531,42 +5531,42 @@ extension StartTransactionOutput { extension UpdateDataCellsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataCellsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataCellsFilterOutput { return UpdateDataCellsFilterOutput() } } extension UpdateLakeFormationIdentityCenterConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLakeFormationIdentityCenterConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLakeFormationIdentityCenterConfigurationOutput { return UpdateLakeFormationIdentityCenterConfigurationOutput() } } extension UpdateLFTagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLFTagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLFTagOutput { return UpdateLFTagOutput() } } extension UpdateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceOutput { return UpdateResourceOutput() } } extension UpdateTableObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableObjectsOutput { return UpdateTableObjectsOutput() } } extension UpdateTableStorageOptimizerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableStorageOptimizerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableStorageOptimizerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5578,7 +5578,7 @@ extension UpdateTableStorageOptimizerOutput { enum AddLFTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5597,7 +5597,7 @@ enum AddLFTagsToResourceOutputError { enum AssumeDecoratedRoleWithSAMLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5615,7 +5615,7 @@ enum AssumeDecoratedRoleWithSAMLOutputError { enum BatchGrantPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5630,7 +5630,7 @@ enum BatchGrantPermissionsOutputError { enum BatchRevokePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5645,7 +5645,7 @@ enum BatchRevokePermissionsOutputError { enum CancelTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5665,7 +5665,7 @@ enum CancelTransactionOutputError { enum CommitTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5684,7 +5684,7 @@ enum CommitTransactionOutputError { enum CreateDataCellsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5704,7 +5704,7 @@ enum CreateDataCellsFilterOutputError { enum CreateLakeFormationIdentityCenterConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5723,7 +5723,7 @@ enum CreateLakeFormationIdentityCenterConfigurationOutputError { enum CreateLakeFormationOptInOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5742,7 +5742,7 @@ enum CreateLakeFormationOptInOutputError { enum CreateLFTagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5761,7 +5761,7 @@ enum CreateLFTagOutputError { enum DeleteDataCellsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5779,7 +5779,7 @@ enum DeleteDataCellsFilterOutputError { enum DeleteLakeFormationIdentityCenterConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5798,7 +5798,7 @@ enum DeleteLakeFormationIdentityCenterConfigurationOutputError { enum DeleteLakeFormationOptInOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5817,7 +5817,7 @@ enum DeleteLakeFormationOptInOutputError { enum DeleteLFTagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5835,7 +5835,7 @@ enum DeleteLFTagOutputError { enum DeleteObjectsOnCancelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5856,7 +5856,7 @@ enum DeleteObjectsOnCancelOutputError { enum DeregisterResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5873,7 +5873,7 @@ enum DeregisterResourceOutputError { enum DescribeLakeFormationIdentityCenterConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5891,7 +5891,7 @@ enum DescribeLakeFormationIdentityCenterConfigurationOutputError { enum DescribeResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5908,7 +5908,7 @@ enum DescribeResourceOutputError { enum DescribeTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5925,7 +5925,7 @@ enum DescribeTransactionOutputError { enum ExtendTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5945,7 +5945,7 @@ enum ExtendTransactionOutputError { enum GetDataCellsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5963,7 +5963,7 @@ enum GetDataCellsFilterOutputError { enum GetDataLakePrincipalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5979,7 +5979,7 @@ enum GetDataLakePrincipalOutputError { enum GetDataLakeSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5995,7 +5995,7 @@ enum GetDataLakeSettingsOutputError { enum GetEffectivePermissionsForPathOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6012,7 +6012,7 @@ enum GetEffectivePermissionsForPathOutputError { enum GetLFTagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6030,7 +6030,7 @@ enum GetLFTagOutputError { enum GetQueryStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6046,7 +6046,7 @@ enum GetQueryStateOutputError { enum GetQueryStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6065,7 +6065,7 @@ enum GetQueryStatisticsOutputError { enum GetResourceLFTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6084,7 +6084,7 @@ enum GetResourceLFTagsOutputError { enum GetTableObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6104,7 +6104,7 @@ enum GetTableObjectsOutputError { enum GetTemporaryGluePartitionCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6123,7 +6123,7 @@ enum GetTemporaryGluePartitionCredentialsOutputError { enum GetTemporaryGlueTableCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6142,7 +6142,7 @@ enum GetTemporaryGlueTableCredentialsOutputError { enum GetWorkUnitResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6160,7 +6160,7 @@ enum GetWorkUnitResultsOutputError { enum GetWorkUnitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6178,7 +6178,7 @@ enum GetWorkUnitsOutputError { enum GrantPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6194,7 +6194,7 @@ enum GrantPermissionsOutputError { enum ListDataCellsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6211,7 +6211,7 @@ enum ListDataCellsFilterOutputError { enum ListLakeFormationOptInsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6228,7 +6228,7 @@ enum ListLakeFormationOptInsOutputError { enum ListLFTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6246,7 +6246,7 @@ enum ListLFTagsOutputError { enum ListPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6262,7 +6262,7 @@ enum ListPermissionsOutputError { enum ListResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6278,7 +6278,7 @@ enum ListResourcesOutputError { enum ListTableStorageOptimizersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6295,7 +6295,7 @@ enum ListTableStorageOptimizersOutputError { enum ListTransactionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6311,7 +6311,7 @@ enum ListTransactionsOutputError { enum PutDataLakeSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6326,7 +6326,7 @@ enum PutDataLakeSettingsOutputError { enum RegisterResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6346,7 +6346,7 @@ enum RegisterResourceOutputError { enum RemoveLFTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6366,7 +6366,7 @@ enum RemoveLFTagsFromResourceOutputError { enum RevokePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6382,7 +6382,7 @@ enum RevokePermissionsOutputError { enum SearchDatabasesByLFTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6401,7 +6401,7 @@ enum SearchDatabasesByLFTagsOutputError { enum SearchTablesByLFTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6420,7 +6420,7 @@ enum SearchTablesByLFTagsOutputError { enum StartQueryPlanningOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6437,7 +6437,7 @@ enum StartQueryPlanningOutputError { enum StartTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6452,7 +6452,7 @@ enum StartTransactionOutputError { enum UpdateDataCellsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6471,7 +6471,7 @@ enum UpdateDataCellsFilterOutputError { enum UpdateLakeFormationIdentityCenterConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6490,7 +6490,7 @@ enum UpdateLakeFormationIdentityCenterConfigurationOutputError { enum UpdateLFTagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6509,7 +6509,7 @@ enum UpdateLFTagOutputError { enum UpdateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6526,7 +6526,7 @@ enum UpdateResourceOutputError { enum UpdateTableObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6548,7 +6548,7 @@ enum UpdateTableObjectsOutputError { enum UpdateTableStorageOptimizerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift index 2198404eddc..9c0f45e40f7 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -162,7 +162,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -189,7 +189,7 @@ public struct PolicyLengthExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -218,7 +218,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -247,7 +247,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -301,7 +301,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -372,7 +372,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1523,7 +1523,7 @@ public struct CodeSigningConfigNotFoundException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1551,7 +1551,7 @@ public struct CodeStorageExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1578,7 +1578,7 @@ public struct CodeVerificationFailedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1605,7 +1605,7 @@ public struct InvalidCodeSignatureException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3109,7 +3109,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4541,7 +4541,7 @@ public struct ProvisionedConcurrencyConfigNotFoundException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4737,7 +4737,7 @@ public struct EC2AccessDeniedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4764,7 +4764,7 @@ public struct EC2ThrottledException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4792,7 +4792,7 @@ public struct EC2UnexpectedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4821,7 +4821,7 @@ public struct EFSIOException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4848,7 +4848,7 @@ public struct EFSMountConnectivityException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4875,7 +4875,7 @@ public struct EFSMountFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4902,7 +4902,7 @@ public struct EFSMountTimeoutException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4929,7 +4929,7 @@ public struct ENILimitReachedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4958,7 +4958,7 @@ public struct InvalidRequestContentException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4985,7 +4985,7 @@ public struct InvalidRuntimeException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5012,7 +5012,7 @@ public struct InvalidSecurityGroupIDException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5039,7 +5039,7 @@ public struct InvalidSubnetIDException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5066,7 +5066,7 @@ public struct InvalidZipFileException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5093,7 +5093,7 @@ public struct KMSAccessDeniedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5120,7 +5120,7 @@ public struct KMSDisabledException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5147,7 +5147,7 @@ public struct KMSInvalidStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5174,7 +5174,7 @@ public struct KMSNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5203,7 +5203,7 @@ public struct RecursiveInvocationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5230,7 +5230,7 @@ public struct RequestTooLargeException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5259,7 +5259,7 @@ public struct ResourceNotReadyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5286,7 +5286,7 @@ public struct SnapStartException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5313,7 +5313,7 @@ public struct SnapStartNotReadyException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5340,7 +5340,7 @@ public struct SnapStartTimeoutException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5367,7 +5367,7 @@ public struct SubnetIPAddressLimitReachedException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5394,7 +5394,7 @@ public struct UnsupportedMediaTypeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9828,7 +9828,7 @@ extension UpdateFunctionUrlConfigInput { extension AddLayerVersionPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddLayerVersionPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddLayerVersionPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9841,7 +9841,7 @@ extension AddLayerVersionPermissionOutput { extension AddPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9853,7 +9853,7 @@ extension AddPermissionOutput { extension CreateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9870,7 +9870,7 @@ extension CreateAliasOutput { extension CreateCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCodeSigningConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9882,7 +9882,7 @@ extension CreateCodeSigningConfigOutput { extension CreateEventSourceMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventSourceMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventSourceMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9920,7 +9920,7 @@ extension CreateEventSourceMappingOutput { extension CreateFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9967,7 +9967,7 @@ extension CreateFunctionOutput { extension CreateFunctionUrlConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFunctionUrlConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFunctionUrlConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9984,21 +9984,21 @@ extension CreateFunctionUrlConfigOutput { extension DeleteAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAliasOutput { return DeleteAliasOutput() } } extension DeleteCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCodeSigningConfigOutput { return DeleteCodeSigningConfigOutput() } } extension DeleteEventSourceMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventSourceMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventSourceMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10036,56 +10036,56 @@ extension DeleteEventSourceMappingOutput { extension DeleteFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionOutput { return DeleteFunctionOutput() } } extension DeleteFunctionCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionCodeSigningConfigOutput { return DeleteFunctionCodeSigningConfigOutput() } } extension DeleteFunctionConcurrencyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionConcurrencyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionConcurrencyOutput { return DeleteFunctionConcurrencyOutput() } } extension DeleteFunctionEventInvokeConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionEventInvokeConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionEventInvokeConfigOutput { return DeleteFunctionEventInvokeConfigOutput() } } extension DeleteFunctionUrlConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFunctionUrlConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFunctionUrlConfigOutput { return DeleteFunctionUrlConfigOutput() } } extension DeleteLayerVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLayerVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLayerVersionOutput { return DeleteLayerVersionOutput() } } extension DeleteProvisionedConcurrencyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProvisionedConcurrencyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProvisionedConcurrencyConfigOutput { return DeleteProvisionedConcurrencyConfigOutput() } } extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10098,7 +10098,7 @@ extension GetAccountSettingsOutput { extension GetAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10115,7 +10115,7 @@ extension GetAliasOutput { extension GetCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCodeSigningConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10127,7 +10127,7 @@ extension GetCodeSigningConfigOutput { extension GetEventSourceMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventSourceMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventSourceMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10165,7 +10165,7 @@ extension GetEventSourceMappingOutput { extension GetFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10180,7 +10180,7 @@ extension GetFunctionOutput { extension GetFunctionCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionCodeSigningConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10193,7 +10193,7 @@ extension GetFunctionCodeSigningConfigOutput { extension GetFunctionConcurrencyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionConcurrencyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionConcurrencyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10205,7 +10205,7 @@ extension GetFunctionConcurrencyOutput { extension GetFunctionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10252,7 +10252,7 @@ extension GetFunctionConfigurationOutput { extension GetFunctionEventInvokeConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionEventInvokeConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionEventInvokeConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10268,7 +10268,7 @@ extension GetFunctionEventInvokeConfigOutput { extension GetFunctionUrlConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFunctionUrlConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFunctionUrlConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10286,7 +10286,7 @@ extension GetFunctionUrlConfigOutput { extension GetLayerVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLayerVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLayerVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10306,7 +10306,7 @@ extension GetLayerVersionOutput { extension GetLayerVersionByArnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLayerVersionByArnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLayerVersionByArnOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10326,7 +10326,7 @@ extension GetLayerVersionByArnOutput { extension GetLayerVersionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLayerVersionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLayerVersionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10339,7 +10339,7 @@ extension GetLayerVersionPolicyOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10352,7 +10352,7 @@ extension GetPolicyOutput { extension GetProvisionedConcurrencyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProvisionedConcurrencyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProvisionedConcurrencyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10369,7 +10369,7 @@ extension GetProvisionedConcurrencyConfigOutput { extension GetRuntimeManagementConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuntimeManagementConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuntimeManagementConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10383,7 +10383,7 @@ extension GetRuntimeManagementConfigOutput { extension InvokeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeOutput { var value = InvokeOutput() if let executedVersionHeaderValue = httpResponse.headers.value(for: "X-Amz-Executed-Version") { value.executedVersion = executedVersionHeaderValue @@ -10409,7 +10409,7 @@ extension InvokeOutput { extension InvokeAsyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeAsyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeAsyncOutput { var value = InvokeAsyncOutput() value.status = httpResponse.statusCode.rawValue return value @@ -10418,7 +10418,7 @@ extension InvokeAsyncOutput { extension InvokeWithResponseStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeWithResponseStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeWithResponseStreamOutput { var value = InvokeWithResponseStreamOutput() if let executedVersionHeaderValue = httpResponse.headers.value(for: "X-Amz-Executed-Version") { value.executedVersion = executedVersionHeaderValue @@ -10438,7 +10438,7 @@ extension InvokeWithResponseStreamOutput { extension ListAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10451,7 +10451,7 @@ extension ListAliasesOutput { extension ListCodeSigningConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCodeSigningConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCodeSigningConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10464,7 +10464,7 @@ extension ListCodeSigningConfigsOutput { extension ListEventSourceMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventSourceMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventSourceMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10477,7 +10477,7 @@ extension ListEventSourceMappingsOutput { extension ListFunctionEventInvokeConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionEventInvokeConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionEventInvokeConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10490,7 +10490,7 @@ extension ListFunctionEventInvokeConfigsOutput { extension ListFunctionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10503,7 +10503,7 @@ extension ListFunctionsOutput { extension ListFunctionsByCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionsByCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionsByCodeSigningConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10516,7 +10516,7 @@ extension ListFunctionsByCodeSigningConfigOutput { extension ListFunctionUrlConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFunctionUrlConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFunctionUrlConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10529,7 +10529,7 @@ extension ListFunctionUrlConfigsOutput { extension ListLayersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLayersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLayersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10542,7 +10542,7 @@ extension ListLayersOutput { extension ListLayerVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLayerVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLayerVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10555,7 +10555,7 @@ extension ListLayerVersionsOutput { extension ListProvisionedConcurrencyConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisionedConcurrencyConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisionedConcurrencyConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10568,7 +10568,7 @@ extension ListProvisionedConcurrencyConfigsOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10580,7 +10580,7 @@ extension ListTagsOutput { extension ListVersionsByFunctionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVersionsByFunctionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVersionsByFunctionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10593,7 +10593,7 @@ extension ListVersionsByFunctionOutput { extension PublishLayerVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishLayerVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishLayerVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10613,7 +10613,7 @@ extension PublishLayerVersionOutput { extension PublishVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10660,7 +10660,7 @@ extension PublishVersionOutput { extension PutFunctionCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFunctionCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFunctionCodeSigningConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10673,7 +10673,7 @@ extension PutFunctionCodeSigningConfigOutput { extension PutFunctionConcurrencyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFunctionConcurrencyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFunctionConcurrencyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10685,7 +10685,7 @@ extension PutFunctionConcurrencyOutput { extension PutFunctionEventInvokeConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFunctionEventInvokeConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFunctionEventInvokeConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10701,7 +10701,7 @@ extension PutFunctionEventInvokeConfigOutput { extension PutProvisionedConcurrencyConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutProvisionedConcurrencyConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProvisionedConcurrencyConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10718,7 +10718,7 @@ extension PutProvisionedConcurrencyConfigOutput { extension PutRuntimeManagementConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRuntimeManagementConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRuntimeManagementConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10732,35 +10732,35 @@ extension PutRuntimeManagementConfigOutput { extension RemoveLayerVersionPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveLayerVersionPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveLayerVersionPermissionOutput { return RemoveLayerVersionPermissionOutput() } } extension RemovePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemovePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemovePermissionOutput { return RemovePermissionOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10777,7 +10777,7 @@ extension UpdateAliasOutput { extension UpdateCodeSigningConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCodeSigningConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCodeSigningConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10789,7 +10789,7 @@ extension UpdateCodeSigningConfigOutput { extension UpdateEventSourceMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventSourceMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventSourceMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10827,7 +10827,7 @@ extension UpdateEventSourceMappingOutput { extension UpdateFunctionCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10874,7 +10874,7 @@ extension UpdateFunctionCodeOutput { extension UpdateFunctionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10921,7 +10921,7 @@ extension UpdateFunctionConfigurationOutput { extension UpdateFunctionEventInvokeConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionEventInvokeConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionEventInvokeConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10937,7 +10937,7 @@ extension UpdateFunctionEventInvokeConfigOutput { extension UpdateFunctionUrlConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFunctionUrlConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFunctionUrlConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10955,7 +10955,7 @@ extension UpdateFunctionUrlConfigOutput { enum AddLayerVersionPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10975,7 +10975,7 @@ enum AddLayerVersionPermissionOutputError { enum AddPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10995,7 +10995,7 @@ enum AddPermissionOutputError { enum CreateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11013,7 +11013,7 @@ enum CreateAliasOutputError { enum CreateCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11028,7 +11028,7 @@ enum CreateCodeSigningConfigOutputError { enum CreateEventSourceMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11046,7 +11046,7 @@ enum CreateEventSourceMappingOutputError { enum CreateFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11068,7 +11068,7 @@ enum CreateFunctionOutputError { enum CreateFunctionUrlConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11086,7 +11086,7 @@ enum CreateFunctionUrlConfigOutputError { enum DeleteAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11103,7 +11103,7 @@ enum DeleteAliasOutputError { enum DeleteCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11120,7 +11120,7 @@ enum DeleteCodeSigningConfigOutputError { enum DeleteEventSourceMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11139,7 +11139,7 @@ enum DeleteEventSourceMappingOutputError { enum DeleteFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11157,7 +11157,7 @@ enum DeleteFunctionOutputError { enum DeleteFunctionCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11176,7 +11176,7 @@ enum DeleteFunctionCodeSigningConfigOutputError { enum DeleteFunctionConcurrencyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11194,7 +11194,7 @@ enum DeleteFunctionConcurrencyOutputError { enum DeleteFunctionEventInvokeConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11212,7 +11212,7 @@ enum DeleteFunctionEventInvokeConfigOutputError { enum DeleteFunctionUrlConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11229,7 +11229,7 @@ enum DeleteFunctionUrlConfigOutputError { enum DeleteLayerVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11244,7 +11244,7 @@ enum DeleteLayerVersionOutputError { enum DeleteProvisionedConcurrencyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11262,7 +11262,7 @@ enum DeleteProvisionedConcurrencyConfigOutputError { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11277,7 +11277,7 @@ enum GetAccountSettingsOutputError { enum GetAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11294,7 +11294,7 @@ enum GetAliasOutputError { enum GetCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11310,7 +11310,7 @@ enum GetCodeSigningConfigOutputError { enum GetEventSourceMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11327,7 +11327,7 @@ enum GetEventSourceMappingOutputError { enum GetFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11344,7 +11344,7 @@ enum GetFunctionOutputError { enum GetFunctionCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11361,7 +11361,7 @@ enum GetFunctionCodeSigningConfigOutputError { enum GetFunctionConcurrencyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11378,7 +11378,7 @@ enum GetFunctionConcurrencyOutputError { enum GetFunctionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11395,7 +11395,7 @@ enum GetFunctionConfigurationOutputError { enum GetFunctionEventInvokeConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11412,7 +11412,7 @@ enum GetFunctionEventInvokeConfigOutputError { enum GetFunctionUrlConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11429,7 +11429,7 @@ enum GetFunctionUrlConfigOutputError { enum GetLayerVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11446,7 +11446,7 @@ enum GetLayerVersionOutputError { enum GetLayerVersionByArnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11463,7 +11463,7 @@ enum GetLayerVersionByArnOutputError { enum GetLayerVersionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11480,7 +11480,7 @@ enum GetLayerVersionPolicyOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11497,7 +11497,7 @@ enum GetPolicyOutputError { enum GetProvisionedConcurrencyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11515,7 +11515,7 @@ enum GetProvisionedConcurrencyConfigOutputError { enum GetRuntimeManagementConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11532,7 +11532,7 @@ enum GetRuntimeManagementConfigOutputError { enum InvokeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11575,7 +11575,7 @@ enum InvokeOutputError { enum InvokeAsyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11593,7 +11593,7 @@ enum InvokeAsyncOutputError { enum InvokeWithResponseStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11636,7 +11636,7 @@ enum InvokeWithResponseStreamOutputError { enum ListAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11653,7 +11653,7 @@ enum ListAliasesOutputError { enum ListCodeSigningConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11668,7 +11668,7 @@ enum ListCodeSigningConfigsOutputError { enum ListEventSourceMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11685,7 +11685,7 @@ enum ListEventSourceMappingsOutputError { enum ListFunctionEventInvokeConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11702,7 +11702,7 @@ enum ListFunctionEventInvokeConfigsOutputError { enum ListFunctionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11718,7 +11718,7 @@ enum ListFunctionsOutputError { enum ListFunctionsByCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11734,7 +11734,7 @@ enum ListFunctionsByCodeSigningConfigOutputError { enum ListFunctionUrlConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11751,7 +11751,7 @@ enum ListFunctionUrlConfigsOutputError { enum ListLayersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11767,7 +11767,7 @@ enum ListLayersOutputError { enum ListLayerVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11784,7 +11784,7 @@ enum ListLayerVersionsOutputError { enum ListProvisionedConcurrencyConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11801,7 +11801,7 @@ enum ListProvisionedConcurrencyConfigsOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11818,7 +11818,7 @@ enum ListTagsOutputError { enum ListVersionsByFunctionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11835,7 +11835,7 @@ enum ListVersionsByFunctionOutputError { enum PublishLayerVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11853,7 +11853,7 @@ enum PublishLayerVersionOutputError { enum PublishVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11873,7 +11873,7 @@ enum PublishVersionOutputError { enum PutFunctionCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11892,7 +11892,7 @@ enum PutFunctionCodeSigningConfigOutputError { enum PutFunctionConcurrencyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11910,7 +11910,7 @@ enum PutFunctionConcurrencyOutputError { enum PutFunctionEventInvokeConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11928,7 +11928,7 @@ enum PutFunctionEventInvokeConfigOutputError { enum PutProvisionedConcurrencyConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11946,7 +11946,7 @@ enum PutProvisionedConcurrencyConfigOutputError { enum PutRuntimeManagementConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11964,7 +11964,7 @@ enum PutRuntimeManagementConfigOutputError { enum RemoveLayerVersionPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11982,7 +11982,7 @@ enum RemoveLayerVersionPermissionOutputError { enum RemovePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12000,7 +12000,7 @@ enum RemovePermissionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12018,7 +12018,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12036,7 +12036,7 @@ enum UntagResourceOutputError { enum UpdateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12055,7 +12055,7 @@ enum UpdateAliasOutputError { enum UpdateCodeSigningConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12071,7 +12071,7 @@ enum UpdateCodeSigningConfigOutputError { enum UpdateEventSourceMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12090,7 +12090,7 @@ enum UpdateEventSourceMappingOutputError { enum UpdateFunctionCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12113,7 +12113,7 @@ enum UpdateFunctionCodeOutputError { enum UpdateFunctionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12135,7 +12135,7 @@ enum UpdateFunctionConfigurationOutputError { enum UpdateFunctionEventInvokeConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12153,7 +12153,7 @@ enum UpdateFunctionEventInvokeConfigOutputError { enum UpdateFunctionUrlConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12727,14 +12727,14 @@ extension LambdaClientTypes.InvokeWithResponseStreamResponseEvent { let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in switch params.exceptionType { default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") diff --git a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/Models.swift b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/Models.swift index 12ad1e9b6b5..9fdcfd7f386 100644 --- a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/Models.swift +++ b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ResourceLimitException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1247,7 +1247,7 @@ extension TagResourceInput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1259,7 +1259,7 @@ extension CreateDeploymentOutput { extension DeleteDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1272,7 +1272,7 @@ extension DeleteDeploymentOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1284,7 +1284,7 @@ extension GetDeploymentOutput { extension GetWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1296,7 +1296,7 @@ extension GetWorkloadOutput { extension GetWorkloadDeploymentPatternOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkloadDeploymentPatternOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkloadDeploymentPatternOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1308,7 +1308,7 @@ extension GetWorkloadDeploymentPatternOutput { extension ListDeploymentEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1321,7 +1321,7 @@ extension ListDeploymentEventsOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1334,7 +1334,7 @@ extension ListDeploymentsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1346,7 +1346,7 @@ extension ListTagsForResourceOutput { extension ListWorkloadDeploymentPatternsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkloadDeploymentPatternsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkloadDeploymentPatternsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1359,7 +1359,7 @@ extension ListWorkloadDeploymentPatternsOutput { extension ListWorkloadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkloadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkloadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1372,21 +1372,21 @@ extension ListWorkloadsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1403,7 +1403,7 @@ enum CreateDeploymentOutputError { enum DeleteDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1420,7 +1420,7 @@ enum DeleteDeploymentOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1436,7 +1436,7 @@ enum GetDeploymentOutputError { enum GetWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1452,7 +1452,7 @@ enum GetWorkloadOutputError { enum GetWorkloadDeploymentPatternOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1468,7 +1468,7 @@ enum GetWorkloadDeploymentPatternOutputError { enum ListDeploymentEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1484,7 +1484,7 @@ enum ListDeploymentEventsOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1499,7 +1499,7 @@ enum ListDeploymentsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1515,7 +1515,7 @@ enum ListTagsForResourceOutputError { enum ListWorkloadDeploymentPatternsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1531,7 +1531,7 @@ enum ListWorkloadDeploymentPatternsOutputError { enum ListWorkloadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1546,7 +1546,7 @@ enum ListWorkloadsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1562,7 +1562,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/Models.swift b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/Models.swift index 9df4b54e6aa..0b87acb4c3d 100644 --- a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/Models.swift +++ b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -81,7 +81,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -105,7 +105,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -178,7 +178,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -204,7 +204,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -228,7 +228,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1221,7 +1221,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5113,7 +5113,7 @@ extension TagResourceInput { extension CreateBotVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5141,7 +5141,7 @@ extension CreateBotVersionOutput { extension CreateIntentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntentVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5170,7 +5170,7 @@ extension CreateIntentVersionOutput { extension CreateSlotTypeVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSlotTypeVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSlotTypeVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5191,70 +5191,70 @@ extension CreateSlotTypeVersionOutput { extension DeleteBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotOutput { return DeleteBotOutput() } } extension DeleteBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotAliasOutput { return DeleteBotAliasOutput() } } extension DeleteBotChannelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotChannelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotChannelAssociationOutput { return DeleteBotChannelAssociationOutput() } } extension DeleteBotVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotVersionOutput { return DeleteBotVersionOutput() } } extension DeleteIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntentOutput { return DeleteIntentOutput() } } extension DeleteIntentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntentVersionOutput { return DeleteIntentVersionOutput() } } extension DeleteSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlotTypeOutput { return DeleteSlotTypeOutput() } } extension DeleteSlotTypeVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlotTypeVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlotTypeVersionOutput { return DeleteSlotTypeVersionOutput() } } extension DeleteUtterancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUtterancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUtterancesOutput { return DeleteUtterancesOutput() } } extension GetBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5283,7 +5283,7 @@ extension GetBotOutput { extension GetBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5302,7 +5302,7 @@ extension GetBotAliasOutput { extension GetBotAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5315,7 +5315,7 @@ extension GetBotAliasesOutput { extension GetBotChannelAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotChannelAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotChannelAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5335,7 +5335,7 @@ extension GetBotChannelAssociationOutput { extension GetBotChannelAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotChannelAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotChannelAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5348,7 +5348,7 @@ extension GetBotChannelAssociationsOutput { extension GetBotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5361,7 +5361,7 @@ extension GetBotsOutput { extension GetBotVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBotVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBotVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5374,7 +5374,7 @@ extension GetBotVersionsOutput { extension GetBuiltinIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBuiltinIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBuiltinIntentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5388,7 +5388,7 @@ extension GetBuiltinIntentOutput { extension GetBuiltinIntentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBuiltinIntentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBuiltinIntentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5401,7 +5401,7 @@ extension GetBuiltinIntentsOutput { extension GetBuiltinSlotTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBuiltinSlotTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBuiltinSlotTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5414,7 +5414,7 @@ extension GetBuiltinSlotTypesOutput { extension GetExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5432,7 +5432,7 @@ extension GetExportOutput { extension GetImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5450,7 +5450,7 @@ extension GetImportOutput { extension GetIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5479,7 +5479,7 @@ extension GetIntentOutput { extension GetIntentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5492,7 +5492,7 @@ extension GetIntentsOutput { extension GetIntentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIntentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIntentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5505,7 +5505,7 @@ extension GetIntentVersionsOutput { extension GetMigrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMigrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMigrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5526,7 +5526,7 @@ extension GetMigrationOutput { extension GetMigrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMigrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMigrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5539,7 +5539,7 @@ extension GetMigrationsOutput { extension GetSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSlotTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5560,7 +5560,7 @@ extension GetSlotTypeOutput { extension GetSlotTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSlotTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSlotTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5573,7 +5573,7 @@ extension GetSlotTypesOutput { extension GetSlotTypeVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSlotTypeVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSlotTypeVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5586,7 +5586,7 @@ extension GetSlotTypeVersionsOutput { extension GetUtterancesViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUtterancesViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUtterancesViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5599,7 +5599,7 @@ extension GetUtterancesViewOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5611,7 +5611,7 @@ extension ListTagsForResourceOutput { extension PutBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5642,7 +5642,7 @@ extension PutBotOutput { extension PutBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBotAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5662,7 +5662,7 @@ extension PutBotAliasOutput { extension PutIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutIntentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5692,7 +5692,7 @@ extension PutIntentOutput { extension PutSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSlotTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5714,7 +5714,7 @@ extension PutSlotTypeOutput { extension StartImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5732,7 +5732,7 @@ extension StartImportOutput { extension StartMigrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMigrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMigrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5751,21 +5751,21 @@ extension StartMigrationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateBotVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5784,7 +5784,7 @@ enum CreateBotVersionOutputError { enum CreateIntentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5803,7 +5803,7 @@ enum CreateIntentVersionOutputError { enum CreateSlotTypeVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5822,7 +5822,7 @@ enum CreateSlotTypeVersionOutputError { enum DeleteBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5841,7 +5841,7 @@ enum DeleteBotOutputError { enum DeleteBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5860,7 +5860,7 @@ enum DeleteBotAliasOutputError { enum DeleteBotChannelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5878,7 +5878,7 @@ enum DeleteBotChannelAssociationOutputError { enum DeleteBotVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5897,7 +5897,7 @@ enum DeleteBotVersionOutputError { enum DeleteIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5916,7 +5916,7 @@ enum DeleteIntentOutputError { enum DeleteIntentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5935,7 +5935,7 @@ enum DeleteIntentVersionOutputError { enum DeleteSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5954,7 +5954,7 @@ enum DeleteSlotTypeOutputError { enum DeleteSlotTypeVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5973,7 +5973,7 @@ enum DeleteSlotTypeVersionOutputError { enum DeleteUtterancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5990,7 +5990,7 @@ enum DeleteUtterancesOutputError { enum GetBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6007,7 +6007,7 @@ enum GetBotOutputError { enum GetBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6024,7 +6024,7 @@ enum GetBotAliasOutputError { enum GetBotAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6040,7 +6040,7 @@ enum GetBotAliasesOutputError { enum GetBotChannelAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6057,7 +6057,7 @@ enum GetBotChannelAssociationOutputError { enum GetBotChannelAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6073,7 +6073,7 @@ enum GetBotChannelAssociationsOutputError { enum GetBotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6090,7 +6090,7 @@ enum GetBotsOutputError { enum GetBotVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6107,7 +6107,7 @@ enum GetBotVersionsOutputError { enum GetBuiltinIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6124,7 +6124,7 @@ enum GetBuiltinIntentOutputError { enum GetBuiltinIntentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6140,7 +6140,7 @@ enum GetBuiltinIntentsOutputError { enum GetBuiltinSlotTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6156,7 +6156,7 @@ enum GetBuiltinSlotTypesOutputError { enum GetExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6173,7 +6173,7 @@ enum GetExportOutputError { enum GetImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6190,7 +6190,7 @@ enum GetImportOutputError { enum GetIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6207,7 +6207,7 @@ enum GetIntentOutputError { enum GetIntentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6224,7 +6224,7 @@ enum GetIntentsOutputError { enum GetIntentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6241,7 +6241,7 @@ enum GetIntentVersionsOutputError { enum GetMigrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6258,7 +6258,7 @@ enum GetMigrationOutputError { enum GetMigrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6274,7 +6274,7 @@ enum GetMigrationsOutputError { enum GetSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6291,7 +6291,7 @@ enum GetSlotTypeOutputError { enum GetSlotTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6308,7 +6308,7 @@ enum GetSlotTypesOutputError { enum GetSlotTypeVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6325,7 +6325,7 @@ enum GetSlotTypeVersionsOutputError { enum GetUtterancesViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6341,7 +6341,7 @@ enum GetUtterancesViewOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6358,7 +6358,7 @@ enum ListTagsForResourceOutputError { enum PutBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6376,7 +6376,7 @@ enum PutBotOutputError { enum PutBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6394,7 +6394,7 @@ enum PutBotAliasOutputError { enum PutIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6412,7 +6412,7 @@ enum PutIntentOutputError { enum PutSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6430,7 +6430,7 @@ enum PutSlotTypeOutputError { enum StartImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6446,7 +6446,7 @@ enum StartImportOutputError { enum StartMigrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6464,7 +6464,7 @@ enum StartMigrationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6482,7 +6482,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift index c2ca59d5dcd..31f8d8ac6ff 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -2620,7 +2620,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2644,7 +2644,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2668,7 +2668,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2694,7 +2694,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2720,7 +2720,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4492,7 +4492,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4516,7 +4516,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18777,7 +18777,7 @@ extension UpdateTestSetInput { extension BatchCreateCustomVocabularyItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateCustomVocabularyItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateCustomVocabularyItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18793,7 +18793,7 @@ extension BatchCreateCustomVocabularyItemOutput { extension BatchDeleteCustomVocabularyItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteCustomVocabularyItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteCustomVocabularyItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18809,7 +18809,7 @@ extension BatchDeleteCustomVocabularyItemOutput { extension BatchUpdateCustomVocabularyItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateCustomVocabularyItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateCustomVocabularyItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18825,7 +18825,7 @@ extension BatchUpdateCustomVocabularyItemOutput { extension BuildBotLocaleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BuildBotLocaleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BuildBotLocaleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18841,7 +18841,7 @@ extension BuildBotLocaleOutput { extension CreateBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18864,7 +18864,7 @@ extension CreateBotOutput { extension CreateBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18886,7 +18886,7 @@ extension CreateBotAliasOutput { extension CreateBotLocaleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotLocaleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotLocaleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18907,7 +18907,7 @@ extension CreateBotLocaleOutput { extension CreateBotReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18923,7 +18923,7 @@ extension CreateBotReplicaOutput { extension CreateBotVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBotVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBotVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18940,7 +18940,7 @@ extension CreateBotVersionOutput { extension CreateExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18956,7 +18956,7 @@ extension CreateExportOutput { extension CreateIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18985,7 +18985,7 @@ extension CreateIntentOutput { extension CreateResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18998,7 +18998,7 @@ extension CreateResourcePolicyOutput { extension CreateResourcePolicyStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourcePolicyStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourcePolicyStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19011,7 +19011,7 @@ extension CreateResourcePolicyStatementOutput { extension CreateSlotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSlotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSlotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19035,7 +19035,7 @@ extension CreateSlotOutput { extension CreateSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSlotTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19058,7 +19058,7 @@ extension CreateSlotTypeOutput { extension CreateTestSetDiscrepancyReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTestSetDiscrepancyReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTestSetDiscrepancyReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19073,7 +19073,7 @@ extension CreateTestSetDiscrepancyReportOutput { extension CreateUploadUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUploadUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUploadUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19086,7 +19086,7 @@ extension CreateUploadUrlOutput { extension DeleteBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19099,7 +19099,7 @@ extension DeleteBotOutput { extension DeleteBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19113,7 +19113,7 @@ extension DeleteBotAliasOutput { extension DeleteBotLocaleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotLocaleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotLocaleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19128,7 +19128,7 @@ extension DeleteBotLocaleOutput { extension DeleteBotReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19142,7 +19142,7 @@ extension DeleteBotReplicaOutput { extension DeleteBotVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBotVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBotVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19156,7 +19156,7 @@ extension DeleteBotVersionOutput { extension DeleteCustomVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19171,7 +19171,7 @@ extension DeleteCustomVocabularyOutput { extension DeleteExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19184,7 +19184,7 @@ extension DeleteExportOutput { extension DeleteImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19197,14 +19197,14 @@ extension DeleteImportOutput { extension DeleteIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntentOutput { return DeleteIntentOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19217,7 +19217,7 @@ extension DeleteResourcePolicyOutput { extension DeleteResourcePolicyStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19230,35 +19230,35 @@ extension DeleteResourcePolicyStatementOutput { extension DeleteSlotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlotOutput { return DeleteSlotOutput() } } extension DeleteSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlotTypeOutput { return DeleteSlotTypeOutput() } } extension DeleteTestSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTestSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTestSetOutput { return DeleteTestSetOutput() } } extension DeleteUtterancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUtterancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUtterancesOutput { return DeleteUtterancesOutput() } } extension DescribeBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19281,7 +19281,7 @@ extension DescribeBotOutput { extension DescribeBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19305,7 +19305,7 @@ extension DescribeBotAliasOutput { extension DescribeBotLocaleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotLocaleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotLocaleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19333,7 +19333,7 @@ extension DescribeBotLocaleOutput { extension DescribeBotRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19355,7 +19355,7 @@ extension DescribeBotRecommendationOutput { extension DescribeBotReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19372,7 +19372,7 @@ extension DescribeBotReplicaOutput { extension DescribeBotResourceGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotResourceGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotResourceGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19394,7 +19394,7 @@ extension DescribeBotResourceGenerationOutput { extension DescribeBotVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBotVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBotVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19418,7 +19418,7 @@ extension DescribeBotVersionOutput { extension DescribeCustomVocabularyMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomVocabularyMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomVocabularyMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19435,7 +19435,7 @@ extension DescribeCustomVocabularyMetadataOutput { extension DescribeExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19454,7 +19454,7 @@ extension DescribeExportOutput { extension DescribeImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19474,7 +19474,7 @@ extension DescribeImportOutput { extension DescribeIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIntentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19505,7 +19505,7 @@ extension DescribeIntentOutput { extension DescribeResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19519,7 +19519,7 @@ extension DescribeResourcePolicyOutput { extension DescribeSlotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSlotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSlotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19544,7 +19544,7 @@ extension DescribeSlotOutput { extension DescribeSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSlotTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19568,7 +19568,7 @@ extension DescribeSlotTypeOutput { extension DescribeTestExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTestExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTestExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19589,7 +19589,7 @@ extension DescribeTestExecutionOutput { extension DescribeTestSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTestSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTestSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19610,7 +19610,7 @@ extension DescribeTestSetOutput { extension DescribeTestSetDiscrepancyReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTestSetDiscrepancyReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTestSetDiscrepancyReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19630,7 +19630,7 @@ extension DescribeTestSetDiscrepancyReportOutput { extension DescribeTestSetGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTestSetGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTestSetGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19652,7 +19652,7 @@ extension DescribeTestSetGenerationOutput { extension GenerateBotElementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateBotElementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateBotElementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19668,7 +19668,7 @@ extension GenerateBotElementOutput { extension GetTestExecutionArtifactsUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTestExecutionArtifactsUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTestExecutionArtifactsUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19681,7 +19681,7 @@ extension GetTestExecutionArtifactsUrlOutput { extension ListAggregatedUtterancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAggregatedUtterancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAggregatedUtterancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19702,7 +19702,7 @@ extension ListAggregatedUtterancesOutput { extension ListBotAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19716,7 +19716,7 @@ extension ListBotAliasesOutput { extension ListBotAliasReplicasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotAliasReplicasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotAliasReplicasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19732,7 +19732,7 @@ extension ListBotAliasReplicasOutput { extension ListBotLocalesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotLocalesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotLocalesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19747,7 +19747,7 @@ extension ListBotLocalesOutput { extension ListBotRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19763,7 +19763,7 @@ extension ListBotRecommendationsOutput { extension ListBotReplicasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotReplicasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotReplicasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19777,7 +19777,7 @@ extension ListBotReplicasOutput { extension ListBotResourceGenerationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotResourceGenerationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotResourceGenerationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19793,7 +19793,7 @@ extension ListBotResourceGenerationsOutput { extension ListBotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19806,7 +19806,7 @@ extension ListBotsOutput { extension ListBotVersionReplicasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotVersionReplicasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotVersionReplicasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19822,7 +19822,7 @@ extension ListBotVersionReplicasOutput { extension ListBotVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBotVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBotVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19836,7 +19836,7 @@ extension ListBotVersionsOutput { extension ListBuiltInIntentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuiltInIntentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuiltInIntentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19850,7 +19850,7 @@ extension ListBuiltInIntentsOutput { extension ListBuiltInSlotTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBuiltInSlotTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBuiltInSlotTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19864,7 +19864,7 @@ extension ListBuiltInSlotTypesOutput { extension ListCustomVocabularyItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomVocabularyItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomVocabularyItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19880,7 +19880,7 @@ extension ListCustomVocabularyItemsOutput { extension ListExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19896,7 +19896,7 @@ extension ListExportsOutput { extension ListImportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19912,7 +19912,7 @@ extension ListImportsOutput { extension ListIntentMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIntentMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIntentMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19926,7 +19926,7 @@ extension ListIntentMetricsOutput { extension ListIntentPathsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIntentPathsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIntentPathsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19938,7 +19938,7 @@ extension ListIntentPathsOutput { extension ListIntentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIntentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIntentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19954,7 +19954,7 @@ extension ListIntentsOutput { extension ListIntentStageMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIntentStageMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIntentStageMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19968,7 +19968,7 @@ extension ListIntentStageMetricsOutput { extension ListRecommendedIntentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendedIntentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendedIntentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19985,7 +19985,7 @@ extension ListRecommendedIntentsOutput { extension ListSessionAnalyticsDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionAnalyticsDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionAnalyticsDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -19999,7 +19999,7 @@ extension ListSessionAnalyticsDataOutput { extension ListSessionMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSessionMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSessionMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20013,7 +20013,7 @@ extension ListSessionMetricsOutput { extension ListSlotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSlotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSlotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20030,7 +20030,7 @@ extension ListSlotsOutput { extension ListSlotTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSlotTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSlotTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20046,7 +20046,7 @@ extension ListSlotTypesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20058,7 +20058,7 @@ extension ListTagsForResourceOutput { extension ListTestExecutionResultItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestExecutionResultItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestExecutionResultItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20071,7 +20071,7 @@ extension ListTestExecutionResultItemsOutput { extension ListTestExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20084,7 +20084,7 @@ extension ListTestExecutionsOutput { extension ListTestSetRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestSetRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestSetRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20097,7 +20097,7 @@ extension ListTestSetRecordsOutput { extension ListTestSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20110,7 +20110,7 @@ extension ListTestSetsOutput { extension ListUtteranceAnalyticsDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUtteranceAnalyticsDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUtteranceAnalyticsDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20124,7 +20124,7 @@ extension ListUtteranceAnalyticsDataOutput { extension ListUtteranceMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUtteranceMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUtteranceMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20138,7 +20138,7 @@ extension ListUtteranceMetricsOutput { extension SearchAssociatedTranscriptsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchAssociatedTranscriptsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchAssociatedTranscriptsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20156,7 +20156,7 @@ extension SearchAssociatedTranscriptsOutput { extension StartBotRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBotRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBotRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20175,7 +20175,7 @@ extension StartBotRecommendationOutput { extension StartBotResourceGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBotResourceGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBotResourceGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20193,7 +20193,7 @@ extension StartBotResourceGenerationOutput { extension StartImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20209,7 +20209,7 @@ extension StartImportOutput { extension StartTestExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTestExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTestExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20226,7 +20226,7 @@ extension StartTestExecutionOutput { extension StartTestSetGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTestSetGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTestSetGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20246,7 +20246,7 @@ extension StartTestSetGenerationOutput { extension StopBotRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopBotRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopBotRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20262,21 +20262,21 @@ extension StopBotRecommendationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20298,7 +20298,7 @@ extension UpdateBotOutput { extension UpdateBotAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBotAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBotAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20320,7 +20320,7 @@ extension UpdateBotAliasOutput { extension UpdateBotLocaleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBotLocaleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBotLocaleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20344,7 +20344,7 @@ extension UpdateBotLocaleOutput { extension UpdateBotRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBotRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBotRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20364,7 +20364,7 @@ extension UpdateBotRecommendationOutput { extension UpdateExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20381,7 +20381,7 @@ extension UpdateExportOutput { extension UpdateIntentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIntentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIntentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20412,7 +20412,7 @@ extension UpdateIntentOutput { extension UpdateResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20425,7 +20425,7 @@ extension UpdateResourcePolicyOutput { extension UpdateSlotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSlotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSlotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20450,7 +20450,7 @@ extension UpdateSlotOutput { extension UpdateSlotTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSlotTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSlotTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20474,7 +20474,7 @@ extension UpdateSlotTypeOutput { extension UpdateTestSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTestSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTestSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -20495,7 +20495,7 @@ extension UpdateTestSetOutput { enum BatchCreateCustomVocabularyItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20513,7 +20513,7 @@ enum BatchCreateCustomVocabularyItemOutputError { enum BatchDeleteCustomVocabularyItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20531,7 +20531,7 @@ enum BatchDeleteCustomVocabularyItemOutputError { enum BatchUpdateCustomVocabularyItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20549,7 +20549,7 @@ enum BatchUpdateCustomVocabularyItemOutputError { enum BuildBotLocaleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20568,7 +20568,7 @@ enum BuildBotLocaleOutputError { enum CreateBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20587,7 +20587,7 @@ enum CreateBotOutputError { enum CreateBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20606,7 +20606,7 @@ enum CreateBotAliasOutputError { enum CreateBotLocaleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20625,7 +20625,7 @@ enum CreateBotLocaleOutputError { enum CreateBotReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20644,7 +20644,7 @@ enum CreateBotReplicaOutputError { enum CreateBotVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20663,7 +20663,7 @@ enum CreateBotVersionOutputError { enum CreateExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20682,7 +20682,7 @@ enum CreateExportOutputError { enum CreateIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20701,7 +20701,7 @@ enum CreateIntentOutputError { enum CreateResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20720,7 +20720,7 @@ enum CreateResourcePolicyOutputError { enum CreateResourcePolicyStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20740,7 +20740,7 @@ enum CreateResourcePolicyStatementOutputError { enum CreateSlotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20759,7 +20759,7 @@ enum CreateSlotOutputError { enum CreateSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20778,7 +20778,7 @@ enum CreateSlotTypeOutputError { enum CreateTestSetDiscrepancyReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20797,7 +20797,7 @@ enum CreateTestSetDiscrepancyReportOutputError { enum CreateUploadUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20815,7 +20815,7 @@ enum CreateUploadUrlOutputError { enum DeleteBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20834,7 +20834,7 @@ enum DeleteBotOutputError { enum DeleteBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20853,7 +20853,7 @@ enum DeleteBotAliasOutputError { enum DeleteBotLocaleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20872,7 +20872,7 @@ enum DeleteBotLocaleOutputError { enum DeleteBotReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20891,7 +20891,7 @@ enum DeleteBotReplicaOutputError { enum DeleteBotVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20910,7 +20910,7 @@ enum DeleteBotVersionOutputError { enum DeleteCustomVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20929,7 +20929,7 @@ enum DeleteCustomVocabularyOutputError { enum DeleteExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20947,7 +20947,7 @@ enum DeleteExportOutputError { enum DeleteImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20965,7 +20965,7 @@ enum DeleteImportOutputError { enum DeleteIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20984,7 +20984,7 @@ enum DeleteIntentOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21001,7 +21001,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteResourcePolicyStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21018,7 +21018,7 @@ enum DeleteResourcePolicyStatementOutputError { enum DeleteSlotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21037,7 +21037,7 @@ enum DeleteSlotOutputError { enum DeleteSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21056,7 +21056,7 @@ enum DeleteSlotTypeOutputError { enum DeleteTestSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21075,7 +21075,7 @@ enum DeleteTestSetOutputError { enum DeleteUtterancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21091,7 +21091,7 @@ enum DeleteUtterancesOutputError { enum DescribeBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21109,7 +21109,7 @@ enum DescribeBotOutputError { enum DescribeBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21127,7 +21127,7 @@ enum DescribeBotAliasOutputError { enum DescribeBotLocaleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21145,7 +21145,7 @@ enum DescribeBotLocaleOutputError { enum DescribeBotRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21162,7 +21162,7 @@ enum DescribeBotRecommendationOutputError { enum DescribeBotReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21180,7 +21180,7 @@ enum DescribeBotReplicaOutputError { enum DescribeBotResourceGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21197,7 +21197,7 @@ enum DescribeBotResourceGenerationOutputError { enum DescribeBotVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21215,7 +21215,7 @@ enum DescribeBotVersionOutputError { enum DescribeCustomVocabularyMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21233,7 +21233,7 @@ enum DescribeCustomVocabularyMetadataOutputError { enum DescribeExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21250,7 +21250,7 @@ enum DescribeExportOutputError { enum DescribeImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21267,7 +21267,7 @@ enum DescribeImportOutputError { enum DescribeIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21285,7 +21285,7 @@ enum DescribeIntentOutputError { enum DescribeResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21301,7 +21301,7 @@ enum DescribeResourcePolicyOutputError { enum DescribeSlotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21319,7 +21319,7 @@ enum DescribeSlotOutputError { enum DescribeSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21337,7 +21337,7 @@ enum DescribeSlotTypeOutputError { enum DescribeTestExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21355,7 +21355,7 @@ enum DescribeTestExecutionOutputError { enum DescribeTestSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21373,7 +21373,7 @@ enum DescribeTestSetOutputError { enum DescribeTestSetDiscrepancyReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21391,7 +21391,7 @@ enum DescribeTestSetDiscrepancyReportOutputError { enum DescribeTestSetGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21409,7 +21409,7 @@ enum DescribeTestSetGenerationOutputError { enum GenerateBotElementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21429,7 +21429,7 @@ enum GenerateBotElementOutputError { enum GetTestExecutionArtifactsUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21447,7 +21447,7 @@ enum GetTestExecutionArtifactsUrlOutputError { enum ListAggregatedUtterancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21464,7 +21464,7 @@ enum ListAggregatedUtterancesOutputError { enum ListBotAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21481,7 +21481,7 @@ enum ListBotAliasesOutputError { enum ListBotAliasReplicasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21498,7 +21498,7 @@ enum ListBotAliasReplicasOutputError { enum ListBotLocalesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21515,7 +21515,7 @@ enum ListBotLocalesOutputError { enum ListBotRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21532,7 +21532,7 @@ enum ListBotRecommendationsOutputError { enum ListBotReplicasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21549,7 +21549,7 @@ enum ListBotReplicasOutputError { enum ListBotResourceGenerationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21566,7 +21566,7 @@ enum ListBotResourceGenerationsOutputError { enum ListBotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21583,7 +21583,7 @@ enum ListBotsOutputError { enum ListBotVersionReplicasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21600,7 +21600,7 @@ enum ListBotVersionReplicasOutputError { enum ListBotVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21617,7 +21617,7 @@ enum ListBotVersionsOutputError { enum ListBuiltInIntentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21634,7 +21634,7 @@ enum ListBuiltInIntentsOutputError { enum ListBuiltInSlotTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21651,7 +21651,7 @@ enum ListBuiltInSlotTypesOutputError { enum ListCustomVocabularyItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21669,7 +21669,7 @@ enum ListCustomVocabularyItemsOutputError { enum ListExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21685,7 +21685,7 @@ enum ListExportsOutputError { enum ListImportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21701,7 +21701,7 @@ enum ListImportsOutputError { enum ListIntentMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21719,7 +21719,7 @@ enum ListIntentMetricsOutputError { enum ListIntentPathsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21737,7 +21737,7 @@ enum ListIntentPathsOutputError { enum ListIntentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21754,7 +21754,7 @@ enum ListIntentsOutputError { enum ListIntentStageMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21772,7 +21772,7 @@ enum ListIntentStageMetricsOutputError { enum ListRecommendedIntentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21790,7 +21790,7 @@ enum ListRecommendedIntentsOutputError { enum ListSessionAnalyticsDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21808,7 +21808,7 @@ enum ListSessionAnalyticsDataOutputError { enum ListSessionMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21826,7 +21826,7 @@ enum ListSessionMetricsOutputError { enum ListSlotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21843,7 +21843,7 @@ enum ListSlotsOutputError { enum ListSlotTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21860,7 +21860,7 @@ enum ListSlotTypesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21877,7 +21877,7 @@ enum ListTagsForResourceOutputError { enum ListTestExecutionResultItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21895,7 +21895,7 @@ enum ListTestExecutionResultItemsOutputError { enum ListTestExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21912,7 +21912,7 @@ enum ListTestExecutionsOutputError { enum ListTestSetRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21930,7 +21930,7 @@ enum ListTestSetRecordsOutputError { enum ListTestSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21947,7 +21947,7 @@ enum ListTestSetsOutputError { enum ListUtteranceAnalyticsDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21965,7 +21965,7 @@ enum ListUtteranceAnalyticsDataOutputError { enum ListUtteranceMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21983,7 +21983,7 @@ enum ListUtteranceMetricsOutputError { enum SearchAssociatedTranscriptsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22001,7 +22001,7 @@ enum SearchAssociatedTranscriptsOutputError { enum StartBotRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22021,7 +22021,7 @@ enum StartBotRecommendationOutputError { enum StartBotResourceGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22040,7 +22040,7 @@ enum StartBotResourceGenerationOutputError { enum StartImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22059,7 +22059,7 @@ enum StartImportOutputError { enum StartTestExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22078,7 +22078,7 @@ enum StartTestExecutionOutputError { enum StartTestSetGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22097,7 +22097,7 @@ enum StartTestSetGenerationOutputError { enum StopBotRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22117,7 +22117,7 @@ enum StopBotRecommendationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22134,7 +22134,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22151,7 +22151,7 @@ enum UntagResourceOutputError { enum UpdateBotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22170,7 +22170,7 @@ enum UpdateBotOutputError { enum UpdateBotAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22189,7 +22189,7 @@ enum UpdateBotAliasOutputError { enum UpdateBotLocaleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22208,7 +22208,7 @@ enum UpdateBotLocaleOutputError { enum UpdateBotRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22228,7 +22228,7 @@ enum UpdateBotRecommendationOutputError { enum UpdateExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22247,7 +22247,7 @@ enum UpdateExportOutputError { enum UpdateIntentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22266,7 +22266,7 @@ enum UpdateIntentOutputError { enum UpdateResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22285,7 +22285,7 @@ enum UpdateResourcePolicyOutputError { enum UpdateSlotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22304,7 +22304,7 @@ enum UpdateSlotOutputError { enum UpdateSlotTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -22323,7 +22323,7 @@ enum UpdateSlotTypeOutputError { enum UpdateTestSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/Models.swift b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/Models.swift index e8b9241aed8..41cdac196d9 100644 --- a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/Models.swift +++ b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -71,6 +71,11 @@ extension LexRuntimeClientTypes { } +extension LexRuntimeClientTypes.ActiveContext: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ActiveContext(name: \(Swift.String(describing: name)), timeToLive: \(Swift.String(describing: timeToLive)), parameters: [keys: \(Swift.String(describing: parameters?.keys)), values: \"CONTENT_REDACTED\"])"} +} + /// Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes. public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -83,7 +88,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +112,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +136,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -156,7 +161,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -182,7 +187,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -584,7 +589,7 @@ public struct BadGatewayException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -614,7 +619,7 @@ public struct DependencyFailedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -638,7 +643,7 @@ public struct LoopDetectedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -662,7 +667,7 @@ public struct NotAcceptableException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -686,7 +691,7 @@ public struct RequestTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -710,7 +715,7 @@ public struct UnsupportedMediaTypeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1608,7 +1613,7 @@ extension PutSessionInput { extension DeleteSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1623,7 +1628,7 @@ extension DeleteSessionOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1639,7 +1644,7 @@ extension GetSessionOutput { extension PostContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostContentOutput { var value = PostContentOutput() if let activeContextsHeaderValue = httpResponse.headers.value(for: "x-amz-lex-active-contexts") { value.activeContexts = try activeContextsHeaderValue.base64DecodedString() @@ -1706,7 +1711,7 @@ extension PostContentOutput { extension PostTextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PostTextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PostTextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1731,7 +1736,7 @@ extension PostTextOutput { extension PutSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSessionOutput { var value = PutSessionOutput() if let activeContextsHeaderValue = httpResponse.headers.value(for: "x-amz-lex-active-contexts") { value.activeContexts = try activeContextsHeaderValue.base64DecodedString() @@ -1780,7 +1785,7 @@ extension PutSessionOutput { enum DeleteSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1798,7 +1803,7 @@ enum DeleteSessionOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1815,7 +1820,7 @@ enum GetSessionOutputError { enum PostContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1839,7 +1844,7 @@ enum PostContentOutputError { enum PostTextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1860,7 +1865,7 @@ enum PostTextOutputError { enum PutSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/Models.swift b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/Models.swift index 356d93a4bc7..320d0d6d106 100644 --- a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/Models.swift +++ b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/Models.swift @@ -10,7 +10,7 @@ import Foundation import class ClientRuntime.Indirect import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -49,7 +49,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,6 +110,11 @@ extension LexRuntimeV2ClientTypes { } +extension LexRuntimeV2ClientTypes.ActiveContext: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ActiveContext(name: \(Swift.String(describing: name)), timeToLive: \(Swift.String(describing: timeToLive)), contextAttributes: [keys: \(Swift.String(describing: contextAttributes?.keys)), values: \"CONTENT_REDACTED\"])"} +} + extension LexRuntimeV2ClientTypes { /// Represents a chunk of audio sent from the client application to Amazon Lex V2. The audio is all or part of an utterance from the user. Amazon Lex V2 accumulates audio chunks until it recognizes a natural pause in speech before processing the input. public struct AudioInputEvent { @@ -176,7 +181,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -201,7 +206,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -226,7 +231,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -251,7 +256,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -276,7 +281,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -845,7 +850,7 @@ public struct BadGatewayException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -870,7 +875,7 @@ public struct DependencyFailedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2115,7 +2120,7 @@ extension RecognizeUtteranceInput { extension DeleteSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2130,7 +2135,7 @@ extension DeleteSessionOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2145,7 +2150,7 @@ extension GetSessionOutput { extension PutSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSessionOutput { var value = PutSessionOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -2176,7 +2181,7 @@ extension PutSessionOutput { extension RecognizeTextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RecognizeTextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RecognizeTextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2193,7 +2198,7 @@ extension RecognizeTextOutput { extension RecognizeUtteranceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RecognizeUtteranceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RecognizeUtteranceOutput { var value = RecognizeUtteranceOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -2236,7 +2241,7 @@ extension RecognizeUtteranceOutput { extension StartConversationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConversationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConversationOutput { var value = StartConversationOutput() if case .stream(let stream) = httpResponse.body { let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() @@ -2249,7 +2254,7 @@ extension StartConversationOutput { enum DeleteSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2268,7 +2273,7 @@ enum DeleteSessionOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2286,7 +2291,7 @@ enum GetSessionOutputError { enum PutSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2307,7 +2312,7 @@ enum PutSessionOutputError { enum RecognizeTextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2328,7 +2333,7 @@ enum RecognizeTextOutputError { enum RecognizeUtteranceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2349,7 +2354,7 @@ enum RecognizeUtteranceOutputError { enum StartConversationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2588,14 +2593,14 @@ extension LexRuntimeV2ClientTypes.StartConversationResponseEventStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: BadGatewayException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") diff --git a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/Models.swift b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/Models.swift index a184f7f6b8d..44a8a450544 100644 --- a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/Models.swift +++ b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct AuthorizationException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct RateLimitExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -155,7 +155,7 @@ public struct ServerInternalException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -179,7 +179,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -375,7 +375,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -399,7 +399,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -445,7 +445,7 @@ public struct EntitlementNotAllowedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -469,7 +469,7 @@ public struct NoEntitlementsAllowedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -494,7 +494,7 @@ public struct RedirectException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -520,7 +520,7 @@ public struct UnsupportedDigitalSignatureMethodException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2954,7 +2954,7 @@ public struct FilterLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3914,7 +3914,7 @@ public struct FailedDependencyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4484,7 +4484,7 @@ public struct InvalidResourceStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4508,7 +4508,7 @@ public struct LicenseUsageException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5460,7 +5460,7 @@ extension UpdateServiceSettingsInput { extension AcceptGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5474,14 +5474,14 @@ extension AcceptGrantOutput { extension CheckInLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckInLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckInLicenseOutput { return CheckInLicenseOutput() } } extension CheckoutBorrowLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckoutBorrowLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckoutBorrowLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5500,7 +5500,7 @@ extension CheckoutBorrowLicenseOutput { extension CheckoutLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckoutLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckoutLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5519,7 +5519,7 @@ extension CheckoutLicenseOutput { extension CreateGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5533,7 +5533,7 @@ extension CreateGrantOutput { extension CreateGrantVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGrantVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGrantVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5547,7 +5547,7 @@ extension CreateGrantVersionOutput { extension CreateLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5561,7 +5561,7 @@ extension CreateLicenseOutput { extension CreateLicenseConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLicenseConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLicenseConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5573,7 +5573,7 @@ extension CreateLicenseConfigurationOutput { extension CreateLicenseConversionTaskForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLicenseConversionTaskForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLicenseConversionTaskForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5585,7 +5585,7 @@ extension CreateLicenseConversionTaskForResourceOutput { extension CreateLicenseManagerReportGeneratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLicenseManagerReportGeneratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLicenseManagerReportGeneratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5597,7 +5597,7 @@ extension CreateLicenseManagerReportGeneratorOutput { extension CreateLicenseVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLicenseVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLicenseVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5611,7 +5611,7 @@ extension CreateLicenseVersionOutput { extension CreateTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5625,7 +5625,7 @@ extension CreateTokenOutput { extension DeleteGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5639,7 +5639,7 @@ extension DeleteGrantOutput { extension DeleteLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5652,28 +5652,28 @@ extension DeleteLicenseOutput { extension DeleteLicenseConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLicenseConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLicenseConfigurationOutput { return DeleteLicenseConfigurationOutput() } } extension DeleteLicenseManagerReportGeneratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLicenseManagerReportGeneratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLicenseManagerReportGeneratorOutput { return DeleteLicenseManagerReportGeneratorOutput() } } extension DeleteTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTokenOutput { return DeleteTokenOutput() } } extension ExtendLicenseConsumptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExtendLicenseConsumptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExtendLicenseConsumptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5686,7 +5686,7 @@ extension ExtendLicenseConsumptionOutput { extension GetAccessTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5698,7 +5698,7 @@ extension GetAccessTokenOutput { extension GetGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5710,7 +5710,7 @@ extension GetGrantOutput { extension GetLicenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5722,7 +5722,7 @@ extension GetLicenseOutput { extension GetLicenseConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5750,7 +5750,7 @@ extension GetLicenseConfigurationOutput { extension GetLicenseConversionTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseConversionTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseConversionTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5770,7 +5770,7 @@ extension GetLicenseConversionTaskOutput { extension GetLicenseManagerReportGeneratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseManagerReportGeneratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseManagerReportGeneratorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5782,7 +5782,7 @@ extension GetLicenseManagerReportGeneratorOutput { extension GetLicenseUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLicenseUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLicenseUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5794,7 +5794,7 @@ extension GetLicenseUsageOutput { extension GetServiceSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5810,7 +5810,7 @@ extension GetServiceSettingsOutput { extension ListAssociationsForLicenseConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociationsForLicenseConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociationsForLicenseConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5823,7 +5823,7 @@ extension ListAssociationsForLicenseConfigurationOutput { extension ListDistributedGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDistributedGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributedGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5836,7 +5836,7 @@ extension ListDistributedGrantsOutput { extension ListFailuresForLicenseConfigurationOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFailuresForLicenseConfigurationOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFailuresForLicenseConfigurationOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5849,7 +5849,7 @@ extension ListFailuresForLicenseConfigurationOperationsOutput { extension ListLicenseConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicenseConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicenseConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5862,7 +5862,7 @@ extension ListLicenseConfigurationsOutput { extension ListLicenseConversionTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicenseConversionTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicenseConversionTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5875,7 +5875,7 @@ extension ListLicenseConversionTasksOutput { extension ListLicenseManagerReportGeneratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicenseManagerReportGeneratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicenseManagerReportGeneratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5888,7 +5888,7 @@ extension ListLicenseManagerReportGeneratorsOutput { extension ListLicensesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicensesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicensesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5901,7 +5901,7 @@ extension ListLicensesOutput { extension ListLicenseSpecificationsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicenseSpecificationsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicenseSpecificationsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5914,7 +5914,7 @@ extension ListLicenseSpecificationsForResourceOutput { extension ListLicenseVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLicenseVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLicenseVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5927,7 +5927,7 @@ extension ListLicenseVersionsOutput { extension ListReceivedGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReceivedGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReceivedGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5940,7 +5940,7 @@ extension ListReceivedGrantsOutput { extension ListReceivedGrantsForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReceivedGrantsForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReceivedGrantsForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5953,7 +5953,7 @@ extension ListReceivedGrantsForOrganizationOutput { extension ListReceivedLicensesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReceivedLicensesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReceivedLicensesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5966,7 +5966,7 @@ extension ListReceivedLicensesOutput { extension ListReceivedLicensesForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReceivedLicensesForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReceivedLicensesForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5979,7 +5979,7 @@ extension ListReceivedLicensesForOrganizationOutput { extension ListResourceInventoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceInventoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceInventoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5992,7 +5992,7 @@ extension ListResourceInventoryOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6004,7 +6004,7 @@ extension ListTagsForResourceOutput { extension ListTokensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTokensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTokensOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6017,7 +6017,7 @@ extension ListTokensOutput { extension ListUsageForLicenseConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsageForLicenseConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsageForLicenseConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6030,7 +6030,7 @@ extension ListUsageForLicenseConfigurationOutput { extension RejectGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6044,49 +6044,49 @@ extension RejectGrantOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLicenseConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLicenseConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLicenseConfigurationOutput { return UpdateLicenseConfigurationOutput() } } extension UpdateLicenseManagerReportGeneratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLicenseManagerReportGeneratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLicenseManagerReportGeneratorOutput { return UpdateLicenseManagerReportGeneratorOutput() } } extension UpdateLicenseSpecificationsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLicenseSpecificationsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLicenseSpecificationsForResourceOutput { return UpdateLicenseSpecificationsForResourceOutput() } } extension UpdateServiceSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceSettingsOutput { return UpdateServiceSettingsOutput() } } enum AcceptGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6106,7 +6106,7 @@ enum AcceptGrantOutputError { enum CheckInLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6127,7 +6127,7 @@ enum CheckInLicenseOutputError { enum CheckoutBorrowLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6151,7 +6151,7 @@ enum CheckoutBorrowLicenseOutputError { enum CheckoutLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6174,7 +6174,7 @@ enum CheckoutLicenseOutputError { enum CreateGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6194,7 +6194,7 @@ enum CreateGrantOutputError { enum CreateGrantVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6214,7 +6214,7 @@ enum CreateGrantVersionOutputError { enum CreateLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6234,7 +6234,7 @@ enum CreateLicenseOutputError { enum CreateLicenseConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6253,7 +6253,7 @@ enum CreateLicenseConfigurationOutputError { enum CreateLicenseConversionTaskForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6272,7 +6272,7 @@ enum CreateLicenseConversionTaskForResourceOutputError { enum CreateLicenseManagerReportGeneratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6293,7 +6293,7 @@ enum CreateLicenseManagerReportGeneratorOutputError { enum CreateLicenseVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6314,7 +6314,7 @@ enum CreateLicenseVersionOutputError { enum CreateTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6335,7 +6335,7 @@ enum CreateTokenOutputError { enum DeleteGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6355,7 +6355,7 @@ enum DeleteGrantOutputError { enum DeleteLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6376,7 +6376,7 @@ enum DeleteLicenseOutputError { enum DeleteLicenseConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6394,7 +6394,7 @@ enum DeleteLicenseConfigurationOutputError { enum DeleteLicenseManagerReportGeneratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6415,7 +6415,7 @@ enum DeleteLicenseManagerReportGeneratorOutputError { enum DeleteTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6435,7 +6435,7 @@ enum DeleteTokenOutputError { enum ExtendLicenseConsumptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6455,7 +6455,7 @@ enum ExtendLicenseConsumptionOutputError { enum GetAccessTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6473,7 +6473,7 @@ enum GetAccessTokenOutputError { enum GetGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6493,7 +6493,7 @@ enum GetGrantOutputError { enum GetLicenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6512,7 +6512,7 @@ enum GetLicenseOutputError { enum GetLicenseConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6530,7 +6530,7 @@ enum GetLicenseConfigurationOutputError { enum GetLicenseConversionTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6548,7 +6548,7 @@ enum GetLicenseConversionTaskOutputError { enum GetLicenseManagerReportGeneratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6569,7 +6569,7 @@ enum GetLicenseManagerReportGeneratorOutputError { enum GetLicenseUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6588,7 +6588,7 @@ enum GetLicenseUsageOutputError { enum GetServiceSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6605,7 +6605,7 @@ enum GetServiceSettingsOutputError { enum ListAssociationsForLicenseConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6624,7 +6624,7 @@ enum ListAssociationsForLicenseConfigurationOutputError { enum ListDistributedGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6644,7 +6644,7 @@ enum ListDistributedGrantsOutputError { enum ListFailuresForLicenseConfigurationOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6662,7 +6662,7 @@ enum ListFailuresForLicenseConfigurationOperationsOutputError { enum ListLicenseConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6681,7 +6681,7 @@ enum ListLicenseConfigurationsOutputError { enum ListLicenseConversionTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6699,7 +6699,7 @@ enum ListLicenseConversionTasksOutputError { enum ListLicenseManagerReportGeneratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6720,7 +6720,7 @@ enum ListLicenseManagerReportGeneratorsOutputError { enum ListLicensesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6739,7 +6739,7 @@ enum ListLicensesOutputError { enum ListLicenseSpecificationsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6757,7 +6757,7 @@ enum ListLicenseSpecificationsForResourceOutputError { enum ListLicenseVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6775,7 +6775,7 @@ enum ListLicenseVersionsOutputError { enum ListReceivedGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6795,7 +6795,7 @@ enum ListReceivedGrantsOutputError { enum ListReceivedGrantsForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6815,7 +6815,7 @@ enum ListReceivedGrantsForOrganizationOutputError { enum ListReceivedLicensesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6835,7 +6835,7 @@ enum ListReceivedLicensesOutputError { enum ListReceivedLicensesForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6855,7 +6855,7 @@ enum ListReceivedLicensesForOrganizationOutputError { enum ListResourceInventoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6875,7 +6875,7 @@ enum ListResourceInventoryOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6893,7 +6893,7 @@ enum ListTagsForResourceOutputError { enum ListTokensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6911,7 +6911,7 @@ enum ListTokensOutputError { enum ListUsageForLicenseConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6930,7 +6930,7 @@ enum ListUsageForLicenseConfigurationOutputError { enum RejectGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6950,7 +6950,7 @@ enum RejectGrantOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6968,7 +6968,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6986,7 +6986,7 @@ enum UntagResourceOutputError { enum UpdateLicenseConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7005,7 +7005,7 @@ enum UpdateLicenseConfigurationOutputError { enum UpdateLicenseManagerReportGeneratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7026,7 +7026,7 @@ enum UpdateLicenseManagerReportGeneratorOutputError { enum UpdateLicenseSpecificationsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7046,7 +7046,7 @@ enum UpdateLicenseSpecificationsForResourceOutputError { enum UpdateServiceSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt index e30856311b8..44475ac998d 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt @@ -61,11 +61,11 @@ let package = Package( package: "aws-sdk-swift.AWSSDKHTTPAuth" ), .product( - name: "SmithyRetries", + name: "SmithyJSON", package: "aws-sdk-swift.smithy-swift" ), .product( - name: "SmithyJSON", + name: "SmithyRetries", package: "aws-sdk-swift.smithy-swift" ), .product( diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift index 2b1469661d7..c382518c26e 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift @@ -43,6 +43,7 @@ import struct ClientRuntime.ContentTypeMiddleware import struct ClientRuntime.DeserializeMiddleware import struct ClientRuntime.LoggerMiddleware import struct ClientRuntime.OperationStack +import struct ClientRuntime.QueryItemMiddleware import struct ClientRuntime.RetryMiddleware import struct ClientRuntime.SignerMiddleware import struct ClientRuntime.URLHostMiddleware @@ -177,9 +178,111 @@ extension LicenseManagerLinuxSubscriptionsClient { } extension LicenseManagerLinuxSubscriptionsClient { + /// Performs the `DeregisterSubscriptionProvider` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// Remove a third-party subscription provider from the Bring Your Own License (BYOL) subscriptions registered to your account. + /// + /// - Parameter DeregisterSubscriptionProviderInput : [no documentation found] + /// + /// - Returns: `DeregisterSubscriptionProviderOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ResourceNotFoundException` : Unable to find the requested Amazon Web Services resource. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The provided input is not valid. Try your request again. + public func deregisterSubscriptionProvider(input: DeregisterSubscriptionProviderInput) async throws -> DeregisterSubscriptionProviderOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deregisterSubscriptionProvider") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deregisterSubscriptionProvider") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeregisterSubscriptionProviderInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeregisterSubscriptionProviderInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeregisterSubscriptionProviderOutput.httpOutput(from:), DeregisterSubscriptionProviderOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetRegisteredSubscriptionProvider` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// Get details for a Bring Your Own License (BYOL) subscription that's registered to your account. + /// + /// - Parameter GetRegisteredSubscriptionProviderInput : [no documentation found] + /// + /// - Returns: `GetRegisteredSubscriptionProviderOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ResourceNotFoundException` : Unable to find the requested Amazon Web Services resource. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The provided input is not valid. Try your request again. + public func getRegisteredSubscriptionProvider(input: GetRegisteredSubscriptionProviderInput) async throws -> GetRegisteredSubscriptionProviderOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "getRegisteredSubscriptionProvider") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getRegisteredSubscriptionProvider") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetRegisteredSubscriptionProviderInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: GetRegisteredSubscriptionProviderInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetRegisteredSubscriptionProviderOutput.httpOutput(from:), GetRegisteredSubscriptionProviderOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `GetServiceSettings` operation on the `LicenseManagerLinuxSubscriptions` service. /// - /// Lists the Linux subscriptions service settings. + /// Lists the Linux subscriptions service settings for your account. /// /// - Parameter GetServiceSettingsInput : [no documentation found] /// @@ -324,6 +427,250 @@ extension LicenseManagerLinuxSubscriptionsClient { return result } + /// Performs the `ListRegisteredSubscriptionProviders` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// List Bring Your Own License (BYOL) subscription registration resources for your account. + /// + /// - Parameter ListRegisteredSubscriptionProvidersInput : [no documentation found] + /// + /// - Returns: `ListRegisteredSubscriptionProvidersOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The provided input is not valid. Try your request again. + public func listRegisteredSubscriptionProviders(input: ListRegisteredSubscriptionProvidersInput) async throws -> ListRegisteredSubscriptionProvidersOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listRegisteredSubscriptionProviders") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listRegisteredSubscriptionProviders") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListRegisteredSubscriptionProvidersInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListRegisteredSubscriptionProvidersInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListRegisteredSubscriptionProvidersOutput.httpOutput(from:), ListRegisteredSubscriptionProvidersOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListTagsForResource` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// List the metadata tags that are assigned to the specified Amazon Web Services resource. + /// + /// - Parameter ListTagsForResourceInput : [no documentation found] + /// + /// - Returns: `ListTagsForResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ResourceNotFoundException` : Unable to find the requested Amazon Web Services resource. + /// - `ValidationException` : The provided input is not valid. Try your request again. + public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listTagsForResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listTagsForResource") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListTagsForResourceOutput.httpOutput(from:), ListTagsForResourceOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `RegisterSubscriptionProvider` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription. + /// + /// - Parameter RegisterSubscriptionProviderInput : [no documentation found] + /// + /// - Returns: `RegisterSubscriptionProviderOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The provided input is not valid. Try your request again. + public func registerSubscriptionProvider(input: RegisterSubscriptionProviderInput) async throws -> RegisterSubscriptionProviderOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "registerSubscriptionProvider") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "registerSubscriptionProvider") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(RegisterSubscriptionProviderInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: RegisterSubscriptionProviderInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(RegisterSubscriptionProviderOutput.httpOutput(from:), RegisterSubscriptionProviderOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `TagResource` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// Add metadata tags to the specified Amazon Web Services resource. + /// + /// - Parameter TagResourceInput : [no documentation found] + /// + /// - Returns: `TagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ResourceNotFoundException` : Unable to find the requested Amazon Web Services resource. + /// - `ValidationException` : The provided input is not valid. Try your request again. + public func tagResource(input: TagResourceInput) async throws -> TagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "tagResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "tagResource") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TagResourceInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(TagResourceOutput.httpOutput(from:), TagResourceOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `UntagResource` operation on the `LicenseManagerLinuxSubscriptions` service. + /// + /// Remove one or more metadata tag from the specified Amazon Web Services resource. + /// + /// - Parameter UntagResourceInput : [no documentation found] + /// + /// - Returns: `UntagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalServerException` : An exception occurred with the service. + /// - `ResourceNotFoundException` : Unable to find the requested Amazon Web Services resource. + public func untagResource(input: UntagResourceInput) async throws -> UntagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "untagResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "license-manager-linux-subscriptions") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "untagResource") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(UntagResourceInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UntagResourceOutput.httpOutput(from:), UntagResourceOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `UpdateServiceSettings` operation on the `LicenseManagerLinuxSubscriptions` service. /// /// Updates the service settings for Linux subscriptions. diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Models.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Models.swift index 901db955cd6..3e2bf9bc708 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Models.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Models.swift @@ -7,10 +7,11 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault +import enum Smithy.ClientError import enum SmithyReadWrite.ReaderError import enum SmithyReadWrite.ReadingClosures import enum SmithyReadWrite.WritingClosures @@ -19,6 +20,122 @@ import protocol ClientRuntime.HTTPError import protocol ClientRuntime.ModeledError import struct AWSClientRuntime.RestJSONError @_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError +import struct Smithy.URIQueryItem +import struct SmithyReadWrite.WritingClosureBox + +/// An exception occurred with the service. +public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InternalServerException" } + public static var fault: ClientRuntime.ErrorFault { .server } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// Unable to find the requested Amazon Web Services resource. +public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ResourceNotFoundException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// The request was denied due to request throttling. +public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ThrottlingException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// The provided input is not valid. Try your request again. +public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ValidationException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +public struct DeregisterSubscriptionProviderInput { + /// The Amazon Resource Name (ARN) of the subscription provider resource to deregister. + /// This member is required. + public var subscriptionProviderArn: Swift.String? + + public init( + subscriptionProviderArn: Swift.String? = nil + ) + { + self.subscriptionProviderArn = subscriptionProviderArn + } +} + +public struct DeregisterSubscriptionProviderOutput { + + public init() { } +} extension LicenseManagerLinuxSubscriptionsClientTypes { @@ -79,75 +196,110 @@ extension LicenseManagerLinuxSubscriptionsClientTypes { } -/// An exception occurred with the service. -public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "InternalServerException" } - public static var fault: ClientRuntime.ErrorFault { .server } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? +public struct GetRegisteredSubscriptionProviderInput { + /// The Amazon Resource Name (ARN) of the BYOL registration resource to get details for. + /// This member is required. + public var subscriptionProviderArn: Swift.String? public init( - message: Swift.String? = nil + subscriptionProviderArn: Swift.String? = nil ) { - self.properties.message = message + self.subscriptionProviderArn = subscriptionProviderArn } } -/// The request was denied due to request throttling. -public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +extension LicenseManagerLinuxSubscriptionsClientTypes { - public struct Properties { - public internal(set) var message: Swift.String? = nil - } + public enum SubscriptionProviderSource: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// RedHat subscription provider namespace + case redhat + case sdkUnknown(Swift.String) - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ThrottlingException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? + public static var allCases: [SubscriptionProviderSource] { + return [ + .redhat + ] + } - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .redhat: return "RedHat" + case let .sdkUnknown(s): return s + } + } } } -/// The provided input is not valid. Try your request again. -public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +extension LicenseManagerLinuxSubscriptionsClientTypes { - public struct Properties { - public internal(set) var message: Swift.String? = nil + public enum SubscriptionProviderStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// ACTIVE status + case active + /// INVALID status + case invalid + /// PENDING status + case pending + case sdkUnknown(Swift.String) + + public static var allCases: [SubscriptionProviderStatus] { + return [ + .active, + .invalid, + .pending + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .active: return "ACTIVE" + case .invalid: return "INVALID" + case .pending: return "PENDING" + case let .sdkUnknown(s): return s + } + } } +} - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ValidationException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? +public struct GetRegisteredSubscriptionProviderOutput { + /// The timestamp from the last time License Manager retrieved subscription details from your registered third-party Linux subscription provider. + public var lastSuccessfulDataRetrievalTime: Swift.String? + /// The Amazon Resource Name (ARN) of the third-party access secret stored in Secrets Manager for the BYOL registration resource specified in the request. + public var secretArn: Swift.String? + /// The Amazon Resource Name (ARN) for the BYOL registration resource specified in the request. + public var subscriptionProviderArn: Swift.String? + /// The subscription provider for the BYOL registration resource specified in the request. + public var subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? + /// The status of the Linux subscription provider access token from the last successful subscription data request. + public var subscriptionProviderStatus: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderStatus? + /// The detailed message from your subscription provider token status. + public var subscriptionProviderStatusMessage: Swift.String? public init( - message: Swift.String? = nil + lastSuccessfulDataRetrievalTime: Swift.String? = nil, + secretArn: Swift.String? = nil, + subscriptionProviderArn: Swift.String? = nil, + subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? = nil, + subscriptionProviderStatus: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderStatus? = nil, + subscriptionProviderStatusMessage: Swift.String? = nil ) { - self.properties.message = message + self.lastSuccessfulDataRetrievalTime = lastSuccessfulDataRetrievalTime + self.secretArn = secretArn + self.subscriptionProviderArn = subscriptionProviderArn + self.subscriptionProviderSource = subscriptionProviderSource + self.subscriptionProviderStatus = subscriptionProviderStatus + self.subscriptionProviderStatusMessage = subscriptionProviderStatusMessage } } @@ -314,45 +466,65 @@ extension LicenseManagerLinuxSubscriptionsClientTypes { public var accountID: Swift.String? /// The AMI ID used to launch the instance. public var amiId: Swift.String? + /// Indicates that you have two different license subscriptions for the same software on your instance. + public var dualSubscription: Swift.String? /// The instance ID of the resource. public var instanceID: Swift.String? /// The instance type of the resource. public var instanceType: Swift.String? /// The time in which the last discovery updated the instance details. public var lastUpdatedTime: Swift.String? + /// The operating system software version that runs on your instance. + public var osVersion: Swift.String? /// The product code for the instance. For more information, see [Usage operation values](https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html) in the License Manager User Guide . public var productCode: [Swift.String]? /// The Region the instance is running in. public var region: Swift.String? + /// Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that you've registered with License Manager. + public var registeredWithSubscriptionProvider: Swift.String? /// The status of the instance. public var status: Swift.String? - /// The name of the subscription being used by the instance. + /// The name of the license subscription that the instance uses. public var subscriptionName: Swift.String? + /// The timestamp when you registered the third-party Linux subscription provider for the subscription that the instance uses. + public var subscriptionProviderCreateTime: Swift.String? + /// The timestamp from the last time that the instance synced with the registered third-party Linux subscription provider. + public var subscriptionProviderUpdateTime: Swift.String? /// The usage operation of the instance. For more information, see For more information, see [Usage operation values](https://docs.aws.amazon.com/license-manager/latest/userguide/linux-subscriptions-usage-operation.html) in the License Manager User Guide. public var usageOperation: Swift.String? public init( accountID: Swift.String? = nil, amiId: Swift.String? = nil, + dualSubscription: Swift.String? = nil, instanceID: Swift.String? = nil, instanceType: Swift.String? = nil, lastUpdatedTime: Swift.String? = nil, + osVersion: Swift.String? = nil, productCode: [Swift.String]? = nil, region: Swift.String? = nil, + registeredWithSubscriptionProvider: Swift.String? = nil, status: Swift.String? = nil, subscriptionName: Swift.String? = nil, + subscriptionProviderCreateTime: Swift.String? = nil, + subscriptionProviderUpdateTime: Swift.String? = nil, usageOperation: Swift.String? = nil ) { self.accountID = accountID self.amiId = amiId + self.dualSubscription = dualSubscription self.instanceID = instanceID self.instanceType = instanceType self.lastUpdatedTime = lastUpdatedTime + self.osVersion = osVersion self.productCode = productCode self.region = region + self.registeredWithSubscriptionProvider = registeredWithSubscriptionProvider self.status = status self.subscriptionName = subscriptionName + self.subscriptionProviderCreateTime = subscriptionProviderCreateTime + self.subscriptionProviderUpdateTime = subscriptionProviderUpdateTime self.usageOperation = usageOperation } } @@ -361,26 +533,28 @@ extension LicenseManagerLinuxSubscriptionsClientTypes { /// NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases. public struct ListLinuxSubscriptionInstancesInput { - /// An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of AmiID with an optional operator to see subscriptions that match, partially match, or don't match a certain Amazon Machine Image (AMI) ID. The valid names for this filter are: + /// An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region in the Name, with the contains operator to list all subscriptions that match a partial string in the Value, such as us-west. For each filter, you can specify one of the following values for the Name key to streamline results: + /// + /// * AccountID /// /// * AmiID /// + /// * DualSubscription + /// /// * InstanceID /// - /// * AccountID + /// * InstanceType /// - /// * Status + /// * ProductCode /// /// * Region /// - /// * UsageOperation - /// - /// * ProductCode + /// * Status /// - /// * InstanceType + /// * UsageOperation /// /// - /// The valid Operators for this filter are: + /// For each filter, you can use one of the following Operator values to define the behavior of the filter: /// /// * contains /// @@ -388,9 +562,9 @@ public struct ListLinuxSubscriptionInstancesInput { /// /// * Notequal public var filters: [LicenseManagerLinuxSubscriptionsClientTypes.Filter]? - /// Maximum number of results to return in a single call. + /// The maximum items to return in a request. public var maxResults: Swift.Int? - /// Token for the next set of results. + /// A token to specify where to start paginating. This is the nextToken from a previously truncated response. public var nextToken: Swift.String? public init( @@ -408,7 +582,7 @@ public struct ListLinuxSubscriptionInstancesInput { public struct ListLinuxSubscriptionInstancesOutput { /// An array that contains instance objects. public var instances: [LicenseManagerLinuxSubscriptionsClientTypes.Instance]? - /// Token for the next set of results. + /// The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects. public var nextToken: Swift.String? public init( @@ -436,9 +610,9 @@ public struct ListLinuxSubscriptionsInput { /// /// * Notequal public var filters: [LicenseManagerLinuxSubscriptionsClientTypes.Filter]? - /// Maximum number of results to return in a single call. + /// The maximum items to return in a request. public var maxResults: Swift.Int? - /// Token for the next set of results. + /// A token to specify where to start paginating. This is the nextToken from a previously truncated response. public var nextToken: Swift.String? public init( @@ -478,7 +652,7 @@ extension LicenseManagerLinuxSubscriptionsClientTypes { } public struct ListLinuxSubscriptionsOutput { - /// Token for the next set of results. + /// The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects. public var nextToken: Swift.String? /// An array that contains subscription objects. public var subscriptions: [LicenseManagerLinuxSubscriptionsClientTypes.Subscription]? @@ -493,6 +667,211 @@ public struct ListLinuxSubscriptionsOutput { } } +public struct ListRegisteredSubscriptionProvidersInput { + /// The maximum items to return in a request. + public var maxResults: Swift.Int? + /// A token to specify where to start paginating. This is the nextToken from a previously truncated response. + public var nextToken: Swift.String? + /// To filter your results, specify which subscription providers to return in the list. + public var subscriptionProviderSources: [LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource]? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + subscriptionProviderSources: [LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource]? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + self.subscriptionProviderSources = subscriptionProviderSources + } +} + +extension LicenseManagerLinuxSubscriptionsClientTypes { + /// A third-party provider for operating system (OS) platform software and license subscriptions, such as Red Hat. When you register a third-party Linux subscription provider, License Manager can get subscription data from the registered provider. + public struct RegisteredSubscriptionProvider { + /// The timestamp from the last time that License Manager accessed third-party subscription data for your account from your registered Linux subscription provider. + public var lastSuccessfulDataRetrievalTime: Swift.String? + /// The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider access token. For RHEL account subscriptions, this is the offline token. + public var secretArn: Swift.String? + /// The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered. + public var subscriptionProviderArn: Swift.String? + /// A supported third-party Linux subscription provider. License Manager currently supports Red Hat subscriptions. + public var subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? + /// Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token. + public var subscriptionProviderStatus: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderStatus? + /// A detailed message that's associated with your BYOL subscription provider token status. + public var subscriptionProviderStatusMessage: Swift.String? + + public init( + lastSuccessfulDataRetrievalTime: Swift.String? = nil, + secretArn: Swift.String? = nil, + subscriptionProviderArn: Swift.String? = nil, + subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? = nil, + subscriptionProviderStatus: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderStatus? = nil, + subscriptionProviderStatusMessage: Swift.String? = nil + ) + { + self.lastSuccessfulDataRetrievalTime = lastSuccessfulDataRetrievalTime + self.secretArn = secretArn + self.subscriptionProviderArn = subscriptionProviderArn + self.subscriptionProviderSource = subscriptionProviderSource + self.subscriptionProviderStatus = subscriptionProviderStatus + self.subscriptionProviderStatusMessage = subscriptionProviderStatusMessage + } + } + +} + +public struct ListRegisteredSubscriptionProvidersOutput { + /// The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects. + public var nextToken: Swift.String? + /// The list of BYOL registration resources that fit the criteria you specified in the request. + public var registeredSubscriptionProviders: [LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider]? + + public init( + nextToken: Swift.String? = nil, + registeredSubscriptionProviders: [LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider]? = nil + ) + { + self.nextToken = nextToken + self.registeredSubscriptionProviders = registeredSubscriptionProviders + } +} + +public struct ListTagsForResourceInput { + /// The Amazon Resource Name (ARN) of the resource for which to list metadata tags. + /// This member is required. + public var resourceArn: Swift.String? + + public init( + resourceArn: Swift.String? = nil + ) + { + self.resourceArn = resourceArn + } +} + +public struct ListTagsForResourceOutput { + /// The metadata tags for the requested resource. + public var tags: [Swift.String: Swift.String]? + + public init( + tags: [Swift.String: Swift.String]? = nil + ) + { + self.tags = tags + } +} + +extension ListTagsForResourceOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListTagsForResourceOutput(tags: \"CONTENT_REDACTED\")"} +} + +public struct RegisterSubscriptionProviderInput { + /// The Amazon Resource Name (ARN) of the secret where you've stored your subscription provider's access token. For RHEL subscriptions managed through the Red Hat Subscription Manager (RHSM), the secret contains your Red Hat Offline token. + /// This member is required. + public var secretArn: Swift.String? + /// The supported Linux subscription provider to register. + /// This member is required. + public var subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? + /// The metadata tags to assign to your registered Linux subscription provider resource. + public var tags: [Swift.String: Swift.String]? + + public init( + secretArn: Swift.String? = nil, + subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.secretArn = secretArn + self.subscriptionProviderSource = subscriptionProviderSource + self.tags = tags + } +} + +extension RegisterSubscriptionProviderInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "RegisterSubscriptionProviderInput(secretArn: \(Swift.String(describing: secretArn)), subscriptionProviderSource: \(Swift.String(describing: subscriptionProviderSource)), tags: \"CONTENT_REDACTED\")"} +} + +public struct RegisterSubscriptionProviderOutput { + /// The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered. + public var subscriptionProviderArn: Swift.String? + /// The Linux subscription provider that you registered. + public var subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? + /// Indicates the status of the registration action for the Linux subscription provider that you requested. + public var subscriptionProviderStatus: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderStatus? + + public init( + subscriptionProviderArn: Swift.String? = nil, + subscriptionProviderSource: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderSource? = nil, + subscriptionProviderStatus: LicenseManagerLinuxSubscriptionsClientTypes.SubscriptionProviderStatus? = nil + ) + { + self.subscriptionProviderArn = subscriptionProviderArn + self.subscriptionProviderSource = subscriptionProviderSource + self.subscriptionProviderStatus = subscriptionProviderStatus + } +} + +public struct TagResourceInput { + /// The Amazon Resource Name (ARN) of the Amazon Web Services resource to which to add the specified metadata tags. + /// This member is required. + public var resourceArn: Swift.String? + /// The metadata tags to assign to the Amazon Web Services resource. Tags are formatted as key value pairs. + /// This member is required. + public var tags: [Swift.String: Swift.String]? + + public init( + resourceArn: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.resourceArn = resourceArn + self.tags = tags + } +} + +extension TagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tags: \"CONTENT_REDACTED\")"} +} + +public struct TagResourceOutput { + + public init() { } +} + +public struct UntagResourceInput { + /// The Amazon Resource Name (ARN) of the Amazon Web Services resource to remove the metadata tags from. + /// This member is required. + public var resourceArn: Swift.String? + /// A list of metadata tag keys to remove from the requested resource. + /// This member is required. + public var tagKeys: [Swift.String]? + + public init( + resourceArn: Swift.String? = nil, + tagKeys: [Swift.String]? = nil + ) + { + self.resourceArn = resourceArn + self.tagKeys = tagKeys + } +} + +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tagKeys: \"CONTENT_REDACTED\")"} +} + +public struct UntagResourceOutput { + + public init() { } +} + public struct UpdateServiceSettingsInput { /// Describes if updates are allowed to the service settings for Linux subscriptions. If you allow updates, you can aggregate Linux subscription data in more than one home Region. public var allowUpdate: Swift.Bool? @@ -543,6 +922,20 @@ public struct UpdateServiceSettingsOutput { } } +extension DeregisterSubscriptionProviderInput { + + static func urlPathProvider(_ value: DeregisterSubscriptionProviderInput) -> Swift.String? { + return "/subscription/DeregisterSubscriptionProvider" + } +} + +extension GetRegisteredSubscriptionProviderInput { + + static func urlPathProvider(_ value: GetRegisteredSubscriptionProviderInput) -> Swift.String? { + return "/subscription/GetRegisteredSubscriptionProvider" + } +} + extension GetServiceSettingsInput { static func urlPathProvider(_ value: GetServiceSettingsInput) -> Swift.String? { @@ -564,6 +957,66 @@ extension ListLinuxSubscriptionsInput { } } +extension ListRegisteredSubscriptionProvidersInput { + + static func urlPathProvider(_ value: ListRegisteredSubscriptionProvidersInput) -> Swift.String? { + return "/subscription/ListRegisteredSubscriptionProviders" + } +} + +extension ListTagsForResourceInput { + + static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { + guard let resourceArn = value.resourceArn else { + return nil + } + return "/tags/\(resourceArn.urlPercentEncoding())" + } +} + +extension RegisterSubscriptionProviderInput { + + static func urlPathProvider(_ value: RegisterSubscriptionProviderInput) -> Swift.String? { + return "/subscription/RegisterSubscriptionProvider" + } +} + +extension TagResourceInput { + + static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { + guard let resourceArn = value.resourceArn else { + return nil + } + return "/tags/\(resourceArn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { + guard let resourceArn = value.resourceArn else { + return nil + } + return "/tags/\(resourceArn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func queryItemProvider(_ value: UntagResourceInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let tagKeys = value.tagKeys else { + let message = "Creating a URL Query Item failed. tagKeys is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + tagKeys.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "tagKeys".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + return items + } +} + extension UpdateServiceSettingsInput { static func urlPathProvider(_ value: UpdateServiceSettingsInput) -> Swift.String? { @@ -571,6 +1024,22 @@ extension UpdateServiceSettingsInput { } } +extension DeregisterSubscriptionProviderInput { + + static func write(value: DeregisterSubscriptionProviderInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SubscriptionProviderArn"].write(value.subscriptionProviderArn) + } +} + +extension GetRegisteredSubscriptionProviderInput { + + static func write(value: GetRegisteredSubscriptionProviderInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SubscriptionProviderArn"].write(value.subscriptionProviderArn) + } +} + extension ListLinuxSubscriptionInstancesInput { static func write(value: ListLinuxSubscriptionInstancesInput?, to writer: SmithyJSON.Writer) throws { @@ -591,6 +1060,34 @@ extension ListLinuxSubscriptionsInput { } } +extension ListRegisteredSubscriptionProvidersInput { + + static func write(value: ListRegisteredSubscriptionProvidersInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["MaxResults"].write(value.maxResults) + try writer["NextToken"].write(value.nextToken) + try writer["SubscriptionProviderSources"].writeList(value.subscriptionProviderSources, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension RegisterSubscriptionProviderInput { + + static func write(value: RegisterSubscriptionProviderInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SecretArn"].write(value.secretArn) + try writer["SubscriptionProviderSource"].write(value.subscriptionProviderSource) + try writer["Tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension TagResourceInput { + + static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + extension UpdateServiceSettingsInput { static func write(value: UpdateServiceSettingsInput?, to writer: SmithyJSON.Writer) throws { @@ -601,9 +1098,33 @@ extension UpdateServiceSettingsInput { } } +extension DeregisterSubscriptionProviderOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterSubscriptionProviderOutput { + return DeregisterSubscriptionProviderOutput() + } +} + +extension GetRegisteredSubscriptionProviderOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegisteredSubscriptionProviderOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetRegisteredSubscriptionProviderOutput() + value.lastSuccessfulDataRetrievalTime = try reader["LastSuccessfulDataRetrievalTime"].readIfPresent() + value.secretArn = try reader["SecretArn"].readIfPresent() + value.subscriptionProviderArn = try reader["SubscriptionProviderArn"].readIfPresent() + value.subscriptionProviderSource = try reader["SubscriptionProviderSource"].readIfPresent() + value.subscriptionProviderStatus = try reader["SubscriptionProviderStatus"].readIfPresent() + value.subscriptionProviderStatusMessage = try reader["SubscriptionProviderStatusMessage"].readIfPresent() + return value + } +} + extension GetServiceSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -619,7 +1140,7 @@ extension GetServiceSettingsOutput { extension ListLinuxSubscriptionInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLinuxSubscriptionInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLinuxSubscriptionInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -632,7 +1153,7 @@ extension ListLinuxSubscriptionInstancesOutput { extension ListLinuxSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLinuxSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLinuxSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -643,9 +1164,62 @@ extension ListLinuxSubscriptionsOutput { } } +extension ListRegisteredSubscriptionProvidersOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegisteredSubscriptionProvidersOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListRegisteredSubscriptionProvidersOutput() + value.nextToken = try reader["NextToken"].readIfPresent() + value.registeredSubscriptionProviders = try reader["RegisteredSubscriptionProviders"].readListIfPresent(memberReadingClosure: LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension ListTagsForResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListTagsForResourceOutput() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension RegisterSubscriptionProviderOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterSubscriptionProviderOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = RegisterSubscriptionProviderOutput() + value.subscriptionProviderArn = try reader["SubscriptionProviderArn"].readIfPresent() + value.subscriptionProviderSource = try reader["SubscriptionProviderSource"].readIfPresent() + value.subscriptionProviderStatus = try reader["SubscriptionProviderStatus"].readIfPresent() + return value + } +} + +extension TagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { + return TagResourceOutput() + } +} + +extension UntagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { + return UntagResourceOutput() + } +} + extension UpdateServiceSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -659,9 +1233,43 @@ extension UpdateServiceSettingsOutput { } } +enum DeregisterSubscriptionProviderOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetRegisteredSubscriptionProviderOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetServiceSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -677,7 +1285,7 @@ enum GetServiceSettingsOutputError { enum ListLinuxSubscriptionInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -693,7 +1301,55 @@ enum ListLinuxSubscriptionInstancesOutputError { enum ListLinuxSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListRegisteredSubscriptionProvidersOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListTagsForResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum RegisterSubscriptionProviderOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -707,9 +1363,40 @@ enum ListLinuxSubscriptionsOutputError { } } +enum TagResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UntagResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateServiceSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -749,6 +1436,19 @@ extension ValidationException { } } +extension ResourceNotFoundException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { + let reader = baseError.errorBodyReader + var value = ResourceNotFoundException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension ThrottlingException { static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { @@ -794,6 +1494,11 @@ extension LicenseManagerLinuxSubscriptionsClientTypes.Instance { value.productCode = try reader["ProductCode"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) value.lastUpdatedTime = try reader["LastUpdatedTime"].readIfPresent() value.subscriptionName = try reader["SubscriptionName"].readIfPresent() + value.osVersion = try reader["OsVersion"].readIfPresent() + value.subscriptionProviderCreateTime = try reader["SubscriptionProviderCreateTime"].readIfPresent() + value.subscriptionProviderUpdateTime = try reader["SubscriptionProviderUpdateTime"].readIfPresent() + value.dualSubscription = try reader["DualSubscription"].readIfPresent() + value.registeredWithSubscriptionProvider = try reader["RegisteredWithSubscriptionProvider"].readIfPresent() return value } } @@ -810,6 +1515,21 @@ extension LicenseManagerLinuxSubscriptionsClientTypes.Subscription { } } +extension LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider { + + static func read(from reader: SmithyJSON.Reader) throws -> LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider() + value.subscriptionProviderArn = try reader["SubscriptionProviderArn"].readIfPresent() + value.subscriptionProviderSource = try reader["SubscriptionProviderSource"].readIfPresent() + value.secretArn = try reader["SecretArn"].readIfPresent() + value.subscriptionProviderStatus = try reader["SubscriptionProviderStatus"].readIfPresent() + value.subscriptionProviderStatusMessage = try reader["SubscriptionProviderStatusMessage"].readIfPresent() + value.lastSuccessfulDataRetrievalTime = try reader["LastSuccessfulDataRetrievalTime"].readIfPresent() + return value + } +} + extension LicenseManagerLinuxSubscriptionsClientTypes.Filter { static func write(value: LicenseManagerLinuxSubscriptionsClientTypes.Filter?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Paginators.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Paginators.swift index b527ef2ef58..2c9695eaff7 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Paginators.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/Paginators.swift @@ -72,3 +72,34 @@ extension PaginatorSequence where OperationStackInput == ListLinuxSubscriptionsI return try await self.asyncCompactMap { item in item.subscriptions } } } +extension LicenseManagerLinuxSubscriptionsClient { + /// Paginate over `[ListRegisteredSubscriptionProvidersOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListRegisteredSubscriptionProvidersInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListRegisteredSubscriptionProvidersOutput` + public func listRegisteredSubscriptionProvidersPaginated(input: ListRegisteredSubscriptionProvidersInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listRegisteredSubscriptionProviders(input:)) + } +} + +extension ListRegisteredSubscriptionProvidersInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListRegisteredSubscriptionProvidersInput { + return ListRegisteredSubscriptionProvidersInput( + maxResults: self.maxResults, + nextToken: token, + subscriptionProviderSources: self.subscriptionProviderSources + )} +} + +extension PaginatorSequence where OperationStackInput == ListRegisteredSubscriptionProvidersInput, OperationStackOutput == ListRegisteredSubscriptionProvidersOutput { + /// This paginator transforms the `AsyncSequence` returned by `listRegisteredSubscriptionProvidersPaginated` + /// to access the nested member `[LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider]` + /// - Returns: `[LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider]` + public func registeredSubscriptionProviders() async throws -> [LicenseManagerLinuxSubscriptionsClientTypes.RegisteredSubscriptionProvider] { + return try await self.asyncCompactMap { item in item.registeredSubscriptionProviders } + } +} diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/Models.swift b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/Models.swift index 7866001cd90..2a76c7f58d7 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/Models.swift +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -72,7 +72,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -120,7 +120,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -168,7 +168,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1077,7 +1077,7 @@ extension UpdateIdentityProviderSettingsInput { extension AssociateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1089,7 +1089,7 @@ extension AssociateUserOutput { extension DeregisterIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1101,7 +1101,7 @@ extension DeregisterIdentityProviderOutput { extension DisassociateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1113,7 +1113,7 @@ extension DisassociateUserOutput { extension ListIdentityProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1126,7 +1126,7 @@ extension ListIdentityProvidersOutput { extension ListInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1139,7 +1139,7 @@ extension ListInstancesOutput { extension ListProductSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProductSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProductSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1152,7 +1152,7 @@ extension ListProductSubscriptionsOutput { extension ListUserAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1165,7 +1165,7 @@ extension ListUserAssociationsOutput { extension RegisterIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1177,7 +1177,7 @@ extension RegisterIdentityProviderOutput { extension StartProductSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartProductSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartProductSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1189,7 +1189,7 @@ extension StartProductSubscriptionOutput { extension StopProductSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopProductSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopProductSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1201,7 +1201,7 @@ extension StopProductSubscriptionOutput { extension UpdateIdentityProviderSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentityProviderSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityProviderSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1213,7 +1213,7 @@ extension UpdateIdentityProviderSettingsOutput { enum AssociateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1233,7 +1233,7 @@ enum AssociateUserOutputError { enum DeregisterIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1253,7 +1253,7 @@ enum DeregisterIdentityProviderOutputError { enum DisassociateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1273,7 +1273,7 @@ enum DisassociateUserOutputError { enum ListIdentityProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1293,7 +1293,7 @@ enum ListIdentityProvidersOutputError { enum ListInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1313,7 +1313,7 @@ enum ListInstancesOutputError { enum ListProductSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1333,7 +1333,7 @@ enum ListProductSubscriptionsOutputError { enum ListUserAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1353,7 +1353,7 @@ enum ListUserAssociationsOutputError { enum RegisterIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1373,7 +1373,7 @@ enum RegisterIdentityProviderOutputError { enum StartProductSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1393,7 +1393,7 @@ enum StartProductSubscriptionOutputError { enum StopProductSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1413,7 +1413,7 @@ enum StopProductSubscriptionOutputError { enum UpdateIdentityProviderSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLightsail/Sources/AWSLightsail/Models.swift b/Sources/Services/AWSLightsail/Sources/AWSLightsail/Models.swift index 254899148f5..de9da540542 100644 --- a/Sources/Services/AWSLightsail/Sources/AWSLightsail/Models.swift +++ b/Sources/Services/AWSLightsail/Sources/AWSLightsail/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -42,7 +42,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -384,7 +384,7 @@ public struct AccountSetupInProgressException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1239,7 +1239,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1272,7 +1272,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1305,7 +1305,7 @@ public struct OperationFailureException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1338,7 +1338,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1371,7 +1371,7 @@ public struct UnauthenticatedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16640,7 +16640,7 @@ extension UpdateRelationalDatabaseParametersInput { extension AllocateStaticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AllocateStaticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AllocateStaticIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16652,7 +16652,7 @@ extension AllocateStaticIpOutput { extension AttachCertificateToDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachCertificateToDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachCertificateToDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16664,7 +16664,7 @@ extension AttachCertificateToDistributionOutput { extension AttachDiskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachDiskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachDiskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16676,7 +16676,7 @@ extension AttachDiskOutput { extension AttachInstancesToLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachInstancesToLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachInstancesToLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16688,7 +16688,7 @@ extension AttachInstancesToLoadBalancerOutput { extension AttachLoadBalancerTlsCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachLoadBalancerTlsCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachLoadBalancerTlsCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16700,7 +16700,7 @@ extension AttachLoadBalancerTlsCertificateOutput { extension AttachStaticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachStaticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachStaticIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16712,7 +16712,7 @@ extension AttachStaticIpOutput { extension CloseInstancePublicPortsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CloseInstancePublicPortsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CloseInstancePublicPortsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16724,7 +16724,7 @@ extension CloseInstancePublicPortsOutput { extension CopySnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopySnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopySnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16736,7 +16736,7 @@ extension CopySnapshotOutput { extension CreateBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBucketOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16749,7 +16749,7 @@ extension CreateBucketOutput { extension CreateBucketAccessKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBucketAccessKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBucketAccessKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16762,7 +16762,7 @@ extension CreateBucketAccessKeyOutput { extension CreateCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16775,7 +16775,7 @@ extension CreateCertificateOutput { extension CreateCloudFormationStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCloudFormationStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudFormationStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16787,7 +16787,7 @@ extension CreateCloudFormationStackOutput { extension CreateContactMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16799,7 +16799,7 @@ extension CreateContactMethodOutput { extension CreateContainerServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContainerServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContainerServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16811,7 +16811,7 @@ extension CreateContainerServiceOutput { extension CreateContainerServiceDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContainerServiceDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContainerServiceDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16823,7 +16823,7 @@ extension CreateContainerServiceDeploymentOutput { extension CreateContainerServiceRegistryLoginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContainerServiceRegistryLoginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContainerServiceRegistryLoginOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16835,7 +16835,7 @@ extension CreateContainerServiceRegistryLoginOutput { extension CreateDiskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDiskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDiskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16847,7 +16847,7 @@ extension CreateDiskOutput { extension CreateDiskFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDiskFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDiskFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16859,7 +16859,7 @@ extension CreateDiskFromSnapshotOutput { extension CreateDiskSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDiskSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDiskSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16871,7 +16871,7 @@ extension CreateDiskSnapshotOutput { extension CreateDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16884,7 +16884,7 @@ extension CreateDistributionOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16896,7 +16896,7 @@ extension CreateDomainOutput { extension CreateDomainEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16908,7 +16908,7 @@ extension CreateDomainEntryOutput { extension CreateGUISessionAccessDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGUISessionAccessDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGUISessionAccessDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16924,7 +16924,7 @@ extension CreateGUISessionAccessDetailsOutput { extension CreateInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16936,7 +16936,7 @@ extension CreateInstancesOutput { extension CreateInstancesFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstancesFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstancesFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16948,7 +16948,7 @@ extension CreateInstancesFromSnapshotOutput { extension CreateInstanceSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16960,7 +16960,7 @@ extension CreateInstanceSnapshotOutput { extension CreateKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16975,7 +16975,7 @@ extension CreateKeyPairOutput { extension CreateLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16987,7 +16987,7 @@ extension CreateLoadBalancerOutput { extension CreateLoadBalancerTlsCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLoadBalancerTlsCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLoadBalancerTlsCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16999,7 +16999,7 @@ extension CreateLoadBalancerTlsCertificateOutput { extension CreateRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17011,7 +17011,7 @@ extension CreateRelationalDatabaseOutput { extension CreateRelationalDatabaseFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRelationalDatabaseFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRelationalDatabaseFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17023,7 +17023,7 @@ extension CreateRelationalDatabaseFromSnapshotOutput { extension CreateRelationalDatabaseSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRelationalDatabaseSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRelationalDatabaseSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17035,7 +17035,7 @@ extension CreateRelationalDatabaseSnapshotOutput { extension DeleteAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17047,7 +17047,7 @@ extension DeleteAlarmOutput { extension DeleteAutoSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAutoSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAutoSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17059,7 +17059,7 @@ extension DeleteAutoSnapshotOutput { extension DeleteBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17071,7 +17071,7 @@ extension DeleteBucketOutput { extension DeleteBucketAccessKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketAccessKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketAccessKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17083,7 +17083,7 @@ extension DeleteBucketAccessKeyOutput { extension DeleteCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17095,7 +17095,7 @@ extension DeleteCertificateOutput { extension DeleteContactMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17107,21 +17107,21 @@ extension DeleteContactMethodOutput { extension DeleteContainerImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContainerImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContainerImageOutput { return DeleteContainerImageOutput() } } extension DeleteContainerServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContainerServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContainerServiceOutput { return DeleteContainerServiceOutput() } } extension DeleteDiskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDiskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDiskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17133,7 +17133,7 @@ extension DeleteDiskOutput { extension DeleteDiskSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDiskSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDiskSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17145,7 +17145,7 @@ extension DeleteDiskSnapshotOutput { extension DeleteDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17157,7 +17157,7 @@ extension DeleteDistributionOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17169,7 +17169,7 @@ extension DeleteDomainOutput { extension DeleteDomainEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17181,7 +17181,7 @@ extension DeleteDomainEntryOutput { extension DeleteInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17193,7 +17193,7 @@ extension DeleteInstanceOutput { extension DeleteInstanceSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17205,7 +17205,7 @@ extension DeleteInstanceSnapshotOutput { extension DeleteKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17217,7 +17217,7 @@ extension DeleteKeyPairOutput { extension DeleteKnownHostKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKnownHostKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKnownHostKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17229,7 +17229,7 @@ extension DeleteKnownHostKeysOutput { extension DeleteLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17241,7 +17241,7 @@ extension DeleteLoadBalancerOutput { extension DeleteLoadBalancerTlsCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoadBalancerTlsCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoadBalancerTlsCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17253,7 +17253,7 @@ extension DeleteLoadBalancerTlsCertificateOutput { extension DeleteRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17265,7 +17265,7 @@ extension DeleteRelationalDatabaseOutput { extension DeleteRelationalDatabaseSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRelationalDatabaseSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRelationalDatabaseSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17277,7 +17277,7 @@ extension DeleteRelationalDatabaseSnapshotOutput { extension DetachCertificateFromDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachCertificateFromDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachCertificateFromDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17289,7 +17289,7 @@ extension DetachCertificateFromDistributionOutput { extension DetachDiskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachDiskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachDiskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17301,7 +17301,7 @@ extension DetachDiskOutput { extension DetachInstancesFromLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachInstancesFromLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachInstancesFromLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17313,7 +17313,7 @@ extension DetachInstancesFromLoadBalancerOutput { extension DetachStaticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachStaticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachStaticIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17325,7 +17325,7 @@ extension DetachStaticIpOutput { extension DisableAddOnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAddOnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAddOnOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17337,7 +17337,7 @@ extension DisableAddOnOutput { extension DownloadDefaultKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DownloadDefaultKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DownloadDefaultKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17351,7 +17351,7 @@ extension DownloadDefaultKeyPairOutput { extension EnableAddOnOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAddOnOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAddOnOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17363,7 +17363,7 @@ extension EnableAddOnOutput { extension ExportSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17375,7 +17375,7 @@ extension ExportSnapshotOutput { extension GetActiveNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetActiveNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetActiveNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17388,7 +17388,7 @@ extension GetActiveNamesOutput { extension GetAlarmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAlarmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAlarmsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17401,7 +17401,7 @@ extension GetAlarmsOutput { extension GetAutoSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAutoSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutoSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17415,7 +17415,7 @@ extension GetAutoSnapshotsOutput { extension GetBlueprintsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlueprintsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlueprintsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17428,7 +17428,7 @@ extension GetBlueprintsOutput { extension GetBucketAccessKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketAccessKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketAccessKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17440,7 +17440,7 @@ extension GetBucketAccessKeysOutput { extension GetBucketBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17452,7 +17452,7 @@ extension GetBucketBundlesOutput { extension GetBucketMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17465,7 +17465,7 @@ extension GetBucketMetricDataOutput { extension GetBucketsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17479,7 +17479,7 @@ extension GetBucketsOutput { extension GetBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17492,7 +17492,7 @@ extension GetBundlesOutput { extension GetCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17505,7 +17505,7 @@ extension GetCertificatesOutput { extension GetCloudFormationStackRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCloudFormationStackRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCloudFormationStackRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17518,7 +17518,7 @@ extension GetCloudFormationStackRecordsOutput { extension GetContactMethodsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactMethodsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactMethodsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17530,7 +17530,7 @@ extension GetContactMethodsOutput { extension GetContainerAPIMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerAPIMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerAPIMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17542,7 +17542,7 @@ extension GetContainerAPIMetadataOutput { extension GetContainerImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17554,7 +17554,7 @@ extension GetContainerImagesOutput { extension GetContainerLogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerLogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerLogOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17567,7 +17567,7 @@ extension GetContainerLogOutput { extension GetContainerServiceDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerServiceDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerServiceDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17579,7 +17579,7 @@ extension GetContainerServiceDeploymentsOutput { extension GetContainerServiceMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerServiceMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerServiceMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17592,7 +17592,7 @@ extension GetContainerServiceMetricDataOutput { extension GetContainerServicePowersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerServicePowersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerServicePowersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17604,7 +17604,7 @@ extension GetContainerServicePowersOutput { extension GetContainerServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17616,7 +17616,7 @@ extension GetContainerServicesOutput { extension GetCostEstimateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCostEstimateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCostEstimateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17628,7 +17628,7 @@ extension GetCostEstimateOutput { extension GetDiskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDiskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDiskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17640,7 +17640,7 @@ extension GetDiskOutput { extension GetDisksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDisksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDisksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17653,7 +17653,7 @@ extension GetDisksOutput { extension GetDiskSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDiskSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDiskSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17665,7 +17665,7 @@ extension GetDiskSnapshotOutput { extension GetDiskSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDiskSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDiskSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17678,7 +17678,7 @@ extension GetDiskSnapshotsOutput { extension GetDistributionBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17690,7 +17690,7 @@ extension GetDistributionBundlesOutput { extension GetDistributionLatestCacheResetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionLatestCacheResetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionLatestCacheResetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17703,7 +17703,7 @@ extension GetDistributionLatestCacheResetOutput { extension GetDistributionMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17716,7 +17716,7 @@ extension GetDistributionMetricDataOutput { extension GetDistributionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDistributionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDistributionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17729,7 +17729,7 @@ extension GetDistributionsOutput { extension GetDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17741,7 +17741,7 @@ extension GetDomainOutput { extension GetDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17754,7 +17754,7 @@ extension GetDomainsOutput { extension GetExportSnapshotRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportSnapshotRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportSnapshotRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17767,7 +17767,7 @@ extension GetExportSnapshotRecordsOutput { extension GetInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17779,7 +17779,7 @@ extension GetInstanceOutput { extension GetInstanceAccessDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceAccessDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceAccessDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17791,7 +17791,7 @@ extension GetInstanceAccessDetailsOutput { extension GetInstanceMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17804,7 +17804,7 @@ extension GetInstanceMetricDataOutput { extension GetInstancePortStatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstancePortStatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstancePortStatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17816,7 +17816,7 @@ extension GetInstancePortStatesOutput { extension GetInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17829,7 +17829,7 @@ extension GetInstancesOutput { extension GetInstanceSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17841,7 +17841,7 @@ extension GetInstanceSnapshotOutput { extension GetInstanceSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17854,7 +17854,7 @@ extension GetInstanceSnapshotsOutput { extension GetInstanceStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17866,7 +17866,7 @@ extension GetInstanceStateOutput { extension GetKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17878,7 +17878,7 @@ extension GetKeyPairOutput { extension GetKeyPairsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyPairsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyPairsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17891,7 +17891,7 @@ extension GetKeyPairsOutput { extension GetLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoadBalancerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17903,7 +17903,7 @@ extension GetLoadBalancerOutput { extension GetLoadBalancerMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoadBalancerMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoadBalancerMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17916,7 +17916,7 @@ extension GetLoadBalancerMetricDataOutput { extension GetLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoadBalancersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17929,7 +17929,7 @@ extension GetLoadBalancersOutput { extension GetLoadBalancerTlsCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoadBalancerTlsCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoadBalancerTlsCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17941,7 +17941,7 @@ extension GetLoadBalancerTlsCertificatesOutput { extension GetLoadBalancerTlsPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoadBalancerTlsPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoadBalancerTlsPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17954,7 +17954,7 @@ extension GetLoadBalancerTlsPoliciesOutput { extension GetOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17966,7 +17966,7 @@ extension GetOperationOutput { extension GetOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17979,7 +17979,7 @@ extension GetOperationsOutput { extension GetOperationsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOperationsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOperationsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -17993,7 +17993,7 @@ extension GetOperationsForResourceOutput { extension GetRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18005,7 +18005,7 @@ extension GetRegionsOutput { extension GetRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18017,7 +18017,7 @@ extension GetRelationalDatabaseOutput { extension GetRelationalDatabaseBlueprintsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseBlueprintsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseBlueprintsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18030,7 +18030,7 @@ extension GetRelationalDatabaseBlueprintsOutput { extension GetRelationalDatabaseBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18043,7 +18043,7 @@ extension GetRelationalDatabaseBundlesOutput { extension GetRelationalDatabaseEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18056,7 +18056,7 @@ extension GetRelationalDatabaseEventsOutput { extension GetRelationalDatabaseLogEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseLogEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseLogEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18070,7 +18070,7 @@ extension GetRelationalDatabaseLogEventsOutput { extension GetRelationalDatabaseLogStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseLogStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseLogStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18082,7 +18082,7 @@ extension GetRelationalDatabaseLogStreamsOutput { extension GetRelationalDatabaseMasterUserPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseMasterUserPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseMasterUserPasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18095,7 +18095,7 @@ extension GetRelationalDatabaseMasterUserPasswordOutput { extension GetRelationalDatabaseMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18108,7 +18108,7 @@ extension GetRelationalDatabaseMetricDataOutput { extension GetRelationalDatabaseParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18121,7 +18121,7 @@ extension GetRelationalDatabaseParametersOutput { extension GetRelationalDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18134,7 +18134,7 @@ extension GetRelationalDatabasesOutput { extension GetRelationalDatabaseSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18146,7 +18146,7 @@ extension GetRelationalDatabaseSnapshotOutput { extension GetRelationalDatabaseSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelationalDatabaseSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelationalDatabaseSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18159,7 +18159,7 @@ extension GetRelationalDatabaseSnapshotsOutput { extension GetSetupHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSetupHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSetupHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18172,7 +18172,7 @@ extension GetSetupHistoryOutput { extension GetStaticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStaticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStaticIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18184,7 +18184,7 @@ extension GetStaticIpOutput { extension GetStaticIpsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStaticIpsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStaticIpsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18197,7 +18197,7 @@ extension GetStaticIpsOutput { extension ImportKeyPairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportKeyPairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportKeyPairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18209,7 +18209,7 @@ extension ImportKeyPairOutput { extension IsVpcPeeredOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IsVpcPeeredOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IsVpcPeeredOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18221,7 +18221,7 @@ extension IsVpcPeeredOutput { extension OpenInstancePublicPortsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> OpenInstancePublicPortsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> OpenInstancePublicPortsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18233,7 +18233,7 @@ extension OpenInstancePublicPortsOutput { extension PeerVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PeerVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PeerVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18245,7 +18245,7 @@ extension PeerVpcOutput { extension PutAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18257,7 +18257,7 @@ extension PutAlarmOutput { extension PutInstancePublicPortsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutInstancePublicPortsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutInstancePublicPortsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18269,7 +18269,7 @@ extension PutInstancePublicPortsOutput { extension RebootInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18281,7 +18281,7 @@ extension RebootInstanceOutput { extension RebootRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18293,7 +18293,7 @@ extension RebootRelationalDatabaseOutput { extension RegisterContainerImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterContainerImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterContainerImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18305,7 +18305,7 @@ extension RegisterContainerImageOutput { extension ReleaseStaticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleaseStaticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleaseStaticIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18317,7 +18317,7 @@ extension ReleaseStaticIpOutput { extension ResetDistributionCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDistributionCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDistributionCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18331,7 +18331,7 @@ extension ResetDistributionCacheOutput { extension SendContactMethodVerificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendContactMethodVerificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendContactMethodVerificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18343,7 +18343,7 @@ extension SendContactMethodVerificationOutput { extension SetIpAddressTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIpAddressTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIpAddressTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18355,7 +18355,7 @@ extension SetIpAddressTypeOutput { extension SetResourceAccessForBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetResourceAccessForBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetResourceAccessForBucketOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18367,7 +18367,7 @@ extension SetResourceAccessForBucketOutput { extension SetupInstanceHttpsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetupInstanceHttpsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetupInstanceHttpsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18379,7 +18379,7 @@ extension SetupInstanceHttpsOutput { extension StartGUISessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartGUISessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartGUISessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18391,7 +18391,7 @@ extension StartGUISessionOutput { extension StartInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18403,7 +18403,7 @@ extension StartInstanceOutput { extension StartRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18415,7 +18415,7 @@ extension StartRelationalDatabaseOutput { extension StopGUISessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopGUISessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopGUISessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18427,7 +18427,7 @@ extension StopGUISessionOutput { extension StopInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18439,7 +18439,7 @@ extension StopInstanceOutput { extension StopRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18451,7 +18451,7 @@ extension StopRelationalDatabaseOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18463,7 +18463,7 @@ extension TagResourceOutput { extension TestAlarmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestAlarmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestAlarmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18475,7 +18475,7 @@ extension TestAlarmOutput { extension UnpeerVpcOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnpeerVpcOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnpeerVpcOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18487,7 +18487,7 @@ extension UnpeerVpcOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18499,7 +18499,7 @@ extension UntagResourceOutput { extension UpdateBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBucketOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18512,7 +18512,7 @@ extension UpdateBucketOutput { extension UpdateBucketBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBucketBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBucketBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18524,7 +18524,7 @@ extension UpdateBucketBundleOutput { extension UpdateContainerServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContainerServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContainerServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18536,7 +18536,7 @@ extension UpdateContainerServiceOutput { extension UpdateDistributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDistributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18548,7 +18548,7 @@ extension UpdateDistributionOutput { extension UpdateDistributionBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDistributionBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDistributionBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18560,7 +18560,7 @@ extension UpdateDistributionBundleOutput { extension UpdateDomainEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18572,7 +18572,7 @@ extension UpdateDomainEntryOutput { extension UpdateInstanceMetadataOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceMetadataOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceMetadataOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18584,7 +18584,7 @@ extension UpdateInstanceMetadataOptionsOutput { extension UpdateLoadBalancerAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLoadBalancerAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLoadBalancerAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18596,7 +18596,7 @@ extension UpdateLoadBalancerAttributeOutput { extension UpdateRelationalDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRelationalDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRelationalDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18608,7 +18608,7 @@ extension UpdateRelationalDatabaseOutput { extension UpdateRelationalDatabaseParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRelationalDatabaseParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRelationalDatabaseParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -18620,7 +18620,7 @@ extension UpdateRelationalDatabaseParametersOutput { enum AllocateStaticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18640,7 +18640,7 @@ enum AllocateStaticIpOutputError { enum AttachCertificateToDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18659,7 +18659,7 @@ enum AttachCertificateToDistributionOutputError { enum AttachDiskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18679,7 +18679,7 @@ enum AttachDiskOutputError { enum AttachInstancesToLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18699,7 +18699,7 @@ enum AttachInstancesToLoadBalancerOutputError { enum AttachLoadBalancerTlsCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18719,7 +18719,7 @@ enum AttachLoadBalancerTlsCertificateOutputError { enum AttachStaticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18739,7 +18739,7 @@ enum AttachStaticIpOutputError { enum CloseInstancePublicPortsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18759,7 +18759,7 @@ enum CloseInstancePublicPortsOutputError { enum CopySnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18779,7 +18779,7 @@ enum CopySnapshotOutputError { enum CreateBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18796,7 +18796,7 @@ enum CreateBucketOutputError { enum CreateBucketAccessKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18814,7 +18814,7 @@ enum CreateBucketAccessKeyOutputError { enum CreateCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18832,7 +18832,7 @@ enum CreateCertificateOutputError { enum CreateCloudFormationStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18852,7 +18852,7 @@ enum CreateCloudFormationStackOutputError { enum CreateContactMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18871,7 +18871,7 @@ enum CreateContactMethodOutputError { enum CreateContainerServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18889,7 +18889,7 @@ enum CreateContainerServiceOutputError { enum CreateContainerServiceDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18907,7 +18907,7 @@ enum CreateContainerServiceDeploymentOutputError { enum CreateContainerServiceRegistryLoginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18925,7 +18925,7 @@ enum CreateContainerServiceRegistryLoginOutputError { enum CreateDiskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18945,7 +18945,7 @@ enum CreateDiskOutputError { enum CreateDiskFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18965,7 +18965,7 @@ enum CreateDiskFromSnapshotOutputError { enum CreateDiskSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18985,7 +18985,7 @@ enum CreateDiskSnapshotOutputError { enum CreateDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19004,7 +19004,7 @@ enum CreateDistributionOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19024,7 +19024,7 @@ enum CreateDomainOutputError { enum CreateDomainEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19044,7 +19044,7 @@ enum CreateDomainEntryOutputError { enum CreateGUISessionAccessDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19062,7 +19062,7 @@ enum CreateGUISessionAccessDetailsOutputError { enum CreateInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19082,7 +19082,7 @@ enum CreateInstancesOutputError { enum CreateInstancesFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19102,7 +19102,7 @@ enum CreateInstancesFromSnapshotOutputError { enum CreateInstanceSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19122,7 +19122,7 @@ enum CreateInstanceSnapshotOutputError { enum CreateKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19142,7 +19142,7 @@ enum CreateKeyPairOutputError { enum CreateLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19162,7 +19162,7 @@ enum CreateLoadBalancerOutputError { enum CreateLoadBalancerTlsCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19182,7 +19182,7 @@ enum CreateLoadBalancerTlsCertificateOutputError { enum CreateRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19202,7 +19202,7 @@ enum CreateRelationalDatabaseOutputError { enum CreateRelationalDatabaseFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19222,7 +19222,7 @@ enum CreateRelationalDatabaseFromSnapshotOutputError { enum CreateRelationalDatabaseSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19242,7 +19242,7 @@ enum CreateRelationalDatabaseSnapshotOutputError { enum DeleteAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19261,7 +19261,7 @@ enum DeleteAlarmOutputError { enum DeleteAutoSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19280,7 +19280,7 @@ enum DeleteAutoSnapshotOutputError { enum DeleteBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19298,7 +19298,7 @@ enum DeleteBucketOutputError { enum DeleteBucketAccessKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19316,7 +19316,7 @@ enum DeleteBucketAccessKeyOutputError { enum DeleteCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19334,7 +19334,7 @@ enum DeleteCertificateOutputError { enum DeleteContactMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19353,7 +19353,7 @@ enum DeleteContactMethodOutputError { enum DeleteContainerImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19371,7 +19371,7 @@ enum DeleteContainerImageOutputError { enum DeleteContainerServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19389,7 +19389,7 @@ enum DeleteContainerServiceOutputError { enum DeleteDiskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19409,7 +19409,7 @@ enum DeleteDiskOutputError { enum DeleteDiskSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19429,7 +19429,7 @@ enum DeleteDiskSnapshotOutputError { enum DeleteDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19448,7 +19448,7 @@ enum DeleteDistributionOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19468,7 +19468,7 @@ enum DeleteDomainOutputError { enum DeleteDomainEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19488,7 +19488,7 @@ enum DeleteDomainEntryOutputError { enum DeleteInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19508,7 +19508,7 @@ enum DeleteInstanceOutputError { enum DeleteInstanceSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19528,7 +19528,7 @@ enum DeleteInstanceSnapshotOutputError { enum DeleteKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19548,7 +19548,7 @@ enum DeleteKeyPairOutputError { enum DeleteKnownHostKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19568,7 +19568,7 @@ enum DeleteKnownHostKeysOutputError { enum DeleteLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19588,7 +19588,7 @@ enum DeleteLoadBalancerOutputError { enum DeleteLoadBalancerTlsCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19608,7 +19608,7 @@ enum DeleteLoadBalancerTlsCertificateOutputError { enum DeleteRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19628,7 +19628,7 @@ enum DeleteRelationalDatabaseOutputError { enum DeleteRelationalDatabaseSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19648,7 +19648,7 @@ enum DeleteRelationalDatabaseSnapshotOutputError { enum DetachCertificateFromDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19667,7 +19667,7 @@ enum DetachCertificateFromDistributionOutputError { enum DetachDiskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19687,7 +19687,7 @@ enum DetachDiskOutputError { enum DetachInstancesFromLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19707,7 +19707,7 @@ enum DetachInstancesFromLoadBalancerOutputError { enum DetachStaticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19727,7 +19727,7 @@ enum DetachStaticIpOutputError { enum DisableAddOnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19746,7 +19746,7 @@ enum DisableAddOnOutputError { enum DownloadDefaultKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19766,7 +19766,7 @@ enum DownloadDefaultKeyPairOutputError { enum EnableAddOnOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19785,7 +19785,7 @@ enum EnableAddOnOutputError { enum ExportSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19805,7 +19805,7 @@ enum ExportSnapshotOutputError { enum GetActiveNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19825,7 +19825,7 @@ enum GetActiveNamesOutputError { enum GetAlarmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19844,7 +19844,7 @@ enum GetAlarmsOutputError { enum GetAutoSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19863,7 +19863,7 @@ enum GetAutoSnapshotsOutputError { enum GetBlueprintsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19883,7 +19883,7 @@ enum GetBlueprintsOutputError { enum GetBucketAccessKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19901,7 +19901,7 @@ enum GetBucketAccessKeysOutputError { enum GetBucketBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19918,7 +19918,7 @@ enum GetBucketBundlesOutputError { enum GetBucketMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19936,7 +19936,7 @@ enum GetBucketMetricDataOutputError { enum GetBucketsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19954,7 +19954,7 @@ enum GetBucketsOutputError { enum GetBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19974,7 +19974,7 @@ enum GetBundlesOutputError { enum GetCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19992,7 +19992,7 @@ enum GetCertificatesOutputError { enum GetCloudFormationStackRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20012,7 +20012,7 @@ enum GetCloudFormationStackRecordsOutputError { enum GetContactMethodsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20031,7 +20031,7 @@ enum GetContactMethodsOutputError { enum GetContainerAPIMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20047,7 +20047,7 @@ enum GetContainerAPIMetadataOutputError { enum GetContainerImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20065,7 +20065,7 @@ enum GetContainerImagesOutputError { enum GetContainerLogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20083,7 +20083,7 @@ enum GetContainerLogOutputError { enum GetContainerServiceDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20101,7 +20101,7 @@ enum GetContainerServiceDeploymentsOutputError { enum GetContainerServiceMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20119,7 +20119,7 @@ enum GetContainerServiceMetricDataOutputError { enum GetContainerServicePowersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20137,7 +20137,7 @@ enum GetContainerServicePowersOutputError { enum GetContainerServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20155,7 +20155,7 @@ enum GetContainerServicesOutputError { enum GetCostEstimateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20173,7 +20173,7 @@ enum GetCostEstimateOutputError { enum GetDiskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20193,7 +20193,7 @@ enum GetDiskOutputError { enum GetDisksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20213,7 +20213,7 @@ enum GetDisksOutputError { enum GetDiskSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20233,7 +20233,7 @@ enum GetDiskSnapshotOutputError { enum GetDiskSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20253,7 +20253,7 @@ enum GetDiskSnapshotsOutputError { enum GetDistributionBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20272,7 +20272,7 @@ enum GetDistributionBundlesOutputError { enum GetDistributionLatestCacheResetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20291,7 +20291,7 @@ enum GetDistributionLatestCacheResetOutputError { enum GetDistributionMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20310,7 +20310,7 @@ enum GetDistributionMetricDataOutputError { enum GetDistributionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20329,7 +20329,7 @@ enum GetDistributionsOutputError { enum GetDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20349,7 +20349,7 @@ enum GetDomainOutputError { enum GetDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20369,7 +20369,7 @@ enum GetDomainsOutputError { enum GetExportSnapshotRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20389,7 +20389,7 @@ enum GetExportSnapshotRecordsOutputError { enum GetInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20409,7 +20409,7 @@ enum GetInstanceOutputError { enum GetInstanceAccessDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20429,7 +20429,7 @@ enum GetInstanceAccessDetailsOutputError { enum GetInstanceMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20449,7 +20449,7 @@ enum GetInstanceMetricDataOutputError { enum GetInstancePortStatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20469,7 +20469,7 @@ enum GetInstancePortStatesOutputError { enum GetInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20489,7 +20489,7 @@ enum GetInstancesOutputError { enum GetInstanceSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20509,7 +20509,7 @@ enum GetInstanceSnapshotOutputError { enum GetInstanceSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20529,7 +20529,7 @@ enum GetInstanceSnapshotsOutputError { enum GetInstanceStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20549,7 +20549,7 @@ enum GetInstanceStateOutputError { enum GetKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20569,7 +20569,7 @@ enum GetKeyPairOutputError { enum GetKeyPairsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20589,7 +20589,7 @@ enum GetKeyPairsOutputError { enum GetLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20609,7 +20609,7 @@ enum GetLoadBalancerOutputError { enum GetLoadBalancerMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20629,7 +20629,7 @@ enum GetLoadBalancerMetricDataOutputError { enum GetLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20649,7 +20649,7 @@ enum GetLoadBalancersOutputError { enum GetLoadBalancerTlsCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20669,7 +20669,7 @@ enum GetLoadBalancerTlsCertificatesOutputError { enum GetLoadBalancerTlsPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20687,7 +20687,7 @@ enum GetLoadBalancerTlsPoliciesOutputError { enum GetOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20707,7 +20707,7 @@ enum GetOperationOutputError { enum GetOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20727,7 +20727,7 @@ enum GetOperationsOutputError { enum GetOperationsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20747,7 +20747,7 @@ enum GetOperationsForResourceOutputError { enum GetRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20767,7 +20767,7 @@ enum GetRegionsOutputError { enum GetRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20787,7 +20787,7 @@ enum GetRelationalDatabaseOutputError { enum GetRelationalDatabaseBlueprintsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20807,7 +20807,7 @@ enum GetRelationalDatabaseBlueprintsOutputError { enum GetRelationalDatabaseBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20827,7 +20827,7 @@ enum GetRelationalDatabaseBundlesOutputError { enum GetRelationalDatabaseEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20847,7 +20847,7 @@ enum GetRelationalDatabaseEventsOutputError { enum GetRelationalDatabaseLogEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20867,7 +20867,7 @@ enum GetRelationalDatabaseLogEventsOutputError { enum GetRelationalDatabaseLogStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20887,7 +20887,7 @@ enum GetRelationalDatabaseLogStreamsOutputError { enum GetRelationalDatabaseMasterUserPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20907,7 +20907,7 @@ enum GetRelationalDatabaseMasterUserPasswordOutputError { enum GetRelationalDatabaseMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20927,7 +20927,7 @@ enum GetRelationalDatabaseMetricDataOutputError { enum GetRelationalDatabaseParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20947,7 +20947,7 @@ enum GetRelationalDatabaseParametersOutputError { enum GetRelationalDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20967,7 +20967,7 @@ enum GetRelationalDatabasesOutputError { enum GetRelationalDatabaseSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20987,7 +20987,7 @@ enum GetRelationalDatabaseSnapshotOutputError { enum GetRelationalDatabaseSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21007,7 +21007,7 @@ enum GetRelationalDatabaseSnapshotsOutputError { enum GetSetupHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21025,7 +21025,7 @@ enum GetSetupHistoryOutputError { enum GetStaticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21045,7 +21045,7 @@ enum GetStaticIpOutputError { enum GetStaticIpsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21065,7 +21065,7 @@ enum GetStaticIpsOutputError { enum ImportKeyPairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21085,7 +21085,7 @@ enum ImportKeyPairOutputError { enum IsVpcPeeredOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21105,7 +21105,7 @@ enum IsVpcPeeredOutputError { enum OpenInstancePublicPortsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21125,7 +21125,7 @@ enum OpenInstancePublicPortsOutputError { enum PeerVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21145,7 +21145,7 @@ enum PeerVpcOutputError { enum PutAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21164,7 +21164,7 @@ enum PutAlarmOutputError { enum PutInstancePublicPortsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21184,7 +21184,7 @@ enum PutInstancePublicPortsOutputError { enum RebootInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21204,7 +21204,7 @@ enum RebootInstanceOutputError { enum RebootRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21224,7 +21224,7 @@ enum RebootRelationalDatabaseOutputError { enum RegisterContainerImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21242,7 +21242,7 @@ enum RegisterContainerImageOutputError { enum ReleaseStaticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21262,7 +21262,7 @@ enum ReleaseStaticIpOutputError { enum ResetDistributionCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21281,7 +21281,7 @@ enum ResetDistributionCacheOutputError { enum SendContactMethodVerificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21300,7 +21300,7 @@ enum SendContactMethodVerificationOutputError { enum SetIpAddressTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21320,7 +21320,7 @@ enum SetIpAddressTypeOutputError { enum SetResourceAccessForBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21338,7 +21338,7 @@ enum SetResourceAccessForBucketOutputError { enum SetupInstanceHttpsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21356,7 +21356,7 @@ enum SetupInstanceHttpsOutputError { enum StartGUISessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21374,7 +21374,7 @@ enum StartGUISessionOutputError { enum StartInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21394,7 +21394,7 @@ enum StartInstanceOutputError { enum StartRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21414,7 +21414,7 @@ enum StartRelationalDatabaseOutputError { enum StopGUISessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21432,7 +21432,7 @@ enum StopGUISessionOutputError { enum StopInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21452,7 +21452,7 @@ enum StopInstanceOutputError { enum StopRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21472,7 +21472,7 @@ enum StopRelationalDatabaseOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21492,7 +21492,7 @@ enum TagResourceOutputError { enum TestAlarmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21511,7 +21511,7 @@ enum TestAlarmOutputError { enum UnpeerVpcOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21531,7 +21531,7 @@ enum UnpeerVpcOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21551,7 +21551,7 @@ enum UntagResourceOutputError { enum UpdateBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21569,7 +21569,7 @@ enum UpdateBucketOutputError { enum UpdateBucketBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21587,7 +21587,7 @@ enum UpdateBucketBundleOutputError { enum UpdateContainerServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21605,7 +21605,7 @@ enum UpdateContainerServiceOutputError { enum UpdateDistributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21624,7 +21624,7 @@ enum UpdateDistributionOutputError { enum UpdateDistributionBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21643,7 +21643,7 @@ enum UpdateDistributionBundleOutputError { enum UpdateDomainEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21663,7 +21663,7 @@ enum UpdateDomainEntryOutputError { enum UpdateInstanceMetadataOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21683,7 +21683,7 @@ enum UpdateInstanceMetadataOptionsOutputError { enum UpdateLoadBalancerAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21703,7 +21703,7 @@ enum UpdateLoadBalancerAttributeOutputError { enum UpdateRelationalDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -21723,7 +21723,7 @@ enum UpdateRelationalDatabaseOutputError { enum UpdateRelationalDatabaseParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLocation/Sources/AWSLocation/Models.swift b/Sources/Services/AWSLocation/Sources/AWSLocation/Models.swift index b3e9f4c9cf3..6d633e81c01 100644 --- a/Sources/Services/AWSLocation/Sources/AWSLocation/Models.swift +++ b/Sources/Services/AWSLocation/Sources/AWSLocation/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -135,7 +135,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -282,7 +282,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -475,7 +475,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1189,7 +1189,7 @@ extension LocationClientTypes { extension LocationClientTypes.GeofenceGeometry: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GeofenceGeometry(polygon: \(Swift.String(describing: polygon)), circle: \"CONTENT_REDACTED\", geobuf: \"CONTENT_REDACTED\")"} + "GeofenceGeometry(circle: \"CONTENT_REDACTED\", geobuf: \"CONTENT_REDACTED\", polygon: \"CONTENT_REDACTED\")"} } extension LocationClientTypes { @@ -1726,7 +1726,7 @@ public struct CalculateRouteInput { extension CalculateRouteInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CalculateRouteInput(arrivalTime: \(Swift.String(describing: arrivalTime)), calculatorName: \(Swift.String(describing: calculatorName)), carModeOptions: \(Swift.String(describing: carModeOptions)), departNow: \(Swift.String(describing: departNow)), departureTime: \(Swift.String(describing: departureTime)), distanceUnit: \(Swift.String(describing: distanceUnit)), includeLegGeometry: \(Swift.String(describing: includeLegGeometry)), optimizeFor: \(Swift.String(describing: optimizeFor)), travelMode: \(Swift.String(describing: travelMode)), truckModeOptions: \(Swift.String(describing: truckModeOptions)), waypointPositions: \(Swift.String(describing: waypointPositions)), departurePosition: \"CONTENT_REDACTED\", destinationPosition: \"CONTENT_REDACTED\", key: \"CONTENT_REDACTED\")"} + "CalculateRouteInput(arrivalTime: \(Swift.String(describing: arrivalTime)), calculatorName: \(Swift.String(describing: calculatorName)), carModeOptions: \(Swift.String(describing: carModeOptions)), departNow: \(Swift.String(describing: departNow)), departureTime: \(Swift.String(describing: departureTime)), distanceUnit: \(Swift.String(describing: distanceUnit)), includeLegGeometry: \(Swift.String(describing: includeLegGeometry)), optimizeFor: \(Swift.String(describing: optimizeFor)), travelMode: \(Swift.String(describing: travelMode)), truckModeOptions: \(Swift.String(describing: truckModeOptions)), departurePosition: \"CONTENT_REDACTED\", destinationPosition: \"CONTENT_REDACTED\", key: \"CONTENT_REDACTED\", waypointPositions: \"CONTENT_REDACTED\")"} } extension LocationClientTypes { @@ -1747,6 +1747,11 @@ extension LocationClientTypes { } +extension LocationClientTypes.LegGeometry: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "LegGeometry(lineString: \"CONTENT_REDACTED\")"} +} + extension LocationClientTypes { /// Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg. public struct Step { @@ -2001,7 +2006,7 @@ public struct CalculateRouteMatrixInput { extension CalculateRouteMatrixInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CalculateRouteMatrixInput(calculatorName: \(Swift.String(describing: calculatorName)), carModeOptions: \(Swift.String(describing: carModeOptions)), departNow: \(Swift.String(describing: departNow)), departurePositions: \(Swift.String(describing: departurePositions)), departureTime: \(Swift.String(describing: departureTime)), destinationPositions: \(Swift.String(describing: destinationPositions)), distanceUnit: \(Swift.String(describing: distanceUnit)), travelMode: \(Swift.String(describing: travelMode)), truckModeOptions: \(Swift.String(describing: truckModeOptions)), key: \"CONTENT_REDACTED\")"} + "CalculateRouteMatrixInput(calculatorName: \(Swift.String(describing: calculatorName)), carModeOptions: \(Swift.String(describing: carModeOptions)), departNow: \(Swift.String(describing: departNow)), departureTime: \(Swift.String(describing: departureTime)), distanceUnit: \(Swift.String(describing: distanceUnit)), travelMode: \(Swift.String(describing: travelMode)), truckModeOptions: \(Swift.String(describing: truckModeOptions)), departurePositions: \"CONTENT_REDACTED\", destinationPositions: \"CONTENT_REDACTED\", key: \"CONTENT_REDACTED\")"} } extension LocationClientTypes { @@ -2185,6 +2190,11 @@ public struct CalculateRouteMatrixOutput { } } +extension CalculateRouteMatrixOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CalculateRouteMatrixOutput(routeMatrix: \(Swift.String(describing: routeMatrix)), summary: \(Swift.String(describing: summary)), snappedDeparturePositions: \"CONTENT_REDACTED\", snappedDestinationPositions: \"CONTENT_REDACTED\")"} +} + extension LocationClientTypes { /// LTE local identification information (local ID). public struct LteLocalId { @@ -4584,6 +4594,11 @@ extension LocationClientTypes { } +extension LocationClientTypes.TrackingFilterGeometry: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TrackingFilterGeometry(polygon: \"CONTENT_REDACTED\")"} +} + public struct ListDevicePositionsInput { /// The geometry used to filter device positions. public var filterGeometry: LocationClientTypes.TrackingFilterGeometry? @@ -6861,14 +6876,14 @@ extension VerifyDevicePositionInput { extension AssociateTrackerConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTrackerConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTrackerConsumerOutput { return AssociateTrackerConsumerOutput() } } extension BatchDeleteDevicePositionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteDevicePositionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteDevicePositionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6880,7 +6895,7 @@ extension BatchDeleteDevicePositionHistoryOutput { extension BatchDeleteGeofenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteGeofenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteGeofenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6892,7 +6907,7 @@ extension BatchDeleteGeofenceOutput { extension BatchEvaluateGeofencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchEvaluateGeofencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchEvaluateGeofencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6904,7 +6919,7 @@ extension BatchEvaluateGeofencesOutput { extension BatchGetDevicePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetDevicePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetDevicePositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6917,7 +6932,7 @@ extension BatchGetDevicePositionOutput { extension BatchPutGeofenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutGeofenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutGeofenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6930,7 +6945,7 @@ extension BatchPutGeofenceOutput { extension BatchUpdateDevicePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateDevicePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateDevicePositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6942,7 +6957,7 @@ extension BatchUpdateDevicePositionOutput { extension CalculateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CalculateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CalculateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6955,7 +6970,7 @@ extension CalculateRouteOutput { extension CalculateRouteMatrixOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CalculateRouteMatrixOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CalculateRouteMatrixOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6970,7 +6985,7 @@ extension CalculateRouteMatrixOutput { extension CreateGeofenceCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGeofenceCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGeofenceCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6984,7 +6999,7 @@ extension CreateGeofenceCollectionOutput { extension CreateKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6999,7 +7014,7 @@ extension CreateKeyOutput { extension CreateMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7013,7 +7028,7 @@ extension CreateMapOutput { extension CreatePlaceIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlaceIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlaceIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7027,7 +7042,7 @@ extension CreatePlaceIndexOutput { extension CreateRouteCalculatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteCalculatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteCalculatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7041,7 +7056,7 @@ extension CreateRouteCalculatorOutput { extension CreateTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrackerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7055,49 +7070,49 @@ extension CreateTrackerOutput { extension DeleteGeofenceCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGeofenceCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGeofenceCollectionOutput { return DeleteGeofenceCollectionOutput() } } extension DeleteKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyOutput { return DeleteKeyOutput() } } extension DeleteMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMapOutput { return DeleteMapOutput() } } extension DeletePlaceIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlaceIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlaceIndexOutput { return DeletePlaceIndexOutput() } } extension DeleteRouteCalculatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteCalculatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteCalculatorOutput { return DeleteRouteCalculatorOutput() } } extension DeleteTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrackerOutput { return DeleteTrackerOutput() } } extension DescribeGeofenceCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGeofenceCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGeofenceCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7116,7 +7131,7 @@ extension DescribeGeofenceCollectionOutput { extension DescribeKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7136,7 +7151,7 @@ extension DescribeKeyOutput { extension DescribeMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7155,7 +7170,7 @@ extension DescribeMapOutput { extension DescribePlaceIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePlaceIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePlaceIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7174,7 +7189,7 @@ extension DescribePlaceIndexOutput { extension DescribeRouteCalculatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRouteCalculatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRouteCalculatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7192,7 +7207,7 @@ extension DescribeRouteCalculatorOutput { extension DescribeTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrackerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7213,14 +7228,14 @@ extension DescribeTrackerOutput { extension DisassociateTrackerConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTrackerConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTrackerConsumerOutput { return DisassociateTrackerConsumerOutput() } } extension ForecastGeofenceEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ForecastGeofenceEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ForecastGeofenceEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7235,7 +7250,7 @@ extension ForecastGeofenceEventsOutput { extension GetDevicePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevicePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevicePositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7252,7 +7267,7 @@ extension GetDevicePositionOutput { extension GetDevicePositionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevicePositionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevicePositionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7265,7 +7280,7 @@ extension GetDevicePositionHistoryOutput { extension GetGeofenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGeofenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGeofenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7282,7 +7297,7 @@ extension GetGeofenceOutput { extension GetMapGlyphsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMapGlyphsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMapGlyphsOutput { var value = GetMapGlyphsOutput() if let cacheControlHeaderValue = httpResponse.headers.value(for: "Cache-Control") { value.cacheControl = cacheControlHeaderValue @@ -7304,7 +7319,7 @@ extension GetMapGlyphsOutput { extension GetMapSpritesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMapSpritesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMapSpritesOutput { var value = GetMapSpritesOutput() if let cacheControlHeaderValue = httpResponse.headers.value(for: "Cache-Control") { value.cacheControl = cacheControlHeaderValue @@ -7326,7 +7341,7 @@ extension GetMapSpritesOutput { extension GetMapStyleDescriptorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMapStyleDescriptorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMapStyleDescriptorOutput { var value = GetMapStyleDescriptorOutput() if let cacheControlHeaderValue = httpResponse.headers.value(for: "Cache-Control") { value.cacheControl = cacheControlHeaderValue @@ -7348,7 +7363,7 @@ extension GetMapStyleDescriptorOutput { extension GetMapTileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMapTileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMapTileOutput { var value = GetMapTileOutput() if let cacheControlHeaderValue = httpResponse.headers.value(for: "Cache-Control") { value.cacheControl = cacheControlHeaderValue @@ -7370,7 +7385,7 @@ extension GetMapTileOutput { extension GetPlaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPlaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPlaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7382,7 +7397,7 @@ extension GetPlaceOutput { extension ListDevicePositionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicePositionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicePositionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7395,7 +7410,7 @@ extension ListDevicePositionsOutput { extension ListGeofenceCollectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGeofenceCollectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGeofenceCollectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7408,7 +7423,7 @@ extension ListGeofenceCollectionsOutput { extension ListGeofencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGeofencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGeofencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7421,7 +7436,7 @@ extension ListGeofencesOutput { extension ListKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7434,7 +7449,7 @@ extension ListKeysOutput { extension ListMapsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMapsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMapsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7447,7 +7462,7 @@ extension ListMapsOutput { extension ListPlaceIndexesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlaceIndexesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlaceIndexesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7460,7 +7475,7 @@ extension ListPlaceIndexesOutput { extension ListRouteCalculatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRouteCalculatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRouteCalculatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7473,7 +7488,7 @@ extension ListRouteCalculatorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7485,7 +7500,7 @@ extension ListTagsForResourceOutput { extension ListTrackerConsumersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrackerConsumersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrackerConsumersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7498,7 +7513,7 @@ extension ListTrackerConsumersOutput { extension ListTrackersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrackersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrackersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7511,7 +7526,7 @@ extension ListTrackersOutput { extension PutGeofenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutGeofenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutGeofenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7525,7 +7540,7 @@ extension PutGeofenceOutput { extension SearchPlaceIndexForPositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchPlaceIndexForPositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchPlaceIndexForPositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7538,7 +7553,7 @@ extension SearchPlaceIndexForPositionOutput { extension SearchPlaceIndexForSuggestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchPlaceIndexForSuggestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchPlaceIndexForSuggestionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7551,7 +7566,7 @@ extension SearchPlaceIndexForSuggestionsOutput { extension SearchPlaceIndexForTextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchPlaceIndexForTextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchPlaceIndexForTextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7564,21 +7579,21 @@ extension SearchPlaceIndexForTextOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateGeofenceCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGeofenceCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGeofenceCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7592,7 +7607,7 @@ extension UpdateGeofenceCollectionOutput { extension UpdateKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7606,7 +7621,7 @@ extension UpdateKeyOutput { extension UpdateMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7620,7 +7635,7 @@ extension UpdateMapOutput { extension UpdatePlaceIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePlaceIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePlaceIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7634,7 +7649,7 @@ extension UpdatePlaceIndexOutput { extension UpdateRouteCalculatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRouteCalculatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRouteCalculatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7648,7 +7663,7 @@ extension UpdateRouteCalculatorOutput { extension UpdateTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrackerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7662,7 +7677,7 @@ extension UpdateTrackerOutput { extension VerifyDevicePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyDevicePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyDevicePositionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7678,7 +7693,7 @@ extension VerifyDevicePositionOutput { enum AssociateTrackerConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7698,7 +7713,7 @@ enum AssociateTrackerConsumerOutputError { enum BatchDeleteDevicePositionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7716,7 +7731,7 @@ enum BatchDeleteDevicePositionHistoryOutputError { enum BatchDeleteGeofenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7734,7 +7749,7 @@ enum BatchDeleteGeofenceOutputError { enum BatchEvaluateGeofencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7752,7 +7767,7 @@ enum BatchEvaluateGeofencesOutputError { enum BatchGetDevicePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7770,7 +7785,7 @@ enum BatchGetDevicePositionOutputError { enum BatchPutGeofenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7788,7 +7803,7 @@ enum BatchPutGeofenceOutputError { enum BatchUpdateDevicePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7806,7 +7821,7 @@ enum BatchUpdateDevicePositionOutputError { enum CalculateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7824,7 +7839,7 @@ enum CalculateRouteOutputError { enum CalculateRouteMatrixOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7842,7 +7857,7 @@ enum CalculateRouteMatrixOutputError { enum CreateGeofenceCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7861,7 +7876,7 @@ enum CreateGeofenceCollectionOutputError { enum CreateKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7880,7 +7895,7 @@ enum CreateKeyOutputError { enum CreateMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7899,7 +7914,7 @@ enum CreateMapOutputError { enum CreatePlaceIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7918,7 +7933,7 @@ enum CreatePlaceIndexOutputError { enum CreateRouteCalculatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7937,7 +7952,7 @@ enum CreateRouteCalculatorOutputError { enum CreateTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7956,7 +7971,7 @@ enum CreateTrackerOutputError { enum DeleteGeofenceCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7974,7 +7989,7 @@ enum DeleteGeofenceCollectionOutputError { enum DeleteKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7992,7 +8007,7 @@ enum DeleteKeyOutputError { enum DeleteMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8010,7 +8025,7 @@ enum DeleteMapOutputError { enum DeletePlaceIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8028,7 +8043,7 @@ enum DeletePlaceIndexOutputError { enum DeleteRouteCalculatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8046,7 +8061,7 @@ enum DeleteRouteCalculatorOutputError { enum DeleteTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8064,7 +8079,7 @@ enum DeleteTrackerOutputError { enum DescribeGeofenceCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8082,7 +8097,7 @@ enum DescribeGeofenceCollectionOutputError { enum DescribeKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8100,7 +8115,7 @@ enum DescribeKeyOutputError { enum DescribeMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8118,7 +8133,7 @@ enum DescribeMapOutputError { enum DescribePlaceIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8136,7 +8151,7 @@ enum DescribePlaceIndexOutputError { enum DescribeRouteCalculatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8154,7 +8169,7 @@ enum DescribeRouteCalculatorOutputError { enum DescribeTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8172,7 +8187,7 @@ enum DescribeTrackerOutputError { enum DisassociateTrackerConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8190,7 +8205,7 @@ enum DisassociateTrackerConsumerOutputError { enum ForecastGeofenceEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8208,7 +8223,7 @@ enum ForecastGeofenceEventsOutputError { enum GetDevicePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8226,7 +8241,7 @@ enum GetDevicePositionOutputError { enum GetDevicePositionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8244,7 +8259,7 @@ enum GetDevicePositionHistoryOutputError { enum GetGeofenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8262,7 +8277,7 @@ enum GetGeofenceOutputError { enum GetMapGlyphsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8280,7 +8295,7 @@ enum GetMapGlyphsOutputError { enum GetMapSpritesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8298,7 +8313,7 @@ enum GetMapSpritesOutputError { enum GetMapStyleDescriptorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8316,7 +8331,7 @@ enum GetMapStyleDescriptorOutputError { enum GetMapTileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8334,7 +8349,7 @@ enum GetMapTileOutputError { enum GetPlaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8352,7 +8367,7 @@ enum GetPlaceOutputError { enum ListDevicePositionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8369,7 +8384,7 @@ enum ListDevicePositionsOutputError { enum ListGeofenceCollectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8386,7 +8401,7 @@ enum ListGeofenceCollectionsOutputError { enum ListGeofencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8404,7 +8419,7 @@ enum ListGeofencesOutputError { enum ListKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8421,7 +8436,7 @@ enum ListKeysOutputError { enum ListMapsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8438,7 +8453,7 @@ enum ListMapsOutputError { enum ListPlaceIndexesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8455,7 +8470,7 @@ enum ListPlaceIndexesOutputError { enum ListRouteCalculatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8472,7 +8487,7 @@ enum ListRouteCalculatorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8490,7 +8505,7 @@ enum ListTagsForResourceOutputError { enum ListTrackerConsumersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8508,7 +8523,7 @@ enum ListTrackerConsumersOutputError { enum ListTrackersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8525,7 +8540,7 @@ enum ListTrackersOutputError { enum PutGeofenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8544,7 +8559,7 @@ enum PutGeofenceOutputError { enum SearchPlaceIndexForPositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8562,7 +8577,7 @@ enum SearchPlaceIndexForPositionOutputError { enum SearchPlaceIndexForSuggestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8580,7 +8595,7 @@ enum SearchPlaceIndexForSuggestionsOutputError { enum SearchPlaceIndexForTextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8598,7 +8613,7 @@ enum SearchPlaceIndexForTextOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8616,7 +8631,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8634,7 +8649,7 @@ enum UntagResourceOutputError { enum UpdateGeofenceCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8652,7 +8667,7 @@ enum UpdateGeofenceCollectionOutputError { enum UpdateKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8670,7 +8685,7 @@ enum UpdateKeyOutputError { enum UpdateMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8688,7 +8703,7 @@ enum UpdateMapOutputError { enum UpdatePlaceIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8706,7 +8721,7 @@ enum UpdatePlaceIndexOutputError { enum UpdateRouteCalculatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8724,7 +8739,7 @@ enum UpdateRouteCalculatorOutputError { enum UpdateTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8742,7 +8757,7 @@ enum UpdateTrackerOutputError { enum VerifyDevicePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/Models.swift b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/Models.swift index e5800f997bb..2bba365e882 100644 --- a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/Models.swift +++ b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -89,7 +89,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -152,7 +152,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -177,7 +177,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -202,7 +202,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -227,7 +227,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -252,7 +252,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -400,7 +400,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5198,7 +5198,7 @@ extension UpdateRetrainingSchedulerInput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5212,7 +5212,7 @@ extension CreateDatasetOutput { extension CreateInferenceSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInferenceSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInferenceSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5227,7 +5227,7 @@ extension CreateInferenceSchedulerOutput { extension CreateLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLabelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5239,7 +5239,7 @@ extension CreateLabelOutput { extension CreateLabelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLabelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLabelGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5252,7 +5252,7 @@ extension CreateLabelGroupOutput { extension CreateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5265,7 +5265,7 @@ extension CreateModelOutput { extension CreateRetrainingSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRetrainingSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRetrainingSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5279,56 +5279,56 @@ extension CreateRetrainingSchedulerOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { return DeleteDatasetOutput() } } extension DeleteInferenceSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInferenceSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInferenceSchedulerOutput { return DeleteInferenceSchedulerOutput() } } extension DeleteLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLabelOutput { return DeleteLabelOutput() } } extension DeleteLabelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLabelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLabelGroupOutput { return DeleteLabelGroupOutput() } } extension DeleteModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelOutput { return DeleteModelOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteRetrainingSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRetrainingSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRetrainingSchedulerOutput { return DeleteRetrainingSchedulerOutput() } } extension DescribeDataIngestionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataIngestionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataIngestionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5353,7 +5353,7 @@ extension DescribeDataIngestionJobOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5378,7 +5378,7 @@ extension DescribeDatasetOutput { extension DescribeInferenceSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInferenceSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInferenceSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5403,7 +5403,7 @@ extension DescribeInferenceSchedulerOutput { extension DescribeLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLabelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5424,7 +5424,7 @@ extension DescribeLabelOutput { extension DescribeLabelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLabelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLabelGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5440,7 +5440,7 @@ extension DescribeLabelGroupOutput { extension DescribeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5493,7 +5493,7 @@ extension DescribeModelOutput { extension DescribeModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5539,7 +5539,7 @@ extension DescribeModelVersionOutput { extension DescribeResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5554,7 +5554,7 @@ extension DescribeResourcePolicyOutput { extension DescribeRetrainingSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRetrainingSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRetrainingSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5574,7 +5574,7 @@ extension DescribeRetrainingSchedulerOutput { extension ImportDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5589,7 +5589,7 @@ extension ImportDatasetOutput { extension ImportModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportModelVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5605,7 +5605,7 @@ extension ImportModelVersionOutput { extension ListDataIngestionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataIngestionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataIngestionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5618,7 +5618,7 @@ extension ListDataIngestionJobsOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5631,7 +5631,7 @@ extension ListDatasetsOutput { extension ListInferenceEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5644,7 +5644,7 @@ extension ListInferenceEventsOutput { extension ListInferenceExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5657,7 +5657,7 @@ extension ListInferenceExecutionsOutput { extension ListInferenceSchedulersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceSchedulersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceSchedulersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5670,7 +5670,7 @@ extension ListInferenceSchedulersOutput { extension ListLabelGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLabelGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLabelGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5683,7 +5683,7 @@ extension ListLabelGroupsOutput { extension ListLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5696,7 +5696,7 @@ extension ListLabelsOutput { extension ListModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5709,7 +5709,7 @@ extension ListModelsOutput { extension ListModelVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5722,7 +5722,7 @@ extension ListModelVersionsOutput { extension ListRetrainingSchedulersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRetrainingSchedulersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRetrainingSchedulersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5735,7 +5735,7 @@ extension ListRetrainingSchedulersOutput { extension ListSensorStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSensorStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSensorStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5748,7 +5748,7 @@ extension ListSensorStatisticsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5760,7 +5760,7 @@ extension ListTagsForResourceOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5773,7 +5773,7 @@ extension PutResourcePolicyOutput { extension StartDataIngestionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataIngestionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataIngestionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5786,7 +5786,7 @@ extension StartDataIngestionJobOutput { extension StartInferenceSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInferenceSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInferenceSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5802,7 +5802,7 @@ extension StartInferenceSchedulerOutput { extension StartRetrainingSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRetrainingSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRetrainingSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5816,7 +5816,7 @@ extension StartRetrainingSchedulerOutput { extension StopInferenceSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInferenceSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInferenceSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5832,7 +5832,7 @@ extension StopInferenceSchedulerOutput { extension StopRetrainingSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopRetrainingSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopRetrainingSchedulerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5846,21 +5846,21 @@ extension StopRetrainingSchedulerOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateActiveModelVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateActiveModelVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateActiveModelVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5877,35 +5877,35 @@ extension UpdateActiveModelVersionOutput { extension UpdateInferenceSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInferenceSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInferenceSchedulerOutput { return UpdateInferenceSchedulerOutput() } } extension UpdateLabelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLabelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLabelGroupOutput { return UpdateLabelGroupOutput() } } extension UpdateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelOutput { return UpdateModelOutput() } } extension UpdateRetrainingSchedulerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRetrainingSchedulerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRetrainingSchedulerOutput { return UpdateRetrainingSchedulerOutput() } } enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5924,7 +5924,7 @@ enum CreateDatasetOutputError { enum CreateInferenceSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5944,7 +5944,7 @@ enum CreateInferenceSchedulerOutputError { enum CreateLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5964,7 +5964,7 @@ enum CreateLabelOutputError { enum CreateLabelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5983,7 +5983,7 @@ enum CreateLabelGroupOutputError { enum CreateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6003,7 +6003,7 @@ enum CreateModelOutputError { enum CreateRetrainingSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6022,7 +6022,7 @@ enum CreateRetrainingSchedulerOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6041,7 +6041,7 @@ enum DeleteDatasetOutputError { enum DeleteInferenceSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6060,7 +6060,7 @@ enum DeleteInferenceSchedulerOutputError { enum DeleteLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6079,7 +6079,7 @@ enum DeleteLabelOutputError { enum DeleteLabelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6098,7 +6098,7 @@ enum DeleteLabelGroupOutputError { enum DeleteModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6117,7 +6117,7 @@ enum DeleteModelOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6136,7 +6136,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteRetrainingSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6155,7 +6155,7 @@ enum DeleteRetrainingSchedulerOutputError { enum DescribeDataIngestionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6173,7 +6173,7 @@ enum DescribeDataIngestionJobOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6191,7 +6191,7 @@ enum DescribeDatasetOutputError { enum DescribeInferenceSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6209,7 +6209,7 @@ enum DescribeInferenceSchedulerOutputError { enum DescribeLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6227,7 +6227,7 @@ enum DescribeLabelOutputError { enum DescribeLabelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6245,7 +6245,7 @@ enum DescribeLabelGroupOutputError { enum DescribeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6263,7 +6263,7 @@ enum DescribeModelOutputError { enum DescribeModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6281,7 +6281,7 @@ enum DescribeModelVersionOutputError { enum DescribeResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6299,7 +6299,7 @@ enum DescribeResourcePolicyOutputError { enum DescribeRetrainingSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6317,7 +6317,7 @@ enum DescribeRetrainingSchedulerOutputError { enum ImportDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6337,7 +6337,7 @@ enum ImportDatasetOutputError { enum ImportModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6357,7 +6357,7 @@ enum ImportModelVersionOutputError { enum ListDataIngestionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6374,7 +6374,7 @@ enum ListDataIngestionJobsOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6391,7 +6391,7 @@ enum ListDatasetsOutputError { enum ListInferenceEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6409,7 +6409,7 @@ enum ListInferenceEventsOutputError { enum ListInferenceExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6427,7 +6427,7 @@ enum ListInferenceExecutionsOutputError { enum ListInferenceSchedulersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6444,7 +6444,7 @@ enum ListInferenceSchedulersOutputError { enum ListLabelGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6461,7 +6461,7 @@ enum ListLabelGroupsOutputError { enum ListLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6478,7 +6478,7 @@ enum ListLabelsOutputError { enum ListModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6495,7 +6495,7 @@ enum ListModelsOutputError { enum ListModelVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6513,7 +6513,7 @@ enum ListModelVersionsOutputError { enum ListRetrainingSchedulersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6530,7 +6530,7 @@ enum ListRetrainingSchedulersOutputError { enum ListSensorStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6548,7 +6548,7 @@ enum ListSensorStatisticsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6566,7 +6566,7 @@ enum ListTagsForResourceOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6586,7 +6586,7 @@ enum PutResourcePolicyOutputError { enum StartDataIngestionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6606,7 +6606,7 @@ enum StartDataIngestionJobOutputError { enum StartInferenceSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6625,7 +6625,7 @@ enum StartInferenceSchedulerOutputError { enum StartRetrainingSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6644,7 +6644,7 @@ enum StartRetrainingSchedulerOutputError { enum StopInferenceSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6663,7 +6663,7 @@ enum StopInferenceSchedulerOutputError { enum StopRetrainingSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6682,7 +6682,7 @@ enum StopRetrainingSchedulerOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6701,7 +6701,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6719,7 +6719,7 @@ enum UntagResourceOutputError { enum UpdateActiveModelVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6738,7 +6738,7 @@ enum UpdateActiveModelVersionOutputError { enum UpdateInferenceSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6757,7 +6757,7 @@ enum UpdateInferenceSchedulerOutputError { enum UpdateLabelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6776,7 +6776,7 @@ enum UpdateLabelGroupOutputError { enum UpdateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6795,7 +6795,7 @@ enum UpdateModelOutputError { enum UpdateRetrainingSchedulerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/Models.swift b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/Models.swift index 3a6d0e59b01..134c09a8e4a 100644 --- a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/Models.swift +++ b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -172,7 +172,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -201,7 +201,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -230,7 +230,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -345,7 +345,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1447,7 +1447,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3852,21 +3852,21 @@ extension UpdateMetricSetInput { extension ActivateAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateAnomalyDetectorOutput { return ActivateAnomalyDetectorOutput() } } extension BackTestAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BackTestAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BackTestAnomalyDetectorOutput { return BackTestAnomalyDetectorOutput() } } extension CreateAlertOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAlertOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAlertOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3878,7 +3878,7 @@ extension CreateAlertOutput { extension CreateAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnomalyDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3890,7 +3890,7 @@ extension CreateAnomalyDetectorOutput { extension CreateMetricSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMetricSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMetricSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3902,28 +3902,28 @@ extension CreateMetricSetOutput { extension DeactivateAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateAnomalyDetectorOutput { return DeactivateAnomalyDetectorOutput() } } extension DeleteAlertOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlertOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlertOutput { return DeleteAlertOutput() } } extension DeleteAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnomalyDetectorOutput { return DeleteAnomalyDetectorOutput() } } extension DescribeAlertOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlertOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlertOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3935,7 +3935,7 @@ extension DescribeAlertOutput { extension DescribeAnomalyDetectionExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnomalyDetectionExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnomalyDetectionExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3948,7 +3948,7 @@ extension DescribeAnomalyDetectionExecutionsOutput { extension DescribeAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnomalyDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3969,7 +3969,7 @@ extension DescribeAnomalyDetectorOutput { extension DescribeMetricSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetricSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetricSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3994,7 +3994,7 @@ extension DescribeMetricSetOutput { extension DetectMetricSetConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectMetricSetConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectMetricSetConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4006,7 +4006,7 @@ extension DetectMetricSetConfigOutput { extension GetAnomalyGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnomalyGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnomalyGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4018,7 +4018,7 @@ extension GetAnomalyGroupOutput { extension GetDataQualityMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataQualityMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataQualityMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4030,7 +4030,7 @@ extension GetDataQualityMetricsOutput { extension GetFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFeedbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4043,7 +4043,7 @@ extension GetFeedbackOutput { extension GetSampleDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSampleDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSampleDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4056,7 +4056,7 @@ extension GetSampleDataOutput { extension ListAlertsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlertsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlertsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4069,7 +4069,7 @@ extension ListAlertsOutput { extension ListAnomalyDetectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomalyDetectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomalyDetectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4082,7 +4082,7 @@ extension ListAnomalyDetectorsOutput { extension ListAnomalyGroupRelatedMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomalyGroupRelatedMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomalyGroupRelatedMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4095,7 +4095,7 @@ extension ListAnomalyGroupRelatedMetricsOutput { extension ListAnomalyGroupSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomalyGroupSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomalyGroupSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4109,7 +4109,7 @@ extension ListAnomalyGroupSummariesOutput { extension ListAnomalyGroupTimeSeriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnomalyGroupTimeSeriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnomalyGroupTimeSeriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4125,7 +4125,7 @@ extension ListAnomalyGroupTimeSeriesOutput { extension ListMetricSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetricSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetricSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4138,7 +4138,7 @@ extension ListMetricSetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4150,28 +4150,28 @@ extension ListTagsForResourceOutput { extension PutFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFeedbackOutput { return PutFeedbackOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAlertOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAlertOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAlertOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4183,7 +4183,7 @@ extension UpdateAlertOutput { extension UpdateAnomalyDetectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnomalyDetectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnomalyDetectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4195,7 +4195,7 @@ extension UpdateAnomalyDetectorOutput { extension UpdateMetricSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMetricSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMetricSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4207,7 +4207,7 @@ extension UpdateMetricSetOutput { enum ActivateAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4226,7 +4226,7 @@ enum ActivateAnomalyDetectorOutputError { enum BackTestAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4244,7 +4244,7 @@ enum BackTestAnomalyDetectorOutputError { enum CreateAlertOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4264,7 +4264,7 @@ enum CreateAlertOutputError { enum CreateAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4283,7 +4283,7 @@ enum CreateAnomalyDetectorOutputError { enum CreateMetricSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4303,7 +4303,7 @@ enum CreateMetricSetOutputError { enum DeactivateAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4322,7 +4322,7 @@ enum DeactivateAnomalyDetectorOutputError { enum DeleteAlertOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4340,7 +4340,7 @@ enum DeleteAlertOutputError { enum DeleteAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4359,7 +4359,7 @@ enum DeleteAnomalyDetectorOutputError { enum DescribeAlertOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4377,7 +4377,7 @@ enum DescribeAlertOutputError { enum DescribeAnomalyDetectionExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4395,7 +4395,7 @@ enum DescribeAnomalyDetectionExecutionsOutputError { enum DescribeAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4413,7 +4413,7 @@ enum DescribeAnomalyDetectorOutputError { enum DescribeMetricSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4431,7 +4431,7 @@ enum DescribeMetricSetOutputError { enum DetectMetricSetConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4449,7 +4449,7 @@ enum DetectMetricSetConfigOutputError { enum GetAnomalyGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4467,7 +4467,7 @@ enum GetAnomalyGroupOutputError { enum GetDataQualityMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4485,7 +4485,7 @@ enum GetDataQualityMetricsOutputError { enum GetFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4503,7 +4503,7 @@ enum GetFeedbackOutputError { enum GetSampleDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4521,7 +4521,7 @@ enum GetSampleDataOutputError { enum ListAlertsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4539,7 +4539,7 @@ enum ListAlertsOutputError { enum ListAnomalyDetectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4557,7 +4557,7 @@ enum ListAnomalyDetectorsOutputError { enum ListAnomalyGroupRelatedMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4575,7 +4575,7 @@ enum ListAnomalyGroupRelatedMetricsOutputError { enum ListAnomalyGroupSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4593,7 +4593,7 @@ enum ListAnomalyGroupSummariesOutputError { enum ListAnomalyGroupTimeSeriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4611,7 +4611,7 @@ enum ListAnomalyGroupTimeSeriesOutputError { enum ListMetricSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4629,7 +4629,7 @@ enum ListMetricSetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4645,7 +4645,7 @@ enum ListTagsForResourceOutputError { enum PutFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4663,7 +4663,7 @@ enum PutFeedbackOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4679,7 +4679,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4695,7 +4695,7 @@ enum UntagResourceOutputError { enum UpdateAlertOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4713,7 +4713,7 @@ enum UpdateAlertOutputError { enum UpdateAnomalyDetectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4731,7 +4731,7 @@ enum UpdateAnomalyDetectorOutputError { enum UpdateMetricSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/Models.swift b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/Models.swift index dfde9f4f789..072e0accef5 100644 --- a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/Models.swift +++ b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -148,7 +148,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -179,7 +179,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -212,7 +212,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -251,7 +251,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -290,7 +290,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -321,7 +321,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2620,7 +2620,7 @@ extension UpdateDatasetEntriesInput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2632,7 +2632,7 @@ extension CreateDatasetOutput { extension CreateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2644,7 +2644,7 @@ extension CreateModelOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2656,14 +2656,14 @@ extension CreateProjectOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { return DeleteDatasetOutput() } } extension DeleteModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2675,7 +2675,7 @@ extension DeleteModelOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2687,7 +2687,7 @@ extension DeleteProjectOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2699,7 +2699,7 @@ extension DescribeDatasetOutput { extension DescribeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2711,7 +2711,7 @@ extension DescribeModelOutput { extension DescribeModelPackagingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelPackagingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelPackagingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2723,7 +2723,7 @@ extension DescribeModelPackagingJobOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2735,7 +2735,7 @@ extension DescribeProjectOutput { extension DetectAnomaliesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectAnomaliesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectAnomaliesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2747,7 +2747,7 @@ extension DetectAnomaliesOutput { extension ListDatasetEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2760,7 +2760,7 @@ extension ListDatasetEntriesOutput { extension ListModelPackagingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelPackagingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelPackagingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2773,7 +2773,7 @@ extension ListModelPackagingJobsOutput { extension ListModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2786,7 +2786,7 @@ extension ListModelsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2799,7 +2799,7 @@ extension ListProjectsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2811,7 +2811,7 @@ extension ListTagsForResourceOutput { extension StartModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2823,7 +2823,7 @@ extension StartModelOutput { extension StartModelPackagingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartModelPackagingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartModelPackagingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2835,7 +2835,7 @@ extension StartModelPackagingJobOutput { extension StopModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2847,21 +2847,21 @@ extension StopModelOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDatasetEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2873,7 +2873,7 @@ extension UpdateDatasetEntriesOutput { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2893,7 +2893,7 @@ enum CreateDatasetOutputError { enum CreateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2913,7 +2913,7 @@ enum CreateModelOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2933,7 +2933,7 @@ enum CreateProjectOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2952,7 +2952,7 @@ enum DeleteDatasetOutputError { enum DeleteModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2971,7 +2971,7 @@ enum DeleteModelOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2990,7 +2990,7 @@ enum DeleteProjectOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3009,7 +3009,7 @@ enum DescribeDatasetOutputError { enum DescribeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3028,7 +3028,7 @@ enum DescribeModelOutputError { enum DescribeModelPackagingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3046,7 +3046,7 @@ enum DescribeModelPackagingJobOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3065,7 +3065,7 @@ enum DescribeProjectOutputError { enum DetectAnomaliesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3084,7 +3084,7 @@ enum DetectAnomaliesOutputError { enum ListDatasetEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3103,7 +3103,7 @@ enum ListDatasetEntriesOutputError { enum ListModelPackagingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3121,7 +3121,7 @@ enum ListModelPackagingJobsOutputError { enum ListModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3140,7 +3140,7 @@ enum ListModelsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3159,7 +3159,7 @@ enum ListProjectsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3178,7 +3178,7 @@ enum ListTagsForResourceOutputError { enum StartModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3198,7 +3198,7 @@ enum StartModelOutputError { enum StartModelPackagingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3218,7 +3218,7 @@ enum StartModelPackagingJobOutputError { enum StopModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3237,7 +3237,7 @@ enum StopModelOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3257,7 +3257,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3276,7 +3276,7 @@ enum UntagResourceOutputError { enum UpdateDatasetEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSM2/Sources/AWSM2/Models.swift b/Sources/Services/AWSM2/Sources/AWSM2/Models.swift index c3c5be6c960..2cc2fcb17bb 100644 --- a/Sources/Services/AWSM2/Sources/AWSM2/Models.swift +++ b/Sources/Services/AWSM2/Sources/AWSM2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -42,7 +42,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -101,7 +101,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -132,7 +132,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -296,7 +296,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -356,7 +356,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1534,7 +1534,7 @@ public struct ExecutionTimeoutException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1559,7 +1559,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4048,14 +4048,14 @@ extension UpdateEnvironmentInput { extension CancelBatchJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelBatchJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelBatchJobExecutionOutput { return CancelBatchJobExecutionOutput() } } extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4069,7 +4069,7 @@ extension CreateApplicationOutput { extension CreateDataSetImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSetImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSetImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4081,7 +4081,7 @@ extension CreateDataSetImportTaskOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4093,7 +4093,7 @@ extension CreateDeploymentOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4105,28 +4105,28 @@ extension CreateEnvironmentOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteApplicationFromEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationFromEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationFromEnvironmentOutput { return DeleteApplicationFromEnvironmentOutput() } } extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4157,7 +4157,7 @@ extension GetApplicationOutput { extension GetApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4175,7 +4175,7 @@ extension GetApplicationVersionOutput { extension GetBatchJobExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBatchJobExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBatchJobExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4199,7 +4199,7 @@ extension GetBatchJobExecutionOutput { extension GetDataSetDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSetDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSetDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4219,7 +4219,7 @@ extension GetDataSetDetailsOutput { extension GetDataSetImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSetImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSetImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4233,7 +4233,7 @@ extension GetDataSetImportTaskOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4251,7 +4251,7 @@ extension GetDeploymentOutput { extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4284,7 +4284,7 @@ extension GetEnvironmentOutput { extension GetSignedBluinsightsUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSignedBluinsightsUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSignedBluinsightsUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4296,7 +4296,7 @@ extension GetSignedBluinsightsUrlOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4309,7 +4309,7 @@ extension ListApplicationsOutput { extension ListApplicationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4322,7 +4322,7 @@ extension ListApplicationVersionsOutput { extension ListBatchJobDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBatchJobDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBatchJobDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4335,7 +4335,7 @@ extension ListBatchJobDefinitionsOutput { extension ListBatchJobExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBatchJobExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBatchJobExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4348,7 +4348,7 @@ extension ListBatchJobExecutionsOutput { extension ListBatchJobRestartPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBatchJobRestartPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBatchJobRestartPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4360,7 +4360,7 @@ extension ListBatchJobRestartPointsOutput { extension ListDataSetImportHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSetImportHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSetImportHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4373,7 +4373,7 @@ extension ListDataSetImportHistoryOutput { extension ListDataSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4386,7 +4386,7 @@ extension ListDataSetsOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4399,7 +4399,7 @@ extension ListDeploymentsOutput { extension ListEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4412,7 +4412,7 @@ extension ListEngineVersionsOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4425,7 +4425,7 @@ extension ListEnvironmentsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4437,14 +4437,14 @@ extension ListTagsForResourceOutput { extension StartApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartApplicationOutput { return StartApplicationOutput() } } extension StartBatchJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartBatchJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartBatchJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4456,28 +4456,28 @@ extension StartBatchJobOutput { extension StopApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopApplicationOutput { return StopApplicationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4489,7 +4489,7 @@ extension UpdateApplicationOutput { extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4501,7 +4501,7 @@ extension UpdateEnvironmentOutput { enum CancelBatchJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4520,7 +4520,7 @@ enum CancelBatchJobExecutionOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4539,7 +4539,7 @@ enum CreateApplicationOutputError { enum CreateDataSetImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4559,7 +4559,7 @@ enum CreateDataSetImportTaskOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4579,7 +4579,7 @@ enum CreateDeploymentOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4598,7 +4598,7 @@ enum CreateEnvironmentOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4616,7 +4616,7 @@ enum DeleteApplicationOutputError { enum DeleteApplicationFromEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4635,7 +4635,7 @@ enum DeleteApplicationFromEnvironmentOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4653,7 +4653,7 @@ enum DeleteEnvironmentOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4671,7 +4671,7 @@ enum GetApplicationOutputError { enum GetApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4689,7 +4689,7 @@ enum GetApplicationVersionOutputError { enum GetBatchJobExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4707,7 +4707,7 @@ enum GetBatchJobExecutionOutputError { enum GetDataSetDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4728,7 +4728,7 @@ enum GetDataSetDetailsOutputError { enum GetDataSetImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4746,7 +4746,7 @@ enum GetDataSetImportTaskOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4764,7 +4764,7 @@ enum GetDeploymentOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4782,7 +4782,7 @@ enum GetEnvironmentOutputError { enum GetSignedBluinsightsUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4798,7 +4798,7 @@ enum GetSignedBluinsightsUrlOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4815,7 +4815,7 @@ enum ListApplicationsOutputError { enum ListApplicationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4833,7 +4833,7 @@ enum ListApplicationVersionsOutputError { enum ListBatchJobDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4851,7 +4851,7 @@ enum ListBatchJobDefinitionsOutputError { enum ListBatchJobExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4869,7 +4869,7 @@ enum ListBatchJobExecutionsOutputError { enum ListBatchJobRestartPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4888,7 +4888,7 @@ enum ListBatchJobRestartPointsOutputError { enum ListDataSetImportHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4906,7 +4906,7 @@ enum ListDataSetImportHistoryOutputError { enum ListDataSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4927,7 +4927,7 @@ enum ListDataSetsOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4945,7 +4945,7 @@ enum ListDeploymentsOutputError { enum ListEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4962,7 +4962,7 @@ enum ListEngineVersionsOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4979,7 +4979,7 @@ enum ListEnvironmentsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4997,7 +4997,7 @@ enum ListTagsForResourceOutputError { enum StartApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5016,7 +5016,7 @@ enum StartApplicationOutputError { enum StartBatchJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5035,7 +5035,7 @@ enum StartBatchJobOutputError { enum StopApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5054,7 +5054,7 @@ enum StopApplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5073,7 +5073,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5091,7 +5091,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5110,7 +5110,7 @@ enum UpdateApplicationOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMTurk/Sources/AWSMTurk/Models.swift b/Sources/Services/AWSMTurk/Sources/AWSMTurk/Models.swift index 01e91b7f0bf..f67e9bd5858 100644 --- a/Sources/Services/AWSMTurk/Sources/AWSMTurk/Models.swift +++ b/Sources/Services/AWSMTurk/Sources/AWSMTurk/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct RequestError: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct ServiceFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3255,35 +3255,35 @@ extension UpdateQualificationTypeInput { extension AcceptQualificationRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptQualificationRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptQualificationRequestOutput { return AcceptQualificationRequestOutput() } } extension ApproveAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApproveAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApproveAssignmentOutput { return ApproveAssignmentOutput() } } extension AssociateQualificationWithWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateQualificationWithWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateQualificationWithWorkerOutput { return AssociateQualificationWithWorkerOutput() } } extension CreateAdditionalAssignmentsForHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAdditionalAssignmentsForHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAdditionalAssignmentsForHITOutput { return CreateAdditionalAssignmentsForHITOutput() } } extension CreateHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHITOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3295,7 +3295,7 @@ extension CreateHITOutput { extension CreateHITTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHITTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHITTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3307,7 +3307,7 @@ extension CreateHITTypeOutput { extension CreateHITWithHITTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHITWithHITTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHITWithHITTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3319,7 +3319,7 @@ extension CreateHITWithHITTypeOutput { extension CreateQualificationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQualificationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQualificationTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3331,42 +3331,42 @@ extension CreateQualificationTypeOutput { extension CreateWorkerBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkerBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkerBlockOutput { return CreateWorkerBlockOutput() } } extension DeleteHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHITOutput { return DeleteHITOutput() } } extension DeleteQualificationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQualificationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQualificationTypeOutput { return DeleteQualificationTypeOutput() } } extension DeleteWorkerBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkerBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkerBlockOutput { return DeleteWorkerBlockOutput() } } extension DisassociateQualificationFromWorkerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateQualificationFromWorkerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateQualificationFromWorkerOutput { return DisassociateQualificationFromWorkerOutput() } } extension GetAccountBalanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountBalanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountBalanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3379,7 +3379,7 @@ extension GetAccountBalanceOutput { extension GetAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3392,7 +3392,7 @@ extension GetAssignmentOutput { extension GetFileUploadURLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFileUploadURLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFileUploadURLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3404,7 +3404,7 @@ extension GetFileUploadURLOutput { extension GetHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHITOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3416,7 +3416,7 @@ extension GetHITOutput { extension GetQualificationScoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQualificationScoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQualificationScoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3428,7 +3428,7 @@ extension GetQualificationScoreOutput { extension GetQualificationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQualificationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQualificationTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3440,7 +3440,7 @@ extension GetQualificationTypeOutput { extension ListAssignmentsForHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssignmentsForHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssignmentsForHITOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3454,7 +3454,7 @@ extension ListAssignmentsForHITOutput { extension ListBonusPaymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBonusPaymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBonusPaymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3468,7 +3468,7 @@ extension ListBonusPaymentsOutput { extension ListHITsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHITsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHITsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3482,7 +3482,7 @@ extension ListHITsOutput { extension ListHITsForQualificationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHITsForQualificationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHITsForQualificationTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3496,7 +3496,7 @@ extension ListHITsForQualificationTypeOutput { extension ListQualificationRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQualificationRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQualificationRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3510,7 +3510,7 @@ extension ListQualificationRequestsOutput { extension ListQualificationTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQualificationTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQualificationTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3524,7 +3524,7 @@ extension ListQualificationTypesOutput { extension ListReviewableHITsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReviewableHITsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReviewableHITsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3538,7 +3538,7 @@ extension ListReviewableHITsOutput { extension ListReviewPolicyResultsForHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReviewPolicyResultsForHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReviewPolicyResultsForHITOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3555,7 +3555,7 @@ extension ListReviewPolicyResultsForHITOutput { extension ListWorkerBlocksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkerBlocksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkerBlocksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3569,7 +3569,7 @@ extension ListWorkerBlocksOutput { extension ListWorkersWithQualificationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkersWithQualificationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkersWithQualificationTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3583,7 +3583,7 @@ extension ListWorkersWithQualificationTypeOutput { extension NotifyWorkersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyWorkersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyWorkersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3595,63 +3595,63 @@ extension NotifyWorkersOutput { extension RejectAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectAssignmentOutput { return RejectAssignmentOutput() } } extension RejectQualificationRequestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectQualificationRequestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectQualificationRequestOutput { return RejectQualificationRequestOutput() } } extension SendBonusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendBonusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendBonusOutput { return SendBonusOutput() } } extension SendTestEventNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendTestEventNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendTestEventNotificationOutput { return SendTestEventNotificationOutput() } } extension UpdateExpirationForHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExpirationForHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExpirationForHITOutput { return UpdateExpirationForHITOutput() } } extension UpdateHITReviewStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHITReviewStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHITReviewStatusOutput { return UpdateHITReviewStatusOutput() } } extension UpdateHITTypeOfHITOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHITTypeOfHITOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHITTypeOfHITOutput { return UpdateHITTypeOfHITOutput() } } extension UpdateNotificationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotificationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotificationSettingsOutput { return UpdateNotificationSettingsOutput() } } extension UpdateQualificationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQualificationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQualificationTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3663,7 +3663,7 @@ extension UpdateQualificationTypeOutput { enum AcceptQualificationRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3678,7 +3678,7 @@ enum AcceptQualificationRequestOutputError { enum ApproveAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3693,7 +3693,7 @@ enum ApproveAssignmentOutputError { enum AssociateQualificationWithWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3708,7 +3708,7 @@ enum AssociateQualificationWithWorkerOutputError { enum CreateAdditionalAssignmentsForHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3723,7 +3723,7 @@ enum CreateAdditionalAssignmentsForHITOutputError { enum CreateHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3738,7 +3738,7 @@ enum CreateHITOutputError { enum CreateHITTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3753,7 +3753,7 @@ enum CreateHITTypeOutputError { enum CreateHITWithHITTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3768,7 +3768,7 @@ enum CreateHITWithHITTypeOutputError { enum CreateQualificationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3783,7 +3783,7 @@ enum CreateQualificationTypeOutputError { enum CreateWorkerBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3798,7 +3798,7 @@ enum CreateWorkerBlockOutputError { enum DeleteHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3813,7 +3813,7 @@ enum DeleteHITOutputError { enum DeleteQualificationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3828,7 +3828,7 @@ enum DeleteQualificationTypeOutputError { enum DeleteWorkerBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3843,7 +3843,7 @@ enum DeleteWorkerBlockOutputError { enum DisassociateQualificationFromWorkerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3858,7 +3858,7 @@ enum DisassociateQualificationFromWorkerOutputError { enum GetAccountBalanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3873,7 +3873,7 @@ enum GetAccountBalanceOutputError { enum GetAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3888,7 +3888,7 @@ enum GetAssignmentOutputError { enum GetFileUploadURLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3903,7 +3903,7 @@ enum GetFileUploadURLOutputError { enum GetHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3918,7 +3918,7 @@ enum GetHITOutputError { enum GetQualificationScoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3933,7 +3933,7 @@ enum GetQualificationScoreOutputError { enum GetQualificationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3948,7 +3948,7 @@ enum GetQualificationTypeOutputError { enum ListAssignmentsForHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3963,7 +3963,7 @@ enum ListAssignmentsForHITOutputError { enum ListBonusPaymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3978,7 +3978,7 @@ enum ListBonusPaymentsOutputError { enum ListHITsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3993,7 +3993,7 @@ enum ListHITsOutputError { enum ListHITsForQualificationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4008,7 +4008,7 @@ enum ListHITsForQualificationTypeOutputError { enum ListQualificationRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4023,7 +4023,7 @@ enum ListQualificationRequestsOutputError { enum ListQualificationTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4038,7 +4038,7 @@ enum ListQualificationTypesOutputError { enum ListReviewableHITsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4053,7 +4053,7 @@ enum ListReviewableHITsOutputError { enum ListReviewPolicyResultsForHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4068,7 +4068,7 @@ enum ListReviewPolicyResultsForHITOutputError { enum ListWorkerBlocksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4083,7 +4083,7 @@ enum ListWorkerBlocksOutputError { enum ListWorkersWithQualificationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4098,7 +4098,7 @@ enum ListWorkersWithQualificationTypeOutputError { enum NotifyWorkersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4113,7 +4113,7 @@ enum NotifyWorkersOutputError { enum RejectAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4128,7 +4128,7 @@ enum RejectAssignmentOutputError { enum RejectQualificationRequestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4143,7 +4143,7 @@ enum RejectQualificationRequestOutputError { enum SendBonusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4158,7 +4158,7 @@ enum SendBonusOutputError { enum SendTestEventNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4173,7 +4173,7 @@ enum SendTestEventNotificationOutputError { enum UpdateExpirationForHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4188,7 +4188,7 @@ enum UpdateExpirationForHITOutputError { enum UpdateHITReviewStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4203,7 +4203,7 @@ enum UpdateHITReviewStatusOutputError { enum UpdateHITTypeOfHITOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4218,7 +4218,7 @@ enum UpdateHITTypeOfHITOutputError { enum UpdateNotificationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4233,7 +4233,7 @@ enum UpdateNotificationSettingsOutputError { enum UpdateQualificationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMWAA/Sources/AWSMWAA/Models.swift b/Sources/Services/AWSMWAA/Sources/AWSMWAA/Models.swift index ad369793e14..2e1427630ae 100644 --- a/Sources/Services/AWSMWAA/Sources/AWSMWAA/Models.swift +++ b/Sources/Services/AWSMWAA/Sources/AWSMWAA/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -117,7 +117,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -141,7 +141,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1593,7 +1593,7 @@ extension UpdateEnvironmentInput { extension CreateCliTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCliTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCliTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1606,7 +1606,7 @@ extension CreateCliTokenOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1618,7 +1618,7 @@ extension CreateEnvironmentOutput { extension CreateWebLoginTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebLoginTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebLoginTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1633,14 +1633,14 @@ extension CreateWebLoginTokenOutput { extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1652,7 +1652,7 @@ extension GetEnvironmentOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1665,7 +1665,7 @@ extension ListEnvironmentsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1677,28 +1677,28 @@ extension ListTagsForResourceOutput { extension PublishMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishMetricsOutput { return PublishMetricsOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1710,7 +1710,7 @@ extension UpdateEnvironmentOutput { enum CreateCliTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1724,7 +1724,7 @@ enum CreateCliTokenOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1739,7 +1739,7 @@ enum CreateEnvironmentOutputError { enum CreateWebLoginTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1756,7 +1756,7 @@ enum CreateWebLoginTokenOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1772,7 +1772,7 @@ enum DeleteEnvironmentOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1788,7 +1788,7 @@ enum GetEnvironmentOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1803,7 +1803,7 @@ enum ListEnvironmentsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1819,7 +1819,7 @@ enum ListTagsForResourceOutputError { enum PublishMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1834,7 +1834,7 @@ enum PublishMetricsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1850,7 +1850,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1866,7 +1866,7 @@ enum UntagResourceOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/Models.swift b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/Models.swift index 2f39d82fd4d..02acb06225d 100644 --- a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/Models.swift +++ b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/Models.swift @@ -9,7 +9,7 @@ import Foundation import class Smithy.Context -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -67,7 +67,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -92,7 +92,7 @@ public struct InvalidTagException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -117,7 +117,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -142,7 +142,7 @@ public struct TagLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -293,7 +293,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2884,7 +2884,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2910,7 +2910,7 @@ public struct PredictorNotMountedException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3661,7 +3661,7 @@ extension UpdateMLModelInput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3674,7 +3674,7 @@ extension AddTagsOutput { extension CreateBatchPredictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBatchPredictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBatchPredictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3686,7 +3686,7 @@ extension CreateBatchPredictionOutput { extension CreateDataSourceFromRDSOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceFromRDSOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceFromRDSOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3698,7 +3698,7 @@ extension CreateDataSourceFromRDSOutput { extension CreateDataSourceFromRedshiftOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceFromRedshiftOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceFromRedshiftOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3710,7 +3710,7 @@ extension CreateDataSourceFromRedshiftOutput { extension CreateDataSourceFromS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceFromS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceFromS3Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3722,7 +3722,7 @@ extension CreateDataSourceFromS3Output { extension CreateEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3734,7 +3734,7 @@ extension CreateEvaluationOutput { extension CreateMLModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMLModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMLModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3746,7 +3746,7 @@ extension CreateMLModelOutput { extension CreateRealtimeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRealtimeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRealtimeEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3759,7 +3759,7 @@ extension CreateRealtimeEndpointOutput { extension DeleteBatchPredictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBatchPredictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBatchPredictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3771,7 +3771,7 @@ extension DeleteBatchPredictionOutput { extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3783,7 +3783,7 @@ extension DeleteDataSourceOutput { extension DeleteEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3795,7 +3795,7 @@ extension DeleteEvaluationOutput { extension DeleteMLModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMLModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMLModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3807,7 +3807,7 @@ extension DeleteMLModelOutput { extension DeleteRealtimeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRealtimeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRealtimeEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3820,7 +3820,7 @@ extension DeleteRealtimeEndpointOutput { extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3833,7 +3833,7 @@ extension DeleteTagsOutput { extension DescribeBatchPredictionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBatchPredictionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBatchPredictionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3846,7 +3846,7 @@ extension DescribeBatchPredictionsOutput { extension DescribeDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3859,7 +3859,7 @@ extension DescribeDataSourcesOutput { extension DescribeEvaluationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEvaluationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEvaluationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3872,7 +3872,7 @@ extension DescribeEvaluationsOutput { extension DescribeMLModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMLModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMLModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3885,7 +3885,7 @@ extension DescribeMLModelsOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3899,7 +3899,7 @@ extension DescribeTagsOutput { extension GetBatchPredictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBatchPredictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBatchPredictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3927,7 +3927,7 @@ extension GetBatchPredictionOutput { extension GetDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3958,7 +3958,7 @@ extension GetDataSourceOutput { extension GetEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3984,7 +3984,7 @@ extension GetEvaluationOutput { extension GetMLModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4016,7 +4016,7 @@ extension GetMLModelOutput { extension PredictOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PredictOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PredictOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4028,7 +4028,7 @@ extension PredictOutput { extension UpdateBatchPredictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBatchPredictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBatchPredictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4040,7 +4040,7 @@ extension UpdateBatchPredictionOutput { extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4052,7 +4052,7 @@ extension UpdateDataSourceOutput { extension UpdateEvaluationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEvaluationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEvaluationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4064,7 +4064,7 @@ extension UpdateEvaluationOutput { extension UpdateMLModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMLModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMLModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4076,7 +4076,7 @@ extension UpdateMLModelOutput { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4094,7 +4094,7 @@ enum AddTagsOutputError { enum CreateBatchPredictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4110,7 +4110,7 @@ enum CreateBatchPredictionOutputError { enum CreateDataSourceFromRDSOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4126,7 +4126,7 @@ enum CreateDataSourceFromRDSOutputError { enum CreateDataSourceFromRedshiftOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4142,7 +4142,7 @@ enum CreateDataSourceFromRedshiftOutputError { enum CreateDataSourceFromS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4158,7 +4158,7 @@ enum CreateDataSourceFromS3OutputError { enum CreateEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4174,7 +4174,7 @@ enum CreateEvaluationOutputError { enum CreateMLModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4190,7 +4190,7 @@ enum CreateMLModelOutputError { enum CreateRealtimeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4206,7 +4206,7 @@ enum CreateRealtimeEndpointOutputError { enum DeleteBatchPredictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4222,7 +4222,7 @@ enum DeleteBatchPredictionOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4238,7 +4238,7 @@ enum DeleteDataSourceOutputError { enum DeleteEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4254,7 +4254,7 @@ enum DeleteEvaluationOutputError { enum DeleteMLModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4270,7 +4270,7 @@ enum DeleteMLModelOutputError { enum DeleteRealtimeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4286,7 +4286,7 @@ enum DeleteRealtimeEndpointOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4303,7 +4303,7 @@ enum DeleteTagsOutputError { enum DescribeBatchPredictionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4318,7 +4318,7 @@ enum DescribeBatchPredictionsOutputError { enum DescribeDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4333,7 +4333,7 @@ enum DescribeDataSourcesOutputError { enum DescribeEvaluationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4348,7 +4348,7 @@ enum DescribeEvaluationsOutputError { enum DescribeMLModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4363,7 +4363,7 @@ enum DescribeMLModelsOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4379,7 +4379,7 @@ enum DescribeTagsOutputError { enum GetBatchPredictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4395,7 +4395,7 @@ enum GetBatchPredictionOutputError { enum GetDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4411,7 +4411,7 @@ enum GetDataSourceOutputError { enum GetEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4427,7 +4427,7 @@ enum GetEvaluationOutputError { enum GetMLModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4443,7 +4443,7 @@ enum GetMLModelOutputError { enum PredictOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4461,7 +4461,7 @@ enum PredictOutputError { enum UpdateBatchPredictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4477,7 +4477,7 @@ enum UpdateBatchPredictionOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4493,7 +4493,7 @@ enum UpdateDataSourceOutputError { enum UpdateEvaluationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4509,7 +4509,7 @@ enum UpdateEvaluationOutputError { enum UpdateMLModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Models.swift b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Models.swift index 2a25ed21d5f..f17f25de6fb 100644 --- a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Models.swift +++ b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -4266,7 +4266,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4291,7 +4291,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4316,7 +4316,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4341,7 +4341,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4366,7 +4366,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4391,7 +4391,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4416,7 +4416,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7235,7 +7235,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10169,14 +10169,14 @@ extension UpdateSensitivityInspectionTemplateInput { extension AcceptInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInvitationOutput { return AcceptInvitationOutput() } } extension BatchGetCustomDataIdentifiersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCustomDataIdentifiersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCustomDataIdentifiersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10189,7 +10189,7 @@ extension BatchGetCustomDataIdentifiersOutput { extension BatchUpdateAutomatedDiscoveryAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateAutomatedDiscoveryAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateAutomatedDiscoveryAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10201,7 +10201,7 @@ extension BatchUpdateAutomatedDiscoveryAccountsOutput { extension CreateAllowListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAllowListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAllowListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10214,7 +10214,7 @@ extension CreateAllowListOutput { extension CreateClassificationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClassificationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClassificationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10227,7 +10227,7 @@ extension CreateClassificationJobOutput { extension CreateCustomDataIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomDataIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomDataIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10239,7 +10239,7 @@ extension CreateCustomDataIdentifierOutput { extension CreateFindingsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFindingsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFindingsFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10252,7 +10252,7 @@ extension CreateFindingsFilterOutput { extension CreateInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10264,7 +10264,7 @@ extension CreateInvitationsOutput { extension CreateMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10276,14 +10276,14 @@ extension CreateMemberOutput { extension CreateSampleFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSampleFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSampleFindingsOutput { return CreateSampleFindingsOutput() } } extension DeclineInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeclineInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeclineInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10295,28 +10295,28 @@ extension DeclineInvitationsOutput { extension DeleteAllowListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAllowListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAllowListOutput { return DeleteAllowListOutput() } } extension DeleteCustomDataIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomDataIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomDataIdentifierOutput { return DeleteCustomDataIdentifierOutput() } } extension DeleteFindingsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFindingsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFindingsFilterOutput { return DeleteFindingsFilterOutput() } } extension DeleteInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10328,14 +10328,14 @@ extension DeleteInvitationsOutput { extension DeleteMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMemberOutput { return DeleteMemberOutput() } } extension DescribeBucketsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBucketsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBucketsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10348,7 +10348,7 @@ extension DescribeBucketsOutput { extension DescribeClassificationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClassificationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClassificationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10380,7 +10380,7 @@ extension DescribeClassificationJobOutput { extension DescribeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10393,56 +10393,56 @@ extension DescribeOrganizationConfigurationOutput { extension DisableMacieOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableMacieOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableMacieOutput { return DisableMacieOutput() } } extension DisableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableOrganizationAdminAccountOutput { return DisableOrganizationAdminAccountOutput() } } extension DisassociateFromAdministratorAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFromAdministratorAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFromAdministratorAccountOutput { return DisassociateFromAdministratorAccountOutput() } } extension DisassociateFromMasterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFromMasterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFromMasterAccountOutput { return DisassociateFromMasterAccountOutput() } } extension DisassociateMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberOutput { return DisassociateMemberOutput() } } extension EnableMacieOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableMacieOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableMacieOutput { return EnableMacieOutput() } } extension EnableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableOrganizationAdminAccountOutput { return EnableOrganizationAdminAccountOutput() } } extension GetAdministratorAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdministratorAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdministratorAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10454,7 +10454,7 @@ extension GetAdministratorAccountOutput { extension GetAllowListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAllowListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAllowListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10474,7 +10474,7 @@ extension GetAllowListOutput { extension GetAutomatedDiscoveryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAutomatedDiscoveryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutomatedDiscoveryConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10492,7 +10492,7 @@ extension GetAutomatedDiscoveryConfigurationOutput { extension GetBucketStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10517,7 +10517,7 @@ extension GetBucketStatisticsOutput { extension GetClassificationExportConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClassificationExportConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClassificationExportConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10529,7 +10529,7 @@ extension GetClassificationExportConfigurationOutput { extension GetClassificationScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClassificationScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClassificationScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10543,7 +10543,7 @@ extension GetClassificationScopeOutput { extension GetCustomDataIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomDataIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomDataIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10566,7 +10566,7 @@ extension GetCustomDataIdentifierOutput { extension GetFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10578,7 +10578,7 @@ extension GetFindingsOutput { extension GetFindingsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10597,7 +10597,7 @@ extension GetFindingsFilterOutput { extension GetFindingsPublicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsPublicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsPublicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10609,7 +10609,7 @@ extension GetFindingsPublicationConfigurationOutput { extension GetFindingStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10621,7 +10621,7 @@ extension GetFindingStatisticsOutput { extension GetInvitationsCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInvitationsCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInvitationsCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10633,7 +10633,7 @@ extension GetInvitationsCountOutput { extension GetMacieSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMacieSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMacieSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10649,7 +10649,7 @@ extension GetMacieSessionOutput { extension GetMasterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMasterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMasterAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10661,7 +10661,7 @@ extension GetMasterAccountOutput { extension GetMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10681,7 +10681,7 @@ extension GetMemberOutput { extension GetResourceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10696,7 +10696,7 @@ extension GetResourceProfileOutput { extension GetRevealConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRevealConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRevealConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10709,7 +10709,7 @@ extension GetRevealConfigurationOutput { extension GetSensitiveDataOccurrencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSensitiveDataOccurrencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSensitiveDataOccurrencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10723,7 +10723,7 @@ extension GetSensitiveDataOccurrencesOutput { extension GetSensitiveDataOccurrencesAvailabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSensitiveDataOccurrencesAvailabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSensitiveDataOccurrencesAvailabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10736,7 +10736,7 @@ extension GetSensitiveDataOccurrencesAvailabilityOutput { extension GetSensitivityInspectionTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSensitivityInspectionTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSensitivityInspectionTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10752,7 +10752,7 @@ extension GetSensitivityInspectionTemplateOutput { extension GetUsageStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10766,7 +10766,7 @@ extension GetUsageStatisticsOutput { extension GetUsageTotalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageTotalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageTotalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10779,7 +10779,7 @@ extension GetUsageTotalsOutput { extension ListAllowListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAllowListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAllowListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10792,7 +10792,7 @@ extension ListAllowListsOutput { extension ListAutomatedDiscoveryAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAutomatedDiscoveryAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAutomatedDiscoveryAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10805,7 +10805,7 @@ extension ListAutomatedDiscoveryAccountsOutput { extension ListClassificationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClassificationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClassificationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10818,7 +10818,7 @@ extension ListClassificationJobsOutput { extension ListClassificationScopesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClassificationScopesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClassificationScopesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10831,7 +10831,7 @@ extension ListClassificationScopesOutput { extension ListCustomDataIdentifiersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomDataIdentifiersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomDataIdentifiersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10844,7 +10844,7 @@ extension ListCustomDataIdentifiersOutput { extension ListFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10857,7 +10857,7 @@ extension ListFindingsOutput { extension ListFindingsFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingsFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingsFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10870,7 +10870,7 @@ extension ListFindingsFiltersOutput { extension ListInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10883,7 +10883,7 @@ extension ListInvitationsOutput { extension ListManagedDataIdentifiersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedDataIdentifiersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedDataIdentifiersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10896,7 +10896,7 @@ extension ListManagedDataIdentifiersOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10909,7 +10909,7 @@ extension ListMembersOutput { extension ListOrganizationAdminAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationAdminAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationAdminAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10922,7 +10922,7 @@ extension ListOrganizationAdminAccountsOutput { extension ListResourceProfileArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceProfileArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceProfileArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10935,7 +10935,7 @@ extension ListResourceProfileArtifactsOutput { extension ListResourceProfileDetectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceProfileDetectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceProfileDetectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10948,7 +10948,7 @@ extension ListResourceProfileDetectionsOutput { extension ListSensitivityInspectionTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSensitivityInspectionTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSensitivityInspectionTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10961,7 +10961,7 @@ extension ListSensitivityInspectionTemplatesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10973,7 +10973,7 @@ extension ListTagsForResourceOutput { extension PutClassificationExportConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutClassificationExportConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutClassificationExportConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10985,14 +10985,14 @@ extension PutClassificationExportConfigurationOutput { extension PutFindingsPublicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFindingsPublicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFindingsPublicationConfigurationOutput { return PutFindingsPublicationConfigurationOutput() } } extension SearchResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11005,14 +11005,14 @@ extension SearchResourcesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestCustomDataIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestCustomDataIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestCustomDataIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11024,14 +11024,14 @@ extension TestCustomDataIdentifierOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAllowListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAllowListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAllowListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11044,28 +11044,28 @@ extension UpdateAllowListOutput { extension UpdateAutomatedDiscoveryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAutomatedDiscoveryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAutomatedDiscoveryConfigurationOutput { return UpdateAutomatedDiscoveryConfigurationOutput() } } extension UpdateClassificationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClassificationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClassificationJobOutput { return UpdateClassificationJobOutput() } } extension UpdateClassificationScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClassificationScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClassificationScopeOutput { return UpdateClassificationScopeOutput() } } extension UpdateFindingsFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFindingsFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFindingsFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11078,42 +11078,42 @@ extension UpdateFindingsFilterOutput { extension UpdateMacieSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMacieSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMacieSessionOutput { return UpdateMacieSessionOutput() } } extension UpdateMemberSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMemberSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMemberSessionOutput { return UpdateMemberSessionOutput() } } extension UpdateOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationConfigurationOutput { return UpdateOrganizationConfigurationOutput() } } extension UpdateResourceProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceProfileOutput { return UpdateResourceProfileOutput() } } extension UpdateResourceProfileDetectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceProfileDetectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceProfileDetectionsOutput { return UpdateResourceProfileDetectionsOutput() } } extension UpdateRevealConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRevealConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRevealConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11126,14 +11126,14 @@ extension UpdateRevealConfigurationOutput { extension UpdateSensitivityInspectionTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSensitivityInspectionTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSensitivityInspectionTemplateOutput { return UpdateSensitivityInspectionTemplateOutput() } } enum AcceptInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11153,7 +11153,7 @@ enum AcceptInvitationOutputError { enum BatchGetCustomDataIdentifiersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11173,7 +11173,7 @@ enum BatchGetCustomDataIdentifiersOutputError { enum BatchUpdateAutomatedDiscoveryAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11191,7 +11191,7 @@ enum BatchUpdateAutomatedDiscoveryAccountsOutputError { enum CreateAllowListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11211,7 +11211,7 @@ enum CreateAllowListOutputError { enum CreateClassificationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11231,7 +11231,7 @@ enum CreateClassificationJobOutputError { enum CreateCustomDataIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11251,7 +11251,7 @@ enum CreateCustomDataIdentifierOutputError { enum CreateFindingsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11271,7 +11271,7 @@ enum CreateFindingsFilterOutputError { enum CreateInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11291,7 +11291,7 @@ enum CreateInvitationsOutputError { enum CreateMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11311,7 +11311,7 @@ enum CreateMemberOutputError { enum CreateSampleFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11331,7 +11331,7 @@ enum CreateSampleFindingsOutputError { enum DeclineInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11351,7 +11351,7 @@ enum DeclineInvitationsOutputError { enum DeleteAllowListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11369,7 +11369,7 @@ enum DeleteAllowListOutputError { enum DeleteCustomDataIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11389,7 +11389,7 @@ enum DeleteCustomDataIdentifierOutputError { enum DeleteFindingsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11409,7 +11409,7 @@ enum DeleteFindingsFilterOutputError { enum DeleteInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11429,7 +11429,7 @@ enum DeleteInvitationsOutputError { enum DeleteMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11449,7 +11449,7 @@ enum DeleteMemberOutputError { enum DescribeBucketsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11469,7 +11469,7 @@ enum DescribeBucketsOutputError { enum DescribeClassificationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11489,7 +11489,7 @@ enum DescribeClassificationJobOutputError { enum DescribeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11509,7 +11509,7 @@ enum DescribeOrganizationConfigurationOutputError { enum DisableMacieOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11529,7 +11529,7 @@ enum DisableMacieOutputError { enum DisableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11549,7 +11549,7 @@ enum DisableOrganizationAdminAccountOutputError { enum DisassociateFromAdministratorAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11569,7 +11569,7 @@ enum DisassociateFromAdministratorAccountOutputError { enum DisassociateFromMasterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11589,7 +11589,7 @@ enum DisassociateFromMasterAccountOutputError { enum DisassociateMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11609,7 +11609,7 @@ enum DisassociateMemberOutputError { enum EnableMacieOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11629,7 +11629,7 @@ enum EnableMacieOutputError { enum EnableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11649,7 +11649,7 @@ enum EnableOrganizationAdminAccountOutputError { enum GetAdministratorAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11669,7 +11669,7 @@ enum GetAdministratorAccountOutputError { enum GetAllowListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11687,7 +11687,7 @@ enum GetAllowListOutputError { enum GetAutomatedDiscoveryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11704,7 +11704,7 @@ enum GetAutomatedDiscoveryConfigurationOutputError { enum GetBucketStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11724,7 +11724,7 @@ enum GetBucketStatisticsOutputError { enum GetClassificationExportConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11744,7 +11744,7 @@ enum GetClassificationExportConfigurationOutputError { enum GetClassificationScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11762,7 +11762,7 @@ enum GetClassificationScopeOutputError { enum GetCustomDataIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11782,7 +11782,7 @@ enum GetCustomDataIdentifierOutputError { enum GetFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11802,7 +11802,7 @@ enum GetFindingsOutputError { enum GetFindingsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11822,7 +11822,7 @@ enum GetFindingsFilterOutputError { enum GetFindingsPublicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11842,7 +11842,7 @@ enum GetFindingsPublicationConfigurationOutputError { enum GetFindingStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11862,7 +11862,7 @@ enum GetFindingStatisticsOutputError { enum GetInvitationsCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11882,7 +11882,7 @@ enum GetInvitationsCountOutputError { enum GetMacieSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11902,7 +11902,7 @@ enum GetMacieSessionOutputError { enum GetMasterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11922,7 +11922,7 @@ enum GetMasterAccountOutputError { enum GetMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11942,7 +11942,7 @@ enum GetMemberOutputError { enum GetResourceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11961,7 +11961,7 @@ enum GetResourceProfileOutputError { enum GetRevealConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11978,7 +11978,7 @@ enum GetRevealConfigurationOutputError { enum GetSensitiveDataOccurrencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11997,7 +11997,7 @@ enum GetSensitiveDataOccurrencesOutputError { enum GetSensitiveDataOccurrencesAvailabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12014,7 +12014,7 @@ enum GetSensitiveDataOccurrencesAvailabilityOutputError { enum GetSensitivityInspectionTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12032,7 +12032,7 @@ enum GetSensitivityInspectionTemplateOutputError { enum GetUsageStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12052,7 +12052,7 @@ enum GetUsageStatisticsOutputError { enum GetUsageTotalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12072,7 +12072,7 @@ enum GetUsageTotalsOutputError { enum ListAllowListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12089,7 +12089,7 @@ enum ListAllowListsOutputError { enum ListAutomatedDiscoveryAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12107,7 +12107,7 @@ enum ListAutomatedDiscoveryAccountsOutputError { enum ListClassificationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12127,7 +12127,7 @@ enum ListClassificationJobsOutputError { enum ListClassificationScopesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12144,7 +12144,7 @@ enum ListClassificationScopesOutputError { enum ListCustomDataIdentifiersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12164,7 +12164,7 @@ enum ListCustomDataIdentifiersOutputError { enum ListFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12184,7 +12184,7 @@ enum ListFindingsOutputError { enum ListFindingsFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12204,7 +12204,7 @@ enum ListFindingsFiltersOutputError { enum ListInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12224,7 +12224,7 @@ enum ListInvitationsOutputError { enum ListManagedDataIdentifiersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12237,7 +12237,7 @@ enum ListManagedDataIdentifiersOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12257,7 +12257,7 @@ enum ListMembersOutputError { enum ListOrganizationAdminAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12277,7 +12277,7 @@ enum ListOrganizationAdminAccountsOutputError { enum ListResourceProfileArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12295,7 +12295,7 @@ enum ListResourceProfileArtifactsOutputError { enum ListResourceProfileDetectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12314,7 +12314,7 @@ enum ListResourceProfileDetectionsOutputError { enum ListSensitivityInspectionTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12332,7 +12332,7 @@ enum ListSensitivityInspectionTemplatesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12345,7 +12345,7 @@ enum ListTagsForResourceOutputError { enum PutClassificationExportConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12365,7 +12365,7 @@ enum PutClassificationExportConfigurationOutputError { enum PutFindingsPublicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12385,7 +12385,7 @@ enum PutFindingsPublicationConfigurationOutputError { enum SearchResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12405,7 +12405,7 @@ enum SearchResourcesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12418,7 +12418,7 @@ enum TagResourceOutputError { enum TestCustomDataIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12438,7 +12438,7 @@ enum TestCustomDataIdentifierOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12451,7 +12451,7 @@ enum UntagResourceOutputError { enum UpdateAllowListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12469,7 +12469,7 @@ enum UpdateAllowListOutputError { enum UpdateAutomatedDiscoveryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12486,7 +12486,7 @@ enum UpdateAutomatedDiscoveryConfigurationOutputError { enum UpdateClassificationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12506,7 +12506,7 @@ enum UpdateClassificationJobOutputError { enum UpdateClassificationScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12524,7 +12524,7 @@ enum UpdateClassificationScopeOutputError { enum UpdateFindingsFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12544,7 +12544,7 @@ enum UpdateFindingsFilterOutputError { enum UpdateMacieSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12564,7 +12564,7 @@ enum UpdateMacieSessionOutputError { enum UpdateMemberSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12584,7 +12584,7 @@ enum UpdateMemberSessionOutputError { enum UpdateOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12604,7 +12604,7 @@ enum UpdateOrganizationConfigurationOutputError { enum UpdateResourceProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12623,7 +12623,7 @@ enum UpdateResourceProfileOutputError { enum UpdateResourceProfileDetectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12642,7 +12642,7 @@ enum UpdateResourceProfileDetectionsOutputError { enum UpdateRevealConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12659,7 +12659,7 @@ enum UpdateRevealConfigurationOutputError { enum UpdateSensitivityInspectionTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMailManager/Sources/AWSMailManager/Models.swift b/Sources/Services/AWSMailManager/Sources/AWSMailManager/Models.swift index 47edbb35bf2..770f72584e0 100644 --- a/Sources/Services/AWSMailManager/Sources/AWSMailManager/Models.swift +++ b/Sources/Services/AWSMailManager/Sources/AWSMailManager/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -64,7 +64,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -195,7 +195,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -219,7 +219,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -243,7 +243,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -963,7 +963,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1435,6 +1435,11 @@ extension MailManagerClientTypes { } +extension MailManagerClientTypes.ReplaceRecipientAction: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ReplaceRecipientAction(replaceWith: \"CONTENT_REDACTED\")"} +} + extension MailManagerClientTypes { /// Sends the email to the internet using the ses:SendRawEmail API. public struct SendAction { @@ -4250,6 +4255,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagResourceOutput { public init() { } @@ -5028,7 +5038,7 @@ extension UpdateTrafficPolicyInput { extension CreateAddonInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAddonInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAddonInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5040,7 +5050,7 @@ extension CreateAddonInstanceOutput { extension CreateAddonSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAddonSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAddonSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5052,7 +5062,7 @@ extension CreateAddonSubscriptionOutput { extension CreateArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5064,7 +5074,7 @@ extension CreateArchiveOutput { extension CreateIngressPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIngressPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIngressPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5076,7 +5086,7 @@ extension CreateIngressPointOutput { extension CreateRelayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRelayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRelayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5088,7 +5098,7 @@ extension CreateRelayOutput { extension CreateRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5100,7 +5110,7 @@ extension CreateRuleSetOutput { extension CreateTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5112,56 +5122,56 @@ extension CreateTrafficPolicyOutput { extension DeleteAddonInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAddonInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAddonInstanceOutput { return DeleteAddonInstanceOutput() } } extension DeleteAddonSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAddonSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAddonSubscriptionOutput { return DeleteAddonSubscriptionOutput() } } extension DeleteArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteArchiveOutput { return DeleteArchiveOutput() } } extension DeleteIngressPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIngressPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIngressPointOutput { return DeleteIngressPointOutput() } } extension DeleteRelayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRelayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRelayOutput { return DeleteRelayOutput() } } extension DeleteRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleSetOutput { return DeleteRuleSetOutput() } } extension DeleteTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficPolicyOutput { return DeleteTrafficPolicyOutput() } } extension GetAddonInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAddonInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAddonInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5176,7 +5186,7 @@ extension GetAddonInstanceOutput { extension GetAddonSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAddonSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAddonSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5190,7 +5200,7 @@ extension GetAddonSubscriptionOutput { extension GetArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5209,7 +5219,7 @@ extension GetArchiveOutput { extension GetArchiveExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5227,7 +5237,7 @@ extension GetArchiveExportOutput { extension GetArchiveMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5239,7 +5249,7 @@ extension GetArchiveMessageOutput { extension GetArchiveMessageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveMessageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveMessageContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5251,7 +5261,7 @@ extension GetArchiveMessageContentOutput { extension GetArchiveSearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveSearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveSearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5268,7 +5278,7 @@ extension GetArchiveSearchOutput { extension GetArchiveSearchResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchiveSearchResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchiveSearchResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5280,7 +5290,7 @@ extension GetArchiveSearchResultsOutput { extension GetIngressPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIngressPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIngressPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5302,7 +5312,7 @@ extension GetIngressPointOutput { extension GetRelayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRelayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRelayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5321,7 +5331,7 @@ extension GetRelayOutput { extension GetRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5338,7 +5348,7 @@ extension GetRuleSetOutput { extension GetTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrafficPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5357,7 +5367,7 @@ extension GetTrafficPolicyOutput { extension ListAddonInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAddonInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAddonInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5370,7 +5380,7 @@ extension ListAddonInstancesOutput { extension ListAddonSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAddonSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAddonSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5383,7 +5393,7 @@ extension ListAddonSubscriptionsOutput { extension ListArchiveExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArchiveExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArchiveExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5396,7 +5406,7 @@ extension ListArchiveExportsOutput { extension ListArchivesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArchivesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArchivesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5409,7 +5419,7 @@ extension ListArchivesOutput { extension ListArchiveSearchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArchiveSearchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArchiveSearchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5422,7 +5432,7 @@ extension ListArchiveSearchesOutput { extension ListIngressPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIngressPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIngressPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5435,7 +5445,7 @@ extension ListIngressPointsOutput { extension ListRelaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRelaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRelaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5448,7 +5458,7 @@ extension ListRelaysOutput { extension ListRuleSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5461,7 +5471,7 @@ extension ListRuleSetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5473,7 +5483,7 @@ extension ListTagsForResourceOutput { extension ListTrafficPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5486,7 +5496,7 @@ extension ListTrafficPoliciesOutput { extension StartArchiveExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartArchiveExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartArchiveExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5498,7 +5508,7 @@ extension StartArchiveExportOutput { extension StartArchiveSearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartArchiveSearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartArchiveSearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5510,70 +5520,70 @@ extension StartArchiveSearchOutput { extension StopArchiveExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopArchiveExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopArchiveExportOutput { return StopArchiveExportOutput() } } extension StopArchiveSearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopArchiveSearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopArchiveSearchOutput { return StopArchiveSearchOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateArchiveOutput { return UpdateArchiveOutput() } } extension UpdateIngressPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIngressPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIngressPointOutput { return UpdateIngressPointOutput() } } extension UpdateRelayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRelayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRelayOutput { return UpdateRelayOutput() } } extension UpdateRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleSetOutput { return UpdateRuleSetOutput() } } extension UpdateTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrafficPolicyOutput { return UpdateTrafficPolicyOutput() } } enum CreateAddonInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5590,7 +5600,7 @@ enum CreateAddonInstanceOutputError { enum CreateAddonSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5606,7 +5616,7 @@ enum CreateAddonSubscriptionOutputError { enum CreateArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5624,7 +5634,7 @@ enum CreateArchiveOutputError { enum CreateIngressPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5640,7 +5650,7 @@ enum CreateIngressPointOutputError { enum CreateRelayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5656,7 +5666,7 @@ enum CreateRelayOutputError { enum CreateRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5672,7 +5682,7 @@ enum CreateRuleSetOutputError { enum CreateTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5688,7 +5698,7 @@ enum CreateTrafficPolicyOutputError { enum DeleteAddonInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5703,7 +5713,7 @@ enum DeleteAddonInstanceOutputError { enum DeleteAddonSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5718,7 +5728,7 @@ enum DeleteAddonSubscriptionOutputError { enum DeleteArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5735,7 +5745,7 @@ enum DeleteArchiveOutputError { enum DeleteIngressPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5751,7 +5761,7 @@ enum DeleteIngressPointOutputError { enum DeleteRelayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5767,7 +5777,7 @@ enum DeleteRelayOutputError { enum DeleteRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5782,7 +5792,7 @@ enum DeleteRuleSetOutputError { enum DeleteTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5798,7 +5808,7 @@ enum DeleteTrafficPolicyOutputError { enum GetAddonInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5813,7 +5823,7 @@ enum GetAddonInstanceOutputError { enum GetAddonSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5828,7 +5838,7 @@ enum GetAddonSubscriptionOutputError { enum GetArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5845,7 +5855,7 @@ enum GetArchiveOutputError { enum GetArchiveExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5861,7 +5871,7 @@ enum GetArchiveExportOutputError { enum GetArchiveMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5877,7 +5887,7 @@ enum GetArchiveMessageOutputError { enum GetArchiveMessageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5893,7 +5903,7 @@ enum GetArchiveMessageContentOutputError { enum GetArchiveSearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5909,7 +5919,7 @@ enum GetArchiveSearchOutputError { enum GetArchiveSearchResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5926,7 +5936,7 @@ enum GetArchiveSearchResultsOutputError { enum GetIngressPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5941,7 +5951,7 @@ enum GetIngressPointOutputError { enum GetRelayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5956,7 +5966,7 @@ enum GetRelayOutputError { enum GetRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5971,7 +5981,7 @@ enum GetRuleSetOutputError { enum GetTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5986,7 +5996,7 @@ enum GetTrafficPolicyOutputError { enum ListAddonInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6000,7 +6010,7 @@ enum ListAddonInstancesOutputError { enum ListAddonSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6014,7 +6024,7 @@ enum ListAddonSubscriptionsOutputError { enum ListArchiveExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6031,7 +6041,7 @@ enum ListArchiveExportsOutputError { enum ListArchivesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6047,7 +6057,7 @@ enum ListArchivesOutputError { enum ListArchiveSearchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6064,7 +6074,7 @@ enum ListArchiveSearchesOutputError { enum ListIngressPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6078,7 +6088,7 @@ enum ListIngressPointsOutputError { enum ListRelaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6092,7 +6102,7 @@ enum ListRelaysOutputError { enum ListRuleSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6106,7 +6116,7 @@ enum ListRuleSetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6121,7 +6131,7 @@ enum ListTagsForResourceOutputError { enum ListTrafficPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6135,7 +6145,7 @@ enum ListTrafficPoliciesOutputError { enum StartArchiveExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6153,7 +6163,7 @@ enum StartArchiveExportOutputError { enum StartArchiveSearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6172,7 +6182,7 @@ enum StartArchiveSearchOutputError { enum StopArchiveExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6188,7 +6198,7 @@ enum StopArchiveExportOutputError { enum StopArchiveSearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6204,7 +6214,7 @@ enum StopArchiveSearchOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6221,7 +6231,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6237,7 +6247,7 @@ enum UntagResourceOutputError { enum UpdateArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6256,7 +6266,7 @@ enum UpdateArchiveOutputError { enum UpdateIngressPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6272,7 +6282,7 @@ enum UpdateIngressPointOutputError { enum UpdateRelayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6288,7 +6298,7 @@ enum UpdateRelayOutputError { enum UpdateRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6304,7 +6314,7 @@ enum UpdateRuleSetOutputError { enum UpdateTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/Models.swift b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/Models.swift index ddcca45b930..2f7ff1cfaf7 100644 --- a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/Models.swift +++ b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -282,7 +282,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -301,7 +301,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -325,7 +325,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -349,7 +349,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -367,7 +367,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -388,7 +388,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -475,7 +475,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -501,7 +501,7 @@ public struct ResourceNotReadyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1956,7 +1956,7 @@ public struct IllegalActionException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3324,7 +3324,7 @@ extension VoteOnProposalInput { extension CreateAccessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3338,7 +3338,7 @@ extension CreateAccessorOutput { extension CreateMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3350,7 +3350,7 @@ extension CreateMemberOutput { extension CreateNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3363,7 +3363,7 @@ extension CreateNetworkOutput { extension CreateNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3375,7 +3375,7 @@ extension CreateNodeOutput { extension CreateProposalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProposalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProposalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3387,28 +3387,28 @@ extension CreateProposalOutput { extension DeleteAccessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessorOutput { return DeleteAccessorOutput() } } extension DeleteMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMemberOutput { return DeleteMemberOutput() } } extension DeleteNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNodeOutput { return DeleteNodeOutput() } } extension GetAccessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3420,7 +3420,7 @@ extension GetAccessorOutput { extension GetMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3432,7 +3432,7 @@ extension GetMemberOutput { extension GetNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3444,7 +3444,7 @@ extension GetNetworkOutput { extension GetNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3456,7 +3456,7 @@ extension GetNodeOutput { extension GetProposalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProposalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProposalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3468,7 +3468,7 @@ extension GetProposalOutput { extension ListAccessorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3481,7 +3481,7 @@ extension ListAccessorsOutput { extension ListInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3494,7 +3494,7 @@ extension ListInvitationsOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3507,7 +3507,7 @@ extension ListMembersOutput { extension ListNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3520,7 +3520,7 @@ extension ListNetworksOutput { extension ListNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3533,7 +3533,7 @@ extension ListNodesOutput { extension ListProposalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProposalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProposalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3546,7 +3546,7 @@ extension ListProposalsOutput { extension ListProposalVotesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProposalVotesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProposalVotesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3559,7 +3559,7 @@ extension ListProposalVotesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3571,49 +3571,49 @@ extension ListTagsForResourceOutput { extension RejectInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectInvitationOutput { return RejectInvitationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMemberOutput { return UpdateMemberOutput() } } extension UpdateNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNodeOutput { return UpdateNodeOutput() } } extension VoteOnProposalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VoteOnProposalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VoteOnProposalOutput { return VoteOnProposalOutput() } } enum CreateAccessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3633,7 +3633,7 @@ enum CreateAccessorOutputError { enum CreateMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3655,7 +3655,7 @@ enum CreateMemberOutputError { enum CreateNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3675,7 +3675,7 @@ enum CreateNetworkOutputError { enum CreateNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3697,7 +3697,7 @@ enum CreateNodeOutputError { enum CreateProposalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3717,7 +3717,7 @@ enum CreateProposalOutputError { enum DeleteAccessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3735,7 +3735,7 @@ enum DeleteAccessorOutputError { enum DeleteMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3754,7 +3754,7 @@ enum DeleteMemberOutputError { enum DeleteNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3773,7 +3773,7 @@ enum DeleteNodeOutputError { enum GetAccessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3791,7 +3791,7 @@ enum GetAccessorOutputError { enum GetMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3809,7 +3809,7 @@ enum GetMemberOutputError { enum GetNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3827,7 +3827,7 @@ enum GetNetworkOutputError { enum GetNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3845,7 +3845,7 @@ enum GetNodeOutputError { enum GetProposalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3863,7 +3863,7 @@ enum GetProposalOutputError { enum ListAccessorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3880,7 +3880,7 @@ enum ListAccessorsOutputError { enum ListInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3899,7 +3899,7 @@ enum ListInvitationsOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3916,7 +3916,7 @@ enum ListMembersOutputError { enum ListNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3933,7 +3933,7 @@ enum ListNetworksOutputError { enum ListNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3950,7 +3950,7 @@ enum ListNodesOutputError { enum ListProposalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3968,7 +3968,7 @@ enum ListProposalsOutputError { enum ListProposalVotesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3985,7 +3985,7 @@ enum ListProposalVotesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4002,7 +4002,7 @@ enum ListTagsForResourceOutputError { enum RejectInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4021,7 +4021,7 @@ enum RejectInvitationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4039,7 +4039,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4056,7 +4056,7 @@ enum UntagResourceOutputError { enum UpdateMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4074,7 +4074,7 @@ enum UpdateMemberOutputError { enum UpdateNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4092,7 +4092,7 @@ enum UpdateNodeOutputError { enum VoteOnProposalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/Models.swift b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/Models.swift index 4baa054d06e..70e166991ab 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/Models.swift +++ b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -200,7 +200,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -260,7 +260,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -302,7 +302,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -344,7 +344,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -438,7 +438,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1853,7 +1853,7 @@ extension ListTransactionsInput { extension BatchGetTokenBalanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetTokenBalanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetTokenBalanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1866,7 +1866,7 @@ extension BatchGetTokenBalanceOutput { extension GetAssetContractOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssetContractOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssetContractOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1881,7 +1881,7 @@ extension GetAssetContractOutput { extension GetTokenBalanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTokenBalanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTokenBalanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1897,7 +1897,7 @@ extension GetTokenBalanceOutput { extension GetTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1909,7 +1909,7 @@ extension GetTransactionOutput { extension ListAssetContractsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetContractsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetContractsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1922,7 +1922,7 @@ extension ListAssetContractsOutput { extension ListFilteredTransactionEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFilteredTransactionEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFilteredTransactionEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1935,7 +1935,7 @@ extension ListFilteredTransactionEventsOutput { extension ListTokenBalancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTokenBalancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTokenBalancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1948,7 +1948,7 @@ extension ListTokenBalancesOutput { extension ListTransactionEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTransactionEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTransactionEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1961,7 +1961,7 @@ extension ListTransactionEventsOutput { extension ListTransactionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTransactionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTransactionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1974,7 +1974,7 @@ extension ListTransactionsOutput { enum BatchGetTokenBalanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1993,7 +1993,7 @@ enum BatchGetTokenBalanceOutputError { enum GetAssetContractOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2012,7 +2012,7 @@ enum GetAssetContractOutputError { enum GetTokenBalanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2031,7 +2031,7 @@ enum GetTokenBalanceOutputError { enum GetTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2050,7 +2050,7 @@ enum GetTransactionOutputError { enum ListAssetContractsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2068,7 +2068,7 @@ enum ListAssetContractsOutputError { enum ListFilteredTransactionEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2086,7 +2086,7 @@ enum ListFilteredTransactionEventsOutputError { enum ListTokenBalancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2104,7 +2104,7 @@ enum ListTokenBalancesOutputError { enum ListTransactionEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2122,7 +2122,7 @@ enum ListTransactionEventsOutputError { enum ListTransactionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/Models.swift b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/Models.swift index 51fe98c5206..5d8ef9ba8de 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/Models.swift +++ b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -577,7 +577,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -759,7 +759,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -817,7 +817,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -849,7 +849,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -959,7 +959,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1297,7 +1297,7 @@ extension SearchAgreementsInput { extension DescribeAgreementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAgreementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAgreementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1318,7 +1318,7 @@ extension DescribeAgreementOutput { extension GetAgreementTermsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAgreementTermsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAgreementTermsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1331,7 +1331,7 @@ extension GetAgreementTermsOutput { extension SearchAgreementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchAgreementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchAgreementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1344,7 +1344,7 @@ extension SearchAgreementsOutput { enum DescribeAgreementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1362,7 +1362,7 @@ enum DescribeAgreementOutputError { enum GetAgreementTermsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1380,7 +1380,7 @@ enum GetAgreementTermsOutputError { enum SearchAgreementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/Models.swift b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/Models.swift index c83bb60fffe..b32ba06ee21 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/Models.swift +++ b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -316,7 +316,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -340,7 +340,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -364,7 +364,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -491,7 +491,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -515,7 +515,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -830,7 +830,7 @@ public struct ResourceNotSupportedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3013,7 +3013,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3424,7 +3424,7 @@ extension UntagResourceInput { extension BatchDescribeEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDescribeEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDescribeEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3437,7 +3437,7 @@ extension BatchDescribeEntitiesOutput { extension CancelChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3450,14 +3450,14 @@ extension CancelChangeSetOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DescribeChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3478,7 +3478,7 @@ extension DescribeChangeSetOutput { extension DescribeEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3495,7 +3495,7 @@ extension DescribeEntityOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3507,7 +3507,7 @@ extension GetResourcePolicyOutput { extension ListChangeSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChangeSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChangeSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3520,7 +3520,7 @@ extension ListChangeSetsOutput { extension ListEntitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3533,7 +3533,7 @@ extension ListEntitiesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3546,14 +3546,14 @@ extension ListTagsForResourceOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { return PutResourcePolicyOutput() } } extension StartChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3566,21 +3566,21 @@ extension StartChangeSetOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum BatchDescribeEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3597,7 +3597,7 @@ enum BatchDescribeEntitiesOutputError { enum CancelChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3616,7 +3616,7 @@ enum CancelChangeSetOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3634,7 +3634,7 @@ enum DeleteResourcePolicyOutputError { enum DescribeChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3652,7 +3652,7 @@ enum DescribeChangeSetOutputError { enum DescribeEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3671,7 +3671,7 @@ enum DescribeEntityOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3689,7 +3689,7 @@ enum GetResourcePolicyOutputError { enum ListChangeSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3706,7 +3706,7 @@ enum ListChangeSetsOutputError { enum ListEntitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3724,7 +3724,7 @@ enum ListEntitiesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3742,7 +3742,7 @@ enum ListTagsForResourceOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3760,7 +3760,7 @@ enum PutResourcePolicyOutputError { enum StartChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3780,7 +3780,7 @@ enum StartChangeSetOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3798,7 +3798,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/Models.swift b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/Models.swift index a873c8a5d58..01860f9d40a 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/Models.swift +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -130,7 +130,7 @@ public struct MarketplaceCommerceAnalyticsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -381,7 +381,7 @@ extension StartSupportDataExportInput { extension GenerateDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -393,7 +393,7 @@ extension GenerateDataSetOutput { extension StartSupportDataExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSupportDataExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSupportDataExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -405,7 +405,7 @@ extension StartSupportDataExportOutput { enum GenerateDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -419,7 +419,7 @@ enum GenerateDataSetOutputError { enum StartSupportDataExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/Models.swift b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/Models.swift index 3db44a67800..8c4a5cad0d6 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/Models.swift +++ b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -90,7 +90,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -115,7 +115,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -140,7 +140,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -165,7 +165,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -193,7 +193,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -452,7 +452,7 @@ extension TagResourceInput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -464,7 +464,7 @@ extension ListTagsForResourceOutput { extension PutDeploymentParameterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeploymentParameterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeploymentParameterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -479,21 +479,21 @@ extension PutDeploymentParameterOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -511,7 +511,7 @@ enum ListTagsForResourceOutputError { enum PutDeploymentParameterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -531,7 +531,7 @@ enum PutDeploymentParameterOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -550,7 +550,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/Models.swift b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/Models.swift index 8c4f2c3ddce..f07a7c839a9 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/Models.swift +++ b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -57,7 +57,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -245,7 +245,7 @@ extension GetEntitlementsInput { extension GetEntitlementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEntitlementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEntitlementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -258,7 +258,7 @@ extension GetEntitlementsOutput { enum GetEntitlementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/Models.swift b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/Models.swift index e77ec69e67f..c19a79204cb 100644 --- a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/Models.swift +++ b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -31,7 +31,7 @@ public struct DisabledApiException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -55,7 +55,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -79,7 +79,7 @@ public struct InvalidCustomerIdentifierException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct InvalidProductCodeException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct InvalidTagException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct InvalidUsageAllocationsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -175,7 +175,7 @@ public struct InvalidUsageDimensionException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -199,7 +199,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -223,7 +223,7 @@ public struct TimestampOutOfBoundsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -432,7 +432,7 @@ public struct CustomerNotEntitledException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -456,7 +456,7 @@ public struct DuplicateRequestException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -480,7 +480,7 @@ public struct InvalidEndpointRegionException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -551,7 +551,7 @@ public struct InvalidPublicKeyVersionException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -575,7 +575,7 @@ public struct InvalidRegionException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -599,7 +599,7 @@ public struct PlatformNotSupportedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -661,7 +661,7 @@ public struct ExpiredTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -685,7 +685,7 @@ public struct InvalidTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -802,7 +802,7 @@ extension ResolveCustomerInput { extension BatchMeterUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchMeterUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchMeterUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -815,7 +815,7 @@ extension BatchMeterUsageOutput { extension MeterUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MeterUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MeterUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -827,7 +827,7 @@ extension MeterUsageOutput { extension RegisterUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -840,7 +840,7 @@ extension RegisterUsageOutput { extension ResolveCustomerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResolveCustomerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResolveCustomerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -854,7 +854,7 @@ extension ResolveCustomerOutput { enum BatchMeterUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -876,7 +876,7 @@ enum BatchMeterUsageOutputError { enum MeterUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -899,7 +899,7 @@ enum MeterUsageOutputError { enum RegisterUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -920,7 +920,7 @@ enum RegisterUsageOutputError { enum ResolveCustomerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/Models.swift b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/Models.swift index 6e758baed68..a637114cab3 100644 --- a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/Models.swift +++ b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -812,6 +812,35 @@ extension MediaConnectClientTypes { } +extension MediaConnectClientTypes { + + public enum OutputStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [OutputStatus] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + extension MediaConnectClientTypes { /// The output that you want to add to this flow. public struct AddOutputRequest { @@ -831,6 +860,8 @@ extension MediaConnectClientTypes { public var minLatency: Swift.Int? /// The name of the output. This value must be unique within the current flow. public var name: Swift.String? + /// An indication of whether the new output should be enabled or disabled as soon as it is created. If you don't specify the outputStatus field in your request, MediaConnect sets it to ENABLED. + public var outputStatus: MediaConnectClientTypes.OutputStatus? /// The port to use when content is distributed to this output. public var port: Swift.Int? /// The protocol to use for the output. @@ -856,6 +887,7 @@ extension MediaConnectClientTypes { mediaStreamOutputConfigurations: [MediaConnectClientTypes.MediaStreamOutputConfigurationRequest]? = nil, minLatency: Swift.Int? = nil, name: Swift.String? = nil, + outputStatus: MediaConnectClientTypes.OutputStatus? = nil, port: Swift.Int? = nil, `protocol`: MediaConnectClientTypes.ModelProtocol? = nil, remoteId: Swift.String? = nil, @@ -873,6 +905,7 @@ extension MediaConnectClientTypes { self.mediaStreamOutputConfigurations = mediaStreamOutputConfigurations self.minLatency = minLatency self.name = name + self.outputStatus = outputStatus self.port = port self.`protocol` = `protocol` self.remoteId = remoteId @@ -2224,6 +2257,8 @@ extension MediaConnectClientTypes { /// The ARN of the output. /// This member is required. public var outputArn: Swift.String? + /// An indication of whether the output is transmitting data or not. + public var outputStatus: MediaConnectClientTypes.OutputStatus? /// The port to use when content is distributed to this output. public var port: Swift.Int? /// Attributes related to the transport stream that are used in the output. @@ -2244,6 +2279,7 @@ extension MediaConnectClientTypes { mediaStreamOutputConfigurations: [MediaConnectClientTypes.MediaStreamOutputConfiguration]? = nil, name: Swift.String? = nil, outputArn: Swift.String? = nil, + outputStatus: MediaConnectClientTypes.OutputStatus? = nil, port: Swift.Int? = nil, transport: MediaConnectClientTypes.Transport? = nil, vpcInterfaceAttachment: MediaConnectClientTypes.VpcInterfaceAttachment? = nil @@ -2261,6 +2297,7 @@ extension MediaConnectClientTypes { self.mediaStreamOutputConfigurations = mediaStreamOutputConfigurations self.name = name self.outputArn = outputArn + self.outputStatus = outputStatus self.port = port self.transport = transport self.vpcInterfaceAttachment = vpcInterfaceAttachment @@ -2810,7 +2847,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2836,7 +2873,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2862,7 +2899,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2888,7 +2925,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2914,7 +2951,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2940,7 +2977,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2966,7 +3003,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3113,7 +3150,7 @@ public struct AddFlowOutputs420Exception: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3543,7 +3580,7 @@ public struct CreateBridge420Exception: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3621,7 +3658,7 @@ public struct CreateFlow420Exception: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3782,7 +3819,7 @@ public struct CreateGateway420Exception: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4302,7 +4339,7 @@ public struct GrantFlowEntitlements420Exception: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5502,6 +5539,8 @@ public struct UpdateFlowOutputInput { /// The ARN of the output that you want to update. /// This member is required. public var outputArn: Swift.String? + /// An indication of whether the output should transmit data or not. If you don't specify the outputStatus field in your request, MediaConnect leaves the value unchanged. + public var outputStatus: MediaConnectClientTypes.OutputStatus? /// The port to use when content is distributed to this output. public var port: Swift.Int? /// The protocol to use for the output. @@ -5529,6 +5568,7 @@ public struct UpdateFlowOutputInput { mediaStreamOutputConfigurations: [MediaConnectClientTypes.MediaStreamOutputConfigurationRequest]? = nil, minLatency: Swift.Int? = nil, outputArn: Swift.String? = nil, + outputStatus: MediaConnectClientTypes.OutputStatus? = nil, port: Swift.Int? = nil, `protocol`: MediaConnectClientTypes.ModelProtocol? = nil, remoteId: Swift.String? = nil, @@ -5548,6 +5588,7 @@ public struct UpdateFlowOutputInput { self.mediaStreamOutputConfigurations = mediaStreamOutputConfigurations self.minLatency = minLatency self.outputArn = outputArn + self.outputStatus = outputStatus self.port = port self.`protocol` = `protocol` self.remoteId = remoteId @@ -6595,6 +6636,7 @@ extension UpdateFlowOutputInput { try writer["maxLatency"].write(value.maxLatency) try writer["mediaStreamOutputConfigurations"].writeList(value.mediaStreamOutputConfigurations, memberWritingClosure: MediaConnectClientTypes.MediaStreamOutputConfigurationRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["minLatency"].write(value.minLatency) + try writer["outputStatus"].write(value.outputStatus) try writer["port"].write(value.port) try writer["protocol"].write(value.`protocol`) try writer["remoteId"].write(value.remoteId) @@ -6641,7 +6683,7 @@ extension UpdateGatewayInstanceInput { extension AddBridgeOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddBridgeOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddBridgeOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6654,7 +6696,7 @@ extension AddBridgeOutputsOutput { extension AddBridgeSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddBridgeSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddBridgeSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6667,7 +6709,7 @@ extension AddBridgeSourcesOutput { extension AddFlowMediaStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddFlowMediaStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddFlowMediaStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6680,7 +6722,7 @@ extension AddFlowMediaStreamsOutput { extension AddFlowOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddFlowOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddFlowOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6693,7 +6735,7 @@ extension AddFlowOutputsOutput { extension AddFlowSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddFlowSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddFlowSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6706,7 +6748,7 @@ extension AddFlowSourcesOutput { extension AddFlowVpcInterfacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddFlowVpcInterfacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddFlowVpcInterfacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6719,7 +6761,7 @@ extension AddFlowVpcInterfacesOutput { extension CreateBridgeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBridgeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBridgeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6731,7 +6773,7 @@ extension CreateBridgeOutput { extension CreateFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6743,7 +6785,7 @@ extension CreateFlowOutput { extension CreateGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6755,7 +6797,7 @@ extension CreateGatewayOutput { extension DeleteBridgeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBridgeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBridgeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6767,7 +6809,7 @@ extension DeleteBridgeOutput { extension DeleteFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6780,7 +6822,7 @@ extension DeleteFlowOutput { extension DeleteGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6792,7 +6834,7 @@ extension DeleteGatewayOutput { extension DeregisterGatewayInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterGatewayInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterGatewayInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6805,7 +6847,7 @@ extension DeregisterGatewayInstanceOutput { extension DescribeBridgeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBridgeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBridgeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6817,7 +6859,7 @@ extension DescribeBridgeOutput { extension DescribeFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6830,7 +6872,7 @@ extension DescribeFlowOutput { extension DescribeFlowSourceMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlowSourceMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlowSourceMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6845,7 +6887,7 @@ extension DescribeFlowSourceMetadataOutput { extension DescribeGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6857,7 +6899,7 @@ extension DescribeGatewayOutput { extension DescribeGatewayInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGatewayInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGatewayInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6869,7 +6911,7 @@ extension DescribeGatewayInstanceOutput { extension DescribeOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6881,7 +6923,7 @@ extension DescribeOfferingOutput { extension DescribeReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6893,7 +6935,7 @@ extension DescribeReservationOutput { extension GrantFlowEntitlementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GrantFlowEntitlementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GrantFlowEntitlementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6906,7 +6948,7 @@ extension GrantFlowEntitlementsOutput { extension ListBridgesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBridgesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBridgesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6919,7 +6961,7 @@ extension ListBridgesOutput { extension ListEntitlementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEntitlementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEntitlementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6932,7 +6974,7 @@ extension ListEntitlementsOutput { extension ListFlowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6945,7 +6987,7 @@ extension ListFlowsOutput { extension ListGatewayInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGatewayInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGatewayInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6958,7 +7000,7 @@ extension ListGatewayInstancesOutput { extension ListGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6971,7 +7013,7 @@ extension ListGatewaysOutput { extension ListOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6984,7 +7026,7 @@ extension ListOfferingsOutput { extension ListReservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6997,7 +7039,7 @@ extension ListReservationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7009,7 +7051,7 @@ extension ListTagsForResourceOutput { extension PurchaseOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7021,7 +7063,7 @@ extension PurchaseOfferingOutput { extension RemoveBridgeOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveBridgeOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveBridgeOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7034,7 +7076,7 @@ extension RemoveBridgeOutputOutput { extension RemoveBridgeSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveBridgeSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveBridgeSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7047,7 +7089,7 @@ extension RemoveBridgeSourceOutput { extension RemoveFlowMediaStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFlowMediaStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFlowMediaStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7060,7 +7102,7 @@ extension RemoveFlowMediaStreamOutput { extension RemoveFlowOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFlowOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFlowOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7073,7 +7115,7 @@ extension RemoveFlowOutputOutput { extension RemoveFlowSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFlowSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFlowSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7086,7 +7128,7 @@ extension RemoveFlowSourceOutput { extension RemoveFlowVpcInterfaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFlowVpcInterfaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFlowVpcInterfaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7100,7 +7142,7 @@ extension RemoveFlowVpcInterfaceOutput { extension RevokeFlowEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeFlowEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeFlowEntitlementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7113,7 +7155,7 @@ extension RevokeFlowEntitlementOutput { extension StartFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7126,7 +7168,7 @@ extension StartFlowOutput { extension StopFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7139,21 +7181,21 @@ extension StopFlowOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBridgeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBridgeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBridgeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7165,7 +7207,7 @@ extension UpdateBridgeOutput { extension UpdateBridgeOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBridgeOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBridgeOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7178,7 +7220,7 @@ extension UpdateBridgeOutputOutput { extension UpdateBridgeSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBridgeSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBridgeSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7191,7 +7233,7 @@ extension UpdateBridgeSourceOutput { extension UpdateBridgeStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBridgeStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBridgeStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7204,7 +7246,7 @@ extension UpdateBridgeStateOutput { extension UpdateFlowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7216,7 +7258,7 @@ extension UpdateFlowOutput { extension UpdateFlowEntitlementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowEntitlementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowEntitlementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7229,7 +7271,7 @@ extension UpdateFlowEntitlementOutput { extension UpdateFlowMediaStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowMediaStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowMediaStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7242,7 +7284,7 @@ extension UpdateFlowMediaStreamOutput { extension UpdateFlowOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7255,7 +7297,7 @@ extension UpdateFlowOutputOutput { extension UpdateFlowSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFlowSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFlowSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7268,7 +7310,7 @@ extension UpdateFlowSourceOutput { extension UpdateGatewayInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7281,7 +7323,7 @@ extension UpdateGatewayInstanceOutput { enum AddBridgeOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7301,7 +7343,7 @@ enum AddBridgeOutputsOutputError { enum AddBridgeSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7321,7 +7363,7 @@ enum AddBridgeSourcesOutputError { enum AddFlowMediaStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7340,7 +7382,7 @@ enum AddFlowMediaStreamsOutputError { enum AddFlowOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7360,7 +7402,7 @@ enum AddFlowOutputsOutputError { enum AddFlowSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7379,7 +7421,7 @@ enum AddFlowSourcesOutputError { enum AddFlowVpcInterfacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7398,7 +7440,7 @@ enum AddFlowVpcInterfacesOutputError { enum CreateBridgeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7418,7 +7460,7 @@ enum CreateBridgeOutputError { enum CreateFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7437,7 +7479,7 @@ enum CreateFlowOutputError { enum CreateGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7457,7 +7499,7 @@ enum CreateGatewayOutputError { enum DeleteBridgeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7477,7 +7519,7 @@ enum DeleteBridgeOutputError { enum DeleteFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7496,7 +7538,7 @@ enum DeleteFlowOutputError { enum DeleteGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7516,7 +7558,7 @@ enum DeleteGatewayOutputError { enum DeregisterGatewayInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7536,7 +7578,7 @@ enum DeregisterGatewayInstanceOutputError { enum DescribeBridgeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7556,7 +7598,7 @@ enum DescribeBridgeOutputError { enum DescribeFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7575,7 +7617,7 @@ enum DescribeFlowOutputError { enum DescribeFlowSourceMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7594,7 +7636,7 @@ enum DescribeFlowSourceMetadataOutputError { enum DescribeGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7614,7 +7656,7 @@ enum DescribeGatewayOutputError { enum DescribeGatewayInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7634,7 +7676,7 @@ enum DescribeGatewayInstanceOutputError { enum DescribeOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7652,7 +7694,7 @@ enum DescribeOfferingOutputError { enum DescribeReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7670,7 +7712,7 @@ enum DescribeReservationOutputError { enum GrantFlowEntitlementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7690,7 +7732,7 @@ enum GrantFlowEntitlementsOutputError { enum ListBridgesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7708,7 +7750,7 @@ enum ListBridgesOutputError { enum ListEntitlementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7725,7 +7767,7 @@ enum ListEntitlementsOutputError { enum ListFlowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7742,7 +7784,7 @@ enum ListFlowsOutputError { enum ListGatewayInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7760,7 +7802,7 @@ enum ListGatewayInstancesOutputError { enum ListGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7778,7 +7820,7 @@ enum ListGatewaysOutputError { enum ListOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7795,7 +7837,7 @@ enum ListOfferingsOutputError { enum ListReservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7812,7 +7854,7 @@ enum ListReservationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7828,7 +7870,7 @@ enum ListTagsForResourceOutputError { enum PurchaseOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7847,7 +7889,7 @@ enum PurchaseOfferingOutputError { enum RemoveBridgeOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7867,7 +7909,7 @@ enum RemoveBridgeOutputOutputError { enum RemoveBridgeSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7887,7 +7929,7 @@ enum RemoveBridgeSourceOutputError { enum RemoveFlowMediaStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7906,7 +7948,7 @@ enum RemoveFlowMediaStreamOutputError { enum RemoveFlowOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7925,7 +7967,7 @@ enum RemoveFlowOutputOutputError { enum RemoveFlowSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7944,7 +7986,7 @@ enum RemoveFlowSourceOutputError { enum RemoveFlowVpcInterfaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7963,7 +8005,7 @@ enum RemoveFlowVpcInterfaceOutputError { enum RevokeFlowEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7982,7 +8024,7 @@ enum RevokeFlowEntitlementOutputError { enum StartFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8001,7 +8043,7 @@ enum StartFlowOutputError { enum StopFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8020,7 +8062,7 @@ enum StopFlowOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8036,7 +8078,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8052,7 +8094,7 @@ enum UntagResourceOutputError { enum UpdateBridgeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8072,7 +8114,7 @@ enum UpdateBridgeOutputError { enum UpdateBridgeOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8092,7 +8134,7 @@ enum UpdateBridgeOutputOutputError { enum UpdateBridgeSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8112,7 +8154,7 @@ enum UpdateBridgeSourceOutputError { enum UpdateBridgeStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8132,7 +8174,7 @@ enum UpdateBridgeStateOutputError { enum UpdateFlowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8151,7 +8193,7 @@ enum UpdateFlowOutputError { enum UpdateFlowEntitlementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8170,7 +8212,7 @@ enum UpdateFlowEntitlementOutputError { enum UpdateFlowMediaStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8189,7 +8231,7 @@ enum UpdateFlowMediaStreamOutputError { enum UpdateFlowOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8208,7 +8250,7 @@ enum UpdateFlowOutputOutputError { enum UpdateFlowSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8227,7 +8269,7 @@ enum UpdateFlowSourceOutputError { enum UpdateGatewayInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8556,6 +8598,7 @@ extension MediaConnectClientTypes.Output { value.vpcInterfaceAttachment = try reader["vpcInterfaceAttachment"].readIfPresent(with: MediaConnectClientTypes.VpcInterfaceAttachment.read(from:)) value.bridgeArn = try reader["bridgeArn"].readIfPresent() value.bridgePorts = try reader["bridgePorts"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readInt(from:), memberNodeInfo: "member", isFlattened: false) + value.outputStatus = try reader["outputStatus"].readIfPresent() return value } } @@ -9205,6 +9248,7 @@ extension MediaConnectClientTypes.AddOutputRequest { try writer["mediaStreamOutputConfigurations"].writeList(value.mediaStreamOutputConfigurations, memberWritingClosure: MediaConnectClientTypes.MediaStreamOutputConfigurationRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["minLatency"].write(value.minLatency) try writer["name"].write(value.name) + try writer["outputStatus"].write(value.outputStatus) try writer["port"].write(value.port) try writer["protocol"].write(value.`protocol`) try writer["remoteId"].write(value.remoteId) diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift index 4315c96e6ce..d70619374d9 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift @@ -16,8 +16,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -219,7 +219,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -289,7 +289,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -356,7 +356,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -427,7 +427,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -497,7 +497,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -567,7 +567,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -637,7 +637,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -704,7 +704,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -771,7 +771,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -838,7 +838,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -906,7 +906,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -976,7 +976,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1043,7 +1043,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1110,7 +1110,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1177,7 +1177,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1244,7 +1244,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1311,7 +1311,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1378,7 +1378,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1446,7 +1446,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1514,7 +1514,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1582,7 +1582,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1650,7 +1650,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1717,7 +1717,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1787,7 +1787,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1855,7 +1855,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1925,7 +1925,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1995,7 +1995,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2065,7 +2065,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2135,7 +2135,7 @@ extension MediaConvertClient { .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift index 03a2bc7abea..e5ef037cc88 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -21317,7 +21317,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21341,7 +21341,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21365,7 +21365,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21389,7 +21389,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21413,7 +21413,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21437,7 +21437,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -23177,21 +23177,21 @@ extension UpdateQueueInput { extension AssociateCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateCertificateOutput { return AssociateCertificateOutput() } } extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { return CancelJobOutput() } } extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23203,7 +23203,7 @@ extension CreateJobOutput { extension CreateJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23215,7 +23215,7 @@ extension CreateJobTemplateOutput { extension CreatePresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePresetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23227,7 +23227,7 @@ extension CreatePresetOutput { extension CreateQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23239,35 +23239,35 @@ extension CreateQueueOutput { extension DeleteJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobTemplateOutput { return DeleteJobTemplateOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeletePresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePresetOutput { return DeletePresetOutput() } } extension DeleteQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueueOutput { return DeleteQueueOutput() } } extension DescribeEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23280,14 +23280,14 @@ extension DescribeEndpointsOutput { extension DisassociateCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateCertificateOutput { return DisassociateCertificateOutput() } } extension GetJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23299,7 +23299,7 @@ extension GetJobOutput { extension GetJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23311,7 +23311,7 @@ extension GetJobTemplateOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23323,7 +23323,7 @@ extension GetPolicyOutput { extension GetPresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPresetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23335,7 +23335,7 @@ extension GetPresetOutput { extension GetQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23347,7 +23347,7 @@ extension GetQueueOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23360,7 +23360,7 @@ extension ListJobsOutput { extension ListJobTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23373,7 +23373,7 @@ extension ListJobTemplatesOutput { extension ListPresetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPresetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPresetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23386,7 +23386,7 @@ extension ListPresetsOutput { extension ListQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23399,7 +23399,7 @@ extension ListQueuesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23411,7 +23411,7 @@ extension ListTagsForResourceOutput { extension PutPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23423,7 +23423,7 @@ extension PutPolicyOutput { extension SearchJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23436,21 +23436,21 @@ extension SearchJobsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateJobTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23462,7 +23462,7 @@ extension UpdateJobTemplateOutput { extension UpdatePresetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePresetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePresetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23474,7 +23474,7 @@ extension UpdatePresetOutput { extension UpdateQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23486,7 +23486,7 @@ extension UpdateQueueOutput { enum AssociateCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23505,7 +23505,7 @@ enum AssociateCertificateOutputError { enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23524,7 +23524,7 @@ enum CancelJobOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23543,7 +23543,7 @@ enum CreateJobOutputError { enum CreateJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23562,7 +23562,7 @@ enum CreateJobTemplateOutputError { enum CreatePresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23581,7 +23581,7 @@ enum CreatePresetOutputError { enum CreateQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23600,7 +23600,7 @@ enum CreateQueueOutputError { enum DeleteJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23619,7 +23619,7 @@ enum DeleteJobTemplateOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23638,7 +23638,7 @@ enum DeletePolicyOutputError { enum DeletePresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23657,7 +23657,7 @@ enum DeletePresetOutputError { enum DeleteQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23676,7 +23676,7 @@ enum DeleteQueueOutputError { enum DescribeEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23695,7 +23695,7 @@ enum DescribeEndpointsOutputError { enum DisassociateCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23714,7 +23714,7 @@ enum DisassociateCertificateOutputError { enum GetJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23733,7 +23733,7 @@ enum GetJobOutputError { enum GetJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23752,7 +23752,7 @@ enum GetJobTemplateOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23771,7 +23771,7 @@ enum GetPolicyOutputError { enum GetPresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23790,7 +23790,7 @@ enum GetPresetOutputError { enum GetQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23809,7 +23809,7 @@ enum GetQueueOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23828,7 +23828,7 @@ enum ListJobsOutputError { enum ListJobTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23847,7 +23847,7 @@ enum ListJobTemplatesOutputError { enum ListPresetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23866,7 +23866,7 @@ enum ListPresetsOutputError { enum ListQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23885,7 +23885,7 @@ enum ListQueuesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23904,7 +23904,7 @@ enum ListTagsForResourceOutputError { enum PutPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23923,7 +23923,7 @@ enum PutPolicyOutputError { enum SearchJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23942,7 +23942,7 @@ enum SearchJobsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23961,7 +23961,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23980,7 +23980,7 @@ enum UntagResourceOutputError { enum UpdateJobTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23999,7 +23999,7 @@ enum UpdateJobTemplateOutputError { enum UpdatePresetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24018,7 +24018,7 @@ enum UpdatePresetOutputError { enum UpdateQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift index 9f1d22c4485..bd392ad30af 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -15991,7 +15991,7 @@ public struct BadGatewayException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16016,7 +16016,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16041,7 +16041,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16066,7 +16066,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16091,7 +16091,7 @@ public struct GatewayTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16116,7 +16116,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16141,7 +16141,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16166,7 +16166,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16193,7 +16193,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -24536,14 +24536,14 @@ extension UpdateReservationInput { extension AcceptInputDeviceTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInputDeviceTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInputDeviceTransferOutput { return AcceptInputDeviceTransferOutput() } } extension BatchDeleteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24556,7 +24556,7 @@ extension BatchDeleteOutput { extension BatchStartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchStartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchStartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24569,7 +24569,7 @@ extension BatchStartOutput { extension BatchStopOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchStopOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchStopOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24582,7 +24582,7 @@ extension BatchStopOutput { extension BatchUpdateScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24595,21 +24595,21 @@ extension BatchUpdateScheduleOutput { extension CancelInputDeviceTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelInputDeviceTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelInputDeviceTransferOutput { return CancelInputDeviceTransferOutput() } } extension ClaimDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ClaimDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ClaimDeviceOutput { return ClaimDeviceOutput() } } extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24621,7 +24621,7 @@ extension CreateChannelOutput { extension CreateCloudWatchAlarmTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCloudWatchAlarmTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudWatchAlarmTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24649,7 +24649,7 @@ extension CreateCloudWatchAlarmTemplateOutput { extension CreateCloudWatchAlarmTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCloudWatchAlarmTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudWatchAlarmTemplateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24667,7 +24667,7 @@ extension CreateCloudWatchAlarmTemplateGroupOutput { extension CreateEventBridgeRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventBridgeRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventBridgeRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24688,7 +24688,7 @@ extension CreateEventBridgeRuleTemplateOutput { extension CreateEventBridgeRuleTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventBridgeRuleTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventBridgeRuleTemplateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24706,7 +24706,7 @@ extension CreateEventBridgeRuleTemplateGroupOutput { extension CreateInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24718,7 +24718,7 @@ extension CreateInputOutput { extension CreateInputSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInputSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInputSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24730,7 +24730,7 @@ extension CreateInputSecurityGroupOutput { extension CreateMultiplexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMultiplexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMultiplexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24742,7 +24742,7 @@ extension CreateMultiplexOutput { extension CreateMultiplexProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMultiplexProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMultiplexProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24754,7 +24754,7 @@ extension CreateMultiplexProgramOutput { extension CreatePartnerInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePartnerInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePartnerInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24766,7 +24766,7 @@ extension CreatePartnerInputOutput { extension CreateSignalMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSignalMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSignalMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24795,14 +24795,14 @@ extension CreateSignalMapOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24831,49 +24831,49 @@ extension DeleteChannelOutput { extension DeleteCloudWatchAlarmTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCloudWatchAlarmTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCloudWatchAlarmTemplateOutput { return DeleteCloudWatchAlarmTemplateOutput() } } extension DeleteCloudWatchAlarmTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCloudWatchAlarmTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCloudWatchAlarmTemplateGroupOutput { return DeleteCloudWatchAlarmTemplateGroupOutput() } } extension DeleteEventBridgeRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventBridgeRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventBridgeRuleTemplateOutput { return DeleteEventBridgeRuleTemplateOutput() } } extension DeleteEventBridgeRuleTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventBridgeRuleTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventBridgeRuleTemplateGroupOutput { return DeleteEventBridgeRuleTemplateGroupOutput() } } extension DeleteInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInputOutput { return DeleteInputOutput() } } extension DeleteInputSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInputSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInputSecurityGroupOutput { return DeleteInputSecurityGroupOutput() } } extension DeleteMultiplexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMultiplexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMultiplexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24894,7 +24894,7 @@ extension DeleteMultiplexOutput { extension DeleteMultiplexProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMultiplexProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMultiplexProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24910,7 +24910,7 @@ extension DeleteMultiplexProgramOutput { extension DeleteReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24940,28 +24940,28 @@ extension DeleteReservationOutput { extension DeleteScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduleOutput { return DeleteScheduleOutput() } } extension DeleteSignalMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSignalMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSignalMapOutput { return DeleteSignalMapOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DescribeAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -24973,7 +24973,7 @@ extension DescribeAccountConfigurationOutput { extension DescribeChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25002,7 +25002,7 @@ extension DescribeChannelOutput { extension DescribeInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25029,7 +25029,7 @@ extension DescribeInputOutput { extension DescribeInputDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInputDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInputDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25056,7 +25056,7 @@ extension DescribeInputDeviceOutput { extension DescribeInputDeviceThumbnailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInputDeviceThumbnailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInputDeviceThumbnailOutput { var value = DescribeInputDeviceThumbnailOutput() if let contentLengthHeaderValue = httpResponse.headers.value(for: "Content-Length") { value.contentLength = Swift.Int(contentLengthHeaderValue) ?? 0 @@ -25084,7 +25084,7 @@ extension DescribeInputDeviceThumbnailOutput { extension DescribeInputSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInputSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInputSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25101,7 +25101,7 @@ extension DescribeInputSecurityGroupOutput { extension DescribeMultiplexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMultiplexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMultiplexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25122,7 +25122,7 @@ extension DescribeMultiplexOutput { extension DescribeMultiplexProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMultiplexProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMultiplexProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25138,7 +25138,7 @@ extension DescribeMultiplexProgramOutput { extension DescribeOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25160,7 +25160,7 @@ extension DescribeOfferingOutput { extension DescribeReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25190,7 +25190,7 @@ extension DescribeReservationOutput { extension DescribeScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25203,7 +25203,7 @@ extension DescribeScheduleOutput { extension DescribeThumbnailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThumbnailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThumbnailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25215,7 +25215,7 @@ extension DescribeThumbnailsOutput { extension GetCloudWatchAlarmTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCloudWatchAlarmTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCloudWatchAlarmTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25243,7 +25243,7 @@ extension GetCloudWatchAlarmTemplateOutput { extension GetCloudWatchAlarmTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCloudWatchAlarmTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCloudWatchAlarmTemplateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25261,7 +25261,7 @@ extension GetCloudWatchAlarmTemplateGroupOutput { extension GetEventBridgeRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventBridgeRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventBridgeRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25282,7 +25282,7 @@ extension GetEventBridgeRuleTemplateOutput { extension GetEventBridgeRuleTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventBridgeRuleTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventBridgeRuleTemplateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25300,7 +25300,7 @@ extension GetEventBridgeRuleTemplateGroupOutput { extension GetSignalMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSignalMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSignalMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25329,7 +25329,7 @@ extension GetSignalMapOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25342,7 +25342,7 @@ extension ListChannelsOutput { extension ListCloudWatchAlarmTemplateGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCloudWatchAlarmTemplateGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCloudWatchAlarmTemplateGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25355,7 +25355,7 @@ extension ListCloudWatchAlarmTemplateGroupsOutput { extension ListCloudWatchAlarmTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCloudWatchAlarmTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCloudWatchAlarmTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25368,7 +25368,7 @@ extension ListCloudWatchAlarmTemplatesOutput { extension ListEventBridgeRuleTemplateGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventBridgeRuleTemplateGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventBridgeRuleTemplateGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25381,7 +25381,7 @@ extension ListEventBridgeRuleTemplateGroupsOutput { extension ListEventBridgeRuleTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventBridgeRuleTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventBridgeRuleTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25394,7 +25394,7 @@ extension ListEventBridgeRuleTemplatesOutput { extension ListInputDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInputDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInputDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25407,7 +25407,7 @@ extension ListInputDevicesOutput { extension ListInputDeviceTransfersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInputDeviceTransfersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInputDeviceTransfersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25420,7 +25420,7 @@ extension ListInputDeviceTransfersOutput { extension ListInputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25433,7 +25433,7 @@ extension ListInputsOutput { extension ListInputSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInputSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInputSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25446,7 +25446,7 @@ extension ListInputSecurityGroupsOutput { extension ListMultiplexesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMultiplexesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiplexesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25459,7 +25459,7 @@ extension ListMultiplexesOutput { extension ListMultiplexProgramsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMultiplexProgramsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiplexProgramsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25472,7 +25472,7 @@ extension ListMultiplexProgramsOutput { extension ListOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25485,7 +25485,7 @@ extension ListOfferingsOutput { extension ListReservationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReservationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReservationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25498,7 +25498,7 @@ extension ListReservationsOutput { extension ListSignalMapsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSignalMapsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSignalMapsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25511,7 +25511,7 @@ extension ListSignalMapsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25523,7 +25523,7 @@ extension ListTagsForResourceOutput { extension PurchaseOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25535,21 +25535,21 @@ extension PurchaseOfferingOutput { extension RebootInputDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootInputDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootInputDeviceOutput { return RebootInputDeviceOutput() } } extension RejectInputDeviceTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectInputDeviceTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectInputDeviceTransferOutput { return RejectInputDeviceTransferOutput() } } extension RestartChannelPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestartChannelPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestartChannelPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25579,7 +25579,7 @@ extension RestartChannelPipelinesOutput { extension StartChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25608,7 +25608,7 @@ extension StartChannelOutput { extension StartDeleteMonitorDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDeleteMonitorDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDeleteMonitorDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25637,21 +25637,21 @@ extension StartDeleteMonitorDeploymentOutput { extension StartInputDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInputDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInputDeviceOutput { return StartInputDeviceOutput() } } extension StartInputDeviceMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInputDeviceMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInputDeviceMaintenanceWindowOutput { return StartInputDeviceMaintenanceWindowOutput() } } extension StartMonitorDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMonitorDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMonitorDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25680,7 +25680,7 @@ extension StartMonitorDeploymentOutput { extension StartMultiplexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMultiplexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMultiplexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25701,7 +25701,7 @@ extension StartMultiplexOutput { extension StartUpdateSignalMapOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartUpdateSignalMapOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartUpdateSignalMapOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25730,7 +25730,7 @@ extension StartUpdateSignalMapOutput { extension StopChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25759,14 +25759,14 @@ extension StopChannelOutput { extension StopInputDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInputDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInputDeviceOutput { return StopInputDeviceOutput() } } extension StopMultiplexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMultiplexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMultiplexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25787,14 +25787,14 @@ extension StopMultiplexOutput { extension TransferInputDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransferInputDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransferInputDeviceOutput { return TransferInputDeviceOutput() } } extension UpdateAccountConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25806,7 +25806,7 @@ extension UpdateAccountConfigurationOutput { extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25818,7 +25818,7 @@ extension UpdateChannelOutput { extension UpdateChannelClassOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelClassOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelClassOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25830,7 +25830,7 @@ extension UpdateChannelClassOutput { extension UpdateCloudWatchAlarmTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCloudWatchAlarmTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCloudWatchAlarmTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25858,7 +25858,7 @@ extension UpdateCloudWatchAlarmTemplateOutput { extension UpdateCloudWatchAlarmTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCloudWatchAlarmTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCloudWatchAlarmTemplateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25876,7 +25876,7 @@ extension UpdateCloudWatchAlarmTemplateGroupOutput { extension UpdateEventBridgeRuleTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventBridgeRuleTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventBridgeRuleTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25897,7 +25897,7 @@ extension UpdateEventBridgeRuleTemplateOutput { extension UpdateEventBridgeRuleTemplateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventBridgeRuleTemplateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventBridgeRuleTemplateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25915,7 +25915,7 @@ extension UpdateEventBridgeRuleTemplateGroupOutput { extension UpdateInputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25927,7 +25927,7 @@ extension UpdateInputOutput { extension UpdateInputDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInputDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInputDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25954,7 +25954,7 @@ extension UpdateInputDeviceOutput { extension UpdateInputSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInputSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInputSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25966,7 +25966,7 @@ extension UpdateInputSecurityGroupOutput { extension UpdateMultiplexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMultiplexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMultiplexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25978,7 +25978,7 @@ extension UpdateMultiplexOutput { extension UpdateMultiplexProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMultiplexProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMultiplexProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -25990,7 +25990,7 @@ extension UpdateMultiplexProgramOutput { extension UpdateReservationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReservationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReservationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -26002,7 +26002,7 @@ extension UpdateReservationOutput { enum AcceptInputDeviceTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26024,7 +26024,7 @@ enum AcceptInputDeviceTransferOutputError { enum BatchDeleteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26045,7 +26045,7 @@ enum BatchDeleteOutputError { enum BatchStartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26066,7 +26066,7 @@ enum BatchStartOutputError { enum BatchStopOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26087,7 +26087,7 @@ enum BatchStopOutputError { enum BatchUpdateScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26108,7 +26108,7 @@ enum BatchUpdateScheduleOutputError { enum CancelInputDeviceTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26130,7 +26130,7 @@ enum CancelInputDeviceTransferOutputError { enum ClaimDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26151,7 +26151,7 @@ enum ClaimDeviceOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26172,7 +26172,7 @@ enum CreateChannelOutputError { enum CreateCloudWatchAlarmTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26191,7 +26191,7 @@ enum CreateCloudWatchAlarmTemplateOutputError { enum CreateCloudWatchAlarmTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26210,7 +26210,7 @@ enum CreateCloudWatchAlarmTemplateGroupOutputError { enum CreateEventBridgeRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26229,7 +26229,7 @@ enum CreateEventBridgeRuleTemplateOutputError { enum CreateEventBridgeRuleTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26248,7 +26248,7 @@ enum CreateEventBridgeRuleTemplateGroupOutputError { enum CreateInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26267,7 +26267,7 @@ enum CreateInputOutputError { enum CreateInputSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26286,7 +26286,7 @@ enum CreateInputSecurityGroupOutputError { enum CreateMultiplexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26307,7 +26307,7 @@ enum CreateMultiplexOutputError { enum CreateMultiplexProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26328,7 +26328,7 @@ enum CreateMultiplexProgramOutputError { enum CreatePartnerInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26347,7 +26347,7 @@ enum CreatePartnerInputOutputError { enum CreateSignalMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26366,7 +26366,7 @@ enum CreateSignalMapOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26383,7 +26383,7 @@ enum CreateTagsOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26404,7 +26404,7 @@ enum DeleteChannelOutputError { enum DeleteCloudWatchAlarmTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26423,7 +26423,7 @@ enum DeleteCloudWatchAlarmTemplateOutputError { enum DeleteCloudWatchAlarmTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26442,7 +26442,7 @@ enum DeleteCloudWatchAlarmTemplateGroupOutputError { enum DeleteEventBridgeRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26461,7 +26461,7 @@ enum DeleteEventBridgeRuleTemplateOutputError { enum DeleteEventBridgeRuleTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26480,7 +26480,7 @@ enum DeleteEventBridgeRuleTemplateGroupOutputError { enum DeleteInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26501,7 +26501,7 @@ enum DeleteInputOutputError { enum DeleteInputSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26521,7 +26521,7 @@ enum DeleteInputSecurityGroupOutputError { enum DeleteMultiplexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26542,7 +26542,7 @@ enum DeleteMultiplexOutputError { enum DeleteMultiplexProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26563,7 +26563,7 @@ enum DeleteMultiplexProgramOutputError { enum DeleteReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26584,7 +26584,7 @@ enum DeleteReservationOutputError { enum DeleteScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26604,7 +26604,7 @@ enum DeleteScheduleOutputError { enum DeleteSignalMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26623,7 +26623,7 @@ enum DeleteSignalMapOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26640,7 +26640,7 @@ enum DeleteTagsOutputError { enum DescribeAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26659,7 +26659,7 @@ enum DescribeAccountConfigurationOutputError { enum DescribeChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26679,7 +26679,7 @@ enum DescribeChannelOutputError { enum DescribeInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26699,7 +26699,7 @@ enum DescribeInputOutputError { enum DescribeInputDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26719,7 +26719,7 @@ enum DescribeInputDeviceOutputError { enum DescribeInputDeviceThumbnailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26739,7 +26739,7 @@ enum DescribeInputDeviceThumbnailOutputError { enum DescribeInputSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26759,7 +26759,7 @@ enum DescribeInputSecurityGroupOutputError { enum DescribeMultiplexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26779,7 +26779,7 @@ enum DescribeMultiplexOutputError { enum DescribeMultiplexProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26799,7 +26799,7 @@ enum DescribeMultiplexProgramOutputError { enum DescribeOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26819,7 +26819,7 @@ enum DescribeOfferingOutputError { enum DescribeReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26839,7 +26839,7 @@ enum DescribeReservationOutputError { enum DescribeScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26859,7 +26859,7 @@ enum DescribeScheduleOutputError { enum DescribeThumbnailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26880,7 +26880,7 @@ enum DescribeThumbnailsOutputError { enum GetCloudWatchAlarmTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26898,7 +26898,7 @@ enum GetCloudWatchAlarmTemplateOutputError { enum GetCloudWatchAlarmTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26916,7 +26916,7 @@ enum GetCloudWatchAlarmTemplateGroupOutputError { enum GetEventBridgeRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26934,7 +26934,7 @@ enum GetEventBridgeRuleTemplateOutputError { enum GetEventBridgeRuleTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26952,7 +26952,7 @@ enum GetEventBridgeRuleTemplateGroupOutputError { enum GetSignalMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26970,7 +26970,7 @@ enum GetSignalMapOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26989,7 +26989,7 @@ enum ListChannelsOutputError { enum ListCloudWatchAlarmTemplateGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27007,7 +27007,7 @@ enum ListCloudWatchAlarmTemplateGroupsOutputError { enum ListCloudWatchAlarmTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27025,7 +27025,7 @@ enum ListCloudWatchAlarmTemplatesOutputError { enum ListEventBridgeRuleTemplateGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27043,7 +27043,7 @@ enum ListEventBridgeRuleTemplateGroupsOutputError { enum ListEventBridgeRuleTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27061,7 +27061,7 @@ enum ListEventBridgeRuleTemplatesOutputError { enum ListInputDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27080,7 +27080,7 @@ enum ListInputDevicesOutputError { enum ListInputDeviceTransfersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27100,7 +27100,7 @@ enum ListInputDeviceTransfersOutputError { enum ListInputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27119,7 +27119,7 @@ enum ListInputsOutputError { enum ListInputSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27138,7 +27138,7 @@ enum ListInputSecurityGroupsOutputError { enum ListMultiplexesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27157,7 +27157,7 @@ enum ListMultiplexesOutputError { enum ListMultiplexProgramsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27177,7 +27177,7 @@ enum ListMultiplexProgramsOutputError { enum ListOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27196,7 +27196,7 @@ enum ListOfferingsOutputError { enum ListReservationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27215,7 +27215,7 @@ enum ListReservationsOutputError { enum ListSignalMapsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27233,7 +27233,7 @@ enum ListSignalMapsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27250,7 +27250,7 @@ enum ListTagsForResourceOutputError { enum PurchaseOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27271,7 +27271,7 @@ enum PurchaseOfferingOutputError { enum RebootInputDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27292,7 +27292,7 @@ enum RebootInputDeviceOutputError { enum RejectInputDeviceTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27314,7 +27314,7 @@ enum RejectInputDeviceTransferOutputError { enum RestartChannelPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27335,7 +27335,7 @@ enum RestartChannelPipelinesOutputError { enum StartChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27356,7 +27356,7 @@ enum StartChannelOutputError { enum StartDeleteMonitorDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27375,7 +27375,7 @@ enum StartDeleteMonitorDeploymentOutputError { enum StartInputDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27396,7 +27396,7 @@ enum StartInputDeviceOutputError { enum StartInputDeviceMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27417,7 +27417,7 @@ enum StartInputDeviceMaintenanceWindowOutputError { enum StartMonitorDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27436,7 +27436,7 @@ enum StartMonitorDeploymentOutputError { enum StartMultiplexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27457,7 +27457,7 @@ enum StartMultiplexOutputError { enum StartUpdateSignalMapOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27476,7 +27476,7 @@ enum StartUpdateSignalMapOutputError { enum StopChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27497,7 +27497,7 @@ enum StopChannelOutputError { enum StopInputDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27518,7 +27518,7 @@ enum StopInputDeviceOutputError { enum StopMultiplexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27539,7 +27539,7 @@ enum StopMultiplexOutputError { enum TransferInputDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27561,7 +27561,7 @@ enum TransferInputDeviceOutputError { enum UpdateAccountConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27581,7 +27581,7 @@ enum UpdateAccountConfigurationOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27601,7 +27601,7 @@ enum UpdateChannelOutputError { enum UpdateChannelClassOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27623,7 +27623,7 @@ enum UpdateChannelClassOutputError { enum UpdateCloudWatchAlarmTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27642,7 +27642,7 @@ enum UpdateCloudWatchAlarmTemplateOutputError { enum UpdateCloudWatchAlarmTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27661,7 +27661,7 @@ enum UpdateCloudWatchAlarmTemplateGroupOutputError { enum UpdateEventBridgeRuleTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27680,7 +27680,7 @@ enum UpdateEventBridgeRuleTemplateOutputError { enum UpdateEventBridgeRuleTemplateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27699,7 +27699,7 @@ enum UpdateEventBridgeRuleTemplateGroupOutputError { enum UpdateInputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27719,7 +27719,7 @@ enum UpdateInputOutputError { enum UpdateInputDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27740,7 +27740,7 @@ enum UpdateInputDeviceOutputError { enum UpdateInputSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27760,7 +27760,7 @@ enum UpdateInputSecurityGroupOutputError { enum UpdateMultiplexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27781,7 +27781,7 @@ enum UpdateMultiplexOutputError { enum UpdateMultiplexProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27802,7 +27802,7 @@ enum UpdateMultiplexProgramOutputError { enum UpdateReservationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/Models.swift b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/Models.swift index ddad2b9e5c5..0c3b7856c7d 100644 --- a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/Models.swift +++ b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1417,7 +1417,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1441,7 +1441,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1465,7 +1465,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1489,7 +1489,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1513,7 +1513,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1537,7 +1537,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2937,7 +2937,7 @@ extension UpdateOriginEndpointInput { extension ConfigureLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2956,7 +2956,7 @@ extension ConfigureLogsOutput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2975,7 +2975,7 @@ extension CreateChannelOutput { extension CreateHarvestJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHarvestJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHarvestJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2995,7 +2995,7 @@ extension CreateHarvestJobOutput { extension CreateOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOriginEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3023,21 +3023,21 @@ extension CreateOriginEndpointOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOriginEndpointOutput { return DeleteOriginEndpointOutput() } } extension DescribeChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3056,7 +3056,7 @@ extension DescribeChannelOutput { extension DescribeHarvestJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHarvestJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHarvestJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3076,7 +3076,7 @@ extension DescribeHarvestJobOutput { extension DescribeOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOriginEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3104,7 +3104,7 @@ extension DescribeOriginEndpointOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3117,7 +3117,7 @@ extension ListChannelsOutput { extension ListHarvestJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHarvestJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHarvestJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3130,7 +3130,7 @@ extension ListHarvestJobsOutput { extension ListOriginEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOriginEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOriginEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3143,7 +3143,7 @@ extension ListOriginEndpointsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3155,7 +3155,7 @@ extension ListTagsForResourceOutput { extension RotateChannelCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RotateChannelCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RotateChannelCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3174,7 +3174,7 @@ extension RotateChannelCredentialsOutput { extension RotateIngestEndpointCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RotateIngestEndpointCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RotateIngestEndpointCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3193,21 +3193,21 @@ extension RotateIngestEndpointCredentialsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3226,7 +3226,7 @@ extension UpdateChannelOutput { extension UpdateOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOriginEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3254,7 +3254,7 @@ extension UpdateOriginEndpointOutput { enum ConfigureLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3273,7 +3273,7 @@ enum ConfigureLogsOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3292,7 +3292,7 @@ enum CreateChannelOutputError { enum CreateHarvestJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3311,7 +3311,7 @@ enum CreateHarvestJobOutputError { enum CreateOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3330,7 +3330,7 @@ enum CreateOriginEndpointOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3349,7 +3349,7 @@ enum DeleteChannelOutputError { enum DeleteOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3368,7 +3368,7 @@ enum DeleteOriginEndpointOutputError { enum DescribeChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3387,7 +3387,7 @@ enum DescribeChannelOutputError { enum DescribeHarvestJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3406,7 +3406,7 @@ enum DescribeHarvestJobOutputError { enum DescribeOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3425,7 +3425,7 @@ enum DescribeOriginEndpointOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3444,7 +3444,7 @@ enum ListChannelsOutputError { enum ListHarvestJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3463,7 +3463,7 @@ enum ListHarvestJobsOutputError { enum ListOriginEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3482,7 @@ enum ListOriginEndpointsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3495,7 +3495,7 @@ enum ListTagsForResourceOutputError { enum RotateChannelCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3514,7 +3514,7 @@ enum RotateChannelCredentialsOutputError { enum RotateIngestEndpointCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3533,7 +3533,7 @@ enum RotateIngestEndpointCredentialsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3546,7 +3546,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3559,7 +3559,7 @@ enum UntagResourceOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3578,7 +3578,7 @@ enum UpdateChannelOutputError { enum UpdateOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift index 7aa75025396..9434c6f4471 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -49,7 +49,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -201,7 +201,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -227,7 +227,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -251,7 +251,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -441,7 +441,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -524,7 +524,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -619,7 +619,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3586,7 +3586,7 @@ extension UpdateOriginEndpointInput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3607,7 +3607,7 @@ extension CreateChannelOutput { extension CreateChannelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3626,7 +3626,7 @@ extension CreateChannelGroupOutput { extension CreateOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOriginEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3653,42 +3653,42 @@ extension CreateOriginEndpointOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteChannelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelGroupOutput { return DeleteChannelGroupOutput() } } extension DeleteChannelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelPolicyOutput { return DeleteChannelPolicyOutput() } } extension DeleteOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOriginEndpointOutput { return DeleteOriginEndpointOutput() } } extension DeleteOriginEndpointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOriginEndpointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOriginEndpointPolicyOutput { return DeleteOriginEndpointPolicyOutput() } } extension GetChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3709,7 +3709,7 @@ extension GetChannelOutput { extension GetChannelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3728,7 +3728,7 @@ extension GetChannelGroupOutput { extension GetChannelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3742,7 +3742,7 @@ extension GetChannelPolicyOutput { extension GetOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOriginEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3769,7 +3769,7 @@ extension GetOriginEndpointOutput { extension GetOriginEndpointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOriginEndpointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOriginEndpointPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3784,7 +3784,7 @@ extension GetOriginEndpointPolicyOutput { extension ListChannelGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3797,7 +3797,7 @@ extension ListChannelGroupsOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3810,7 +3810,7 @@ extension ListChannelsOutput { extension ListOriginEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOriginEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOriginEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3823,7 +3823,7 @@ extension ListOriginEndpointsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3835,35 +3835,35 @@ extension ListTagsForResourceOutput { extension PutChannelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutChannelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutChannelPolicyOutput { return PutChannelPolicyOutput() } } extension PutOriginEndpointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutOriginEndpointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOriginEndpointPolicyOutput { return PutOriginEndpointPolicyOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3884,7 +3884,7 @@ extension UpdateChannelOutput { extension UpdateChannelGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3903,7 +3903,7 @@ extension UpdateChannelGroupOutput { extension UpdateOriginEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOriginEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOriginEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3930,7 +3930,7 @@ extension UpdateOriginEndpointOutput { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3950,7 +3950,7 @@ enum CreateChannelOutputError { enum CreateChannelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3970,7 +3970,7 @@ enum CreateChannelGroupOutputError { enum CreateOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3990,7 +3990,7 @@ enum CreateOriginEndpointOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4008,7 +4008,7 @@ enum DeleteChannelOutputError { enum DeleteChannelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4026,7 +4026,7 @@ enum DeleteChannelGroupOutputError { enum DeleteChannelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4044,7 +4044,7 @@ enum DeleteChannelPolicyOutputError { enum DeleteOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4061,7 +4061,7 @@ enum DeleteOriginEndpointOutputError { enum DeleteOriginEndpointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4079,7 +4079,7 @@ enum DeleteOriginEndpointPolicyOutputError { enum GetChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4097,7 +4097,7 @@ enum GetChannelOutputError { enum GetChannelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4115,7 +4115,7 @@ enum GetChannelGroupOutputError { enum GetChannelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4133,7 +4133,7 @@ enum GetChannelPolicyOutputError { enum GetOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4151,7 +4151,7 @@ enum GetOriginEndpointOutputError { enum GetOriginEndpointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4169,7 +4169,7 @@ enum GetOriginEndpointPolicyOutputError { enum ListChannelGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4186,7 +4186,7 @@ enum ListChannelGroupsOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4204,7 +4204,7 @@ enum ListChannelsOutputError { enum ListOriginEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4222,7 +4222,7 @@ enum ListOriginEndpointsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4236,7 +4236,7 @@ enum ListTagsForResourceOutputError { enum PutChannelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4255,7 +4255,7 @@ enum PutChannelPolicyOutputError { enum PutOriginEndpointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4274,7 +4274,7 @@ enum PutOriginEndpointPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4288,7 +4288,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4302,7 +4302,7 @@ enum UntagResourceOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4321,7 +4321,7 @@ enum UpdateChannelOutputError { enum UpdateChannelGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4340,7 +4340,7 @@ enum UpdateChannelGroupOutputError { enum UpdateOriginEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/Models.swift b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/Models.swift index 062f6229593..c4379743d43 100644 --- a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/Models.swift +++ b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -950,7 +950,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -974,7 +974,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -998,7 +998,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1022,7 +1022,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1046,7 +1046,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1070,7 +1070,7 @@ public struct UnprocessableEntityException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2094,7 +2094,7 @@ extension UpdatePackagingGroupInput { extension ConfigureLogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureLogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureLogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2112,7 +2112,7 @@ extension ConfigureLogsOutput { extension CreateAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2132,7 +2132,7 @@ extension CreateAssetOutput { extension CreatePackagingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackagingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackagingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2152,7 +2152,7 @@ extension CreatePackagingConfigurationOutput { extension CreatePackagingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackagingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackagingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2170,28 +2170,28 @@ extension CreatePackagingGroupOutput { extension DeleteAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssetOutput { return DeleteAssetOutput() } } extension DeletePackagingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackagingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackagingConfigurationOutput { return DeletePackagingConfigurationOutput() } } extension DeletePackagingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackagingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackagingGroupOutput { return DeletePackagingGroupOutput() } } extension DescribeAssetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2211,7 +2211,7 @@ extension DescribeAssetOutput { extension DescribePackagingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackagingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackagingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2231,7 +2231,7 @@ extension DescribePackagingConfigurationOutput { extension DescribePackagingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackagingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackagingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2250,7 +2250,7 @@ extension DescribePackagingGroupOutput { extension ListAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2263,7 +2263,7 @@ extension ListAssetsOutput { extension ListPackagingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2276,7 +2276,7 @@ extension ListPackagingConfigurationsOutput { extension ListPackagingGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagingGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagingGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2289,7 +2289,7 @@ extension ListPackagingGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2301,21 +2301,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePackagingGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackagingGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackagingGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2334,7 +2334,7 @@ extension UpdatePackagingGroupOutput { enum ConfigureLogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2353,7 +2353,7 @@ enum ConfigureLogsOutputError { enum CreateAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2372,7 +2372,7 @@ enum CreateAssetOutputError { enum CreatePackagingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2391,7 +2391,7 @@ enum CreatePackagingConfigurationOutputError { enum CreatePackagingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2410,7 +2410,7 @@ enum CreatePackagingGroupOutputError { enum DeleteAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2429,7 +2429,7 @@ enum DeleteAssetOutputError { enum DeletePackagingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2448,7 +2448,7 @@ enum DeletePackagingConfigurationOutputError { enum DeletePackagingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2467,7 +2467,7 @@ enum DeletePackagingGroupOutputError { enum DescribeAssetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2486,7 +2486,7 @@ enum DescribeAssetOutputError { enum DescribePackagingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2505,7 +2505,7 @@ enum DescribePackagingConfigurationOutputError { enum DescribePackagingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2524,7 +2524,7 @@ enum DescribePackagingGroupOutputError { enum ListAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2543,7 +2543,7 @@ enum ListAssetsOutputError { enum ListPackagingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2562,7 +2562,7 @@ enum ListPackagingConfigurationsOutputError { enum ListPackagingGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2581,7 +2581,7 @@ enum ListPackagingGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2594,7 +2594,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2607,7 +2607,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2620,7 +2620,7 @@ enum UntagResourceOutputError { enum UpdatePackagingGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/Models.swift b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/Models.swift index 575ee310dbc..6a41d2fae17 100644 --- a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/Models.swift +++ b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -138,7 +138,7 @@ public struct ContainerInUseException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -191,7 +191,7 @@ public struct ContainerNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -249,7 +249,7 @@ public struct CorsPolicyNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -273,7 +273,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -297,7 +297,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -390,7 +390,7 @@ public struct PolicyNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1210,7 +1210,7 @@ extension UntagResourceInput { extension CreateContainerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContainerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContainerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1222,42 +1222,42 @@ extension CreateContainerOutput { extension DeleteContainerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContainerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContainerOutput { return DeleteContainerOutput() } } extension DeleteContainerPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContainerPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContainerPolicyOutput { return DeleteContainerPolicyOutput() } } extension DeleteCorsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCorsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCorsPolicyOutput { return DeleteCorsPolicyOutput() } } extension DeleteLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLifecyclePolicyOutput { return DeleteLifecyclePolicyOutput() } } extension DeleteMetricPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMetricPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMetricPolicyOutput { return DeleteMetricPolicyOutput() } } extension DescribeContainerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContainerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContainerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1269,7 +1269,7 @@ extension DescribeContainerOutput { extension GetContainerPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContainerPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContainerPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1281,7 +1281,7 @@ extension GetContainerPolicyOutput { extension GetCorsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCorsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCorsPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1293,7 +1293,7 @@ extension GetCorsPolicyOutput { extension GetLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1305,7 +1305,7 @@ extension GetLifecyclePolicyOutput { extension GetMetricPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMetricPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMetricPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1317,7 +1317,7 @@ extension GetMetricPolicyOutput { extension ListContainersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContainersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContainersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1330,7 +1330,7 @@ extension ListContainersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1342,63 +1342,63 @@ extension ListTagsForResourceOutput { extension PutContainerPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutContainerPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutContainerPolicyOutput { return PutContainerPolicyOutput() } } extension PutCorsPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCorsPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCorsPolicyOutput { return PutCorsPolicyOutput() } } extension PutLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLifecyclePolicyOutput { return PutLifecyclePolicyOutput() } } extension PutMetricPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMetricPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMetricPolicyOutput { return PutMetricPolicyOutput() } } extension StartAccessLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAccessLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAccessLoggingOutput { return StartAccessLoggingOutput() } } extension StopAccessLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAccessLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAccessLoggingOutput { return StopAccessLoggingOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateContainerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1414,7 +1414,7 @@ enum CreateContainerOutputError { enum DeleteContainerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1430,7 +1430,7 @@ enum DeleteContainerOutputError { enum DeleteContainerPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1447,7 +1447,7 @@ enum DeleteContainerPolicyOutputError { enum DeleteCorsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1464,7 +1464,7 @@ enum DeleteCorsPolicyOutputError { enum DeleteLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1481,7 +1481,7 @@ enum DeleteLifecyclePolicyOutputError { enum DeleteMetricPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1498,7 +1498,7 @@ enum DeleteMetricPolicyOutputError { enum DescribeContainerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1513,7 +1513,7 @@ enum DescribeContainerOutputError { enum GetContainerPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1530,7 +1530,7 @@ enum GetContainerPolicyOutputError { enum GetCorsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1547,7 +1547,7 @@ enum GetCorsPolicyOutputError { enum GetLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1564,7 +1564,7 @@ enum GetLifecyclePolicyOutputError { enum GetMetricPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1581,7 +1581,7 @@ enum GetMetricPolicyOutputError { enum ListContainersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1595,7 +1595,7 @@ enum ListContainersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1611,7 +1611,7 @@ enum ListTagsForResourceOutputError { enum PutContainerPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1627,7 +1627,7 @@ enum PutContainerPolicyOutputError { enum PutCorsPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1643,7 +1643,7 @@ enum PutCorsPolicyOutputError { enum PutLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1659,7 +1659,7 @@ enum PutLifecyclePolicyOutputError { enum PutMetricPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1675,7 +1675,7 @@ enum PutMetricPolicyOutputError { enum StartAccessLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1691,7 +1691,7 @@ enum StartAccessLoggingOutputError { enum StopAccessLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1707,7 +1707,7 @@ enum StopAccessLoggingOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1723,7 +1723,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/Models.swift b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/Models.swift index 5072503a9e7..813c934cf64 100644 --- a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/Models.swift +++ b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct ContainerNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -60,7 +60,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct ObjectNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -167,7 +167,7 @@ public struct RequestedRangeNotSatisfiableException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -555,14 +555,14 @@ extension PutObjectInput { extension DeleteObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObjectOutput { return DeleteObjectOutput() } } extension DescribeObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeObjectOutput { var value = DescribeObjectOutput() if let cacheControlHeaderValue = httpResponse.headers.value(for: "Cache-Control") { value.cacheControl = cacheControlHeaderValue @@ -585,7 +585,7 @@ extension DescribeObjectOutput { extension GetObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectOutput { var value = GetObjectOutput() if let cacheControlHeaderValue = httpResponse.headers.value(for: "Cache-Control") { value.cacheControl = cacheControlHeaderValue @@ -620,7 +620,7 @@ extension GetObjectOutput { extension ListItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -633,7 +633,7 @@ extension ListItemsOutput { extension PutObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -647,7 +647,7 @@ extension PutObjectOutput { enum DeleteObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -663,7 +663,7 @@ enum DeleteObjectOutputError { enum DescribeObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -679,7 +679,7 @@ enum DescribeObjectOutputError { enum GetObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -696,7 +696,7 @@ enum GetObjectOutputError { enum ListItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -711,7 +711,7 @@ enum ListItemsOutputError { enum PutObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/Models.swift b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/Models.swift index 44cbaca7c0f..72464575e75 100644 --- a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/Models.swift +++ b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1604,7 +1604,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4812,7 +4812,7 @@ extension UpdateVodSourceInput { extension ConfigureLogsForChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureLogsForChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureLogsForChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4825,7 +4825,7 @@ extension ConfigureLogsForChannelOutput { extension ConfigureLogsForPlaybackConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureLogsForPlaybackConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureLogsForPlaybackConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4838,7 +4838,7 @@ extension ConfigureLogsForPlaybackConfigurationOutput { extension CreateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4861,7 +4861,7 @@ extension CreateChannelOutput { extension CreateLiveSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLiveSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLiveSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4879,7 +4879,7 @@ extension CreateLiveSourceOutput { extension CreatePrefetchScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePrefetchScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePrefetchScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4896,7 +4896,7 @@ extension CreatePrefetchScheduleOutput { extension CreateProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4919,7 +4919,7 @@ extension CreateProgramOutput { extension CreateSourceLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSourceLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSourceLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4939,7 +4939,7 @@ extension CreateSourceLocationOutput { extension CreateVodSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVodSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVodSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4957,63 +4957,63 @@ extension CreateVodSourceOutput { extension DeleteChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelOutput { return DeleteChannelOutput() } } extension DeleteChannelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChannelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChannelPolicyOutput { return DeleteChannelPolicyOutput() } } extension DeleteLiveSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLiveSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLiveSourceOutput { return DeleteLiveSourceOutput() } } extension DeletePlaybackConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlaybackConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlaybackConfigurationOutput { return DeletePlaybackConfigurationOutput() } } extension DeletePrefetchScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePrefetchScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePrefetchScheduleOutput { return DeletePrefetchScheduleOutput() } } extension DeleteProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProgramOutput { return DeleteProgramOutput() } } extension DeleteSourceLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSourceLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSourceLocationOutput { return DeleteSourceLocationOutput() } } extension DeleteVodSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVodSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVodSourceOutput { return DeleteVodSourceOutput() } } extension DescribeChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5037,7 +5037,7 @@ extension DescribeChannelOutput { extension DescribeLiveSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLiveSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLiveSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5055,7 +5055,7 @@ extension DescribeLiveSourceOutput { extension DescribeProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5078,7 +5078,7 @@ extension DescribeProgramOutput { extension DescribeSourceLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSourceLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSourceLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5098,7 +5098,7 @@ extension DescribeSourceLocationOutput { extension DescribeVodSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVodSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVodSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5117,7 +5117,7 @@ extension DescribeVodSourceOutput { extension GetChannelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5129,7 +5129,7 @@ extension GetChannelPolicyOutput { extension GetChannelScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5142,7 +5142,7 @@ extension GetChannelScheduleOutput { extension GetPlaybackConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPlaybackConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPlaybackConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5173,7 +5173,7 @@ extension GetPlaybackConfigurationOutput { extension GetPrefetchScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPrefetchScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPrefetchScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5190,7 +5190,7 @@ extension GetPrefetchScheduleOutput { extension ListAlertsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlertsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlertsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5203,7 +5203,7 @@ extension ListAlertsOutput { extension ListChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5216,7 +5216,7 @@ extension ListChannelsOutput { extension ListLiveSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLiveSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLiveSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5229,7 +5229,7 @@ extension ListLiveSourcesOutput { extension ListPlaybackConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlaybackConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlaybackConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5242,7 +5242,7 @@ extension ListPlaybackConfigurationsOutput { extension ListPrefetchSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrefetchSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrefetchSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5255,7 +5255,7 @@ extension ListPrefetchSchedulesOutput { extension ListSourceLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSourceLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSourceLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5268,7 +5268,7 @@ extension ListSourceLocationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5280,7 +5280,7 @@ extension ListTagsForResourceOutput { extension ListVodSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVodSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVodSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5293,14 +5293,14 @@ extension ListVodSourcesOutput { extension PutChannelPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutChannelPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutChannelPolicyOutput { return PutChannelPolicyOutput() } } extension PutPlaybackConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPlaybackConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPlaybackConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5331,35 +5331,35 @@ extension PutPlaybackConfigurationOutput { extension StartChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartChannelOutput { return StartChannelOutput() } } extension StopChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopChannelOutput { return StopChannelOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5382,7 +5382,7 @@ extension UpdateChannelOutput { extension UpdateLiveSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLiveSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLiveSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5400,7 +5400,7 @@ extension UpdateLiveSourceOutput { extension UpdateProgramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProgramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProgramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5423,7 +5423,7 @@ extension UpdateProgramOutput { extension UpdateSourceLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSourceLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSourceLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5443,7 +5443,7 @@ extension UpdateSourceLocationOutput { extension UpdateVodSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVodSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVodSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5461,7 +5461,7 @@ extension UpdateVodSourceOutput { enum ConfigureLogsForChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5474,7 +5474,7 @@ enum ConfigureLogsForChannelOutputError { enum ConfigureLogsForPlaybackConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5487,7 +5487,7 @@ enum ConfigureLogsForPlaybackConfigurationOutputError { enum CreateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5500,7 +5500,7 @@ enum CreateChannelOutputError { enum CreateLiveSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5513,7 +5513,7 @@ enum CreateLiveSourceOutputError { enum CreatePrefetchScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5526,7 +5526,7 @@ enum CreatePrefetchScheduleOutputError { enum CreateProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5539,7 +5539,7 @@ enum CreateProgramOutputError { enum CreateSourceLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5552,7 +5552,7 @@ enum CreateSourceLocationOutputError { enum CreateVodSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5565,7 +5565,7 @@ enum CreateVodSourceOutputError { enum DeleteChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5578,7 +5578,7 @@ enum DeleteChannelOutputError { enum DeleteChannelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5591,7 +5591,7 @@ enum DeleteChannelPolicyOutputError { enum DeleteLiveSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5604,7 +5604,7 @@ enum DeleteLiveSourceOutputError { enum DeletePlaybackConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5617,7 +5617,7 @@ enum DeletePlaybackConfigurationOutputError { enum DeletePrefetchScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5630,7 +5630,7 @@ enum DeletePrefetchScheduleOutputError { enum DeleteProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5643,7 +5643,7 @@ enum DeleteProgramOutputError { enum DeleteSourceLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5656,7 +5656,7 @@ enum DeleteSourceLocationOutputError { enum DeleteVodSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5669,7 +5669,7 @@ enum DeleteVodSourceOutputError { enum DescribeChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5682,7 +5682,7 @@ enum DescribeChannelOutputError { enum DescribeLiveSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5695,7 +5695,7 @@ enum DescribeLiveSourceOutputError { enum DescribeProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5708,7 +5708,7 @@ enum DescribeProgramOutputError { enum DescribeSourceLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5721,7 +5721,7 @@ enum DescribeSourceLocationOutputError { enum DescribeVodSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5734,7 +5734,7 @@ enum DescribeVodSourceOutputError { enum GetChannelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5747,7 +5747,7 @@ enum GetChannelPolicyOutputError { enum GetChannelScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5760,7 +5760,7 @@ enum GetChannelScheduleOutputError { enum GetPlaybackConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5773,7 +5773,7 @@ enum GetPlaybackConfigurationOutputError { enum GetPrefetchScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5786,7 +5786,7 @@ enum GetPrefetchScheduleOutputError { enum ListAlertsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5799,7 +5799,7 @@ enum ListAlertsOutputError { enum ListChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5812,7 +5812,7 @@ enum ListChannelsOutputError { enum ListLiveSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5825,7 +5825,7 @@ enum ListLiveSourcesOutputError { enum ListPlaybackConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5838,7 +5838,7 @@ enum ListPlaybackConfigurationsOutputError { enum ListPrefetchSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5851,7 +5851,7 @@ enum ListPrefetchSchedulesOutputError { enum ListSourceLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5864,7 +5864,7 @@ enum ListSourceLocationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5878,7 +5878,7 @@ enum ListTagsForResourceOutputError { enum ListVodSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5891,7 +5891,7 @@ enum ListVodSourcesOutputError { enum PutChannelPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5904,7 +5904,7 @@ enum PutChannelPolicyOutputError { enum PutPlaybackConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5917,7 +5917,7 @@ enum PutPlaybackConfigurationOutputError { enum StartChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5930,7 +5930,7 @@ enum StartChannelOutputError { enum StopChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5943,7 +5943,7 @@ enum StopChannelOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5957,7 +5957,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5971,7 +5971,7 @@ enum UntagResourceOutputError { enum UpdateChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5984,7 +5984,7 @@ enum UpdateChannelOutputError { enum UpdateLiveSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5997,7 +5997,7 @@ enum UpdateLiveSourceOutputError { enum UpdateProgramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6010,7 +6010,7 @@ enum UpdateProgramOutputError { enum UpdateSourceLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6023,7 +6023,7 @@ enum UpdateSourceLocationOutputError { enum UpdateVodSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/Models.swift b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/Models.swift index 54be155db20..03bb3ba5bff 100644 --- a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/Models.swift +++ b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -137,7 +137,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,7 +162,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -187,7 +187,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2268,7 +2268,7 @@ extension UpdateImageSetMetadataInput { extension CopyImageSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyImageSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyImageSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2282,7 +2282,7 @@ extension CopyImageSetOutput { extension CreateDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2295,7 +2295,7 @@ extension CreateDatastoreOutput { extension DeleteDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2308,7 +2308,7 @@ extension DeleteDatastoreOutput { extension DeleteImageSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2323,7 +2323,7 @@ extension DeleteImageSetOutput { extension GetDatastoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatastoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatastoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2335,7 +2335,7 @@ extension GetDatastoreOutput { extension GetDICOMImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDICOMImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDICOMImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2347,7 +2347,7 @@ extension GetDICOMImportJobOutput { extension GetImageFrameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageFrameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageFrameOutput { var value = GetImageFrameOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -2366,7 +2366,7 @@ extension GetImageFrameOutput { extension GetImageSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2387,7 +2387,7 @@ extension GetImageSetOutput { extension GetImageSetMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImageSetMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImageSetMetadataOutput { var value = GetImageSetMetadataOutput() if let contentEncodingHeaderValue = httpResponse.headers.value(for: "Content-Encoding") { value.contentEncoding = contentEncodingHeaderValue @@ -2409,7 +2409,7 @@ extension GetImageSetMetadataOutput { extension ListDatastoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatastoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatastoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2422,7 +2422,7 @@ extension ListDatastoresOutput { extension ListDICOMImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDICOMImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDICOMImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2435,7 +2435,7 @@ extension ListDICOMImportJobsOutput { extension ListImageSetVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImageSetVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImageSetVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2448,7 +2448,7 @@ extension ListImageSetVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2460,7 +2460,7 @@ extension ListTagsForResourceOutput { extension SearchImageSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchImageSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchImageSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2474,7 +2474,7 @@ extension SearchImageSetsOutput { extension StartDICOMImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDICOMImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDICOMImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2489,21 +2489,21 @@ extension StartDICOMImportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateImageSetMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImageSetMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImageSetMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2522,7 +2522,7 @@ extension UpdateImageSetMetadataOutput { enum CopyImageSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2542,7 +2542,7 @@ enum CopyImageSetOutputError { enum CreateDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2561,7 +2561,7 @@ enum CreateDatastoreOutputError { enum DeleteDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2580,7 +2580,7 @@ enum DeleteDatastoreOutputError { enum DeleteImageSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2599,7 +2599,7 @@ enum DeleteImageSetOutputError { enum GetDatastoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2617,7 +2617,7 @@ enum GetDatastoreOutputError { enum GetDICOMImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2636,7 +2636,7 @@ enum GetDICOMImportJobOutputError { enum GetImageFrameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2655,7 +2655,7 @@ enum GetImageFrameOutputError { enum GetImageSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2674,7 +2674,7 @@ enum GetImageSetOutputError { enum GetImageSetMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2693,7 +2693,7 @@ enum GetImageSetMetadataOutputError { enum ListDatastoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2710,7 +2710,7 @@ enum ListDatastoresOutputError { enum ListDICOMImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2729,7 +2729,7 @@ enum ListDICOMImportJobsOutputError { enum ListImageSetVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2748,7 +2748,7 @@ enum ListImageSetVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2766,7 +2766,7 @@ enum ListTagsForResourceOutputError { enum SearchImageSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2785,7 +2785,7 @@ enum SearchImageSetsOutputError { enum StartDICOMImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2805,7 +2805,7 @@ enum StartDICOMImportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2823,7 +2823,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2841,7 +2841,7 @@ enum UntagResourceOutputError { enum UpdateImageSetMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/Models.swift b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/Models.swift index 1d420e92e3b..b31a27c655f 100644 --- a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/Models.swift +++ b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -94,7 +94,7 @@ public struct ACLAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -118,7 +118,7 @@ public struct ACLNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -142,7 +142,7 @@ public struct ACLQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -182,7 +182,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -206,7 +206,7 @@ public struct ServiceUpdateNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -692,7 +692,7 @@ public struct InvalidParameterCombinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -716,7 +716,7 @@ public struct InvalidSnapshotStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -740,7 +740,7 @@ public struct ServiceLinkedRoleNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -764,7 +764,7 @@ public struct SnapshotAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -788,7 +788,7 @@ public struct SnapshotNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -812,7 +812,7 @@ public struct SnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -836,7 +836,7 @@ public struct TagQuotaPerResourceExceeded: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1078,7 +1078,7 @@ public struct DefaultUserRequired: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1102,7 +1102,7 @@ public struct DuplicateUserNameFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1126,7 +1126,7 @@ public struct UserNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1183,7 +1183,7 @@ public struct ClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1207,7 +1207,7 @@ public struct ClusterQuotaForCustomerExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1231,7 +1231,7 @@ public struct InsufficientClusterCapacityFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1255,7 +1255,7 @@ public struct InvalidACLStateFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1279,7 +1279,7 @@ public struct InvalidCredentialsException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1303,7 +1303,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1327,7 +1327,7 @@ public struct NodeQuotaForClusterExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1351,7 +1351,7 @@ public struct NodeQuotaForCustomerExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1375,7 +1375,7 @@ public struct ParameterGroupNotFoundFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1399,7 +1399,7 @@ public struct ShardsPerClusterQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1423,7 +1423,7 @@ public struct SubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1575,7 +1575,7 @@ public struct InvalidParameterGroupStateFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1599,7 +1599,7 @@ public struct ParameterGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1623,7 +1623,7 @@ public struct ParameterGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1713,7 +1713,7 @@ public struct ClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1737,7 +1737,7 @@ public struct InvalidClusterStateFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1799,7 +1799,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1823,7 +1823,7 @@ public struct SubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1847,7 +1847,7 @@ public struct SubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1871,7 +1871,7 @@ public struct SubnetNotAllowedFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1895,7 +1895,7 @@ public struct SubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2032,7 +2032,7 @@ public struct UserAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2056,7 +2056,7 @@ public struct UserQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2364,7 +2364,7 @@ public struct SubnetGroupInUseFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2413,7 +2413,7 @@ public struct InvalidUserStateFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2836,7 +2836,7 @@ public struct ReservedNodeNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2988,7 +2988,7 @@ public struct ReservedNodesOfferingNotFoundFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3356,7 +3356,7 @@ public struct APICallRateForCustomerExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3380,7 +3380,7 @@ public struct InvalidKMSKeyFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3404,7 +3404,7 @@ public struct ShardNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3428,7 +3428,7 @@ public struct TestFailoverNotAvailableFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3511,7 +3511,7 @@ public struct InvalidARNFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3560,7 +3560,7 @@ public struct ReservedNodeAlreadyExistsFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3584,7 +3584,7 @@ public struct ReservedNodeQuotaExceededFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3708,7 +3708,7 @@ public struct TagNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3795,7 +3795,7 @@ public struct InvalidNodeStateFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3819,7 +3819,7 @@ public struct NoOperationFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4019,7 +4019,7 @@ public struct SubnetInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4782,7 +4782,7 @@ extension UpdateUserInput { extension BatchUpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4795,7 +4795,7 @@ extension BatchUpdateClusterOutput { extension CopySnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopySnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopySnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4807,7 +4807,7 @@ extension CopySnapshotOutput { extension CreateACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4819,7 +4819,7 @@ extension CreateACLOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4831,7 +4831,7 @@ extension CreateClusterOutput { extension CreateParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4843,7 +4843,7 @@ extension CreateParameterGroupOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4855,7 +4855,7 @@ extension CreateSnapshotOutput { extension CreateSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4867,7 +4867,7 @@ extension CreateSubnetGroupOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4879,7 +4879,7 @@ extension CreateUserOutput { extension DeleteACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4891,7 +4891,7 @@ extension DeleteACLOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4903,7 +4903,7 @@ extension DeleteClusterOutput { extension DeleteParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4915,7 +4915,7 @@ extension DeleteParameterGroupOutput { extension DeleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4927,7 +4927,7 @@ extension DeleteSnapshotOutput { extension DeleteSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4939,7 +4939,7 @@ extension DeleteSubnetGroupOutput { extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4951,7 +4951,7 @@ extension DeleteUserOutput { extension DescribeACLsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeACLsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeACLsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4964,7 +4964,7 @@ extension DescribeACLsOutput { extension DescribeClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4977,7 +4977,7 @@ extension DescribeClustersOutput { extension DescribeEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4990,7 +4990,7 @@ extension DescribeEngineVersionsOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5003,7 +5003,7 @@ extension DescribeEventsOutput { extension DescribeParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5016,7 +5016,7 @@ extension DescribeParameterGroupsOutput { extension DescribeParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5029,7 +5029,7 @@ extension DescribeParametersOutput { extension DescribeReservedNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5042,7 +5042,7 @@ extension DescribeReservedNodesOutput { extension DescribeReservedNodesOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedNodesOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedNodesOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5055,7 +5055,7 @@ extension DescribeReservedNodesOfferingsOutput { extension DescribeServiceUpdatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceUpdatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceUpdatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5068,7 +5068,7 @@ extension DescribeServiceUpdatesOutput { extension DescribeSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5081,7 +5081,7 @@ extension DescribeSnapshotsOutput { extension DescribeSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5094,7 +5094,7 @@ extension DescribeSubnetGroupsOutput { extension DescribeUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5107,7 +5107,7 @@ extension DescribeUsersOutput { extension FailoverShardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverShardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverShardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5119,7 +5119,7 @@ extension FailoverShardOutput { extension ListAllowedNodeTypeUpdatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAllowedNodeTypeUpdatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAllowedNodeTypeUpdatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5132,7 +5132,7 @@ extension ListAllowedNodeTypeUpdatesOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5144,7 +5144,7 @@ extension ListTagsOutput { extension PurchaseReservedNodesOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedNodesOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedNodesOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5156,7 +5156,7 @@ extension PurchaseReservedNodesOfferingOutput { extension ResetParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5168,7 +5168,7 @@ extension ResetParameterGroupOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5180,7 +5180,7 @@ extension TagResourceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5192,7 +5192,7 @@ extension UntagResourceOutput { extension UpdateACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5204,7 +5204,7 @@ extension UpdateACLOutput { extension UpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5216,7 +5216,7 @@ extension UpdateClusterOutput { extension UpdateParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5228,7 +5228,7 @@ extension UpdateParameterGroupOutput { extension UpdateSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5240,7 +5240,7 @@ extension UpdateSubnetGroupOutput { extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5252,7 +5252,7 @@ extension UpdateUserOutput { enum BatchUpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5267,7 +5267,7 @@ enum BatchUpdateClusterOutputError { enum CopySnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5288,7 +5288,7 @@ enum CopySnapshotOutputError { enum CreateACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5308,7 +5308,7 @@ enum CreateACLOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5337,7 +5337,7 @@ enum CreateClusterOutputError { enum CreateParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5357,7 +5357,7 @@ enum CreateParameterGroupOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5378,7 +5378,7 @@ enum CreateSnapshotOutputError { enum CreateSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5398,7 +5398,7 @@ enum CreateSubnetGroupOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5417,7 +5417,7 @@ enum CreateUserOutputError { enum DeleteACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5433,7 +5433,7 @@ enum DeleteACLOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5452,7 +5452,7 @@ enum DeleteClusterOutputError { enum DeleteParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5470,7 +5470,7 @@ enum DeleteParameterGroupOutputError { enum DeleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5488,7 +5488,7 @@ enum DeleteSnapshotOutputError { enum DeleteSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5504,7 +5504,7 @@ enum DeleteSubnetGroupOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5520,7 +5520,7 @@ enum DeleteUserOutputError { enum DescribeACLsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5535,7 +5535,7 @@ enum DescribeACLsOutputError { enum DescribeClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5552,7 +5552,7 @@ enum DescribeClustersOutputError { enum DescribeEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5568,7 +5568,7 @@ enum DescribeEngineVersionsOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5584,7 +5584,7 @@ enum DescribeEventsOutputError { enum DescribeParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5601,7 +5601,7 @@ enum DescribeParameterGroupsOutputError { enum DescribeParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5618,7 +5618,7 @@ enum DescribeParametersOutputError { enum DescribeReservedNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5635,7 +5635,7 @@ enum DescribeReservedNodesOutputError { enum DescribeReservedNodesOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5652,7 +5652,7 @@ enum DescribeReservedNodesOfferingsOutputError { enum DescribeServiceUpdatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5667,7 +5667,7 @@ enum DescribeServiceUpdatesOutputError { enum DescribeSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5684,7 +5684,7 @@ enum DescribeSnapshotsOutputError { enum DescribeSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5699,7 +5699,7 @@ enum DescribeSubnetGroupsOutputError { enum DescribeUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5714,7 +5714,7 @@ enum DescribeUsersOutputError { enum FailoverShardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5735,7 +5735,7 @@ enum FailoverShardOutputError { enum ListAllowedNodeTypeUpdatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5752,7 +5752,7 @@ enum ListAllowedNodeTypeUpdatesOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5774,7 +5774,7 @@ enum ListTagsOutputError { enum PurchaseReservedNodesOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5794,7 +5794,7 @@ enum PurchaseReservedNodesOfferingOutputError { enum ResetParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5812,7 +5812,7 @@ enum ResetParameterGroupOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5835,7 +5835,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5858,7 +5858,7 @@ enum UntagResourceOutputError { enum UpdateACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5878,7 +5878,7 @@ enum UpdateACLOutputError { enum UpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5907,7 +5907,7 @@ enum UpdateClusterOutputError { enum UpdateParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5925,7 +5925,7 @@ enum UpdateParameterGroupOutputError { enum UpdateSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5944,7 +5944,7 @@ enum UpdateSubnetGroupOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMgn/Sources/AWSMgn/Models.swift b/Sources/Services/AWSMgn/Sources/AWSMgn/Models.swift index cceac0c1866..f14c17a166e 100644 --- a/Sources/Services/AWSMgn/Sources/AWSMgn/Models.swift +++ b/Sources/Services/AWSMgn/Sources/AWSMgn/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -58,7 +58,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -323,7 +323,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -360,7 +360,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -401,7 +401,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -438,7 +438,7 @@ public struct UninitializedAccountException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -965,7 +965,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3617,7 +3617,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3650,7 +3650,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9155,7 +9155,7 @@ extension UpdateWaveInput { extension ArchiveApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ArchiveApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ArchiveApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9176,7 +9176,7 @@ extension ArchiveApplicationOutput { extension ArchiveWaveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ArchiveWaveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ArchiveWaveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9196,21 +9196,21 @@ extension ArchiveWaveOutput { extension AssociateApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateApplicationsOutput { return AssociateApplicationsOutput() } } extension AssociateSourceServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSourceServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSourceServersOutput { return AssociateSourceServersOutput() } } extension ChangeServerLifeCycleStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangeServerLifeCycleStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangeServerLifeCycleStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9235,7 +9235,7 @@ extension ChangeServerLifeCycleStateOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9256,7 +9256,7 @@ extension CreateApplicationOutput { extension CreateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9273,7 +9273,7 @@ extension CreateConnectorOutput { extension CreateLaunchConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9301,7 +9301,7 @@ extension CreateLaunchConfigurationTemplateOutput { extension CreateReplicationConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9328,7 +9328,7 @@ extension CreateReplicationConfigurationTemplateOutput { extension CreateWaveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWaveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWaveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9348,63 +9348,63 @@ extension CreateWaveOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorOutput { return DeleteConnectorOutput() } } extension DeleteJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobOutput { return DeleteJobOutput() } } extension DeleteLaunchConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchConfigurationTemplateOutput { return DeleteLaunchConfigurationTemplateOutput() } } extension DeleteReplicationConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationConfigurationTemplateOutput { return DeleteReplicationConfigurationTemplateOutput() } } extension DeleteSourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSourceServerOutput { return DeleteSourceServerOutput() } } extension DeleteVcenterClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVcenterClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVcenterClientOutput { return DeleteVcenterClientOutput() } } extension DeleteWaveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWaveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWaveOutput { return DeleteWaveOutput() } } extension DescribeJobLogItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobLogItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobLogItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9417,7 +9417,7 @@ extension DescribeJobLogItemsOutput { extension DescribeJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9430,7 +9430,7 @@ extension DescribeJobsOutput { extension DescribeLaunchConfigurationTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLaunchConfigurationTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLaunchConfigurationTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9443,7 +9443,7 @@ extension DescribeLaunchConfigurationTemplatesOutput { extension DescribeReplicationConfigurationTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReplicationConfigurationTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReplicationConfigurationTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9456,7 +9456,7 @@ extension DescribeReplicationConfigurationTemplatesOutput { extension DescribeSourceServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSourceServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSourceServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9469,7 +9469,7 @@ extension DescribeSourceServersOutput { extension DescribeVcenterClientsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVcenterClientsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVcenterClientsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9482,21 +9482,21 @@ extension DescribeVcenterClientsOutput { extension DisassociateApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateApplicationsOutput { return DisassociateApplicationsOutput() } } extension DisassociateSourceServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateSourceServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateSourceServersOutput { return DisassociateSourceServersOutput() } } extension DisconnectFromServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisconnectFromServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisconnectFromServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9521,7 +9521,7 @@ extension DisconnectFromServiceOutput { extension FinalizeCutoverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FinalizeCutoverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FinalizeCutoverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9546,7 +9546,7 @@ extension FinalizeCutoverOutput { extension GetLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9569,7 +9569,7 @@ extension GetLaunchConfigurationOutput { extension GetReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9596,14 +9596,14 @@ extension GetReplicationConfigurationOutput { extension InitializeServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitializeServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitializeServiceOutput { return InitializeServiceOutput() } } extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9616,7 +9616,7 @@ extension ListApplicationsOutput { extension ListConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9629,7 +9629,7 @@ extension ListConnectorsOutput { extension ListExportErrorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportErrorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportErrorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9642,7 +9642,7 @@ extension ListExportErrorsOutput { extension ListExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9655,7 +9655,7 @@ extension ListExportsOutput { extension ListImportErrorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportErrorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportErrorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9668,7 +9668,7 @@ extension ListImportErrorsOutput { extension ListImportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9681,7 +9681,7 @@ extension ListImportsOutput { extension ListManagedAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9694,7 +9694,7 @@ extension ListManagedAccountsOutput { extension ListSourceServerActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSourceServerActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSourceServerActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9707,7 +9707,7 @@ extension ListSourceServerActionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9719,7 +9719,7 @@ extension ListTagsForResourceOutput { extension ListTemplateActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9732,7 +9732,7 @@ extension ListTemplateActionsOutput { extension ListWavesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWavesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWavesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9745,7 +9745,7 @@ extension ListWavesOutput { extension MarkAsArchivedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MarkAsArchivedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MarkAsArchivedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9770,7 +9770,7 @@ extension MarkAsArchivedOutput { extension PauseReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PauseReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9795,7 +9795,7 @@ extension PauseReplicationOutput { extension PutSourceServerActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSourceServerActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSourceServerActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9818,7 +9818,7 @@ extension PutSourceServerActionOutput { extension PutTemplateActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutTemplateActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutTemplateActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9842,21 +9842,21 @@ extension PutTemplateActionOutput { extension RemoveSourceServerActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveSourceServerActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveSourceServerActionOutput { return RemoveSourceServerActionOutput() } } extension RemoveTemplateActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTemplateActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTemplateActionOutput { return RemoveTemplateActionOutput() } } extension ResumeReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9881,7 +9881,7 @@ extension ResumeReplicationOutput { extension RetryDataReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryDataReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryDataReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9906,7 +9906,7 @@ extension RetryDataReplicationOutput { extension StartCutoverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCutoverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCutoverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9918,7 +9918,7 @@ extension StartCutoverOutput { extension StartExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9930,7 +9930,7 @@ extension StartExportOutput { extension StartImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9942,7 +9942,7 @@ extension StartImportOutput { extension StartReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9967,7 +9967,7 @@ extension StartReplicationOutput { extension StartTestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9979,7 +9979,7 @@ extension StartTestOutput { extension StopReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10004,14 +10004,14 @@ extension StopReplicationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TerminateTargetInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateTargetInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateTargetInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10023,7 +10023,7 @@ extension TerminateTargetInstancesOutput { extension UnarchiveApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnarchiveApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnarchiveApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10044,7 +10044,7 @@ extension UnarchiveApplicationOutput { extension UnarchiveWaveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnarchiveWaveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnarchiveWaveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10064,14 +10064,14 @@ extension UnarchiveWaveOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10092,7 +10092,7 @@ extension UpdateApplicationOutput { extension UpdateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10109,7 +10109,7 @@ extension UpdateConnectorOutput { extension UpdateLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10132,7 +10132,7 @@ extension UpdateLaunchConfigurationOutput { extension UpdateLaunchConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10160,7 +10160,7 @@ extension UpdateLaunchConfigurationTemplateOutput { extension UpdateReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10187,7 +10187,7 @@ extension UpdateReplicationConfigurationOutput { extension UpdateReplicationConfigurationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationConfigurationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationConfigurationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10214,7 +10214,7 @@ extension UpdateReplicationConfigurationTemplateOutput { extension UpdateSourceServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSourceServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSourceServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10239,7 +10239,7 @@ extension UpdateSourceServerOutput { extension UpdateSourceServerReplicationTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSourceServerReplicationTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSourceServerReplicationTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10264,7 +10264,7 @@ extension UpdateSourceServerReplicationTypeOutput { extension UpdateWaveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWaveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWaveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10284,7 +10284,7 @@ extension UpdateWaveOutput { enum ArchiveApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10301,7 +10301,7 @@ enum ArchiveApplicationOutputError { enum ArchiveWaveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10318,7 +10318,7 @@ enum ArchiveWaveOutputError { enum AssociateApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10335,7 +10335,7 @@ enum AssociateApplicationsOutputError { enum AssociateSourceServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10352,7 +10352,7 @@ enum AssociateSourceServersOutputError { enum ChangeServerLifeCycleStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10369,7 +10369,7 @@ enum ChangeServerLifeCycleStateOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10385,7 +10385,7 @@ enum CreateApplicationOutputError { enum CreateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10400,7 +10400,7 @@ enum CreateConnectorOutputError { enum CreateLaunchConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10416,7 +10416,7 @@ enum CreateLaunchConfigurationTemplateOutputError { enum CreateReplicationConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10432,7 +10432,7 @@ enum CreateReplicationConfigurationTemplateOutputError { enum CreateWaveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10448,7 +10448,7 @@ enum CreateWaveOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10464,7 +10464,7 @@ enum DeleteApplicationOutputError { enum DeleteConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10480,7 +10480,7 @@ enum DeleteConnectorOutputError { enum DeleteJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10496,7 +10496,7 @@ enum DeleteJobOutputError { enum DeleteLaunchConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10512,7 +10512,7 @@ enum DeleteLaunchConfigurationTemplateOutputError { enum DeleteReplicationConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10528,7 +10528,7 @@ enum DeleteReplicationConfigurationTemplateOutputError { enum DeleteSourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10544,7 +10544,7 @@ enum DeleteSourceServerOutputError { enum DeleteVcenterClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10560,7 +10560,7 @@ enum DeleteVcenterClientOutputError { enum DeleteWaveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10576,7 +10576,7 @@ enum DeleteWaveOutputError { enum DescribeJobLogItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10591,7 +10591,7 @@ enum DescribeJobLogItemsOutputError { enum DescribeJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10606,7 +10606,7 @@ enum DescribeJobsOutputError { enum DescribeLaunchConfigurationTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10622,7 +10622,7 @@ enum DescribeLaunchConfigurationTemplatesOutputError { enum DescribeReplicationConfigurationTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10638,7 +10638,7 @@ enum DescribeReplicationConfigurationTemplatesOutputError { enum DescribeSourceServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10653,7 +10653,7 @@ enum DescribeSourceServersOutputError { enum DescribeVcenterClientsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10669,7 +10669,7 @@ enum DescribeVcenterClientsOutputError { enum DisassociateApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10685,7 +10685,7 @@ enum DisassociateApplicationsOutputError { enum DisassociateSourceServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10701,7 +10701,7 @@ enum DisassociateSourceServersOutputError { enum DisconnectFromServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10717,7 +10717,7 @@ enum DisconnectFromServiceOutputError { enum FinalizeCutoverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10734,7 +10734,7 @@ enum FinalizeCutoverOutputError { enum GetLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10749,7 +10749,7 @@ enum GetLaunchConfigurationOutputError { enum GetReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10764,7 +10764,7 @@ enum GetReplicationConfigurationOutputError { enum InitializeServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10779,7 +10779,7 @@ enum InitializeServiceOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10793,7 +10793,7 @@ enum ListApplicationsOutputError { enum ListConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10808,7 +10808,7 @@ enum ListConnectorsOutputError { enum ListExportErrorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10823,7 +10823,7 @@ enum ListExportErrorsOutputError { enum ListExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10837,7 +10837,7 @@ enum ListExportsOutputError { enum ListImportErrorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10852,7 +10852,7 @@ enum ListImportErrorsOutputError { enum ListImportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10867,7 +10867,7 @@ enum ListImportsOutputError { enum ListManagedAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10882,7 +10882,7 @@ enum ListManagedAccountsOutputError { enum ListSourceServerActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10897,7 +10897,7 @@ enum ListSourceServerActionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10915,7 +10915,7 @@ enum ListTagsForResourceOutputError { enum ListTemplateActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10930,7 +10930,7 @@ enum ListTemplateActionsOutputError { enum ListWavesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10944,7 +10944,7 @@ enum ListWavesOutputError { enum MarkAsArchivedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10960,7 +10960,7 @@ enum MarkAsArchivedOutputError { enum PauseReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10978,7 +10978,7 @@ enum PauseReplicationOutputError { enum PutSourceServerActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10995,7 +10995,7 @@ enum PutSourceServerActionOutputError { enum PutTemplateActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11012,7 +11012,7 @@ enum PutTemplateActionOutputError { enum RemoveSourceServerActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11028,7 +11028,7 @@ enum RemoveSourceServerActionOutputError { enum RemoveTemplateActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11044,7 +11044,7 @@ enum RemoveTemplateActionOutputError { enum ResumeReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11062,7 +11062,7 @@ enum ResumeReplicationOutputError { enum RetryDataReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11078,7 +11078,7 @@ enum RetryDataReplicationOutputError { enum StartCutoverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11094,7 +11094,7 @@ enum StartCutoverOutputError { enum StartExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11110,7 +11110,7 @@ enum StartExportOutputError { enum StartImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11128,7 +11128,7 @@ enum StartImportOutputError { enum StartReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11146,7 +11146,7 @@ enum StartReplicationOutputError { enum StartTestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11162,7 +11162,7 @@ enum StartTestOutputError { enum StopReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11180,7 +11180,7 @@ enum StopReplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11198,7 +11198,7 @@ enum TagResourceOutputError { enum TerminateTargetInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11214,7 +11214,7 @@ enum TerminateTargetInstancesOutputError { enum UnarchiveApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11230,7 +11230,7 @@ enum UnarchiveApplicationOutputError { enum UnarchiveWaveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11246,7 +11246,7 @@ enum UnarchiveWaveOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11264,7 +11264,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11280,7 +11280,7 @@ enum UpdateApplicationOutputError { enum UpdateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11296,7 +11296,7 @@ enum UpdateConnectorOutputError { enum UpdateLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11313,7 +11313,7 @@ enum UpdateLaunchConfigurationOutputError { enum UpdateLaunchConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11330,7 +11330,7 @@ enum UpdateLaunchConfigurationTemplateOutputError { enum UpdateReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11348,7 +11348,7 @@ enum UpdateReplicationConfigurationOutputError { enum UpdateReplicationConfigurationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11365,7 +11365,7 @@ enum UpdateReplicationConfigurationTemplateOutputError { enum UpdateSourceServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11381,7 +11381,7 @@ enum UpdateSourceServerOutputError { enum UpdateSourceServerReplicationTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11398,7 +11398,7 @@ enum UpdateSourceServerReplicationTypeOutputError { enum UpdateWaveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/Models.swift b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/Models.swift index d17845a3450..f0de35f56e2 100644 --- a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/Models.swift +++ b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct DryRunOperation: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct HomeRegionNotSetException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -208,7 +208,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -232,7 +232,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -260,7 +260,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -286,7 +286,7 @@ public struct UnauthorizedOperation: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -363,7 +363,7 @@ public struct PolicyErrorException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1434,35 +1434,35 @@ extension PutResourceAttributesInput { extension AssociateCreatedArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateCreatedArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateCreatedArtifactOutput { return AssociateCreatedArtifactOutput() } } extension AssociateDiscoveredResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDiscoveredResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDiscoveredResourceOutput { return AssociateDiscoveredResourceOutput() } } extension CreateProgressUpdateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProgressUpdateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProgressUpdateStreamOutput { return CreateProgressUpdateStreamOutput() } } extension DeleteProgressUpdateStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProgressUpdateStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProgressUpdateStreamOutput { return DeleteProgressUpdateStreamOutput() } } extension DescribeApplicationStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1475,7 +1475,7 @@ extension DescribeApplicationStateOutput { extension DescribeMigrationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMigrationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMigrationTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1487,28 +1487,28 @@ extension DescribeMigrationTaskOutput { extension DisassociateCreatedArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateCreatedArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateCreatedArtifactOutput { return DisassociateCreatedArtifactOutput() } } extension DisassociateDiscoveredResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDiscoveredResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDiscoveredResourceOutput { return DisassociateDiscoveredResourceOutput() } } extension ImportMigrationTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportMigrationTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportMigrationTaskOutput { return ImportMigrationTaskOutput() } } extension ListApplicationStatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationStatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationStatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1521,7 +1521,7 @@ extension ListApplicationStatesOutput { extension ListCreatedArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCreatedArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCreatedArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1534,7 +1534,7 @@ extension ListCreatedArtifactsOutput { extension ListDiscoveredResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDiscoveredResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDiscoveredResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1547,7 +1547,7 @@ extension ListDiscoveredResourcesOutput { extension ListMigrationTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMigrationTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMigrationTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1560,7 +1560,7 @@ extension ListMigrationTasksOutput { extension ListProgressUpdateStreamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProgressUpdateStreamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProgressUpdateStreamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1573,28 +1573,28 @@ extension ListProgressUpdateStreamsOutput { extension NotifyApplicationStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyApplicationStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyApplicationStateOutput { return NotifyApplicationStateOutput() } } extension NotifyMigrationTaskStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyMigrationTaskStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyMigrationTaskStateOutput { return NotifyMigrationTaskStateOutput() } } extension PutResourceAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourceAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourceAttributesOutput { return PutResourceAttributesOutput() } } enum AssociateCreatedArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1616,7 +1616,7 @@ enum AssociateCreatedArtifactOutputError { enum AssociateDiscoveredResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1639,7 +1639,7 @@ enum AssociateDiscoveredResourceOutputError { enum CreateProgressUpdateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1660,7 +1660,7 @@ enum CreateProgressUpdateStreamOutputError { enum DeleteProgressUpdateStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1682,7 +1682,7 @@ enum DeleteProgressUpdateStreamOutputError { enum DescribeApplicationStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1703,7 +1703,7 @@ enum DescribeApplicationStateOutputError { enum DescribeMigrationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1723,7 +1723,7 @@ enum DescribeMigrationTaskOutputError { enum DisassociateCreatedArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1745,7 +1745,7 @@ enum DisassociateCreatedArtifactOutputError { enum DisassociateDiscoveredResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1767,7 +1767,7 @@ enum DisassociateDiscoveredResourceOutputError { enum ImportMigrationTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1789,7 +1789,7 @@ enum ImportMigrationTaskOutputError { enum ListApplicationStatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1808,7 +1808,7 @@ enum ListApplicationStatesOutputError { enum ListCreatedArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1828,7 +1828,7 @@ enum ListCreatedArtifactsOutputError { enum ListDiscoveredResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1848,7 +1848,7 @@ enum ListDiscoveredResourcesOutputError { enum ListMigrationTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1869,7 +1869,7 @@ enum ListMigrationTasksOutputError { enum ListProgressUpdateStreamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1888,7 +1888,7 @@ enum ListProgressUpdateStreamsOutputError { enum NotifyApplicationStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1911,7 +1911,7 @@ enum NotifyApplicationStateOutputError { enum NotifyMigrationTaskStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1933,7 +1933,7 @@ enum NotifyMigrationTaskStateOutputError { enum PutResourceAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/Models.swift b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/Models.swift index ceb7f908545..db7432c625a 100644 --- a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/Models.swift +++ b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -31,7 +31,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -55,7 +55,7 @@ public struct DryRunOperation: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -79,7 +79,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -424,7 +424,7 @@ extension GetHomeRegionInput { extension CreateHomeRegionControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHomeRegionControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHomeRegionControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -436,14 +436,14 @@ extension CreateHomeRegionControlOutput { extension DeleteHomeRegionControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHomeRegionControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHomeRegionControlOutput { return DeleteHomeRegionControlOutput() } } extension DescribeHomeRegionControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHomeRegionControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHomeRegionControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -456,7 +456,7 @@ extension DescribeHomeRegionControlsOutput { extension GetHomeRegionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHomeRegionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHomeRegionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -468,7 +468,7 @@ extension GetHomeRegionOutput { enum CreateHomeRegionControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -487,7 +487,7 @@ enum CreateHomeRegionControlOutputError { enum DeleteHomeRegionControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -505,7 +505,7 @@ enum DeleteHomeRegionControlOutputError { enum DescribeHomeRegionControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -523,7 +523,7 @@ enum DescribeHomeRegionControlsOutputError { enum GetHomeRegionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/Models.swift b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/Models.swift index 8b2ff82a87d..2014ba1d92e 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/Models.swift +++ b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -805,7 +805,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3469,7 +3469,7 @@ extension UpdateWorkflowStepGroupInput { extension CreateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3483,7 +3483,7 @@ extension CreateTemplateOutput { extension CreateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3505,7 +3505,7 @@ extension CreateWorkflowOutput { extension CreateWorkflowStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3520,7 +3520,7 @@ extension CreateWorkflowStepOutput { extension CreateWorkflowStepGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowStepGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowStepGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3539,14 +3539,14 @@ extension CreateWorkflowStepGroupOutput { extension DeleteTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateOutput { return DeleteTemplateOutput() } } extension DeleteWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3560,21 +3560,21 @@ extension DeleteWorkflowOutput { extension DeleteWorkflowStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowStepOutput { return DeleteWorkflowStepOutput() } } extension DeleteWorkflowStepGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowStepGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowStepGroupOutput { return DeleteWorkflowStepGroupOutput() } } extension GetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3597,7 +3597,7 @@ extension GetTemplateOutput { extension GetTemplateStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3619,7 +3619,7 @@ extension GetTemplateStepOutput { extension GetTemplateStepGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateStepGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateStepGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3640,7 +3640,7 @@ extension GetTemplateStepGroupOutput { extension GetWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3671,7 +3671,7 @@ extension GetWorkflowOutput { extension GetWorkflowStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3703,7 +3703,7 @@ extension GetWorkflowStepOutput { extension GetWorkflowStepGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowStepGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowStepGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3726,7 +3726,7 @@ extension GetWorkflowStepGroupOutput { extension ListPluginsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPluginsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPluginsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3739,7 +3739,7 @@ extension ListPluginsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3751,7 +3751,7 @@ extension ListTagsForResourceOutput { extension ListTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3764,7 +3764,7 @@ extension ListTemplatesOutput { extension ListTemplateStepGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateStepGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateStepGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3777,7 +3777,7 @@ extension ListTemplateStepGroupsOutput { extension ListTemplateStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3790,7 +3790,7 @@ extension ListTemplateStepsOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3803,7 +3803,7 @@ extension ListWorkflowsOutput { extension ListWorkflowStepGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowStepGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowStepGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3816,7 +3816,7 @@ extension ListWorkflowStepGroupsOutput { extension ListWorkflowStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3829,7 +3829,7 @@ extension ListWorkflowStepsOutput { extension RetryWorkflowStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryWorkflowStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryWorkflowStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3844,7 +3844,7 @@ extension RetryWorkflowStepOutput { extension StartWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3860,7 +3860,7 @@ extension StartWorkflowOutput { extension StopWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3876,21 +3876,21 @@ extension StopWorkflowOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3904,7 +3904,7 @@ extension UpdateTemplateOutput { extension UpdateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3927,7 +3927,7 @@ extension UpdateWorkflowOutput { extension UpdateWorkflowStepOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkflowStepOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkflowStepOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3942,7 +3942,7 @@ extension UpdateWorkflowStepOutput { extension UpdateWorkflowStepGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkflowStepGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkflowStepGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3961,7 +3961,7 @@ extension UpdateWorkflowStepGroupOutput { enum CreateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3979,7 +3979,7 @@ enum CreateTemplateOutputError { enum CreateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3996,7 +3996,7 @@ enum CreateWorkflowOutputError { enum CreateWorkflowStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4013,7 +4013,7 @@ enum CreateWorkflowStepOutputError { enum CreateWorkflowStepGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4030,7 +4030,7 @@ enum CreateWorkflowStepGroupOutputError { enum DeleteTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4048,7 +4048,7 @@ enum DeleteTemplateOutputError { enum DeleteWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4066,7 +4066,7 @@ enum DeleteWorkflowOutputError { enum DeleteWorkflowStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4084,7 +4084,7 @@ enum DeleteWorkflowStepOutputError { enum DeleteWorkflowStepGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4102,7 +4102,7 @@ enum DeleteWorkflowStepGroupOutputError { enum GetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4119,7 +4119,7 @@ enum GetTemplateOutputError { enum GetTemplateStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4137,7 +4137,7 @@ enum GetTemplateStepOutputError { enum GetTemplateStepGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4155,7 +4155,7 @@ enum GetTemplateStepGroupOutputError { enum GetWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4173,7 +4173,7 @@ enum GetWorkflowOutputError { enum GetWorkflowStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4190,7 +4190,7 @@ enum GetWorkflowStepOutputError { enum GetWorkflowStepGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4208,7 +4208,7 @@ enum GetWorkflowStepGroupOutputError { enum ListPluginsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4224,7 +4224,7 @@ enum ListPluginsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4239,7 +4239,7 @@ enum ListTagsForResourceOutputError { enum ListTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4255,7 +4255,7 @@ enum ListTemplatesOutputError { enum ListTemplateStepGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4272,7 +4272,7 @@ enum ListTemplateStepGroupsOutputError { enum ListTemplateStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4290,7 +4290,7 @@ enum ListTemplateStepsOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4308,7 +4308,7 @@ enum ListWorkflowsOutputError { enum ListWorkflowStepGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4326,7 +4326,7 @@ enum ListWorkflowStepGroupsOutputError { enum ListWorkflowStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4343,7 +4343,7 @@ enum ListWorkflowStepsOutputError { enum RetryWorkflowStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4360,7 +4360,7 @@ enum RetryWorkflowStepOutputError { enum StartWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4378,7 +4378,7 @@ enum StartWorkflowOutputError { enum StopWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4396,7 +4396,7 @@ enum StopWorkflowOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4411,7 +4411,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4426,7 +4426,7 @@ enum UntagResourceOutputError { enum UpdateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4444,7 +4444,7 @@ enum UpdateTemplateOutputError { enum UpdateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4462,7 +4462,7 @@ enum UpdateWorkflowOutputError { enum UpdateWorkflowStepOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4479,7 +4479,7 @@ enum UpdateWorkflowStepOutputError { enum UpdateWorkflowStepGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/Models.swift b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/Models.swift index 0a7525483b0..a72c93472c0 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/Models.swift +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -510,7 +510,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -539,7 +539,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -570,7 +570,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -610,7 +610,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -649,7 +649,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -680,7 +680,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2268,7 +2268,7 @@ public struct InvalidResourcePolicyException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3304,7 +3304,7 @@ extension UpdateRouteInput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3328,7 +3328,7 @@ extension CreateApplicationOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3349,7 +3349,7 @@ extension CreateEnvironmentOutput { extension CreateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3372,7 +3372,7 @@ extension CreateRouteOutput { extension CreateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3399,7 +3399,7 @@ extension CreateServiceOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3416,7 +3416,7 @@ extension DeleteApplicationOutput { extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3432,14 +3432,14 @@ extension DeleteEnvironmentOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3456,7 +3456,7 @@ extension DeleteRouteOutput { extension DeleteServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3474,7 +3474,7 @@ extension DeleteServiceOutput { extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3499,7 +3499,7 @@ extension GetApplicationOutput { extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3522,7 +3522,7 @@ extension GetEnvironmentOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3534,7 +3534,7 @@ extension GetResourcePolicyOutput { extension GetRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3563,7 +3563,7 @@ extension GetRouteOutput { extension GetServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3591,7 +3591,7 @@ extension GetServiceOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3604,7 +3604,7 @@ extension ListApplicationsOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3617,7 +3617,7 @@ extension ListEnvironmentsOutput { extension ListEnvironmentVpcsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentVpcsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentVpcsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3630,7 +3630,7 @@ extension ListEnvironmentVpcsOutput { extension ListRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3643,7 +3643,7 @@ extension ListRoutesOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3656,7 +3656,7 @@ extension ListServicesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3668,28 +3668,28 @@ extension ListTagsForResourceOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { return PutResourcePolicyOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateRouteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRouteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRouteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3706,7 +3706,7 @@ extension UpdateRouteOutput { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3726,7 +3726,7 @@ enum CreateApplicationOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3746,7 +3746,7 @@ enum CreateEnvironmentOutputError { enum CreateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3766,7 +3766,7 @@ enum CreateRouteOutputError { enum CreateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3786,7 +3786,7 @@ enum CreateServiceOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3805,7 +3805,7 @@ enum DeleteApplicationOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3824,7 +3824,7 @@ enum DeleteEnvironmentOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3842,7 +3842,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3861,7 +3861,7 @@ enum DeleteRouteOutputError { enum DeleteServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3880,7 +3880,7 @@ enum DeleteServiceOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3898,7 +3898,7 @@ enum GetApplicationOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3916,7 +3916,7 @@ enum GetEnvironmentOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3934,7 +3934,7 @@ enum GetResourcePolicyOutputError { enum GetRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3952,7 +3952,7 @@ enum GetRouteOutputError { enum GetServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3970,7 +3970,7 @@ enum GetServiceOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3990,7 +3990,7 @@ enum ListApplicationsOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4008,7 +4008,7 @@ enum ListEnvironmentsOutputError { enum ListEnvironmentVpcsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4026,7 +4026,7 @@ enum ListEnvironmentVpcsOutputError { enum ListRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4046,7 +4046,7 @@ enum ListRoutesOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4066,7 +4066,7 @@ enum ListServicesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4082,7 +4082,7 @@ enum ListTagsForResourceOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4101,7 +4101,7 @@ enum PutResourcePolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4117,7 +4117,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4133,7 +4133,7 @@ enum UntagResourceOutputError { enum UpdateRouteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/Models.swift b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/Models.swift index 1e5aa551387..eaf28f4650f 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/Models.swift +++ b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1799,7 +1799,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1823,7 +1823,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1847,7 +1847,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2010,7 +2010,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2146,7 +2146,7 @@ public struct DependencyException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3014,7 +3014,7 @@ public struct ServiceLinkedRoleLockClientException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3611,7 +3611,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3665,7 +3665,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4363,7 +4363,7 @@ extension UpdateServerConfigInput { extension GetApplicationComponentDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationComponentDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationComponentDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4378,7 +4378,7 @@ extension GetApplicationComponentDetailsOutput { extension GetApplicationComponentStrategiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationComponentStrategiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationComponentStrategiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4390,7 +4390,7 @@ extension GetApplicationComponentStrategiesOutput { extension GetAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4404,7 +4404,7 @@ extension GetAssessmentOutput { extension GetImportFileTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportFileTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportFileTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4426,7 +4426,7 @@ extension GetImportFileTaskOutput { extension GetLatestAssessmentIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLatestAssessmentIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLatestAssessmentIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4438,7 +4438,7 @@ extension GetLatestAssessmentIdOutput { extension GetPortfolioPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPortfolioPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPortfolioPreferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4453,7 +4453,7 @@ extension GetPortfolioPreferencesOutput { extension GetPortfolioSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPortfolioSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPortfolioSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4465,7 +4465,7 @@ extension GetPortfolioSummaryOutput { extension GetRecommendationReportDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationReportDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationReportDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4478,7 +4478,7 @@ extension GetRecommendationReportDetailsOutput { extension GetServerDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServerDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServerDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4492,7 +4492,7 @@ extension GetServerDetailsOutput { extension GetServerStrategiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServerStrategiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServerStrategiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4504,7 +4504,7 @@ extension GetServerStrategiesOutput { extension ListAnalyzableServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnalyzableServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnalyzableServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4517,7 +4517,7 @@ extension ListAnalyzableServersOutput { extension ListApplicationComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4530,7 +4530,7 @@ extension ListApplicationComponentsOutput { extension ListCollectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4543,7 +4543,7 @@ extension ListCollectorsOutput { extension ListImportFileTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportFileTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportFileTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4556,7 +4556,7 @@ extension ListImportFileTaskOutput { extension ListServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4569,14 +4569,14 @@ extension ListServersOutput { extension PutPortfolioPreferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPortfolioPreferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPortfolioPreferencesOutput { return PutPortfolioPreferencesOutput() } } extension StartAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4588,7 +4588,7 @@ extension StartAssessmentOutput { extension StartImportFileTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportFileTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportFileTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4600,7 +4600,7 @@ extension StartImportFileTaskOutput { extension StartRecommendationReportGenerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRecommendationReportGenerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRecommendationReportGenerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4612,28 +4612,28 @@ extension StartRecommendationReportGenerationOutput { extension StopAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAssessmentOutput { return StopAssessmentOutput() } } extension UpdateApplicationComponentConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationComponentConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationComponentConfigOutput { return UpdateApplicationComponentConfigOutput() } } extension UpdateServerConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServerConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServerConfigOutput { return UpdateServerConfigOutput() } } enum GetApplicationComponentDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4649,7 +4649,7 @@ enum GetApplicationComponentDetailsOutputError { enum GetApplicationComponentStrategiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4665,7 +4665,7 @@ enum GetApplicationComponentStrategiesOutputError { enum GetAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4682,7 +4682,7 @@ enum GetAssessmentOutputError { enum GetImportFileTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4700,7 +4700,7 @@ enum GetImportFileTaskOutputError { enum GetLatestAssessmentIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4717,7 +4717,7 @@ enum GetLatestAssessmentIdOutputError { enum GetPortfolioPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4734,7 +4734,7 @@ enum GetPortfolioPreferencesOutputError { enum GetPortfolioSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4750,7 +4750,7 @@ enum GetPortfolioSummaryOutputError { enum GetRecommendationReportDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4768,7 +4768,7 @@ enum GetRecommendationReportDetailsOutputError { enum GetServerDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4786,7 +4786,7 @@ enum GetServerDetailsOutputError { enum GetServerStrategiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4804,7 +4804,7 @@ enum GetServerStrategiesOutputError { enum ListAnalyzableServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4821,7 +4821,7 @@ enum ListAnalyzableServersOutputError { enum ListApplicationComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4838,7 +4838,7 @@ enum ListApplicationComponentsOutputError { enum ListCollectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4855,7 +4855,7 @@ enum ListCollectorsOutputError { enum ListImportFileTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4872,7 +4872,7 @@ enum ListImportFileTaskOutputError { enum ListServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4889,7 +4889,7 @@ enum ListServersOutputError { enum PutPortfolioPreferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4907,7 +4907,7 @@ enum PutPortfolioPreferencesOutputError { enum StartAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4924,7 +4924,7 @@ enum StartAssessmentOutputError { enum StartImportFileTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4942,7 +4942,7 @@ enum StartImportFileTaskOutputError { enum StartRecommendationReportGenerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4960,7 +4960,7 @@ enum StartRecommendationReportGenerationOutputError { enum StopAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4977,7 +4977,7 @@ enum StopAssessmentOutputError { enum UpdateApplicationComponentConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4994,7 +4994,7 @@ enum UpdateApplicationComponentConfigOutputError { enum UpdateServerConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMobile/Sources/AWSMobile/Models.swift b/Sources/Services/AWSMobile/Sources/AWSMobile/Models.swift index 756aff7dabc..28346a24668 100644 --- a/Sources/Services/AWSMobile/Sources/AWSMobile/Models.swift +++ b/Sources/Services/AWSMobile/Sources/AWSMobile/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccountActionRequiredException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -113,7 +113,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -140,7 +140,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -167,7 +167,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +196,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -223,7 +223,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -934,7 +934,7 @@ extension UpdateProjectInput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -946,7 +946,7 @@ extension CreateProjectOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -959,7 +959,7 @@ extension DeleteProjectOutput { extension DescribeBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -971,7 +971,7 @@ extension DescribeBundleOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -983,7 +983,7 @@ extension DescribeProjectOutput { extension ExportBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -995,7 +995,7 @@ extension ExportBundleOutput { extension ExportProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1009,7 +1009,7 @@ extension ExportProjectOutput { extension ListBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1022,7 +1022,7 @@ extension ListBundlesOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1035,7 +1035,7 @@ extension ListProjectsOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1047,7 +1047,7 @@ extension UpdateProjectOutput { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1067,7 +1067,7 @@ enum CreateProjectOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1085,7 +1085,7 @@ enum DeleteProjectOutputError { enum DescribeBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1104,7 +1104,7 @@ enum DescribeBundleOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1123,7 +1123,7 @@ enum DescribeProjectOutputError { enum ExportBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1142,7 +1142,7 @@ enum ExportBundleOutputError { enum ExportProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1161,7 +1161,7 @@ enum ExportProjectOutputError { enum ListBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1179,7 +1179,7 @@ enum ListBundlesOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1197,7 +1197,7 @@ enum ListProjectsOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSMq/Sources/AWSMq/Models.swift b/Sources/Services/AWSMq/Sources/AWSMq/Models.swift index 67c52bb80b6..e37c718a448 100644 --- a/Sources/Services/AWSMq/Sources/AWSMq/Models.swift +++ b/Sources/Services/AWSMq/Sources/AWSMq/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -424,7 +424,7 @@ extension MqClientTypes { /// Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. /// This member is required. public var engineType: MqClientTypes.EngineType? - /// Required. The broker engine's version. For a list of supported engine versions, see, [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + /// The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. /// This member is required. public var engineVersion: Swift.String? /// Required. The unique ID that Amazon MQ generates for the configuration. @@ -656,7 +656,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -709,7 +709,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -738,7 +738,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -767,7 +767,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -796,7 +796,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1018,8 +1018,7 @@ extension MqClientTypes { public struct CreateBrokerInput { /// Optional. The authentication strategy used to secure the broker. The default is SIMPLE. public var authenticationStrategy: MqClientTypes.AuthenticationStrategy? - /// Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified. - /// This member is required. + /// Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified. Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above. public var autoMinorVersionUpgrade: Swift.Bool? /// Required. The broker's name. This value must be unique in your Amazon Web Services account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters. Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data. /// This member is required. @@ -1040,8 +1039,7 @@ public struct CreateBrokerInput { /// Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. /// This member is required. public var engineType: MqClientTypes.EngineType? - /// Required. The broker engine's version. For a list of supported engine versions, see [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). - /// This member is required. + /// The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. public var engineVersion: Swift.String? /// Required. The broker's instance type. /// This member is required. @@ -1138,8 +1136,7 @@ public struct CreateConfigurationInput { /// Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. /// This member is required. public var engineType: MqClientTypes.EngineType? - /// Required. The broker engine's version. For a list of supported engine versions, see [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). - /// This member is required. + /// The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. public var engineVersion: Swift.String? /// Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long. /// This member is required. @@ -1210,7 +1207,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1522,7 +1519,7 @@ public struct DescribeBrokerOutput { public var actionsRequired: [MqClientTypes.ActionRequired]? /// The authentication strategy used to secure the broker. The default is SIMPLE. public var authenticationStrategy: MqClientTypes.AuthenticationStrategy? - /// Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. + /// Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. public var autoMinorVersionUpgrade: Swift.Bool? /// The broker's Amazon Resource Name (ARN). public var brokerArn: Swift.String? @@ -1548,7 +1545,7 @@ public struct DescribeBrokerOutput { public var encryptionOptions: MqClientTypes.EncryptionOptions? /// The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. public var engineType: MqClientTypes.EngineType? - /// The broker engine's version. For a list of supported engine versions, see [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + /// The broker engine version. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. public var engineVersion: Swift.String? /// The broker's instance type. public var hostInstanceType: Swift.String? @@ -1564,7 +1561,7 @@ public struct DescribeBrokerOutput { public var pendingDataReplicationMetadata: MqClientTypes.DataReplicationMetadataOutput? /// Describes whether this broker will be a part of a data replication pair after reboot. public var pendingDataReplicationMode: MqClientTypes.DataReplicationMode? - /// The broker engine version to upgrade to. For a list of supported engine versions, see [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + /// The broker engine version to upgrade to. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. public var pendingEngineVersion: Swift.String? /// The broker's host instance type to upgrade to. For a list of supported instance types, see [Broker instance types](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types). public var pendingHostInstanceType: Swift.String? @@ -1769,7 +1766,7 @@ public struct DescribeConfigurationOutput { public var description: Swift.String? /// Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. public var engineType: MqClientTypes.EngineType? - /// Required. The broker engine's version. For a list of supported engine versions, see, [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + /// The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. public var engineVersion: Swift.String? /// Required. The unique ID that Amazon MQ generates for the configuration. public var id: Swift.String? @@ -2189,7 +2186,7 @@ public struct RebootBrokerOutput { public struct UpdateBrokerInput { /// Optional. The authentication strategy used to secure the broker. The default is SIMPLE. public var authenticationStrategy: MqClientTypes.AuthenticationStrategy? - /// Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. + /// Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above. public var autoMinorVersionUpgrade: Swift.Bool? /// The unique ID that Amazon MQ generates for the broker. /// This member is required. @@ -2198,7 +2195,7 @@ public struct UpdateBrokerInput { public var configuration: MqClientTypes.ConfigurationId? /// Defines whether this broker is a part of a data replication pair. public var dataReplicationMode: MqClientTypes.DataReplicationMode? - /// The broker engine version. For a list of supported engine versions, see [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + /// The broker engine version. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. When upgrading to ActiveMQ version 5.18 and above or RabbitMQ version 3.13 and above, you must have autoMinorVersionUpgrade set to true for the broker. public var engineVersion: Swift.String? /// The broker's host instance type to upgrade to. For a list of supported instance types, see [Broker instance types](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types). public var hostInstanceType: Swift.String? @@ -2242,7 +2239,7 @@ public struct UpdateBrokerInput { public struct UpdateBrokerOutput { /// Optional. The authentication strategy used to secure the broker. The default is SIMPLE. public var authenticationStrategy: MqClientTypes.AuthenticationStrategy? - /// The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ. + /// Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. public var autoMinorVersionUpgrade: Swift.Bool? /// Required. The unique ID that Amazon MQ generates for the broker. public var brokerId: Swift.String? @@ -2252,7 +2249,7 @@ public struct UpdateBrokerOutput { public var dataReplicationMetadata: MqClientTypes.DataReplicationMetadataOutput? /// Describes whether this broker is a part of a data replication pair. public var dataReplicationMode: MqClientTypes.DataReplicationMode? - /// The broker engine version to upgrade to. For a list of supported engine versions, see [Supported engines](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + /// The broker engine version to upgrade to. For more information, see the [ActiveMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) and the [RabbitMQ version management](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) sections in the Amazon MQ Developer Guide. public var engineVersion: Swift.String? /// The broker's host instance type to upgrade to. For a list of supported instance types, see [Broker instance types](https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types). public var hostInstanceType: Swift.String? @@ -2859,7 +2856,7 @@ extension UpdateUserInput { extension CreateBrokerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBrokerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBrokerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2872,7 +2869,7 @@ extension CreateBrokerOutput { extension CreateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2889,21 +2886,21 @@ extension CreateConfigurationOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { return CreateUserOutput() } } extension DeleteBrokerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBrokerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBrokerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2915,21 +2912,21 @@ extension DeleteBrokerOutput { extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DescribeBrokerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBrokerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBrokerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2973,7 +2970,7 @@ extension DescribeBrokerOutput { extension DescribeBrokerEngineTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBrokerEngineTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBrokerEngineTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2987,7 +2984,7 @@ extension DescribeBrokerEngineTypesOutput { extension DescribeBrokerInstanceOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBrokerInstanceOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBrokerInstanceOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3001,7 +2998,7 @@ extension DescribeBrokerInstanceOptionsOutput { extension DescribeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3022,7 +3019,7 @@ extension DescribeConfigurationOutput { extension DescribeConfigurationRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3037,7 +3034,7 @@ extension DescribeConfigurationRevisionOutput { extension DescribeUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3054,7 +3051,7 @@ extension DescribeUserOutput { extension ListBrokersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBrokersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBrokersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3067,7 +3064,7 @@ extension ListBrokersOutput { extension ListConfigurationRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3082,7 +3079,7 @@ extension ListConfigurationRevisionsOutput { extension ListConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3096,7 +3093,7 @@ extension ListConfigurationsOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3108,7 +3105,7 @@ extension ListTagsOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3123,7 +3120,7 @@ extension ListUsersOutput { extension PromoteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PromoteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PromoteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3135,14 +3132,14 @@ extension PromoteOutput { extension RebootBrokerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootBrokerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootBrokerOutput { return RebootBrokerOutput() } } extension UpdateBrokerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBrokerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBrokerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3167,7 +3164,7 @@ extension UpdateBrokerOutput { extension UpdateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3184,14 +3181,14 @@ extension UpdateConfigurationOutput { extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { return UpdateUserOutput() } } enum CreateBrokerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3209,7 +3206,7 @@ enum CreateBrokerOutputError { enum CreateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3226,7 +3223,7 @@ enum CreateConfigurationOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3243,7 +3240,7 @@ enum CreateTagsOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3261,7 +3258,7 @@ enum CreateUserOutputError { enum DeleteBrokerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3278,7 +3275,7 @@ enum DeleteBrokerOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3295,7 +3292,7 @@ enum DeleteTagsOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3312,7 +3309,7 @@ enum DeleteUserOutputError { enum DescribeBrokerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3329,7 +3326,7 @@ enum DescribeBrokerOutputError { enum DescribeBrokerEngineTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3345,7 +3342,7 @@ enum DescribeBrokerEngineTypesOutputError { enum DescribeBrokerInstanceOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3361,7 +3358,7 @@ enum DescribeBrokerInstanceOptionsOutputError { enum DescribeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3378,7 +3375,7 @@ enum DescribeConfigurationOutputError { enum DescribeConfigurationRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3395,7 +3392,7 @@ enum DescribeConfigurationRevisionOutputError { enum DescribeUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3412,7 +3409,7 @@ enum DescribeUserOutputError { enum ListBrokersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3428,7 +3425,7 @@ enum ListBrokersOutputError { enum ListConfigurationRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3445,7 +3442,7 @@ enum ListConfigurationRevisionsOutputError { enum ListConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3461,7 +3458,7 @@ enum ListConfigurationsOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3478,7 +3475,7 @@ enum ListTagsOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3495,7 +3492,7 @@ enum ListUsersOutputError { enum PromoteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3512,7 +3509,7 @@ enum PromoteOutputError { enum RebootBrokerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3529,7 +3526,7 @@ enum RebootBrokerOutputError { enum UpdateBrokerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3547,7 +3544,7 @@ enum UpdateBrokerOutputError { enum UpdateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3565,7 +3562,7 @@ enum UpdateConfigurationOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSNeptune/Sources/AWSNeptune/Models.swift b/Sources/Services/AWSNeptune/Sources/AWSNeptune/Models.swift index dd362c5596b..9bc3352f09e 100644 --- a/Sources/Services/AWSNeptune/Sources/AWSNeptune/Models.swift +++ b/Sources/Services/AWSNeptune/Sources/AWSNeptune/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -69,7 +69,7 @@ public struct DBClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -94,7 +94,7 @@ public struct DBClusterRoleAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -119,7 +119,7 @@ public struct DBClusterRoleQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct InvalidDBClusterStateFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -191,7 +191,7 @@ public struct SourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -216,7 +216,7 @@ public struct SubscriptionNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -331,7 +331,7 @@ public struct DBInstanceNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -356,7 +356,7 @@ public struct DBSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -419,7 +419,7 @@ public struct ResourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -541,7 +541,7 @@ public struct DBParameterGroupAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -566,7 +566,7 @@ public struct DBParameterGroupNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -591,7 +591,7 @@ public struct DBParameterGroupQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -700,7 +700,7 @@ public struct DBClusterSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -725,7 +725,7 @@ public struct DBClusterSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -750,7 +750,7 @@ public struct InvalidDBClusterSnapshotStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -775,7 +775,7 @@ public struct KMSKeyNotAccessibleFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -800,7 +800,7 @@ public struct SnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1065,7 +1065,7 @@ public struct DBClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1090,7 +1090,7 @@ public struct DBClusterParameterGroupNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1115,7 +1115,7 @@ public struct DBClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1140,7 +1140,7 @@ public struct DBSubnetGroupDoesNotCoverEnoughAZs: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1165,7 +1165,7 @@ public struct DBSubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1190,7 +1190,7 @@ public struct GlobalClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1215,7 +1215,7 @@ public struct InsufficientStorageClusterCapacityFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1240,7 +1240,7 @@ public struct InvalidDBInstanceStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1265,7 +1265,7 @@ public struct InvalidDBSubnetGroupStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1290,7 +1290,7 @@ public struct InvalidGlobalClusterStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1315,7 +1315,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1340,7 +1340,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1365,7 +1365,7 @@ public struct StorageQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1956,7 +1956,7 @@ public struct DBClusterEndpointAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1981,7 +1981,7 @@ public struct DBClusterEndpointQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2193,7 +2193,7 @@ public struct AuthorizationNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2218,7 +2218,7 @@ public struct DBInstanceAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2243,7 +2243,7 @@ public struct DBSecurityGroupNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2268,7 +2268,7 @@ public struct DomainNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2293,7 +2293,7 @@ public struct InstanceQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2318,7 +2318,7 @@ public struct InsufficientDBInstanceCapacityFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2343,7 +2343,7 @@ public struct OptionGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2368,7 +2368,7 @@ public struct ProvisionedIopsNotAvailableInAZFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2393,7 +2393,7 @@ public struct StorageTypeNotSupportedFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3204,7 +3204,7 @@ public struct DBSubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3229,7 +3229,7 @@ public struct DBSubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3254,7 +3254,7 @@ public struct DBSubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3318,7 +3318,7 @@ public struct EventSubscriptionQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3343,7 +3343,7 @@ public struct SNSInvalidTopicFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3368,7 +3368,7 @@ public struct SNSNoAuthorizationFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3393,7 +3393,7 @@ public struct SNSTopicArnNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3418,7 +3418,7 @@ public struct SubscriptionAlreadyExistFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3443,7 +3443,7 @@ public struct SubscriptionCategoryNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3528,7 +3528,7 @@ public struct GlobalClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3553,7 +3553,7 @@ public struct GlobalClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3736,7 +3736,7 @@ public struct DBClusterEndpointNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3761,7 +3761,7 @@ public struct InvalidDBClusterEndpointStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3859,7 +3859,7 @@ public struct InvalidDBParameterGroupStateFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3928,7 +3928,7 @@ public struct DBSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4015,7 +4015,7 @@ public struct InvalidDBSubnetStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4053,7 +4053,7 @@ public struct InvalidEventSubscriptionStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5760,7 +5760,7 @@ public struct InvalidDBSecurityGroupStateFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6062,7 +6062,7 @@ public struct SharedSnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6125,7 +6125,7 @@ public struct CertificateNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6150,7 +6150,7 @@ public struct DBUpgradeDependencyFailureFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6405,7 +6405,7 @@ public struct SubnetAlreadyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6641,7 +6641,7 @@ public struct DBClusterRoleNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6813,7 +6813,7 @@ public struct InsufficientDBClusterCapacityFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6838,7 +6838,7 @@ public struct InvalidDBSnapshotStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6863,7 +6863,7 @@ public struct InvalidRestoreFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8650,14 +8650,14 @@ extension StopDBClusterInput { extension AddRoleToDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddRoleToDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddRoleToDBClusterOutput { return AddRoleToDBClusterOutput() } } extension AddSourceIdentifierToSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddSourceIdentifierToSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddSourceIdentifierToSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddSourceIdentifierToSubscriptionResult"] @@ -8669,14 +8669,14 @@ extension AddSourceIdentifierToSubscriptionOutput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { return AddTagsToResourceOutput() } } extension ApplyPendingMaintenanceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplyPendingMaintenanceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyPendingMaintenanceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ApplyPendingMaintenanceActionResult"] @@ -8688,7 +8688,7 @@ extension ApplyPendingMaintenanceActionOutput { extension CopyDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBClusterParameterGroupResult"] @@ -8700,7 +8700,7 @@ extension CopyDBClusterParameterGroupOutput { extension CopyDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBClusterSnapshotResult"] @@ -8712,7 +8712,7 @@ extension CopyDBClusterSnapshotOutput { extension CopyDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBParameterGroupResult"] @@ -8724,7 +8724,7 @@ extension CopyDBParameterGroupOutput { extension CreateDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterResult"] @@ -8736,7 +8736,7 @@ extension CreateDBClusterOutput { extension CreateDBClusterEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterEndpointResult"] @@ -8757,7 +8757,7 @@ extension CreateDBClusterEndpointOutput { extension CreateDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterParameterGroupResult"] @@ -8769,7 +8769,7 @@ extension CreateDBClusterParameterGroupOutput { extension CreateDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterSnapshotResult"] @@ -8781,7 +8781,7 @@ extension CreateDBClusterSnapshotOutput { extension CreateDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBInstanceResult"] @@ -8793,7 +8793,7 @@ extension CreateDBInstanceOutput { extension CreateDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBParameterGroupResult"] @@ -8805,7 +8805,7 @@ extension CreateDBParameterGroupOutput { extension CreateDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBSubnetGroupResult"] @@ -8817,7 +8817,7 @@ extension CreateDBSubnetGroupOutput { extension CreateEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateEventSubscriptionResult"] @@ -8829,7 +8829,7 @@ extension CreateEventSubscriptionOutput { extension CreateGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateGlobalClusterResult"] @@ -8841,7 +8841,7 @@ extension CreateGlobalClusterOutput { extension DeleteDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterResult"] @@ -8853,7 +8853,7 @@ extension DeleteDBClusterOutput { extension DeleteDBClusterEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterEndpointResult"] @@ -8874,14 +8874,14 @@ extension DeleteDBClusterEndpointOutput { extension DeleteDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterParameterGroupOutput { return DeleteDBClusterParameterGroupOutput() } } extension DeleteDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterSnapshotResult"] @@ -8893,7 +8893,7 @@ extension DeleteDBClusterSnapshotOutput { extension DeleteDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBInstanceResult"] @@ -8905,21 +8905,21 @@ extension DeleteDBInstanceOutput { extension DeleteDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBParameterGroupOutput { return DeleteDBParameterGroupOutput() } } extension DeleteDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBSubnetGroupOutput { return DeleteDBSubnetGroupOutput() } } extension DeleteEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteEventSubscriptionResult"] @@ -8931,7 +8931,7 @@ extension DeleteEventSubscriptionOutput { extension DeleteGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteGlobalClusterResult"] @@ -8943,7 +8943,7 @@ extension DeleteGlobalClusterOutput { extension DescribeDBClusterEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterEndpointsResult"] @@ -8956,7 +8956,7 @@ extension DescribeDBClusterEndpointsOutput { extension DescribeDBClusterParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterParameterGroupsResult"] @@ -8969,7 +8969,7 @@ extension DescribeDBClusterParameterGroupsOutput { extension DescribeDBClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterParametersResult"] @@ -8982,7 +8982,7 @@ extension DescribeDBClusterParametersOutput { extension DescribeDBClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClustersResult"] @@ -8995,7 +8995,7 @@ extension DescribeDBClustersOutput { extension DescribeDBClusterSnapshotAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterSnapshotAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterSnapshotAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterSnapshotAttributesResult"] @@ -9007,7 +9007,7 @@ extension DescribeDBClusterSnapshotAttributesOutput { extension DescribeDBClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterSnapshotsResult"] @@ -9020,7 +9020,7 @@ extension DescribeDBClusterSnapshotsOutput { extension DescribeDBEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBEngineVersionsResult"] @@ -9033,7 +9033,7 @@ extension DescribeDBEngineVersionsOutput { extension DescribeDBInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBInstancesResult"] @@ -9046,7 +9046,7 @@ extension DescribeDBInstancesOutput { extension DescribeDBParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBParameterGroupsResult"] @@ -9059,7 +9059,7 @@ extension DescribeDBParameterGroupsOutput { extension DescribeDBParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBParametersResult"] @@ -9072,7 +9072,7 @@ extension DescribeDBParametersOutput { extension DescribeDBSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSubnetGroupsResult"] @@ -9085,7 +9085,7 @@ extension DescribeDBSubnetGroupsOutput { extension DescribeEngineDefaultClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineDefaultClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineDefaultClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEngineDefaultClusterParametersResult"] @@ -9097,7 +9097,7 @@ extension DescribeEngineDefaultClusterParametersOutput { extension DescribeEngineDefaultParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineDefaultParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineDefaultParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEngineDefaultParametersResult"] @@ -9109,7 +9109,7 @@ extension DescribeEngineDefaultParametersOutput { extension DescribeEventCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventCategoriesResult"] @@ -9121,7 +9121,7 @@ extension DescribeEventCategoriesOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventsResult"] @@ -9134,7 +9134,7 @@ extension DescribeEventsOutput { extension DescribeEventSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventSubscriptionsResult"] @@ -9147,7 +9147,7 @@ extension DescribeEventSubscriptionsOutput { extension DescribeGlobalClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeGlobalClustersResult"] @@ -9160,7 +9160,7 @@ extension DescribeGlobalClustersOutput { extension DescribeOrderableDBInstanceOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrderableDBInstanceOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrderableDBInstanceOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOrderableDBInstanceOptionsResult"] @@ -9173,7 +9173,7 @@ extension DescribeOrderableDBInstanceOptionsOutput { extension DescribePendingMaintenanceActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePendingMaintenanceActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePendingMaintenanceActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePendingMaintenanceActionsResult"] @@ -9186,7 +9186,7 @@ extension DescribePendingMaintenanceActionsOutput { extension DescribeValidDBInstanceModificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeValidDBInstanceModificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeValidDBInstanceModificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeValidDBInstanceModificationsResult"] @@ -9198,7 +9198,7 @@ extension DescribeValidDBInstanceModificationsOutput { extension FailoverDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverDBClusterResult"] @@ -9210,7 +9210,7 @@ extension FailoverDBClusterOutput { extension FailoverGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverGlobalClusterResult"] @@ -9222,7 +9222,7 @@ extension FailoverGlobalClusterOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -9234,7 +9234,7 @@ extension ListTagsForResourceOutput { extension ModifyDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterResult"] @@ -9246,7 +9246,7 @@ extension ModifyDBClusterOutput { extension ModifyDBClusterEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterEndpointResult"] @@ -9267,7 +9267,7 @@ extension ModifyDBClusterEndpointOutput { extension ModifyDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterParameterGroupResult"] @@ -9279,7 +9279,7 @@ extension ModifyDBClusterParameterGroupOutput { extension ModifyDBClusterSnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterSnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterSnapshotAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterSnapshotAttributeResult"] @@ -9291,7 +9291,7 @@ extension ModifyDBClusterSnapshotAttributeOutput { extension ModifyDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBInstanceResult"] @@ -9303,7 +9303,7 @@ extension ModifyDBInstanceOutput { extension ModifyDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBParameterGroupResult"] @@ -9315,7 +9315,7 @@ extension ModifyDBParameterGroupOutput { extension ModifyDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBSubnetGroupResult"] @@ -9327,7 +9327,7 @@ extension ModifyDBSubnetGroupOutput { extension ModifyEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyEventSubscriptionResult"] @@ -9339,7 +9339,7 @@ extension ModifyEventSubscriptionOutput { extension ModifyGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyGlobalClusterResult"] @@ -9351,7 +9351,7 @@ extension ModifyGlobalClusterOutput { extension PromoteReadReplicaDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PromoteReadReplicaDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PromoteReadReplicaDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PromoteReadReplicaDBClusterResult"] @@ -9363,7 +9363,7 @@ extension PromoteReadReplicaDBClusterOutput { extension RebootDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootDBInstanceResult"] @@ -9375,7 +9375,7 @@ extension RebootDBInstanceOutput { extension RemoveFromGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFromGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFromGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveFromGlobalClusterResult"] @@ -9387,14 +9387,14 @@ extension RemoveFromGlobalClusterOutput { extension RemoveRoleFromDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveRoleFromDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveRoleFromDBClusterOutput { return RemoveRoleFromDBClusterOutput() } } extension RemoveSourceIdentifierFromSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveSourceIdentifierFromSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveSourceIdentifierFromSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveSourceIdentifierFromSubscriptionResult"] @@ -9406,14 +9406,14 @@ extension RemoveSourceIdentifierFromSubscriptionOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { return RemoveTagsFromResourceOutput() } } extension ResetDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetDBClusterParameterGroupResult"] @@ -9425,7 +9425,7 @@ extension ResetDBClusterParameterGroupOutput { extension ResetDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetDBParameterGroupResult"] @@ -9437,7 +9437,7 @@ extension ResetDBParameterGroupOutput { extension RestoreDBClusterFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterFromSnapshotResult"] @@ -9449,7 +9449,7 @@ extension RestoreDBClusterFromSnapshotOutput { extension RestoreDBClusterToPointInTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterToPointInTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterToPointInTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterToPointInTimeResult"] @@ -9461,7 +9461,7 @@ extension RestoreDBClusterToPointInTimeOutput { extension StartDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartDBClusterResult"] @@ -9473,7 +9473,7 @@ extension StartDBClusterOutput { extension StopDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StopDBClusterResult"] @@ -9485,7 +9485,7 @@ extension StopDBClusterOutput { enum AddRoleToDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9502,7 +9502,7 @@ enum AddRoleToDBClusterOutputError { enum AddSourceIdentifierToSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9517,7 +9517,7 @@ enum AddSourceIdentifierToSubscriptionOutputError { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9533,7 +9533,7 @@ enum AddTagsToResourceOutputError { enum ApplyPendingMaintenanceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9547,7 +9547,7 @@ enum ApplyPendingMaintenanceActionOutputError { enum CopyDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9563,7 +9563,7 @@ enum CopyDBClusterParameterGroupOutputError { enum CopyDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9582,7 +9582,7 @@ enum CopyDBClusterSnapshotOutputError { enum CopyDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9598,7 +9598,7 @@ enum CopyDBParameterGroupOutputError { enum CreateDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9628,7 +9628,7 @@ enum CreateDBClusterOutputError { enum CreateDBClusterEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9647,7 +9647,7 @@ enum CreateDBClusterEndpointOutputError { enum CreateDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9662,7 +9662,7 @@ enum CreateDBClusterParameterGroupOutputError { enum CreateDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9680,7 +9680,7 @@ enum CreateDBClusterSnapshotOutputError { enum CreateDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9711,7 +9711,7 @@ enum CreateDBInstanceOutputError { enum CreateDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9726,7 +9726,7 @@ enum CreateDBParameterGroupOutputError { enum CreateDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9744,7 +9744,7 @@ enum CreateDBSubnetGroupOutputError { enum CreateEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9764,7 +9764,7 @@ enum CreateEventSubscriptionOutputError { enum CreateGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9781,7 +9781,7 @@ enum CreateGlobalClusterOutputError { enum DeleteDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9799,7 +9799,7 @@ enum DeleteDBClusterOutputError { enum DeleteDBClusterEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9815,7 +9815,7 @@ enum DeleteDBClusterEndpointOutputError { enum DeleteDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9830,7 +9830,7 @@ enum DeleteDBClusterParameterGroupOutputError { enum DeleteDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9845,7 +9845,7 @@ enum DeleteDBClusterSnapshotOutputError { enum DeleteDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9863,7 +9863,7 @@ enum DeleteDBInstanceOutputError { enum DeleteDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9878,7 +9878,7 @@ enum DeleteDBParameterGroupOutputError { enum DeleteDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9894,7 +9894,7 @@ enum DeleteDBSubnetGroupOutputError { enum DeleteEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9909,7 +9909,7 @@ enum DeleteEventSubscriptionOutputError { enum DeleteGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9924,7 +9924,7 @@ enum DeleteGlobalClusterOutputError { enum DescribeDBClusterEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9938,7 +9938,7 @@ enum DescribeDBClusterEndpointsOutputError { enum DescribeDBClusterParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9952,7 +9952,7 @@ enum DescribeDBClusterParameterGroupsOutputError { enum DescribeDBClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9966,7 +9966,7 @@ enum DescribeDBClusterParametersOutputError { enum DescribeDBClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9980,7 +9980,7 @@ enum DescribeDBClustersOutputError { enum DescribeDBClusterSnapshotAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9994,7 +9994,7 @@ enum DescribeDBClusterSnapshotAttributesOutputError { enum DescribeDBClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10008,7 +10008,7 @@ enum DescribeDBClusterSnapshotsOutputError { enum DescribeDBEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10021,7 +10021,7 @@ enum DescribeDBEngineVersionsOutputError { enum DescribeDBInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10035,7 +10035,7 @@ enum DescribeDBInstancesOutputError { enum DescribeDBParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10049,7 +10049,7 @@ enum DescribeDBParameterGroupsOutputError { enum DescribeDBParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10063,7 +10063,7 @@ enum DescribeDBParametersOutputError { enum DescribeDBSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10077,7 +10077,7 @@ enum DescribeDBSubnetGroupsOutputError { enum DescribeEngineDefaultClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10090,7 +10090,7 @@ enum DescribeEngineDefaultClusterParametersOutputError { enum DescribeEngineDefaultParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10103,7 +10103,7 @@ enum DescribeEngineDefaultParametersOutputError { enum DescribeEventCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10116,7 +10116,7 @@ enum DescribeEventCategoriesOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10129,7 +10129,7 @@ enum DescribeEventsOutputError { enum DescribeEventSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10143,7 +10143,7 @@ enum DescribeEventSubscriptionsOutputError { enum DescribeGlobalClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10157,7 +10157,7 @@ enum DescribeGlobalClustersOutputError { enum DescribeOrderableDBInstanceOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10170,7 +10170,7 @@ enum DescribeOrderableDBInstanceOptionsOutputError { enum DescribePendingMaintenanceActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10184,7 +10184,7 @@ enum DescribePendingMaintenanceActionsOutputError { enum DescribeValidDBInstanceModificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10199,7 +10199,7 @@ enum DescribeValidDBInstanceModificationsOutputError { enum FailoverDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10215,7 +10215,7 @@ enum FailoverDBClusterOutputError { enum FailoverGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10232,7 +10232,7 @@ enum FailoverGlobalClusterOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10248,7 +10248,7 @@ enum ListTagsForResourceOutputError { enum ModifyDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10273,7 +10273,7 @@ enum ModifyDBClusterOutputError { enum ModifyDBClusterEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10291,7 +10291,7 @@ enum ModifyDBClusterEndpointOutputError { enum ModifyDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10306,7 +10306,7 @@ enum ModifyDBClusterParameterGroupOutputError { enum ModifyDBClusterSnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10322,7 +10322,7 @@ enum ModifyDBClusterSnapshotAttributeOutputError { enum ModifyDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10351,7 +10351,7 @@ enum ModifyDBInstanceOutputError { enum ModifyDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10366,7 +10366,7 @@ enum ModifyDBParameterGroupOutputError { enum ModifyDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10384,7 +10384,7 @@ enum ModifyDBSubnetGroupOutputError { enum ModifyEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10403,7 +10403,7 @@ enum ModifyEventSubscriptionOutputError { enum ModifyGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10418,7 +10418,7 @@ enum ModifyGlobalClusterOutputError { enum PromoteReadReplicaDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10433,7 +10433,7 @@ enum PromoteReadReplicaDBClusterOutputError { enum RebootDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10448,7 +10448,7 @@ enum RebootDBInstanceOutputError { enum RemoveFromGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10464,7 +10464,7 @@ enum RemoveFromGlobalClusterOutputError { enum RemoveRoleFromDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10480,7 +10480,7 @@ enum RemoveRoleFromDBClusterOutputError { enum RemoveSourceIdentifierFromSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10495,7 +10495,7 @@ enum RemoveSourceIdentifierFromSubscriptionOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10511,7 +10511,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10526,7 +10526,7 @@ enum ResetDBClusterParameterGroupOutputError { enum ResetDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10541,7 +10541,7 @@ enum ResetDBParameterGroupOutputError { enum RestoreDBClusterFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10570,7 +10570,7 @@ enum RestoreDBClusterFromSnapshotOutputError { enum RestoreDBClusterToPointInTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10600,7 +10600,7 @@ enum RestoreDBClusterToPointInTimeOutputError { enum StartDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10616,7 +10616,7 @@ enum StartDBClusterOutputError { enum StopDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/Models.swift b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/Models.swift index a400272cbda..db2fbdb69a6 100644 --- a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/Models.swift +++ b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -47,7 +47,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -73,7 +73,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -197,7 +197,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -271,7 +271,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct UnprocessableException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -769,7 +769,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3346,7 +3346,7 @@ extension UpdateGraphInput { extension CancelImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3363,14 +3363,14 @@ extension CancelImportTaskOutput { extension CancelQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelQueryOutput { return CancelQueryOutput() } } extension CreateGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3396,7 +3396,7 @@ extension CreateGraphOutput { extension CreateGraphSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGraphSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGraphSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3414,7 +3414,7 @@ extension CreateGraphSnapshotOutput { extension CreateGraphUsingImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGraphUsingImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGraphUsingImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3432,7 +3432,7 @@ extension CreateGraphUsingImportTaskOutput { extension CreatePrivateGraphEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePrivateGraphEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePrivateGraphEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3447,7 +3447,7 @@ extension CreatePrivateGraphEndpointOutput { extension DeleteGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3473,7 +3473,7 @@ extension DeleteGraphOutput { extension DeleteGraphSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGraphSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGraphSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3491,7 +3491,7 @@ extension DeleteGraphSnapshotOutput { extension DeletePrivateGraphEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePrivateGraphEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePrivateGraphEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3506,7 +3506,7 @@ extension DeletePrivateGraphEndpointOutput { extension ExecuteQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteQueryOutput { var value = ExecuteQueryOutput() switch httpResponse.body { case .data(let data): @@ -3522,7 +3522,7 @@ extension ExecuteQueryOutput { extension GetGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3548,7 +3548,7 @@ extension GetGraphOutput { extension GetGraphSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGraphSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGraphSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3566,7 +3566,7 @@ extension GetGraphSnapshotOutput { extension GetGraphSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGraphSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGraphSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3580,7 +3580,7 @@ extension GetGraphSummaryOutput { extension GetImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3601,7 +3601,7 @@ extension GetImportTaskOutput { extension GetPrivateGraphEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPrivateGraphEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPrivateGraphEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3616,7 +3616,7 @@ extension GetPrivateGraphEndpointOutput { extension GetQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3632,7 +3632,7 @@ extension GetQueryOutput { extension ListGraphsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGraphsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGraphsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3645,7 +3645,7 @@ extension ListGraphsOutput { extension ListGraphSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGraphSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGraphSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3658,7 +3658,7 @@ extension ListGraphSnapshotsOutput { extension ListImportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3671,7 +3671,7 @@ extension ListImportTasksOutput { extension ListPrivateGraphEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrivateGraphEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrivateGraphEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3684,7 +3684,7 @@ extension ListPrivateGraphEndpointsOutput { extension ListQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3696,7 +3696,7 @@ extension ListQueriesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3708,7 +3708,7 @@ extension ListTagsForResourceOutput { extension ResetGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3734,7 +3734,7 @@ extension ResetGraphOutput { extension RestoreGraphFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreGraphFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreGraphFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3760,7 +3760,7 @@ extension RestoreGraphFromSnapshotOutput { extension StartImportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3778,21 +3778,21 @@ extension StartImportTaskOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3818,7 +3818,7 @@ extension UpdateGraphOutput { enum CancelImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3836,7 +3836,7 @@ enum CancelImportTaskOutputError { enum CancelQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3854,7 +3854,7 @@ enum CancelQueryOutputError { enum CreateGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3872,7 +3872,7 @@ enum CreateGraphOutputError { enum CreateGraphSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3891,7 +3891,7 @@ enum CreateGraphSnapshotOutputError { enum CreateGraphUsingImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3909,7 +3909,7 @@ enum CreateGraphUsingImportTaskOutputError { enum CreatePrivateGraphEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3928,7 +3928,7 @@ enum CreatePrivateGraphEndpointOutputError { enum DeleteGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3946,7 +3946,7 @@ enum DeleteGraphOutputError { enum DeleteGraphSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3964,7 +3964,7 @@ enum DeleteGraphSnapshotOutputError { enum DeletePrivateGraphEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3982,7 +3982,7 @@ enum DeletePrivateGraphEndpointOutputError { enum ExecuteQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4001,7 +4001,7 @@ enum ExecuteQueryOutputError { enum GetGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4018,7 +4018,7 @@ enum GetGraphOutputError { enum GetGraphSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4035,7 +4035,7 @@ enum GetGraphSnapshotOutputError { enum GetGraphSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4053,7 +4053,7 @@ enum GetGraphSummaryOutputError { enum GetImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4070,7 +4070,7 @@ enum GetImportTaskOutputError { enum GetPrivateGraphEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4087,7 +4087,7 @@ enum GetPrivateGraphEndpointOutputError { enum GetQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4105,7 +4105,7 @@ enum GetQueryOutputError { enum ListGraphsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4121,7 +4121,7 @@ enum ListGraphsOutputError { enum ListGraphSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4138,7 +4138,7 @@ enum ListGraphSnapshotsOutputError { enum ListImportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4155,7 +4155,7 @@ enum ListImportTasksOutputError { enum ListPrivateGraphEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4172,7 +4172,7 @@ enum ListPrivateGraphEndpointsOutputError { enum ListQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4189,7 +4189,7 @@ enum ListQueriesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4206,7 +4206,7 @@ enum ListTagsForResourceOutputError { enum ResetGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4224,7 +4224,7 @@ enum ResetGraphOutputError { enum RestoreGraphFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4243,7 +4243,7 @@ enum RestoreGraphFromSnapshotOutputError { enum StartImportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4261,7 +4261,7 @@ enum StartImportTaskOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4278,7 +4278,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4295,7 +4295,7 @@ enum UntagResourceOutputError { enum UpdateGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/Models.swift b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/Models.swift index 2c187d8c6dc..0b2d17d22e9 100644 --- a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/Models.swift +++ b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -71,7 +71,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -172,7 +172,7 @@ public struct ClientTimeoutException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -208,7 +208,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -244,7 +244,7 @@ public struct ConstraintViolationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -280,7 +280,7 @@ public struct FailureByQueryException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -316,7 +316,7 @@ public struct IllegalArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -352,7 +352,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -388,7 +388,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -424,7 +424,7 @@ public struct MissingParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -460,7 +460,7 @@ public struct ParsingException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -496,7 +496,7 @@ public struct PreconditionsFailedException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -532,7 +532,7 @@ public struct TimeLimitExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -568,7 +568,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -604,7 +604,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -665,7 +665,7 @@ public struct BulkLoadIdNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -701,7 +701,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -737,7 +737,7 @@ public struct LoadUrlAccessDeniedException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -798,7 +798,7 @@ public struct MLResourceNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -933,7 +933,7 @@ public struct InvalidNumericDataException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1099,7 +1099,7 @@ public struct ReadOnlyViolationException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1135,7 +1135,7 @@ public struct StatisticsNotAvailableException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1231,7 +1231,7 @@ public struct MethodNotAllowedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1267,7 +1267,7 @@ public struct ServerShutdownException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1357,7 +1357,7 @@ public struct CancelledByUserException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1393,7 +1393,7 @@ public struct MalformedQueryException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1429,7 +1429,7 @@ public struct MemoryLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1465,7 +1465,7 @@ public struct QueryLimitExceededException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1501,7 +1501,7 @@ public struct QueryLimitException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1537,7 +1537,7 @@ public struct QueryTooLargeException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2331,7 +2331,7 @@ public struct ExpiredStreamException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2367,7 +2367,7 @@ public struct StreamRecordsNotFoundException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2403,7 +2403,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3454,7 +3454,7 @@ public struct S3Exception: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4999,7 +4999,7 @@ extension StartMLModelTransformJobInput { extension CancelGremlinQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelGremlinQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelGremlinQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5011,7 +5011,7 @@ extension CancelGremlinQueryOutput { extension CancelLoaderJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelLoaderJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelLoaderJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5023,7 +5023,7 @@ extension CancelLoaderJobOutput { extension CancelMLDataProcessingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMLDataProcessingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMLDataProcessingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5035,7 +5035,7 @@ extension CancelMLDataProcessingJobOutput { extension CancelMLModelTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMLModelTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMLModelTrainingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5047,7 +5047,7 @@ extension CancelMLModelTrainingJobOutput { extension CancelMLModelTransformJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMLModelTransformJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMLModelTransformJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5059,7 +5059,7 @@ extension CancelMLModelTransformJobOutput { extension CancelOpenCypherQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelOpenCypherQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelOpenCypherQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5072,7 +5072,7 @@ extension CancelOpenCypherQueryOutput { extension CreateMLEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMLEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMLEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5086,7 +5086,7 @@ extension CreateMLEndpointOutput { extension DeleteMLEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMLEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMLEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5098,7 +5098,7 @@ extension DeleteMLEndpointOutput { extension DeletePropertygraphStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePropertygraphStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePropertygraphStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5112,7 +5112,7 @@ extension DeletePropertygraphStatisticsOutput { extension DeleteSparqlStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSparqlStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSparqlStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5126,7 +5126,7 @@ extension DeleteSparqlStatisticsOutput { extension ExecuteFastResetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteFastResetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteFastResetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5139,7 +5139,7 @@ extension ExecuteFastResetOutput { extension ExecuteGremlinExplainQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteGremlinExplainQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteGremlinExplainQueryOutput { var value = ExecuteGremlinExplainQueryOutput() switch httpResponse.body { case .data(let data): @@ -5155,7 +5155,7 @@ extension ExecuteGremlinExplainQueryOutput { extension ExecuteGremlinProfileQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteGremlinProfileQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteGremlinProfileQueryOutput { var value = ExecuteGremlinProfileQueryOutput() switch httpResponse.body { case .data(let data): @@ -5171,7 +5171,7 @@ extension ExecuteGremlinProfileQueryOutput { extension ExecuteGremlinQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteGremlinQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteGremlinQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5186,7 +5186,7 @@ extension ExecuteGremlinQueryOutput { extension ExecuteOpenCypherExplainQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteOpenCypherExplainQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteOpenCypherExplainQueryOutput { var value = ExecuteOpenCypherExplainQueryOutput() switch httpResponse.body { case .data(let data): @@ -5202,7 +5202,7 @@ extension ExecuteOpenCypherExplainQueryOutput { extension ExecuteOpenCypherQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteOpenCypherQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteOpenCypherQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5214,7 +5214,7 @@ extension ExecuteOpenCypherQueryOutput { extension GetEngineStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEngineStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEngineStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5238,7 +5238,7 @@ extension GetEngineStatusOutput { extension GetGremlinQueryStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGremlinQueryStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGremlinQueryStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5252,7 +5252,7 @@ extension GetGremlinQueryStatusOutput { extension GetLoaderJobStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoaderJobStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoaderJobStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5265,7 +5265,7 @@ extension GetLoaderJobStatusOutput { extension GetMLDataProcessingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLDataProcessingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLDataProcessingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5279,7 +5279,7 @@ extension GetMLDataProcessingJobOutput { extension GetMLEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5294,7 +5294,7 @@ extension GetMLEndpointOutput { extension GetMLModelTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLModelTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLModelTrainingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5311,7 +5311,7 @@ extension GetMLModelTrainingJobOutput { extension GetMLModelTransformJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMLModelTransformJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMLModelTransformJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5327,7 +5327,7 @@ extension GetMLModelTransformJobOutput { extension GetOpenCypherQueryStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpenCypherQueryStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpenCypherQueryStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5341,7 +5341,7 @@ extension GetOpenCypherQueryStatusOutput { extension GetPropertygraphStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPropertygraphStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPropertygraphStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5354,7 +5354,7 @@ extension GetPropertygraphStatisticsOutput { extension GetPropertygraphStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPropertygraphStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPropertygraphStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5370,7 +5370,7 @@ extension GetPropertygraphStreamOutput { extension GetPropertygraphSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPropertygraphSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPropertygraphSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5383,7 +5383,7 @@ extension GetPropertygraphSummaryOutput { extension GetRDFGraphSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRDFGraphSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRDFGraphSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5396,7 +5396,7 @@ extension GetRDFGraphSummaryOutput { extension GetSparqlStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSparqlStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSparqlStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5409,7 +5409,7 @@ extension GetSparqlStatisticsOutput { extension GetSparqlStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSparqlStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSparqlStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5425,7 +5425,7 @@ extension GetSparqlStreamOutput { extension ListGremlinQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGremlinQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGremlinQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5439,7 +5439,7 @@ extension ListGremlinQueriesOutput { extension ListLoaderJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoaderJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoaderJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5452,7 +5452,7 @@ extension ListLoaderJobsOutput { extension ListMLDataProcessingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMLDataProcessingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMLDataProcessingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5464,7 +5464,7 @@ extension ListMLDataProcessingJobsOutput { extension ListMLEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMLEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMLEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5476,7 +5476,7 @@ extension ListMLEndpointsOutput { extension ListMLModelTrainingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMLModelTrainingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMLModelTrainingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5488,7 +5488,7 @@ extension ListMLModelTrainingJobsOutput { extension ListMLModelTransformJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMLModelTransformJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMLModelTransformJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5500,7 +5500,7 @@ extension ListMLModelTransformJobsOutput { extension ListOpenCypherQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpenCypherQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpenCypherQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5514,7 +5514,7 @@ extension ListOpenCypherQueriesOutput { extension ManagePropertygraphStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ManagePropertygraphStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ManagePropertygraphStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5527,7 +5527,7 @@ extension ManagePropertygraphStatisticsOutput { extension ManageSparqlStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ManageSparqlStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ManageSparqlStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5540,7 +5540,7 @@ extension ManageSparqlStatisticsOutput { extension StartLoaderJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLoaderJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLoaderJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5553,7 +5553,7 @@ extension StartLoaderJobOutput { extension StartMLDataProcessingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMLDataProcessingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMLDataProcessingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5567,7 +5567,7 @@ extension StartMLDataProcessingJobOutput { extension StartMLModelTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMLModelTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMLModelTrainingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5581,7 +5581,7 @@ extension StartMLModelTrainingJobOutput { extension StartMLModelTransformJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMLModelTransformJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMLModelTransformJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5595,7 +5595,7 @@ extension StartMLModelTransformJobOutput { enum CancelGremlinQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5622,7 +5622,7 @@ enum CancelGremlinQueryOutputError { enum CancelLoaderJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5648,7 +5648,7 @@ enum CancelLoaderJobOutputError { enum CancelMLDataProcessingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5672,7 +5672,7 @@ enum CancelMLDataProcessingJobOutputError { enum CancelMLModelTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5696,7 +5696,7 @@ enum CancelMLModelTrainingJobOutputError { enum CancelMLModelTransformJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5720,7 +5720,7 @@ enum CancelMLModelTransformJobOutputError { enum CancelOpenCypherQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5748,7 +5748,7 @@ enum CancelOpenCypherQueryOutputError { enum CreateMLEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5772,7 +5772,7 @@ enum CreateMLEndpointOutputError { enum DeleteMLEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5796,7 +5796,7 @@ enum DeleteMLEndpointOutputError { enum DeletePropertygraphStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5822,7 +5822,7 @@ enum DeletePropertygraphStatisticsOutputError { enum DeleteSparqlStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5848,7 +5848,7 @@ enum DeleteSparqlStatisticsOutputError { enum ExecuteFastResetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5874,7 +5874,7 @@ enum ExecuteFastResetOutputError { enum ExecuteGremlinExplainQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5907,7 +5907,7 @@ enum ExecuteGremlinExplainQueryOutputError { enum ExecuteGremlinProfileQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5940,7 +5940,7 @@ enum ExecuteGremlinProfileQueryOutputError { enum ExecuteGremlinQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5973,7 +5973,7 @@ enum ExecuteGremlinQueryOutputError { enum ExecuteOpenCypherExplainQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6007,7 +6007,7 @@ enum ExecuteOpenCypherExplainQueryOutputError { enum ExecuteOpenCypherQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6041,7 +6041,7 @@ enum ExecuteOpenCypherQueryOutputError { enum GetEngineStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6062,7 +6062,7 @@ enum GetEngineStatusOutputError { enum GetGremlinQueryStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6091,7 +6091,7 @@ enum GetGremlinQueryStatusOutputError { enum GetLoaderJobStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6117,7 +6117,7 @@ enum GetLoaderJobStatusOutputError { enum GetMLDataProcessingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6141,7 +6141,7 @@ enum GetMLDataProcessingJobOutputError { enum GetMLEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6165,7 +6165,7 @@ enum GetMLEndpointOutputError { enum GetMLModelTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6189,7 +6189,7 @@ enum GetMLModelTrainingJobOutputError { enum GetMLModelTransformJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6213,7 +6213,7 @@ enum GetMLModelTransformJobOutputError { enum GetOpenCypherQueryStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6243,7 +6243,7 @@ enum GetOpenCypherQueryStatusOutputError { enum GetPropertygraphStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6269,7 +6269,7 @@ enum GetPropertygraphStatisticsOutputError { enum GetPropertygraphStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6294,7 +6294,7 @@ enum GetPropertygraphStreamOutputError { enum GetPropertygraphSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6320,7 +6320,7 @@ enum GetPropertygraphSummaryOutputError { enum GetRDFGraphSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6346,7 +6346,7 @@ enum GetRDFGraphSummaryOutputError { enum GetSparqlStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6372,7 +6372,7 @@ enum GetSparqlStatisticsOutputError { enum GetSparqlStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6397,7 +6397,7 @@ enum GetSparqlStreamOutputError { enum ListGremlinQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6426,7 +6426,7 @@ enum ListGremlinQueriesOutputError { enum ListLoaderJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6451,7 +6451,7 @@ enum ListLoaderJobsOutputError { enum ListMLDataProcessingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6475,7 +6475,7 @@ enum ListMLDataProcessingJobsOutputError { enum ListMLEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6499,7 +6499,7 @@ enum ListMLEndpointsOutputError { enum ListMLModelTrainingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6523,7 +6523,7 @@ enum ListMLModelTrainingJobsOutputError { enum ListMLModelTransformJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6547,7 +6547,7 @@ enum ListMLModelTransformJobsOutputError { enum ListOpenCypherQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6577,7 +6577,7 @@ enum ListOpenCypherQueriesOutputError { enum ManagePropertygraphStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6603,7 +6603,7 @@ enum ManagePropertygraphStatisticsOutputError { enum ManageSparqlStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6629,7 +6629,7 @@ enum ManageSparqlStatisticsOutputError { enum StartLoaderJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6656,7 +6656,7 @@ enum StartLoaderJobOutputError { enum StartMLDataProcessingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6680,7 +6680,7 @@ enum StartMLDataProcessingJobOutputError { enum StartMLModelTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6704,7 +6704,7 @@ enum StartMLModelTrainingJobOutputError { enum StartMLModelTransformJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/Models.swift b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/Models.swift index cb8abc11b15..bbc914cfc90 100644 --- a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/Models.swift +++ b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -174,7 +174,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -228,7 +228,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -252,7 +252,7 @@ public struct InvalidTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -276,7 +276,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -300,7 +300,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -373,7 +373,7 @@ public struct InsufficientCapacityException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -748,7 +748,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2664,7 +2664,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2749,7 +2749,7 @@ public struct InvalidResourcePolicyException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2993,7 +2993,7 @@ extension NetworkFirewallClientTypes { } extension NetworkFirewallClientTypes { - /// Defines where Network Firewall sends logs for the firewall for one log type. This is used in [LoggingConfiguration]. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream. Network Firewall generates logs for stateful rule groups. You can save alert and flow log types. The stateful rules engine records flow logs for all network traffic that it receives. It records alert logs for traffic that matches stateful rules that have the rule action set to DROP or ALERT. + /// Defines where Network Firewall sends logs for the firewall for one log type. This is used in [LoggingConfiguration]. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream. Network Firewall generates logs for stateful rule groups. You can save alert and flow log types. The stateful rules engine records flow logs for all network traffic that it receives. It records alert logs for traffic that matches stateful rules that have the rule action set to DROP or ALERT. public struct LogDestinationConfig { /// The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type. /// @@ -3001,10 +3001,10 @@ extension NetworkFirewallClientTypes { /// /// * For a CloudWatch log group, provide the name of the CloudWatch log group, with key logGroup. The following example specifies a log group named alert-log-group: "LogDestination": { "logGroup": "alert-log-group" } /// - /// * For a Kinesis Data Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream: "LogDestination": { "deliveryStream": "alert-delivery-stream" } + /// * For a Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream: "LogDestination": { "deliveryStream": "alert-delivery-stream" } /// This member is required. public var logDestination: [Swift.String: Swift.String]? - /// The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream. + /// The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream. /// This member is required. public var logDestinationType: NetworkFirewallClientTypes.LogDestinationType? /// The type of log to send. Alert logs report traffic that matches a [StatefulRule] with an action setting that sends an alert log message. Flow logs are standard network traffic flow logs. @@ -3605,7 +3605,7 @@ public struct LogDestinationPermissionException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3714,7 +3714,7 @@ public struct ResourceOwnerCheckException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4832,7 +4832,7 @@ extension UpdateTLSInspectionConfigurationInput { extension AssociateFirewallPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFirewallPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFirewallPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4847,7 +4847,7 @@ extension AssociateFirewallPolicyOutput { extension AssociateSubnetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateSubnetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateSubnetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4862,7 +4862,7 @@ extension AssociateSubnetsOutput { extension CreateFirewallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFirewallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFirewallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4875,7 +4875,7 @@ extension CreateFirewallOutput { extension CreateFirewallPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFirewallPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFirewallPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4888,7 +4888,7 @@ extension CreateFirewallPolicyOutput { extension CreateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4901,7 +4901,7 @@ extension CreateRuleGroupOutput { extension CreateTLSInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTLSInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTLSInspectionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4914,7 +4914,7 @@ extension CreateTLSInspectionConfigurationOutput { extension DeleteFirewallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFirewallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFirewallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4927,7 +4927,7 @@ extension DeleteFirewallOutput { extension DeleteFirewallPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFirewallPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFirewallPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4939,14 +4939,14 @@ extension DeleteFirewallPolicyOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4958,7 +4958,7 @@ extension DeleteRuleGroupOutput { extension DeleteTLSInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTLSInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTLSInspectionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4970,7 +4970,7 @@ extension DeleteTLSInspectionConfigurationOutput { extension DescribeFirewallOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFirewallOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFirewallOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4984,7 +4984,7 @@ extension DescribeFirewallOutput { extension DescribeFirewallPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFirewallPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFirewallPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4998,7 +4998,7 @@ extension DescribeFirewallPolicyOutput { extension DescribeLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5011,7 +5011,7 @@ extension DescribeLoggingConfigurationOutput { extension DescribeResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5023,7 +5023,7 @@ extension DescribeResourcePolicyOutput { extension DescribeRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5037,7 +5037,7 @@ extension DescribeRuleGroupOutput { extension DescribeRuleGroupMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuleGroupMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuleGroupMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5055,7 +5055,7 @@ extension DescribeRuleGroupMetadataOutput { extension DescribeTLSInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTLSInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTLSInspectionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5069,7 +5069,7 @@ extension DescribeTLSInspectionConfigurationOutput { extension DisassociateSubnetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateSubnetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateSubnetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5084,7 +5084,7 @@ extension DisassociateSubnetsOutput { extension ListFirewallPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5097,7 +5097,7 @@ extension ListFirewallPoliciesOutput { extension ListFirewallsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5110,7 +5110,7 @@ extension ListFirewallsOutput { extension ListRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5123,7 +5123,7 @@ extension ListRuleGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5136,7 +5136,7 @@ extension ListTagsForResourceOutput { extension ListTLSInspectionConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTLSInspectionConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTLSInspectionConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5149,28 +5149,28 @@ extension ListTLSInspectionConfigurationsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { return PutResourcePolicyOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateFirewallDeleteProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallDeleteProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallDeleteProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5185,7 +5185,7 @@ extension UpdateFirewallDeleteProtectionOutput { extension UpdateFirewallDescriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallDescriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallDescriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5200,7 +5200,7 @@ extension UpdateFirewallDescriptionOutput { extension UpdateFirewallEncryptionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallEncryptionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallEncryptionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5215,7 +5215,7 @@ extension UpdateFirewallEncryptionConfigurationOutput { extension UpdateFirewallPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5228,7 +5228,7 @@ extension UpdateFirewallPolicyOutput { extension UpdateFirewallPolicyChangeProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallPolicyChangeProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallPolicyChangeProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5243,7 +5243,7 @@ extension UpdateFirewallPolicyChangeProtectionOutput { extension UpdateLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5257,7 +5257,7 @@ extension UpdateLoggingConfigurationOutput { extension UpdateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5270,7 +5270,7 @@ extension UpdateRuleGroupOutput { extension UpdateSubnetChangeProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubnetChangeProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubnetChangeProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5285,7 +5285,7 @@ extension UpdateSubnetChangeProtectionOutput { extension UpdateTLSInspectionConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTLSInspectionConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTLSInspectionConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5298,7 +5298,7 @@ extension UpdateTLSInspectionConfigurationOutput { enum AssociateFirewallPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5317,7 +5317,7 @@ enum AssociateFirewallPolicyOutputError { enum AssociateSubnetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5337,7 +5337,7 @@ enum AssociateSubnetsOutputError { enum CreateFirewallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5356,7 +5356,7 @@ enum CreateFirewallOutputError { enum CreateFirewallPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5374,7 +5374,7 @@ enum CreateFirewallPolicyOutputError { enum CreateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5392,7 +5392,7 @@ enum CreateRuleGroupOutputError { enum CreateTLSInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5410,7 +5410,7 @@ enum CreateTLSInspectionConfigurationOutputError { enum DeleteFirewallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5429,7 +5429,7 @@ enum DeleteFirewallOutputError { enum DeleteFirewallPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5448,7 +5448,7 @@ enum DeleteFirewallPolicyOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5466,7 +5466,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5485,7 +5485,7 @@ enum DeleteRuleGroupOutputError { enum DeleteTLSInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5503,7 +5503,7 @@ enum DeleteTLSInspectionConfigurationOutputError { enum DescribeFirewallOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5520,7 +5520,7 @@ enum DescribeFirewallOutputError { enum DescribeFirewallPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5537,7 +5537,7 @@ enum DescribeFirewallPolicyOutputError { enum DescribeLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5554,7 +5554,7 @@ enum DescribeLoggingConfigurationOutputError { enum DescribeResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5571,7 +5571,7 @@ enum DescribeResourcePolicyOutputError { enum DescribeRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5588,7 +5588,7 @@ enum DescribeRuleGroupOutputError { enum DescribeRuleGroupMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5605,7 +5605,7 @@ enum DescribeRuleGroupMetadataOutputError { enum DescribeTLSInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5622,7 +5622,7 @@ enum DescribeTLSInspectionConfigurationOutputError { enum DisassociateSubnetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5641,7 +5641,7 @@ enum DisassociateSubnetsOutputError { enum ListFirewallPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5657,7 +5657,7 @@ enum ListFirewallPoliciesOutputError { enum ListFirewallsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5673,7 +5673,7 @@ enum ListFirewallsOutputError { enum ListRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5689,7 +5689,7 @@ enum ListRuleGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5706,7 +5706,7 @@ enum ListTagsForResourceOutputError { enum ListTLSInspectionConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5722,7 +5722,7 @@ enum ListTLSInspectionConfigurationsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5740,7 +5740,7 @@ enum PutResourcePolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5757,7 +5757,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5774,7 +5774,7 @@ enum UntagResourceOutputError { enum UpdateFirewallDeleteProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5793,7 +5793,7 @@ enum UpdateFirewallDeleteProtectionOutputError { enum UpdateFirewallDescriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5811,7 +5811,7 @@ enum UpdateFirewallDescriptionOutputError { enum UpdateFirewallEncryptionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5830,7 +5830,7 @@ enum UpdateFirewallEncryptionConfigurationOutputError { enum UpdateFirewallPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5848,7 +5848,7 @@ enum UpdateFirewallPolicyOutputError { enum UpdateFirewallPolicyChangeProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5867,7 +5867,7 @@ enum UpdateFirewallPolicyChangeProtectionOutputError { enum UpdateLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5886,7 +5886,7 @@ enum UpdateLoggingConfigurationOutputError { enum UpdateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5904,7 +5904,7 @@ enum UpdateRuleGroupOutputError { enum UpdateSubnetChangeProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5923,7 +5923,7 @@ enum UpdateSubnetChangeProtectionOutputError { enum UpdateTLSInspectionConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/Models.swift b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/Models.swift index 66dc5f2966b..e390cfe4b10 100644 --- a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/Models.swift +++ b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -70,7 +70,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -101,7 +101,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -169,7 +169,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -257,7 +257,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -321,6 +321,81 @@ extension NetworkManagerClientTypes { } } +extension NetworkManagerClientTypes { + + public enum AttachmentErrorCode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case maximumNoEncapLimitExceeded + case subnetDuplicatedInAvailabilityZone + case subnetNotFound + case subnetNoFreeAddresses + case subnetNoIpv6Cidrs + case subnetUnsupportedAvailabilityZone + case vpcNotFound + case vpnConnectionNotFound + case sdkUnknown(Swift.String) + + public static var allCases: [AttachmentErrorCode] { + return [ + .maximumNoEncapLimitExceeded, + .subnetDuplicatedInAvailabilityZone, + .subnetNotFound, + .subnetNoFreeAddresses, + .subnetNoIpv6Cidrs, + .subnetUnsupportedAvailabilityZone, + .vpcNotFound, + .vpnConnectionNotFound + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .maximumNoEncapLimitExceeded: return "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" + case .subnetDuplicatedInAvailabilityZone: return "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" + case .subnetNotFound: return "SUBNET_NOT_FOUND" + case .subnetNoFreeAddresses: return "SUBNET_NO_FREE_ADDRESSES" + case .subnetNoIpv6Cidrs: return "SUBNET_NO_IPV6_CIDRS" + case .subnetUnsupportedAvailabilityZone: return "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" + case .vpcNotFound: return "VPC_NOT_FOUND" + case .vpnConnectionNotFound: return "VPN_CONNECTION_NOT_FOUND" + case let .sdkUnknown(s): return s + } + } + } +} + +extension NetworkManagerClientTypes { + /// Describes the error associated with an attachment request. + public struct AttachmentError { + /// The error code for the attachment request. + public var code: NetworkManagerClientTypes.AttachmentErrorCode? + /// The message associated with the error code. + public var message: Swift.String? + /// The ID of the attachment request. + public var requestId: Swift.String? + /// The ARN of the requested attachment resource. + public var resourceArn: Swift.String? + + public init( + code: NetworkManagerClientTypes.AttachmentErrorCode? = nil, + message: Swift.String? = nil, + requestId: Swift.String? = nil, + resourceArn: Swift.String? = nil + ) + { + self.code = code + self.message = message + self.requestId = requestId + self.resourceArn = resourceArn + } + } + +} + extension NetworkManagerClientTypes { /// Describes a tag. public struct Tag { @@ -456,6 +531,8 @@ extension NetworkManagerClientTypes { public var createdAt: Foundation.Date? /// The Region where the edge is located. public var edgeLocation: Swift.String? + /// Describes the error associated with the attachment request. + public var lastModificationErrors: [NetworkManagerClientTypes.AttachmentError]? /// The name of the network function group. public var networkFunctionGroupName: Swift.String? /// The ID of the attachment account owner. @@ -483,6 +560,7 @@ extension NetworkManagerClientTypes { coreNetworkId: Swift.String? = nil, createdAt: Foundation.Date? = nil, edgeLocation: Swift.String? = nil, + lastModificationErrors: [NetworkManagerClientTypes.AttachmentError]? = nil, networkFunctionGroupName: Swift.String? = nil, ownerAccountId: Swift.String? = nil, proposedNetworkFunctionGroupChange: NetworkManagerClientTypes.ProposedNetworkFunctionGroupChange? = nil, @@ -501,6 +579,7 @@ extension NetworkManagerClientTypes { self.coreNetworkId = coreNetworkId self.createdAt = createdAt self.edgeLocation = edgeLocation + self.lastModificationErrors = lastModificationErrors self.networkFunctionGroupName = networkFunctionGroupName self.ownerAccountId = ownerAccountId self.proposedNetworkFunctionGroupChange = proposedNetworkFunctionGroupChange @@ -571,7 +650,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1526,6 +1605,75 @@ extension NetworkManagerClientTypes { } +extension NetworkManagerClientTypes { + + public enum ConnectPeerErrorCode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case edgeLocationNoFreeIps + case edgeLocationPeerDuplicate + case invalidInsideCidrBlock + case ipOutsideSubnetCidrRange + case noAssociatedCidrBlock + case subnetNotFound + case sdkUnknown(Swift.String) + + public static var allCases: [ConnectPeerErrorCode] { + return [ + .edgeLocationNoFreeIps, + .edgeLocationPeerDuplicate, + .invalidInsideCidrBlock, + .ipOutsideSubnetCidrRange, + .noAssociatedCidrBlock, + .subnetNotFound + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .edgeLocationNoFreeIps: return "EDGE_LOCATION_NO_FREE_IPS" + case .edgeLocationPeerDuplicate: return "EDGE_LOCATION_PEER_DUPLICATE" + case .invalidInsideCidrBlock: return "INVALID_INSIDE_CIDR_BLOCK" + case .ipOutsideSubnetCidrRange: return "IP_OUTSIDE_SUBNET_CIDR_RANGE" + case .noAssociatedCidrBlock: return "NO_ASSOCIATED_CIDR_BLOCK" + case .subnetNotFound: return "SUBNET_NOT_FOUND" + case let .sdkUnknown(s): return s + } + } + } +} + +extension NetworkManagerClientTypes { + /// Describes an error associated with a Connect peer request + public struct ConnectPeerError { + /// The error code for the Connect peer request. + public var code: NetworkManagerClientTypes.ConnectPeerErrorCode? + /// The message associated with the error code. + public var message: Swift.String? + /// The ID of the Connect peer request. + public var requestId: Swift.String? + /// The ARN of the requested Connect peer resource. + public var resourceArn: Swift.String? + + public init( + code: NetworkManagerClientTypes.ConnectPeerErrorCode? = nil, + message: Swift.String? = nil, + requestId: Swift.String? = nil, + resourceArn: Swift.String? = nil + ) + { + self.code = code + self.message = message + self.requestId = requestId + self.resourceArn = resourceArn + } + } + +} + extension NetworkManagerClientTypes { public enum ConnectPeerState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1576,6 +1724,8 @@ extension NetworkManagerClientTypes { public var createdAt: Foundation.Date? /// The Connect peer Regions where edges are located. public var edgeLocation: Swift.String? + /// Describes the error associated with the attachment request. + public var lastModificationErrors: [NetworkManagerClientTypes.ConnectPeerError]? /// The state of the Connect peer. public var state: NetworkManagerClientTypes.ConnectPeerState? /// The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP. @@ -1590,6 +1740,7 @@ extension NetworkManagerClientTypes { coreNetworkId: Swift.String? = nil, createdAt: Foundation.Date? = nil, edgeLocation: Swift.String? = nil, + lastModificationErrors: [NetworkManagerClientTypes.ConnectPeerError]? = nil, state: NetworkManagerClientTypes.ConnectPeerState? = nil, subnetArn: Swift.String? = nil, tags: [NetworkManagerClientTypes.Tag]? = nil @@ -1601,6 +1752,7 @@ extension NetworkManagerClientTypes { self.coreNetworkId = coreNetworkId self.createdAt = createdAt self.edgeLocation = edgeLocation + self.lastModificationErrors = lastModificationErrors self.state = state self.subnetArn = subnetArn self.tags = tags @@ -2280,7 +2432,7 @@ public struct CoreNetworkPolicyException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3249,6 +3401,95 @@ public struct CreateTransitGatewayPeeringInput { } } +extension NetworkManagerClientTypes { + + public enum PeeringErrorCode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case edgeLocationPeerDuplicate + case internalError + case invalidTransitGatewayState + case missingRequiredPermissions + case transitGatewayNotFound + case transitGatewayPeersLimitExceeded + case sdkUnknown(Swift.String) + + public static var allCases: [PeeringErrorCode] { + return [ + .edgeLocationPeerDuplicate, + .internalError, + .invalidTransitGatewayState, + .missingRequiredPermissions, + .transitGatewayNotFound, + .transitGatewayPeersLimitExceeded + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .edgeLocationPeerDuplicate: return "EDGE_LOCATION_PEER_DUPLICATE" + case .internalError: return "INTERNAL_ERROR" + case .invalidTransitGatewayState: return "INVALID_TRANSIT_GATEWAY_STATE" + case .missingRequiredPermissions: return "MISSING_PERMISSIONS" + case .transitGatewayNotFound: return "TRANSIT_GATEWAY_NOT_FOUND" + case .transitGatewayPeersLimitExceeded: return "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension NetworkManagerClientTypes { + /// Describes additional information about missing permissions. + public struct PermissionsErrorContext { + /// The missing permissions. + public var missingPermission: Swift.String? + + public init( + missingPermission: Swift.String? = nil + ) + { + self.missingPermission = missingPermission + } + } + +} + +extension NetworkManagerClientTypes { + /// Describes an error associated with a peering request. + public struct PeeringError { + /// The error code for the peering request. + public var code: NetworkManagerClientTypes.PeeringErrorCode? + /// The message associated with the error code. + public var message: Swift.String? + /// Provides additional information about missing permissions for the peering error. + public var missingPermissionsContext: NetworkManagerClientTypes.PermissionsErrorContext? + /// The ID of the Peering request. + public var requestId: Swift.String? + /// The ARN of the requested peering resource. + public var resourceArn: Swift.String? + + public init( + code: NetworkManagerClientTypes.PeeringErrorCode? = nil, + message: Swift.String? = nil, + missingPermissionsContext: NetworkManagerClientTypes.PermissionsErrorContext? = nil, + requestId: Swift.String? = nil, + resourceArn: Swift.String? = nil + ) + { + self.code = code + self.message = message + self.missingPermissionsContext = missingPermissionsContext + self.requestId = requestId + self.resourceArn = resourceArn + } + } + +} + extension NetworkManagerClientTypes { public enum PeeringType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -3321,6 +3562,8 @@ extension NetworkManagerClientTypes { public var createdAt: Foundation.Date? /// The edge location for the peer. public var edgeLocation: Swift.String? + /// Describes the error associated with the Connect peer request. + public var lastModificationErrors: [NetworkManagerClientTypes.PeeringError]? /// The ID of the account owner. public var ownerAccountId: Swift.String? /// The ID of the peering attachment. @@ -3339,6 +3582,7 @@ extension NetworkManagerClientTypes { coreNetworkId: Swift.String? = nil, createdAt: Foundation.Date? = nil, edgeLocation: Swift.String? = nil, + lastModificationErrors: [NetworkManagerClientTypes.PeeringError]? = nil, ownerAccountId: Swift.String? = nil, peeringId: Swift.String? = nil, peeringType: NetworkManagerClientTypes.PeeringType? = nil, @@ -3351,6 +3595,7 @@ extension NetworkManagerClientTypes { self.coreNetworkId = coreNetworkId self.createdAt = createdAt self.edgeLocation = edgeLocation + self.lastModificationErrors = lastModificationErrors self.ownerAccountId = ownerAccountId self.peeringId = peeringId self.peeringType = peeringType @@ -8710,7 +8955,7 @@ extension UpdateVpcAttachmentInput { extension AcceptAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8722,7 +8967,7 @@ extension AcceptAttachmentOutput { extension AssociateConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8734,7 +8979,7 @@ extension AssociateConnectPeerOutput { extension AssociateCustomerGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateCustomerGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateCustomerGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8746,7 +8991,7 @@ extension AssociateCustomerGatewayOutput { extension AssociateLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8758,7 +9003,7 @@ extension AssociateLinkOutput { extension AssociateTransitGatewayConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTransitGatewayConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTransitGatewayConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8770,7 +9015,7 @@ extension AssociateTransitGatewayConnectPeerOutput { extension CreateConnectAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8782,7 +9027,7 @@ extension CreateConnectAttachmentOutput { extension CreateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8794,7 +9039,7 @@ extension CreateConnectionOutput { extension CreateConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8806,7 +9051,7 @@ extension CreateConnectPeerOutput { extension CreateCoreNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCoreNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCoreNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8818,7 +9063,7 @@ extension CreateCoreNetworkOutput { extension CreateDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8830,7 +9075,7 @@ extension CreateDeviceOutput { extension CreateGlobalNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlobalNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlobalNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8842,7 +9087,7 @@ extension CreateGlobalNetworkOutput { extension CreateLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8854,7 +9099,7 @@ extension CreateLinkOutput { extension CreateSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8866,7 +9111,7 @@ extension CreateSiteOutput { extension CreateSiteToSiteVpnAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSiteToSiteVpnAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSiteToSiteVpnAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8878,7 +9123,7 @@ extension CreateSiteToSiteVpnAttachmentOutput { extension CreateTransitGatewayPeeringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayPeeringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayPeeringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8890,7 +9135,7 @@ extension CreateTransitGatewayPeeringOutput { extension CreateTransitGatewayRouteTableAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransitGatewayRouteTableAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransitGatewayRouteTableAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8902,7 +9147,7 @@ extension CreateTransitGatewayRouteTableAttachmentOutput { extension CreateVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8914,7 +9159,7 @@ extension CreateVpcAttachmentOutput { extension DeleteAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8926,7 +9171,7 @@ extension DeleteAttachmentOutput { extension DeleteConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8938,7 +9183,7 @@ extension DeleteConnectionOutput { extension DeleteConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8950,7 +9195,7 @@ extension DeleteConnectPeerOutput { extension DeleteCoreNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCoreNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCoreNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8962,7 +9207,7 @@ extension DeleteCoreNetworkOutput { extension DeleteCoreNetworkPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCoreNetworkPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCoreNetworkPolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8974,7 +9219,7 @@ extension DeleteCoreNetworkPolicyVersionOutput { extension DeleteDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8986,7 +9231,7 @@ extension DeleteDeviceOutput { extension DeleteGlobalNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlobalNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlobalNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8998,7 +9243,7 @@ extension DeleteGlobalNetworkOutput { extension DeleteLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9010,7 +9255,7 @@ extension DeleteLinkOutput { extension DeletePeeringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePeeringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePeeringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9022,14 +9267,14 @@ extension DeletePeeringOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9041,7 +9286,7 @@ extension DeleteSiteOutput { extension DeregisterTransitGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTransitGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTransitGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9053,7 +9298,7 @@ extension DeregisterTransitGatewayOutput { extension DescribeGlobalNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9066,7 +9311,7 @@ extension DescribeGlobalNetworksOutput { extension DisassociateConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9078,7 +9323,7 @@ extension DisassociateConnectPeerOutput { extension DisassociateCustomerGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateCustomerGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateCustomerGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9090,7 +9335,7 @@ extension DisassociateCustomerGatewayOutput { extension DisassociateLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9102,7 +9347,7 @@ extension DisassociateLinkOutput { extension DisassociateTransitGatewayConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTransitGatewayConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTransitGatewayConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9114,14 +9359,14 @@ extension DisassociateTransitGatewayConnectPeerOutput { extension ExecuteCoreNetworkChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteCoreNetworkChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteCoreNetworkChangeSetOutput { return ExecuteCoreNetworkChangeSetOutput() } } extension GetConnectAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9133,7 +9378,7 @@ extension GetConnectAttachmentOutput { extension GetConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9146,7 +9391,7 @@ extension GetConnectionsOutput { extension GetConnectPeerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectPeerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectPeerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9158,7 +9403,7 @@ extension GetConnectPeerOutput { extension GetConnectPeerAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectPeerAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectPeerAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9171,7 +9416,7 @@ extension GetConnectPeerAssociationsOutput { extension GetCoreNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9183,7 +9428,7 @@ extension GetCoreNetworkOutput { extension GetCoreNetworkChangeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreNetworkChangeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreNetworkChangeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9196,7 +9441,7 @@ extension GetCoreNetworkChangeEventsOutput { extension GetCoreNetworkChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreNetworkChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreNetworkChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9209,7 +9454,7 @@ extension GetCoreNetworkChangeSetOutput { extension GetCoreNetworkPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCoreNetworkPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCoreNetworkPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9221,7 +9466,7 @@ extension GetCoreNetworkPolicyOutput { extension GetCustomerGatewayAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomerGatewayAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomerGatewayAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9234,7 +9479,7 @@ extension GetCustomerGatewayAssociationsOutput { extension GetDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9247,7 +9492,7 @@ extension GetDevicesOutput { extension GetLinkAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLinkAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLinkAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9260,7 +9505,7 @@ extension GetLinkAssociationsOutput { extension GetLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9273,7 +9518,7 @@ extension GetLinksOutput { extension GetNetworkResourceCountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkResourceCountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkResourceCountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9286,7 +9531,7 @@ extension GetNetworkResourceCountsOutput { extension GetNetworkResourceRelationshipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkResourceRelationshipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkResourceRelationshipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9299,7 +9544,7 @@ extension GetNetworkResourceRelationshipsOutput { extension GetNetworkResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9312,7 +9557,7 @@ extension GetNetworkResourcesOutput { extension GetNetworkRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9328,7 +9573,7 @@ extension GetNetworkRoutesOutput { extension GetNetworkTelemetryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkTelemetryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkTelemetryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9341,7 +9586,7 @@ extension GetNetworkTelemetryOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9353,7 +9598,7 @@ extension GetResourcePolicyOutput { extension GetRouteAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRouteAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRouteAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9365,7 +9610,7 @@ extension GetRouteAnalysisOutput { extension GetSitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSitesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9378,7 +9623,7 @@ extension GetSitesOutput { extension GetSiteToSiteVpnAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSiteToSiteVpnAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSiteToSiteVpnAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9390,7 +9635,7 @@ extension GetSiteToSiteVpnAttachmentOutput { extension GetTransitGatewayConnectPeerAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayConnectPeerAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayConnectPeerAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9403,7 +9648,7 @@ extension GetTransitGatewayConnectPeerAssociationsOutput { extension GetTransitGatewayPeeringOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayPeeringOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayPeeringOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9415,7 +9660,7 @@ extension GetTransitGatewayPeeringOutput { extension GetTransitGatewayRegistrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayRegistrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayRegistrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9428,7 +9673,7 @@ extension GetTransitGatewayRegistrationsOutput { extension GetTransitGatewayRouteTableAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTransitGatewayRouteTableAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTransitGatewayRouteTableAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9440,7 +9685,7 @@ extension GetTransitGatewayRouteTableAttachmentOutput { extension GetVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9452,7 +9697,7 @@ extension GetVpcAttachmentOutput { extension ListAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9465,7 +9710,7 @@ extension ListAttachmentsOutput { extension ListConnectPeersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectPeersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectPeersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9478,7 +9723,7 @@ extension ListConnectPeersOutput { extension ListCoreNetworkPolicyVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoreNetworkPolicyVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoreNetworkPolicyVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9491,7 +9736,7 @@ extension ListCoreNetworkPolicyVersionsOutput { extension ListCoreNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCoreNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCoreNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9504,7 +9749,7 @@ extension ListCoreNetworksOutput { extension ListOrganizationServiceAccessStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationServiceAccessStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationServiceAccessStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9517,7 +9762,7 @@ extension ListOrganizationServiceAccessStatusOutput { extension ListPeeringsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPeeringsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPeeringsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9530,7 +9775,7 @@ extension ListPeeringsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9542,7 +9787,7 @@ extension ListTagsForResourceOutput { extension PutCoreNetworkPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCoreNetworkPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCoreNetworkPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9554,14 +9799,14 @@ extension PutCoreNetworkPolicyOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { return PutResourcePolicyOutput() } } extension RegisterTransitGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTransitGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTransitGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9573,7 +9818,7 @@ extension RegisterTransitGatewayOutput { extension RejectAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9585,7 +9830,7 @@ extension RejectAttachmentOutput { extension RestoreCoreNetworkPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreCoreNetworkPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreCoreNetworkPolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9597,7 +9842,7 @@ extension RestoreCoreNetworkPolicyVersionOutput { extension StartOrganizationServiceAccessUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartOrganizationServiceAccessUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartOrganizationServiceAccessUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9609,7 +9854,7 @@ extension StartOrganizationServiceAccessUpdateOutput { extension StartRouteAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRouteAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRouteAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9621,21 +9866,21 @@ extension StartRouteAnalysisOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9647,7 +9892,7 @@ extension UpdateConnectionOutput { extension UpdateCoreNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCoreNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCoreNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9659,7 +9904,7 @@ extension UpdateCoreNetworkOutput { extension UpdateDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9671,7 +9916,7 @@ extension UpdateDeviceOutput { extension UpdateGlobalNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9683,7 +9928,7 @@ extension UpdateGlobalNetworkOutput { extension UpdateLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9695,7 +9940,7 @@ extension UpdateLinkOutput { extension UpdateNetworkResourceMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNetworkResourceMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkResourceMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9708,7 +9953,7 @@ extension UpdateNetworkResourceMetadataOutput { extension UpdateSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9720,7 +9965,7 @@ extension UpdateSiteOutput { extension UpdateVpcAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9732,7 +9977,7 @@ extension UpdateVpcAttachmentOutput { enum AcceptAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9751,7 +9996,7 @@ enum AcceptAttachmentOutputError { enum AssociateConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9771,7 +10016,7 @@ enum AssociateConnectPeerOutputError { enum AssociateCustomerGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9791,7 +10036,7 @@ enum AssociateCustomerGatewayOutputError { enum AssociateLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9811,7 +10056,7 @@ enum AssociateLinkOutputError { enum AssociateTransitGatewayConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9831,7 +10076,7 @@ enum AssociateTransitGatewayConnectPeerOutputError { enum CreateConnectAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9850,7 +10095,7 @@ enum CreateConnectAttachmentOutputError { enum CreateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9869,7 +10114,7 @@ enum CreateConnectionOutputError { enum CreateConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9888,7 +10133,7 @@ enum CreateConnectPeerOutputError { enum CreateCoreNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9908,7 +10153,7 @@ enum CreateCoreNetworkOutputError { enum CreateDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9928,7 +10173,7 @@ enum CreateDeviceOutputError { enum CreateGlobalNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9947,7 +10192,7 @@ enum CreateGlobalNetworkOutputError { enum CreateLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9967,7 +10212,7 @@ enum CreateLinkOutputError { enum CreateSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9987,7 +10232,7 @@ enum CreateSiteOutputError { enum CreateSiteToSiteVpnAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10006,7 +10251,7 @@ enum CreateSiteToSiteVpnAttachmentOutputError { enum CreateTransitGatewayPeeringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10025,7 +10270,7 @@ enum CreateTransitGatewayPeeringOutputError { enum CreateTransitGatewayRouteTableAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10044,7 +10289,7 @@ enum CreateTransitGatewayRouteTableAttachmentOutputError { enum CreateVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10063,7 +10308,7 @@ enum CreateVpcAttachmentOutputError { enum DeleteAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10082,7 +10327,7 @@ enum DeleteAttachmentOutputError { enum DeleteConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10101,7 +10346,7 @@ enum DeleteConnectionOutputError { enum DeleteConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10120,7 +10365,7 @@ enum DeleteConnectPeerOutputError { enum DeleteCoreNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10139,7 +10384,7 @@ enum DeleteCoreNetworkOutputError { enum DeleteCoreNetworkPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10158,7 +10403,7 @@ enum DeleteCoreNetworkPolicyVersionOutputError { enum DeleteDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10177,7 +10422,7 @@ enum DeleteDeviceOutputError { enum DeleteGlobalNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10196,7 +10441,7 @@ enum DeleteGlobalNetworkOutputError { enum DeleteLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10215,7 +10460,7 @@ enum DeleteLinkOutputError { enum DeletePeeringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10234,7 +10479,7 @@ enum DeletePeeringOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10252,7 +10497,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10271,7 +10516,7 @@ enum DeleteSiteOutputError { enum DeregisterTransitGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10290,7 +10535,7 @@ enum DeregisterTransitGatewayOutputError { enum DescribeGlobalNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10308,7 +10553,7 @@ enum DescribeGlobalNetworksOutputError { enum DisassociateConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10327,7 +10572,7 @@ enum DisassociateConnectPeerOutputError { enum DisassociateCustomerGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10346,7 +10591,7 @@ enum DisassociateCustomerGatewayOutputError { enum DisassociateLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10365,7 +10610,7 @@ enum DisassociateLinkOutputError { enum DisassociateTransitGatewayConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10384,7 +10629,7 @@ enum DisassociateTransitGatewayConnectPeerOutputError { enum ExecuteCoreNetworkChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10403,7 +10648,7 @@ enum ExecuteCoreNetworkChangeSetOutputError { enum GetConnectAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10421,7 +10666,7 @@ enum GetConnectAttachmentOutputError { enum GetConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10439,7 +10684,7 @@ enum GetConnectionsOutputError { enum GetConnectPeerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10457,7 +10702,7 @@ enum GetConnectPeerOutputError { enum GetConnectPeerAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10476,7 +10721,7 @@ enum GetConnectPeerAssociationsOutputError { enum GetCoreNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10494,7 +10739,7 @@ enum GetCoreNetworkOutputError { enum GetCoreNetworkChangeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10512,7 +10757,7 @@ enum GetCoreNetworkChangeEventsOutputError { enum GetCoreNetworkChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10530,7 +10775,7 @@ enum GetCoreNetworkChangeSetOutputError { enum GetCoreNetworkPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10548,7 +10793,7 @@ enum GetCoreNetworkPolicyOutputError { enum GetCustomerGatewayAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10567,7 +10812,7 @@ enum GetCustomerGatewayAssociationsOutputError { enum GetDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10585,7 +10830,7 @@ enum GetDevicesOutputError { enum GetLinkAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10603,7 +10848,7 @@ enum GetLinkAssociationsOutputError { enum GetLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10621,7 +10866,7 @@ enum GetLinksOutputError { enum GetNetworkResourceCountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10638,7 +10883,7 @@ enum GetNetworkResourceCountsOutputError { enum GetNetworkResourceRelationshipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10656,7 +10901,7 @@ enum GetNetworkResourceRelationshipsOutputError { enum GetNetworkResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10674,7 +10919,7 @@ enum GetNetworkResourcesOutputError { enum GetNetworkRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10692,7 +10937,7 @@ enum GetNetworkRoutesOutputError { enum GetNetworkTelemetryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10710,7 +10955,7 @@ enum GetNetworkTelemetryOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10727,7 +10972,7 @@ enum GetResourcePolicyOutputError { enum GetRouteAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10745,7 +10990,7 @@ enum GetRouteAnalysisOutputError { enum GetSitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10763,7 +11008,7 @@ enum GetSitesOutputError { enum GetSiteToSiteVpnAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10781,7 +11026,7 @@ enum GetSiteToSiteVpnAttachmentOutputError { enum GetTransitGatewayConnectPeerAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10800,7 +11045,7 @@ enum GetTransitGatewayConnectPeerAssociationsOutputError { enum GetTransitGatewayPeeringOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10818,7 +11063,7 @@ enum GetTransitGatewayPeeringOutputError { enum GetTransitGatewayRegistrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10836,7 +11081,7 @@ enum GetTransitGatewayRegistrationsOutputError { enum GetTransitGatewayRouteTableAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10854,7 +11099,7 @@ enum GetTransitGatewayRouteTableAttachmentOutputError { enum GetVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10872,7 +11117,7 @@ enum GetVpcAttachmentOutputError { enum ListAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10889,7 +11134,7 @@ enum ListAttachmentsOutputError { enum ListConnectPeersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10906,7 +11151,7 @@ enum ListConnectPeersOutputError { enum ListCoreNetworkPolicyVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10924,7 +11169,7 @@ enum ListCoreNetworkPolicyVersionsOutputError { enum ListCoreNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10941,7 +11186,7 @@ enum ListCoreNetworksOutputError { enum ListOrganizationServiceAccessStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10954,7 +11199,7 @@ enum ListOrganizationServiceAccessStatusOutputError { enum ListPeeringsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10971,7 +11216,7 @@ enum ListPeeringsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10989,7 +11234,7 @@ enum ListTagsForResourceOutputError { enum PutCoreNetworkPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11009,7 +11254,7 @@ enum PutCoreNetworkPolicyOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11028,7 +11273,7 @@ enum PutResourcePolicyOutputError { enum RegisterTransitGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11047,7 +11292,7 @@ enum RegisterTransitGatewayOutputError { enum RejectAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11066,7 +11311,7 @@ enum RejectAttachmentOutputError { enum RestoreCoreNetworkPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11085,7 +11330,7 @@ enum RestoreCoreNetworkPolicyVersionOutputError { enum StartOrganizationServiceAccessUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11104,7 +11349,7 @@ enum StartOrganizationServiceAccessUpdateOutputError { enum StartRouteAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11123,7 +11368,7 @@ enum StartRouteAnalysisOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11143,7 +11388,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11162,7 +11407,7 @@ enum UntagResourceOutputError { enum UpdateConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11181,7 +11426,7 @@ enum UpdateConnectionOutputError { enum UpdateCoreNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11200,7 +11445,7 @@ enum UpdateCoreNetworkOutputError { enum UpdateDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11219,7 +11464,7 @@ enum UpdateDeviceOutputError { enum UpdateGlobalNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11238,7 +11483,7 @@ enum UpdateGlobalNetworkOutputError { enum UpdateLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11258,7 +11503,7 @@ enum UpdateLinkOutputError { enum UpdateNetworkResourceMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11277,7 +11522,7 @@ enum UpdateNetworkResourceMetadataOutputError { enum UpdateSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11296,7 +11541,7 @@ enum UpdateSiteOutputError { enum UpdateVpcAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11458,6 +11703,20 @@ extension NetworkManagerClientTypes.Attachment { value.proposedNetworkFunctionGroupChange = try reader["ProposedNetworkFunctionGroupChange"].readIfPresent(with: NetworkManagerClientTypes.ProposedNetworkFunctionGroupChange.read(from:)) value.createdAt = try reader["CreatedAt"].readTimestampIfPresent(format: .epochSeconds) value.updatedAt = try reader["UpdatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.lastModificationErrors = try reader["LastModificationErrors"].readListIfPresent(memberReadingClosure: NetworkManagerClientTypes.AttachmentError.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension NetworkManagerClientTypes.AttachmentError { + + static func read(from reader: SmithyJSON.Reader) throws -> NetworkManagerClientTypes.AttachmentError { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = NetworkManagerClientTypes.AttachmentError() + value.code = try reader["Code"].readIfPresent() + value.message = try reader["Message"].readIfPresent() + value.resourceArn = try reader["ResourceArn"].readIfPresent() + value.requestId = try reader["RequestId"].readIfPresent() return value } } @@ -11619,6 +11878,20 @@ extension NetworkManagerClientTypes.ConnectPeer { value.configuration = try reader["Configuration"].readIfPresent(with: NetworkManagerClientTypes.ConnectPeerConfiguration.read(from:)) value.tags = try reader["Tags"].readListIfPresent(memberReadingClosure: NetworkManagerClientTypes.Tag.read(from:), memberNodeInfo: "member", isFlattened: false) value.subnetArn = try reader["SubnetArn"].readIfPresent() + value.lastModificationErrors = try reader["LastModificationErrors"].readListIfPresent(memberReadingClosure: NetworkManagerClientTypes.ConnectPeerError.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension NetworkManagerClientTypes.ConnectPeerError { + + static func read(from reader: SmithyJSON.Reader) throws -> NetworkManagerClientTypes.ConnectPeerError { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = NetworkManagerClientTypes.ConnectPeerError() + value.code = try reader["Code"].readIfPresent() + value.message = try reader["Message"].readIfPresent() + value.resourceArn = try reader["ResourceArn"].readIfPresent() + value.requestId = try reader["RequestId"].readIfPresent() return value } } @@ -11882,6 +12155,31 @@ extension NetworkManagerClientTypes.Peering { value.resourceArn = try reader["ResourceArn"].readIfPresent() value.tags = try reader["Tags"].readListIfPresent(memberReadingClosure: NetworkManagerClientTypes.Tag.read(from:), memberNodeInfo: "member", isFlattened: false) value.createdAt = try reader["CreatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.lastModificationErrors = try reader["LastModificationErrors"].readListIfPresent(memberReadingClosure: NetworkManagerClientTypes.PeeringError.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension NetworkManagerClientTypes.PeeringError { + + static func read(from reader: SmithyJSON.Reader) throws -> NetworkManagerClientTypes.PeeringError { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = NetworkManagerClientTypes.PeeringError() + value.code = try reader["Code"].readIfPresent() + value.message = try reader["Message"].readIfPresent() + value.resourceArn = try reader["ResourceArn"].readIfPresent() + value.requestId = try reader["RequestId"].readIfPresent() + value.missingPermissionsContext = try reader["MissingPermissionsContext"].readIfPresent(with: NetworkManagerClientTypes.PermissionsErrorContext.read(from:)) + return value + } +} + +extension NetworkManagerClientTypes.PermissionsErrorContext { + + static func read(from reader: SmithyJSON.Reader) throws -> NetworkManagerClientTypes.PermissionsErrorContext { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = NetworkManagerClientTypes.PermissionsErrorContext() + value.missingPermission = try reader["MissingPermission"].readIfPresent() return value } } diff --git a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/Models.swift b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/Models.swift index 18cb40e5da5..1dab2d891a8 100644 --- a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/Models.swift +++ b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -88,7 +88,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -374,7 +374,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1307,7 +1307,7 @@ extension UpdateProbeInput { extension CreateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1323,7 +1323,7 @@ extension CreateMonitorOutput { extension CreateProbeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProbeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProbeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1347,21 +1347,21 @@ extension CreateProbeOutput { extension DeleteMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMonitorOutput { return DeleteMonitorOutput() } } extension DeleteProbeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProbeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProbeOutput { return DeleteProbeOutput() } } extension GetMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1380,7 +1380,7 @@ extension GetMonitorOutput { extension GetProbeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProbeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProbeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1404,7 +1404,7 @@ extension GetProbeOutput { extension ListMonitorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1417,7 +1417,7 @@ extension ListMonitorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1429,21 +1429,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1459,7 +1459,7 @@ extension UpdateMonitorOutput { extension UpdateProbeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProbeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProbeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1483,7 +1483,7 @@ extension UpdateProbeOutput { enum CreateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1502,7 +1502,7 @@ enum CreateMonitorOutputError { enum CreateProbeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1521,7 +1521,7 @@ enum CreateProbeOutputError { enum DeleteMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1539,7 +1539,7 @@ enum DeleteMonitorOutputError { enum DeleteProbeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1558,7 +1558,7 @@ enum DeleteProbeOutputError { enum GetMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1576,7 +1576,7 @@ enum GetMonitorOutputError { enum GetProbeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1594,7 +1594,7 @@ enum GetProbeOutputError { enum ListMonitorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1611,7 +1611,7 @@ enum ListMonitorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1630,7 +1630,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1649,7 +1649,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1668,7 +1668,7 @@ enum UntagResourceOutputError { enum UpdateMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1687,7 +1687,7 @@ enum UpdateMonitorOutputError { enum UpdateProbeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSNimble/Sources/AWSNimble/Models.swift b/Sources/Services/AWSNimble/Sources/AWSNimble/Models.swift index a733796e6a0..784b4cd08cb 100644 --- a/Sources/Services/AWSNimble/Sources/AWSNimble/Models.swift +++ b/Sources/Services/AWSNimble/Sources/AWSNimble/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -44,7 +44,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -143,7 +143,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -176,7 +176,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -209,7 +209,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -242,7 +242,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6056,7 +6056,7 @@ extension UpdateStudioComponentInput { extension AcceptEulasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptEulasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptEulasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6068,7 +6068,7 @@ extension AcceptEulasOutput { extension CreateLaunchProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLaunchProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLaunchProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6080,7 +6080,7 @@ extension CreateLaunchProfileOutput { extension CreateStreamingImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamingImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamingImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6092,7 +6092,7 @@ extension CreateStreamingImageOutput { extension CreateStreamingSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamingSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamingSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6104,7 +6104,7 @@ extension CreateStreamingSessionOutput { extension CreateStreamingSessionStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamingSessionStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamingSessionStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6116,7 +6116,7 @@ extension CreateStreamingSessionStreamOutput { extension CreateStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStudioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6128,7 +6128,7 @@ extension CreateStudioOutput { extension CreateStudioComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStudioComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStudioComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6140,7 +6140,7 @@ extension CreateStudioComponentOutput { extension DeleteLaunchProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6152,14 +6152,14 @@ extension DeleteLaunchProfileOutput { extension DeleteLaunchProfileMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLaunchProfileMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLaunchProfileMemberOutput { return DeleteLaunchProfileMemberOutput() } } extension DeleteStreamingImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamingImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamingImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6171,7 +6171,7 @@ extension DeleteStreamingImageOutput { extension DeleteStreamingSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamingSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamingSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6183,7 +6183,7 @@ extension DeleteStreamingSessionOutput { extension DeleteStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStudioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6195,7 +6195,7 @@ extension DeleteStudioOutput { extension DeleteStudioComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStudioComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStudioComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6207,14 +6207,14 @@ extension DeleteStudioComponentOutput { extension DeleteStudioMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStudioMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStudioMemberOutput { return DeleteStudioMemberOutput() } } extension GetEulaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEulaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEulaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6226,7 +6226,7 @@ extension GetEulaOutput { extension GetLaunchProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6238,7 +6238,7 @@ extension GetLaunchProfileOutput { extension GetLaunchProfileDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchProfileDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchProfileDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6252,7 +6252,7 @@ extension GetLaunchProfileDetailsOutput { extension GetLaunchProfileInitializationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchProfileInitializationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchProfileInitializationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6264,7 +6264,7 @@ extension GetLaunchProfileInitializationOutput { extension GetLaunchProfileMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLaunchProfileMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLaunchProfileMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6276,7 +6276,7 @@ extension GetLaunchProfileMemberOutput { extension GetStreamingImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamingImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6288,7 +6288,7 @@ extension GetStreamingImageOutput { extension GetStreamingSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamingSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6300,7 +6300,7 @@ extension GetStreamingSessionOutput { extension GetStreamingSessionBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamingSessionBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingSessionBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6312,7 +6312,7 @@ extension GetStreamingSessionBackupOutput { extension GetStreamingSessionStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStreamingSessionStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingSessionStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6324,7 +6324,7 @@ extension GetStreamingSessionStreamOutput { extension GetStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStudioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6336,7 +6336,7 @@ extension GetStudioOutput { extension GetStudioComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStudioComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStudioComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6348,7 +6348,7 @@ extension GetStudioComponentOutput { extension GetStudioMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStudioMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStudioMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6360,7 +6360,7 @@ extension GetStudioMemberOutput { extension ListEulaAcceptancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEulaAcceptancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEulaAcceptancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6373,7 +6373,7 @@ extension ListEulaAcceptancesOutput { extension ListEulasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEulasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEulasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6386,7 +6386,7 @@ extension ListEulasOutput { extension ListLaunchProfileMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLaunchProfileMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLaunchProfileMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6399,7 +6399,7 @@ extension ListLaunchProfileMembersOutput { extension ListLaunchProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLaunchProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLaunchProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6412,7 +6412,7 @@ extension ListLaunchProfilesOutput { extension ListStreamingImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamingImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamingImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6425,7 +6425,7 @@ extension ListStreamingImagesOutput { extension ListStreamingSessionBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamingSessionBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamingSessionBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6438,7 +6438,7 @@ extension ListStreamingSessionBackupsOutput { extension ListStreamingSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamingSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamingSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6451,7 +6451,7 @@ extension ListStreamingSessionsOutput { extension ListStudioComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStudioComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStudioComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6464,7 +6464,7 @@ extension ListStudioComponentsOutput { extension ListStudioMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStudioMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStudioMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6477,7 +6477,7 @@ extension ListStudioMembersOutput { extension ListStudiosOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStudiosOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStudiosOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6490,7 +6490,7 @@ extension ListStudiosOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6502,21 +6502,21 @@ extension ListTagsForResourceOutput { extension PutLaunchProfileMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLaunchProfileMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLaunchProfileMembersOutput { return PutLaunchProfileMembersOutput() } } extension PutStudioMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutStudioMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutStudioMembersOutput { return PutStudioMembersOutput() } } extension StartStreamingSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartStreamingSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartStreamingSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6528,7 +6528,7 @@ extension StartStreamingSessionOutput { extension StartStudioSSOConfigurationRepairOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartStudioSSOConfigurationRepairOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartStudioSSOConfigurationRepairOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6540,7 +6540,7 @@ extension StartStudioSSOConfigurationRepairOutput { extension StopStreamingSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopStreamingSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopStreamingSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6552,21 +6552,21 @@ extension StopStreamingSessionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLaunchProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6578,7 +6578,7 @@ extension UpdateLaunchProfileOutput { extension UpdateLaunchProfileMemberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLaunchProfileMemberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLaunchProfileMemberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6590,7 +6590,7 @@ extension UpdateLaunchProfileMemberOutput { extension UpdateStreamingImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStreamingImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStreamingImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6602,7 +6602,7 @@ extension UpdateStreamingImageOutput { extension UpdateStudioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStudioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStudioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6614,7 +6614,7 @@ extension UpdateStudioOutput { extension UpdateStudioComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStudioComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStudioComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6626,7 +6626,7 @@ extension UpdateStudioComponentOutput { enum AcceptEulasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6646,7 +6646,7 @@ enum AcceptEulasOutputError { enum CreateLaunchProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6666,7 +6666,7 @@ enum CreateLaunchProfileOutputError { enum CreateStreamingImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6686,7 +6686,7 @@ enum CreateStreamingImageOutputError { enum CreateStreamingSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6706,7 +6706,7 @@ enum CreateStreamingSessionOutputError { enum CreateStreamingSessionStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6726,7 +6726,7 @@ enum CreateStreamingSessionStreamOutputError { enum CreateStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6746,7 +6746,7 @@ enum CreateStudioOutputError { enum CreateStudioComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6766,7 +6766,7 @@ enum CreateStudioComponentOutputError { enum DeleteLaunchProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6786,7 +6786,7 @@ enum DeleteLaunchProfileOutputError { enum DeleteLaunchProfileMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6806,7 +6806,7 @@ enum DeleteLaunchProfileMemberOutputError { enum DeleteStreamingImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6826,7 +6826,7 @@ enum DeleteStreamingImageOutputError { enum DeleteStreamingSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6846,7 +6846,7 @@ enum DeleteStreamingSessionOutputError { enum DeleteStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6866,7 +6866,7 @@ enum DeleteStudioOutputError { enum DeleteStudioComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6886,7 +6886,7 @@ enum DeleteStudioComponentOutputError { enum DeleteStudioMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6906,7 +6906,7 @@ enum DeleteStudioMemberOutputError { enum GetEulaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6926,7 +6926,7 @@ enum GetEulaOutputError { enum GetLaunchProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6946,7 +6946,7 @@ enum GetLaunchProfileOutputError { enum GetLaunchProfileDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6966,7 +6966,7 @@ enum GetLaunchProfileDetailsOutputError { enum GetLaunchProfileInitializationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6986,7 +6986,7 @@ enum GetLaunchProfileInitializationOutputError { enum GetLaunchProfileMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7006,7 +7006,7 @@ enum GetLaunchProfileMemberOutputError { enum GetStreamingImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7026,7 +7026,7 @@ enum GetStreamingImageOutputError { enum GetStreamingSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7046,7 +7046,7 @@ enum GetStreamingSessionOutputError { enum GetStreamingSessionBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7065,7 +7065,7 @@ enum GetStreamingSessionBackupOutputError { enum GetStreamingSessionStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7085,7 +7085,7 @@ enum GetStreamingSessionStreamOutputError { enum GetStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7105,7 +7105,7 @@ enum GetStudioOutputError { enum GetStudioComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7125,7 +7125,7 @@ enum GetStudioComponentOutputError { enum GetStudioMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7145,7 +7145,7 @@ enum GetStudioMemberOutputError { enum ListEulaAcceptancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7165,7 +7165,7 @@ enum ListEulaAcceptancesOutputError { enum ListEulasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7185,7 +7185,7 @@ enum ListEulasOutputError { enum ListLaunchProfileMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7205,7 +7205,7 @@ enum ListLaunchProfileMembersOutputError { enum ListLaunchProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7225,7 +7225,7 @@ enum ListLaunchProfilesOutputError { enum ListStreamingImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7245,7 +7245,7 @@ enum ListStreamingImagesOutputError { enum ListStreamingSessionBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7264,7 +7264,7 @@ enum ListStreamingSessionBackupsOutputError { enum ListStreamingSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7284,7 +7284,7 @@ enum ListStreamingSessionsOutputError { enum ListStudioComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7304,7 +7304,7 @@ enum ListStudioComponentsOutputError { enum ListStudioMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7324,7 +7324,7 @@ enum ListStudioMembersOutputError { enum ListStudiosOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7344,7 +7344,7 @@ enum ListStudiosOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7364,7 +7364,7 @@ enum ListTagsForResourceOutputError { enum PutLaunchProfileMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7384,7 +7384,7 @@ enum PutLaunchProfileMembersOutputError { enum PutStudioMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7404,7 +7404,7 @@ enum PutStudioMembersOutputError { enum StartStreamingSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7424,7 +7424,7 @@ enum StartStreamingSessionOutputError { enum StartStudioSSOConfigurationRepairOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7444,7 +7444,7 @@ enum StartStudioSSOConfigurationRepairOutputError { enum StopStreamingSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7464,7 +7464,7 @@ enum StopStreamingSessionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7484,7 +7484,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7504,7 +7504,7 @@ enum UntagResourceOutputError { enum UpdateLaunchProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7524,7 +7524,7 @@ enum UpdateLaunchProfileOutputError { enum UpdateLaunchProfileMemberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7544,7 +7544,7 @@ enum UpdateLaunchProfileMemberOutputError { enum UpdateStreamingImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7564,7 +7564,7 @@ enum UpdateStreamingImageOutputError { enum UpdateStudioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7584,7 +7584,7 @@ enum UpdateStudioOutputError { enum UpdateStudioComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOAM/Sources/AWSOAM/Models.swift b/Sources/Services/AWSOAM/Sources/AWSOAM/Models.swift index 2189808950d..2a064960b0f 100644 --- a/Sources/Services/AWSOAM/Sources/AWSOAM/Models.swift +++ b/Sources/Services/AWSOAM/Sources/AWSOAM/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -65,7 +65,7 @@ public struct InternalServiceFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +121,7 @@ public struct MissingRequiredParameterException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -431,7 +431,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -800,7 +800,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -887,7 +887,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1255,7 +1255,7 @@ extension UpdateLinkInput { extension CreateLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1274,7 +1274,7 @@ extension CreateLinkOutput { extension CreateSinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1289,21 +1289,21 @@ extension CreateSinkOutput { extension DeleteLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLinkOutput { return DeleteLinkOutput() } } extension DeleteSinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSinkOutput { return DeleteSinkOutput() } } extension GetLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1322,7 +1322,7 @@ extension GetLinkOutput { extension GetSinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1337,7 +1337,7 @@ extension GetSinkOutput { extension GetSinkPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSinkPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSinkPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1351,7 +1351,7 @@ extension GetSinkPolicyOutput { extension ListAttachedLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttachedLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttachedLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1364,7 +1364,7 @@ extension ListAttachedLinksOutput { extension ListLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1377,7 +1377,7 @@ extension ListLinksOutput { extension ListSinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1390,7 +1390,7 @@ extension ListSinksOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1402,7 +1402,7 @@ extension ListTagsForResourceOutput { extension PutSinkPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSinkPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSinkPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1416,21 +1416,21 @@ extension PutSinkPolicyOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1449,7 +1449,7 @@ extension UpdateLinkOutput { enum CreateLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1467,7 +1467,7 @@ enum CreateLinkOutputError { enum CreateSinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1485,7 +1485,7 @@ enum CreateSinkOutputError { enum DeleteLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1502,7 +1502,7 @@ enum DeleteLinkOutputError { enum DeleteSinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1520,7 +1520,7 @@ enum DeleteSinkOutputError { enum GetLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1537,7 +1537,7 @@ enum GetLinkOutputError { enum GetSinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1554,7 +1554,7 @@ enum GetSinkOutputError { enum GetSinkPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1571,7 +1571,7 @@ enum GetSinkPolicyOutputError { enum ListAttachedLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1588,7 +1588,7 @@ enum ListAttachedLinksOutputError { enum ListLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1604,7 +1604,7 @@ enum ListLinksOutputError { enum ListSinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1620,7 +1620,7 @@ enum ListSinksOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1635,7 +1635,7 @@ enum ListTagsForResourceOutputError { enum PutSinkPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1652,7 +1652,7 @@ enum PutSinkPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1668,7 +1668,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1683,7 +1683,7 @@ enum UntagResourceOutputError { enum UpdateLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOSIS/Sources/AWSOSIS/Models.swift b/Sources/Services/AWSOSIS/Sources/AWSOSIS/Models.swift index 7444184c1ca..e50de85e2d5 100644 --- a/Sources/Services/AWSOSIS/Sources/AWSOSIS/Models.swift +++ b/Sources/Services/AWSOSIS/Sources/AWSOSIS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct DisabledOperationException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -155,7 +155,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -179,7 +179,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -678,7 +678,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -965,7 +965,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1569,7 +1569,7 @@ extension ValidatePipelineInput { extension CreatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1581,14 +1581,14 @@ extension CreatePipelineOutput { extension DeletePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipelineOutput { return DeletePipelineOutput() } } extension GetPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1600,7 +1600,7 @@ extension GetPipelineOutput { extension GetPipelineBlueprintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineBlueprintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineBlueprintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1613,7 +1613,7 @@ extension GetPipelineBlueprintOutput { extension GetPipelineChangeProgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPipelineChangeProgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPipelineChangeProgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1625,7 +1625,7 @@ extension GetPipelineChangeProgressOutput { extension ListPipelineBlueprintsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelineBlueprintsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelineBlueprintsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1637,7 +1637,7 @@ extension ListPipelineBlueprintsOutput { extension ListPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1650,7 +1650,7 @@ extension ListPipelinesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1662,7 +1662,7 @@ extension ListTagsForResourceOutput { extension StartPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1674,7 +1674,7 @@ extension StartPipelineOutput { extension StopPipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopPipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopPipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1686,21 +1686,21 @@ extension StopPipelineOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1712,7 +1712,7 @@ extension UpdatePipelineOutput { extension ValidatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1725,7 +1725,7 @@ extension ValidatePipelineOutput { enum CreatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1745,7 +1745,7 @@ enum CreatePipelineOutputError { enum DeletePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1764,7 +1764,7 @@ enum DeletePipelineOutputError { enum GetPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1782,7 +1782,7 @@ enum GetPipelineOutputError { enum GetPipelineBlueprintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1800,7 +1800,7 @@ enum GetPipelineBlueprintOutputError { enum GetPipelineChangeProgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1818,7 +1818,7 @@ enum GetPipelineChangeProgressOutputError { enum ListPipelineBlueprintsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1836,7 +1836,7 @@ enum ListPipelineBlueprintsOutputError { enum ListPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1854,7 +1854,7 @@ enum ListPipelinesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1872,7 +1872,7 @@ enum ListTagsForResourceOutputError { enum StartPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1891,7 +1891,7 @@ enum StartPipelineOutputError { enum StopPipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1910,7 +1910,7 @@ enum StopPipelineOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1929,7 +1929,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1947,7 +1947,7 @@ enum UntagResourceOutputError { enum UpdatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1966,7 +1966,7 @@ enum UpdatePipelineOutputError { enum ValidatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift index 1ddc7f9b45c..1876054f056 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -74,7 +74,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -124,7 +124,7 @@ public struct NotSupportedOperationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct RequestTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -199,7 +199,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -224,7 +224,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -249,7 +249,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -323,7 +323,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3624,7 +3624,7 @@ public struct RangeNotSatisfiableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9818,14 +9818,14 @@ extension UploadReadSetPartInput { extension AbortMultipartReadSetUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AbortMultipartReadSetUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AbortMultipartReadSetUploadOutput { return AbortMultipartReadSetUploadOutput() } } extension AcceptShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9837,7 +9837,7 @@ extension AcceptShareOutput { extension BatchDeleteReadSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteReadSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteReadSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9849,28 +9849,28 @@ extension BatchDeleteReadSetOutput { extension CancelAnnotationImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelAnnotationImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelAnnotationImportJobOutput { return CancelAnnotationImportJobOutput() } } extension CancelRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelRunOutput { return CancelRunOutput() } } extension CancelVariantImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelVariantImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelVariantImportJobOutput { return CancelVariantImportJobOutput() } } extension CompleteMultipartReadSetUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteMultipartReadSetUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteMultipartReadSetUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9882,7 +9882,7 @@ extension CompleteMultipartReadSetUploadOutput { extension CreateAnnotationStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnnotationStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnnotationStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9901,7 +9901,7 @@ extension CreateAnnotationStoreOutput { extension CreateAnnotationStoreVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnnotationStoreVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnnotationStoreVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9919,7 +9919,7 @@ extension CreateAnnotationStoreVersionOutput { extension CreateMultipartReadSetUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMultipartReadSetUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMultipartReadSetUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9941,7 +9941,7 @@ extension CreateMultipartReadSetUploadOutput { extension CreateReferenceStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReferenceStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReferenceStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9958,7 +9958,7 @@ extension CreateReferenceStoreOutput { extension CreateRunGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRunGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRunGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9972,7 +9972,7 @@ extension CreateRunGroupOutput { extension CreateSequenceStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSequenceStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSequenceStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9991,7 +9991,7 @@ extension CreateSequenceStoreOutput { extension CreateShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10005,7 +10005,7 @@ extension CreateShareOutput { extension CreateVariantStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVariantStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVariantStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10021,7 +10021,7 @@ extension CreateVariantStoreOutput { extension CreateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10036,7 +10036,7 @@ extension CreateWorkflowOutput { extension DeleteAnnotationStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnnotationStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnnotationStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10048,7 +10048,7 @@ extension DeleteAnnotationStoreOutput { extension DeleteAnnotationStoreVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnnotationStoreVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnnotationStoreVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10060,42 +10060,42 @@ extension DeleteAnnotationStoreVersionsOutput { extension DeleteReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReferenceOutput { return DeleteReferenceOutput() } } extension DeleteReferenceStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReferenceStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReferenceStoreOutput { return DeleteReferenceStoreOutput() } } extension DeleteRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRunOutput { return DeleteRunOutput() } } extension DeleteRunGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRunGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRunGroupOutput { return DeleteRunGroupOutput() } } extension DeleteSequenceStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSequenceStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSequenceStoreOutput { return DeleteSequenceStoreOutput() } } extension DeleteShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10107,7 +10107,7 @@ extension DeleteShareOutput { extension DeleteVariantStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVariantStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVariantStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10119,14 +10119,14 @@ extension DeleteVariantStoreOutput { extension DeleteWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowOutput { return DeleteWorkflowOutput() } } extension GetAnnotationImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnnotationImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnnotationImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10150,7 +10150,7 @@ extension GetAnnotationImportJobOutput { extension GetAnnotationStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnnotationStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnnotationStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10176,7 +10176,7 @@ extension GetAnnotationStoreOutput { extension GetAnnotationStoreVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnnotationStoreVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnnotationStoreVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10200,7 +10200,7 @@ extension GetAnnotationStoreVersionOutput { extension GetReadSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadSetOutput { var value = GetReadSetOutput() switch httpResponse.body { case .data(let data): @@ -10216,7 +10216,7 @@ extension GetReadSetOutput { extension GetReadSetActivationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadSetActivationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadSetActivationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10234,7 +10234,7 @@ extension GetReadSetActivationJobOutput { extension GetReadSetExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadSetExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadSetExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10253,7 +10253,7 @@ extension GetReadSetExportJobOutput { extension GetReadSetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadSetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadSetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10272,7 +10272,7 @@ extension GetReadSetImportJobOutput { extension GetReadSetMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadSetMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadSetMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10299,7 +10299,7 @@ extension GetReadSetMetadataOutput { extension GetReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReferenceOutput { var value = GetReferenceOutput() switch httpResponse.body { case .data(let data): @@ -10315,7 +10315,7 @@ extension GetReferenceOutput { extension GetReferenceImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReferenceImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReferenceImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10334,7 +10334,7 @@ extension GetReferenceImportJobOutput { extension GetReferenceMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReferenceMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReferenceMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10355,7 +10355,7 @@ extension GetReferenceMetadataOutput { extension GetReferenceStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReferenceStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReferenceStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10372,7 +10372,7 @@ extension GetReferenceStoreOutput { extension GetRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10414,7 +10414,7 @@ extension GetRunOutput { extension GetRunGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRunGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRunGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10434,7 +10434,7 @@ extension GetRunGroupOutput { extension GetRunTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRunTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRunTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10458,7 +10458,7 @@ extension GetRunTaskOutput { extension GetSequenceStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSequenceStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSequenceStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10478,7 +10478,7 @@ extension GetSequenceStoreOutput { extension GetShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10490,7 +10490,7 @@ extension GetShareOutput { extension GetVariantImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVariantImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVariantImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10512,7 +10512,7 @@ extension GetVariantImportJobOutput { extension GetVariantStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVariantStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVariantStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10535,7 +10535,7 @@ extension GetVariantStoreOutput { extension GetWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10563,7 +10563,7 @@ extension GetWorkflowOutput { extension ListAnnotationImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnnotationImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnnotationImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10576,7 +10576,7 @@ extension ListAnnotationImportJobsOutput { extension ListAnnotationStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnnotationStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnnotationStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10589,7 +10589,7 @@ extension ListAnnotationStoresOutput { extension ListAnnotationStoreVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnnotationStoreVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnnotationStoreVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10602,7 +10602,7 @@ extension ListAnnotationStoreVersionsOutput { extension ListMultipartReadSetUploadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMultipartReadSetUploadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultipartReadSetUploadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10615,7 +10615,7 @@ extension ListMultipartReadSetUploadsOutput { extension ListReadSetActivationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReadSetActivationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReadSetActivationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10628,7 +10628,7 @@ extension ListReadSetActivationJobsOutput { extension ListReadSetExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReadSetExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReadSetExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10641,7 +10641,7 @@ extension ListReadSetExportJobsOutput { extension ListReadSetImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReadSetImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReadSetImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10654,7 +10654,7 @@ extension ListReadSetImportJobsOutput { extension ListReadSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReadSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReadSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10667,7 +10667,7 @@ extension ListReadSetsOutput { extension ListReadSetUploadPartsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReadSetUploadPartsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReadSetUploadPartsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10680,7 +10680,7 @@ extension ListReadSetUploadPartsOutput { extension ListReferenceImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReferenceImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReferenceImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10693,7 +10693,7 @@ extension ListReferenceImportJobsOutput { extension ListReferencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReferencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReferencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10706,7 +10706,7 @@ extension ListReferencesOutput { extension ListReferenceStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReferenceStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReferenceStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10719,7 +10719,7 @@ extension ListReferenceStoresOutput { extension ListRunGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRunGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRunGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10732,7 +10732,7 @@ extension ListRunGroupsOutput { extension ListRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10745,7 +10745,7 @@ extension ListRunsOutput { extension ListRunTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRunTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRunTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10758,7 +10758,7 @@ extension ListRunTasksOutput { extension ListSequenceStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSequenceStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSequenceStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10771,7 +10771,7 @@ extension ListSequenceStoresOutput { extension ListSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10784,7 +10784,7 @@ extension ListSharesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10796,7 +10796,7 @@ extension ListTagsForResourceOutput { extension ListVariantImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVariantImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVariantImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10809,7 +10809,7 @@ extension ListVariantImportJobsOutput { extension ListVariantStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVariantStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVariantStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10822,7 +10822,7 @@ extension ListVariantStoresOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10835,7 +10835,7 @@ extension ListWorkflowsOutput { extension StartAnnotationImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAnnotationImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAnnotationImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10847,7 +10847,7 @@ extension StartAnnotationImportJobOutput { extension StartReadSetActivationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReadSetActivationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReadSetActivationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10862,7 +10862,7 @@ extension StartReadSetActivationJobOutput { extension StartReadSetExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReadSetExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReadSetExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10878,7 +10878,7 @@ extension StartReadSetExportJobOutput { extension StartReadSetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReadSetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReadSetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10894,7 +10894,7 @@ extension StartReadSetImportJobOutput { extension StartReferenceImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReferenceImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReferenceImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10910,7 +10910,7 @@ extension StartReferenceImportJobOutput { extension StartRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10927,7 +10927,7 @@ extension StartRunOutput { extension StartVariantImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartVariantImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartVariantImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10939,21 +10939,21 @@ extension StartVariantImportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAnnotationStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnnotationStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnnotationStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10973,7 +10973,7 @@ extension UpdateAnnotationStoreOutput { extension UpdateAnnotationStoreVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnnotationStoreVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnnotationStoreVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10992,14 +10992,14 @@ extension UpdateAnnotationStoreVersionOutput { extension UpdateRunGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRunGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRunGroupOutput { return UpdateRunGroupOutput() } } extension UpdateVariantStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVariantStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVariantStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11017,14 +11017,14 @@ extension UpdateVariantStoreOutput { extension UpdateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkflowOutput { return UpdateWorkflowOutput() } } extension UploadReadSetPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadReadSetPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadReadSetPartOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11036,7 +11036,7 @@ extension UploadReadSetPartOutput { enum AbortMultipartReadSetUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11057,7 +11057,7 @@ enum AbortMultipartReadSetUploadOutputError { enum AcceptShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11077,7 +11077,7 @@ enum AcceptShareOutputError { enum BatchDeleteReadSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11096,7 +11096,7 @@ enum BatchDeleteReadSetOutputError { enum CancelAnnotationImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11114,7 +11114,7 @@ enum CancelAnnotationImportJobOutputError { enum CancelRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11135,7 +11135,7 @@ enum CancelRunOutputError { enum CancelVariantImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11153,7 +11153,7 @@ enum CancelVariantImportJobOutputError { enum CompleteMultipartReadSetUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11174,7 +11174,7 @@ enum CompleteMultipartReadSetUploadOutputError { enum CreateAnnotationStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11194,7 +11194,7 @@ enum CreateAnnotationStoreOutputError { enum CreateAnnotationStoreVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11214,7 +11214,7 @@ enum CreateAnnotationStoreVersionOutputError { enum CreateMultipartReadSetUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11235,7 +11235,7 @@ enum CreateMultipartReadSetUploadOutputError { enum CreateReferenceStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11254,7 +11254,7 @@ enum CreateReferenceStoreOutputError { enum CreateRunGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11275,7 +11275,7 @@ enum CreateRunGroupOutputError { enum CreateSequenceStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11294,7 +11294,7 @@ enum CreateSequenceStoreOutputError { enum CreateShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11314,7 +11314,7 @@ enum CreateShareOutputError { enum CreateVariantStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11334,7 +11334,7 @@ enum CreateVariantStoreOutputError { enum CreateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11355,7 +11355,7 @@ enum CreateWorkflowOutputError { enum DeleteAnnotationStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11374,7 +11374,7 @@ enum DeleteAnnotationStoreOutputError { enum DeleteAnnotationStoreVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11393,7 +11393,7 @@ enum DeleteAnnotationStoreVersionsOutputError { enum DeleteReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11413,7 +11413,7 @@ enum DeleteReferenceOutputError { enum DeleteReferenceStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11433,7 +11433,7 @@ enum DeleteReferenceStoreOutputError { enum DeleteRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11454,7 +11454,7 @@ enum DeleteRunOutputError { enum DeleteRunGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11475,7 +11475,7 @@ enum DeleteRunGroupOutputError { enum DeleteSequenceStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11495,7 +11495,7 @@ enum DeleteSequenceStoreOutputError { enum DeleteShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11515,7 +11515,7 @@ enum DeleteShareOutputError { enum DeleteVariantStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11534,7 +11534,7 @@ enum DeleteVariantStoreOutputError { enum DeleteWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11555,7 +11555,7 @@ enum DeleteWorkflowOutputError { enum GetAnnotationImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11573,7 +11573,7 @@ enum GetAnnotationImportJobOutputError { enum GetAnnotationStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11591,7 +11591,7 @@ enum GetAnnotationStoreOutputError { enum GetAnnotationStoreVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11609,7 +11609,7 @@ enum GetAnnotationStoreVersionOutputError { enum GetReadSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11630,7 +11630,7 @@ enum GetReadSetOutputError { enum GetReadSetActivationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11649,7 +11649,7 @@ enum GetReadSetActivationJobOutputError { enum GetReadSetExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11668,7 +11668,7 @@ enum GetReadSetExportJobOutputError { enum GetReadSetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11687,7 +11687,7 @@ enum GetReadSetImportJobOutputError { enum GetReadSetMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11706,7 +11706,7 @@ enum GetReadSetMetadataOutputError { enum GetReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11726,7 +11726,7 @@ enum GetReferenceOutputError { enum GetReferenceImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11745,7 +11745,7 @@ enum GetReferenceImportJobOutputError { enum GetReferenceMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11764,7 +11764,7 @@ enum GetReferenceMetadataOutputError { enum GetReferenceStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11783,7 +11783,7 @@ enum GetReferenceStoreOutputError { enum GetRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11804,7 +11804,7 @@ enum GetRunOutputError { enum GetRunGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11825,7 +11825,7 @@ enum GetRunGroupOutputError { enum GetRunTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11846,7 +11846,7 @@ enum GetRunTaskOutputError { enum GetSequenceStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11865,7 +11865,7 @@ enum GetSequenceStoreOutputError { enum GetShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11885,7 +11885,7 @@ enum GetShareOutputError { enum GetVariantImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11903,7 +11903,7 @@ enum GetVariantImportJobOutputError { enum GetVariantStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11921,7 +11921,7 @@ enum GetVariantStoreOutputError { enum GetWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11942,7 +11942,7 @@ enum GetWorkflowOutputError { enum ListAnnotationImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11960,7 +11960,7 @@ enum ListAnnotationImportJobsOutputError { enum ListAnnotationStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11978,7 +11978,7 @@ enum ListAnnotationStoresOutputError { enum ListAnnotationStoreVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11996,7 +11996,7 @@ enum ListAnnotationStoreVersionsOutputError { enum ListMultipartReadSetUploadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12017,7 +12017,7 @@ enum ListMultipartReadSetUploadsOutputError { enum ListReadSetActivationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12036,7 +12036,7 @@ enum ListReadSetActivationJobsOutputError { enum ListReadSetExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12055,7 +12055,7 @@ enum ListReadSetExportJobsOutputError { enum ListReadSetImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12074,7 +12074,7 @@ enum ListReadSetImportJobsOutputError { enum ListReadSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12093,7 +12093,7 @@ enum ListReadSetsOutputError { enum ListReadSetUploadPartsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12114,7 +12114,7 @@ enum ListReadSetUploadPartsOutputError { enum ListReferenceImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12133,7 +12133,7 @@ enum ListReferenceImportJobsOutputError { enum ListReferencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12152,7 +12152,7 @@ enum ListReferencesOutputError { enum ListReferenceStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12170,7 +12170,7 @@ enum ListReferenceStoresOutputError { enum ListRunGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12191,7 +12191,7 @@ enum ListRunGroupsOutputError { enum ListRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12212,7 +12212,7 @@ enum ListRunsOutputError { enum ListRunTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12233,7 +12233,7 @@ enum ListRunTasksOutputError { enum ListSequenceStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12251,7 +12251,7 @@ enum ListSequenceStoresOutputError { enum ListSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12271,7 +12271,7 @@ enum ListSharesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12292,7 +12292,7 @@ enum ListTagsForResourceOutputError { enum ListVariantImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12310,7 +12310,7 @@ enum ListVariantImportJobsOutputError { enum ListVariantStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12328,7 +12328,7 @@ enum ListVariantStoresOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12349,7 +12349,7 @@ enum ListWorkflowsOutputError { enum StartAnnotationImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12368,7 +12368,7 @@ enum StartAnnotationImportJobOutputError { enum StartReadSetActivationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12388,7 +12388,7 @@ enum StartReadSetActivationJobOutputError { enum StartReadSetExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12408,7 +12408,7 @@ enum StartReadSetExportJobOutputError { enum StartReadSetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12428,7 +12428,7 @@ enum StartReadSetImportJobOutputError { enum StartReferenceImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12448,7 +12448,7 @@ enum StartReferenceImportJobOutputError { enum StartRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12469,7 +12469,7 @@ enum StartRunOutputError { enum StartVariantImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12488,7 +12488,7 @@ enum StartVariantImportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12509,7 +12509,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12530,7 +12530,7 @@ enum UntagResourceOutputError { enum UpdateAnnotationStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12548,7 +12548,7 @@ enum UpdateAnnotationStoreOutputError { enum UpdateAnnotationStoreVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12566,7 +12566,7 @@ enum UpdateAnnotationStoreVersionOutputError { enum UpdateRunGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12587,7 +12587,7 @@ enum UpdateRunGroupOutputError { enum UpdateVariantStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12605,7 +12605,7 @@ enum UpdateVariantStoreOutputError { enum UpdateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12626,7 +12626,7 @@ enum UpdateWorkflowOutputError { enum UploadReadSetPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/Models.swift b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/Models.swift index 84f2840e2c5..ff82bf25476 100644 --- a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/Models.swift +++ b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -46,7 +46,7 @@ public struct DisabledOperationException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -71,7 +71,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -338,7 +338,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -562,7 +562,7 @@ public struct BaseException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -587,7 +587,7 @@ public struct DependencyFailureException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -612,7 +612,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -637,7 +637,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1090,6 +1090,167 @@ extension OpenSearchClientTypes { } +extension OpenSearchClientTypes { + + public enum NaturalLanguageQueryGenerationDesiredState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [NaturalLanguageQueryGenerationDesiredState] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension OpenSearchClientTypes { + /// Container for parameters required to enable the natural language query generation feature. + public struct NaturalLanguageQueryGenerationOptionsInput { + /// The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED. + public var desiredState: OpenSearchClientTypes.NaturalLanguageQueryGenerationDesiredState? + + public init( + desiredState: OpenSearchClientTypes.NaturalLanguageQueryGenerationDesiredState? = nil + ) + { + self.desiredState = desiredState + } + } + +} + +extension OpenSearchClientTypes { + /// Container for parameters required to enable all machine learning features. + public struct AIMLOptionsInput { + /// Container for parameters required for natural language query generation on the specified domain. + public var naturalLanguageQueryGenerationOptions: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsInput? + + public init( + naturalLanguageQueryGenerationOptions: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsInput? = nil + ) + { + self.naturalLanguageQueryGenerationOptions = naturalLanguageQueryGenerationOptions + } + } + +} + +extension OpenSearchClientTypes { + + public enum NaturalLanguageQueryGenerationCurrentState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disablecomplete + case disablefailed + case disableinprogress + case enablecomplete + case enablefailed + case enableinprogress + case notenabled + case sdkUnknown(Swift.String) + + public static var allCases: [NaturalLanguageQueryGenerationCurrentState] { + return [ + .disablecomplete, + .disablefailed, + .disableinprogress, + .enablecomplete, + .enablefailed, + .enableinprogress, + .notenabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disablecomplete: return "DISABLE_COMPLETE" + case .disablefailed: return "DISABLE_FAILED" + case .disableinprogress: return "DISABLE_IN_PROGRESS" + case .enablecomplete: return "ENABLE_COMPLETE" + case .enablefailed: return "ENABLE_FAILED" + case .enableinprogress: return "ENABLE_IN_PROGRESS" + case .notenabled: return "NOT_ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension OpenSearchClientTypes { + /// Container for parameters representing the state of the natural language query generation feature on the specified domain. + public struct NaturalLanguageQueryGenerationOptionsOutput { + /// The current state of the natural language query generation feature, indicating completion, in progress, or failure. + public var currentState: OpenSearchClientTypes.NaturalLanguageQueryGenerationCurrentState? + /// The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED. + public var desiredState: OpenSearchClientTypes.NaturalLanguageQueryGenerationDesiredState? + + public init( + currentState: OpenSearchClientTypes.NaturalLanguageQueryGenerationCurrentState? = nil, + desiredState: OpenSearchClientTypes.NaturalLanguageQueryGenerationDesiredState? = nil + ) + { + self.currentState = currentState + self.desiredState = desiredState + } + } + +} + +extension OpenSearchClientTypes { + /// Container for parameters representing the state of machine learning features on the specified domain. + public struct AIMLOptionsOutput { + /// Container for parameters required for natural language query generation on the specified domain. + public var naturalLanguageQueryGenerationOptions: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsOutput? + + public init( + naturalLanguageQueryGenerationOptions: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsOutput? = nil + ) + { + self.naturalLanguageQueryGenerationOptions = naturalLanguageQueryGenerationOptions + } + } + +} + +extension OpenSearchClientTypes { + /// The status of machine learning options on the specified domain. + public struct AIMLOptionsStatus { + /// Machine learning options on the specified domain. + public var options: OpenSearchClientTypes.AIMLOptionsOutput? + /// Provides the current status of an entity. + public var status: OpenSearchClientTypes.OptionStatus? + + public init( + options: OpenSearchClientTypes.AIMLOptionsOutput? = nil, + status: OpenSearchClientTypes.OptionStatus? = nil + ) + { + self.options = options + self.status = status + } + } + +} + /// An error occurred because the client attempts to remove a resource that is currently in use. public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -1103,7 +1264,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1545,7 +1706,7 @@ public struct InvalidTypeException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1570,7 +1731,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2587,6 +2748,8 @@ public struct CreateDomainInput { public var advancedOptions: [Swift.String: Swift.String]? /// Options for fine-grained access control. public var advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptionsInput? + /// Options for all machine learning features for the specified domain. + public var aimlOptions: OpenSearchClientTypes.AIMLOptionsInput? /// Options for Auto-Tune. public var autoTuneOptions: OpenSearchClientTypes.AutoTuneOptionsInput? /// Container for the cluster configuration of a domain. @@ -2625,6 +2788,7 @@ public struct CreateDomainInput { accessPolicies: Swift.String? = nil, advancedOptions: [Swift.String: Swift.String]? = nil, advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptionsInput? = nil, + aimlOptions: OpenSearchClientTypes.AIMLOptionsInput? = nil, autoTuneOptions: OpenSearchClientTypes.AutoTuneOptionsInput? = nil, clusterConfig: OpenSearchClientTypes.ClusterConfig? = nil, cognitoOptions: OpenSearchClientTypes.CognitoOptions? = nil, @@ -2646,6 +2810,7 @@ public struct CreateDomainInput { self.accessPolicies = accessPolicies self.advancedOptions = advancedOptions self.advancedSecurityOptions = advancedSecurityOptions + self.aimlOptions = aimlOptions self.autoTuneOptions = autoTuneOptions self.clusterConfig = clusterConfig self.cognitoOptions = cognitoOptions @@ -2994,6 +3159,8 @@ extension OpenSearchClientTypes { public var advancedOptions: [Swift.String: Swift.String]? /// Settings for fine-grained access control. public var advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptions? + /// Container for parameters required to enable all machine learning features. + public var aimlOptions: OpenSearchClientTypes.AIMLOptionsOutput? /// The Amazon Resource Name (ARN) of the domain. For more information, see [IAM identifiers ](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) in the AWS Identity and Access Management User Guide. /// This member is required. public var arn: Swift.String? @@ -3065,6 +3232,7 @@ extension OpenSearchClientTypes { accessPolicies: Swift.String? = nil, advancedOptions: [Swift.String: Swift.String]? = nil, advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptions? = nil, + aimlOptions: OpenSearchClientTypes.AIMLOptionsOutput? = nil, arn: Swift.String? = nil, autoTuneOptions: OpenSearchClientTypes.AutoTuneOptionsOutput? = nil, changeProgressDetails: OpenSearchClientTypes.ChangeProgressDetails? = nil, @@ -3099,6 +3267,7 @@ extension OpenSearchClientTypes { self.accessPolicies = accessPolicies self.advancedOptions = advancedOptions self.advancedSecurityOptions = advancedSecurityOptions + self.aimlOptions = aimlOptions self.arn = arn self.autoTuneOptions = autoTuneOptions self.changeProgressDetails = changeProgressDetails @@ -4711,6 +4880,8 @@ extension OpenSearchClientTypes { public var advancedOptions: OpenSearchClientTypes.AdvancedOptionsStatus? /// Container for fine-grained access control settings for the domain. public var advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptionsStatus? + /// Container for parameters required to enable all machine learning features. + public var aimlOptions: OpenSearchClientTypes.AIMLOptionsStatus? /// Container for Auto-Tune settings for the domain. public var autoTuneOptions: OpenSearchClientTypes.AutoTuneOptionsStatus? /// Container for information about the progress of an existing configuration change. @@ -4748,6 +4919,7 @@ extension OpenSearchClientTypes { accessPolicies: OpenSearchClientTypes.AccessPoliciesStatus? = nil, advancedOptions: OpenSearchClientTypes.AdvancedOptionsStatus? = nil, advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptionsStatus? = nil, + aimlOptions: OpenSearchClientTypes.AIMLOptionsStatus? = nil, autoTuneOptions: OpenSearchClientTypes.AutoTuneOptionsStatus? = nil, changeProgressDetails: OpenSearchClientTypes.ChangeProgressDetails? = nil, clusterConfig: OpenSearchClientTypes.ClusterConfigStatus? = nil, @@ -4769,6 +4941,7 @@ extension OpenSearchClientTypes { self.accessPolicies = accessPolicies self.advancedOptions = advancedOptions self.advancedSecurityOptions = advancedSecurityOptions + self.aimlOptions = aimlOptions self.autoTuneOptions = autoTuneOptions self.changeProgressDetails = changeProgressDetails self.clusterConfig = clusterConfig @@ -5382,7 +5555,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7608,6 +7781,8 @@ public struct UpdateDomainConfigInput { public var advancedOptions: [Swift.String: Swift.String]? /// Options for fine-grained access control. public var advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptionsInput? + /// Options for all machine learning features for the specified domain. + public var aimlOptions: OpenSearchClientTypes.AIMLOptionsInput? /// Options for Auto-Tune. public var autoTuneOptions: OpenSearchClientTypes.AutoTuneOptions? /// Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 instances. @@ -7650,6 +7825,7 @@ public struct UpdateDomainConfigInput { accessPolicies: Swift.String? = nil, advancedOptions: [Swift.String: Swift.String]? = nil, advancedSecurityOptions: OpenSearchClientTypes.AdvancedSecurityOptionsInput? = nil, + aimlOptions: OpenSearchClientTypes.AIMLOptionsInput? = nil, autoTuneOptions: OpenSearchClientTypes.AutoTuneOptions? = nil, clusterConfig: OpenSearchClientTypes.ClusterConfig? = nil, cognitoOptions: OpenSearchClientTypes.CognitoOptions? = nil, @@ -7671,6 +7847,7 @@ public struct UpdateDomainConfigInput { self.accessPolicies = accessPolicies self.advancedOptions = advancedOptions self.advancedSecurityOptions = advancedSecurityOptions + self.aimlOptions = aimlOptions self.autoTuneOptions = autoTuneOptions self.clusterConfig = clusterConfig self.cognitoOptions = cognitoOptions @@ -7767,7 +7944,7 @@ public struct SlotNotAvailableException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8861,6 +9038,7 @@ extension CreateDomainInput { static func write(value: CreateDomainInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["AIMLOptions"].write(value.aimlOptions, with: OpenSearchClientTypes.AIMLOptionsInput.write(value:to:)) try writer["AccessPolicies"].write(value.accessPolicies) try writer["AdvancedOptions"].writeMap(value.advancedOptions, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["AdvancedSecurityOptions"].write(value.advancedSecurityOptions, with: OpenSearchClientTypes.AdvancedSecurityOptionsInput.write(value:to:)) @@ -9031,6 +9209,7 @@ extension UpdateDomainConfigInput { static func write(value: UpdateDomainConfigInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["AIMLOptions"].write(value.aimlOptions, with: OpenSearchClientTypes.AIMLOptionsInput.write(value:to:)) try writer["AccessPolicies"].write(value.accessPolicies) try writer["AdvancedOptions"].writeMap(value.advancedOptions, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["AdvancedSecurityOptions"].write(value.advancedSecurityOptions, with: OpenSearchClientTypes.AdvancedSecurityOptionsInput.write(value:to:)) @@ -9096,7 +9275,7 @@ extension UpgradeDomainInput { extension AcceptInboundConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInboundConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInboundConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9108,7 +9287,7 @@ extension AcceptInboundConnectionOutput { extension AddDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9120,14 +9299,14 @@ extension AddDataSourceOutput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { return AddTagsOutput() } } extension AssociatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9139,7 +9318,7 @@ extension AssociatePackageOutput { extension AuthorizeVpcEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeVpcEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeVpcEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9151,7 +9330,7 @@ extension AuthorizeVpcEndpointAccessOutput { extension CancelDomainConfigChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDomainConfigChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDomainConfigChangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9165,7 +9344,7 @@ extension CancelDomainConfigChangeOutput { extension CancelServiceSoftwareUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelServiceSoftwareUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelServiceSoftwareUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9177,7 +9356,7 @@ extension CancelServiceSoftwareUpdateOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9189,7 +9368,7 @@ extension CreateDomainOutput { extension CreateOutboundConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOutboundConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOutboundConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9207,7 +9386,7 @@ extension CreateOutboundConnectionOutput { extension CreatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9219,7 +9398,7 @@ extension CreatePackageOutput { extension CreateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9231,7 +9410,7 @@ extension CreateVpcEndpointOutput { extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9243,7 +9422,7 @@ extension DeleteDataSourceOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9255,7 +9434,7 @@ extension DeleteDomainOutput { extension DeleteInboundConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInboundConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInboundConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9267,7 +9446,7 @@ extension DeleteInboundConnectionOutput { extension DeleteOutboundConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOutboundConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOutboundConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9279,7 +9458,7 @@ extension DeleteOutboundConnectionOutput { extension DeletePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9291,7 +9470,7 @@ extension DeletePackageOutput { extension DeleteVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9303,7 +9482,7 @@ extension DeleteVpcEndpointOutput { extension DescribeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9315,7 +9494,7 @@ extension DescribeDomainOutput { extension DescribeDomainAutoTunesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainAutoTunesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainAutoTunesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9328,7 +9507,7 @@ extension DescribeDomainAutoTunesOutput { extension DescribeDomainChangeProgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainChangeProgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainChangeProgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9340,7 +9519,7 @@ extension DescribeDomainChangeProgressOutput { extension DescribeDomainConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9352,7 +9531,7 @@ extension DescribeDomainConfigOutput { extension DescribeDomainHealthOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainHealthOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainHealthOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9376,7 +9555,7 @@ extension DescribeDomainHealthOutput { extension DescribeDomainNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9388,7 +9567,7 @@ extension DescribeDomainNodesOutput { extension DescribeDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9400,7 +9579,7 @@ extension DescribeDomainsOutput { extension DescribeDryRunProgressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDryRunProgressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDryRunProgressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9414,7 +9593,7 @@ extension DescribeDryRunProgressOutput { extension DescribeInboundConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInboundConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInboundConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9427,7 +9606,7 @@ extension DescribeInboundConnectionsOutput { extension DescribeInstanceTypeLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceTypeLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceTypeLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9439,7 +9618,7 @@ extension DescribeInstanceTypeLimitsOutput { extension DescribeOutboundConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOutboundConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOutboundConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9452,7 +9631,7 @@ extension DescribeOutboundConnectionsOutput { extension DescribePackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9465,7 +9644,7 @@ extension DescribePackagesOutput { extension DescribeReservedInstanceOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedInstanceOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedInstanceOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9478,7 +9657,7 @@ extension DescribeReservedInstanceOfferingsOutput { extension DescribeReservedInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9491,7 +9670,7 @@ extension DescribeReservedInstancesOutput { extension DescribeVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9504,7 +9683,7 @@ extension DescribeVpcEndpointsOutput { extension DissociatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DissociatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DissociatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9516,7 +9695,7 @@ extension DissociatePackageOutput { extension GetCompatibleVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCompatibleVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCompatibleVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9528,7 +9707,7 @@ extension GetCompatibleVersionsOutput { extension GetDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9543,7 +9722,7 @@ extension GetDataSourceOutput { extension GetDomainMaintenanceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainMaintenanceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainMaintenanceStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9560,7 +9739,7 @@ extension GetDomainMaintenanceStatusOutput { extension GetPackageVersionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPackageVersionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPackageVersionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9574,7 +9753,7 @@ extension GetPackageVersionHistoryOutput { extension GetUpgradeHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUpgradeHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUpgradeHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9587,7 +9766,7 @@ extension GetUpgradeHistoryOutput { extension GetUpgradeStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUpgradeStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUpgradeStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9601,7 +9780,7 @@ extension GetUpgradeStatusOutput { extension ListDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9613,7 +9792,7 @@ extension ListDataSourcesOutput { extension ListDomainMaintenancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainMaintenancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainMaintenancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9626,7 +9805,7 @@ extension ListDomainMaintenancesOutput { extension ListDomainNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9638,7 +9817,7 @@ extension ListDomainNamesOutput { extension ListDomainsForPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsForPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsForPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9651,7 +9830,7 @@ extension ListDomainsForPackageOutput { extension ListInstanceTypeDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstanceTypeDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstanceTypeDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9664,7 +9843,7 @@ extension ListInstanceTypeDetailsOutput { extension ListPackagesForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagesForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagesForDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9677,7 +9856,7 @@ extension ListPackagesForDomainOutput { extension ListScheduledActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScheduledActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScheduledActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9690,7 +9869,7 @@ extension ListScheduledActionsOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9702,7 +9881,7 @@ extension ListTagsOutput { extension ListVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9715,7 +9894,7 @@ extension ListVersionsOutput { extension ListVpcEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9728,7 +9907,7 @@ extension ListVpcEndpointAccessOutput { extension ListVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9741,7 +9920,7 @@ extension ListVpcEndpointsOutput { extension ListVpcEndpointsForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointsForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointsForDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9754,7 +9933,7 @@ extension ListVpcEndpointsForDomainOutput { extension PurchaseReservedInstanceOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedInstanceOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedInstanceOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9767,7 +9946,7 @@ extension PurchaseReservedInstanceOfferingOutput { extension RejectInboundConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectInboundConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectInboundConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9779,21 +9958,21 @@ extension RejectInboundConnectionOutput { extension RemoveTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsOutput { return RemoveTagsOutput() } } extension RevokeVpcEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeVpcEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeVpcEndpointAccessOutput { return RevokeVpcEndpointAccessOutput() } } extension StartDomainMaintenanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDomainMaintenanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDomainMaintenanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9805,7 +9984,7 @@ extension StartDomainMaintenanceOutput { extension StartServiceSoftwareUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartServiceSoftwareUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartServiceSoftwareUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9817,7 +9996,7 @@ extension StartServiceSoftwareUpdateOutput { extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9829,7 +10008,7 @@ extension UpdateDataSourceOutput { extension UpdateDomainConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9843,7 +10022,7 @@ extension UpdateDomainConfigOutput { extension UpdatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9855,7 +10034,7 @@ extension UpdatePackageOutput { extension UpdateScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9867,7 +10046,7 @@ extension UpdateScheduledActionOutput { extension UpdateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9879,7 +10058,7 @@ extension UpdateVpcEndpointOutput { extension UpgradeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9896,7 +10075,7 @@ extension UpgradeDomainOutput { enum AcceptInboundConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9912,7 +10091,7 @@ enum AcceptInboundConnectionOutputError { enum AddDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9932,7 +10111,7 @@ enum AddDataSourceOutputError { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9949,7 +10128,7 @@ enum AddTagsOutputError { enum AssociatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9968,7 +10147,7 @@ enum AssociatePackageOutputError { enum AuthorizeVpcEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9987,7 +10166,7 @@ enum AuthorizeVpcEndpointAccessOutputError { enum CancelDomainConfigChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10005,7 +10184,7 @@ enum CancelDomainConfigChangeOutputError { enum CancelServiceSoftwareUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10022,7 +10201,7 @@ enum CancelServiceSoftwareUpdateOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10042,7 +10221,7 @@ enum CreateDomainOutputError { enum CreateOutboundConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10059,7 +10238,7 @@ enum CreateOutboundConnectionOutputError { enum CreatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10079,7 +10258,7 @@ enum CreatePackageOutputError { enum CreateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10098,7 +10277,7 @@ enum CreateVpcEndpointOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10117,7 +10296,7 @@ enum DeleteDataSourceOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10134,7 +10313,7 @@ enum DeleteDomainOutputError { enum DeleteInboundConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10149,7 +10328,7 @@ enum DeleteInboundConnectionOutputError { enum DeleteOutboundConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10164,7 +10343,7 @@ enum DeleteOutboundConnectionOutputError { enum DeletePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10183,7 +10362,7 @@ enum DeletePackageOutputError { enum DeleteVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10200,7 +10379,7 @@ enum DeleteVpcEndpointOutputError { enum DescribeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10217,7 +10396,7 @@ enum DescribeDomainOutputError { enum DescribeDomainAutoTunesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10234,7 +10413,7 @@ enum DescribeDomainAutoTunesOutputError { enum DescribeDomainChangeProgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10251,7 +10430,7 @@ enum DescribeDomainChangeProgressOutputError { enum DescribeDomainConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10268,7 +10447,7 @@ enum DescribeDomainConfigOutputError { enum DescribeDomainHealthOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10286,7 +10465,7 @@ enum DescribeDomainHealthOutputError { enum DescribeDomainNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10305,7 +10484,7 @@ enum DescribeDomainNodesOutputError { enum DescribeDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10321,7 +10500,7 @@ enum DescribeDomainsOutputError { enum DescribeDryRunProgressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10339,7 +10518,7 @@ enum DescribeDryRunProgressOutputError { enum DescribeInboundConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10354,7 +10533,7 @@ enum DescribeInboundConnectionsOutputError { enum DescribeInstanceTypeLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10373,7 +10552,7 @@ enum DescribeInstanceTypeLimitsOutputError { enum DescribeOutboundConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10388,7 +10567,7 @@ enum DescribeOutboundConnectionsOutputError { enum DescribePackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10406,7 +10585,7 @@ enum DescribePackagesOutputError { enum DescribeReservedInstanceOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10423,7 +10602,7 @@ enum DescribeReservedInstanceOfferingsOutputError { enum DescribeReservedInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10440,7 +10619,7 @@ enum DescribeReservedInstancesOutputError { enum DescribeVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10457,7 +10636,7 @@ enum DescribeVpcEndpointsOutputError { enum DissociatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10476,7 +10655,7 @@ enum DissociatePackageOutputError { enum GetCompatibleVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10494,7 +10673,7 @@ enum GetCompatibleVersionsOutputError { enum GetDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10513,7 +10692,7 @@ enum GetDataSourceOutputError { enum GetDomainMaintenanceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10531,7 +10710,7 @@ enum GetDomainMaintenanceStatusOutputError { enum GetPackageVersionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10549,7 +10728,7 @@ enum GetPackageVersionHistoryOutputError { enum GetUpgradeHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10567,7 +10746,7 @@ enum GetUpgradeHistoryOutputError { enum GetUpgradeStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10585,7 +10764,7 @@ enum GetUpgradeStatusOutputError { enum ListDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10604,7 +10783,7 @@ enum ListDataSourcesOutputError { enum ListDomainMaintenancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10622,7 +10801,7 @@ enum ListDomainMaintenancesOutputError { enum ListDomainNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10637,7 +10816,7 @@ enum ListDomainNamesOutputError { enum ListDomainsForPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10655,7 +10834,7 @@ enum ListDomainsForPackageOutputError { enum ListInstanceTypeDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10672,7 +10851,7 @@ enum ListInstanceTypeDetailsOutputError { enum ListPackagesForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10690,7 +10869,7 @@ enum ListPackagesForDomainOutputError { enum ListScheduledActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10708,7 +10887,7 @@ enum ListScheduledActionsOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10725,7 +10904,7 @@ enum ListTagsOutputError { enum ListVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10742,7 +10921,7 @@ enum ListVersionsOutputError { enum ListVpcEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10759,7 +10938,7 @@ enum ListVpcEndpointAccessOutputError { enum ListVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10775,7 +10954,7 @@ enum ListVpcEndpointsOutputError { enum ListVpcEndpointsForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10792,7 +10971,7 @@ enum ListVpcEndpointsForDomainOutputError { enum PurchaseReservedInstanceOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10811,7 +10990,7 @@ enum PurchaseReservedInstanceOfferingOutputError { enum RejectInboundConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10826,7 +11005,7 @@ enum RejectInboundConnectionOutputError { enum RemoveTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10842,7 +11021,7 @@ enum RemoveTagsOutputError { enum RevokeVpcEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10860,7 +11039,7 @@ enum RevokeVpcEndpointAccessOutputError { enum StartDomainMaintenanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10878,7 +11057,7 @@ enum StartDomainMaintenanceOutputError { enum StartServiceSoftwareUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10895,7 +11074,7 @@ enum StartServiceSoftwareUpdateOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10914,7 +11093,7 @@ enum UpdateDataSourceOutputError { enum UpdateDomainConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10933,7 +11112,7 @@ enum UpdateDomainConfigOutputError { enum UpdatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10952,7 +11131,7 @@ enum UpdatePackageOutputError { enum UpdateScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10972,7 +11151,7 @@ enum UpdateScheduledActionOutputError { enum UpdateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10991,7 +11170,7 @@ enum UpdateVpcEndpointOutputError { enum UpgradeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11343,6 +11522,28 @@ extension OpenSearchClientTypes.DomainStatus { value.softwareUpdateOptions = try reader["SoftwareUpdateOptions"].readIfPresent(with: OpenSearchClientTypes.SoftwareUpdateOptions.read(from:)) value.domainProcessingStatus = try reader["DomainProcessingStatus"].readIfPresent() value.modifyingProperties = try reader["ModifyingProperties"].readListIfPresent(memberReadingClosure: OpenSearchClientTypes.ModifyingProperties.read(from:), memberNodeInfo: "member", isFlattened: false) + value.aimlOptions = try reader["AIMLOptions"].readIfPresent(with: OpenSearchClientTypes.AIMLOptionsOutput.read(from:)) + return value + } +} + +extension OpenSearchClientTypes.AIMLOptionsOutput { + + static func read(from reader: SmithyJSON.Reader) throws -> OpenSearchClientTypes.AIMLOptionsOutput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = OpenSearchClientTypes.AIMLOptionsOutput() + value.naturalLanguageQueryGenerationOptions = try reader["NaturalLanguageQueryGenerationOptions"].readIfPresent(with: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsOutput.read(from:)) + return value + } +} + +extension OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsOutput { + + static func read(from reader: SmithyJSON.Reader) throws -> OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsOutput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsOutput() + value.desiredState = try reader["DesiredState"].readIfPresent() + value.currentState = try reader["CurrentState"].readIfPresent() return value } } @@ -11932,16 +12133,17 @@ extension OpenSearchClientTypes.DomainConfig { value.offPeakWindowOptions = try reader["OffPeakWindowOptions"].readIfPresent(with: OpenSearchClientTypes.OffPeakWindowOptionsStatus.read(from:)) value.softwareUpdateOptions = try reader["SoftwareUpdateOptions"].readIfPresent(with: OpenSearchClientTypes.SoftwareUpdateOptionsStatus.read(from:)) value.modifyingProperties = try reader["ModifyingProperties"].readListIfPresent(memberReadingClosure: OpenSearchClientTypes.ModifyingProperties.read(from:), memberNodeInfo: "member", isFlattened: false) + value.aimlOptions = try reader["AIMLOptions"].readIfPresent(with: OpenSearchClientTypes.AIMLOptionsStatus.read(from:)) return value } } -extension OpenSearchClientTypes.SoftwareUpdateOptionsStatus { +extension OpenSearchClientTypes.AIMLOptionsStatus { - static func read(from reader: SmithyJSON.Reader) throws -> OpenSearchClientTypes.SoftwareUpdateOptionsStatus { + static func read(from reader: SmithyJSON.Reader) throws -> OpenSearchClientTypes.AIMLOptionsStatus { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = OpenSearchClientTypes.SoftwareUpdateOptionsStatus() - value.options = try reader["Options"].readIfPresent(with: OpenSearchClientTypes.SoftwareUpdateOptions.read(from:)) + var value = OpenSearchClientTypes.AIMLOptionsStatus() + value.options = try reader["Options"].readIfPresent(with: OpenSearchClientTypes.AIMLOptionsOutput.read(from:)) value.status = try reader["Status"].readIfPresent(with: OpenSearchClientTypes.OptionStatus.read(from:)) return value } @@ -11961,6 +12163,17 @@ extension OpenSearchClientTypes.OptionStatus { } } +extension OpenSearchClientTypes.SoftwareUpdateOptionsStatus { + + static func read(from reader: SmithyJSON.Reader) throws -> OpenSearchClientTypes.SoftwareUpdateOptionsStatus { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = OpenSearchClientTypes.SoftwareUpdateOptionsStatus() + value.options = try reader["Options"].readIfPresent(with: OpenSearchClientTypes.SoftwareUpdateOptions.read(from:)) + value.status = try reader["Status"].readIfPresent(with: OpenSearchClientTypes.OptionStatus.read(from:)) + return value + } +} + extension OpenSearchClientTypes.OffPeakWindowOptionsStatus { static func read(from reader: SmithyJSON.Reader) throws -> OpenSearchClientTypes.OffPeakWindowOptionsStatus { @@ -12666,6 +12879,22 @@ extension OpenSearchClientTypes.AutoTuneOptionsInput { } } +extension OpenSearchClientTypes.AIMLOptionsInput { + + static func write(value: OpenSearchClientTypes.AIMLOptionsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["NaturalLanguageQueryGenerationOptions"].write(value.naturalLanguageQueryGenerationOptions, with: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsInput.write(value:to:)) + } +} + +extension OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsInput { + + static func write(value: OpenSearchClientTypes.NaturalLanguageQueryGenerationOptionsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DesiredState"].write(value.desiredState) + } +} + extension OpenSearchClientTypes.PackageSource { static func write(value: OpenSearchClientTypes.PackageSource?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/Models.swift b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/Models.swift index 098373b36c3..7130888f731 100644 --- a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/Models.swift +++ b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -60,7 +60,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -119,7 +119,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -258,7 +258,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1162,7 +1162,7 @@ public struct OcuLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3407,7 +3407,7 @@ extension UpdateVpcEndpointInput { extension BatchGetCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3420,7 +3420,7 @@ extension BatchGetCollectionOutput { extension BatchGetEffectiveLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetEffectiveLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetEffectiveLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3433,7 +3433,7 @@ extension BatchGetEffectiveLifecyclePolicyOutput { extension BatchGetLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3446,7 +3446,7 @@ extension BatchGetLifecyclePolicyOutput { extension BatchGetVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3459,7 +3459,7 @@ extension BatchGetVpcEndpointOutput { extension CreateAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3471,7 +3471,7 @@ extension CreateAccessPolicyOutput { extension CreateCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3483,7 +3483,7 @@ extension CreateCollectionOutput { extension CreateLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3495,7 +3495,7 @@ extension CreateLifecyclePolicyOutput { extension CreateSecurityConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3507,7 +3507,7 @@ extension CreateSecurityConfigOutput { extension CreateSecurityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecurityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecurityPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3519,7 +3519,7 @@ extension CreateSecurityPolicyOutput { extension CreateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3531,14 +3531,14 @@ extension CreateVpcEndpointOutput { extension DeleteAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPolicyOutput { return DeleteAccessPolicyOutput() } } extension DeleteCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3550,28 +3550,28 @@ extension DeleteCollectionOutput { extension DeleteLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLifecyclePolicyOutput { return DeleteLifecyclePolicyOutput() } } extension DeleteSecurityConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityConfigOutput { return DeleteSecurityConfigOutput() } } extension DeleteSecurityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecurityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecurityPolicyOutput { return DeleteSecurityPolicyOutput() } } extension DeleteVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3583,7 +3583,7 @@ extension DeleteVpcEndpointOutput { extension GetAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3595,7 +3595,7 @@ extension GetAccessPolicyOutput { extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3607,7 +3607,7 @@ extension GetAccountSettingsOutput { extension GetPoliciesStatsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPoliciesStatsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPoliciesStatsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3623,7 +3623,7 @@ extension GetPoliciesStatsOutput { extension GetSecurityConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecurityConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecurityConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3635,7 +3635,7 @@ extension GetSecurityConfigOutput { extension GetSecurityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecurityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecurityPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3647,7 +3647,7 @@ extension GetSecurityPolicyOutput { extension ListAccessPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3660,7 +3660,7 @@ extension ListAccessPoliciesOutput { extension ListCollectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3673,7 +3673,7 @@ extension ListCollectionsOutput { extension ListLifecyclePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLifecyclePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLifecyclePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3686,7 +3686,7 @@ extension ListLifecyclePoliciesOutput { extension ListSecurityConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3699,7 +3699,7 @@ extension ListSecurityConfigsOutput { extension ListSecurityPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3712,7 +3712,7 @@ extension ListSecurityPoliciesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3724,7 +3724,7 @@ extension ListTagsForResourceOutput { extension ListVpcEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVpcEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3737,21 +3737,21 @@ extension ListVpcEndpointsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3763,7 +3763,7 @@ extension UpdateAccessPolicyOutput { extension UpdateAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3775,7 +3775,7 @@ extension UpdateAccountSettingsOutput { extension UpdateCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3787,7 +3787,7 @@ extension UpdateCollectionOutput { extension UpdateLifecyclePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLifecyclePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLifecyclePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3799,7 +3799,7 @@ extension UpdateLifecyclePolicyOutput { extension UpdateSecurityConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3811,7 +3811,7 @@ extension UpdateSecurityConfigOutput { extension UpdateSecurityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3823,7 +3823,7 @@ extension UpdateSecurityPolicyOutput { extension UpdateVpcEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVpcEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3835,7 +3835,7 @@ extension UpdateVpcEndpointOutput { enum BatchGetCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3850,7 +3850,7 @@ enum BatchGetCollectionOutputError { enum BatchGetEffectiveLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3865,7 +3865,7 @@ enum BatchGetEffectiveLifecyclePolicyOutputError { enum BatchGetLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3880,7 +3880,7 @@ enum BatchGetLifecyclePolicyOutputError { enum BatchGetVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3895,7 +3895,7 @@ enum BatchGetVpcEndpointOutputError { enum CreateAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3912,7 +3912,7 @@ enum CreateAccessPolicyOutputError { enum CreateCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3930,7 +3930,7 @@ enum CreateCollectionOutputError { enum CreateLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3947,7 +3947,7 @@ enum CreateLifecyclePolicyOutputError { enum CreateSecurityConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3964,7 +3964,7 @@ enum CreateSecurityConfigOutputError { enum CreateSecurityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3981,7 +3981,7 @@ enum CreateSecurityPolicyOutputError { enum CreateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3998,7 +3998,7 @@ enum CreateVpcEndpointOutputError { enum DeleteAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4015,7 +4015,7 @@ enum DeleteAccessPolicyOutputError { enum DeleteCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4032,7 +4032,7 @@ enum DeleteCollectionOutputError { enum DeleteLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4049,7 +4049,7 @@ enum DeleteLifecyclePolicyOutputError { enum DeleteSecurityConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4066,7 +4066,7 @@ enum DeleteSecurityConfigOutputError { enum DeleteSecurityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4083,7 +4083,7 @@ enum DeleteSecurityPolicyOutputError { enum DeleteVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4100,7 +4100,7 @@ enum DeleteVpcEndpointOutputError { enum GetAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4116,7 +4116,7 @@ enum GetAccessPolicyOutputError { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4131,7 +4131,7 @@ enum GetAccountSettingsOutputError { enum GetPoliciesStatsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4145,7 +4145,7 @@ enum GetPoliciesStatsOutputError { enum GetSecurityConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4161,7 +4161,7 @@ enum GetSecurityConfigOutputError { enum GetSecurityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4177,7 +4177,7 @@ enum GetSecurityPolicyOutputError { enum ListAccessPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4192,7 +4192,7 @@ enum ListAccessPoliciesOutputError { enum ListCollectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4207,7 +4207,7 @@ enum ListCollectionsOutputError { enum ListLifecyclePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4222,7 +4222,7 @@ enum ListLifecyclePoliciesOutputError { enum ListSecurityConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4237,7 +4237,7 @@ enum ListSecurityConfigsOutputError { enum ListSecurityPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4252,7 +4252,7 @@ enum ListSecurityPoliciesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4268,7 +4268,7 @@ enum ListTagsForResourceOutputError { enum ListVpcEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4283,7 +4283,7 @@ enum ListVpcEndpointsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4301,7 +4301,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4318,7 +4318,7 @@ enum UntagResourceOutputError { enum UpdateAccessPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4335,7 +4335,7 @@ enum UpdateAccessPolicyOutputError { enum UpdateAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4350,7 +4350,7 @@ enum UpdateAccountSettingsOutputError { enum UpdateCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4366,7 +4366,7 @@ enum UpdateCollectionOutputError { enum UpdateLifecyclePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4384,7 +4384,7 @@ enum UpdateLifecyclePolicyOutputError { enum UpdateSecurityConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4401,7 +4401,7 @@ enum UpdateSecurityConfigOutputError { enum UpdateSecurityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4419,7 +4419,7 @@ enum UpdateSecurityPolicyOutputError { enum UpdateVpcEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/Models.swift b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/Models.swift index 3ca9d661828..eb704ba7974 100644 --- a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/Models.swift +++ b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -609,7 +609,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -634,7 +634,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6965,35 +6965,35 @@ extension UpdateVolumeInput { extension AssignInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssignInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssignInstanceOutput { return AssignInstanceOutput() } } extension AssignVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssignVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssignVolumeOutput { return AssignVolumeOutput() } } extension AssociateElasticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateElasticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateElasticIpOutput { return AssociateElasticIpOutput() } } extension AttachElasticLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachElasticLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachElasticLoadBalancerOutput { return AttachElasticLoadBalancerOutput() } } extension CloneStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CloneStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CloneStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7005,7 +7005,7 @@ extension CloneStackOutput { extension CreateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7017,7 +7017,7 @@ extension CreateAppOutput { extension CreateDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7029,7 +7029,7 @@ extension CreateDeploymentOutput { extension CreateInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7041,7 +7041,7 @@ extension CreateInstanceOutput { extension CreateLayerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLayerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLayerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7053,7 +7053,7 @@ extension CreateLayerOutput { extension CreateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7065,7 +7065,7 @@ extension CreateStackOutput { extension CreateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7077,77 +7077,77 @@ extension CreateUserProfileOutput { extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { return DeleteAppOutput() } } extension DeleteInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOutput { return DeleteInstanceOutput() } } extension DeleteLayerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLayerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLayerOutput { return DeleteLayerOutput() } } extension DeleteStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStackOutput { return DeleteStackOutput() } } extension DeleteUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserProfileOutput { return DeleteUserProfileOutput() } } extension DeregisterEcsClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterEcsClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterEcsClusterOutput { return DeregisterEcsClusterOutput() } } extension DeregisterElasticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterElasticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterElasticIpOutput { return DeregisterElasticIpOutput() } } extension DeregisterInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterInstanceOutput { return DeregisterInstanceOutput() } } extension DeregisterRdsDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterRdsDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterRdsDbInstanceOutput { return DeregisterRdsDbInstanceOutput() } } extension DeregisterVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterVolumeOutput { return DeregisterVolumeOutput() } } extension DescribeAgentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAgentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAgentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7159,7 +7159,7 @@ extension DescribeAgentVersionsOutput { extension DescribeAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7171,7 +7171,7 @@ extension DescribeAppsOutput { extension DescribeCommandsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCommandsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCommandsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7183,7 +7183,7 @@ extension DescribeCommandsOutput { extension DescribeDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7195,7 +7195,7 @@ extension DescribeDeploymentsOutput { extension DescribeEcsClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEcsClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEcsClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7208,7 +7208,7 @@ extension DescribeEcsClustersOutput { extension DescribeElasticIpsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticIpsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticIpsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7220,7 +7220,7 @@ extension DescribeElasticIpsOutput { extension DescribeElasticLoadBalancersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeElasticLoadBalancersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeElasticLoadBalancersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7232,7 +7232,7 @@ extension DescribeElasticLoadBalancersOutput { extension DescribeInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7244,7 +7244,7 @@ extension DescribeInstancesOutput { extension DescribeLayersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLayersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLayersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7256,7 +7256,7 @@ extension DescribeLayersOutput { extension DescribeLoadBasedAutoScalingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoadBasedAutoScalingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoadBasedAutoScalingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7268,7 +7268,7 @@ extension DescribeLoadBasedAutoScalingOutput { extension DescribeMyUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMyUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMyUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7280,7 +7280,7 @@ extension DescribeMyUserProfileOutput { extension DescribeOperatingSystemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOperatingSystemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOperatingSystemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7292,7 +7292,7 @@ extension DescribeOperatingSystemsOutput { extension DescribePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7304,7 +7304,7 @@ extension DescribePermissionsOutput { extension DescribeRaidArraysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRaidArraysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRaidArraysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7316,7 +7316,7 @@ extension DescribeRaidArraysOutput { extension DescribeRdsDbInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRdsDbInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRdsDbInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7328,7 +7328,7 @@ extension DescribeRdsDbInstancesOutput { extension DescribeServiceErrorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceErrorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceErrorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7340,7 +7340,7 @@ extension DescribeServiceErrorsOutput { extension DescribeStackProvisioningParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackProvisioningParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackProvisioningParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7353,7 +7353,7 @@ extension DescribeStackProvisioningParametersOutput { extension DescribeStacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7365,7 +7365,7 @@ extension DescribeStacksOutput { extension DescribeStackSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStackSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStackSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7377,7 +7377,7 @@ extension DescribeStackSummaryOutput { extension DescribeTimeBasedAutoScalingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTimeBasedAutoScalingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTimeBasedAutoScalingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7389,7 +7389,7 @@ extension DescribeTimeBasedAutoScalingOutput { extension DescribeUserProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7401,7 +7401,7 @@ extension DescribeUserProfilesOutput { extension DescribeVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7413,21 +7413,21 @@ extension DescribeVolumesOutput { extension DetachElasticLoadBalancerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachElasticLoadBalancerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachElasticLoadBalancerOutput { return DetachElasticLoadBalancerOutput() } } extension DisassociateElasticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateElasticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateElasticIpOutput { return DisassociateElasticIpOutput() } } extension GetHostnameSuggestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostnameSuggestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostnameSuggestionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7440,7 +7440,7 @@ extension GetHostnameSuggestionOutput { extension GrantAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GrantAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GrantAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7452,7 +7452,7 @@ extension GrantAccessOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7465,14 +7465,14 @@ extension ListTagsOutput { extension RebootInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootInstanceOutput { return RebootInstanceOutput() } } extension RegisterEcsClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterEcsClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterEcsClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7484,7 +7484,7 @@ extension RegisterEcsClusterOutput { extension RegisterElasticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterElasticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterElasticIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7496,7 +7496,7 @@ extension RegisterElasticIpOutput { extension RegisterInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7508,14 +7508,14 @@ extension RegisterInstanceOutput { extension RegisterRdsDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterRdsDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterRdsDbInstanceOutput { return RegisterRdsDbInstanceOutput() } } extension RegisterVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7527,147 +7527,147 @@ extension RegisterVolumeOutput { extension SetLoadBasedAutoScalingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLoadBasedAutoScalingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLoadBasedAutoScalingOutput { return SetLoadBasedAutoScalingOutput() } } extension SetPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetPermissionOutput { return SetPermissionOutput() } } extension SetTimeBasedAutoScalingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTimeBasedAutoScalingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTimeBasedAutoScalingOutput { return SetTimeBasedAutoScalingOutput() } } extension StartInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstanceOutput { return StartInstanceOutput() } } extension StartStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartStackOutput { return StartStackOutput() } } extension StopInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInstanceOutput { return StopInstanceOutput() } } extension StopStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopStackOutput { return StopStackOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnassignInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnassignInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnassignInstanceOutput { return UnassignInstanceOutput() } } extension UnassignVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnassignVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnassignVolumeOutput { return UnassignVolumeOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppOutput { return UpdateAppOutput() } } extension UpdateElasticIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateElasticIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateElasticIpOutput { return UpdateElasticIpOutput() } } extension UpdateInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceOutput { return UpdateInstanceOutput() } } extension UpdateLayerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLayerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLayerOutput { return UpdateLayerOutput() } } extension UpdateMyUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMyUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMyUserProfileOutput { return UpdateMyUserProfileOutput() } } extension UpdateRdsDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRdsDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRdsDbInstanceOutput { return UpdateRdsDbInstanceOutput() } } extension UpdateStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStackOutput { return UpdateStackOutput() } } extension UpdateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserProfileOutput { return UpdateUserProfileOutput() } } extension UpdateVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVolumeOutput { return UpdateVolumeOutput() } } enum AssignInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7682,7 +7682,7 @@ enum AssignInstanceOutputError { enum AssignVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7697,7 +7697,7 @@ enum AssignVolumeOutputError { enum AssociateElasticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7712,7 +7712,7 @@ enum AssociateElasticIpOutputError { enum AttachElasticLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7727,7 +7727,7 @@ enum AttachElasticLoadBalancerOutputError { enum CloneStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7742,7 +7742,7 @@ enum CloneStackOutputError { enum CreateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7757,7 +7757,7 @@ enum CreateAppOutputError { enum CreateDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7772,7 +7772,7 @@ enum CreateDeploymentOutputError { enum CreateInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7787,7 +7787,7 @@ enum CreateInstanceOutputError { enum CreateLayerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7802,7 +7802,7 @@ enum CreateLayerOutputError { enum CreateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7816,7 +7816,7 @@ enum CreateStackOutputError { enum CreateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7830,7 +7830,7 @@ enum CreateUserProfileOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7845,7 +7845,7 @@ enum DeleteAppOutputError { enum DeleteInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7860,7 +7860,7 @@ enum DeleteInstanceOutputError { enum DeleteLayerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7875,7 +7875,7 @@ enum DeleteLayerOutputError { enum DeleteStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7890,7 +7890,7 @@ enum DeleteStackOutputError { enum DeleteUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7905,7 +7905,7 @@ enum DeleteUserProfileOutputError { enum DeregisterEcsClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7920,7 +7920,7 @@ enum DeregisterEcsClusterOutputError { enum DeregisterElasticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7935,7 +7935,7 @@ enum DeregisterElasticIpOutputError { enum DeregisterInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7950,7 +7950,7 @@ enum DeregisterInstanceOutputError { enum DeregisterRdsDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7965,7 +7965,7 @@ enum DeregisterRdsDbInstanceOutputError { enum DeregisterVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7980,7 +7980,7 @@ enum DeregisterVolumeOutputError { enum DescribeAgentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7995,7 +7995,7 @@ enum DescribeAgentVersionsOutputError { enum DescribeAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8010,7 +8010,7 @@ enum DescribeAppsOutputError { enum DescribeCommandsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8025,7 +8025,7 @@ enum DescribeCommandsOutputError { enum DescribeDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8040,7 +8040,7 @@ enum DescribeDeploymentsOutputError { enum DescribeEcsClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8055,7 +8055,7 @@ enum DescribeEcsClustersOutputError { enum DescribeElasticIpsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8070,7 +8070,7 @@ enum DescribeElasticIpsOutputError { enum DescribeElasticLoadBalancersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8085,7 +8085,7 @@ enum DescribeElasticLoadBalancersOutputError { enum DescribeInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8100,7 +8100,7 @@ enum DescribeInstancesOutputError { enum DescribeLayersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8115,7 +8115,7 @@ enum DescribeLayersOutputError { enum DescribeLoadBasedAutoScalingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8130,7 +8130,7 @@ enum DescribeLoadBasedAutoScalingOutputError { enum DescribeMyUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8143,7 +8143,7 @@ enum DescribeMyUserProfileOutputError { enum DescribeOperatingSystemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8156,7 +8156,7 @@ enum DescribeOperatingSystemsOutputError { enum DescribePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8171,7 +8171,7 @@ enum DescribePermissionsOutputError { enum DescribeRaidArraysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8186,7 +8186,7 @@ enum DescribeRaidArraysOutputError { enum DescribeRdsDbInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8201,7 +8201,7 @@ enum DescribeRdsDbInstancesOutputError { enum DescribeServiceErrorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8216,7 +8216,7 @@ enum DescribeServiceErrorsOutputError { enum DescribeStackProvisioningParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8231,7 +8231,7 @@ enum DescribeStackProvisioningParametersOutputError { enum DescribeStacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8246,7 +8246,7 @@ enum DescribeStacksOutputError { enum DescribeStackSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8261,7 +8261,7 @@ enum DescribeStackSummaryOutputError { enum DescribeTimeBasedAutoScalingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8276,7 +8276,7 @@ enum DescribeTimeBasedAutoScalingOutputError { enum DescribeUserProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8291,7 +8291,7 @@ enum DescribeUserProfilesOutputError { enum DescribeVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8306,7 +8306,7 @@ enum DescribeVolumesOutputError { enum DetachElasticLoadBalancerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8320,7 +8320,7 @@ enum DetachElasticLoadBalancerOutputError { enum DisassociateElasticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8335,7 +8335,7 @@ enum DisassociateElasticIpOutputError { enum GetHostnameSuggestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8350,7 +8350,7 @@ enum GetHostnameSuggestionOutputError { enum GrantAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8365,7 +8365,7 @@ enum GrantAccessOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8380,7 +8380,7 @@ enum ListTagsOutputError { enum RebootInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8395,7 +8395,7 @@ enum RebootInstanceOutputError { enum RegisterEcsClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8410,7 +8410,7 @@ enum RegisterEcsClusterOutputError { enum RegisterElasticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8425,7 +8425,7 @@ enum RegisterElasticIpOutputError { enum RegisterInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8440,7 +8440,7 @@ enum RegisterInstanceOutputError { enum RegisterRdsDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8455,7 +8455,7 @@ enum RegisterRdsDbInstanceOutputError { enum RegisterVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8470,7 +8470,7 @@ enum RegisterVolumeOutputError { enum SetLoadBasedAutoScalingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8485,7 +8485,7 @@ enum SetLoadBasedAutoScalingOutputError { enum SetPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8500,7 +8500,7 @@ enum SetPermissionOutputError { enum SetTimeBasedAutoScalingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8515,7 +8515,7 @@ enum SetTimeBasedAutoScalingOutputError { enum StartInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8530,7 +8530,7 @@ enum StartInstanceOutputError { enum StartStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8545,7 +8545,7 @@ enum StartStackOutputError { enum StopInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8560,7 +8560,7 @@ enum StopInstanceOutputError { enum StopStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8575,7 +8575,7 @@ enum StopStackOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8590,7 +8590,7 @@ enum TagResourceOutputError { enum UnassignInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8605,7 +8605,7 @@ enum UnassignInstanceOutputError { enum UnassignVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8620,7 +8620,7 @@ enum UnassignVolumeOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8635,7 +8635,7 @@ enum UntagResourceOutputError { enum UpdateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8650,7 +8650,7 @@ enum UpdateAppOutputError { enum UpdateElasticIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8665,7 +8665,7 @@ enum UpdateElasticIpOutputError { enum UpdateInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8680,7 +8680,7 @@ enum UpdateInstanceOutputError { enum UpdateLayerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8695,7 +8695,7 @@ enum UpdateLayerOutputError { enum UpdateMyUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8709,7 +8709,7 @@ enum UpdateMyUserProfileOutputError { enum UpdateRdsDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8724,7 +8724,7 @@ enum UpdateRdsDbInstanceOutputError { enum UpdateStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8739,7 +8739,7 @@ enum UpdateStackOutputError { enum UpdateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8754,7 +8754,7 @@ enum UpdateUserProfileOutputError { enum UpdateVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/Models.swift b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/Models.swift index cf4ece1ab51..bf75e2270f3 100644 --- a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/Models.swift +++ b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -62,7 +62,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -380,7 +380,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -470,7 +470,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -912,7 +912,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1804,7 +1804,7 @@ extension UpdateServerEngineAttributesInput { extension AssociateNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1816,7 +1816,7 @@ extension AssociateNodeOutput { extension CreateBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1828,7 +1828,7 @@ extension CreateBackupOutput { extension CreateServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1840,21 +1840,21 @@ extension CreateServerOutput { extension DeleteBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBackupOutput { return DeleteBackupOutput() } } extension DeleteServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServerOutput { return DeleteServerOutput() } } extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1866,7 +1866,7 @@ extension DescribeAccountAttributesOutput { extension DescribeBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1879,7 +1879,7 @@ extension DescribeBackupsOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1892,7 +1892,7 @@ extension DescribeEventsOutput { extension DescribeNodeAssociationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNodeAssociationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNodeAssociationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1905,7 +1905,7 @@ extension DescribeNodeAssociationStatusOutput { extension DescribeServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1918,7 +1918,7 @@ extension DescribeServersOutput { extension DisassociateNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1930,7 +1930,7 @@ extension DisassociateNodeOutput { extension ExportServerEngineAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportServerEngineAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportServerEngineAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1943,7 +1943,7 @@ extension ExportServerEngineAttributeOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1956,7 +1956,7 @@ extension ListTagsForResourceOutput { extension RestoreServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1968,7 +1968,7 @@ extension RestoreServerOutput { extension StartMaintenanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMaintenanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMaintenanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1980,21 +1980,21 @@ extension StartMaintenanceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2006,7 +2006,7 @@ extension UpdateServerOutput { extension UpdateServerEngineAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServerEngineAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServerEngineAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2018,7 +2018,7 @@ extension UpdateServerEngineAttributesOutput { enum AssociateNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2034,7 +2034,7 @@ enum AssociateNodeOutputError { enum CreateBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2051,7 +2051,7 @@ enum CreateBackupOutputError { enum CreateServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2068,7 +2068,7 @@ enum CreateServerOutputError { enum DeleteBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2084,7 +2084,7 @@ enum DeleteBackupOutputError { enum DeleteServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2100,7 +2100,7 @@ enum DeleteServerOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2113,7 +2113,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2129,7 +2129,7 @@ enum DescribeBackupsOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2145,7 +2145,7 @@ enum DescribeEventsOutputError { enum DescribeNodeAssociationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2160,7 +2160,7 @@ enum DescribeNodeAssociationStatusOutputError { enum DescribeServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2176,7 +2176,7 @@ enum DescribeServersOutputError { enum DisassociateNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2192,7 +2192,7 @@ enum DisassociateNodeOutputError { enum ExportServerEngineAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2208,7 +2208,7 @@ enum ExportServerEngineAttributeOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2223,7 +2223,7 @@ enum ListTagsForResourceOutputError { enum RestoreServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2239,7 +2239,7 @@ enum RestoreServerOutputError { enum StartMaintenanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2255,7 +2255,7 @@ enum StartMaintenanceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2271,7 +2271,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2287,7 +2287,7 @@ enum UntagResourceOutputError { enum UpdateServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2303,7 +2303,7 @@ enum UpdateServerOutputError { enum UpdateServerEngineAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/Models.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/Models.swift index 726e5e88c91..1a56fc8d5c5 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/Models.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -138,7 +138,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -189,7 +189,7 @@ public struct AccessDeniedForDependencyException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -215,7 +215,7 @@ public struct AWSOrganizationsNotInUseException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -239,7 +239,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -263,7 +263,7 @@ public struct HandshakeAlreadyInStateException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -359,7 +359,7 @@ public struct HandshakeConstraintViolationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -385,7 +385,7 @@ public struct HandshakeNotFoundException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -409,7 +409,7 @@ public struct InvalidHandshakeTransitionException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -589,7 +589,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -615,7 +615,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -640,7 +640,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -967,7 +967,7 @@ public struct AccountAlreadyClosedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -991,7 +991,7 @@ public struct AccountAlreadyRegisteredException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1015,7 +1015,7 @@ public struct AccountNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1039,7 +1039,7 @@ public struct AccountNotRegisteredException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1063,7 +1063,7 @@ public struct AccountOwnerNotVerifiedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1087,7 +1087,7 @@ public struct AlreadyInOrganizationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1110,6 +1110,7 @@ extension OrganizationsClientTypes { case accountNumberLimitExceeded case cannotCloseManagementAccount case cannotRegisterMasterAsDelegatedAdministrator + case cannotRegisterSuspendedAccountAsDelegatedAdministrator case cannotRemoveDelegatedAdministratorFromOrg case closeAccountQuotaExceeded case closeAccountRequestsLimitExceeded @@ -1148,6 +1149,7 @@ extension OrganizationsClientTypes { .accountNumberLimitExceeded, .cannotCloseManagementAccount, .cannotRegisterMasterAsDelegatedAdministrator, + .cannotRegisterSuspendedAccountAsDelegatedAdministrator, .cannotRemoveDelegatedAdministratorFromOrg, .closeAccountQuotaExceeded, .closeAccountRequestsLimitExceeded, @@ -1192,6 +1194,7 @@ extension OrganizationsClientTypes { case .accountNumberLimitExceeded: return "ACCOUNT_NUMBER_LIMIT_EXCEEDED" case .cannotCloseManagementAccount: return "CANNOT_CLOSE_MANAGEMENT_ACCOUNT" case .cannotRegisterMasterAsDelegatedAdministrator: return "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR" + case .cannotRegisterSuspendedAccountAsDelegatedAdministrator: return "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR" case .cannotRemoveDelegatedAdministratorFromOrg: return "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG" case .closeAccountQuotaExceeded: return "CLOSE_ACCOUNT_QUOTA_EXCEEDED" case .closeAccountRequestsLimitExceeded: return "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED" @@ -1258,7 +1261,7 @@ extension OrganizationsClientTypes { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// -/// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. +/// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -1305,7 +1308,7 @@ public struct ConstraintViolationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1331,7 +1334,7 @@ public struct DuplicatePolicyAttachmentException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1355,7 +1358,7 @@ public struct PolicyChangesInProgressException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1379,7 +1382,7 @@ public struct PolicyNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1403,7 +1406,7 @@ public struct PolicyTypeNotEnabledException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1427,7 +1430,7 @@ public struct TargetNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1451,7 +1454,7 @@ public struct UnsupportedAPIEndpointException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1512,7 +1515,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1549,7 +1552,7 @@ public struct FinalizingOrganizationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2144,7 +2147,7 @@ public struct DuplicateOrganizationalUnitException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2168,7 +2171,7 @@ public struct ParentNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2254,7 +2257,7 @@ public struct DuplicatePolicyException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2278,7 +2281,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2302,7 +2305,7 @@ public struct PolicyTypeNotAvailableForOrganizationException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2447,7 +2450,7 @@ public struct OrganizationNotEmptyException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2471,7 +2474,7 @@ public struct OrganizationalUnitNotEmptyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2495,7 +2498,7 @@ public struct OrganizationalUnitNotFoundException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2532,7 +2535,7 @@ public struct PolicyInUseException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2569,7 +2572,7 @@ public struct ResourcePolicyNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2636,7 +2639,7 @@ public struct CreateAccountStatusNotFoundException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2685,7 +2688,7 @@ public struct EffectivePolicyNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2931,7 +2934,7 @@ public struct PolicyNotAttachedException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2992,7 +2995,7 @@ public struct RootNotFoundException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3100,7 +3103,7 @@ public struct PolicyTypeAlreadyEnabledException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3162,7 +3165,7 @@ public struct DuplicateHandshakeException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3212,7 +3215,7 @@ public struct MasterCannotLeaveOrganizationException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3735,7 +3738,7 @@ public struct ChildNotFoundException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4130,7 +4133,7 @@ public struct DestinationParentNotFoundException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4154,7 +4157,7 @@ public struct DuplicateAccountException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4178,7 +4181,7 @@ public struct SourceParentNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5495,7 +5498,7 @@ extension UpdatePolicyInput { extension AcceptHandshakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptHandshakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptHandshakeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5507,14 +5510,14 @@ extension AcceptHandshakeOutput { extension AttachPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachPolicyOutput { return AttachPolicyOutput() } } extension CancelHandshakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelHandshakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelHandshakeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5526,14 +5529,14 @@ extension CancelHandshakeOutput { extension CloseAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CloseAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CloseAccountOutput { return CloseAccountOutput() } } extension CreateAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5545,7 +5548,7 @@ extension CreateAccountOutput { extension CreateGovCloudAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGovCloudAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGovCloudAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5557,7 +5560,7 @@ extension CreateGovCloudAccountOutput { extension CreateOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5569,7 +5572,7 @@ extension CreateOrganizationOutput { extension CreateOrganizationalUnitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOrganizationalUnitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOrganizationalUnitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5581,7 +5584,7 @@ extension CreateOrganizationalUnitOutput { extension CreatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5593,7 +5596,7 @@ extension CreatePolicyOutput { extension DeclineHandshakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeclineHandshakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeclineHandshakeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5605,42 +5608,42 @@ extension DeclineHandshakeOutput { extension DeleteOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOrganizationOutput { return DeleteOrganizationOutput() } } extension DeleteOrganizationalUnitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOrganizationalUnitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOrganizationalUnitOutput { return DeleteOrganizationalUnitOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeregisterDelegatedAdministratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterDelegatedAdministratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterDelegatedAdministratorOutput { return DeregisterDelegatedAdministratorOutput() } } extension DescribeAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5652,7 +5655,7 @@ extension DescribeAccountOutput { extension DescribeCreateAccountStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCreateAccountStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCreateAccountStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5664,7 +5667,7 @@ extension DescribeCreateAccountStatusOutput { extension DescribeEffectivePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEffectivePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEffectivePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5676,7 +5679,7 @@ extension DescribeEffectivePolicyOutput { extension DescribeHandshakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHandshakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHandshakeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5688,7 +5691,7 @@ extension DescribeHandshakeOutput { extension DescribeOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5700,7 +5703,7 @@ extension DescribeOrganizationOutput { extension DescribeOrganizationalUnitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationalUnitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationalUnitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5712,7 +5715,7 @@ extension DescribeOrganizationalUnitOutput { extension DescribePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5724,7 +5727,7 @@ extension DescribePolicyOutput { extension DescribeResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5736,21 +5739,21 @@ extension DescribeResourcePolicyOutput { extension DetachPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachPolicyOutput { return DetachPolicyOutput() } } extension DisableAWSServiceAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAWSServiceAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAWSServiceAccessOutput { return DisableAWSServiceAccessOutput() } } extension DisablePolicyTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisablePolicyTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisablePolicyTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5762,7 +5765,7 @@ extension DisablePolicyTypeOutput { extension EnableAllFeaturesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAllFeaturesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAllFeaturesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5774,14 +5777,14 @@ extension EnableAllFeaturesOutput { extension EnableAWSServiceAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAWSServiceAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAWSServiceAccessOutput { return EnableAWSServiceAccessOutput() } } extension EnablePolicyTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnablePolicyTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnablePolicyTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5793,7 +5796,7 @@ extension EnablePolicyTypeOutput { extension InviteAccountToOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InviteAccountToOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InviteAccountToOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5805,14 +5808,14 @@ extension InviteAccountToOrganizationOutput { extension LeaveOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LeaveOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LeaveOrganizationOutput { return LeaveOrganizationOutput() } } extension ListAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5825,7 +5828,7 @@ extension ListAccountsOutput { extension ListAccountsForParentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountsForParentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountsForParentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5838,7 +5841,7 @@ extension ListAccountsForParentOutput { extension ListAWSServiceAccessForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAWSServiceAccessForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAWSServiceAccessForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5851,7 +5854,7 @@ extension ListAWSServiceAccessForOrganizationOutput { extension ListChildrenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChildrenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChildrenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5864,7 +5867,7 @@ extension ListChildrenOutput { extension ListCreateAccountStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCreateAccountStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCreateAccountStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5877,7 +5880,7 @@ extension ListCreateAccountStatusOutput { extension ListDelegatedAdministratorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDelegatedAdministratorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDelegatedAdministratorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5890,7 +5893,7 @@ extension ListDelegatedAdministratorsOutput { extension ListDelegatedServicesForAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDelegatedServicesForAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDelegatedServicesForAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5903,7 +5906,7 @@ extension ListDelegatedServicesForAccountOutput { extension ListHandshakesForAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHandshakesForAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHandshakesForAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5916,7 +5919,7 @@ extension ListHandshakesForAccountOutput { extension ListHandshakesForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHandshakesForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHandshakesForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5929,7 +5932,7 @@ extension ListHandshakesForOrganizationOutput { extension ListOrganizationalUnitsForParentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationalUnitsForParentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationalUnitsForParentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5942,7 +5945,7 @@ extension ListOrganizationalUnitsForParentOutput { extension ListParentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListParentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListParentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5955,7 +5958,7 @@ extension ListParentsOutput { extension ListPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5968,7 +5971,7 @@ extension ListPoliciesOutput { extension ListPoliciesForTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesForTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesForTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5981,7 +5984,7 @@ extension ListPoliciesForTargetOutput { extension ListRootsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRootsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRootsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5994,7 +5997,7 @@ extension ListRootsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6007,7 +6010,7 @@ extension ListTagsForResourceOutput { extension ListTargetsForPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsForPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsForPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6020,14 +6023,14 @@ extension ListTargetsForPolicyOutput { extension MoveAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MoveAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MoveAccountOutput { return MoveAccountOutput() } } extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6039,35 +6042,35 @@ extension PutResourcePolicyOutput { extension RegisterDelegatedAdministratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDelegatedAdministratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDelegatedAdministratorOutput { return RegisterDelegatedAdministratorOutput() } } extension RemoveAccountFromOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAccountFromOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAccountFromOrganizationOutput { return RemoveAccountFromOrganizationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateOrganizationalUnitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationalUnitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationalUnitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6079,7 +6082,7 @@ extension UpdateOrganizationalUnitOutput { extension UpdatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6091,7 +6094,7 @@ extension UpdatePolicyOutput { enum AcceptHandshakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6115,7 +6118,7 @@ enum AcceptHandshakeOutputError { enum AttachPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6141,7 +6144,7 @@ enum AttachPolicyOutputError { enum CancelHandshakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6162,7 +6165,7 @@ enum CancelHandshakeOutputError { enum CloseAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6186,7 +6189,7 @@ enum CloseAccountOutputError { enum CreateAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6208,7 +6211,7 @@ enum CreateAccountOutputError { enum CreateGovCloudAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6230,7 +6233,7 @@ enum CreateGovCloudAccountOutputError { enum CreateOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6251,7 +6254,7 @@ enum CreateOrganizationOutputError { enum CreateOrganizationalUnitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6273,7 +6276,7 @@ enum CreateOrganizationalUnitOutputError { enum CreatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6297,7 +6300,7 @@ enum CreatePolicyOutputError { enum DeclineHandshakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6318,7 +6321,7 @@ enum DeclineHandshakeOutputError { enum DeleteOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6338,7 +6341,7 @@ enum DeleteOrganizationOutputError { enum DeleteOrganizationalUnitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6359,7 +6362,7 @@ enum DeleteOrganizationalUnitOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6381,7 +6384,7 @@ enum DeletePolicyOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6402,7 +6405,7 @@ enum DeleteResourcePolicyOutputError { enum DeregisterDelegatedAdministratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6425,7 +6428,7 @@ enum DeregisterDelegatedAdministratorOutputError { enum DescribeAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6444,7 +6447,7 @@ enum DescribeAccountOutputError { enum DescribeCreateAccountStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6464,7 +6467,7 @@ enum DescribeCreateAccountStatusOutputError { enum DescribeEffectivePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6486,7 +6489,7 @@ enum DescribeEffectivePolicyOutputError { enum DescribeHandshakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6505,7 +6508,7 @@ enum DescribeHandshakeOutputError { enum DescribeOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6523,7 +6526,7 @@ enum DescribeOrganizationOutputError { enum DescribeOrganizationalUnitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6542,7 +6545,7 @@ enum DescribeOrganizationalUnitOutputError { enum DescribePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6562,7 +6565,7 @@ enum DescribePolicyOutputError { enum DescribeResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6582,7 +6585,7 @@ enum DescribeResourcePolicyOutputError { enum DetachPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6607,7 +6610,7 @@ enum DetachPolicyOutputError { enum DisableAWSServiceAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6628,7 +6631,7 @@ enum DisableAWSServiceAccessOutputError { enum DisablePolicyTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6652,7 +6655,7 @@ enum DisablePolicyTypeOutputError { enum EnableAllFeaturesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6672,7 +6675,7 @@ enum EnableAllFeaturesOutputError { enum EnableAWSServiceAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6693,7 +6696,7 @@ enum EnableAWSServiceAccessOutputError { enum EnablePolicyTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6718,7 +6721,7 @@ enum EnablePolicyTypeOutputError { enum InviteAccountToOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6745,7 @@ enum InviteAccountToOrganizationOutputError { enum LeaveOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6764,7 +6767,7 @@ enum LeaveOrganizationOutputError { enum ListAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6782,7 +6785,7 @@ enum ListAccountsOutputError { enum ListAccountsForParentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6801,7 +6804,7 @@ enum ListAccountsForParentOutputError { enum ListAWSServiceAccessForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6821,7 +6824,7 @@ enum ListAWSServiceAccessForOrganizationOutputError { enum ListChildrenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6840,7 +6843,7 @@ enum ListChildrenOutputError { enum ListCreateAccountStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6859,7 +6862,7 @@ enum ListCreateAccountStatusOutputError { enum ListDelegatedAdministratorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6879,7 +6882,7 @@ enum ListDelegatedAdministratorsOutputError { enum ListDelegatedServicesForAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6901,7 +6904,7 @@ enum ListDelegatedServicesForAccountOutputError { enum ListHandshakesForAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6919,7 +6922,7 @@ enum ListHandshakesForAccountOutputError { enum ListHandshakesForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6938,7 +6941,7 @@ enum ListHandshakesForOrganizationOutputError { enum ListOrganizationalUnitsForParentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6957,7 +6960,7 @@ enum ListOrganizationalUnitsForParentOutputError { enum ListParentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6976,7 +6979,7 @@ enum ListParentsOutputError { enum ListPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6995,7 +6998,7 @@ enum ListPoliciesOutputError { enum ListPoliciesForTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7015,7 +7018,7 @@ enum ListPoliciesForTargetOutputError { enum ListRootsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7033,7 +7036,7 @@ enum ListRootsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7052,7 +7055,7 @@ enum ListTagsForResourceOutputError { enum ListTargetsForPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7072,7 +7075,7 @@ enum ListTargetsForPolicyOutputError { enum MoveAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7095,7 +7098,7 @@ enum MoveAccountOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7116,7 +7119,7 @@ enum PutResourcePolicyOutputError { enum RegisterDelegatedAdministratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7139,7 +7142,7 @@ enum RegisterDelegatedAdministratorOutputError { enum RemoveAccountFromOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7161,7 +7164,7 @@ enum RemoveAccountFromOrganizationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7182,7 +7185,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7203,7 +7206,7 @@ enum UntagResourceOutputError { enum UpdateOrganizationalUnitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7224,7 +7227,7 @@ enum UpdateOrganizationalUnitOutputError { enum UpdatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift index ea8bd30ae80..c1104abff62 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift @@ -369,7 +369,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -666,7 +666,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -801,7 +801,7 @@ extension OrganizationsClient { /// /// The user who calls the API to create an account must have the organizations:CreateAccount permission. If you enabled all features in the organization, Organizations creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see [Organizations and service-linked roles](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs) in the Organizations User Guide. If the request includes tags, then the requester must have the organizations:TagResource permission. Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole by default) that grants users in the management account administrator permissions in the new member account. Principals in the management account can assume the role. Organizations clones the company name and address information for the new account from the organization's management account. This operation can be called only from the organization's management account. For more information about creating accounts, see [Creating a member account in your organization](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html) in the Organizations User Guide. /// - /// * When you create an account in an organization using the Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method and signing the end user license agreement (EULA) is not automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. For more information, see [Considerations before removing an account from an organization](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html) in the Organizations User Guide. + /// * When you create an account in an organization using the Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method is not automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. For more information, see [Considerations before removing an account from an organization](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html) in the Organizations User Guide. /// /// * If you get an exception that indicates that you exceeded your account limits for the organization, contact [Amazon Web Services Support](https://console.aws.amazon.com/support/home#/). /// @@ -856,7 +856,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -1065,7 +1065,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -1239,7 +1239,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -1410,7 +1410,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -1583,7 +1583,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -2174,7 +2174,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -2300,7 +2300,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -2676,7 +2676,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -3209,7 +3209,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -3333,7 +3333,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -3518,7 +3518,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -3690,7 +3690,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -3865,7 +3865,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -4158,7 +4158,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -4342,7 +4342,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -4558,7 +4558,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -4729,7 +4729,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -5307,7 +5307,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -5480,7 +5480,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -6687,7 +6687,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -6861,7 +6861,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -7040,7 +7040,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -7223,7 +7223,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -7406,7 +7406,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// @@ -7682,7 +7682,7 @@ extension OrganizationsClient { /// /// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see [Managing your Amazon Web Services payments](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). /// - /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace. + /// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace. /// /// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support. /// diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift index 6b622ebe0bb..a38a9c2d8fa 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -351,7 +351,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -379,7 +379,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -403,7 +403,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -427,7 +427,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -804,7 +804,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3656,21 +3656,21 @@ extension UpdateSiteRackPhysicalPropertiesInput { extension CancelCapacityTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelCapacityTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelCapacityTaskOutput { return CancelCapacityTaskOutput() } } extension CancelOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelOrderOutput { return CancelOrderOutput() } } extension CreateOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3682,7 +3682,7 @@ extension CreateOrderOutput { extension CreateOutpostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOutpostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOutpostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3694,7 +3694,7 @@ extension CreateOutpostOutput { extension CreateSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3706,21 +3706,21 @@ extension CreateSiteOutput { extension DeleteOutpostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOutpostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOutpostOutput { return DeleteOutpostOutput() } } extension DeleteSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSiteOutput { return DeleteSiteOutput() } } extension GetCapacityTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCapacityTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCapacityTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3741,7 +3741,7 @@ extension GetCapacityTaskOutput { extension GetCatalogItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCatalogItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCatalogItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3753,7 +3753,7 @@ extension GetCatalogItemOutput { extension GetConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3766,7 +3766,7 @@ extension GetConnectionOutput { extension GetOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3778,7 +3778,7 @@ extension GetOrderOutput { extension GetOutpostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOutpostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOutpostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3790,7 +3790,7 @@ extension GetOutpostOutput { extension GetOutpostInstanceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOutpostInstanceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOutpostInstanceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3805,7 +3805,7 @@ extension GetOutpostInstanceTypesOutput { extension GetOutpostSupportedInstanceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOutpostSupportedInstanceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOutpostSupportedInstanceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3818,7 +3818,7 @@ extension GetOutpostSupportedInstanceTypesOutput { extension GetSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3830,7 +3830,7 @@ extension GetSiteOutput { extension GetSiteAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSiteAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSiteAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3844,7 +3844,7 @@ extension GetSiteAddressOutput { extension ListAssetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3857,7 +3857,7 @@ extension ListAssetsOutput { extension ListCapacityTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCapacityTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCapacityTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3870,7 +3870,7 @@ extension ListCapacityTasksOutput { extension ListCatalogItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCatalogItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCatalogItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3883,7 +3883,7 @@ extension ListCatalogItemsOutput { extension ListOrdersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrdersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrdersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3896,7 +3896,7 @@ extension ListOrdersOutput { extension ListOutpostsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOutpostsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOutpostsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3909,7 +3909,7 @@ extension ListOutpostsOutput { extension ListSitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSitesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3922,7 +3922,7 @@ extension ListSitesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3934,7 +3934,7 @@ extension ListTagsForResourceOutput { extension StartCapacityTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCapacityTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCapacityTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3955,7 +3955,7 @@ extension StartCapacityTaskOutput { extension StartConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3968,21 +3968,21 @@ extension StartConnectionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateOutpostOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOutpostOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOutpostOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3994,7 +3994,7 @@ extension UpdateOutpostOutput { extension UpdateSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4006,7 +4006,7 @@ extension UpdateSiteOutput { extension UpdateSiteAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSiteAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSiteAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4019,7 +4019,7 @@ extension UpdateSiteAddressOutput { extension UpdateSiteRackPhysicalPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSiteRackPhysicalPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSiteRackPhysicalPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4031,7 +4031,7 @@ extension UpdateSiteRackPhysicalPropertiesOutput { enum CancelCapacityTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4049,7 +4049,7 @@ enum CancelCapacityTaskOutputError { enum CancelOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4067,7 +4067,7 @@ enum CancelOrderOutputError { enum CreateOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4086,7 +4086,7 @@ enum CreateOrderOutputError { enum CreateOutpostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4105,7 +4105,7 @@ enum CreateOutpostOutputError { enum CreateSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4123,7 +4123,7 @@ enum CreateSiteOutputError { enum DeleteOutpostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4141,7 +4141,7 @@ enum DeleteOutpostOutputError { enum DeleteSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4159,7 +4159,7 @@ enum DeleteSiteOutputError { enum GetCapacityTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4176,7 +4176,7 @@ enum GetCapacityTaskOutputError { enum GetCatalogItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4192,7 +4192,7 @@ enum GetCatalogItemOutputError { enum GetConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4209,7 +4209,7 @@ enum GetConnectionOutputError { enum GetOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4225,7 +4225,7 @@ enum GetOrderOutputError { enum GetOutpostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4242,7 +4242,7 @@ enum GetOutpostOutputError { enum GetOutpostInstanceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4259,7 +4259,7 @@ enum GetOutpostInstanceTypesOutputError { enum GetOutpostSupportedInstanceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4276,7 +4276,7 @@ enum GetOutpostSupportedInstanceTypesOutputError { enum GetSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4293,7 +4293,7 @@ enum GetSiteOutputError { enum GetSiteAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4310,7 +4310,7 @@ enum GetSiteAddressOutputError { enum ListAssetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4327,7 +4327,7 @@ enum ListAssetsOutputError { enum ListCapacityTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4344,7 +4344,7 @@ enum ListCapacityTasksOutputError { enum ListCatalogItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4360,7 +4360,7 @@ enum ListCatalogItemsOutputError { enum ListOrdersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4377,7 +4377,7 @@ enum ListOrdersOutputError { enum ListOutpostsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4393,7 +4393,7 @@ enum ListOutpostsOutputError { enum ListSitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4409,7 +4409,7 @@ enum ListSitesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4425,7 +4425,7 @@ enum ListTagsForResourceOutputError { enum StartCapacityTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4443,7 +4443,7 @@ enum StartCapacityTaskOutputError { enum StartConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4460,7 +4460,7 @@ enum StartConnectionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4476,7 +4476,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4492,7 +4492,7 @@ enum UntagResourceOutputError { enum UpdateOutpostOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4510,7 +4510,7 @@ enum UpdateOutpostOutputError { enum UpdateSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4528,7 +4528,7 @@ enum UpdateSiteOutputError { enum UpdateSiteAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4546,7 +4546,7 @@ enum UpdateSiteAddressOutputError { enum UpdateSiteRackPhysicalPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPI/Sources/AWSPI/Models.swift b/Sources/Services/AWSPI/Sources/AWSPI/Models.swift index 4b9842c9f39..ea0842faa4c 100644 --- a/Sources/Services/AWSPI/Sources/AWSPI/Models.swift +++ b/Sources/Services/AWSPI/Sources/AWSPI/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -341,7 +341,7 @@ public struct InternalServiceError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -365,7 +365,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -389,7 +389,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -664,6 +664,9 @@ public struct DescribeDimensionKeysInput { /// * Any number of filters by the same dimension, as specified in the GroupBy or Partition parameters. /// /// * A single filter for any other dimension in this dimension group. + /// + /// + /// The db.sql.db_id filter isn't available for RDS for SQL Server DB instances. public var filter: [Swift.String: Swift.String]? /// A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights returns all dimensions within this group, unless you provide the names of specific dimensions within this group. You can also request that Performance Insights return a limited number of values for a dimension. /// This member is required. @@ -1149,6 +1152,9 @@ extension PIClientTypes { /// * Any number of filters by the same dimension, as specified in the GroupBy parameter. /// /// * A single filter for any other dimension in this dimension group. + /// + /// + /// The db.sql.db_id filter isn't available for RDS for SQL Server DB instances. public var filter: [Swift.String: Swift.String]? /// A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension. public var groupBy: PIClientTypes.DimensionGroup? @@ -2010,7 +2016,7 @@ extension UntagResourceInput { extension CreatePerformanceAnalysisReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePerformanceAnalysisReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePerformanceAnalysisReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2022,14 +2028,14 @@ extension CreatePerformanceAnalysisReportOutput { extension DeletePerformanceAnalysisReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePerformanceAnalysisReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePerformanceAnalysisReportOutput { return DeletePerformanceAnalysisReportOutput() } } extension DescribeDimensionKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDimensionKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDimensionKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2045,7 +2051,7 @@ extension DescribeDimensionKeysOutput { extension GetDimensionKeyDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDimensionKeyDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDimensionKeyDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2057,7 +2063,7 @@ extension GetDimensionKeyDetailsOutput { extension GetPerformanceAnalysisReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPerformanceAnalysisReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPerformanceAnalysisReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2069,7 +2075,7 @@ extension GetPerformanceAnalysisReportOutput { extension GetResourceMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2082,7 +2088,7 @@ extension GetResourceMetadataOutput { extension GetResourceMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2098,7 +2104,7 @@ extension GetResourceMetricsOutput { extension ListAvailableResourceDimensionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableResourceDimensionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableResourceDimensionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2111,7 +2117,7 @@ extension ListAvailableResourceDimensionsOutput { extension ListAvailableResourceMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableResourceMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableResourceMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2124,7 +2130,7 @@ extension ListAvailableResourceMetricsOutput { extension ListPerformanceAnalysisReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPerformanceAnalysisReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPerformanceAnalysisReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2137,7 +2143,7 @@ extension ListPerformanceAnalysisReportsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2149,21 +2155,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreatePerformanceAnalysisReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2179,7 +2185,7 @@ enum CreatePerformanceAnalysisReportOutputError { enum DeletePerformanceAnalysisReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2195,7 +2201,7 @@ enum DeletePerformanceAnalysisReportOutputError { enum DescribeDimensionKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2211,7 +2217,7 @@ enum DescribeDimensionKeysOutputError { enum GetDimensionKeyDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2227,7 +2233,7 @@ enum GetDimensionKeyDetailsOutputError { enum GetPerformanceAnalysisReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2243,7 +2249,7 @@ enum GetPerformanceAnalysisReportOutputError { enum GetResourceMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2259,7 +2265,7 @@ enum GetResourceMetadataOutputError { enum GetResourceMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2275,7 +2281,7 @@ enum GetResourceMetricsOutputError { enum ListAvailableResourceDimensionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2291,7 +2297,7 @@ enum ListAvailableResourceDimensionsOutputError { enum ListAvailableResourceMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2307,7 +2313,7 @@ enum ListAvailableResourceMetricsOutputError { enum ListPerformanceAnalysisReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2323,7 +2329,7 @@ enum ListPerformanceAnalysisReportsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2339,7 +2345,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2355,7 +2361,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPanorama/Sources/AWSPanorama/Models.swift b/Sources/Services/AWSPanorama/Sources/AWSPanorama/Models.swift index 3b3bbd8b495..de1185a90a4 100644 --- a/Sources/Services/AWSPanorama/Sources/AWSPanorama/Models.swift +++ b/Sources/Services/AWSPanorama/Sources/AWSPanorama/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -377,7 +377,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -441,7 +441,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -478,7 +478,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -598,7 +598,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -712,7 +712,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -964,6 +964,11 @@ public struct CreateNodeFromTemplateJobInput { } } +extension CreateNodeFromTemplateJobInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateNodeFromTemplateJobInput(jobTags: \(Swift.String(describing: jobTags)), nodeDescription: \(Swift.String(describing: nodeDescription)), nodeName: \(Swift.String(describing: nodeName)), outputPackageName: \(Swift.String(describing: outputPackageName)), outputPackageVersion: \(Swift.String(describing: outputPackageVersion)), templateType: \(Swift.String(describing: templateType)), templateParameters: [keys: \(Swift.String(describing: templateParameters?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct CreateNodeFromTemplateJobOutput { /// The job's ID. /// This member is required. @@ -2417,6 +2422,11 @@ public struct DescribeNodeFromTemplateJobOutput { } } +extension DescribeNodeFromTemplateJobOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DescribeNodeFromTemplateJobOutput(createdTime: \(Swift.String(describing: createdTime)), jobId: \(Swift.String(describing: jobId)), jobTags: \(Swift.String(describing: jobTags)), lastUpdatedTime: \(Swift.String(describing: lastUpdatedTime)), nodeDescription: \(Swift.String(describing: nodeDescription)), nodeName: \(Swift.String(describing: nodeName)), outputPackageName: \(Swift.String(describing: outputPackageName)), outputPackageVersion: \(Swift.String(describing: outputPackageVersion)), status: \(Swift.String(describing: status)), statusMessage: \(Swift.String(describing: statusMessage)), templateType: \(Swift.String(describing: templateType)), templateParameters: [keys: \(Swift.String(describing: templateParameters?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct DescribePackageInput { /// The package's ID. /// This member is required. @@ -4553,7 +4563,7 @@ extension UpdateDeviceMetadataInput { extension CreateApplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4565,7 +4575,7 @@ extension CreateApplicationInstanceOutput { extension CreateJobForDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobForDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobForDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4577,7 +4587,7 @@ extension CreateJobForDevicesOutput { extension CreateNodeFromTemplateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNodeFromTemplateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNodeFromTemplateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4589,7 +4599,7 @@ extension CreateNodeFromTemplateJobOutput { extension CreatePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4603,7 +4613,7 @@ extension CreatePackageOutput { extension CreatePackageImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePackageImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePackageImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4615,7 +4625,7 @@ extension CreatePackageImportJobOutput { extension DeleteDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4627,21 +4637,21 @@ extension DeleteDeviceOutput { extension DeletePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePackageOutput { return DeletePackageOutput() } } extension DeregisterPackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterPackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterPackageVersionOutput { return DeregisterPackageVersionOutput() } } extension DescribeApplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4667,7 +4677,7 @@ extension DescribeApplicationInstanceOutput { extension DescribeApplicationInstanceDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationInstanceDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationInstanceDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4686,7 +4696,7 @@ extension DescribeApplicationInstanceDetailsOutput { extension DescribeDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4717,7 +4727,7 @@ extension DescribeDeviceOutput { extension DescribeDeviceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4737,7 +4747,7 @@ extension DescribeDeviceJobOutput { extension DescribeNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4762,7 +4772,7 @@ extension DescribeNodeOutput { extension DescribeNodeFromTemplateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNodeFromTemplateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNodeFromTemplateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4785,7 +4795,7 @@ extension DescribeNodeFromTemplateJobOutput { extension DescribePackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4804,7 +4814,7 @@ extension DescribePackageOutput { extension DescribePackageImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackageImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackageImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4826,7 +4836,7 @@ extension DescribePackageImportJobOutput { extension DescribePackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePackageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4847,7 +4857,7 @@ extension DescribePackageVersionOutput { extension ListApplicationInstanceDependenciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationInstanceDependenciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationInstanceDependenciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4860,7 +4870,7 @@ extension ListApplicationInstanceDependenciesOutput { extension ListApplicationInstanceNodeInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationInstanceNodeInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationInstanceNodeInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4873,7 +4883,7 @@ extension ListApplicationInstanceNodeInstancesOutput { extension ListApplicationInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4886,7 +4896,7 @@ extension ListApplicationInstancesOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4899,7 +4909,7 @@ extension ListDevicesOutput { extension ListDevicesJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4912,7 +4922,7 @@ extension ListDevicesJobsOutput { extension ListNodeFromTemplateJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNodeFromTemplateJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNodeFromTemplateJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4925,7 +4935,7 @@ extension ListNodeFromTemplateJobsOutput { extension ListNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4938,7 +4948,7 @@ extension ListNodesOutput { extension ListPackageImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackageImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackageImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4951,7 +4961,7 @@ extension ListPackageImportJobsOutput { extension ListPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4964,7 +4974,7 @@ extension ListPackagesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4976,7 +4986,7 @@ extension ListTagsForResourceOutput { extension ProvisionDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4992,21 +5002,21 @@ extension ProvisionDeviceOutput { extension RegisterPackageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterPackageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterPackageVersionOutput { return RegisterPackageVersionOutput() } } extension RemoveApplicationInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveApplicationInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveApplicationInstanceOutput { return RemoveApplicationInstanceOutput() } } extension SignalApplicationInstanceNodeInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignalApplicationInstanceNodeInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignalApplicationInstanceNodeInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5018,21 +5028,21 @@ extension SignalApplicationInstanceNodeInstancesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDeviceMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5044,7 +5054,7 @@ extension UpdateDeviceMetadataOutput { enum CreateApplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5061,7 +5071,7 @@ enum CreateApplicationInstanceOutputError { enum CreateJobForDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5079,7 +5089,7 @@ enum CreateJobForDevicesOutputError { enum CreateNodeFromTemplateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5096,7 +5106,7 @@ enum CreateNodeFromTemplateJobOutputError { enum CreatePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5113,7 +5123,7 @@ enum CreatePackageOutputError { enum CreatePackageImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5130,7 +5140,7 @@ enum CreatePackageImportJobOutputError { enum DeleteDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5148,7 +5158,7 @@ enum DeleteDeviceOutputError { enum DeletePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5166,7 +5176,7 @@ enum DeletePackageOutputError { enum DeregisterPackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5184,7 +5194,7 @@ enum DeregisterPackageVersionOutputError { enum DescribeApplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5202,7 +5212,7 @@ enum DescribeApplicationInstanceOutputError { enum DescribeApplicationInstanceDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5220,7 +5230,7 @@ enum DescribeApplicationInstanceDetailsOutputError { enum DescribeDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5237,7 +5247,7 @@ enum DescribeDeviceOutputError { enum DescribeDeviceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5255,7 +5265,7 @@ enum DescribeDeviceJobOutputError { enum DescribeNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5273,7 +5283,7 @@ enum DescribeNodeOutputError { enum DescribeNodeFromTemplateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5290,7 +5300,7 @@ enum DescribeNodeFromTemplateJobOutputError { enum DescribePackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5308,7 +5318,7 @@ enum DescribePackageOutputError { enum DescribePackageImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5325,7 +5335,7 @@ enum DescribePackageImportJobOutputError { enum DescribePackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5343,7 +5353,7 @@ enum DescribePackageVersionOutputError { enum ListApplicationInstanceDependenciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5358,7 +5368,7 @@ enum ListApplicationInstanceDependenciesOutputError { enum ListApplicationInstanceNodeInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5373,7 +5383,7 @@ enum ListApplicationInstanceNodeInstancesOutputError { enum ListApplicationInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5388,7 +5398,7 @@ enum ListApplicationInstancesOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5405,7 +5415,7 @@ enum ListDevicesOutputError { enum ListDevicesJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5423,7 +5433,7 @@ enum ListDevicesJobsOutputError { enum ListNodeFromTemplateJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5440,7 +5450,7 @@ enum ListNodeFromTemplateJobsOutputError { enum ListNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5456,7 +5466,7 @@ enum ListNodesOutputError { enum ListPackageImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5473,7 +5483,7 @@ enum ListPackageImportJobsOutputError { enum ListPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5491,7 +5501,7 @@ enum ListPackagesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5507,7 +5517,7 @@ enum ListTagsForResourceOutputError { enum ProvisionDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5525,7 +5535,7 @@ enum ProvisionDeviceOutputError { enum RegisterPackageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5542,7 +5552,7 @@ enum RegisterPackageVersionOutputError { enum RemoveApplicationInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5560,7 +5570,7 @@ enum RemoveApplicationInstanceOutputError { enum SignalApplicationInstanceNodeInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5577,7 +5587,7 @@ enum SignalApplicationInstanceNodeInstancesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5593,7 +5603,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5609,7 +5619,7 @@ enum UntagResourceOutputError { enum UpdateDeviceMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/Models.swift b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/Models.swift index b200f1b1a83..37b5eed4ff4 100644 --- a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/Models.swift +++ b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -101,7 +101,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1044,6 +1044,11 @@ extension PaymentCryptographyClientTypes { } +extension PaymentCryptographyClientTypes.KeyBlockHeaders: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "KeyBlockHeaders(keyExportability: \(Swift.String(describing: keyExportability)), keyModesOfUse: \(Swift.String(describing: keyModesOfUse)), keyVersion: \(Swift.String(describing: keyVersion)), optionalBlocks: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyClientTypes { /// Parameter information for key material export using symmetric TR-31 key exchange method. public struct ExportTr31KeyBlock { @@ -1553,6 +1558,11 @@ extension PaymentCryptographyClientTypes { } +extension PaymentCryptographyClientTypes.ImportTr31KeyBlock: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ImportTr31KeyBlock(wrappingKeyIdentifier: \(Swift.String(describing: wrappingKeyIdentifier)), wrappedKeyBlock: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyClientTypes { /// Parameter information for key material import using the asymmetric TR-34 key exchange method. public struct ImportTr34KeyBlock { @@ -2251,7 +2261,7 @@ extension UpdateAliasInput { extension CreateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2263,7 +2273,7 @@ extension CreateAliasOutput { extension CreateKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2275,14 +2285,14 @@ extension CreateKeyOutput { extension DeleteAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAliasOutput { return DeleteAliasOutput() } } extension DeleteKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2294,7 +2304,7 @@ extension DeleteKeyOutput { extension ExportKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2306,7 +2316,7 @@ extension ExportKeyOutput { extension GetAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2318,7 +2328,7 @@ extension GetAliasOutput { extension GetKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2330,7 +2340,7 @@ extension GetKeyOutput { extension GetParametersForExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParametersForExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParametersForExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2346,7 +2356,7 @@ extension GetParametersForExportOutput { extension GetParametersForImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParametersForImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParametersForImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2362,7 +2372,7 @@ extension GetParametersForImportOutput { extension GetPublicKeyCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPublicKeyCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicKeyCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2375,7 +2385,7 @@ extension GetPublicKeyCertificateOutput { extension ImportKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2387,7 +2397,7 @@ extension ImportKeyOutput { extension ListAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2400,7 +2410,7 @@ extension ListAliasesOutput { extension ListKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2413,7 +2423,7 @@ extension ListKeysOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2426,7 +2436,7 @@ extension ListTagsForResourceOutput { extension RestoreKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2438,7 +2448,7 @@ extension RestoreKeyOutput { extension StartKeyUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartKeyUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartKeyUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2450,7 +2460,7 @@ extension StartKeyUsageOutput { extension StopKeyUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopKeyUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopKeyUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2462,21 +2472,21 @@ extension StopKeyUsageOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2488,7 +2498,7 @@ extension UpdateAliasOutput { enum CreateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2509,7 +2519,7 @@ enum CreateAliasOutputError { enum CreateKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2530,7 +2540,7 @@ enum CreateKeyOutputError { enum DeleteAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2550,7 +2560,7 @@ enum DeleteAliasOutputError { enum DeleteKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2570,7 +2580,7 @@ enum DeleteKeyOutputError { enum ExportKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2590,7 +2600,7 @@ enum ExportKeyOutputError { enum GetAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2609,7 +2619,7 @@ enum GetAliasOutputError { enum GetKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2628,7 +2638,7 @@ enum GetKeyOutputError { enum GetParametersForExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2649,7 +2659,7 @@ enum GetParametersForExportOutputError { enum GetParametersForImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2670,7 +2680,7 @@ enum GetParametersForImportOutputError { enum GetPublicKeyCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2689,7 +2699,7 @@ enum GetPublicKeyCertificateOutputError { enum ImportKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2710,7 +2720,7 @@ enum ImportKeyOutputError { enum ListAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2729,7 +2739,7 @@ enum ListAliasesOutputError { enum ListKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2748,7 +2758,7 @@ enum ListKeysOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2767,7 +2777,7 @@ enum ListTagsForResourceOutputError { enum RestoreKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2788,7 +2798,7 @@ enum RestoreKeyOutputError { enum StartKeyUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2809,7 +2819,7 @@ enum StartKeyUsageOutputError { enum StopKeyUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2830,7 +2840,7 @@ enum StopKeyUsageOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2851,7 +2861,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2871,7 +2881,7 @@ enum UntagResourceOutputError { enum UpdateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/Models.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/Models.swift index a21c09b0421..3249b272b60 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/Models.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -30,7 +30,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,6 +59,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.AmexCardSecurityCodeVersion1: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AmexCardSecurityCodeVersion1(cardExpiryDate: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card. public struct AmexCardSecurityCodeVersion2 { @@ -81,6 +86,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.AmexCardSecurityCodeVersion2: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AmexCardSecurityCodeVersion2(cardExpiryDate: \"CONTENT_REDACTED\", serviceCode: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { public enum PaddingType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -181,6 +191,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.CardVerificationValue1: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CardVerificationValue1(cardExpiryDate: \"CONTENT_REDACTED\", serviceCode: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card. public struct CardVerificationValue2 { @@ -198,6 +213,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.CardVerificationValue2: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CardVerificationValue2(cardExpiryDate: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV). public struct DynamicCardVerificationCode { @@ -230,6 +250,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.DynamicCardVerificationCode: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DynamicCardVerificationCode(applicationTransactionCounter: \(Swift.String(describing: applicationTransactionCounter)), panSequenceNumber: \(Swift.String(describing: panSequenceNumber)), unpredictableNumber: \(Swift.String(describing: unpredictableNumber)), trackData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV). public struct DynamicCardVerificationValue { @@ -262,6 +287,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.DynamicCardVerificationValue: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DynamicCardVerificationValue(applicationTransactionCounter: \(Swift.String(describing: applicationTransactionCounter)), panSequenceNumber: \(Swift.String(describing: panSequenceNumber)), cardExpiryDate: \"CONTENT_REDACTED\", serviceCode: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Card data parameters that are required to generate Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC). public enum CardGenerationAttributes { @@ -311,6 +341,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.DiscoverDynamicCardVerificationCode: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DiscoverDynamicCardVerificationCode(applicationTransactionCounter: \(Swift.String(describing: applicationTransactionCounter)), unpredictableNumber: \(Swift.String(describing: unpredictableNumber)), cardExpiryDate: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Card data parameters that are requried to verify Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC). public enum CardVerificationAttributes { @@ -373,6 +408,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.CryptogramVerificationArpcMethod2: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CryptogramVerificationArpcMethod2(cardStatusUpdate: \(Swift.String(describing: cardStatusUpdate)), proprietaryAuthenticationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required for Authorization Response Cryptogram (ARPC) generation after Authorization Request Cryptogram (ARQC) verification is successful. public enum CryptogramAuthResponse { @@ -397,7 +437,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -422,7 +462,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -446,7 +486,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -495,7 +535,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -746,7 +786,7 @@ extension PaymentCryptographyDataClientTypes { extension PaymentCryptographyDataClientTypes.EmvEncryptionAttributes: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "EmvEncryptionAttributes(majorKeyDerivationMode: \(Swift.String(describing: majorKeyDerivationMode)), mode: \(Swift.String(describing: mode)), panSequenceNumber: \(Swift.String(describing: panSequenceNumber)), sessionDerivationData: \(Swift.String(describing: sessionDerivationData)), initializationVector: \"CONTENT_REDACTED\", primaryAccountNumber: \"CONTENT_REDACTED\")"} + "EmvEncryptionAttributes(majorKeyDerivationMode: \(Swift.String(describing: majorKeyDerivationMode)), mode: \(Swift.String(describing: mode)), panSequenceNumber: \(Swift.String(describing: panSequenceNumber)), initializationVector: \"CONTENT_REDACTED\", primaryAccountNumber: \"CONTENT_REDACTED\", sessionDerivationData: \"CONTENT_REDACTED\")"} } extension PaymentCryptographyDataClientTypes { @@ -842,6 +882,66 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes { + + public enum KeyCheckValueAlgorithm: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case ansiX924 + case cmac + case sdkUnknown(Swift.String) + + public static var allCases: [KeyCheckValueAlgorithm] { + return [ + .ansiX924, + .cmac + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .ansiX924: return "ANSI_X9_24" + case .cmac: return "CMAC" + case let .sdkUnknown(s): return s + } + } + } +} + +extension PaymentCryptographyDataClientTypes { + /// Parameter information of a WrappedKeyBlock for encryption key exchange. + public enum WrappedKeyMaterial { + /// The TR-31 wrapped key block. + case tr31keyblock(Swift.String) + case sdkUnknown(Swift.String) + } + +} + +extension PaymentCryptographyDataClientTypes { + /// Parameter information of a WrappedKeyBlock for encryption key exchange. + public struct WrappedKey { + /// The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result. + public var keyCheckValueAlgorithm: PaymentCryptographyDataClientTypes.KeyCheckValueAlgorithm? + /// Parameter information of a WrappedKeyBlock for encryption key exchange. + /// This member is required. + public var wrappedKeyMaterial: PaymentCryptographyDataClientTypes.WrappedKeyMaterial? + + public init( + keyCheckValueAlgorithm: PaymentCryptographyDataClientTypes.KeyCheckValueAlgorithm? = nil, + wrappedKeyMaterial: PaymentCryptographyDataClientTypes.WrappedKeyMaterial? = nil + ) + { + self.keyCheckValueAlgorithm = keyCheckValueAlgorithm + self.wrappedKeyMaterial = wrappedKeyMaterial + } + } + +} + public struct DecryptDataInput { /// The ciphertext to decrypt. /// This member is required. @@ -849,25 +949,29 @@ public struct DecryptDataInput { /// The encryption key type and attributes for ciphertext decryption. /// This member is required. public var decryptionAttributes: PaymentCryptographyDataClientTypes.EncryptionDecryptionAttributes? - /// The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption. + /// The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation. /// This member is required. public var keyIdentifier: Swift.String? + /// The WrappedKeyBlock containing the encryption key for ciphertext decryption. + public var wrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? public init( cipherText: Swift.String? = nil, decryptionAttributes: PaymentCryptographyDataClientTypes.EncryptionDecryptionAttributes? = nil, - keyIdentifier: Swift.String? = nil + keyIdentifier: Swift.String? = nil, + wrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? = nil ) { self.cipherText = cipherText self.decryptionAttributes = decryptionAttributes self.keyIdentifier = keyIdentifier + self.wrappedKey = wrappedKey } } extension DecryptDataInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "DecryptDataInput(decryptionAttributes: \(Swift.String(describing: decryptionAttributes)), keyIdentifier: \(Swift.String(describing: keyIdentifier)), cipherText: \"CONTENT_REDACTED\")"} + "DecryptDataInput(decryptionAttributes: \(Swift.String(describing: decryptionAttributes)), keyIdentifier: \(Swift.String(describing: keyIdentifier)), wrappedKey: \(Swift.String(describing: wrappedKey)), cipherText: \"CONTENT_REDACTED\")"} } public struct DecryptDataOutput { @@ -949,28 +1053,32 @@ public struct EncryptDataInput { /// The encryption key type and attributes for plaintext encryption. /// This member is required. public var encryptionAttributes: PaymentCryptographyDataClientTypes.EncryptionDecryptionAttributes? - /// The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption. + /// The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation. /// This member is required. public var keyIdentifier: Swift.String? /// The plaintext to be encrypted. For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in KeyAlgorithm and padding type that you define in AsymmetricEncryptionAttributes. For more information, see [Encrypt data](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/encrypt-data.html) in the Amazon Web Services Payment Cryptography User Guide. /// This member is required. public var plainText: Swift.String? + /// The WrappedKeyBlock containing the encryption key for plaintext encryption. + public var wrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? public init( encryptionAttributes: PaymentCryptographyDataClientTypes.EncryptionDecryptionAttributes? = nil, keyIdentifier: Swift.String? = nil, - plainText: Swift.String? = nil + plainText: Swift.String? = nil, + wrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? = nil ) { self.encryptionAttributes = encryptionAttributes self.keyIdentifier = keyIdentifier self.plainText = plainText + self.wrappedKey = wrappedKey } } extension EncryptDataInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "EncryptDataInput(encryptionAttributes: \(Swift.String(describing: encryptionAttributes)), keyIdentifier: \(Swift.String(describing: keyIdentifier)), plainText: \"CONTENT_REDACTED\")"} + "EncryptDataInput(encryptionAttributes: \(Swift.String(describing: encryptionAttributes)), keyIdentifier: \(Swift.String(describing: keyIdentifier)), wrappedKey: \(Swift.String(describing: wrappedKey)), plainText: \"CONTENT_REDACTED\")"} } public struct EncryptDataOutput { @@ -1055,6 +1163,11 @@ public struct GenerateCardValidationDataOutput { } } +extension GenerateCardValidationDataOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GenerateCardValidationDataOutput(keyArn: \(Swift.String(describing: keyArn)), keyCheckValue: \(Swift.String(describing: keyCheckValue)), validationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { public enum MacAlgorithm: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1319,6 +1432,11 @@ public struct GenerateMacOutput { } } +extension GenerateMacOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GenerateMacOutput(keyArn: \(Swift.String(describing: keyArn)), keyCheckValue: \(Swift.String(describing: keyCheckValue)), mac: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Ibm3624 natural PIN. public struct Ibm3624NaturalPin { @@ -1346,6 +1464,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.Ibm3624NaturalPin: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Ibm3624NaturalPin(pinValidationDataPadCharacter: \(Swift.String(describing: pinValidationDataPadCharacter)), decimalizationTable: \"CONTENT_REDACTED\", pinValidationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Ibm3624 PIN from offset PIN. public struct Ibm3624PinFromOffset { @@ -1378,6 +1501,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.Ibm3624PinFromOffset: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Ibm3624PinFromOffset(pinValidationDataPadCharacter: \(Swift.String(describing: pinValidationDataPadCharacter)), decimalizationTable: \"CONTENT_REDACTED\", pinOffset: \"CONTENT_REDACTED\", pinValidationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Pparameters that are required to generate or verify Ibm3624 PIN offset PIN. public struct Ibm3624PinOffset { @@ -1410,6 +1538,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.Ibm3624PinOffset: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Ibm3624PinOffset(pinValidationDataPadCharacter: \(Swift.String(describing: pinValidationDataPadCharacter)), decimalizationTable: \"CONTENT_REDACTED\", encryptedPinBlock: \"CONTENT_REDACTED\", pinValidationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Ibm3624 random PIN. public struct Ibm3624RandomPin { @@ -1437,6 +1570,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.Ibm3624RandomPin: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Ibm3624RandomPin(pinValidationDataPadCharacter: \(Swift.String(describing: pinValidationDataPadCharacter)), decimalizationTable: \"CONTENT_REDACTED\", pinValidationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Visa PIN. public struct VisaPin { @@ -1476,6 +1614,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.VisaPinVerificationValue: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "VisaPinVerificationValue(pinVerificationKeyIndex: \(Swift.String(describing: pinVerificationKeyIndex)), encryptedPinBlock: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required for PIN data generation. public enum PinGenerationAttributes { @@ -1617,6 +1760,11 @@ public struct GeneratePinDataOutput { } } +extension GeneratePinDataOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GeneratePinDataOutput(encryptionKeyArn: \(Swift.String(describing: encryptionKeyArn)), encryptionKeyCheckValue: \(Swift.String(describing: encryptionKeyCheckValue)), generationKeyArn: \(Swift.String(describing: generationKeyArn)), generationKeyCheckValue: \(Swift.String(describing: generationKeyCheckValue)), pinData: \(Swift.String(describing: pinData)), encryptedPinBlock: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to generate or verify Ibm3624 PIN verification PIN. public struct Ibm3624PinVerification { @@ -1649,6 +1797,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.Ibm3624PinVerification: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Ibm3624PinVerification(pinValidationDataPadCharacter: \(Swift.String(describing: pinValidationDataPadCharacter)), decimalizationTable: \"CONTENT_REDACTED\", pinOffset: \"CONTENT_REDACTED\", pinValidationData: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required to perform reencryption operation. public enum ReEncryptionAttributes { @@ -1668,35 +1821,43 @@ public struct ReEncryptDataInput { /// The attributes and values for incoming ciphertext. /// This member is required. public var incomingEncryptionAttributes: PaymentCryptographyDataClientTypes.ReEncryptionAttributes? - /// The keyARN of the encryption key of incoming ciphertext data. + /// The keyARN of the encryption key of incoming ciphertext data. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation. /// This member is required. public var incomingKeyIdentifier: Swift.String? + /// The WrappedKeyBlock containing the encryption key of incoming ciphertext data. + public var incomingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? /// The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. /// This member is required. public var outgoingEncryptionAttributes: PaymentCryptographyDataClientTypes.ReEncryptionAttributes? /// The keyARN of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. /// This member is required. public var outgoingKeyIdentifier: Swift.String? + /// The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. + public var outgoingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? public init( cipherText: Swift.String? = nil, incomingEncryptionAttributes: PaymentCryptographyDataClientTypes.ReEncryptionAttributes? = nil, incomingKeyIdentifier: Swift.String? = nil, + incomingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? = nil, outgoingEncryptionAttributes: PaymentCryptographyDataClientTypes.ReEncryptionAttributes? = nil, - outgoingKeyIdentifier: Swift.String? = nil + outgoingKeyIdentifier: Swift.String? = nil, + outgoingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? = nil ) { self.cipherText = cipherText self.incomingEncryptionAttributes = incomingEncryptionAttributes self.incomingKeyIdentifier = incomingKeyIdentifier + self.incomingWrappedKey = incomingWrappedKey self.outgoingEncryptionAttributes = outgoingEncryptionAttributes self.outgoingKeyIdentifier = outgoingKeyIdentifier + self.outgoingWrappedKey = outgoingWrappedKey } } extension ReEncryptDataInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ReEncryptDataInput(incomingEncryptionAttributes: \(Swift.String(describing: incomingEncryptionAttributes)), incomingKeyIdentifier: \(Swift.String(describing: incomingKeyIdentifier)), outgoingEncryptionAttributes: \(Swift.String(describing: outgoingEncryptionAttributes)), outgoingKeyIdentifier: \(Swift.String(describing: outgoingKeyIdentifier)), cipherText: \"CONTENT_REDACTED\")"} + "ReEncryptDataInput(incomingEncryptionAttributes: \(Swift.String(describing: incomingEncryptionAttributes)), incomingKeyIdentifier: \(Swift.String(describing: incomingKeyIdentifier)), incomingWrappedKey: \(Swift.String(describing: incomingWrappedKey)), outgoingEncryptionAttributes: \(Swift.String(describing: outgoingEncryptionAttributes)), outgoingKeyIdentifier: \(Swift.String(describing: outgoingKeyIdentifier)), outgoingWrappedKey: \(Swift.String(describing: outgoingWrappedKey)), cipherText: \"CONTENT_REDACTED\")"} } public struct ReEncryptDataOutput { @@ -1780,12 +1941,14 @@ public struct TranslatePinDataInput { public var encryptedPinBlock: Swift.String? /// The attributes and values to use for incoming DUKPT encryption key for PIN block translation. public var incomingDukptAttributes: PaymentCryptographyDataClientTypes.DukptDerivationAttributes? - /// The keyARN of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK. + /// The keyARN of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK. When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key for PIN block. Otherwise, it is the key identifier used to perform the operation. /// This member is required. public var incomingKeyIdentifier: Swift.String? /// The format of the incoming PIN block data for translation within Amazon Web Services Payment Cryptography. /// This member is required. public var incomingTranslationAttributes: PaymentCryptographyDataClientTypes.TranslationIsoFormats? + /// The WrappedKeyBlock containing the encryption key under which incoming PIN block data is encrypted. + public var incomingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? /// The attributes and values to use for outgoing DUKPT encryption key after PIN block translation. public var outgoingDukptAttributes: PaymentCryptographyDataClientTypes.DukptDerivationAttributes? /// The keyARN of the encryption key for encrypting outgoing PIN block data. This key type can be PEK or BDK. @@ -1794,30 +1957,36 @@ public struct TranslatePinDataInput { /// The format of the outgoing PIN block data after translation by Amazon Web Services Payment Cryptography. /// This member is required. public var outgoingTranslationAttributes: PaymentCryptographyDataClientTypes.TranslationIsoFormats? + /// The WrappedKeyBlock containing the encryption key for encrypting outgoing PIN block data. + public var outgoingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? public init( encryptedPinBlock: Swift.String? = nil, incomingDukptAttributes: PaymentCryptographyDataClientTypes.DukptDerivationAttributes? = nil, incomingKeyIdentifier: Swift.String? = nil, incomingTranslationAttributes: PaymentCryptographyDataClientTypes.TranslationIsoFormats? = nil, + incomingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? = nil, outgoingDukptAttributes: PaymentCryptographyDataClientTypes.DukptDerivationAttributes? = nil, outgoingKeyIdentifier: Swift.String? = nil, - outgoingTranslationAttributes: PaymentCryptographyDataClientTypes.TranslationIsoFormats? = nil + outgoingTranslationAttributes: PaymentCryptographyDataClientTypes.TranslationIsoFormats? = nil, + outgoingWrappedKey: PaymentCryptographyDataClientTypes.WrappedKey? = nil ) { self.encryptedPinBlock = encryptedPinBlock self.incomingDukptAttributes = incomingDukptAttributes self.incomingKeyIdentifier = incomingKeyIdentifier self.incomingTranslationAttributes = incomingTranslationAttributes + self.incomingWrappedKey = incomingWrappedKey self.outgoingDukptAttributes = outgoingDukptAttributes self.outgoingKeyIdentifier = outgoingKeyIdentifier self.outgoingTranslationAttributes = outgoingTranslationAttributes + self.outgoingWrappedKey = outgoingWrappedKey } } extension TranslatePinDataInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "TranslatePinDataInput(incomingDukptAttributes: \(Swift.String(describing: incomingDukptAttributes)), incomingKeyIdentifier: \(Swift.String(describing: incomingKeyIdentifier)), incomingTranslationAttributes: \(Swift.String(describing: incomingTranslationAttributes)), outgoingDukptAttributes: \(Swift.String(describing: outgoingDukptAttributes)), outgoingKeyIdentifier: \(Swift.String(describing: outgoingKeyIdentifier)), outgoingTranslationAttributes: \(Swift.String(describing: outgoingTranslationAttributes)), encryptedPinBlock: \"CONTENT_REDACTED\")"} + "TranslatePinDataInput(incomingDukptAttributes: \(Swift.String(describing: incomingDukptAttributes)), incomingKeyIdentifier: \(Swift.String(describing: incomingKeyIdentifier)), incomingTranslationAttributes: \(Swift.String(describing: incomingTranslationAttributes)), incomingWrappedKey: \(Swift.String(describing: incomingWrappedKey)), outgoingDukptAttributes: \(Swift.String(describing: outgoingDukptAttributes)), outgoingKeyIdentifier: \(Swift.String(describing: outgoingKeyIdentifier)), outgoingTranslationAttributes: \(Swift.String(describing: outgoingTranslationAttributes)), outgoingWrappedKey: \(Swift.String(describing: outgoingWrappedKey)), encryptedPinBlock: \"CONTENT_REDACTED\")"} } public struct TranslatePinDataOutput { @@ -1843,6 +2012,11 @@ public struct TranslatePinDataOutput { } } +extension TranslatePinDataOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TranslatePinDataOutput(keyArn: \(Swift.String(describing: keyArn)), keyCheckValue: \(Swift.String(describing: keyCheckValue)), pinBlock: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { public enum VerificationFailedReason: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1894,7 +2068,7 @@ public struct VerificationFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2118,6 +2292,11 @@ public struct VerifyAuthRequestCryptogramInput { } } +extension VerifyAuthRequestCryptogramInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "VerifyAuthRequestCryptogramInput(authResponseAttributes: \(Swift.String(describing: authResponseAttributes)), keyIdentifier: \(Swift.String(describing: keyIdentifier)), majorKeyDerivationMode: \(Swift.String(describing: majorKeyDerivationMode)), sessionKeyDerivationAttributes: \(Swift.String(describing: sessionKeyDerivationAttributes)), authRequestCryptogram: \"CONTENT_REDACTED\", transactionData: \"CONTENT_REDACTED\")"} +} + public struct VerifyAuthRequestCryptogramOutput { /// The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography. public var authResponseValue: Swift.String? @@ -2140,6 +2319,11 @@ public struct VerifyAuthRequestCryptogramOutput { } } +extension VerifyAuthRequestCryptogramOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "VerifyAuthRequestCryptogramOutput(keyArn: \(Swift.String(describing: keyArn)), keyCheckValue: \(Swift.String(describing: keyCheckValue)), authResponseValue: \"CONTENT_REDACTED\")"} +} + public struct VerifyCardValidationDataInput { /// The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography uses to verify card data. /// This member is required. @@ -2170,7 +2354,7 @@ public struct VerifyCardValidationDataInput { extension VerifyCardValidationDataInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "VerifyCardValidationDataInput(keyIdentifier: \(Swift.String(describing: keyIdentifier)), validationData: \(Swift.String(describing: validationData)), verificationAttributes: \(Swift.String(describing: verificationAttributes)), primaryAccountNumber: \"CONTENT_REDACTED\")"} + "VerifyCardValidationDataInput(keyIdentifier: \(Swift.String(describing: keyIdentifier)), verificationAttributes: \(Swift.String(describing: verificationAttributes)), primaryAccountNumber: \"CONTENT_REDACTED\", validationData: \"CONTENT_REDACTED\")"} } public struct VerifyCardValidationDataOutput { @@ -2268,6 +2452,11 @@ extension PaymentCryptographyDataClientTypes { } +extension PaymentCryptographyDataClientTypes.VisaPinVerification: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "VisaPinVerification(pinVerificationKeyIndex: \(Swift.String(describing: pinVerificationKeyIndex)), verificationValue: \"CONTENT_REDACTED\")"} +} + extension PaymentCryptographyDataClientTypes { /// Parameters that are required for PIN data verification. public enum PinVerificationAttributes { @@ -2328,7 +2517,7 @@ public struct VerifyPinDataInput { extension VerifyPinDataInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "VerifyPinDataInput(dukptAttributes: \(Swift.String(describing: dukptAttributes)), encryptedPinBlock: \(Swift.String(describing: encryptedPinBlock)), encryptionKeyIdentifier: \(Swift.String(describing: encryptionKeyIdentifier)), pinBlockFormat: \(Swift.String(describing: pinBlockFormat)), pinDataLength: \(Swift.String(describing: pinDataLength)), verificationAttributes: \(Swift.String(describing: verificationAttributes)), verificationKeyIdentifier: \(Swift.String(describing: verificationKeyIdentifier)), primaryAccountNumber: \"CONTENT_REDACTED\")"} + "VerifyPinDataInput(dukptAttributes: \(Swift.String(describing: dukptAttributes)), encryptionKeyIdentifier: \(Swift.String(describing: encryptionKeyIdentifier)), pinBlockFormat: \(Swift.String(describing: pinBlockFormat)), pinDataLength: \(Swift.String(describing: pinDataLength)), verificationAttributes: \(Swift.String(describing: verificationAttributes)), verificationKeyIdentifier: \(Swift.String(describing: verificationKeyIdentifier)), encryptedPinBlock: \"CONTENT_REDACTED\", primaryAccountNumber: \"CONTENT_REDACTED\")"} } public struct VerifyPinDataOutput { @@ -2451,6 +2640,7 @@ extension DecryptDataInput { guard let value else { return } try writer["CipherText"].write(value.cipherText) try writer["DecryptionAttributes"].write(value.decryptionAttributes, with: PaymentCryptographyDataClientTypes.EncryptionDecryptionAttributes.write(value:to:)) + try writer["WrappedKey"].write(value.wrappedKey, with: PaymentCryptographyDataClientTypes.WrappedKey.write(value:to:)) } } @@ -2460,6 +2650,7 @@ extension EncryptDataInput { guard let value else { return } try writer["EncryptionAttributes"].write(value.encryptionAttributes, with: PaymentCryptographyDataClientTypes.EncryptionDecryptionAttributes.write(value:to:)) try writer["PlainText"].write(value.plainText) + try writer["WrappedKey"].write(value.wrappedKey, with: PaymentCryptographyDataClientTypes.WrappedKey.write(value:to:)) } } @@ -2504,8 +2695,10 @@ extension ReEncryptDataInput { guard let value else { return } try writer["CipherText"].write(value.cipherText) try writer["IncomingEncryptionAttributes"].write(value.incomingEncryptionAttributes, with: PaymentCryptographyDataClientTypes.ReEncryptionAttributes.write(value:to:)) + try writer["IncomingWrappedKey"].write(value.incomingWrappedKey, with: PaymentCryptographyDataClientTypes.WrappedKey.write(value:to:)) try writer["OutgoingEncryptionAttributes"].write(value.outgoingEncryptionAttributes, with: PaymentCryptographyDataClientTypes.ReEncryptionAttributes.write(value:to:)) try writer["OutgoingKeyIdentifier"].write(value.outgoingKeyIdentifier) + try writer["OutgoingWrappedKey"].write(value.outgoingWrappedKey, with: PaymentCryptographyDataClientTypes.WrappedKey.write(value:to:)) } } @@ -2517,9 +2710,11 @@ extension TranslatePinDataInput { try writer["IncomingDukptAttributes"].write(value.incomingDukptAttributes, with: PaymentCryptographyDataClientTypes.DukptDerivationAttributes.write(value:to:)) try writer["IncomingKeyIdentifier"].write(value.incomingKeyIdentifier) try writer["IncomingTranslationAttributes"].write(value.incomingTranslationAttributes, with: PaymentCryptographyDataClientTypes.TranslationIsoFormats.write(value:to:)) + try writer["IncomingWrappedKey"].write(value.incomingWrappedKey, with: PaymentCryptographyDataClientTypes.WrappedKey.write(value:to:)) try writer["OutgoingDukptAttributes"].write(value.outgoingDukptAttributes, with: PaymentCryptographyDataClientTypes.DukptDerivationAttributes.write(value:to:)) try writer["OutgoingKeyIdentifier"].write(value.outgoingKeyIdentifier) try writer["OutgoingTranslationAttributes"].write(value.outgoingTranslationAttributes, with: PaymentCryptographyDataClientTypes.TranslationIsoFormats.write(value:to:)) + try writer["OutgoingWrappedKey"].write(value.outgoingWrappedKey, with: PaymentCryptographyDataClientTypes.WrappedKey.write(value:to:)) } } @@ -2576,7 +2771,7 @@ extension VerifyPinDataInput { extension DecryptDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecryptDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecryptDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2590,7 +2785,7 @@ extension DecryptDataOutput { extension EncryptDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EncryptDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EncryptDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2604,7 +2799,7 @@ extension EncryptDataOutput { extension GenerateCardValidationDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateCardValidationDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateCardValidationDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2618,7 +2813,7 @@ extension GenerateCardValidationDataOutput { extension GenerateMacOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateMacOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateMacOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2632,7 +2827,7 @@ extension GenerateMacOutput { extension GeneratePinDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GeneratePinDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GeneratePinDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2649,7 +2844,7 @@ extension GeneratePinDataOutput { extension ReEncryptDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReEncryptDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReEncryptDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2663,7 +2858,7 @@ extension ReEncryptDataOutput { extension TranslatePinDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TranslatePinDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TranslatePinDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2677,7 +2872,7 @@ extension TranslatePinDataOutput { extension VerifyAuthRequestCryptogramOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyAuthRequestCryptogramOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyAuthRequestCryptogramOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2691,7 +2886,7 @@ extension VerifyAuthRequestCryptogramOutput { extension VerifyCardValidationDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyCardValidationDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyCardValidationDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2704,7 +2899,7 @@ extension VerifyCardValidationDataOutput { extension VerifyMacOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyMacOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyMacOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2717,7 +2912,7 @@ extension VerifyMacOutput { extension VerifyPinDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyPinDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyPinDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2732,7 +2927,7 @@ extension VerifyPinDataOutput { enum DecryptDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2750,7 +2945,7 @@ enum DecryptDataOutputError { enum EncryptDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2768,7 +2963,7 @@ enum EncryptDataOutputError { enum GenerateCardValidationDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2786,7 +2981,7 @@ enum GenerateCardValidationDataOutputError { enum GenerateMacOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2804,7 +2999,7 @@ enum GenerateMacOutputError { enum GeneratePinDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2822,7 +3017,7 @@ enum GeneratePinDataOutputError { enum ReEncryptDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2840,7 +3035,7 @@ enum ReEncryptDataOutputError { enum TranslatePinDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2858,7 +3053,7 @@ enum TranslatePinDataOutputError { enum VerifyAuthRequestCryptogramOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2877,7 +3072,7 @@ enum VerifyAuthRequestCryptogramOutputError { enum VerifyCardValidationDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2896,7 +3091,7 @@ enum VerifyCardValidationDataOutputError { enum VerifyMacOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2915,7 +3110,7 @@ enum VerifyMacOutputError { enum VerifyPinDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3101,6 +3296,28 @@ extension PaymentCryptographyDataClientTypes.SymmetricEncryptionAttributes { } } +extension PaymentCryptographyDataClientTypes.WrappedKey { + + static func write(value: PaymentCryptographyDataClientTypes.WrappedKey?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["KeyCheckValueAlgorithm"].write(value.keyCheckValueAlgorithm) + try writer["WrappedKeyMaterial"].write(value.wrappedKeyMaterial, with: PaymentCryptographyDataClientTypes.WrappedKeyMaterial.write(value:to:)) + } +} + +extension PaymentCryptographyDataClientTypes.WrappedKeyMaterial { + + static func write(value: PaymentCryptographyDataClientTypes.WrappedKeyMaterial?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .tr31keyblock(tr31keyblock): + try writer["Tr31KeyBlock"].write(tr31keyblock) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + extension PaymentCryptographyDataClientTypes.CardGenerationAttributes { static func write(value: PaymentCryptographyDataClientTypes.CardGenerationAttributes?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift index 47a96126b8a..2cbd13165b8 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift @@ -465,7 +465,7 @@ extension PaymentCryptographyDataClient { /// Performs the `ReEncryptData` operation on the `PaymentCryptographyDataPlane` service. /// - /// Re-encrypt ciphertext using DUKPT, Symmetric and Asymmetric Data Encryption Keys. You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling [CreateKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html) or import your own encryption key by calling [ImportKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html). The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. In asymmetric encryption, ciphertext is encrypted using public component (imported by calling [ImportKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html)) of the asymmetric key pair created outside of Amazon Web Services Payment Cryptography. For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For asymmetric encryption, Amazon Web Services Payment Cryptography supports RSA. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling [CreateKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html). For information about valid keys for this operation, see [Understanding key attributes](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and [Key types for specific data operations](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: + /// Re-encrypt ciphertext using DUKPT or Symmetric data encryption keys. You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling [CreateKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html) or import your own encryption key by calling [ImportKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ImportKey.html). The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling [CreateKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html). For information about valid keys for this operation, see [Understanding key attributes](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) and [Key types for specific data operations](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/crypto-ops-validkeys-ops.html) in the Amazon Web Services Payment Cryptography User Guide. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: /// /// * [DecryptData] /// diff --git a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/Models.swift b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/Models.swift index b4647d88059..e4359fbb025 100644 --- a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/Models.swift +++ b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -212,7 +212,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -693,7 +693,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -917,7 +917,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -948,7 +948,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -989,7 +989,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1026,7 +1026,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1104,7 +1104,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3614,7 +3614,7 @@ extension UpdateTemplateGroupAccessControlEntryInput { extension CreateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3626,7 +3626,7 @@ extension CreateConnectorOutput { extension CreateDirectoryRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDirectoryRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDirectoryRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3638,14 +3638,14 @@ extension CreateDirectoryRegistrationOutput { extension CreateServicePrincipalNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServicePrincipalNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServicePrincipalNameOutput { return CreateServicePrincipalNameOutput() } } extension CreateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3657,49 +3657,49 @@ extension CreateTemplateOutput { extension CreateTemplateGroupAccessControlEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateGroupAccessControlEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateGroupAccessControlEntryOutput { return CreateTemplateGroupAccessControlEntryOutput() } } extension DeleteConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorOutput { return DeleteConnectorOutput() } } extension DeleteDirectoryRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDirectoryRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDirectoryRegistrationOutput { return DeleteDirectoryRegistrationOutput() } } extension DeleteServicePrincipalNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServicePrincipalNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServicePrincipalNameOutput { return DeleteServicePrincipalNameOutput() } } extension DeleteTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateOutput { return DeleteTemplateOutput() } } extension DeleteTemplateGroupAccessControlEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateGroupAccessControlEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateGroupAccessControlEntryOutput { return DeleteTemplateGroupAccessControlEntryOutput() } } extension GetConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3711,7 +3711,7 @@ extension GetConnectorOutput { extension GetDirectoryRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDirectoryRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDirectoryRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3723,7 +3723,7 @@ extension GetDirectoryRegistrationOutput { extension GetServicePrincipalNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServicePrincipalNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServicePrincipalNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3735,7 +3735,7 @@ extension GetServicePrincipalNameOutput { extension GetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3747,7 +3747,7 @@ extension GetTemplateOutput { extension GetTemplateGroupAccessControlEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateGroupAccessControlEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateGroupAccessControlEntryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3759,7 +3759,7 @@ extension GetTemplateGroupAccessControlEntryOutput { extension ListConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3772,7 +3772,7 @@ extension ListConnectorsOutput { extension ListDirectoryRegistrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDirectoryRegistrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDirectoryRegistrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3785,7 +3785,7 @@ extension ListDirectoryRegistrationsOutput { extension ListServicePrincipalNamesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicePrincipalNamesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicePrincipalNamesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3798,7 +3798,7 @@ extension ListServicePrincipalNamesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3810,7 +3810,7 @@ extension ListTagsForResourceOutput { extension ListTemplateGroupAccessControlEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateGroupAccessControlEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateGroupAccessControlEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3823,7 +3823,7 @@ extension ListTemplateGroupAccessControlEntriesOutput { extension ListTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3836,35 +3836,35 @@ extension ListTemplatesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateOutput { return UpdateTemplateOutput() } } extension UpdateTemplateGroupAccessControlEntryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateGroupAccessControlEntryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateGroupAccessControlEntryOutput { return UpdateTemplateGroupAccessControlEntryOutput() } } enum CreateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3884,7 +3884,7 @@ enum CreateConnectorOutputError { enum CreateDirectoryRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3903,7 +3903,7 @@ enum CreateDirectoryRegistrationOutputError { enum CreateServicePrincipalNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3922,7 +3922,7 @@ enum CreateServicePrincipalNameOutputError { enum CreateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3942,7 +3942,7 @@ enum CreateTemplateOutputError { enum CreateTemplateGroupAccessControlEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3962,7 +3962,7 @@ enum CreateTemplateGroupAccessControlEntryOutputError { enum DeleteConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3981,7 +3981,7 @@ enum DeleteConnectorOutputError { enum DeleteDirectoryRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3999,7 +3999,7 @@ enum DeleteDirectoryRegistrationOutputError { enum DeleteServicePrincipalNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4017,7 +4017,7 @@ enum DeleteServicePrincipalNameOutputError { enum DeleteTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4036,7 +4036,7 @@ enum DeleteTemplateOutputError { enum DeleteTemplateGroupAccessControlEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4055,7 +4055,7 @@ enum DeleteTemplateGroupAccessControlEntryOutputError { enum GetConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4073,7 +4073,7 @@ enum GetConnectorOutputError { enum GetDirectoryRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4091,7 +4091,7 @@ enum GetDirectoryRegistrationOutputError { enum GetServicePrincipalNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4109,7 +4109,7 @@ enum GetServicePrincipalNameOutputError { enum GetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4127,7 +4127,7 @@ enum GetTemplateOutputError { enum GetTemplateGroupAccessControlEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4145,7 +4145,7 @@ enum GetTemplateGroupAccessControlEntryOutputError { enum ListConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4162,7 +4162,7 @@ enum ListConnectorsOutputError { enum ListDirectoryRegistrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4179,7 +4179,7 @@ enum ListDirectoryRegistrationsOutputError { enum ListServicePrincipalNamesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4197,7 +4197,7 @@ enum ListServicePrincipalNamesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4215,7 +4215,7 @@ enum ListTagsForResourceOutputError { enum ListTemplateGroupAccessControlEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4233,7 +4233,7 @@ enum ListTemplateGroupAccessControlEntriesOutputError { enum ListTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4251,7 +4251,7 @@ enum ListTemplatesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4269,7 +4269,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4287,7 +4287,7 @@ enum UntagResourceOutputError { enum UpdateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4306,7 +4306,7 @@ enum UpdateTemplateOutputError { enum UpdateTemplateGroupAccessControlEntryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/Models.swift b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/Models.swift index ef89ecdbba0..a27d5b1c7cf 100644 --- a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/Models.swift +++ b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -56,7 +56,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -205,7 +205,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -234,7 +234,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -265,7 +265,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -303,7 +303,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -334,7 +334,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -405,7 +405,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1177,7 +1177,7 @@ extension TagResourceInput { extension CreateChallengeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateChallengeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateChallengeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1189,7 +1189,7 @@ extension CreateChallengeOutput { extension CreateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1201,21 +1201,21 @@ extension CreateConnectorOutput { extension DeleteChallengeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChallengeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChallengeOutput { return DeleteChallengeOutput() } } extension DeleteConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorOutput { return DeleteConnectorOutput() } } extension GetChallengeMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChallengeMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChallengeMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1227,7 +1227,7 @@ extension GetChallengeMetadataOutput { extension GetChallengePasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChallengePasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChallengePasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1239,7 +1239,7 @@ extension GetChallengePasswordOutput { extension GetConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1251,7 +1251,7 @@ extension GetConnectorOutput { extension ListChallengeMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChallengeMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChallengeMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1264,7 +1264,7 @@ extension ListChallengeMetadataOutput { extension ListConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1277,7 +1277,7 @@ extension ListConnectorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1289,21 +1289,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateChallengeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1324,7 +1324,7 @@ enum CreateChallengeOutputError { enum CreateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1344,7 +1344,7 @@ enum CreateConnectorOutputError { enum DeleteChallengeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1363,7 +1363,7 @@ enum DeleteChallengeOutputError { enum DeleteConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1382,7 +1382,7 @@ enum DeleteConnectorOutputError { enum GetChallengeMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1400,7 +1400,7 @@ enum GetChallengeMetadataOutputError { enum GetChallengePasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1418,7 +1418,7 @@ enum GetChallengePasswordOutputError { enum GetConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1436,7 +1436,7 @@ enum GetConnectorOutputError { enum ListChallengeMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1454,7 +1454,7 @@ enum ListChallengeMetadataOutputError { enum ListConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1471,7 +1471,7 @@ enum ListConnectorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1489,7 +1489,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1507,7 +1507,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/Models.swift b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/Models.swift index c4abbe55461..46130bbf1bd 100644 --- a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/Models.swift +++ b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -262,7 +262,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -286,7 +286,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -310,7 +310,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -334,7 +334,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -358,7 +358,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -382,7 +382,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3695,7 +3695,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5088,7 +5088,7 @@ public struct TooManyTagKeysException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6420,7 +6420,7 @@ extension UpdateRecommenderInput { extension CreateBatchInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBatchInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBatchInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6432,7 +6432,7 @@ extension CreateBatchInferenceJobOutput { extension CreateBatchSegmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBatchSegmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBatchSegmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6444,7 +6444,7 @@ extension CreateBatchSegmentJobOutput { extension CreateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6456,7 +6456,7 @@ extension CreateCampaignOutput { extension CreateDataDeletionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataDeletionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataDeletionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6468,7 +6468,7 @@ extension CreateDataDeletionJobOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6480,7 +6480,7 @@ extension CreateDatasetOutput { extension CreateDatasetExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6492,7 +6492,7 @@ extension CreateDatasetExportJobOutput { extension CreateDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6505,7 +6505,7 @@ extension CreateDatasetGroupOutput { extension CreateDatasetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6517,7 +6517,7 @@ extension CreateDatasetImportJobOutput { extension CreateEventTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventTrackerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6530,7 +6530,7 @@ extension CreateEventTrackerOutput { extension CreateFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6542,7 +6542,7 @@ extension CreateFilterOutput { extension CreateMetricAttributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMetricAttributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMetricAttributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6554,7 +6554,7 @@ extension CreateMetricAttributionOutput { extension CreateRecommenderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecommenderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecommenderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6566,7 +6566,7 @@ extension CreateRecommenderOutput { extension CreateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6578,7 +6578,7 @@ extension CreateSchemaOutput { extension CreateSolutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSolutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSolutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6590,7 +6590,7 @@ extension CreateSolutionOutput { extension CreateSolutionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSolutionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSolutionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6602,70 +6602,70 @@ extension CreateSolutionVersionOutput { extension DeleteCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignOutput { return DeleteCampaignOutput() } } extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { return DeleteDatasetOutput() } } extension DeleteDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetGroupOutput { return DeleteDatasetGroupOutput() } } extension DeleteEventTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventTrackerOutput { return DeleteEventTrackerOutput() } } extension DeleteFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFilterOutput { return DeleteFilterOutput() } } extension DeleteMetricAttributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMetricAttributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMetricAttributionOutput { return DeleteMetricAttributionOutput() } } extension DeleteRecommenderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecommenderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecommenderOutput { return DeleteRecommenderOutput() } } extension DeleteSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaOutput { return DeleteSchemaOutput() } } extension DeleteSolutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSolutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSolutionOutput { return DeleteSolutionOutput() } } extension DescribeAlgorithmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlgorithmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlgorithmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6677,7 +6677,7 @@ extension DescribeAlgorithmOutput { extension DescribeBatchInferenceJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBatchInferenceJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBatchInferenceJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6689,7 +6689,7 @@ extension DescribeBatchInferenceJobOutput { extension DescribeBatchSegmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBatchSegmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBatchSegmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6701,7 +6701,7 @@ extension DescribeBatchSegmentJobOutput { extension DescribeCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6713,7 +6713,7 @@ extension DescribeCampaignOutput { extension DescribeDataDeletionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataDeletionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataDeletionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6725,7 +6725,7 @@ extension DescribeDataDeletionJobOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6737,7 +6737,7 @@ extension DescribeDatasetOutput { extension DescribeDatasetExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6749,7 +6749,7 @@ extension DescribeDatasetExportJobOutput { extension DescribeDatasetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6761,7 +6761,7 @@ extension DescribeDatasetGroupOutput { extension DescribeDatasetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6773,7 +6773,7 @@ extension DescribeDatasetImportJobOutput { extension DescribeEventTrackerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventTrackerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventTrackerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6785,7 +6785,7 @@ extension DescribeEventTrackerOutput { extension DescribeFeatureTransformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFeatureTransformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFeatureTransformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6797,7 +6797,7 @@ extension DescribeFeatureTransformationOutput { extension DescribeFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6809,7 +6809,7 @@ extension DescribeFilterOutput { extension DescribeMetricAttributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMetricAttributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMetricAttributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6821,7 +6821,7 @@ extension DescribeMetricAttributionOutput { extension DescribeRecipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6833,7 +6833,7 @@ extension DescribeRecipeOutput { extension DescribeRecommenderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecommenderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecommenderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6845,7 +6845,7 @@ extension DescribeRecommenderOutput { extension DescribeSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6857,7 +6857,7 @@ extension DescribeSchemaOutput { extension DescribeSolutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSolutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSolutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6869,7 +6869,7 @@ extension DescribeSolutionOutput { extension DescribeSolutionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSolutionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSolutionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6881,7 +6881,7 @@ extension DescribeSolutionVersionOutput { extension GetSolutionMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolutionMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolutionMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6894,7 +6894,7 @@ extension GetSolutionMetricsOutput { extension ListBatchInferenceJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBatchInferenceJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBatchInferenceJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6907,7 +6907,7 @@ extension ListBatchInferenceJobsOutput { extension ListBatchSegmentJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBatchSegmentJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBatchSegmentJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6920,7 +6920,7 @@ extension ListBatchSegmentJobsOutput { extension ListCampaignsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCampaignsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCampaignsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6933,7 +6933,7 @@ extension ListCampaignsOutput { extension ListDataDeletionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataDeletionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataDeletionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6946,7 +6946,7 @@ extension ListDataDeletionJobsOutput { extension ListDatasetExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6959,7 +6959,7 @@ extension ListDatasetExportJobsOutput { extension ListDatasetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6972,7 +6972,7 @@ extension ListDatasetGroupsOutput { extension ListDatasetImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6985,7 +6985,7 @@ extension ListDatasetImportJobsOutput { extension ListDatasetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6998,7 +6998,7 @@ extension ListDatasetsOutput { extension ListEventTrackersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEventTrackersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEventTrackersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7011,7 +7011,7 @@ extension ListEventTrackersOutput { extension ListFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7024,7 +7024,7 @@ extension ListFiltersOutput { extension ListMetricAttributionMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetricAttributionMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetricAttributionMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7037,7 +7037,7 @@ extension ListMetricAttributionMetricsOutput { extension ListMetricAttributionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMetricAttributionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMetricAttributionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7050,7 +7050,7 @@ extension ListMetricAttributionsOutput { extension ListRecipesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecipesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecipesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7063,7 +7063,7 @@ extension ListRecipesOutput { extension ListRecommendersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7076,7 +7076,7 @@ extension ListRecommendersOutput { extension ListSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7089,7 +7089,7 @@ extension ListSchemasOutput { extension ListSolutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7102,7 +7102,7 @@ extension ListSolutionsOutput { extension ListSolutionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolutionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolutionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7115,7 +7115,7 @@ extension ListSolutionVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7127,7 +7127,7 @@ extension ListTagsForResourceOutput { extension StartRecommenderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartRecommenderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartRecommenderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7139,7 +7139,7 @@ extension StartRecommenderOutput { extension StopRecommenderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopRecommenderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopRecommenderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7151,28 +7151,28 @@ extension StopRecommenderOutput { extension StopSolutionVersionCreationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSolutionVersionCreationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSolutionVersionCreationOutput { return StopSolutionVersionCreationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7184,7 +7184,7 @@ extension UpdateCampaignOutput { extension UpdateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7196,7 +7196,7 @@ extension UpdateDatasetOutput { extension UpdateMetricAttributionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMetricAttributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMetricAttributionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7208,7 +7208,7 @@ extension UpdateMetricAttributionOutput { extension UpdateRecommenderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecommenderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecommenderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7220,7 +7220,7 @@ extension UpdateRecommenderOutput { enum CreateBatchInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7239,7 +7239,7 @@ enum CreateBatchInferenceJobOutputError { enum CreateBatchSegmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7258,7 +7258,7 @@ enum CreateBatchSegmentJobOutputError { enum CreateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7277,7 +7277,7 @@ enum CreateCampaignOutputError { enum CreateDataDeletionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7296,7 +7296,7 @@ enum CreateDataDeletionJobOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7315,7 +7315,7 @@ enum CreateDatasetOutputError { enum CreateDatasetExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7334,7 +7334,7 @@ enum CreateDatasetExportJobOutputError { enum CreateDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7351,7 +7351,7 @@ enum CreateDatasetGroupOutputError { enum CreateDatasetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7370,7 +7370,7 @@ enum CreateDatasetImportJobOutputError { enum CreateEventTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7389,7 +7389,7 @@ enum CreateEventTrackerOutputError { enum CreateFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7407,7 +7407,7 @@ enum CreateFilterOutputError { enum CreateMetricAttributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7425,7 +7425,7 @@ enum CreateMetricAttributionOutputError { enum CreateRecommenderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7444,7 +7444,7 @@ enum CreateRecommenderOutputError { enum CreateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7460,7 +7460,7 @@ enum CreateSchemaOutputError { enum CreateSolutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7479,7 +7479,7 @@ enum CreateSolutionOutputError { enum CreateSolutionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7498,7 +7498,7 @@ enum CreateSolutionVersionOutputError { enum DeleteCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7514,7 +7514,7 @@ enum DeleteCampaignOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7530,7 +7530,7 @@ enum DeleteDatasetOutputError { enum DeleteDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7546,7 +7546,7 @@ enum DeleteDatasetGroupOutputError { enum DeleteEventTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7562,7 +7562,7 @@ enum DeleteEventTrackerOutputError { enum DeleteFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7578,7 +7578,7 @@ enum DeleteFilterOutputError { enum DeleteMetricAttributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7594,7 +7594,7 @@ enum DeleteMetricAttributionOutputError { enum DeleteRecommenderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7610,7 +7610,7 @@ enum DeleteRecommenderOutputError { enum DeleteSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7626,7 +7626,7 @@ enum DeleteSchemaOutputError { enum DeleteSolutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7642,7 +7642,7 @@ enum DeleteSolutionOutputError { enum DescribeAlgorithmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7657,7 +7657,7 @@ enum DescribeAlgorithmOutputError { enum DescribeBatchInferenceJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7672,7 +7672,7 @@ enum DescribeBatchInferenceJobOutputError { enum DescribeBatchSegmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7687,7 +7687,7 @@ enum DescribeBatchSegmentJobOutputError { enum DescribeCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7702,7 +7702,7 @@ enum DescribeCampaignOutputError { enum DescribeDataDeletionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7717,7 +7717,7 @@ enum DescribeDataDeletionJobOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7732,7 +7732,7 @@ enum DescribeDatasetOutputError { enum DescribeDatasetExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7747,7 +7747,7 @@ enum DescribeDatasetExportJobOutputError { enum DescribeDatasetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7762,7 +7762,7 @@ enum DescribeDatasetGroupOutputError { enum DescribeDatasetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7777,7 +7777,7 @@ enum DescribeDatasetImportJobOutputError { enum DescribeEventTrackerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7792,7 +7792,7 @@ enum DescribeEventTrackerOutputError { enum DescribeFeatureTransformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7807,7 +7807,7 @@ enum DescribeFeatureTransformationOutputError { enum DescribeFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7822,7 +7822,7 @@ enum DescribeFilterOutputError { enum DescribeMetricAttributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7837,7 +7837,7 @@ enum DescribeMetricAttributionOutputError { enum DescribeRecipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7852,7 +7852,7 @@ enum DescribeRecipeOutputError { enum DescribeRecommenderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7867,7 +7867,7 @@ enum DescribeRecommenderOutputError { enum DescribeSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7882,7 +7882,7 @@ enum DescribeSchemaOutputError { enum DescribeSolutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7897,7 +7897,7 @@ enum DescribeSolutionOutputError { enum DescribeSolutionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7912,7 +7912,7 @@ enum DescribeSolutionVersionOutputError { enum GetSolutionMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7928,7 +7928,7 @@ enum GetSolutionMetricsOutputError { enum ListBatchInferenceJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7943,7 +7943,7 @@ enum ListBatchInferenceJobsOutputError { enum ListBatchSegmentJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7958,7 +7958,7 @@ enum ListBatchSegmentJobsOutputError { enum ListCampaignsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7973,7 +7973,7 @@ enum ListCampaignsOutputError { enum ListDataDeletionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7988,7 +7988,7 @@ enum ListDataDeletionJobsOutputError { enum ListDatasetExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8003,7 +8003,7 @@ enum ListDatasetExportJobsOutputError { enum ListDatasetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8017,7 +8017,7 @@ enum ListDatasetGroupsOutputError { enum ListDatasetImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8032,7 +8032,7 @@ enum ListDatasetImportJobsOutputError { enum ListDatasetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8047,7 +8047,7 @@ enum ListDatasetsOutputError { enum ListEventTrackersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8062,7 +8062,7 @@ enum ListEventTrackersOutputError { enum ListFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8077,7 +8077,7 @@ enum ListFiltersOutputError { enum ListMetricAttributionMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8092,7 +8092,7 @@ enum ListMetricAttributionMetricsOutputError { enum ListMetricAttributionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8107,7 +8107,7 @@ enum ListMetricAttributionsOutputError { enum ListRecipesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8122,7 +8122,7 @@ enum ListRecipesOutputError { enum ListRecommendersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8137,7 +8137,7 @@ enum ListRecommendersOutputError { enum ListSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8151,7 +8151,7 @@ enum ListSchemasOutputError { enum ListSolutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8166,7 +8166,7 @@ enum ListSolutionsOutputError { enum ListSolutionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8182,7 +8182,7 @@ enum ListSolutionVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8198,7 +8198,7 @@ enum ListTagsForResourceOutputError { enum StartRecommenderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8214,7 +8214,7 @@ enum StartRecommenderOutputError { enum StopRecommenderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8230,7 +8230,7 @@ enum StopRecommenderOutputError { enum StopSolutionVersionCreationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8246,7 +8246,7 @@ enum StopSolutionVersionCreationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8264,7 +8264,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8281,7 +8281,7 @@ enum UntagResourceOutputError { enum UpdateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8297,7 +8297,7 @@ enum UpdateCampaignOutputError { enum UpdateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8313,7 +8313,7 @@ enum UpdateDatasetOutputError { enum UpdateMetricAttributionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8330,7 +8330,7 @@ enum UpdateMetricAttributionOutputError { enum UpdateRecommenderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/Models.swift b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/Models.swift index a287df275b6..812be961ea9 100644 --- a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/Models.swift +++ b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -136,7 +136,7 @@ extension PersonalizeEventsClientTypes { extension PersonalizeEventsClientTypes.ActionInteraction: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "ActionInteraction(eventId: \(Swift.String(describing: eventId)), eventType: \(Swift.String(describing: eventType)), impression: \(Swift.String(describing: impression)), recommendationId: \(Swift.String(describing: recommendationId)), sessionId: \(Swift.String(describing: sessionId)), timestamp: \(Swift.String(describing: timestamp)), actionId: \"CONTENT_REDACTED\", properties: \"CONTENT_REDACTED\", userId: \"CONTENT_REDACTED\")"} + "ActionInteraction(eventId: \(Swift.String(describing: eventId)), eventType: \(Swift.String(describing: eventType)), recommendationId: \(Swift.String(describing: recommendationId)), sessionId: \(Swift.String(describing: sessionId)), timestamp: \(Swift.String(describing: timestamp)), actionId: \"CONTENT_REDACTED\", impression: \"CONTENT_REDACTED\", properties: \"CONTENT_REDACTED\", userId: \"CONTENT_REDACTED\")"} } /// Provide a valid value for the field or parameter. @@ -151,7 +151,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -175,7 +175,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -199,7 +199,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -361,7 +361,7 @@ public struct PutEventsInput { extension PutEventsInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PutEventsInput(eventList: \(Swift.String(describing: eventList)), sessionId: \(Swift.String(describing: sessionId)), trackingId: \(Swift.String(describing: trackingId)), userId: \"CONTENT_REDACTED\")"} + "PutEventsInput(sessionId: \(Swift.String(describing: sessionId)), trackingId: \(Swift.String(describing: trackingId)), eventList: \"CONTENT_REDACTED\", userId: \"CONTENT_REDACTED\")"} } extension PersonalizeEventsClientTypes { @@ -536,42 +536,42 @@ extension PutUsersInput { extension PutActionInteractionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutActionInteractionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutActionInteractionsOutput { return PutActionInteractionsOutput() } } extension PutActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutActionsOutput { return PutActionsOutput() } } extension PutEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventsOutput { return PutEventsOutput() } } extension PutItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutItemsOutput { return PutItemsOutput() } } extension PutUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutUsersOutput { return PutUsersOutput() } } enum PutActionInteractionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -587,7 +587,7 @@ enum PutActionInteractionsOutputError { enum PutActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -603,7 +603,7 @@ enum PutActionsOutputError { enum PutEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -617,7 +617,7 @@ enum PutEventsOutputError { enum PutItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -633,7 +633,7 @@ enum PutItemsOutputError { enum PutUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/Models.swift b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/Models.swift index d4134097aed..3546896a8a6 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/Models.swift +++ b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -53,7 +53,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -77,7 +77,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -117,6 +117,11 @@ public struct GetActionRecommendationsInput { } } +extension GetActionRecommendationsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetActionRecommendationsInput(campaignArn: \(Swift.String(describing: campaignArn)), filterArn: \(Swift.String(describing: filterArn)), numResults: \(Swift.String(describing: numResults)), userId: \(Swift.String(describing: userId)), filterValues: [keys: \(Swift.String(describing: filterValues?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct GetActionRecommendationsOutput { /// A list of action recommendations sorted in descending order by prediction score. There can be a maximum of 100 actions in the list. For information about action scores, see [How action recommendation scoring works](https://docs.aws.amazon.com/personalize/latest/dg/how-action-recommendation-scoring-works.html). public var actionList: [PersonalizeRuntimeClientTypes.PredictedAction]? @@ -172,6 +177,11 @@ public struct GetPersonalizedRankingInput { } } +extension GetPersonalizedRankingInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetPersonalizedRankingInput(campaignArn: \(Swift.String(describing: campaignArn)), filterArn: \(Swift.String(describing: filterArn)), inputList: \(Swift.String(describing: inputList)), metadataColumns: \(Swift.String(describing: metadataColumns)), userId: \(Swift.String(describing: userId)), context: [keys: \(Swift.String(describing: context?.keys)), values: \"CONTENT_REDACTED\"], filterValues: [keys: \(Swift.String(describing: filterValues?.keys)), values: \"CONTENT_REDACTED\"])"} +} + extension PersonalizeRuntimeClientTypes { /// An object that identifies an item. The and APIs return a list of PredictedItems. public struct PredictedItem { @@ -259,6 +269,11 @@ extension PersonalizeRuntimeClientTypes { } +extension PersonalizeRuntimeClientTypes.Promotion: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Promotion(filterArn: \(Swift.String(describing: filterArn)), name: \(Swift.String(describing: name)), percentPromotedItems: \(Swift.String(describing: percentPromotedItems)), filterValues: [keys: \(Swift.String(describing: filterValues?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct GetRecommendationsInput { /// The Amazon Resource Name (ARN) of the campaign to use for getting recommendations. public var campaignArn: Swift.String? @@ -307,6 +322,11 @@ public struct GetRecommendationsInput { } } +extension GetRecommendationsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetRecommendationsInput(campaignArn: \(Swift.String(describing: campaignArn)), filterArn: \(Swift.String(describing: filterArn)), itemId: \(Swift.String(describing: itemId)), metadataColumns: \(Swift.String(describing: metadataColumns)), numResults: \(Swift.String(describing: numResults)), promotions: \(Swift.String(describing: promotions)), recommenderArn: \(Swift.String(describing: recommenderArn)), userId: \(Swift.String(describing: userId)), context: [keys: \(Swift.String(describing: context?.keys)), values: \"CONTENT_REDACTED\"], filterValues: [keys: \(Swift.String(describing: filterValues?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct GetRecommendationsOutput { /// A list of recommendations sorted in descending order by prediction score. There can be a maximum of 500 items in the list. public var itemList: [PersonalizeRuntimeClientTypes.PredictedItem]? @@ -389,7 +409,7 @@ extension GetRecommendationsInput { extension GetActionRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetActionRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetActionRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -402,7 +422,7 @@ extension GetActionRecommendationsOutput { extension GetPersonalizedRankingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPersonalizedRankingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPersonalizedRankingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -415,7 +435,7 @@ extension GetPersonalizedRankingOutput { extension GetRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -428,7 +448,7 @@ extension GetRecommendationsOutput { enum GetActionRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -443,7 +463,7 @@ enum GetActionRecommendationsOutputError { enum GetPersonalizedRankingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -458,7 +478,7 @@ enum GetPersonalizedRankingOutputError { enum GetRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/Models.swift b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/Models.swift index e4a46b2e72e..d1694c9ab06 100644 --- a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/Models.swift +++ b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -2575,7 +2575,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3897,7 +3897,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3926,7 +3926,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3955,7 +3955,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3984,7 +3984,7 @@ public struct MethodNotAllowedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4013,7 +4013,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4042,7 +4042,7 @@ public struct PayloadTooLargeException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4071,7 +4071,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15229,7 +15229,7 @@ extension VerifyOTPMessageInput { extension CreateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15241,7 +15241,7 @@ extension CreateAppOutput { extension CreateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15253,7 +15253,7 @@ extension CreateCampaignOutput { extension CreateEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15265,7 +15265,7 @@ extension CreateEmailTemplateOutput { extension CreateExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15277,7 +15277,7 @@ extension CreateExportJobOutput { extension CreateImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15289,7 +15289,7 @@ extension CreateImportJobOutput { extension CreateInAppTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInAppTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInAppTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15301,7 +15301,7 @@ extension CreateInAppTemplateOutput { extension CreateJourneyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJourneyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJourneyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15313,7 +15313,7 @@ extension CreateJourneyOutput { extension CreatePushTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePushTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePushTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15325,7 +15325,7 @@ extension CreatePushTemplateOutput { extension CreateRecommenderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecommenderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecommenderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15337,7 +15337,7 @@ extension CreateRecommenderConfigurationOutput { extension CreateSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSegmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15349,7 +15349,7 @@ extension CreateSegmentOutput { extension CreateSmsTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSmsTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSmsTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15361,7 +15361,7 @@ extension CreateSmsTemplateOutput { extension CreateVoiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVoiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVoiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15373,7 +15373,7 @@ extension CreateVoiceTemplateOutput { extension DeleteAdmChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAdmChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAdmChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15385,7 +15385,7 @@ extension DeleteAdmChannelOutput { extension DeleteApnsChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApnsChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApnsChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15397,7 +15397,7 @@ extension DeleteApnsChannelOutput { extension DeleteApnsSandboxChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApnsSandboxChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApnsSandboxChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15409,7 +15409,7 @@ extension DeleteApnsSandboxChannelOutput { extension DeleteApnsVoipChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApnsVoipChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApnsVoipChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15421,7 +15421,7 @@ extension DeleteApnsVoipChannelOutput { extension DeleteApnsVoipSandboxChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApnsVoipSandboxChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApnsVoipSandboxChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15433,7 +15433,7 @@ extension DeleteApnsVoipSandboxChannelOutput { extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15445,7 +15445,7 @@ extension DeleteAppOutput { extension DeleteBaiduChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBaiduChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBaiduChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15457,7 +15457,7 @@ extension DeleteBaiduChannelOutput { extension DeleteCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15469,7 +15469,7 @@ extension DeleteCampaignOutput { extension DeleteEmailChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15481,7 +15481,7 @@ extension DeleteEmailChannelOutput { extension DeleteEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15493,7 +15493,7 @@ extension DeleteEmailTemplateOutput { extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15505,7 +15505,7 @@ extension DeleteEndpointOutput { extension DeleteEventStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15517,7 +15517,7 @@ extension DeleteEventStreamOutput { extension DeleteGcmChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGcmChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGcmChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15529,7 +15529,7 @@ extension DeleteGcmChannelOutput { extension DeleteInAppTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInAppTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInAppTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15541,7 +15541,7 @@ extension DeleteInAppTemplateOutput { extension DeleteJourneyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJourneyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJourneyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15553,7 +15553,7 @@ extension DeleteJourneyOutput { extension DeletePushTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePushTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePushTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15565,7 +15565,7 @@ extension DeletePushTemplateOutput { extension DeleteRecommenderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecommenderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecommenderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15577,7 +15577,7 @@ extension DeleteRecommenderConfigurationOutput { extension DeleteSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSegmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15589,7 +15589,7 @@ extension DeleteSegmentOutput { extension DeleteSmsChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSmsChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSmsChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15601,7 +15601,7 @@ extension DeleteSmsChannelOutput { extension DeleteSmsTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSmsTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSmsTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15613,7 +15613,7 @@ extension DeleteSmsTemplateOutput { extension DeleteUserEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15625,7 +15625,7 @@ extension DeleteUserEndpointsOutput { extension DeleteVoiceChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15637,7 +15637,7 @@ extension DeleteVoiceChannelOutput { extension DeleteVoiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15649,7 +15649,7 @@ extension DeleteVoiceTemplateOutput { extension GetAdmChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdmChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdmChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15661,7 +15661,7 @@ extension GetAdmChannelOutput { extension GetApnsChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApnsChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApnsChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15673,7 +15673,7 @@ extension GetApnsChannelOutput { extension GetApnsSandboxChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApnsSandboxChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApnsSandboxChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15685,7 +15685,7 @@ extension GetApnsSandboxChannelOutput { extension GetApnsVoipChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApnsVoipChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApnsVoipChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15697,7 +15697,7 @@ extension GetApnsVoipChannelOutput { extension GetApnsVoipSandboxChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApnsVoipSandboxChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApnsVoipSandboxChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15709,7 +15709,7 @@ extension GetApnsVoipSandboxChannelOutput { extension GetAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15721,7 +15721,7 @@ extension GetAppOutput { extension GetApplicationDateRangeKpiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationDateRangeKpiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationDateRangeKpiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15733,7 +15733,7 @@ extension GetApplicationDateRangeKpiOutput { extension GetApplicationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15745,7 +15745,7 @@ extension GetApplicationSettingsOutput { extension GetAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15757,7 +15757,7 @@ extension GetAppsOutput { extension GetBaiduChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBaiduChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBaiduChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15769,7 +15769,7 @@ extension GetBaiduChannelOutput { extension GetCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15781,7 +15781,7 @@ extension GetCampaignOutput { extension GetCampaignActivitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignActivitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignActivitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15793,7 +15793,7 @@ extension GetCampaignActivitiesOutput { extension GetCampaignDateRangeKpiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignDateRangeKpiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignDateRangeKpiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15805,7 +15805,7 @@ extension GetCampaignDateRangeKpiOutput { extension GetCampaignsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15817,7 +15817,7 @@ extension GetCampaignsOutput { extension GetCampaignVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15829,7 +15829,7 @@ extension GetCampaignVersionOutput { extension GetCampaignVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCampaignVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15841,7 +15841,7 @@ extension GetCampaignVersionsOutput { extension GetChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15853,7 +15853,7 @@ extension GetChannelsOutput { extension GetEmailChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEmailChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEmailChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15865,7 +15865,7 @@ extension GetEmailChannelOutput { extension GetEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15877,7 +15877,7 @@ extension GetEmailTemplateOutput { extension GetEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15889,7 +15889,7 @@ extension GetEndpointOutput { extension GetEventStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEventStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEventStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15901,7 +15901,7 @@ extension GetEventStreamOutput { extension GetExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15913,7 +15913,7 @@ extension GetExportJobOutput { extension GetExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15925,7 +15925,7 @@ extension GetExportJobsOutput { extension GetGcmChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGcmChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGcmChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15937,7 +15937,7 @@ extension GetGcmChannelOutput { extension GetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15949,7 +15949,7 @@ extension GetImportJobOutput { extension GetImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15961,7 +15961,7 @@ extension GetImportJobsOutput { extension GetInAppMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInAppMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInAppMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15973,7 +15973,7 @@ extension GetInAppMessagesOutput { extension GetInAppTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInAppTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInAppTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15985,7 +15985,7 @@ extension GetInAppTemplateOutput { extension GetJourneyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -15997,7 +15997,7 @@ extension GetJourneyOutput { extension GetJourneyDateRangeKpiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyDateRangeKpiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyDateRangeKpiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16009,7 +16009,7 @@ extension GetJourneyDateRangeKpiOutput { extension GetJourneyExecutionActivityMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyExecutionActivityMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyExecutionActivityMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16021,7 +16021,7 @@ extension GetJourneyExecutionActivityMetricsOutput { extension GetJourneyExecutionMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyExecutionMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyExecutionMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16033,7 +16033,7 @@ extension GetJourneyExecutionMetricsOutput { extension GetJourneyRunExecutionActivityMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyRunExecutionActivityMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyRunExecutionActivityMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16045,7 +16045,7 @@ extension GetJourneyRunExecutionActivityMetricsOutput { extension GetJourneyRunExecutionMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyRunExecutionMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyRunExecutionMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16057,7 +16057,7 @@ extension GetJourneyRunExecutionMetricsOutput { extension GetJourneyRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJourneyRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJourneyRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16069,7 +16069,7 @@ extension GetJourneyRunsOutput { extension GetPushTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPushTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPushTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16081,7 +16081,7 @@ extension GetPushTemplateOutput { extension GetRecommenderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommenderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommenderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16093,7 +16093,7 @@ extension GetRecommenderConfigurationOutput { extension GetRecommenderConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommenderConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommenderConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16105,7 +16105,7 @@ extension GetRecommenderConfigurationsOutput { extension GetSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16117,7 +16117,7 @@ extension GetSegmentOutput { extension GetSegmentExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16129,7 +16129,7 @@ extension GetSegmentExportJobsOutput { extension GetSegmentImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16141,7 +16141,7 @@ extension GetSegmentImportJobsOutput { extension GetSegmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16153,7 +16153,7 @@ extension GetSegmentsOutput { extension GetSegmentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16165,7 +16165,7 @@ extension GetSegmentVersionOutput { extension GetSegmentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16177,7 +16177,7 @@ extension GetSegmentVersionsOutput { extension GetSmsChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSmsChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSmsChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16189,7 +16189,7 @@ extension GetSmsChannelOutput { extension GetSmsTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSmsTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSmsTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16201,7 +16201,7 @@ extension GetSmsTemplateOutput { extension GetUserEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16213,7 +16213,7 @@ extension GetUserEndpointsOutput { extension GetVoiceChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16225,7 +16225,7 @@ extension GetVoiceChannelOutput { extension GetVoiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVoiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVoiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16237,7 +16237,7 @@ extension GetVoiceTemplateOutput { extension ListJourneysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJourneysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJourneysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16249,7 +16249,7 @@ extension ListJourneysOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16261,7 +16261,7 @@ extension ListTagsForResourceOutput { extension ListTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16273,7 +16273,7 @@ extension ListTemplatesOutput { extension ListTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16285,7 +16285,7 @@ extension ListTemplateVersionsOutput { extension PhoneNumberValidateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PhoneNumberValidateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PhoneNumberValidateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16297,7 +16297,7 @@ extension PhoneNumberValidateOutput { extension PutEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16309,7 +16309,7 @@ extension PutEventsOutput { extension PutEventStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEventStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEventStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16321,7 +16321,7 @@ extension PutEventStreamOutput { extension RemoveAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16333,7 +16333,7 @@ extension RemoveAttributesOutput { extension SendMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16345,7 +16345,7 @@ extension SendMessagesOutput { extension SendOTPMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendOTPMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendOTPMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16357,7 +16357,7 @@ extension SendOTPMessageOutput { extension SendUsersMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendUsersMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendUsersMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16369,21 +16369,21 @@ extension SendUsersMessagesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAdmChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAdmChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAdmChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16395,7 +16395,7 @@ extension UpdateAdmChannelOutput { extension UpdateApnsChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApnsChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApnsChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16407,7 +16407,7 @@ extension UpdateApnsChannelOutput { extension UpdateApnsSandboxChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApnsSandboxChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApnsSandboxChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16419,7 +16419,7 @@ extension UpdateApnsSandboxChannelOutput { extension UpdateApnsVoipChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApnsVoipChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApnsVoipChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16431,7 +16431,7 @@ extension UpdateApnsVoipChannelOutput { extension UpdateApnsVoipSandboxChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApnsVoipSandboxChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApnsVoipSandboxChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16443,7 +16443,7 @@ extension UpdateApnsVoipSandboxChannelOutput { extension UpdateApplicationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16455,7 +16455,7 @@ extension UpdateApplicationSettingsOutput { extension UpdateBaiduChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBaiduChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBaiduChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16467,7 +16467,7 @@ extension UpdateBaiduChannelOutput { extension UpdateCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16479,7 +16479,7 @@ extension UpdateCampaignOutput { extension UpdateEmailChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEmailChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEmailChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16491,7 +16491,7 @@ extension UpdateEmailChannelOutput { extension UpdateEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16503,7 +16503,7 @@ extension UpdateEmailTemplateOutput { extension UpdateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16515,7 +16515,7 @@ extension UpdateEndpointOutput { extension UpdateEndpointsBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointsBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointsBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16527,7 +16527,7 @@ extension UpdateEndpointsBatchOutput { extension UpdateGcmChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGcmChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGcmChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16539,7 +16539,7 @@ extension UpdateGcmChannelOutput { extension UpdateInAppTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInAppTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInAppTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16551,7 +16551,7 @@ extension UpdateInAppTemplateOutput { extension UpdateJourneyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJourneyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJourneyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16563,7 +16563,7 @@ extension UpdateJourneyOutput { extension UpdateJourneyStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJourneyStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJourneyStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16575,7 +16575,7 @@ extension UpdateJourneyStateOutput { extension UpdatePushTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePushTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePushTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16587,7 +16587,7 @@ extension UpdatePushTemplateOutput { extension UpdateRecommenderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecommenderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecommenderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16599,7 +16599,7 @@ extension UpdateRecommenderConfigurationOutput { extension UpdateSegmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSegmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSegmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16611,7 +16611,7 @@ extension UpdateSegmentOutput { extension UpdateSmsChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSmsChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSmsChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16623,7 +16623,7 @@ extension UpdateSmsChannelOutput { extension UpdateSmsTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSmsTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSmsTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16635,7 +16635,7 @@ extension UpdateSmsTemplateOutput { extension UpdateTemplateActiveVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateActiveVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateActiveVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16647,7 +16647,7 @@ extension UpdateTemplateActiveVersionOutput { extension UpdateVoiceChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16659,7 +16659,7 @@ extension UpdateVoiceChannelOutput { extension UpdateVoiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVoiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVoiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16671,7 +16671,7 @@ extension UpdateVoiceTemplateOutput { extension VerifyOTPMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyOTPMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyOTPMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -16683,7 +16683,7 @@ extension VerifyOTPMessageOutput { enum CreateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16703,7 +16703,7 @@ enum CreateAppOutputError { enum CreateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16723,7 +16723,7 @@ enum CreateCampaignOutputError { enum CreateEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16741,7 +16741,7 @@ enum CreateEmailTemplateOutputError { enum CreateExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16761,7 +16761,7 @@ enum CreateExportJobOutputError { enum CreateImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16781,7 +16781,7 @@ enum CreateImportJobOutputError { enum CreateInAppTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16799,7 +16799,7 @@ enum CreateInAppTemplateOutputError { enum CreateJourneyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16819,7 +16819,7 @@ enum CreateJourneyOutputError { enum CreatePushTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16837,7 +16837,7 @@ enum CreatePushTemplateOutputError { enum CreateRecommenderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16857,7 +16857,7 @@ enum CreateRecommenderConfigurationOutputError { enum CreateSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16877,7 +16877,7 @@ enum CreateSegmentOutputError { enum CreateSmsTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16895,7 +16895,7 @@ enum CreateSmsTemplateOutputError { enum CreateVoiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16913,7 +16913,7 @@ enum CreateVoiceTemplateOutputError { enum DeleteAdmChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16933,7 +16933,7 @@ enum DeleteAdmChannelOutputError { enum DeleteApnsChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16953,7 +16953,7 @@ enum DeleteApnsChannelOutputError { enum DeleteApnsSandboxChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16973,7 +16973,7 @@ enum DeleteApnsSandboxChannelOutputError { enum DeleteApnsVoipChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -16993,7 +16993,7 @@ enum DeleteApnsVoipChannelOutputError { enum DeleteApnsVoipSandboxChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17013,7 +17013,7 @@ enum DeleteApnsVoipSandboxChannelOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17033,7 +17033,7 @@ enum DeleteAppOutputError { enum DeleteBaiduChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17053,7 +17053,7 @@ enum DeleteBaiduChannelOutputError { enum DeleteCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17073,7 +17073,7 @@ enum DeleteCampaignOutputError { enum DeleteEmailChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17093,7 +17093,7 @@ enum DeleteEmailChannelOutputError { enum DeleteEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17113,7 +17113,7 @@ enum DeleteEmailTemplateOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17133,7 +17133,7 @@ enum DeleteEndpointOutputError { enum DeleteEventStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17153,7 +17153,7 @@ enum DeleteEventStreamOutputError { enum DeleteGcmChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17173,7 +17173,7 @@ enum DeleteGcmChannelOutputError { enum DeleteInAppTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17193,7 +17193,7 @@ enum DeleteInAppTemplateOutputError { enum DeleteJourneyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17213,7 +17213,7 @@ enum DeleteJourneyOutputError { enum DeletePushTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17233,7 +17233,7 @@ enum DeletePushTemplateOutputError { enum DeleteRecommenderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17253,7 +17253,7 @@ enum DeleteRecommenderConfigurationOutputError { enum DeleteSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17273,7 +17273,7 @@ enum DeleteSegmentOutputError { enum DeleteSmsChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17293,7 +17293,7 @@ enum DeleteSmsChannelOutputError { enum DeleteSmsTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17313,7 +17313,7 @@ enum DeleteSmsTemplateOutputError { enum DeleteUserEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17333,7 +17333,7 @@ enum DeleteUserEndpointsOutputError { enum DeleteVoiceChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17353,7 +17353,7 @@ enum DeleteVoiceChannelOutputError { enum DeleteVoiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17373,7 +17373,7 @@ enum DeleteVoiceTemplateOutputError { enum GetAdmChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17393,7 +17393,7 @@ enum GetAdmChannelOutputError { enum GetApnsChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17413,7 +17413,7 @@ enum GetApnsChannelOutputError { enum GetApnsSandboxChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17433,7 +17433,7 @@ enum GetApnsSandboxChannelOutputError { enum GetApnsVoipChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17453,7 +17453,7 @@ enum GetApnsVoipChannelOutputError { enum GetApnsVoipSandboxChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17473,7 +17473,7 @@ enum GetApnsVoipSandboxChannelOutputError { enum GetAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17493,7 +17493,7 @@ enum GetAppOutputError { enum GetApplicationDateRangeKpiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17513,7 +17513,7 @@ enum GetApplicationDateRangeKpiOutputError { enum GetApplicationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17533,7 +17533,7 @@ enum GetApplicationSettingsOutputError { enum GetAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17553,7 +17553,7 @@ enum GetAppsOutputError { enum GetBaiduChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17573,7 +17573,7 @@ enum GetBaiduChannelOutputError { enum GetCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17593,7 +17593,7 @@ enum GetCampaignOutputError { enum GetCampaignActivitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17613,7 +17613,7 @@ enum GetCampaignActivitiesOutputError { enum GetCampaignDateRangeKpiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17633,7 +17633,7 @@ enum GetCampaignDateRangeKpiOutputError { enum GetCampaignsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17653,7 +17653,7 @@ enum GetCampaignsOutputError { enum GetCampaignVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17673,7 +17673,7 @@ enum GetCampaignVersionOutputError { enum GetCampaignVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17693,7 +17693,7 @@ enum GetCampaignVersionsOutputError { enum GetChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17713,7 +17713,7 @@ enum GetChannelsOutputError { enum GetEmailChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17733,7 +17733,7 @@ enum GetEmailChannelOutputError { enum GetEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17753,7 +17753,7 @@ enum GetEmailTemplateOutputError { enum GetEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17773,7 +17773,7 @@ enum GetEndpointOutputError { enum GetEventStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17793,7 +17793,7 @@ enum GetEventStreamOutputError { enum GetExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17813,7 +17813,7 @@ enum GetExportJobOutputError { enum GetExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17833,7 +17833,7 @@ enum GetExportJobsOutputError { enum GetGcmChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17853,7 +17853,7 @@ enum GetGcmChannelOutputError { enum GetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17873,7 +17873,7 @@ enum GetImportJobOutputError { enum GetImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17893,7 +17893,7 @@ enum GetImportJobsOutputError { enum GetInAppMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17913,7 +17913,7 @@ enum GetInAppMessagesOutputError { enum GetInAppTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17933,7 +17933,7 @@ enum GetInAppTemplateOutputError { enum GetJourneyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17953,7 +17953,7 @@ enum GetJourneyOutputError { enum GetJourneyDateRangeKpiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17973,7 +17973,7 @@ enum GetJourneyDateRangeKpiOutputError { enum GetJourneyExecutionActivityMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -17993,7 +17993,7 @@ enum GetJourneyExecutionActivityMetricsOutputError { enum GetJourneyExecutionMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18013,7 +18013,7 @@ enum GetJourneyExecutionMetricsOutputError { enum GetJourneyRunExecutionActivityMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18033,7 +18033,7 @@ enum GetJourneyRunExecutionActivityMetricsOutputError { enum GetJourneyRunExecutionMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18053,7 +18053,7 @@ enum GetJourneyRunExecutionMetricsOutputError { enum GetJourneyRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18073,7 +18073,7 @@ enum GetJourneyRunsOutputError { enum GetPushTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18093,7 +18093,7 @@ enum GetPushTemplateOutputError { enum GetRecommenderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18113,7 +18113,7 @@ enum GetRecommenderConfigurationOutputError { enum GetRecommenderConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18133,7 +18133,7 @@ enum GetRecommenderConfigurationsOutputError { enum GetSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18153,7 +18153,7 @@ enum GetSegmentOutputError { enum GetSegmentExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18173,7 +18173,7 @@ enum GetSegmentExportJobsOutputError { enum GetSegmentImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18193,7 +18193,7 @@ enum GetSegmentImportJobsOutputError { enum GetSegmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18213,7 +18213,7 @@ enum GetSegmentsOutputError { enum GetSegmentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18233,7 +18233,7 @@ enum GetSegmentVersionOutputError { enum GetSegmentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18253,7 +18253,7 @@ enum GetSegmentVersionsOutputError { enum GetSmsChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18273,7 +18273,7 @@ enum GetSmsChannelOutputError { enum GetSmsTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18293,7 +18293,7 @@ enum GetSmsTemplateOutputError { enum GetUserEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18313,7 +18313,7 @@ enum GetUserEndpointsOutputError { enum GetVoiceChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18333,7 +18333,7 @@ enum GetVoiceChannelOutputError { enum GetVoiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18353,7 +18353,7 @@ enum GetVoiceTemplateOutputError { enum ListJourneysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18373,7 +18373,7 @@ enum ListJourneysOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18386,7 +18386,7 @@ enum ListTagsForResourceOutputError { enum ListTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18404,7 +18404,7 @@ enum ListTemplatesOutputError { enum ListTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18424,7 +18424,7 @@ enum ListTemplateVersionsOutputError { enum PhoneNumberValidateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18444,7 +18444,7 @@ enum PhoneNumberValidateOutputError { enum PutEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18464,7 +18464,7 @@ enum PutEventsOutputError { enum PutEventStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18484,7 +18484,7 @@ enum PutEventStreamOutputError { enum RemoveAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18504,7 +18504,7 @@ enum RemoveAttributesOutputError { enum SendMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18524,7 +18524,7 @@ enum SendMessagesOutputError { enum SendOTPMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18544,7 +18544,7 @@ enum SendOTPMessageOutputError { enum SendUsersMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18564,7 +18564,7 @@ enum SendUsersMessagesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18577,7 +18577,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18590,7 +18590,7 @@ enum UntagResourceOutputError { enum UpdateAdmChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18610,7 +18610,7 @@ enum UpdateAdmChannelOutputError { enum UpdateApnsChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18630,7 +18630,7 @@ enum UpdateApnsChannelOutputError { enum UpdateApnsSandboxChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18650,7 +18650,7 @@ enum UpdateApnsSandboxChannelOutputError { enum UpdateApnsVoipChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18670,7 +18670,7 @@ enum UpdateApnsVoipChannelOutputError { enum UpdateApnsVoipSandboxChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18690,7 +18690,7 @@ enum UpdateApnsVoipSandboxChannelOutputError { enum UpdateApplicationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18710,7 +18710,7 @@ enum UpdateApplicationSettingsOutputError { enum UpdateBaiduChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18730,7 +18730,7 @@ enum UpdateBaiduChannelOutputError { enum UpdateCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18750,7 +18750,7 @@ enum UpdateCampaignOutputError { enum UpdateEmailChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18770,7 +18770,7 @@ enum UpdateEmailChannelOutputError { enum UpdateEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18790,7 +18790,7 @@ enum UpdateEmailTemplateOutputError { enum UpdateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18810,7 +18810,7 @@ enum UpdateEndpointOutputError { enum UpdateEndpointsBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18830,7 +18830,7 @@ enum UpdateEndpointsBatchOutputError { enum UpdateGcmChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18850,7 +18850,7 @@ enum UpdateGcmChannelOutputError { enum UpdateInAppTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18870,7 +18870,7 @@ enum UpdateInAppTemplateOutputError { enum UpdateJourneyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18891,7 +18891,7 @@ enum UpdateJourneyOutputError { enum UpdateJourneyStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18911,7 +18911,7 @@ enum UpdateJourneyStateOutputError { enum UpdatePushTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18931,7 +18931,7 @@ enum UpdatePushTemplateOutputError { enum UpdateRecommenderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18951,7 +18951,7 @@ enum UpdateRecommenderConfigurationOutputError { enum UpdateSegmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18971,7 +18971,7 @@ enum UpdateSegmentOutputError { enum UpdateSmsChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18991,7 +18991,7 @@ enum UpdateSmsChannelOutputError { enum UpdateSmsTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19011,7 +19011,7 @@ enum UpdateSmsTemplateOutputError { enum UpdateTemplateActiveVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19031,7 +19031,7 @@ enum UpdateTemplateActiveVersionOutputError { enum UpdateVoiceChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19051,7 +19051,7 @@ enum UpdateVoiceChannelOutputError { enum UpdateVoiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19071,7 +19071,7 @@ enum UpdateVoiceTemplateOutputError { enum VerifyOTPMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/Models.swift b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/Models.swift index 573f55309de..c765569d0fe 100644 --- a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/Models.swift +++ b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccountSuspendedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -135,7 +135,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,7 +159,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -183,7 +183,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -658,7 +658,7 @@ public struct MailFromDomainNotVerifiedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -682,7 +682,7 @@ public struct MessageRejected: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -706,7 +706,7 @@ public struct SendingPausedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3657,28 +3657,28 @@ extension UpdateConfigurationSetEventDestinationInput { extension CreateConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetOutput { return CreateConfigurationSetOutput() } } extension CreateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetEventDestinationOutput { return CreateConfigurationSetEventDestinationOutput() } } extension CreateDedicatedIpPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDedicatedIpPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDedicatedIpPoolOutput { return CreateDedicatedIpPoolOutput() } } extension CreateDeliverabilityTestReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeliverabilityTestReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeliverabilityTestReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3691,7 +3691,7 @@ extension CreateDeliverabilityTestReportOutput { extension CreateEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEmailIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3705,35 +3705,35 @@ extension CreateEmailIdentityOutput { extension DeleteConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetOutput { return DeleteConfigurationSetOutput() } } extension DeleteConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { return DeleteConfigurationSetEventDestinationOutput() } } extension DeleteDedicatedIpPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDedicatedIpPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDedicatedIpPoolOutput { return DeleteDedicatedIpPoolOutput() } } extension DeleteEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailIdentityOutput { return DeleteEmailIdentityOutput() } } extension GetAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3749,7 +3749,7 @@ extension GetAccountOutput { extension GetBlacklistReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlacklistReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlacklistReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3761,7 +3761,7 @@ extension GetBlacklistReportsOutput { extension GetConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3778,7 +3778,7 @@ extension GetConfigurationSetOutput { extension GetConfigurationSetEventDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationSetEventDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationSetEventDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3790,7 +3790,7 @@ extension GetConfigurationSetEventDestinationsOutput { extension GetDedicatedIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDedicatedIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDedicatedIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3802,7 +3802,7 @@ extension GetDedicatedIpOutput { extension GetDedicatedIpsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDedicatedIpsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDedicatedIpsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3815,7 +3815,7 @@ extension GetDedicatedIpsOutput { extension GetDeliverabilityDashboardOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliverabilityDashboardOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliverabilityDashboardOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3831,7 +3831,7 @@ extension GetDeliverabilityDashboardOptionsOutput { extension GetDeliverabilityTestReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliverabilityTestReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliverabilityTestReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3847,7 +3847,7 @@ extension GetDeliverabilityTestReportOutput { extension GetDomainDeliverabilityCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainDeliverabilityCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainDeliverabilityCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3859,7 +3859,7 @@ extension GetDomainDeliverabilityCampaignOutput { extension GetDomainStatisticsReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainStatisticsReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainStatisticsReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3872,7 +3872,7 @@ extension GetDomainStatisticsReportOutput { extension GetEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEmailIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3889,7 +3889,7 @@ extension GetEmailIdentityOutput { extension ListConfigurationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3902,7 +3902,7 @@ extension ListConfigurationSetsOutput { extension ListDedicatedIpPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDedicatedIpPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDedicatedIpPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3915,7 +3915,7 @@ extension ListDedicatedIpPoolsOutput { extension ListDeliverabilityTestReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeliverabilityTestReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeliverabilityTestReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3928,7 +3928,7 @@ extension ListDeliverabilityTestReportsOutput { extension ListDomainDeliverabilityCampaignsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainDeliverabilityCampaignsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainDeliverabilityCampaignsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3941,7 +3941,7 @@ extension ListDomainDeliverabilityCampaignsOutput { extension ListEmailIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEmailIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEmailIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3954,7 +3954,7 @@ extension ListEmailIdentitiesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3966,91 +3966,91 @@ extension ListTagsForResourceOutput { extension PutAccountDedicatedIpWarmupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountDedicatedIpWarmupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountDedicatedIpWarmupAttributesOutput { return PutAccountDedicatedIpWarmupAttributesOutput() } } extension PutAccountSendingAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountSendingAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountSendingAttributesOutput { return PutAccountSendingAttributesOutput() } } extension PutConfigurationSetDeliveryOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetDeliveryOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetDeliveryOptionsOutput { return PutConfigurationSetDeliveryOptionsOutput() } } extension PutConfigurationSetReputationOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetReputationOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetReputationOptionsOutput { return PutConfigurationSetReputationOptionsOutput() } } extension PutConfigurationSetSendingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetSendingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetSendingOptionsOutput { return PutConfigurationSetSendingOptionsOutput() } } extension PutConfigurationSetTrackingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetTrackingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetTrackingOptionsOutput { return PutConfigurationSetTrackingOptionsOutput() } } extension PutDedicatedIpInPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDedicatedIpInPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDedicatedIpInPoolOutput { return PutDedicatedIpInPoolOutput() } } extension PutDedicatedIpWarmupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDedicatedIpWarmupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDedicatedIpWarmupAttributesOutput { return PutDedicatedIpWarmupAttributesOutput() } } extension PutDeliverabilityDashboardOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeliverabilityDashboardOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeliverabilityDashboardOptionOutput { return PutDeliverabilityDashboardOptionOutput() } } extension PutEmailIdentityDkimAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityDkimAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityDkimAttributesOutput { return PutEmailIdentityDkimAttributesOutput() } } extension PutEmailIdentityFeedbackAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityFeedbackAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityFeedbackAttributesOutput { return PutEmailIdentityFeedbackAttributesOutput() } } extension PutEmailIdentityMailFromAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityMailFromAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityMailFromAttributesOutput { return PutEmailIdentityMailFromAttributesOutput() } } extension SendEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4062,28 +4062,28 @@ extension SendEmailOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { return UpdateConfigurationSetEventDestinationOutput() } } enum CreateConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4102,7 +4102,7 @@ enum CreateConfigurationSetOutputError { enum CreateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4120,7 +4120,7 @@ enum CreateConfigurationSetEventDestinationOutputError { enum CreateDedicatedIpPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4138,7 +4138,7 @@ enum CreateDedicatedIpPoolOutputError { enum CreateDeliverabilityTestReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4160,7 +4160,7 @@ enum CreateDeliverabilityTestReportOutputError { enum CreateEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4177,7 +4177,7 @@ enum CreateEmailIdentityOutputError { enum DeleteConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4194,7 +4194,7 @@ enum DeleteConfigurationSetOutputError { enum DeleteConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4210,7 +4210,7 @@ enum DeleteConfigurationSetEventDestinationOutputError { enum DeleteDedicatedIpPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4227,7 +4227,7 @@ enum DeleteDedicatedIpPoolOutputError { enum DeleteEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4244,7 +4244,7 @@ enum DeleteEmailIdentityOutputError { enum GetAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4259,7 +4259,7 @@ enum GetAccountOutputError { enum GetBlacklistReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4275,7 +4275,7 @@ enum GetBlacklistReportsOutputError { enum GetConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4291,7 +4291,7 @@ enum GetConfigurationSetOutputError { enum GetConfigurationSetEventDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4307,7 +4307,7 @@ enum GetConfigurationSetEventDestinationsOutputError { enum GetDedicatedIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4323,7 +4323,7 @@ enum GetDedicatedIpOutputError { enum GetDedicatedIpsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4339,7 +4339,7 @@ enum GetDedicatedIpsOutputError { enum GetDeliverabilityDashboardOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4355,7 +4355,7 @@ enum GetDeliverabilityDashboardOptionsOutputError { enum GetDeliverabilityTestReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4371,7 +4371,7 @@ enum GetDeliverabilityTestReportOutputError { enum GetDomainDeliverabilityCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4387,7 +4387,7 @@ enum GetDomainDeliverabilityCampaignOutputError { enum GetDomainStatisticsReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4403,7 +4403,7 @@ enum GetDomainStatisticsReportOutputError { enum GetEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4419,7 +4419,7 @@ enum GetEmailIdentityOutputError { enum ListConfigurationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4434,7 +4434,7 @@ enum ListConfigurationSetsOutputError { enum ListDedicatedIpPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4449,7 +4449,7 @@ enum ListDedicatedIpPoolsOutputError { enum ListDeliverabilityTestReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4465,7 +4465,7 @@ enum ListDeliverabilityTestReportsOutputError { enum ListDomainDeliverabilityCampaignsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4481,7 +4481,7 @@ enum ListDomainDeliverabilityCampaignsOutputError { enum ListEmailIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4496,7 +4496,7 @@ enum ListEmailIdentitiesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4512,7 +4512,7 @@ enum ListTagsForResourceOutputError { enum PutAccountDedicatedIpWarmupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4527,7 +4527,7 @@ enum PutAccountDedicatedIpWarmupAttributesOutputError { enum PutAccountSendingAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4542,7 +4542,7 @@ enum PutAccountSendingAttributesOutputError { enum PutConfigurationSetDeliveryOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4558,7 +4558,7 @@ enum PutConfigurationSetDeliveryOptionsOutputError { enum PutConfigurationSetReputationOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4574,7 +4574,7 @@ enum PutConfigurationSetReputationOptionsOutputError { enum PutConfigurationSetSendingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4590,7 +4590,7 @@ enum PutConfigurationSetSendingOptionsOutputError { enum PutConfigurationSetTrackingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4606,7 +4606,7 @@ enum PutConfigurationSetTrackingOptionsOutputError { enum PutDedicatedIpInPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4622,7 +4622,7 @@ enum PutDedicatedIpInPoolOutputError { enum PutDedicatedIpWarmupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4638,7 +4638,7 @@ enum PutDedicatedIpWarmupAttributesOutputError { enum PutDeliverabilityDashboardOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4656,7 +4656,7 @@ enum PutDeliverabilityDashboardOptionOutputError { enum PutEmailIdentityDkimAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4672,7 +4672,7 @@ enum PutEmailIdentityDkimAttributesOutputError { enum PutEmailIdentityFeedbackAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4688,7 +4688,7 @@ enum PutEmailIdentityFeedbackAttributesOutputError { enum PutEmailIdentityMailFromAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4704,7 +4704,7 @@ enum PutEmailIdentityMailFromAttributesOutputError { enum SendEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4725,7 +4725,7 @@ enum SendEmailOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4742,7 +4742,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4759,7 +4759,7 @@ enum UntagResourceOutputError { enum UpdateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/Models.swift b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/Models.swift index 24163809b5a..1b5db8e422b 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/Models.swift +++ b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -118,7 +118,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -142,7 +142,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -166,7 +166,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -209,7 +209,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -775,35 +775,35 @@ extension UpdateConfigurationSetEventDestinationInput { extension CreateConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetOutput { return CreateConfigurationSetOutput() } } extension CreateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetEventDestinationOutput { return CreateConfigurationSetEventDestinationOutput() } } extension DeleteConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetOutput { return DeleteConfigurationSetOutput() } } extension DeleteConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { return DeleteConfigurationSetEventDestinationOutput() } } extension GetConfigurationSetEventDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationSetEventDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationSetEventDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -815,7 +815,7 @@ extension GetConfigurationSetEventDestinationsOutput { extension ListConfigurationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -828,7 +828,7 @@ extension ListConfigurationSetsOutput { extension SendVoiceMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendVoiceMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendVoiceMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -840,14 +840,14 @@ extension SendVoiceMessageOutput { extension UpdateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { return UpdateConfigurationSetEventDestinationOutput() } } enum CreateConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -865,7 +865,7 @@ enum CreateConfigurationSetOutputError { enum CreateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -884,7 +884,7 @@ enum CreateConfigurationSetEventDestinationOutputError { enum DeleteConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -901,7 +901,7 @@ enum DeleteConfigurationSetOutputError { enum DeleteConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -918,7 +918,7 @@ enum DeleteConfigurationSetEventDestinationOutputError { enum GetConfigurationSetEventDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -935,7 +935,7 @@ enum GetConfigurationSetEventDestinationsOutputError { enum ListConfigurationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -951,7 +951,7 @@ enum ListConfigurationSetsOutputError { enum SendVoiceMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -967,7 +967,7 @@ enum SendVoiceMessageOutputError { enum UpdateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift index aa1f52700e6..26885061978 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -66,7 +66,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -413,7 +413,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -445,7 +445,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -475,7 +475,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -597,7 +597,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -623,7 +623,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -813,7 +813,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9580,7 +9580,7 @@ extension VerifyDestinationNumberInput { extension AssociateOriginationIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateOriginationIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateOriginationIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9596,7 +9596,7 @@ extension AssociateOriginationIdentityOutput { extension AssociateProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9611,7 +9611,7 @@ extension AssociateProtectConfigurationOutput { extension CreateConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9626,7 +9626,7 @@ extension CreateConfigurationSetOutput { extension CreateEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9640,7 +9640,7 @@ extension CreateEventDestinationOutput { extension CreateOptOutListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOptOutListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOptOutListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9655,7 +9655,7 @@ extension CreateOptOutListOutput { extension CreatePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9679,7 +9679,7 @@ extension CreatePoolOutput { extension CreateProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9696,7 +9696,7 @@ extension CreateProtectConfigurationOutput { extension CreateRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9715,7 +9715,7 @@ extension CreateRegistrationOutput { extension CreateRegistrationAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegistrationAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegistrationAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9734,7 +9734,7 @@ extension CreateRegistrationAssociationOutput { extension CreateRegistrationAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegistrationAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegistrationAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9750,7 +9750,7 @@ extension CreateRegistrationAttachmentOutput { extension CreateRegistrationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegistrationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegistrationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9766,7 +9766,7 @@ extension CreateRegistrationVersionOutput { extension CreateVerifiedDestinationNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVerifiedDestinationNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVerifiedDestinationNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9783,7 +9783,7 @@ extension CreateVerifiedDestinationNumberOutput { extension DeleteAccountDefaultProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountDefaultProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountDefaultProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9796,7 +9796,7 @@ extension DeleteAccountDefaultProtectConfigurationOutput { extension DeleteConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9813,7 +9813,7 @@ extension DeleteConfigurationSetOutput { extension DeleteDefaultMessageTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDefaultMessageTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDefaultMessageTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9827,7 +9827,7 @@ extension DeleteDefaultMessageTypeOutput { extension DeleteDefaultSenderIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDefaultSenderIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDefaultSenderIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9841,7 +9841,7 @@ extension DeleteDefaultSenderIdOutput { extension DeleteEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9855,7 +9855,7 @@ extension DeleteEventDestinationOutput { extension DeleteKeywordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeywordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeywordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9871,7 +9871,7 @@ extension DeleteKeywordOutput { extension DeleteMediaMessageSpendLimitOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMediaMessageSpendLimitOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMediaMessageSpendLimitOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9883,7 +9883,7 @@ extension DeleteMediaMessageSpendLimitOverrideOutput { extension DeleteOptedOutNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOptedOutNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOptedOutNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9899,7 +9899,7 @@ extension DeleteOptedOutNumberOutput { extension DeleteOptOutListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOptOutListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOptOutListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9913,7 +9913,7 @@ extension DeleteOptOutListOutput { extension DeletePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9935,7 +9935,7 @@ extension DeletePoolOutput { extension DeleteProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9951,7 +9951,7 @@ extension DeleteProtectConfigurationOutput { extension DeleteRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9971,7 +9971,7 @@ extension DeleteRegistrationOutput { extension DeleteRegistrationAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistrationAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistrationAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9987,7 +9987,7 @@ extension DeleteRegistrationAttachmentOutput { extension DeleteRegistrationFieldValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistrationFieldValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistrationFieldValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10005,7 +10005,7 @@ extension DeleteRegistrationFieldValueOutput { extension DeleteTextMessageSpendLimitOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTextMessageSpendLimitOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTextMessageSpendLimitOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10017,7 +10017,7 @@ extension DeleteTextMessageSpendLimitOverrideOutput { extension DeleteVerifiedDestinationNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVerifiedDestinationNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVerifiedDestinationNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10032,7 +10032,7 @@ extension DeleteVerifiedDestinationNumberOutput { extension DeleteVoiceMessageSpendLimitOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVoiceMessageSpendLimitOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVoiceMessageSpendLimitOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10044,7 +10044,7 @@ extension DeleteVoiceMessageSpendLimitOverrideOutput { extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10057,7 +10057,7 @@ extension DescribeAccountAttributesOutput { extension DescribeAccountLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10070,7 +10070,7 @@ extension DescribeAccountLimitsOutput { extension DescribeConfigurationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10083,7 +10083,7 @@ extension DescribeConfigurationSetsOutput { extension DescribeKeywordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeywordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeywordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10098,7 +10098,7 @@ extension DescribeKeywordsOutput { extension DescribeOptedOutNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOptedOutNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOptedOutNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10113,7 +10113,7 @@ extension DescribeOptedOutNumbersOutput { extension DescribeOptOutListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOptOutListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOptOutListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10126,7 +10126,7 @@ extension DescribeOptOutListsOutput { extension DescribePhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10139,7 +10139,7 @@ extension DescribePhoneNumbersOutput { extension DescribePoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10152,7 +10152,7 @@ extension DescribePoolsOutput { extension DescribeProtectConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProtectConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProtectConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10165,7 +10165,7 @@ extension DescribeProtectConfigurationsOutput { extension DescribeRegistrationAttachmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationAttachmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationAttachmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10178,7 +10178,7 @@ extension DescribeRegistrationAttachmentsOutput { extension DescribeRegistrationFieldDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationFieldDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationFieldDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10192,7 +10192,7 @@ extension DescribeRegistrationFieldDefinitionsOutput { extension DescribeRegistrationFieldValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationFieldValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationFieldValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10208,7 +10208,7 @@ extension DescribeRegistrationFieldValuesOutput { extension DescribeRegistrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10221,7 +10221,7 @@ extension DescribeRegistrationsOutput { extension DescribeRegistrationSectionDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationSectionDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationSectionDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10235,7 +10235,7 @@ extension DescribeRegistrationSectionDefinitionsOutput { extension DescribeRegistrationTypeDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationTypeDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationTypeDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10248,7 +10248,7 @@ extension DescribeRegistrationTypeDefinitionsOutput { extension DescribeRegistrationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistrationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistrationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10263,7 +10263,7 @@ extension DescribeRegistrationVersionsOutput { extension DescribeSenderIdsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSenderIdsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSenderIdsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10276,7 +10276,7 @@ extension DescribeSenderIdsOutput { extension DescribeSpendLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpendLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpendLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10289,7 +10289,7 @@ extension DescribeSpendLimitsOutput { extension DescribeVerifiedDestinationNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVerifiedDestinationNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVerifiedDestinationNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10302,7 +10302,7 @@ extension DescribeVerifiedDestinationNumbersOutput { extension DisassociateOriginationIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateOriginationIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateOriginationIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10318,7 +10318,7 @@ extension DisassociateOriginationIdentityOutput { extension DisassociateProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10333,7 +10333,7 @@ extension DisassociateProtectConfigurationOutput { extension DiscardRegistrationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DiscardRegistrationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DiscardRegistrationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10349,7 +10349,7 @@ extension DiscardRegistrationVersionOutput { extension GetProtectConfigurationCountryRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProtectConfigurationCountryRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProtectConfigurationCountryRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10364,7 +10364,7 @@ extension GetProtectConfigurationCountryRuleSetOutput { extension ListPoolOriginationIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoolOriginationIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoolOriginationIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10379,7 +10379,7 @@ extension ListPoolOriginationIdentitiesOutput { extension ListRegistrationAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegistrationAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegistrationAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10395,7 +10395,7 @@ extension ListRegistrationAssociationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10408,7 +10408,7 @@ extension ListTagsForResourceOutput { extension PutKeywordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutKeywordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutKeywordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10424,7 +10424,7 @@ extension PutKeywordOutput { extension PutOptedOutNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutOptedOutNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOptedOutNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10440,7 +10440,7 @@ extension PutOptedOutNumberOutput { extension PutRegistrationFieldValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRegistrationFieldValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRegistrationFieldValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10458,7 +10458,7 @@ extension PutRegistrationFieldValueOutput { extension ReleasePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleasePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleasePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10485,7 +10485,7 @@ extension ReleasePhoneNumberOutput { extension ReleaseSenderIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReleaseSenderIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReleaseSenderIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10503,7 +10503,7 @@ extension ReleaseSenderIdOutput { extension RequestPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestPhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10533,7 +10533,7 @@ extension RequestPhoneNumberOutput { extension RequestSenderIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestSenderIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestSenderIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10552,7 +10552,7 @@ extension RequestSenderIdOutput { extension SendDestinationNumberVerificationCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendDestinationNumberVerificationCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendDestinationNumberVerificationCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10564,7 +10564,7 @@ extension SendDestinationNumberVerificationCodeOutput { extension SendMediaMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendMediaMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendMediaMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10576,7 +10576,7 @@ extension SendMediaMessageOutput { extension SendTextMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendTextMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendTextMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10588,7 +10588,7 @@ extension SendTextMessageOutput { extension SendVoiceMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendVoiceMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendVoiceMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10600,7 +10600,7 @@ extension SendVoiceMessageOutput { extension SetAccountDefaultProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetAccountDefaultProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetAccountDefaultProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10613,7 +10613,7 @@ extension SetAccountDefaultProtectConfigurationOutput { extension SetDefaultMessageTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDefaultMessageTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultMessageTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10627,7 +10627,7 @@ extension SetDefaultMessageTypeOutput { extension SetDefaultSenderIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDefaultSenderIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultSenderIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10641,7 +10641,7 @@ extension SetDefaultSenderIdOutput { extension SetMediaMessageSpendLimitOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetMediaMessageSpendLimitOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetMediaMessageSpendLimitOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10653,7 +10653,7 @@ extension SetMediaMessageSpendLimitOverrideOutput { extension SetTextMessageSpendLimitOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTextMessageSpendLimitOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTextMessageSpendLimitOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10665,7 +10665,7 @@ extension SetTextMessageSpendLimitOverrideOutput { extension SetVoiceMessageSpendLimitOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetVoiceMessageSpendLimitOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetVoiceMessageSpendLimitOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10677,7 +10677,7 @@ extension SetVoiceMessageSpendLimitOverrideOutput { extension SubmitRegistrationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitRegistrationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitRegistrationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10693,21 +10693,21 @@ extension SubmitRegistrationVersionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEventDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10721,7 +10721,7 @@ extension UpdateEventDestinationOutput { extension UpdatePhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePhoneNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10749,7 +10749,7 @@ extension UpdatePhoneNumberOutput { extension UpdatePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10772,7 +10772,7 @@ extension UpdatePoolOutput { extension UpdateProtectConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProtectConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProtectConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10788,7 +10788,7 @@ extension UpdateProtectConfigurationOutput { extension UpdateProtectConfigurationCountryRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProtectConfigurationCountryRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProtectConfigurationCountryRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10803,7 +10803,7 @@ extension UpdateProtectConfigurationCountryRuleSetOutput { extension UpdateSenderIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSenderIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSenderIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10822,7 +10822,7 @@ extension UpdateSenderIdOutput { extension VerifyDestinationNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyDestinationNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyDestinationNumberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10838,7 +10838,7 @@ extension VerifyDestinationNumberOutput { enum AssociateOriginationIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10858,7 +10858,7 @@ enum AssociateOriginationIdentityOutputError { enum AssociateProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10877,7 +10877,7 @@ enum AssociateProtectConfigurationOutputError { enum CreateConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10896,7 +10896,7 @@ enum CreateConfigurationSetOutputError { enum CreateEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10916,7 +10916,7 @@ enum CreateEventDestinationOutputError { enum CreateOptOutListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10935,7 +10935,7 @@ enum CreateOptOutListOutputError { enum CreatePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10955,7 +10955,7 @@ enum CreatePoolOutputError { enum CreateProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10973,7 +10973,7 @@ enum CreateProtectConfigurationOutputError { enum CreateRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10992,7 +10992,7 @@ enum CreateRegistrationOutputError { enum CreateRegistrationAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11012,7 +11012,7 @@ enum CreateRegistrationAssociationOutputError { enum CreateRegistrationAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11031,7 +11031,7 @@ enum CreateRegistrationAttachmentOutputError { enum CreateRegistrationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11051,7 +11051,7 @@ enum CreateRegistrationVersionOutputError { enum CreateVerifiedDestinationNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11070,7 +11070,7 @@ enum CreateVerifiedDestinationNumberOutputError { enum DeleteAccountDefaultProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11088,7 +11088,7 @@ enum DeleteAccountDefaultProtectConfigurationOutputError { enum DeleteConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11106,7 +11106,7 @@ enum DeleteConfigurationSetOutputError { enum DeleteDefaultMessageTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11124,7 +11124,7 @@ enum DeleteDefaultMessageTypeOutputError { enum DeleteDefaultSenderIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11142,7 +11142,7 @@ enum DeleteDefaultSenderIdOutputError { enum DeleteEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11160,7 +11160,7 @@ enum DeleteEventDestinationOutputError { enum DeleteKeywordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11179,7 +11179,7 @@ enum DeleteKeywordOutputError { enum DeleteMediaMessageSpendLimitOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11196,7 +11196,7 @@ enum DeleteMediaMessageSpendLimitOverrideOutputError { enum DeleteOptedOutNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11215,7 +11215,7 @@ enum DeleteOptedOutNumberOutputError { enum DeleteOptOutListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11234,7 +11234,7 @@ enum DeleteOptOutListOutputError { enum DeletePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11253,7 +11253,7 @@ enum DeletePoolOutputError { enum DeleteProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11272,7 +11272,7 @@ enum DeleteProtectConfigurationOutputError { enum DeleteRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11291,7 +11291,7 @@ enum DeleteRegistrationOutputError { enum DeleteRegistrationAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11310,7 +11310,7 @@ enum DeleteRegistrationAttachmentOutputError { enum DeleteRegistrationFieldValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11329,7 +11329,7 @@ enum DeleteRegistrationFieldValueOutputError { enum DeleteTextMessageSpendLimitOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11346,7 +11346,7 @@ enum DeleteTextMessageSpendLimitOverrideOutputError { enum DeleteVerifiedDestinationNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11365,7 +11365,7 @@ enum DeleteVerifiedDestinationNumberOutputError { enum DeleteVoiceMessageSpendLimitOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11382,7 +11382,7 @@ enum DeleteVoiceMessageSpendLimitOverrideOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11399,7 +11399,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeAccountLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11416,7 +11416,7 @@ enum DescribeAccountLimitsOutputError { enum DescribeConfigurationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11434,7 +11434,7 @@ enum DescribeConfigurationSetsOutputError { enum DescribeKeywordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11452,7 +11452,7 @@ enum DescribeKeywordsOutputError { enum DescribeOptedOutNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11470,7 +11470,7 @@ enum DescribeOptedOutNumbersOutputError { enum DescribeOptOutListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11488,7 +11488,7 @@ enum DescribeOptOutListsOutputError { enum DescribePhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11506,7 +11506,7 @@ enum DescribePhoneNumbersOutputError { enum DescribePoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11524,7 +11524,7 @@ enum DescribePoolsOutputError { enum DescribeProtectConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11542,7 +11542,7 @@ enum DescribeProtectConfigurationsOutputError { enum DescribeRegistrationAttachmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11560,7 +11560,7 @@ enum DescribeRegistrationAttachmentsOutputError { enum DescribeRegistrationFieldDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11577,7 +11577,7 @@ enum DescribeRegistrationFieldDefinitionsOutputError { enum DescribeRegistrationFieldValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11595,7 +11595,7 @@ enum DescribeRegistrationFieldValuesOutputError { enum DescribeRegistrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11613,7 +11613,7 @@ enum DescribeRegistrationsOutputError { enum DescribeRegistrationSectionDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11630,7 +11630,7 @@ enum DescribeRegistrationSectionDefinitionsOutputError { enum DescribeRegistrationTypeDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11647,7 +11647,7 @@ enum DescribeRegistrationTypeDefinitionsOutputError { enum DescribeRegistrationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11665,7 +11665,7 @@ enum DescribeRegistrationVersionsOutputError { enum DescribeSenderIdsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11683,7 +11683,7 @@ enum DescribeSenderIdsOutputError { enum DescribeSpendLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11700,7 +11700,7 @@ enum DescribeSpendLimitsOutputError { enum DescribeVerifiedDestinationNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11718,7 +11718,7 @@ enum DescribeVerifiedDestinationNumbersOutputError { enum DisassociateOriginationIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11737,7 +11737,7 @@ enum DisassociateOriginationIdentityOutputError { enum DisassociateProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11756,7 +11756,7 @@ enum DisassociateProtectConfigurationOutputError { enum DiscardRegistrationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11775,7 +11775,7 @@ enum DiscardRegistrationVersionOutputError { enum GetProtectConfigurationCountryRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11793,7 +11793,7 @@ enum GetProtectConfigurationCountryRuleSetOutputError { enum ListPoolOriginationIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11811,7 +11811,7 @@ enum ListPoolOriginationIdentitiesOutputError { enum ListRegistrationAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11829,7 +11829,7 @@ enum ListRegistrationAssociationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11847,7 +11847,7 @@ enum ListTagsForResourceOutputError { enum PutKeywordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11867,7 +11867,7 @@ enum PutKeywordOutputError { enum PutOptedOutNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11885,7 +11885,7 @@ enum PutOptedOutNumberOutputError { enum PutRegistrationFieldValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11904,7 +11904,7 @@ enum PutRegistrationFieldValueOutputError { enum ReleasePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11923,7 +11923,7 @@ enum ReleasePhoneNumberOutputError { enum ReleaseSenderIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11942,7 +11942,7 @@ enum ReleaseSenderIdOutputError { enum RequestPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11962,7 +11962,7 @@ enum RequestPhoneNumberOutputError { enum RequestSenderIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11981,7 +11981,7 @@ enum RequestSenderIdOutputError { enum SendDestinationNumberVerificationCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12001,7 +12001,7 @@ enum SendDestinationNumberVerificationCodeOutputError { enum SendMediaMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12021,7 +12021,7 @@ enum SendMediaMessageOutputError { enum SendTextMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12041,7 +12041,7 @@ enum SendTextMessageOutputError { enum SendVoiceMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12061,7 +12061,7 @@ enum SendVoiceMessageOutputError { enum SetAccountDefaultProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12079,7 +12079,7 @@ enum SetAccountDefaultProtectConfigurationOutputError { enum SetDefaultMessageTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12097,7 +12097,7 @@ enum SetDefaultMessageTypeOutputError { enum SetDefaultSenderIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12115,7 +12115,7 @@ enum SetDefaultSenderIdOutputError { enum SetMediaMessageSpendLimitOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12132,7 +12132,7 @@ enum SetMediaMessageSpendLimitOverrideOutputError { enum SetTextMessageSpendLimitOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12149,7 +12149,7 @@ enum SetTextMessageSpendLimitOverrideOutputError { enum SetVoiceMessageSpendLimitOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12166,7 +12166,7 @@ enum SetVoiceMessageSpendLimitOverrideOutputError { enum SubmitRegistrationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12185,7 +12185,7 @@ enum SubmitRegistrationVersionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12204,7 +12204,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12222,7 +12222,7 @@ enum UntagResourceOutputError { enum UpdateEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12241,7 +12241,7 @@ enum UpdateEventDestinationOutputError { enum UpdatePhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12260,7 +12260,7 @@ enum UpdatePhoneNumberOutputError { enum UpdatePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12279,7 +12279,7 @@ enum UpdatePoolOutputError { enum UpdateProtectConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12297,7 +12297,7 @@ enum UpdateProtectConfigurationOutputError { enum UpdateProtectConfigurationCountryRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12315,7 +12315,7 @@ enum UpdateProtectConfigurationCountryRuleSetOutputError { enum UpdateSenderIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12333,7 +12333,7 @@ enum UpdateSenderIdOutputError { enum VerifyDestinationNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPipes/Sources/AWSPipes/Models.swift b/Sources/Services/AWSPipes/Sources/AWSPipes/Models.swift index 824b72d3a26..21f3c5c4bc9 100644 --- a/Sources/Services/AWSPipes/Sources/AWSPipes/Models.swift +++ b/Sources/Services/AWSPipes/Sources/AWSPipes/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -79,6 +79,11 @@ extension PipesClientTypes { } +extension PipesClientTypes.AwsVpcConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "AwsVpcConfiguration(assignPublicIp: \(Swift.String(describing: assignPublicIp)), securityGroups: \"CONTENT_REDACTED\", subnets: \"CONTENT_REDACTED\")"} +} + extension PipesClientTypes { /// The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job. public struct BatchArrayProperties { @@ -344,7 +349,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -375,7 +380,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -401,7 +406,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -438,7 +443,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -477,7 +482,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -531,7 +536,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -598,6 +603,11 @@ extension PipesClientTypes { } +extension PipesClientTypes.PipeEnrichmentHttpParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PipeEnrichmentHttpParameters(headerParameters: [keys: \(Swift.String(describing: headerParameters?.keys)), values: \"CONTENT_REDACTED\"], pathParameterValues: \"CONTENT_REDACTED\", queryStringParameters: [keys: \(Swift.String(describing: queryStringParameters?.keys)), values: \"CONTENT_REDACTED\"])"} +} + extension PipesClientTypes { /// The parameters required to set up enrichment on your pipe. public struct PipeEnrichmentParameters { @@ -1268,6 +1278,11 @@ extension PipesClientTypes { } +extension PipesClientTypes.SelfManagedKafkaAccessConfigurationVpc: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SelfManagedKafkaAccessConfigurationVpc(securityGroup: \"CONTENT_REDACTED\", subnets: \"CONTENT_REDACTED\")"} +} + extension PipesClientTypes { /// The parameters for using a self-managed Apache Kafka stream as a source. A self managed cluster refers to any Apache Kafka cluster not hosted by Amazon Web Services. This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as [Confluent Cloud](https://www.confluent.io/), [CloudKarafka](https://www.cloudkarafka.com/), or [Redpanda](https://redpanda.com/). For more information, see [Apache Kafka streams as a source](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html) in the Amazon EventBridge User Guide. public struct PipeSourceSelfManagedKafkaParameters { @@ -1319,7 +1334,7 @@ extension PipesClientTypes { extension PipesClientTypes.PipeSourceSelfManagedKafkaParameters: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PipeSourceSelfManagedKafkaParameters(additionalBootstrapServers: \(Swift.String(describing: additionalBootstrapServers)), batchSize: \(Swift.String(describing: batchSize)), credentials: \(Swift.String(describing: credentials)), maximumBatchingWindowInSeconds: \(Swift.String(describing: maximumBatchingWindowInSeconds)), serverRootCaCertificate: \(Swift.String(describing: serverRootCaCertificate)), startingPosition: \(Swift.String(describing: startingPosition)), vpc: \(Swift.String(describing: vpc)), consumerGroupID: \"CONTENT_REDACTED\", topicName: \"CONTENT_REDACTED\")"} + "PipeSourceSelfManagedKafkaParameters(batchSize: \(Swift.String(describing: batchSize)), credentials: \(Swift.String(describing: credentials)), maximumBatchingWindowInSeconds: \(Swift.String(describing: maximumBatchingWindowInSeconds)), serverRootCaCertificate: \(Swift.String(describing: serverRootCaCertificate)), startingPosition: \(Swift.String(describing: startingPosition)), vpc: \(Swift.String(describing: vpc)), additionalBootstrapServers: \"CONTENT_REDACTED\", consumerGroupID: \"CONTENT_REDACTED\", topicName: \"CONTENT_REDACTED\")"} } extension PipesClientTypes { @@ -2047,6 +2062,11 @@ extension PipesClientTypes { } +extension PipesClientTypes.PipeTargetHttpParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PipeTargetHttpParameters(headerParameters: [keys: \(Swift.String(describing: headerParameters?.keys)), values: \"CONTENT_REDACTED\"], pathParameterValues: \"CONTENT_REDACTED\", queryStringParameters: [keys: \(Swift.String(describing: queryStringParameters?.keys)), values: \"CONTENT_REDACTED\"])"} +} + extension PipesClientTypes { /// The parameters for using a Kinesis stream as a target. public struct PipeTargetKinesisStreamParameters { @@ -2161,7 +2181,7 @@ extension PipesClientTypes { extension PipesClientTypes.PipeTargetRedshiftDataParameters: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PipeTargetRedshiftDataParameters(secretManagerArn: \(Swift.String(describing: secretManagerArn)), sqls: \(Swift.String(describing: sqls)), withEvent: \(Swift.String(describing: withEvent)), database: \"CONTENT_REDACTED\", dbUser: \"CONTENT_REDACTED\", statementName: \"CONTENT_REDACTED\")"} + "PipeTargetRedshiftDataParameters(secretManagerArn: \(Swift.String(describing: secretManagerArn)), withEvent: \(Swift.String(describing: withEvent)), database: \"CONTENT_REDACTED\", dbUser: \"CONTENT_REDACTED\", sqls: \"CONTENT_REDACTED\", statementName: \"CONTENT_REDACTED\")"} } extension PipesClientTypes { @@ -2664,7 +2684,7 @@ public struct CreatePipeInput { extension CreatePipeInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreatePipeInput(desiredState: \(Swift.String(describing: desiredState)), enrichment: \(Swift.String(describing: enrichment)), enrichmentParameters: \(Swift.String(describing: enrichmentParameters)), logConfiguration: \(Swift.String(describing: logConfiguration)), name: \(Swift.String(describing: name)), roleArn: \(Swift.String(describing: roleArn)), source: \(Swift.String(describing: source)), sourceParameters: \(Swift.String(describing: sourceParameters)), tags: \(Swift.String(describing: tags)), target: \(Swift.String(describing: target)), targetParameters: \(Swift.String(describing: targetParameters)), description: \"CONTENT_REDACTED\")"} + "CreatePipeInput(desiredState: \(Swift.String(describing: desiredState)), enrichment: \(Swift.String(describing: enrichment)), enrichmentParameters: \(Swift.String(describing: enrichmentParameters)), logConfiguration: \(Swift.String(describing: logConfiguration)), name: \(Swift.String(describing: name)), roleArn: \(Swift.String(describing: roleArn)), source: \(Swift.String(describing: source)), sourceParameters: \(Swift.String(describing: sourceParameters)), target: \(Swift.String(describing: target)), targetParameters: \(Swift.String(describing: targetParameters)), description: \"CONTENT_REDACTED\", tags: [keys: \(Swift.String(describing: tags?.keys)), values: \"CONTENT_REDACTED\"])"} } extension PipesClientTypes { @@ -3017,7 +3037,7 @@ public struct DescribePipeOutput { extension DescribePipeOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "DescribePipeOutput(arn: \(Swift.String(describing: arn)), creationTime: \(Swift.String(describing: creationTime)), currentState: \(Swift.String(describing: currentState)), desiredState: \(Swift.String(describing: desiredState)), enrichment: \(Swift.String(describing: enrichment)), enrichmentParameters: \(Swift.String(describing: enrichmentParameters)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), logConfiguration: \(Swift.String(describing: logConfiguration)), name: \(Swift.String(describing: name)), roleArn: \(Swift.String(describing: roleArn)), source: \(Swift.String(describing: source)), sourceParameters: \(Swift.String(describing: sourceParameters)), stateReason: \(Swift.String(describing: stateReason)), tags: \(Swift.String(describing: tags)), target: \(Swift.String(describing: target)), targetParameters: \(Swift.String(describing: targetParameters)), description: \"CONTENT_REDACTED\")"} + "DescribePipeOutput(arn: \(Swift.String(describing: arn)), creationTime: \(Swift.String(describing: creationTime)), currentState: \(Swift.String(describing: currentState)), desiredState: \(Swift.String(describing: desiredState)), enrichment: \(Swift.String(describing: enrichment)), enrichmentParameters: \(Swift.String(describing: enrichmentParameters)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), logConfiguration: \(Swift.String(describing: logConfiguration)), name: \(Swift.String(describing: name)), roleArn: \(Swift.String(describing: roleArn)), source: \(Swift.String(describing: source)), sourceParameters: \(Swift.String(describing: sourceParameters)), stateReason: \(Swift.String(describing: stateReason)), target: \(Swift.String(describing: target)), targetParameters: \(Swift.String(describing: targetParameters)), description: \"CONTENT_REDACTED\", tags: [keys: \(Swift.String(describing: tags?.keys)), values: \"CONTENT_REDACTED\"])"} } public struct ListPipesInput { @@ -3159,6 +3179,11 @@ public struct ListTagsForResourceOutput { } } +extension ListTagsForResourceOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListTagsForResourceOutput(tags: [keys: \(Swift.String(describing: tags?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct StartPipeInput { /// The name of the pipe. /// This member is required. @@ -3604,6 +3629,11 @@ public struct TagResourceInput { } } +extension TagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tags: [keys: \(Swift.String(describing: tags?.keys)), values: \"CONTENT_REDACTED\"])"} +} + public struct TagResourceOutput { public init() { } @@ -3825,7 +3855,7 @@ extension UpdatePipeInput { extension CreatePipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3842,7 +3872,7 @@ extension CreatePipeOutput { extension DeletePipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3859,7 +3889,7 @@ extension DeletePipeOutput { extension DescribePipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3887,7 +3917,7 @@ extension DescribePipeOutput { extension ListPipesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3900,7 +3930,7 @@ extension ListPipesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3912,7 +3942,7 @@ extension ListTagsForResourceOutput { extension StartPipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3929,7 +3959,7 @@ extension StartPipeOutput { extension StopPipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopPipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopPipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3946,21 +3976,21 @@ extension StopPipeOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdatePipeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3977,7 +4007,7 @@ extension UpdatePipeOutput { enum CreatePipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3996,7 +4026,7 @@ enum CreatePipeOutputError { enum DeletePipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4014,7 +4044,7 @@ enum DeletePipeOutputError { enum DescribePipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4031,7 +4061,7 @@ enum DescribePipeOutputError { enum ListPipesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4047,7 +4077,7 @@ enum ListPipesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4063,7 +4093,7 @@ enum ListTagsForResourceOutputError { enum StartPipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4081,7 +4111,7 @@ enum StartPipeOutputError { enum StopPipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4099,7 +4129,7 @@ enum StopPipeOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4115,7 +4145,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4131,7 +4161,7 @@ enum UntagResourceOutputError { enum UpdatePipeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift index 2f83697a3ac..3a733576743 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift @@ -11,9 +11,9 @@ import ClientRuntime import Foundation import class Smithy.Context import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest -import class SmithyHTTPAPI.SdkHttpRequestBuilder +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPRequestBuilder +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider @@ -63,7 +63,7 @@ public struct LexiconNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct ServiceFailureException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -129,7 +129,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -748,7 +748,7 @@ public struct EngineNotSupportedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -862,7 +862,7 @@ public struct InvalidTaskIdException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -886,7 +886,7 @@ public struct SynthesisTaskNotFoundException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1141,7 +1141,7 @@ public struct InvalidLexiconException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1165,7 +1165,7 @@ public struct InvalidS3BucketException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1189,7 +1189,7 @@ public struct InvalidS3KeyException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1213,7 +1213,7 @@ public struct InvalidSampleRateException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1237,7 +1237,7 @@ public struct InvalidSnsTopicArnException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1261,7 +1261,7 @@ public struct InvalidSsmlException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1285,7 +1285,7 @@ public struct LanguageNotSupportedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1329,7 +1329,7 @@ public struct LexiconSizeExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1417,7 +1417,7 @@ public struct MarksNotSupportedForFormatException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1441,7 +1441,7 @@ public struct MaxLexemeLengthExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1465,7 +1465,7 @@ public struct MaxLexiconsNumberExceededException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1489,7 +1489,7 @@ public struct UnsupportedPlsAlphabetException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1513,7 +1513,7 @@ public struct UnsupportedPlsLanguageException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1565,7 +1565,7 @@ public struct SsmlMarksNotSupportedForTextTypeException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1589,7 +1589,7 @@ public struct TextLengthExceededException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1924,14 +1924,14 @@ extension SynthesizeSpeechInput { extension DeleteLexiconOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLexiconOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLexiconOutput { return DeleteLexiconOutput() } } extension DescribeVoicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVoicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVoicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1944,7 +1944,7 @@ extension DescribeVoicesOutput { extension GetLexiconOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLexiconOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLexiconOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1957,7 +1957,7 @@ extension GetLexiconOutput { extension GetSpeechSynthesisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSpeechSynthesisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSpeechSynthesisTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1969,7 +1969,7 @@ extension GetSpeechSynthesisTaskOutput { extension ListLexiconsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLexiconsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLexiconsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1982,7 +1982,7 @@ extension ListLexiconsOutput { extension ListSpeechSynthesisTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSpeechSynthesisTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSpeechSynthesisTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1995,14 +1995,14 @@ extension ListSpeechSynthesisTasksOutput { extension PutLexiconOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLexiconOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLexiconOutput { return PutLexiconOutput() } } extension StartSpeechSynthesisTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSpeechSynthesisTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSpeechSynthesisTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2014,7 +2014,7 @@ extension StartSpeechSynthesisTaskOutput { extension SynthesizeSpeechOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SynthesizeSpeechOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SynthesizeSpeechOutput { var value = SynthesizeSpeechOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -2036,7 +2036,7 @@ extension SynthesizeSpeechOutput { enum DeleteLexiconOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2051,7 +2051,7 @@ enum DeleteLexiconOutputError { enum DescribeVoicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2066,7 +2066,7 @@ enum DescribeVoicesOutputError { enum GetLexiconOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2081,7 +2081,7 @@ enum GetLexiconOutputError { enum GetSpeechSynthesisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2097,7 +2097,7 @@ enum GetSpeechSynthesisTaskOutputError { enum ListLexiconsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2112,7 +2112,7 @@ enum ListLexiconsOutputError { enum ListSpeechSynthesisTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2127,7 +2127,7 @@ enum ListSpeechSynthesisTasksOutputError { enum PutLexiconOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2147,7 +2147,7 @@ enum PutLexiconOutputError { enum StartSpeechSynthesisTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2172,7 +2172,7 @@ enum StartSpeechSynthesisTaskOutputError { enum SynthesizeSpeechOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2605,9 +2605,9 @@ public struct SynthesizeSpeechInputGETQueryItemMiddleware: ClientRuntime.Middlew } extension SynthesizeSpeechInputGETQueryItemMiddleware: Smithy.RequestMessageSerializer { public typealias InputType = SynthesizeSpeechInput - public typealias RequestType = SmithyHTTPAPI.SdkHttpRequest + public typealias RequestType = SmithyHTTPAPI.HTTPRequest - public func apply(input: InputType, builder: SmithyHTTPAPI.SdkHttpRequestBuilder, attributes: Smithy.Context) throws { + public func apply(input: InputType, builder: SmithyHTTPAPI.HTTPRequestBuilder, attributes: Smithy.Context) throws { if let engine = input.engine { let queryItem = Smithy.URIQueryItem(name: "Engine".urlPercentEncoding(), value: Swift.String(engine.rawValue).urlPercentEncoding()) builder.withQueryItem(queryItem) @@ -2652,7 +2652,7 @@ extension SynthesizeSpeechInputGETQueryItemMiddleware: Smithy.RequestMessageSeri } extension SynthesizeSpeechInput { - public func presign(config: PollyClient.PollyClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.SdkHttpRequest? { + public func presign(config: PollyClient.PollyClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.HTTPRequest? { let serviceName = "Polly" let input = self let context = Smithy.ContextBuilder() diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift index 0623ddcbaaf..18c5efa56ea 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift @@ -18,7 +18,7 @@ import class ClientRuntime.DefaultClientPlugin import class ClientRuntime.HttpClientConfiguration import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -672,6 +672,6 @@ extension PollyClient { guard let presignedRequest else { throw Smithy.ClientError.unknownError("Could not presign the request for the operation SynthesizeSpeech.") } - return try await SmithyHTTPAPI.SdkHttpRequest.makeURLRequest(from: presignedRequest) + return try await SmithyHTTPAPI.HTTPRequest.makeURLRequest(from: presignedRequest) } } diff --git a/Sources/Services/AWSPricing/Sources/AWSPricing/Models.swift b/Sources/Services/AWSPricing/Sources/AWSPricing/Models.swift index 12724c2fca6..146a8508dcb 100644 --- a/Sources/Services/AWSPricing/Sources/AWSPricing/Models.swift +++ b/Sources/Services/AWSPricing/Sources/AWSPricing/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -72,7 +72,7 @@ public struct ExpiredNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -120,7 +120,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -168,7 +168,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -323,7 +323,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -639,7 +639,7 @@ extension ListPriceListsInput { extension DescribeServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -653,7 +653,7 @@ extension DescribeServicesOutput { extension GetAttributeValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAttributeValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAttributeValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -666,7 +666,7 @@ extension GetAttributeValuesOutput { extension GetPriceListFileUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPriceListFileUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPriceListFileUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -678,7 +678,7 @@ extension GetPriceListFileUrlOutput { extension GetProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -692,7 +692,7 @@ extension GetProductsOutput { extension ListPriceListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPriceListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPriceListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -705,7 +705,7 @@ extension ListPriceListsOutput { enum DescribeServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -724,7 +724,7 @@ enum DescribeServicesOutputError { enum GetAttributeValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -743,7 +743,7 @@ enum GetAttributeValuesOutputError { enum GetPriceListFileUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -762,7 +762,7 @@ enum GetPriceListFileUrlOutputError { enum GetProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -781,7 +781,7 @@ enum GetProductsOutputError { enum ListPriceListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/Models.swift b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/Models.swift index 3b1357e2fb9..71427b7c9c3 100644 --- a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/Models.swift +++ b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -41,7 +41,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -69,7 +69,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1241,7 +1241,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2099,7 +2099,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2811,7 +2811,7 @@ extension UpdateNetworkSitePlanInput { extension AcknowledgeOrderReceiptOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcknowledgeOrderReceiptOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcknowledgeOrderReceiptOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2823,7 +2823,7 @@ extension AcknowledgeOrderReceiptOutput { extension ActivateDeviceIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateDeviceIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateDeviceIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2836,7 +2836,7 @@ extension ActivateDeviceIdentifierOutput { extension ActivateNetworkSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateNetworkSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateNetworkSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2848,7 +2848,7 @@ extension ActivateNetworkSiteOutput { extension ConfigureAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfigureAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfigureAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2860,7 +2860,7 @@ extension ConfigureAccessPointOutput { extension CreateNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2873,7 +2873,7 @@ extension CreateNetworkOutput { extension CreateNetworkSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2886,7 +2886,7 @@ extension CreateNetworkSiteOutput { extension DeactivateDeviceIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateDeviceIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateDeviceIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2898,7 +2898,7 @@ extension DeactivateDeviceIdentifierOutput { extension DeleteNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2910,7 +2910,7 @@ extension DeleteNetworkOutput { extension DeleteNetworkSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2922,7 +2922,7 @@ extension DeleteNetworkSiteOutput { extension GetDeviceIdentifierOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceIdentifierOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceIdentifierOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2935,7 +2935,7 @@ extension GetDeviceIdentifierOutput { extension GetNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2948,7 +2948,7 @@ extension GetNetworkOutput { extension GetNetworkResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2961,7 +2961,7 @@ extension GetNetworkResourceOutput { extension GetNetworkSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2974,7 +2974,7 @@ extension GetNetworkSiteOutput { extension GetOrderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2987,7 +2987,7 @@ extension GetOrderOutput { extension ListDeviceIdentifiersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceIdentifiersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceIdentifiersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3000,7 +3000,7 @@ extension ListDeviceIdentifiersOutput { extension ListNetworkResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworkResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworkResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3013,7 +3013,7 @@ extension ListNetworkResourcesOutput { extension ListNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3026,7 +3026,7 @@ extension ListNetworksOutput { extension ListNetworkSitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworkSitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworkSitesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3039,7 +3039,7 @@ extension ListNetworkSitesOutput { extension ListOrdersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrdersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrdersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3052,7 +3052,7 @@ extension ListOrdersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3064,7 +3064,7 @@ extension ListTagsForResourceOutput { extension PingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3076,7 +3076,7 @@ extension PingOutput { extension StartNetworkResourceUpdateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartNetworkResourceUpdateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartNetworkResourceUpdateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3088,21 +3088,21 @@ extension StartNetworkResourceUpdateOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateNetworkSiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNetworkSiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkSiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3115,7 +3115,7 @@ extension UpdateNetworkSiteOutput { extension UpdateNetworkSitePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNetworkSitePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkSitePlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3128,7 +3128,7 @@ extension UpdateNetworkSitePlanOutput { enum AcknowledgeOrderReceiptOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3144,7 +3144,7 @@ enum AcknowledgeOrderReceiptOutputError { enum ActivateDeviceIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3160,7 +3160,7 @@ enum ActivateDeviceIdentifierOutputError { enum ActivateNetworkSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3176,7 +3176,7 @@ enum ActivateNetworkSiteOutputError { enum ConfigureAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3192,7 +3192,7 @@ enum ConfigureAccessPointOutputError { enum CreateNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3208,7 +3208,7 @@ enum CreateNetworkOutputError { enum CreateNetworkSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3224,7 +3224,7 @@ enum CreateNetworkSiteOutputError { enum DeactivateDeviceIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3240,7 +3240,7 @@ enum DeactivateDeviceIdentifierOutputError { enum DeleteNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3257,7 +3257,7 @@ enum DeleteNetworkOutputError { enum DeleteNetworkSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3274,7 +3274,7 @@ enum DeleteNetworkSiteOutputError { enum GetDeviceIdentifierOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3290,7 +3290,7 @@ enum GetDeviceIdentifierOutputError { enum GetNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3306,7 +3306,7 @@ enum GetNetworkOutputError { enum GetNetworkResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3322,7 +3322,7 @@ enum GetNetworkResourceOutputError { enum GetNetworkSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3338,7 +3338,7 @@ enum GetNetworkSiteOutputError { enum GetOrderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3354,7 +3354,7 @@ enum GetOrderOutputError { enum ListDeviceIdentifiersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3370,7 +3370,7 @@ enum ListDeviceIdentifiersOutputError { enum ListNetworkResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3386,7 +3386,7 @@ enum ListNetworkResourcesOutputError { enum ListNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3402,7 +3402,7 @@ enum ListNetworksOutputError { enum ListNetworkSitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3418,7 +3418,7 @@ enum ListNetworkSitesOutputError { enum ListOrdersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3434,7 +3434,7 @@ enum ListOrdersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3452,7 +3452,7 @@ enum ListTagsForResourceOutputError { enum PingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3466,7 +3466,7 @@ enum PingOutputError { enum StartNetworkResourceUpdateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3482,7 @@ enum StartNetworkResourceUpdateOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3500,7 +3500,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3518,7 +3518,7 @@ enum UntagResourceOutputError { enum UpdateNetworkSiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3534,7 +3534,7 @@ enum UpdateNetworkSiteOutputError { enum UpdateNetworkSitePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSProton/Sources/AWSProton/Models.swift b/Sources/Services/AWSProton/Sources/AWSProton/Models.swift index 2ecb73ef6e1..8670d6c1594 100644 --- a/Sources/Services/AWSProton/Sources/AWSProton/Models.swift +++ b/Sources/Services/AWSProton/Sources/AWSProton/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -66,7 +66,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -156,7 +156,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1103,6 +1103,11 @@ public struct ListComponentOutputsOutput { } } +extension ListComponentOutputsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListComponentOutputsOutput(nextToken: \(Swift.String(describing: nextToken)), outputs: \"CONTENT_REDACTED\")"} +} + public struct ListComponentProvisionedResourcesInput { /// The name of the component whose provisioned resources you want. /// This member is required. @@ -1204,7 +1209,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2410,6 +2415,11 @@ public struct ListEnvironmentOutputsOutput { } } +extension ListEnvironmentOutputsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListEnvironmentOutputsOutput(nextToken: \(Swift.String(describing: nextToken)), outputs: \"CONTENT_REDACTED\")"} +} + public struct ListEnvironmentProvisionedResourcesInput { /// The environment name. /// This member is required. @@ -4234,7 +4244,7 @@ public struct NotifyResourceDeploymentStatusChangeInput { extension NotifyResourceDeploymentStatusChangeInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "NotifyResourceDeploymentStatusChangeInput(deploymentId: \(Swift.String(describing: deploymentId)), outputs: \(Swift.String(describing: outputs)), resourceArn: \(Swift.String(describing: resourceArn)), status: \(Swift.String(describing: status)), statusMessage: \"CONTENT_REDACTED\")"} + "NotifyResourceDeploymentStatusChangeInput(deploymentId: \(Swift.String(describing: deploymentId)), resourceArn: \(Swift.String(describing: resourceArn)), status: \(Swift.String(describing: status)), outputs: \"CONTENT_REDACTED\", statusMessage: \"CONTENT_REDACTED\")"} } public struct NotifyResourceDeploymentStatusChangeOutput { @@ -4491,6 +4501,11 @@ public struct ListServiceInstanceOutputsOutput { } } +extension ListServiceInstanceOutputsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListServiceInstanceOutputsOutput(nextToken: \(Swift.String(describing: nextToken)), outputs: \"CONTENT_REDACTED\")"} +} + public struct ListServiceInstanceProvisionedResourcesInput { /// A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the list of provisioned resources that was previously requested. public var nextToken: Swift.String? @@ -4992,6 +5007,11 @@ public struct ListServicePipelineOutputsOutput { } } +extension ListServicePipelineOutputsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListServicePipelineOutputsOutput(nextToken: \(Swift.String(describing: nextToken)), outputs: \"CONTENT_REDACTED\")"} +} + public struct ListServicePipelineProvisionedResourcesInput { /// A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the list of provisioned resources that was previously requested. public var nextToken: Swift.String? @@ -8349,7 +8369,7 @@ extension UpdateTemplateSyncConfigInput { extension AcceptEnvironmentAccountConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptEnvironmentAccountConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptEnvironmentAccountConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8361,7 +8381,7 @@ extension AcceptEnvironmentAccountConnectionOutput { extension CancelComponentDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelComponentDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelComponentDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8373,7 +8393,7 @@ extension CancelComponentDeploymentOutput { extension CancelEnvironmentDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelEnvironmentDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelEnvironmentDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8385,7 +8405,7 @@ extension CancelEnvironmentDeploymentOutput { extension CancelServiceInstanceDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelServiceInstanceDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelServiceInstanceDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8397,7 +8417,7 @@ extension CancelServiceInstanceDeploymentOutput { extension CancelServicePipelineDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelServicePipelineDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelServicePipelineDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8409,7 +8429,7 @@ extension CancelServicePipelineDeploymentOutput { extension CreateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8421,7 +8441,7 @@ extension CreateComponentOutput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8433,7 +8453,7 @@ extension CreateEnvironmentOutput { extension CreateEnvironmentAccountConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentAccountConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentAccountConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8445,7 +8465,7 @@ extension CreateEnvironmentAccountConnectionOutput { extension CreateEnvironmentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8457,7 +8477,7 @@ extension CreateEnvironmentTemplateOutput { extension CreateEnvironmentTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8469,7 +8489,7 @@ extension CreateEnvironmentTemplateVersionOutput { extension CreateRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8481,7 +8501,7 @@ extension CreateRepositoryOutput { extension CreateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8493,7 +8513,7 @@ extension CreateServiceOutput { extension CreateServiceInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8505,7 +8525,7 @@ extension CreateServiceInstanceOutput { extension CreateServiceSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8517,7 +8537,7 @@ extension CreateServiceSyncConfigOutput { extension CreateServiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8529,7 +8549,7 @@ extension CreateServiceTemplateOutput { extension CreateServiceTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8541,7 +8561,7 @@ extension CreateServiceTemplateVersionOutput { extension CreateTemplateSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8553,7 +8573,7 @@ extension CreateTemplateSyncConfigOutput { extension DeleteComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8565,7 +8585,7 @@ extension DeleteComponentOutput { extension DeleteDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8577,7 +8597,7 @@ extension DeleteDeploymentOutput { extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8589,7 +8609,7 @@ extension DeleteEnvironmentOutput { extension DeleteEnvironmentAccountConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentAccountConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentAccountConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8601,7 +8621,7 @@ extension DeleteEnvironmentAccountConnectionOutput { extension DeleteEnvironmentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8613,7 +8633,7 @@ extension DeleteEnvironmentTemplateOutput { extension DeleteEnvironmentTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8625,7 +8645,7 @@ extension DeleteEnvironmentTemplateVersionOutput { extension DeleteRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8637,7 +8657,7 @@ extension DeleteRepositoryOutput { extension DeleteServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8649,7 +8669,7 @@ extension DeleteServiceOutput { extension DeleteServiceSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8661,7 +8681,7 @@ extension DeleteServiceSyncConfigOutput { extension DeleteServiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8673,7 +8693,7 @@ extension DeleteServiceTemplateOutput { extension DeleteServiceTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8685,7 +8705,7 @@ extension DeleteServiceTemplateVersionOutput { extension DeleteTemplateSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8697,7 +8717,7 @@ extension DeleteTemplateSyncConfigOutput { extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8709,7 +8729,7 @@ extension GetAccountSettingsOutput { extension GetComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8721,7 +8741,7 @@ extension GetComponentOutput { extension GetDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8733,7 +8753,7 @@ extension GetDeploymentOutput { extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8745,7 +8765,7 @@ extension GetEnvironmentOutput { extension GetEnvironmentAccountConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentAccountConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentAccountConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8757,7 +8777,7 @@ extension GetEnvironmentAccountConnectionOutput { extension GetEnvironmentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8769,7 +8789,7 @@ extension GetEnvironmentTemplateOutput { extension GetEnvironmentTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8781,7 +8801,7 @@ extension GetEnvironmentTemplateVersionOutput { extension GetRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8793,7 +8813,7 @@ extension GetRepositoryOutput { extension GetRepositorySyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRepositorySyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRepositorySyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8805,7 +8825,7 @@ extension GetRepositorySyncStatusOutput { extension GetResourcesSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcesSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcesSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8817,7 +8837,7 @@ extension GetResourcesSummaryOutput { extension GetServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8829,7 +8849,7 @@ extension GetServiceOutput { extension GetServiceInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8841,7 +8861,7 @@ extension GetServiceInstanceOutput { extension GetServiceInstanceSyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceInstanceSyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceInstanceSyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8855,7 +8875,7 @@ extension GetServiceInstanceSyncStatusOutput { extension GetServiceSyncBlockerSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceSyncBlockerSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceSyncBlockerSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8867,7 +8887,7 @@ extension GetServiceSyncBlockerSummaryOutput { extension GetServiceSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8879,7 +8899,7 @@ extension GetServiceSyncConfigOutput { extension GetServiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8891,7 +8911,7 @@ extension GetServiceTemplateOutput { extension GetServiceTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8903,7 +8923,7 @@ extension GetServiceTemplateVersionOutput { extension GetTemplateSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8915,7 +8935,7 @@ extension GetTemplateSyncConfigOutput { extension GetTemplateSyncStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateSyncStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateSyncStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8929,7 +8949,7 @@ extension GetTemplateSyncStatusOutput { extension ListComponentOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8942,7 +8962,7 @@ extension ListComponentOutputsOutput { extension ListComponentProvisionedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentProvisionedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentProvisionedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8955,7 +8975,7 @@ extension ListComponentProvisionedResourcesOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8968,7 +8988,7 @@ extension ListComponentsOutput { extension ListDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8981,7 +9001,7 @@ extension ListDeploymentsOutput { extension ListEnvironmentAccountConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentAccountConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentAccountConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8994,7 +9014,7 @@ extension ListEnvironmentAccountConnectionsOutput { extension ListEnvironmentOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9007,7 +9027,7 @@ extension ListEnvironmentOutputsOutput { extension ListEnvironmentProvisionedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentProvisionedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentProvisionedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9020,7 +9040,7 @@ extension ListEnvironmentProvisionedResourcesOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9033,7 +9053,7 @@ extension ListEnvironmentsOutput { extension ListEnvironmentTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9046,7 +9066,7 @@ extension ListEnvironmentTemplatesOutput { extension ListEnvironmentTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9059,7 +9079,7 @@ extension ListEnvironmentTemplateVersionsOutput { extension ListRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9072,7 +9092,7 @@ extension ListRepositoriesOutput { extension ListRepositorySyncDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRepositorySyncDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRepositorySyncDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9085,7 +9105,7 @@ extension ListRepositorySyncDefinitionsOutput { extension ListServiceInstanceOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceInstanceOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceInstanceOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9098,7 +9118,7 @@ extension ListServiceInstanceOutputsOutput { extension ListServiceInstanceProvisionedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceInstanceProvisionedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceInstanceProvisionedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9111,7 +9131,7 @@ extension ListServiceInstanceProvisionedResourcesOutput { extension ListServiceInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9124,7 +9144,7 @@ extension ListServiceInstancesOutput { extension ListServicePipelineOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicePipelineOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicePipelineOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9137,7 +9157,7 @@ extension ListServicePipelineOutputsOutput { extension ListServicePipelineProvisionedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicePipelineProvisionedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicePipelineProvisionedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9150,7 +9170,7 @@ extension ListServicePipelineProvisionedResourcesOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9163,7 +9183,7 @@ extension ListServicesOutput { extension ListServiceTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9176,7 +9196,7 @@ extension ListServiceTemplatesOutput { extension ListServiceTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9189,7 +9209,7 @@ extension ListServiceTemplateVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9202,14 +9222,14 @@ extension ListTagsForResourceOutput { extension NotifyResourceDeploymentStatusChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyResourceDeploymentStatusChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyResourceDeploymentStatusChangeOutput { return NotifyResourceDeploymentStatusChangeOutput() } } extension RejectEnvironmentAccountConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectEnvironmentAccountConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectEnvironmentAccountConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9221,21 +9241,21 @@ extension RejectEnvironmentAccountConnectionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9247,7 +9267,7 @@ extension UpdateAccountSettingsOutput { extension UpdateComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9259,7 +9279,7 @@ extension UpdateComponentOutput { extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9271,7 +9291,7 @@ extension UpdateEnvironmentOutput { extension UpdateEnvironmentAccountConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentAccountConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentAccountConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9283,7 +9303,7 @@ extension UpdateEnvironmentAccountConnectionOutput { extension UpdateEnvironmentTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9295,7 +9315,7 @@ extension UpdateEnvironmentTemplateOutput { extension UpdateEnvironmentTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9307,7 +9327,7 @@ extension UpdateEnvironmentTemplateVersionOutput { extension UpdateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9319,7 +9339,7 @@ extension UpdateServiceOutput { extension UpdateServiceInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9331,7 +9351,7 @@ extension UpdateServiceInstanceOutput { extension UpdateServicePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServicePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServicePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9343,7 +9363,7 @@ extension UpdateServicePipelineOutput { extension UpdateServiceSyncBlockerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceSyncBlockerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceSyncBlockerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9357,7 +9377,7 @@ extension UpdateServiceSyncBlockerOutput { extension UpdateServiceSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9369,7 +9389,7 @@ extension UpdateServiceSyncConfigOutput { extension UpdateServiceTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9381,7 +9401,7 @@ extension UpdateServiceTemplateOutput { extension UpdateServiceTemplateVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceTemplateVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceTemplateVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9393,7 +9413,7 @@ extension UpdateServiceTemplateVersionOutput { extension UpdateTemplateSyncConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateSyncConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateSyncConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9405,7 +9425,7 @@ extension UpdateTemplateSyncConfigOutput { enum AcceptEnvironmentAccountConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9424,7 +9444,7 @@ enum AcceptEnvironmentAccountConnectionOutputError { enum CancelComponentDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9443,7 +9463,7 @@ enum CancelComponentDeploymentOutputError { enum CancelEnvironmentDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9462,7 +9482,7 @@ enum CancelEnvironmentDeploymentOutputError { enum CancelServiceInstanceDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9481,7 +9501,7 @@ enum CancelServiceInstanceDeploymentOutputError { enum CancelServicePipelineDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9500,7 +9520,7 @@ enum CancelServicePipelineDeploymentOutputError { enum CreateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9520,7 +9540,7 @@ enum CreateComponentOutputError { enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9540,7 +9560,7 @@ enum CreateEnvironmentOutputError { enum CreateEnvironmentAccountConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9559,7 +9579,7 @@ enum CreateEnvironmentAccountConnectionOutputError { enum CreateEnvironmentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9578,7 +9598,7 @@ enum CreateEnvironmentTemplateOutputError { enum CreateEnvironmentTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9598,7 +9618,7 @@ enum CreateEnvironmentTemplateVersionOutputError { enum CreateRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9617,7 +9637,7 @@ enum CreateRepositoryOutputError { enum CreateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9637,7 +9657,7 @@ enum CreateServiceOutputError { enum CreateServiceInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9656,7 +9676,7 @@ enum CreateServiceInstanceOutputError { enum CreateServiceSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9675,7 +9695,7 @@ enum CreateServiceSyncConfigOutputError { enum CreateServiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9694,7 +9714,7 @@ enum CreateServiceTemplateOutputError { enum CreateServiceTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9714,7 +9734,7 @@ enum CreateServiceTemplateVersionOutputError { enum CreateTemplateSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9733,7 +9753,7 @@ enum CreateTemplateSyncConfigOutputError { enum DeleteComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9752,7 +9772,7 @@ enum DeleteComponentOutputError { enum DeleteDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9770,7 +9790,7 @@ enum DeleteDeploymentOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9789,7 +9809,7 @@ enum DeleteEnvironmentOutputError { enum DeleteEnvironmentAccountConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9808,7 +9828,7 @@ enum DeleteEnvironmentAccountConnectionOutputError { enum DeleteEnvironmentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9827,7 +9847,7 @@ enum DeleteEnvironmentTemplateOutputError { enum DeleteEnvironmentTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9846,7 +9866,7 @@ enum DeleteEnvironmentTemplateVersionOutputError { enum DeleteRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9865,7 +9885,7 @@ enum DeleteRepositoryOutputError { enum DeleteServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9884,7 +9904,7 @@ enum DeleteServiceOutputError { enum DeleteServiceSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9903,7 +9923,7 @@ enum DeleteServiceSyncConfigOutputError { enum DeleteServiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9922,7 +9942,7 @@ enum DeleteServiceTemplateOutputError { enum DeleteServiceTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9941,7 +9961,7 @@ enum DeleteServiceTemplateVersionOutputError { enum DeleteTemplateSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9960,7 +9980,7 @@ enum DeleteTemplateSyncConfigOutputError { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9978,7 +9998,7 @@ enum GetAccountSettingsOutputError { enum GetComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9996,7 +10016,7 @@ enum GetComponentOutputError { enum GetDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10014,7 +10034,7 @@ enum GetDeploymentOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10032,7 +10052,7 @@ enum GetEnvironmentOutputError { enum GetEnvironmentAccountConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10050,7 +10070,7 @@ enum GetEnvironmentAccountConnectionOutputError { enum GetEnvironmentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10068,7 +10088,7 @@ enum GetEnvironmentTemplateOutputError { enum GetEnvironmentTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10086,7 +10106,7 @@ enum GetEnvironmentTemplateVersionOutputError { enum GetRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10104,7 +10124,7 @@ enum GetRepositoryOutputError { enum GetRepositorySyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10122,7 +10142,7 @@ enum GetRepositorySyncStatusOutputError { enum GetResourcesSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10139,7 +10159,7 @@ enum GetResourcesSummaryOutputError { enum GetServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10157,7 +10177,7 @@ enum GetServiceOutputError { enum GetServiceInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10175,7 +10195,7 @@ enum GetServiceInstanceOutputError { enum GetServiceInstanceSyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10193,7 +10213,7 @@ enum GetServiceInstanceSyncStatusOutputError { enum GetServiceSyncBlockerSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10211,7 +10231,7 @@ enum GetServiceSyncBlockerSummaryOutputError { enum GetServiceSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10229,7 +10249,7 @@ enum GetServiceSyncConfigOutputError { enum GetServiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10247,7 +10267,7 @@ enum GetServiceTemplateOutputError { enum GetServiceTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10265,7 +10285,7 @@ enum GetServiceTemplateVersionOutputError { enum GetTemplateSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10283,7 +10303,7 @@ enum GetTemplateSyncConfigOutputError { enum GetTemplateSyncStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10301,7 +10321,7 @@ enum GetTemplateSyncStatusOutputError { enum ListComponentOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10319,7 +10339,7 @@ enum ListComponentOutputsOutputError { enum ListComponentProvisionedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10337,7 +10357,7 @@ enum ListComponentProvisionedResourcesOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10354,7 +10374,7 @@ enum ListComponentsOutputError { enum ListDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10372,7 +10392,7 @@ enum ListDeploymentsOutputError { enum ListEnvironmentAccountConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10389,7 +10409,7 @@ enum ListEnvironmentAccountConnectionsOutputError { enum ListEnvironmentOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10407,7 +10427,7 @@ enum ListEnvironmentOutputsOutputError { enum ListEnvironmentProvisionedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10425,7 +10445,7 @@ enum ListEnvironmentProvisionedResourcesOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10443,7 +10463,7 @@ enum ListEnvironmentsOutputError { enum ListEnvironmentTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10460,7 +10480,7 @@ enum ListEnvironmentTemplatesOutputError { enum ListEnvironmentTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10478,7 +10498,7 @@ enum ListEnvironmentTemplateVersionsOutputError { enum ListRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10496,7 +10516,7 @@ enum ListRepositoriesOutputError { enum ListRepositorySyncDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10513,7 +10533,7 @@ enum ListRepositorySyncDefinitionsOutputError { enum ListServiceInstanceOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10531,7 +10551,7 @@ enum ListServiceInstanceOutputsOutputError { enum ListServiceInstanceProvisionedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10549,7 +10569,7 @@ enum ListServiceInstanceProvisionedResourcesOutputError { enum ListServiceInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10567,7 +10587,7 @@ enum ListServiceInstancesOutputError { enum ListServicePipelineOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10585,7 +10605,7 @@ enum ListServicePipelineOutputsOutputError { enum ListServicePipelineProvisionedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10603,7 +10623,7 @@ enum ListServicePipelineProvisionedResourcesOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10620,7 +10640,7 @@ enum ListServicesOutputError { enum ListServiceTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10637,7 +10657,7 @@ enum ListServiceTemplatesOutputError { enum ListServiceTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10655,7 +10675,7 @@ enum ListServiceTemplateVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10673,7 +10693,7 @@ enum ListTagsForResourceOutputError { enum NotifyResourceDeploymentStatusChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10693,7 +10713,7 @@ enum NotifyResourceDeploymentStatusChangeOutputError { enum RejectEnvironmentAccountConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10712,7 +10732,7 @@ enum RejectEnvironmentAccountConnectionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10731,7 +10751,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10750,7 +10770,7 @@ enum UntagResourceOutputError { enum UpdateAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10768,7 +10788,7 @@ enum UpdateAccountSettingsOutputError { enum UpdateComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10788,7 +10808,7 @@ enum UpdateComponentOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10807,7 +10827,7 @@ enum UpdateEnvironmentOutputError { enum UpdateEnvironmentAccountConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10826,7 +10846,7 @@ enum UpdateEnvironmentAccountConnectionOutputError { enum UpdateEnvironmentTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10845,7 +10865,7 @@ enum UpdateEnvironmentTemplateOutputError { enum UpdateEnvironmentTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10864,7 +10884,7 @@ enum UpdateEnvironmentTemplateVersionOutputError { enum UpdateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10884,7 +10904,7 @@ enum UpdateServiceOutputError { enum UpdateServiceInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10903,7 +10923,7 @@ enum UpdateServiceInstanceOutputError { enum UpdateServicePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10922,7 +10942,7 @@ enum UpdateServicePipelineOutputError { enum UpdateServiceSyncBlockerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10941,7 +10961,7 @@ enum UpdateServiceSyncBlockerOutputError { enum UpdateServiceSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10960,7 +10980,7 @@ enum UpdateServiceSyncConfigOutputError { enum UpdateServiceTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10979,7 +10999,7 @@ enum UpdateServiceTemplateOutputError { enum UpdateServiceTemplateVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10998,7 +11018,7 @@ enum UpdateServiceTemplateVersionOutputError { enum UpdateTemplateSyncConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSQApps/Package.swift.txt b/Sources/Services/AWSQApps/Package.swift.txt new file mode 100644 index 00000000000..86401f5f766 --- /dev/null +++ b/Sources/Services/AWSQApps/Package.swift.txt @@ -0,0 +1,95 @@ +// swift-tools-version: 5.9.0 + +import PackageDescription + +let package = Package( + name: "AWSQApps", + platforms: [ + .macOS(.v10_15), .iOS(.v13) + ], + products: [ + .library(name: "AWSQApps", targets: ["AWSQApps"]) + ], + dependencies: [ + .package( + id: "aws-sdk-swift.smithy-swift", + exact: "0.0.1" + ), + .package( + id: "aws-sdk-swift.AWSClientRuntime", + exact: "0.0.1" + ), + .package( + id: "aws-sdk-swift.AWSSDKHTTPAuth", + exact: "0.0.1" + ), + ], + targets: [ + .target( + name: "AWSQApps", + dependencies: [ + .product( + name: "SmithyHTTPAuthAPI", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "Smithy", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "ClientRuntime", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "SmithyHTTPAPI", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "AWSClientRuntime", + package: "aws-sdk-swift.AWSClientRuntime" + ), + .product( + name: "SmithyJSON", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "SmithyReadWrite", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "AWSSDKHTTPAuth", + package: "aws-sdk-swift.AWSSDKHTTPAuth" + ), + .product( + name: "SmithyIdentity", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "SmithyRetriesAPI", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "SmithyRetries", + package: "aws-sdk-swift.smithy-swift" + ), + .product( + name: "SmithyTestUtil", + package: "aws-sdk-swift.smithy-swift" + ), + ], + resources: [ + .process("Resources") + ] + ), + .testTarget( + name: "AWSQAppsTests", + dependencies: [ + "AWSQApps", + .product( + name: "SmithyTestUtil", + package: "aws-sdk-swift.smithy-swift" + ), + ] + ) + ] +) diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/AuthSchemeResolver.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/AuthSchemeResolver.swift new file mode 100644 index 00000000000..5c7b0f61b0c --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/AuthSchemeResolver.swift @@ -0,0 +1,56 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class Smithy.Context +import enum Smithy.ClientError +import enum SmithyHTTPAuthAPI.SigningPropertyKeys +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyHTTPAuthAPI.AuthSchemeResolverParameters +import struct SmithyHTTPAuthAPI.AuthOption + +public struct QAppsAuthSchemeResolverParameters: SmithyHTTPAuthAPI.AuthSchemeResolverParameters { + public let operation: Swift.String + // Region is used for SigV4 auth scheme + public let region: Swift.String? +} + +public protocol QAppsAuthSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver { + // Intentionally empty. + // This is the parent protocol that all auth scheme resolver implementations of + // the service QApps must conform to. +} + +public struct DefaultQAppsAuthSchemeResolver: QAppsAuthSchemeResolver { + + public func resolveAuthScheme(params: SmithyHTTPAuthAPI.AuthSchemeResolverParameters) throws -> [SmithyHTTPAuthAPI.AuthOption] { + var validAuthOptions = [SmithyHTTPAuthAPI.AuthOption]() + guard let serviceParams = params as? QAppsAuthSchemeResolverParameters else { + throw Smithy.ClientError.authError("Service specific auth scheme parameters type must be passed to auth scheme resolver.") + } + switch serviceParams.operation { + default: + var sigV4Option = SmithyHTTPAuthAPI.AuthOption(schemeID: "aws.auth#sigv4") + sigV4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingName, value: "qapps") + guard let region = serviceParams.region else { + throw Smithy.ClientError.authError("Missing region in auth scheme parameters for SigV4 auth scheme.") + } + sigV4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingRegion, value: region) + validAuthOptions.append(sigV4Option) + } + return validAuthOptions + } + + public func constructParameters(context: Smithy.Context) throws -> SmithyHTTPAuthAPI.AuthSchemeResolverParameters { + guard let opName = context.getOperation() else { + throw Smithy.ClientError.dataNotFound("Operation name not configured in middleware context for auth scheme resolver params construction.") + } + let opRegion = context.getRegion() + return QAppsAuthSchemeResolverParameters(operation: opName, region: opRegion) + } +} diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/Endpoints.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/Endpoints.swift new file mode 100644 index 00000000000..1d162ff0c19 --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/Endpoints.swift @@ -0,0 +1,73 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class ClientRuntime.EndpointsRequestContext +import let AWSClientRuntime.awsPartitionJSON +import protocol ClientRuntime.EndpointsRequestContextProviding +import struct ClientRuntime.DefaultEndpointResolver +import struct ClientRuntime.StaticEndpointResolver +import struct SmithyHTTPAPI.Endpoint + +public struct EndpointParams { + /// Override the endpoint used to send this request + public let endpoint: Swift.String? + /// The AWS region used to dispatch the request. + public let region: Swift.String? + /// When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. + public let useDualStack: Swift.Bool + /// When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. + public let useFIPS: Swift.Bool + + public init( + endpoint: Swift.String? = nil, + region: Swift.String? = nil, + useDualStack: Swift.Bool = false, + useFIPS: Swift.Bool = false + ) + { + self.endpoint = endpoint + self.region = region + self.useDualStack = useDualStack + self.useFIPS = useFIPS + } +} + +extension EndpointParams: ClientRuntime.EndpointsRequestContextProviding { + + public var context: ClientRuntime.EndpointsRequestContext { + get throws { + let context = try ClientRuntime.EndpointsRequestContext() + try context.add(name: "Endpoint", value: self.endpoint) + try context.add(name: "Region", value: self.region) + try context.add(name: "UseDualStack", value: self.useDualStack) + try context.add(name: "UseFIPS", value: self.useFIPS) + return context + } + } +} + +public protocol EndpointResolver { + func resolve(params: EndpointParams) throws -> SmithyHTTPAPI.Endpoint +} + +typealias DefaultEndpointResolver = ClientRuntime.DefaultEndpointResolver + +extension DefaultEndpointResolver { + private static let ruleSet = "{\"version\":\"1.0\",\"parameters\":{\"Region\":{\"builtIn\":\"AWS::Region\",\"required\":false,\"documentation\":\"The AWS region used to dispatch the request.\",\"type\":\"String\"},\"UseDualStack\":{\"builtIn\":\"AWS::UseDualStack\",\"required\":true,\"default\":false,\"documentation\":\"When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.\",\"type\":\"Boolean\"},\"UseFIPS\":{\"builtIn\":\"AWS::UseFIPS\",\"required\":true,\"default\":false,\"documentation\":\"When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.\",\"type\":\"Boolean\"},\"Endpoint\":{\"builtIn\":\"SDK::Endpoint\",\"required\":false,\"documentation\":\"Override the endpoint used to send this request\",\"type\":\"String\"}},\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"error\":\"Invalid Configuration: FIPS and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: Dualstack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[],\"endpoint\":{\"url\":{\"ref\":\"Endpoint\"},\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Region\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"PartitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsFIPS\"]}]},{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsDualStack\"]}]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://data.qapps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"FIPS and DualStack are enabled, but this partition does not support one or both\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsFIPS\"]},true]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://data.qapps-fips.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"FIPS is enabled but this partition does not support FIPS\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsDualStack\"]}]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://data.qapps.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"DualStack is enabled but this partition does not support DualStack\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://data.qapps.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid Configuration: Missing Region\",\"type\":\"error\"}],\"type\":\"tree\"}]}" + + init() throws { + try self.init(partitions: AWSClientRuntime.awsPartitionJSON, ruleSet: Self.ruleSet) + } +} + +extension DefaultEndpointResolver: EndpointResolver {} + +typealias StaticEndpointResolver = ClientRuntime.StaticEndpointResolver + +extension StaticEndpointResolver: EndpointResolver {} diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/Models.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/Models.swift new file mode 100644 index 00000000000..cd3850b1b14 --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/Models.swift @@ -0,0 +1,4359 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import Foundation +import class ClientRuntime.Indirect +import class SmithyHTTPAPI.HTTPResponse +import class SmithyJSON.Reader +import class SmithyJSON.Writer +import enum ClientRuntime.ErrorFault +import enum Smithy.ClientError +import enum SmithyReadWrite.ReaderError +import enum SmithyReadWrite.ReadingClosures +import enum SmithyReadWrite.WritingClosures +import protocol AWSClientRuntime.AWSServiceError +import protocol ClientRuntime.HTTPError +import protocol ClientRuntime.ModeledError +import struct AWSClientRuntime.RestJSONError +@_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError +import struct Smithy.URIQueryItem +import struct SmithyHTTPAPI.Header +import struct SmithyHTTPAPI.Headers +import struct SmithyReadWrite.ReadingClosureBox + +public struct AssociateLibraryItemReviewOutput { + + public init() { } +} + +public struct AssociateQAppWithUserOutput { + + public init() { } +} + +public struct DeleteLibraryItemOutput { + + public init() { } +} + +public struct DeleteQAppOutput { + + public init() { } +} + +public struct DisassociateLibraryItemReviewOutput { + + public init() { } +} + +public struct DisassociateQAppFromUserOutput { + + public init() { } +} + +public struct StopQAppSessionOutput { + + public init() { } +} + +/// The client is not authorized to perform the requested operation. +public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "AccessDeniedException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +extension QAppsClientTypes { + + public enum CardType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case fileUpload + case qPlugin + case qQuery + case textInput + case sdkUnknown(Swift.String) + + public static var allCases: [CardType] { + return [ + .fileUpload, + .qPlugin, + .qQuery, + .textInput + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .fileUpload: return "file-upload" + case .qPlugin: return "q-plugin" + case .qQuery: return "q-query" + case .textInput: return "text-input" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QAppsClientTypes { + /// A card in an Amazon Q App that allows the user to upload a file. + public struct FileUploadCard { + /// A flag indicating if the user can override the default file for the upload card. + public var allowOverride: Swift.Bool? + /// Any dependencies or requirements for the file upload card. + /// This member is required. + public var dependencies: [Swift.String]? + /// The unique identifier of the file associated with the card. + public var fileId: Swift.String? + /// The name of the file being uploaded. + public var filename: Swift.String? + /// The unique identifier of the file upload card. + /// This member is required. + public var id: Swift.String? + /// The title of the file upload card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + allowOverride: Swift.Bool? = nil, + dependencies: [Swift.String]? = nil, + fileId: Swift.String? = nil, + filename: Swift.String? = nil, + id: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.allowOverride = allowOverride + self.dependencies = dependencies + self.fileId = fileId + self.filename = filename + self.id = id + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + + public enum PluginType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case custom + case jira + case salesforce + case serviceNow + case zendesk + case sdkUnknown(Swift.String) + + public static var allCases: [PluginType] { + return [ + .custom, + .jira, + .salesforce, + .serviceNow, + .zendesk + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .custom: return "CUSTOM" + case .jira: return "JIRA" + case .salesforce: return "SALESFORCE" + case .serviceNow: return "SERVICE_NOW" + case .zendesk: return "ZENDESK" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QAppsClientTypes { + /// A card in an Q App that integrates with a third-party plugin or service. + public struct QPluginCard { + /// Any dependencies or requirements for the plugin card. + /// This member is required. + public var dependencies: [Swift.String]? + /// The unique identifier of the plugin card. + /// This member is required. + public var id: Swift.String? + /// The unique identifier of the plugin used by the card. + /// This member is required. + public var pluginId: Swift.String? + /// The type or category of the plugin used by the card. + /// This member is required. + public var pluginType: QAppsClientTypes.PluginType? + /// The prompt or instructions displayed for the plugin card. + /// This member is required. + public var prompt: Swift.String? + /// The title or label of the plugin card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + dependencies: [Swift.String]? = nil, + id: Swift.String? = nil, + pluginId: Swift.String? = nil, + pluginType: QAppsClientTypes.PluginType? = nil, + prompt: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.dependencies = dependencies + self.id = id + self.pluginId = pluginId + self.pluginType = pluginType + self.prompt = prompt + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + /// The value of a document attribute. You can only provide one value for a document attribute. + public enum DocumentAttributeValue { + /// A string. + case stringvalue(Swift.String) + /// A list of strings. + case stringlistvalue([Swift.String]) + /// A long integer value. + case longvalue(Swift.Int) + /// A date expressed as an ISO 8601 string. It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time. + case datevalue(Foundation.Date) + case sdkUnknown(Swift.String) + } + +} + +extension QAppsClientTypes { + /// A document attribute or metadata field. + public struct DocumentAttribute { + /// The identifier for the attribute. + /// This member is required. + public var name: Swift.String? + /// The value of the attribute. + /// This member is required. + public var value: QAppsClientTypes.DocumentAttributeValue? + + public init( + name: Swift.String? = nil, + value: QAppsClientTypes.DocumentAttributeValue? = nil + ) + { + self.name = name + self.value = value + } + } + +} + +extension QAppsClientTypes { + + public enum CardOutputSource: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case approvedSources + case llm + case sdkUnknown(Swift.String) + + public static var allCases: [CardOutputSource] { + return [ + .approvedSources, + .llm + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .approvedSources: return "approved-sources" + case .llm: return "llm" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QAppsClientTypes { + /// A card in an Amazon Q App that allows the user to input text. + public struct TextInputCard { + /// The default value to pre-populate in the text input field. + public var defaultValue: Swift.String? + /// Any dependencies or requirements for the text input card. + /// This member is required. + public var dependencies: [Swift.String]? + /// The unique identifier of the text input card. + /// This member is required. + public var id: Swift.String? + /// The placeholder text to display in the text input field. + public var placeholder: Swift.String? + /// The title or label of the text input card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + defaultValue: Swift.String? = nil, + dependencies: [Swift.String]? = nil, + id: Swift.String? = nil, + placeholder: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.defaultValue = defaultValue + self.dependencies = dependencies + self.id = id + self.placeholder = placeholder + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + /// Represents a file upload card. It can optionally receive a filename and fileId to set a default file. If not received, the user must provide the file when the Q App runs. + public struct FileUploadCardInput { + /// A flag indicating if the user can override the default file for the upload card. + public var allowOverride: Swift.Bool? + /// The identifier of a pre-uploaded file associated with the card. + public var fileId: Swift.String? + /// The default filename to use for the file upload card. + public var filename: Swift.String? + /// The unique identifier of the file upload card. + /// This member is required. + public var id: Swift.String? + /// The title or label of the file upload card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + allowOverride: Swift.Bool? = nil, + fileId: Swift.String? = nil, + filename: Swift.String? = nil, + id: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.allowOverride = allowOverride + self.fileId = fileId + self.filename = filename + self.id = id + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + /// The input shape for defining a plugin card in an Amazon Q App. + public struct QPluginCardInput { + /// The unique identifier of the plugin card. + /// This member is required. + public var id: Swift.String? + /// The unique identifier of the plugin used by the card. + /// This member is required. + public var pluginId: Swift.String? + /// The prompt or instructions displayed for the plugin card. + /// This member is required. + public var prompt: Swift.String? + /// The title or label of the plugin card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + id: Swift.String? = nil, + pluginId: Swift.String? = nil, + prompt: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.id = id + self.pluginId = pluginId + self.prompt = prompt + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + /// The input shape for defining a text input card in an Amazon Q App. + public struct TextInputCardInput { + /// The default value to pre-populate in the text input field. + public var defaultValue: Swift.String? + /// The unique identifier of the text input card. + /// This member is required. + public var id: Swift.String? + /// The placeholder text to display in the text input field. + public var placeholder: Swift.String? + /// The title or label of the text input card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + defaultValue: Swift.String? = nil, + id: Swift.String? = nil, + placeholder: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.defaultValue = defaultValue + self.id = id + self.placeholder = placeholder + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + + public enum AppRequiredCapability: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case creatorMode + case fileUpload + case pluginMode + case retrievalMode + case sdkUnknown(Swift.String) + + public static var allCases: [AppRequiredCapability] { + return [ + .creatorMode, + .fileUpload, + .pluginMode, + .retrievalMode + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .creatorMode: return "CreatorMode" + case .fileUpload: return "FileUpload" + case .pluginMode: return "PluginMode" + case .retrievalMode: return "RetrievalMode" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QAppsClientTypes { + + public enum AppStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case deleted + case draft + case published + case sdkUnknown(Swift.String) + + public static var allCases: [AppStatus] { + return [ + .deleted, + .draft, + .published + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .deleted: return "DELETED" + case .draft: return "DRAFT" + case .published: return "PUBLISHED" + case let .sdkUnknown(s): return s + } + } + } +} + +/// An internal service error occurred while processing the request. +public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// The number of seconds to wait before retrying the operation + public internal(set) var retryAfterSeconds: Swift.Int? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InternalServerException" } + public static var fault: ClientRuntime.ErrorFault { .server } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + retryAfterSeconds: Swift.Int? = nil + ) + { + self.properties.message = message + self.properties.retryAfterSeconds = retryAfterSeconds + } +} + +/// The requested resource could not be found. +public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// The unique identifier of the resource + /// This member is required. + public internal(set) var resourceId: Swift.String? = nil + /// The type of the resource + /// This member is required. + public internal(set) var resourceType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ResourceNotFoundException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + resourceId: Swift.String? = nil, + resourceType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.resourceId = resourceId + self.properties.resourceType = resourceType + } +} + +/// The requested operation could not be completed because it would exceed the service's quota or limit. +public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// The code of the quota that was exceeded + /// This member is required. + public internal(set) var quotaCode: Swift.String? = nil + /// The unique identifier of the resource + /// This member is required. + public internal(set) var resourceId: Swift.String? = nil + /// The type of the resource + /// This member is required. + public internal(set) var resourceType: Swift.String? = nil + /// The code for the service where the quota was exceeded + /// This member is required. + public internal(set) var serviceCode: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ServiceQuotaExceededException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + quotaCode: Swift.String? = nil, + resourceId: Swift.String? = nil, + resourceType: Swift.String? = nil, + serviceCode: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.quotaCode = quotaCode + self.properties.resourceId = resourceId + self.properties.resourceType = resourceType + self.properties.serviceCode = serviceCode + } +} + +/// The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. +public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// The code of the quota that was exceeded + /// This member is required. + public internal(set) var quotaCode: Swift.String? = nil + /// The number of seconds to wait before retrying the operation + public internal(set) var retryAfterSeconds: Swift.Int? = nil + /// The code for the service where the quota was exceeded + /// This member is required. + public internal(set) var serviceCode: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ThrottlingException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { true } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + quotaCode: Swift.String? = nil, + retryAfterSeconds: Swift.Int? = nil, + serviceCode: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.quotaCode = quotaCode + self.properties.retryAfterSeconds = retryAfterSeconds + self.properties.serviceCode = serviceCode + } +} + +/// The client is not authenticated or authorized to perform the requested operation. +public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "UnauthorizedException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// The input failed to satisfy the constraints specified by the service. +public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ValidationException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +public struct AssociateLibraryItemReviewInput { + /// The unique identifier for the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the library item to associate the review with. + /// This member is required. + public var libraryItemId: Swift.String? + + public init( + instanceId: Swift.String? = nil, + libraryItemId: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.libraryItemId = libraryItemId + } +} + +public struct AssociateQAppWithUserInput { + /// The ID of the Amazon Q App to associate with the user. + /// This member is required. + public var appId: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + + public init( + appId: Swift.String? = nil, + instanceId: Swift.String? = nil + ) + { + self.appId = appId + self.instanceId = instanceId + } +} + +extension QAppsClientTypes { + + public enum ExecutionStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case completed + case inProgress + case waiting + case sdkUnknown(Swift.String) + + public static var allCases: [ExecutionStatus] { + return [ + .completed, + .inProgress, + .waiting + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .completed: return "COMPLETED" + case .inProgress: return "IN_PROGRESS" + case .waiting: return "WAITING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QAppsClientTypes { + /// The current status and value of a card in an active Amazon Q App session. + public struct CardStatus { + /// The current state of the card. + /// This member is required. + public var currentState: QAppsClientTypes.ExecutionStatus? + /// The current value or result associated with the card. + /// This member is required. + public var currentValue: Swift.String? + + public init( + currentState: QAppsClientTypes.ExecutionStatus? = nil, + currentValue: Swift.String? = nil + ) + { + self.currentState = currentState + self.currentValue = currentValue + } + } + +} + +extension QAppsClientTypes { + /// The value or result associated with a card in a Amazon Q App session. + public struct CardValue { + /// The unique identifier of the card. + /// This member is required. + public var cardId: Swift.String? + /// The value or result associated with the card. + /// This member is required. + public var value: Swift.String? + + public init( + cardId: Swift.String? = nil, + value: Swift.String? = nil + ) + { + self.cardId = cardId + self.value = value + } + } + +} + +extension QAppsClientTypes { + /// A category used to classify and filter library items for Amazon Q Apps. + public struct Category { + /// The unique identifier of the category. + /// This member is required. + public var id: Swift.String? + /// The title or name of the category. + /// This member is required. + public var title: Swift.String? + + public init( + id: Swift.String? = nil, + title: Swift.String? = nil + ) + { + self.id = id + self.title = title + } + } + +} + +/// The requested operation could not be completed due to a conflict with the current state of the resource. +public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// The unique identifier of the resource + /// This member is required. + public internal(set) var resourceId: Swift.String? = nil + /// The type of the resource + /// This member is required. + public internal(set) var resourceType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ConflictException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + resourceId: Swift.String? = nil, + resourceType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.resourceId = resourceId + self.properties.resourceType = resourceType + } +} + +/// The requested operation could not be completed because the content exceeds the maximum allowed size. +public struct ContentTooLargeException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// The unique identifier of the resource + /// This member is required. + public internal(set) var resourceId: Swift.String? = nil + /// The type of the resource + /// This member is required. + public internal(set) var resourceType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ContentTooLargeException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + resourceId: Swift.String? = nil, + resourceType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.resourceId = resourceId + self.properties.resourceType = resourceType + } +} + +extension QAppsClientTypes { + + public enum Sender: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case system + case user + case sdkUnknown(Swift.String) + + public static var allCases: [Sender] { + return [ + .system, + .user + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .system: return "SYSTEM" + case .user: return "USER" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QAppsClientTypes { + /// A message in a conversation, used as input for generating an Amazon Q App definition. + public struct ConversationMessage { + /// The text content of the conversation message. + /// This member is required. + public var body: Swift.String? + /// The type of the conversation message. + /// This member is required. + public var type: QAppsClientTypes.Sender? + + public init( + body: Swift.String? = nil, + type: QAppsClientTypes.Sender? = nil + ) + { + self.body = body + self.type = type + } + } + +} + +public struct CreateLibraryItemInput { + /// The unique identifier of the Amazon Q App to publish to the library. + /// This member is required. + public var appId: Swift.String? + /// The version of the Amazon Q App to publish to the library. + /// This member is required. + public var appVersion: Swift.Int? + /// The categories to associate with the library item for easier discovery. + /// This member is required. + public var categories: [Swift.String]? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + + public init( + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + categories: [Swift.String]? = nil, + instanceId: Swift.String? = nil + ) + { + self.appId = appId + self.appVersion = appVersion + self.categories = categories + self.instanceId = instanceId + } +} + +public struct CreateLibraryItemOutput { + /// The date and time the library item was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who created the library item. + /// This member is required. + public var createdBy: Swift.String? + /// The unique identifier of the new library item. + /// This member is required. + public var libraryItemId: Swift.String? + /// The number of ratings the library item has received from users. + /// This member is required. + public var ratingCount: Swift.Int? + /// The status of the new library item, such as "Published". + /// This member is required. + public var status: Swift.String? + /// The date and time the library item was last updated. + public var updatedAt: Foundation.Date? + /// The user who last updated the library item. + public var updatedBy: Swift.String? + + public init( + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + libraryItemId: Swift.String? = nil, + ratingCount: Swift.Int? = nil, + status: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.createdAt = createdAt + self.createdBy = createdBy + self.libraryItemId = libraryItemId + self.ratingCount = ratingCount + self.status = status + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } +} + +public struct CreateQAppOutput { + /// The Amazon Resource Name (ARN) of the new Q App. + /// This member is required. + public var appArn: Swift.String? + /// The unique identifier of the new Q App. + /// This member is required. + public var appId: Swift.String? + /// The version of the new Q App. + /// This member is required. + public var appVersion: Swift.Int? + /// The date and time the Q App was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who created the Q App. + /// This member is required. + public var createdBy: Swift.String? + /// The description of the new Q App. + public var description: Swift.String? + /// The initial prompt displayed when the Q App is started. + public var initialPrompt: Swift.String? + /// The capabilities required to run the Q App, such as file upload or third-party integrations. + public var requiredCapabilities: [QAppsClientTypes.AppRequiredCapability]? + /// The status of the new Q App, such as "Created". + /// This member is required. + public var status: QAppsClientTypes.AppStatus? + /// The title of the new Q App. + /// This member is required. + public var title: Swift.String? + /// The date and time the Q App was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The user who last updated the Q App. + /// This member is required. + public var updatedBy: Swift.String? + + public init( + appArn: Swift.String? = nil, + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + initialPrompt: Swift.String? = nil, + requiredCapabilities: [QAppsClientTypes.AppRequiredCapability]? = nil, + status: QAppsClientTypes.AppStatus? = nil, + title: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.appArn = appArn + self.appId = appId + self.appVersion = appVersion + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.initialPrompt = initialPrompt + self.requiredCapabilities = requiredCapabilities + self.status = status + self.title = title + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } +} + +public struct DeleteLibraryItemInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the library item to delete. + /// This member is required. + public var libraryItemId: Swift.String? + + public init( + instanceId: Swift.String? = nil, + libraryItemId: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.libraryItemId = libraryItemId + } +} + +public struct DeleteQAppInput { + /// The unique identifier of the Q App to delete. + /// This member is required. + public var appId: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + + public init( + appId: Swift.String? = nil, + instanceId: Swift.String? = nil + ) + { + self.appId = appId + self.instanceId = instanceId + } +} + +public struct DisassociateLibraryItemReviewInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the library item to remove the review from. + /// This member is required. + public var libraryItemId: Swift.String? + + public init( + instanceId: Swift.String? = nil, + libraryItemId: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.libraryItemId = libraryItemId + } +} + +public struct DisassociateQAppFromUserInput { + /// The unique identifier of the Q App to disassociate from the user. + /// This member is required. + public var appId: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + + public init( + appId: Swift.String? = nil, + instanceId: Swift.String? = nil + ) + { + self.appId = appId + self.instanceId = instanceId + } +} + +extension QAppsClientTypes { + + public enum DocumentScope: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case application + case session + case sdkUnknown(Swift.String) + + public static var allCases: [DocumentScope] { + return [ + .application, + .session + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .application: return "APPLICATION" + case .session: return "SESSION" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct GetLibraryItemInput { + /// The unique identifier of the Amazon Q App associated with the library item. + public var appId: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the library item to retrieve. + /// This member is required. + public var libraryItemId: Swift.String? + + public init( + appId: Swift.String? = nil, + instanceId: Swift.String? = nil, + libraryItemId: Swift.String? = nil + ) + { + self.appId = appId + self.instanceId = instanceId + self.libraryItemId = libraryItemId + } +} + +public struct GetLibraryItemOutput { + /// The unique identifier of the Q App associated with the library item. + /// This member is required. + public var appId: Swift.String? + /// The version of the Q App associated with the library item. + /// This member is required. + public var appVersion: Swift.Int? + /// The categories associated with the library item for discovery. + /// This member is required. + public var categories: [QAppsClientTypes.Category]? + /// The date and time the library item was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who created the library item. + /// This member is required. + public var createdBy: Swift.String? + /// Whether the current user has rated the library item. + public var isRatedByUser: Swift.Bool? + /// The unique identifier of the library item. + /// This member is required. + public var libraryItemId: Swift.String? + /// The number of ratings the library item has received from users. + /// This member is required. + public var ratingCount: Swift.Int? + /// The status of the library item, such as "Published". + /// This member is required. + public var status: Swift.String? + /// The date and time the library item was last updated. + public var updatedAt: Foundation.Date? + /// The user who last updated the library item. + public var updatedBy: Swift.String? + /// The number of users who have associated the Q App with their account. + public var userCount: Swift.Int? + + public init( + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + categories: [QAppsClientTypes.Category]? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + isRatedByUser: Swift.Bool? = nil, + libraryItemId: Swift.String? = nil, + ratingCount: Swift.Int? = nil, + status: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil, + userCount: Swift.Int? = nil + ) + { + self.appId = appId + self.appVersion = appVersion + self.categories = categories + self.createdAt = createdAt + self.createdBy = createdBy + self.isRatedByUser = isRatedByUser + self.libraryItemId = libraryItemId + self.ratingCount = ratingCount + self.status = status + self.updatedAt = updatedAt + self.updatedBy = updatedBy + self.userCount = userCount + } +} + +public struct GetQAppInput { + /// The unique identifier of the Q App to retrieve. + /// This member is required. + public var appId: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + + public init( + appId: Swift.String? = nil, + instanceId: Swift.String? = nil + ) + { + self.appId = appId + self.instanceId = instanceId + } +} + +public struct GetQAppSessionInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the Q App session to retrieve. + /// This member is required. + public var sessionId: Swift.String? + + public init( + instanceId: Swift.String? = nil, + sessionId: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.sessionId = sessionId + } +} + +public struct GetQAppSessionOutput { + /// The current status for each card in the Q App session. + /// This member is required. + public var cardStatus: [Swift.String: QAppsClientTypes.CardStatus]? + /// The Amazon Resource Name (ARN) of the Q App session. + /// This member is required. + public var sessionArn: Swift.String? + /// The unique identifier of the Q App session. + /// This member is required. + public var sessionId: Swift.String? + /// The current status of the Q App session. + /// This member is required. + public var status: QAppsClientTypes.ExecutionStatus? + + public init( + cardStatus: [Swift.String: QAppsClientTypes.CardStatus]? = nil, + sessionArn: Swift.String? = nil, + sessionId: Swift.String? = nil, + status: QAppsClientTypes.ExecutionStatus? = nil + ) + { + self.cardStatus = cardStatus + self.sessionArn = sessionArn + self.sessionId = sessionId + self.status = status + } +} + +public struct ImportDocumentInput { + /// The unique identifier of the Q App the file is associated with. + /// This member is required. + public var appId: Swift.String? + /// The unique identifier of the card the file is associated with, if applicable. + /// This member is required. + public var cardId: Swift.String? + /// The base64-encoded contents of the file to upload. + /// This member is required. + public var fileContentsBase64: Swift.String? + /// The name of the file being uploaded. + /// This member is required. + public var fileName: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// Whether the file is associated with an Q App definition or a specific Q App session. + /// This member is required. + public var scope: QAppsClientTypes.DocumentScope? + /// The unique identifier of the Q App session the file is associated with, if applicable. + public var sessionId: Swift.String? + + public init( + appId: Swift.String? = nil, + cardId: Swift.String? = nil, + fileContentsBase64: Swift.String? = nil, + fileName: Swift.String? = nil, + instanceId: Swift.String? = nil, + scope: QAppsClientTypes.DocumentScope? = nil, + sessionId: Swift.String? = nil + ) + { + self.appId = appId + self.cardId = cardId + self.fileContentsBase64 = fileContentsBase64 + self.fileName = fileName + self.instanceId = instanceId + self.scope = scope + self.sessionId = sessionId + } +} + +public struct ImportDocumentOutput { + /// The unique identifier assigned to the uploaded file. + public var fileId: Swift.String? + + public init( + fileId: Swift.String? = nil + ) + { + self.fileId = fileId + } +} + +extension QAppsClientTypes { + /// A library item is a snapshot of an Amazon Q App that can be published so the users in their Amazon Q Apps library can discover it, clone it, and run it. + public struct LibraryItemMember { + /// The unique identifier of the Q App associated with the library item. + /// This member is required. + public var appId: Swift.String? + /// The version of the Q App associated with the library item. + /// This member is required. + public var appVersion: Swift.Int? + /// The categories associated with the library item. + /// This member is required. + public var categories: [QAppsClientTypes.Category]? + /// The date and time the library item was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who created the library item. + /// This member is required. + public var createdBy: Swift.String? + /// Whether the current user has rated the library item. + public var isRatedByUser: Swift.Bool? + /// The unique identifier of the library item. + /// This member is required. + public var libraryItemId: Swift.String? + /// The number of ratings the library item has received. + /// This member is required. + public var ratingCount: Swift.Int? + /// The status of the library item. + /// This member is required. + public var status: Swift.String? + /// The date and time the library item was last updated. + public var updatedAt: Foundation.Date? + /// The user who last updated the library item. + public var updatedBy: Swift.String? + /// The number of users who have the associated Q App. + public var userCount: Swift.Int? + + public init( + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + categories: [QAppsClientTypes.Category]? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + isRatedByUser: Swift.Bool? = nil, + libraryItemId: Swift.String? = nil, + ratingCount: Swift.Int? = nil, + status: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil, + userCount: Swift.Int? = nil + ) + { + self.appId = appId + self.appVersion = appVersion + self.categories = categories + self.createdAt = createdAt + self.createdBy = createdBy + self.isRatedByUser = isRatedByUser + self.libraryItemId = libraryItemId + self.ratingCount = ratingCount + self.status = status + self.updatedAt = updatedAt + self.updatedBy = updatedBy + self.userCount = userCount + } + } + +} + +extension QAppsClientTypes { + + public enum LibraryItemStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case published + case sdkUnknown(Swift.String) + + public static var allCases: [LibraryItemStatus] { + return [ + .disabled, + .published + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .published: return "PUBLISHED" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct ListLibraryItemsInput { + /// Optional category to filter the library items by. + public var categoryId: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The maximum number of library items to return in the response. + public var limit: Swift.Int? + /// The token to request the next page of results. + public var nextToken: Swift.String? + + public init( + categoryId: Swift.String? = nil, + instanceId: Swift.String? = nil, + limit: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.categoryId = categoryId + self.instanceId = instanceId + self.limit = limit + self.nextToken = nextToken + } +} + +public struct ListLibraryItemsOutput { + /// The list of library items meeting the request criteria. + public var libraryItems: [QAppsClientTypes.LibraryItemMember]? + /// The token to use to request the next page of results. + public var nextToken: Swift.String? + + public init( + libraryItems: [QAppsClientTypes.LibraryItemMember]? = nil, + nextToken: Swift.String? = nil + ) + { + self.libraryItems = libraryItems + self.nextToken = nextToken + } +} + +public struct ListQAppsInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The maximum number of Q Apps to return in the response. + public var limit: Swift.Int? + /// The token to request the next page of results. + public var nextToken: Swift.String? + + public init( + instanceId: Swift.String? = nil, + limit: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.limit = limit + self.nextToken = nextToken + } +} + +extension QAppsClientTypes { + /// An Amazon Q App associated with a user, either owned by the user or favorited. + public struct UserAppItem { + /// The Amazon Resource Name (ARN) of the Q App. + /// This member is required. + public var appArn: Swift.String? + /// The unique identifier of the Q App. + /// This member is required. + public var appId: Swift.String? + /// A flag indicating whether the user can edit the Q App. + public var canEdit: Swift.Bool? + /// The date and time the user's association with the Q App was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the Q App. + public var description: Swift.String? + /// The status of the user's association with the Q App. + public var status: Swift.String? + /// The title of the Q App. + /// This member is required. + public var title: Swift.String? + + public init( + appArn: Swift.String? = nil, + appId: Swift.String? = nil, + canEdit: Swift.Bool? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + status: Swift.String? = nil, + title: Swift.String? = nil + ) + { + self.appArn = appArn + self.appId = appId + self.canEdit = canEdit + self.createdAt = createdAt + self.description = description + self.status = status + self.title = title + } + } + +} + +public struct ListQAppsOutput { + /// The list of Amazon Q Apps meeting the request criteria. + /// This member is required. + public var apps: [QAppsClientTypes.UserAppItem]? + /// The token to use to request the next page of results. + public var nextToken: Swift.String? + + public init( + apps: [QAppsClientTypes.UserAppItem]? = nil, + nextToken: Swift.String? = nil + ) + { + self.apps = apps + self.nextToken = nextToken + } +} + +public struct ListTagsForResourceInput { + /// The Amazon Resource Name (ARN) of the resource whose tags should be listed. + /// This member is required. + public var resourceARN: Swift.String? + + public init( + resourceARN: Swift.String? = nil + ) + { + self.resourceARN = resourceARN + } +} + +public struct ListTagsForResourceOutput { + /// The list of tags that are assigned to the resource. + public var tags: [Swift.String: Swift.String]? + + public init( + tags: [Swift.String: Swift.String]? = nil + ) + { + self.tags = tags + } +} + +extension QAppsClientTypes { + /// The input options for generating an Q App definition. + public enum PredictQAppInputOptions { + /// A conversation to use as input for generating the Q App definition. + case conversation([QAppsClientTypes.ConversationMessage]) + /// A problem statement to use as input for generating the Q App definition. + case problemstatement(Swift.String) + case sdkUnknown(Swift.String) + } + +} + +public struct PredictQAppInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The input to generate the Q App definition from, either a conversation or problem statement. + public var options: QAppsClientTypes.PredictQAppInputOptions? + + public init( + instanceId: Swift.String? = nil, + options: QAppsClientTypes.PredictQAppInputOptions? = nil + ) + { + self.instanceId = instanceId + self.options = options + } +} + +public struct StartQAppSessionInput { + /// The unique identifier of the Q App to start a session for. + /// This member is required. + public var appId: Swift.String? + /// The version of the Q App to use for the session. + /// This member is required. + public var appVersion: Swift.Int? + /// Optional initial input values to provide for the Q App session. + public var initialValues: [QAppsClientTypes.CardValue]? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// Optional tags to associate with the new Q App session. + public var tags: [Swift.String: Swift.String]? + + public init( + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + initialValues: [QAppsClientTypes.CardValue]? = nil, + instanceId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.appId = appId + self.appVersion = appVersion + self.initialValues = initialValues + self.instanceId = instanceId + self.tags = tags + } +} + +public struct StartQAppSessionOutput { + /// The Amazon Resource Name (ARN) of the new Q App session. + /// This member is required. + public var sessionArn: Swift.String? + /// The unique identifier of the new Q App session. + /// This member is required. + public var sessionId: Swift.String? + + public init( + sessionArn: Swift.String? = nil, + sessionId: Swift.String? = nil + ) + { + self.sessionArn = sessionArn + self.sessionId = sessionId + } +} + +public struct StopQAppSessionInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the Q App session to stop. + /// This member is required. + public var sessionId: Swift.String? + + public init( + instanceId: Swift.String? = nil, + sessionId: Swift.String? = nil + ) + { + self.instanceId = instanceId + self.sessionId = sessionId + } +} + +public struct TagResourceInput { + /// The Amazon Resource Name (ARN) of the resource to tag. + /// This member is required. + public var resourceARN: Swift.String? + /// The tags to associate with the resource. + /// This member is required. + public var tags: [Swift.String: Swift.String]? + + public init( + resourceARN: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.resourceARN = resourceARN + self.tags = tags + } +} + +public struct TagResourceOutput { + + public init() { } +} + +public struct UntagResourceInput { + /// The Amazon Resource Name (ARN) of the resource to disassociate the tag from. + /// This member is required. + public var resourceARN: Swift.String? + /// The keys of the tags to disassociate from the resource. + /// This member is required. + public var tagKeys: [Swift.String]? + + public init( + resourceARN: Swift.String? = nil, + tagKeys: [Swift.String]? = nil + ) + { + self.resourceARN = resourceARN + self.tagKeys = tagKeys + } +} + +public struct UntagResourceOutput { + + public init() { } +} + +public struct UpdateLibraryItemInput { + /// The new categories to associate with the library item. + public var categories: [Swift.String]? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the library item to update. + /// This member is required. + public var libraryItemId: Swift.String? + /// The new status to set for the library item, such as "Published" or "Hidden". + public var status: QAppsClientTypes.LibraryItemStatus? + + public init( + categories: [Swift.String]? = nil, + instanceId: Swift.String? = nil, + libraryItemId: Swift.String? = nil, + status: QAppsClientTypes.LibraryItemStatus? = nil + ) + { + self.categories = categories + self.instanceId = instanceId + self.libraryItemId = libraryItemId + self.status = status + } +} + +public struct UpdateLibraryItemOutput { + /// The unique identifier of the Q App associated with the library item. + /// This member is required. + public var appId: Swift.String? + /// The version of the Q App associated with the library item. + /// This member is required. + public var appVersion: Swift.Int? + /// The categories associated with the updated library item. + /// This member is required. + public var categories: [QAppsClientTypes.Category]? + /// The date and time the library item was originally created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who originally created the library item. + /// This member is required. + public var createdBy: Swift.String? + /// Whether the current user has rated the library item. + public var isRatedByUser: Swift.Bool? + /// The unique identifier of the updated library item. + /// This member is required. + public var libraryItemId: Swift.String? + /// The number of ratings the library item has received. + /// This member is required. + public var ratingCount: Swift.Int? + /// The new status of the updated library item. + /// This member is required. + public var status: Swift.String? + /// The date and time the library item was last updated. + public var updatedAt: Foundation.Date? + /// The user who last updated the library item. + public var updatedBy: Swift.String? + /// The number of users who have the associated Q App. + public var userCount: Swift.Int? + + public init( + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + categories: [QAppsClientTypes.Category]? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + isRatedByUser: Swift.Bool? = nil, + libraryItemId: Swift.String? = nil, + ratingCount: Swift.Int? = nil, + status: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil, + userCount: Swift.Int? = nil + ) + { + self.appId = appId + self.appVersion = appVersion + self.categories = categories + self.createdAt = createdAt + self.createdBy = createdBy + self.isRatedByUser = isRatedByUser + self.libraryItemId = libraryItemId + self.ratingCount = ratingCount + self.status = status + self.updatedAt = updatedAt + self.updatedBy = updatedBy + self.userCount = userCount + } +} + +public struct UpdateQAppOutput { + /// The Amazon Resource Name (ARN) of the updated Q App. + /// This member is required. + public var appArn: Swift.String? + /// The unique identifier of the updated Q App. + /// This member is required. + public var appId: Swift.String? + /// The new version of the updated Q App. + /// This member is required. + public var appVersion: Swift.Int? + /// The date and time the Q App was originally created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who originally created the Q App. + /// This member is required. + public var createdBy: Swift.String? + /// The new description of the updated Q App. + public var description: Swift.String? + /// The initial prompt for the updated Q App. + public var initialPrompt: Swift.String? + /// The capabilities required for the updated Q App. + public var requiredCapabilities: [QAppsClientTypes.AppRequiredCapability]? + /// The status of the updated Q App. + /// This member is required. + public var status: QAppsClientTypes.AppStatus? + /// The new title of the updated Q App. + /// This member is required. + public var title: Swift.String? + /// The date and time the Q App was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The user who last updated the Q App. + /// This member is required. + public var updatedBy: Swift.String? + + public init( + appArn: Swift.String? = nil, + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + initialPrompt: Swift.String? = nil, + requiredCapabilities: [QAppsClientTypes.AppRequiredCapability]? = nil, + status: QAppsClientTypes.AppStatus? = nil, + title: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.appArn = appArn + self.appId = appId + self.appVersion = appVersion + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.initialPrompt = initialPrompt + self.requiredCapabilities = requiredCapabilities + self.status = status + self.title = title + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } +} + +public struct UpdateQAppSessionInput { + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The unique identifier of the Q App session to provide input for. + /// This member is required. + public var sessionId: Swift.String? + /// The input values to provide for the current state of the Q App session. + public var values: [QAppsClientTypes.CardValue]? + + public init( + instanceId: Swift.String? = nil, + sessionId: Swift.String? = nil, + values: [QAppsClientTypes.CardValue]? = nil + ) + { + self.instanceId = instanceId + self.sessionId = sessionId + self.values = values + } +} + +public struct UpdateQAppSessionOutput { + /// The Amazon Resource Name (ARN) of the updated Q App session. + /// This member is required. + public var sessionArn: Swift.String? + /// The unique identifier of the updated Q App session. + /// This member is required. + public var sessionId: Swift.String? + + public init( + sessionArn: Swift.String? = nil, + sessionId: Swift.String? = nil + ) + { + self.sessionArn = sessionArn + self.sessionId = sessionId + } +} + +extension QAppsClientTypes { + /// The filter criteria used on responses based on document attributes or metadata fields. + public struct AttributeFilter { + /// Performs a logical AND operation on all supplied filters. + public var andAllFilters: [QAppsClientTypes.AttributeFilter]? + /// Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): stringListValue. + public var containsAll: QAppsClientTypes.DocumentAttribute? + /// Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): stringListValue. + public var containsAny: QAppsClientTypes.DocumentAttribute? + /// Performs an equals operation on two document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue, longValue, stringListValue and stringValue. + public var equalsTo: QAppsClientTypes.DocumentAttribute? + /// Performs a greater than operation on two document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue and longValue. + public var greaterThan: QAppsClientTypes.DocumentAttribute? + /// Performs a greater than or equals operation on two document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue and longValue. + public var greaterThanOrEquals: QAppsClientTypes.DocumentAttribute? + /// Performs a less than operation on two document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue and longValue. + public var lessThan: QAppsClientTypes.DocumentAttribute? + /// Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following [document attribute value type](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue and longValue. + public var lessThanOrEquals: QAppsClientTypes.DocumentAttribute? + /// Performs a logical NOT operation on all supplied filters. + @Indirect public var notFilter: QAppsClientTypes.AttributeFilter? + /// Performs a logical OR operation on all supplied filters. + public var orAllFilters: [QAppsClientTypes.AttributeFilter]? + + public init( + andAllFilters: [QAppsClientTypes.AttributeFilter]? = nil, + containsAll: QAppsClientTypes.DocumentAttribute? = nil, + containsAny: QAppsClientTypes.DocumentAttribute? = nil, + equalsTo: QAppsClientTypes.DocumentAttribute? = nil, + greaterThan: QAppsClientTypes.DocumentAttribute? = nil, + greaterThanOrEquals: QAppsClientTypes.DocumentAttribute? = nil, + lessThan: QAppsClientTypes.DocumentAttribute? = nil, + lessThanOrEquals: QAppsClientTypes.DocumentAttribute? = nil, + notFilter: QAppsClientTypes.AttributeFilter? = nil, + orAllFilters: [QAppsClientTypes.AttributeFilter]? = nil + ) + { + self.andAllFilters = andAllFilters + self.containsAll = containsAll + self.containsAny = containsAny + self.equalsTo = equalsTo + self.greaterThan = greaterThan + self.greaterThanOrEquals = greaterThanOrEquals + self.lessThan = lessThan + self.lessThanOrEquals = lessThanOrEquals + self.notFilter = notFilter + self.orAllFilters = orAllFilters + } + } + +} + +extension QAppsClientTypes { + /// A card in a Amazon Q App that generates a response based on the Amazon Q Business service. + public struct QQueryCard { + /// The Amazon Q Business filters applied in this query card when resolving data sources + public var attributeFilter: QAppsClientTypes.AttributeFilter? + /// Any dependencies or requirements for the query card. + /// This member is required. + public var dependencies: [Swift.String]? + /// The unique identifier of the query card. + /// This member is required. + public var id: Swift.String? + /// The source or type of output generated by the query card. + /// This member is required. + public var outputSource: QAppsClientTypes.CardOutputSource? + /// The prompt or instructions displayed for the query card. + /// This member is required. + public var prompt: Swift.String? + /// The title or label of the query card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + attributeFilter: QAppsClientTypes.AttributeFilter? = nil, + dependencies: [Swift.String]? = nil, + id: Swift.String? = nil, + outputSource: QAppsClientTypes.CardOutputSource? = nil, + prompt: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.attributeFilter = attributeFilter + self.dependencies = dependencies + self.id = id + self.outputSource = outputSource + self.prompt = prompt + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + /// The input shape for defining a query card in an Amazon Q App. + public struct QQueryCardInput { + /// Turns on filtering of responses based on document attributes or metadata fields. + public var attributeFilter: QAppsClientTypes.AttributeFilter? + /// The unique identifier of the query card. + /// This member is required. + public var id: Swift.String? + /// The source or type of output to generate for the query card. + public var outputSource: QAppsClientTypes.CardOutputSource? + /// The prompt or instructions displayed for the query card. + /// This member is required. + public var prompt: Swift.String? + /// The title or label of the query card. + /// This member is required. + public var title: Swift.String? + /// The type of the card. + /// This member is required. + public var type: QAppsClientTypes.CardType? + + public init( + attributeFilter: QAppsClientTypes.AttributeFilter? = nil, + id: Swift.String? = nil, + outputSource: QAppsClientTypes.CardOutputSource? = nil, + prompt: Swift.String? = nil, + title: Swift.String? = nil, + type: QAppsClientTypes.CardType? = nil + ) + { + self.attributeFilter = attributeFilter + self.id = id + self.outputSource = outputSource + self.prompt = prompt + self.title = title + self.type = type + } + } + +} + +extension QAppsClientTypes { + /// A card representing a component or step in an Amazon Q App's flow. + public indirect enum Card { + /// A container for the properties of the text input card. + case textinput(QAppsClientTypes.TextInputCard) + /// A container for the properties of the query card. + case qquery(QAppsClientTypes.QQueryCard) + /// A container for the properties of the plugin card. + case qplugin(QAppsClientTypes.QPluginCard) + /// A container for the properties of the file upload card. + case fileupload(QAppsClientTypes.FileUploadCard) + case sdkUnknown(Swift.String) + } + +} + +extension QAppsClientTypes { + /// The properties defining an input card in an Amazon Q App. + public indirect enum CardInput { + /// A container for the properties of the text input card. + case textinput(QAppsClientTypes.TextInputCardInput) + /// A container for the properties of the query input card. + case qquery(QAppsClientTypes.QQueryCardInput) + /// A container for the properties of the plugin input card. + case qplugin(QAppsClientTypes.QPluginCardInput) + /// A container for the properties of the file upload input card. + case fileupload(QAppsClientTypes.FileUploadCardInput) + case sdkUnknown(Swift.String) + } + +} + +extension QAppsClientTypes { + /// The definition of the Q App, specifying the cards and flow. + public struct AppDefinition { + /// The version of the app definition schema or specification. + /// This member is required. + public var appDefinitionVersion: Swift.String? + /// A flag indicating whether the Q App's definition can be edited by the user. + public var canEdit: Swift.Bool? + /// The cards that make up the Q App, such as text input, file upload, or query cards. + /// This member is required. + public var cards: [QAppsClientTypes.Card]? + + public init( + appDefinitionVersion: Swift.String? = nil, + canEdit: Swift.Bool? = nil, + cards: [QAppsClientTypes.Card]? = nil + ) + { + self.appDefinitionVersion = appDefinitionVersion + self.canEdit = canEdit + self.cards = cards + } + } + +} + +extension QAppsClientTypes { + /// The input for defining an Q App. + public struct AppDefinitionInput { + /// The cards that make up the Q App definition. + /// This member is required. + public var cards: [QAppsClientTypes.CardInput]? + /// The initial prompt displayed when the Q App is started. + public var initialPrompt: Swift.String? + + public init( + cards: [QAppsClientTypes.CardInput]? = nil, + initialPrompt: Swift.String? = nil + ) + { + self.cards = cards + self.initialPrompt = initialPrompt + } + } + +} + +extension QAppsClientTypes { + /// The definition of an Amazon Q App generated based on input such as a conversation or problem statement. + public struct PredictAppDefinition { + /// The definition specifying the cards and flow of the generated Q App. + /// This member is required. + public var appDefinition: QAppsClientTypes.AppDefinitionInput? + /// The description of the generated Q App definition. + public var description: Swift.String? + /// The title of the generated Q App definition. + /// This member is required. + public var title: Swift.String? + + public init( + appDefinition: QAppsClientTypes.AppDefinitionInput? = nil, + description: Swift.String? = nil, + title: Swift.String? = nil + ) + { + self.appDefinition = appDefinition + self.description = description + self.title = title + } + } + +} + +public struct CreateQAppInput { + /// The definition of the new Q App, specifying the cards and flow. + /// This member is required. + public var appDefinition: QAppsClientTypes.AppDefinitionInput? + /// The description of the new Q App. + public var description: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// Optional tags to associate with the new Q App. + public var tags: [Swift.String: Swift.String]? + /// The title of the new Q App. + /// This member is required. + public var title: Swift.String? + + public init( + appDefinition: QAppsClientTypes.AppDefinitionInput? = nil, + description: Swift.String? = nil, + instanceId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil, + title: Swift.String? = nil + ) + { + self.appDefinition = appDefinition + self.description = description + self.instanceId = instanceId + self.tags = tags + self.title = title + } +} + +public struct GetQAppOutput { + /// The Amazon Resource Name (ARN) of the Q App. + /// This member is required. + public var appArn: Swift.String? + /// The full definition of the Q App, specifying the cards and flow. + /// This member is required. + public var appDefinition: QAppsClientTypes.AppDefinition? + /// The unique identifier of the Q App. + /// This member is required. + public var appId: Swift.String? + /// The version of the Q App. + /// This member is required. + public var appVersion: Swift.Int? + /// The date and time the Q App was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who created the Q App. + /// This member is required. + public var createdBy: Swift.String? + /// The description of the Q App. + public var description: Swift.String? + /// The initial prompt displayed when the Q App is started. + public var initialPrompt: Swift.String? + /// The capabilities required to run the Q App, such as file upload or third-party integrations. + public var requiredCapabilities: [QAppsClientTypes.AppRequiredCapability]? + /// The status of the Q App. + /// This member is required. + public var status: QAppsClientTypes.AppStatus? + /// The title of the Q App. + /// This member is required. + public var title: Swift.String? + /// The date and time the Q App was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The user who last updated the Q App. + /// This member is required. + public var updatedBy: Swift.String? + + public init( + appArn: Swift.String? = nil, + appDefinition: QAppsClientTypes.AppDefinition? = nil, + appId: Swift.String? = nil, + appVersion: Swift.Int? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + initialPrompt: Swift.String? = nil, + requiredCapabilities: [QAppsClientTypes.AppRequiredCapability]? = nil, + status: QAppsClientTypes.AppStatus? = nil, + title: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.appArn = appArn + self.appDefinition = appDefinition + self.appId = appId + self.appVersion = appVersion + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.initialPrompt = initialPrompt + self.requiredCapabilities = requiredCapabilities + self.status = status + self.title = title + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } +} + +public struct UpdateQAppInput { + /// The new definition specifying the cards and flow for the Q App. + public var appDefinition: QAppsClientTypes.AppDefinitionInput? + /// The unique identifier of the Q App to update. + /// This member is required. + public var appId: Swift.String? + /// The new description for the Q App. + public var description: Swift.String? + /// The unique identifier of the Amazon Q Business application environment instance. + /// This member is required. + public var instanceId: Swift.String? + /// The new title for the Q App. + public var title: Swift.String? + + public init( + appDefinition: QAppsClientTypes.AppDefinitionInput? = nil, + appId: Swift.String? = nil, + description: Swift.String? = nil, + instanceId: Swift.String? = nil, + title: Swift.String? = nil + ) + { + self.appDefinition = appDefinition + self.appId = appId + self.description = description + self.instanceId = instanceId + self.title = title + } +} + +public struct PredictQAppOutput { + /// The generated Q App definition. + /// This member is required. + public var app: QAppsClientTypes.PredictAppDefinition? + /// The problem statement extracted from the input conversation, if provided. + /// This member is required. + public var problemStatement: Swift.String? + + public init( + app: QAppsClientTypes.PredictAppDefinition? = nil, + problemStatement: Swift.String? = nil + ) + { + self.app = app + self.problemStatement = problemStatement + } +} + +extension AssociateLibraryItemReviewInput { + + static func urlPathProvider(_ value: AssociateLibraryItemReviewInput) -> Swift.String? { + return "/catalog.associateItemRating" + } +} + +extension AssociateLibraryItemReviewInput { + + static func headerProvider(_ value: AssociateLibraryItemReviewInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension AssociateQAppWithUserInput { + + static func urlPathProvider(_ value: AssociateQAppWithUserInput) -> Swift.String? { + return "/apps.install" + } +} + +extension AssociateQAppWithUserInput { + + static func headerProvider(_ value: AssociateQAppWithUserInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension CreateLibraryItemInput { + + static func urlPathProvider(_ value: CreateLibraryItemInput) -> Swift.String? { + return "/catalog.createItem" + } +} + +extension CreateLibraryItemInput { + + static func headerProvider(_ value: CreateLibraryItemInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension CreateQAppInput { + + static func urlPathProvider(_ value: CreateQAppInput) -> Swift.String? { + return "/apps.create" + } +} + +extension CreateQAppInput { + + static func headerProvider(_ value: CreateQAppInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension DeleteLibraryItemInput { + + static func urlPathProvider(_ value: DeleteLibraryItemInput) -> Swift.String? { + return "/catalog.deleteItem" + } +} + +extension DeleteLibraryItemInput { + + static func headerProvider(_ value: DeleteLibraryItemInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension DeleteQAppInput { + + static func urlPathProvider(_ value: DeleteQAppInput) -> Swift.String? { + return "/apps.delete" + } +} + +extension DeleteQAppInput { + + static func headerProvider(_ value: DeleteQAppInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension DisassociateLibraryItemReviewInput { + + static func urlPathProvider(_ value: DisassociateLibraryItemReviewInput) -> Swift.String? { + return "/catalog.disassociateItemRating" + } +} + +extension DisassociateLibraryItemReviewInput { + + static func headerProvider(_ value: DisassociateLibraryItemReviewInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension DisassociateQAppFromUserInput { + + static func urlPathProvider(_ value: DisassociateQAppFromUserInput) -> Swift.String? { + return "/apps.uninstall" + } +} + +extension DisassociateQAppFromUserInput { + + static func headerProvider(_ value: DisassociateQAppFromUserInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension GetLibraryItemInput { + + static func urlPathProvider(_ value: GetLibraryItemInput) -> Swift.String? { + return "/catalog.getItem" + } +} + +extension GetLibraryItemInput { + + static func headerProvider(_ value: GetLibraryItemInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension GetLibraryItemInput { + + static func queryItemProvider(_ value: GetLibraryItemInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let libraryItemId = value.libraryItemId else { + let message = "Creating a URL Query Item failed. libraryItemId is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let libraryItemIdQueryItem = Smithy.URIQueryItem(name: "libraryItemId".urlPercentEncoding(), value: Swift.String(libraryItemId).urlPercentEncoding()) + items.append(libraryItemIdQueryItem) + if let appId = value.appId { + let appIdQueryItem = Smithy.URIQueryItem(name: "appId".urlPercentEncoding(), value: Swift.String(appId).urlPercentEncoding()) + items.append(appIdQueryItem) + } + return items + } +} + +extension GetQAppInput { + + static func urlPathProvider(_ value: GetQAppInput) -> Swift.String? { + return "/apps.get" + } +} + +extension GetQAppInput { + + static func headerProvider(_ value: GetQAppInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension GetQAppInput { + + static func queryItemProvider(_ value: GetQAppInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let appId = value.appId else { + let message = "Creating a URL Query Item failed. appId is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let appIdQueryItem = Smithy.URIQueryItem(name: "appId".urlPercentEncoding(), value: Swift.String(appId).urlPercentEncoding()) + items.append(appIdQueryItem) + return items + } +} + +extension GetQAppSessionInput { + + static func urlPathProvider(_ value: GetQAppSessionInput) -> Swift.String? { + return "/runtime.getQAppSession" + } +} + +extension GetQAppSessionInput { + + static func headerProvider(_ value: GetQAppSessionInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension GetQAppSessionInput { + + static func queryItemProvider(_ value: GetQAppSessionInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let sessionId = value.sessionId else { + let message = "Creating a URL Query Item failed. sessionId is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let sessionIdQueryItem = Smithy.URIQueryItem(name: "sessionId".urlPercentEncoding(), value: Swift.String(sessionId).urlPercentEncoding()) + items.append(sessionIdQueryItem) + return items + } +} + +extension ImportDocumentInput { + + static func urlPathProvider(_ value: ImportDocumentInput) -> Swift.String? { + return "/apps.importDocument" + } +} + +extension ImportDocumentInput { + + static func headerProvider(_ value: ImportDocumentInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension ListLibraryItemsInput { + + static func urlPathProvider(_ value: ListLibraryItemsInput) -> Swift.String? { + return "/catalog.list" + } +} + +extension ListLibraryItemsInput { + + static func headerProvider(_ value: ListLibraryItemsInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension ListLibraryItemsInput { + + static func queryItemProvider(_ value: ListLibraryItemsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let limit = value.limit { + let limitQueryItem = Smithy.URIQueryItem(name: "limit".urlPercentEncoding(), value: Swift.String(limit).urlPercentEncoding()) + items.append(limitQueryItem) + } + if let categoryId = value.categoryId { + let categoryIdQueryItem = Smithy.URIQueryItem(name: "categoryId".urlPercentEncoding(), value: Swift.String(categoryId).urlPercentEncoding()) + items.append(categoryIdQueryItem) + } + return items + } +} + +extension ListQAppsInput { + + static func urlPathProvider(_ value: ListQAppsInput) -> Swift.String? { + return "/apps.list" + } +} + +extension ListQAppsInput { + + static func headerProvider(_ value: ListQAppsInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension ListQAppsInput { + + static func queryItemProvider(_ value: ListQAppsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let limit = value.limit { + let limitQueryItem = Smithy.URIQueryItem(name: "limit".urlPercentEncoding(), value: Swift.String(limit).urlPercentEncoding()) + items.append(limitQueryItem) + } + return items + } +} + +extension ListTagsForResourceInput { + + static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { + guard let resourceARN = value.resourceARN else { + return nil + } + return "/tags/\(resourceARN.urlPercentEncoding())" + } +} + +extension PredictQAppInput { + + static func urlPathProvider(_ value: PredictQAppInput) -> Swift.String? { + return "/apps.predictQApp" + } +} + +extension PredictQAppInput { + + static func headerProvider(_ value: PredictQAppInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension StartQAppSessionInput { + + static func urlPathProvider(_ value: StartQAppSessionInput) -> Swift.String? { + return "/runtime.startQAppSession" + } +} + +extension StartQAppSessionInput { + + static func headerProvider(_ value: StartQAppSessionInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension StopQAppSessionInput { + + static func urlPathProvider(_ value: StopQAppSessionInput) -> Swift.String? { + return "/runtime.deleteMiniAppRun" + } +} + +extension StopQAppSessionInput { + + static func headerProvider(_ value: StopQAppSessionInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension TagResourceInput { + + static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { + guard let resourceARN = value.resourceARN else { + return nil + } + return "/tags/\(resourceARN.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { + guard let resourceARN = value.resourceARN else { + return nil + } + return "/tags/\(resourceARN.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func queryItemProvider(_ value: UntagResourceInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let tagKeys = value.tagKeys else { + let message = "Creating a URL Query Item failed. tagKeys is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + tagKeys.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "tagKeys".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + return items + } +} + +extension UpdateLibraryItemInput { + + static func urlPathProvider(_ value: UpdateLibraryItemInput) -> Swift.String? { + return "/catalog.updateItem" + } +} + +extension UpdateLibraryItemInput { + + static func headerProvider(_ value: UpdateLibraryItemInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension UpdateQAppInput { + + static func urlPathProvider(_ value: UpdateQAppInput) -> Swift.String? { + return "/apps.update" + } +} + +extension UpdateQAppInput { + + static func headerProvider(_ value: UpdateQAppInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension UpdateQAppSessionInput { + + static func urlPathProvider(_ value: UpdateQAppSessionInput) -> Swift.String? { + return "/runtime.updateQAppSession" + } +} + +extension UpdateQAppSessionInput { + + static func headerProvider(_ value: UpdateQAppSessionInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let instanceId = value.instanceId { + items.add(SmithyHTTPAPI.Header(name: "instance-id", value: Swift.String(instanceId))) + } + return items + } +} + +extension AssociateLibraryItemReviewInput { + + static func write(value: AssociateLibraryItemReviewInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["libraryItemId"].write(value.libraryItemId) + } +} + +extension AssociateQAppWithUserInput { + + static func write(value: AssociateQAppWithUserInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appId"].write(value.appId) + } +} + +extension CreateLibraryItemInput { + + static func write(value: CreateLibraryItemInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appId"].write(value.appId) + try writer["appVersion"].write(value.appVersion) + try writer["categories"].writeList(value.categories, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension CreateQAppInput { + + static func write(value: CreateQAppInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appDefinition"].write(value.appDefinition, with: QAppsClientTypes.AppDefinitionInput.write(value:to:)) + try writer["description"].write(value.description) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["title"].write(value.title) + } +} + +extension DeleteLibraryItemInput { + + static func write(value: DeleteLibraryItemInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["libraryItemId"].write(value.libraryItemId) + } +} + +extension DeleteQAppInput { + + static func write(value: DeleteQAppInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appId"].write(value.appId) + } +} + +extension DisassociateLibraryItemReviewInput { + + static func write(value: DisassociateLibraryItemReviewInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["libraryItemId"].write(value.libraryItemId) + } +} + +extension DisassociateQAppFromUserInput { + + static func write(value: DisassociateQAppFromUserInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appId"].write(value.appId) + } +} + +extension ImportDocumentInput { + + static func write(value: ImportDocumentInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appId"].write(value.appId) + try writer["cardId"].write(value.cardId) + try writer["fileContentsBase64"].write(value.fileContentsBase64) + try writer["fileName"].write(value.fileName) + try writer["scope"].write(value.scope) + try writer["sessionId"].write(value.sessionId) + } +} + +extension PredictQAppInput { + + static func write(value: PredictQAppInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["options"].write(value.options, with: QAppsClientTypes.PredictQAppInputOptions.write(value:to:)) + } +} + +extension StartQAppSessionInput { + + static func write(value: StartQAppSessionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appId"].write(value.appId) + try writer["appVersion"].write(value.appVersion) + try writer["initialValues"].writeList(value.initialValues, memberWritingClosure: QAppsClientTypes.CardValue.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension StopQAppSessionInput { + + static func write(value: StopQAppSessionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sessionId"].write(value.sessionId) + } +} + +extension TagResourceInput { + + static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension UpdateLibraryItemInput { + + static func write(value: UpdateLibraryItemInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["categories"].writeList(value.categories, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["libraryItemId"].write(value.libraryItemId) + try writer["status"].write(value.status) + } +} + +extension UpdateQAppInput { + + static func write(value: UpdateQAppInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["appDefinition"].write(value.appDefinition, with: QAppsClientTypes.AppDefinitionInput.write(value:to:)) + try writer["appId"].write(value.appId) + try writer["description"].write(value.description) + try writer["title"].write(value.title) + } +} + +extension UpdateQAppSessionInput { + + static func write(value: UpdateQAppSessionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["sessionId"].write(value.sessionId) + try writer["values"].writeList(value.values, memberWritingClosure: QAppsClientTypes.CardValue.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension AssociateLibraryItemReviewOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateLibraryItemReviewOutput { + return AssociateLibraryItemReviewOutput() + } +} + +extension AssociateQAppWithUserOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateQAppWithUserOutput { + return AssociateQAppWithUserOutput() + } +} + +extension CreateLibraryItemOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLibraryItemOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateLibraryItemOutput() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.libraryItemId = try reader["libraryItemId"].readIfPresent() + value.ratingCount = try reader["ratingCount"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + return value + } +} + +extension CreateQAppOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQAppOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateQAppOutput() + value.appArn = try reader["appArn"].readIfPresent() + value.appId = try reader["appId"].readIfPresent() + value.appVersion = try reader["appVersion"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.initialPrompt = try reader["initialPrompt"].readIfPresent() + value.requiredCapabilities = try reader["requiredCapabilities"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + value.status = try reader["status"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + return value + } +} + +extension DeleteLibraryItemOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLibraryItemOutput { + return DeleteLibraryItemOutput() + } +} + +extension DeleteQAppOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQAppOutput { + return DeleteQAppOutput() + } +} + +extension DisassociateLibraryItemReviewOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateLibraryItemReviewOutput { + return DisassociateLibraryItemReviewOutput() + } +} + +extension DisassociateQAppFromUserOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateQAppFromUserOutput { + return DisassociateQAppFromUserOutput() + } +} + +extension GetLibraryItemOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLibraryItemOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetLibraryItemOutput() + value.appId = try reader["appId"].readIfPresent() + value.appVersion = try reader["appVersion"].readIfPresent() + value.categories = try reader["categories"].readListIfPresent(memberReadingClosure: QAppsClientTypes.Category.read(from:), memberNodeInfo: "member", isFlattened: false) + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.isRatedByUser = try reader["isRatedByUser"].readIfPresent() + value.libraryItemId = try reader["libraryItemId"].readIfPresent() + value.ratingCount = try reader["ratingCount"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + value.userCount = try reader["userCount"].readIfPresent() + return value + } +} + +extension GetQAppOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQAppOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetQAppOutput() + value.appArn = try reader["appArn"].readIfPresent() + value.appDefinition = try reader["appDefinition"].readIfPresent(with: QAppsClientTypes.AppDefinition.read(from:)) + value.appId = try reader["appId"].readIfPresent() + value.appVersion = try reader["appVersion"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.initialPrompt = try reader["initialPrompt"].readIfPresent() + value.requiredCapabilities = try reader["requiredCapabilities"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + value.status = try reader["status"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + return value + } +} + +extension GetQAppSessionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQAppSessionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetQAppSessionOutput() + value.cardStatus = try reader["cardStatus"].readMapIfPresent(valueReadingClosure: QAppsClientTypes.CardStatus.read(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.sessionArn = try reader["sessionArn"].readIfPresent() + value.sessionId = try reader["sessionId"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value + } +} + +extension ImportDocumentOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportDocumentOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ImportDocumentOutput() + value.fileId = try reader["fileId"].readIfPresent() + return value + } +} + +extension ListLibraryItemsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLibraryItemsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListLibraryItemsOutput() + value.libraryItems = try reader["libraryItems"].readListIfPresent(memberReadingClosure: QAppsClientTypes.LibraryItemMember.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListQAppsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQAppsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListQAppsOutput() + value.apps = try reader["apps"].readListIfPresent(memberReadingClosure: QAppsClientTypes.UserAppItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListTagsForResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListTagsForResourceOutput() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension PredictQAppOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PredictQAppOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PredictQAppOutput() + value.app = try reader["app"].readIfPresent(with: QAppsClientTypes.PredictAppDefinition.read(from:)) + value.problemStatement = try reader["problemStatement"].readIfPresent() + return value + } +} + +extension StartQAppSessionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartQAppSessionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = StartQAppSessionOutput() + value.sessionArn = try reader["sessionArn"].readIfPresent() + value.sessionId = try reader["sessionId"].readIfPresent() + return value + } +} + +extension StopQAppSessionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopQAppSessionOutput { + return StopQAppSessionOutput() + } +} + +extension TagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { + return TagResourceOutput() + } +} + +extension UntagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { + return UntagResourceOutput() + } +} + +extension UpdateLibraryItemOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLibraryItemOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateLibraryItemOutput() + value.appId = try reader["appId"].readIfPresent() + value.appVersion = try reader["appVersion"].readIfPresent() + value.categories = try reader["categories"].readListIfPresent(memberReadingClosure: QAppsClientTypes.Category.read(from:), memberNodeInfo: "member", isFlattened: false) + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.isRatedByUser = try reader["isRatedByUser"].readIfPresent() + value.libraryItemId = try reader["libraryItemId"].readIfPresent() + value.ratingCount = try reader["ratingCount"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + value.userCount = try reader["userCount"].readIfPresent() + return value + } +} + +extension UpdateQAppOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQAppOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateQAppOutput() + value.appArn = try reader["appArn"].readIfPresent() + value.appId = try reader["appId"].readIfPresent() + value.appVersion = try reader["appVersion"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.initialPrompt = try reader["initialPrompt"].readIfPresent() + value.requiredCapabilities = try reader["requiredCapabilities"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + value.status = try reader["status"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + return value + } +} + +extension UpdateQAppSessionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQAppSessionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateQAppSessionOutput() + value.sessionArn = try reader["sessionArn"].readIfPresent() + value.sessionId = try reader["sessionId"].readIfPresent() + return value + } +} + +enum AssociateLibraryItemReviewOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum AssociateQAppWithUserOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateLibraryItemOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateQAppOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ContentTooLargeException": return try ContentTooLargeException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteLibraryItemOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteQAppOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DisassociateLibraryItemReviewOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DisassociateQAppFromUserOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetLibraryItemOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetQAppOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetQAppSessionOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ImportDocumentOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ContentTooLargeException": return try ContentTooLargeException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListLibraryItemsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListQAppsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListTagsForResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PredictQAppOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StartQAppSessionOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StopQAppSessionOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum TagResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UntagResourceOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateLibraryItemOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateQAppOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ContentTooLargeException": return try ContentTooLargeException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateQAppSessionOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +extension ServiceQuotaExceededException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { + let reader = baseError.errorBodyReader + var value = ServiceQuotaExceededException() + value.properties.message = try reader["message"].readIfPresent() + value.properties.quotaCode = try reader["quotaCode"].readIfPresent() + value.properties.resourceId = try reader["resourceId"].readIfPresent() + value.properties.resourceType = try reader["resourceType"].readIfPresent() + value.properties.serviceCode = try reader["serviceCode"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension UnauthorizedException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> UnauthorizedException { + let reader = baseError.errorBodyReader + var value = UnauthorizedException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InternalServerException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InternalServerException() + if let retryAfterSecondsHeaderValue = httpResponse.headers.value(for: "Retry-After") { + value.properties.retryAfterSeconds = Swift.Int(retryAfterSecondsHeaderValue) ?? 0 + } + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension AccessDeniedException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { + let reader = baseError.errorBodyReader + var value = AccessDeniedException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ValidationException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { + let reader = baseError.errorBodyReader + var value = ValidationException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ResourceNotFoundException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { + let reader = baseError.errorBodyReader + var value = ResourceNotFoundException() + value.properties.message = try reader["message"].readIfPresent() + value.properties.resourceId = try reader["resourceId"].readIfPresent() + value.properties.resourceType = try reader["resourceType"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ThrottlingException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ThrottlingException() + if let retryAfterSecondsHeaderValue = httpResponse.headers.value(for: "Retry-After") { + value.properties.retryAfterSeconds = Swift.Int(retryAfterSecondsHeaderValue) ?? 0 + } + value.properties.message = try reader["message"].readIfPresent() + value.properties.quotaCode = try reader["quotaCode"].readIfPresent() + value.properties.serviceCode = try reader["serviceCode"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ConflictException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ConflictException { + let reader = baseError.errorBodyReader + var value = ConflictException() + value.properties.message = try reader["message"].readIfPresent() + value.properties.resourceId = try reader["resourceId"].readIfPresent() + value.properties.resourceType = try reader["resourceType"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ContentTooLargeException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ContentTooLargeException { + let reader = baseError.errorBodyReader + var value = ContentTooLargeException() + value.properties.message = try reader["message"].readIfPresent() + value.properties.resourceId = try reader["resourceId"].readIfPresent() + value.properties.resourceType = try reader["resourceType"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension QAppsClientTypes.Category { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.Category { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.Category() + value.id = try reader["id"].readIfPresent() + value.title = try reader["title"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.AppDefinition { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.AppDefinition { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.AppDefinition() + value.appDefinitionVersion = try reader["appDefinitionVersion"].readIfPresent() + value.cards = try reader["cards"].readListIfPresent(memberReadingClosure: QAppsClientTypes.Card.read(from:), memberNodeInfo: "member", isFlattened: false) + value.canEdit = try reader["canEdit"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.Card { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.Card { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "textInput": + return .textinput(try reader["textInput"].read(with: QAppsClientTypes.TextInputCard.read(from:))) + case "qQuery": + return .qquery(try reader["qQuery"].read(with: QAppsClientTypes.QQueryCard.read(from:))) + case "qPlugin": + return .qplugin(try reader["qPlugin"].read(with: QAppsClientTypes.QPluginCard.read(from:))) + case "fileUpload": + return .fileupload(try reader["fileUpload"].read(with: QAppsClientTypes.FileUploadCard.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension QAppsClientTypes.FileUploadCard { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.FileUploadCard { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.FileUploadCard() + value.id = try reader["id"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.dependencies = try reader["dependencies"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.type = try reader["type"].readIfPresent() + value.filename = try reader["filename"].readIfPresent() + value.fileId = try reader["fileId"].readIfPresent() + value.allowOverride = try reader["allowOverride"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.QPluginCard { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.QPluginCard { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.QPluginCard() + value.id = try reader["id"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.dependencies = try reader["dependencies"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.type = try reader["type"].readIfPresent() + value.prompt = try reader["prompt"].readIfPresent() + value.pluginType = try reader["pluginType"].readIfPresent() + value.pluginId = try reader["pluginId"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.QQueryCard { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.QQueryCard { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.QQueryCard() + value.id = try reader["id"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.dependencies = try reader["dependencies"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.type = try reader["type"].readIfPresent() + value.prompt = try reader["prompt"].readIfPresent() + value.outputSource = try reader["outputSource"].readIfPresent() + value.attributeFilter = try reader["attributeFilter"].readIfPresent(with: QAppsClientTypes.AttributeFilter.read(from:)) + return value + } +} + +extension QAppsClientTypes.AttributeFilter { + + static func write(value: QAppsClientTypes.AttributeFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["andAllFilters"].writeList(value.andAllFilters, memberWritingClosure: QAppsClientTypes.AttributeFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["containsAll"].write(value.containsAll, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["containsAny"].write(value.containsAny, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["equalsTo"].write(value.equalsTo, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["greaterThan"].write(value.greaterThan, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["greaterThanOrEquals"].write(value.greaterThanOrEquals, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["lessThan"].write(value.lessThan, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["lessThanOrEquals"].write(value.lessThanOrEquals, with: QAppsClientTypes.DocumentAttribute.write(value:to:)) + try writer["notFilter"].write(value.notFilter, with: QAppsClientTypes.AttributeFilter.write(value:to:)) + try writer["orAllFilters"].writeList(value.orAllFilters, memberWritingClosure: QAppsClientTypes.AttributeFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.AttributeFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.AttributeFilter() + value.andAllFilters = try reader["andAllFilters"].readListIfPresent(memberReadingClosure: QAppsClientTypes.AttributeFilter.read(from:), memberNodeInfo: "member", isFlattened: false) + value.orAllFilters = try reader["orAllFilters"].readListIfPresent(memberReadingClosure: QAppsClientTypes.AttributeFilter.read(from:), memberNodeInfo: "member", isFlattened: false) + value.notFilter = try reader["notFilter"].readIfPresent(with: QAppsClientTypes.AttributeFilter.read(from:)) + value.equalsTo = try reader["equalsTo"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + value.containsAll = try reader["containsAll"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + value.containsAny = try reader["containsAny"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + value.greaterThan = try reader["greaterThan"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + value.greaterThanOrEquals = try reader["greaterThanOrEquals"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + value.lessThan = try reader["lessThan"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + value.lessThanOrEquals = try reader["lessThanOrEquals"].readIfPresent(with: QAppsClientTypes.DocumentAttribute.read(from:)) + return value + } +} + +extension QAppsClientTypes.DocumentAttribute { + + static func write(value: QAppsClientTypes.DocumentAttribute?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["value"].write(value.value, with: QAppsClientTypes.DocumentAttributeValue.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.DocumentAttribute { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.DocumentAttribute() + value.name = try reader["name"].readIfPresent() + value.value = try reader["value"].readIfPresent(with: QAppsClientTypes.DocumentAttributeValue.read(from:)) + return value + } +} + +extension QAppsClientTypes.DocumentAttributeValue { + + static func write(value: QAppsClientTypes.DocumentAttributeValue?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .datevalue(datevalue): + try writer["dateValue"].writeTimestamp(datevalue, format: .epochSeconds) + case let .longvalue(longvalue): + try writer["longValue"].write(longvalue) + case let .stringlistvalue(stringlistvalue): + try writer["stringListValue"].writeList(stringlistvalue, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .stringvalue(stringvalue): + try writer["stringValue"].write(stringvalue) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.DocumentAttributeValue { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "stringValue": + return .stringvalue(try reader["stringValue"].read()) + case "stringListValue": + return .stringlistvalue(try reader["stringListValue"].readList(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false)) + case "longValue": + return .longvalue(try reader["longValue"].read()) + case "dateValue": + return .datevalue(try reader["dateValue"].readTimestamp(format: .epochSeconds)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension QAppsClientTypes.TextInputCard { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.TextInputCard { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.TextInputCard() + value.id = try reader["id"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.dependencies = try reader["dependencies"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.type = try reader["type"].readIfPresent() + value.placeholder = try reader["placeholder"].readIfPresent() + value.defaultValue = try reader["defaultValue"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.CardStatus { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.CardStatus { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.CardStatus() + value.currentState = try reader["currentState"].readIfPresent() + value.currentValue = try reader["currentValue"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.LibraryItemMember { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.LibraryItemMember { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.LibraryItemMember() + value.libraryItemId = try reader["libraryItemId"].readIfPresent() + value.appId = try reader["appId"].readIfPresent() + value.appVersion = try reader["appVersion"].readIfPresent() + value.categories = try reader["categories"].readListIfPresent(memberReadingClosure: QAppsClientTypes.Category.read(from:), memberNodeInfo: "member", isFlattened: false) + value.status = try reader["status"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.createdBy = try reader["createdBy"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .dateTime) + value.updatedBy = try reader["updatedBy"].readIfPresent() + value.ratingCount = try reader["ratingCount"].readIfPresent() + value.isRatedByUser = try reader["isRatedByUser"].readIfPresent() + value.userCount = try reader["userCount"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.UserAppItem { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.UserAppItem { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.UserAppItem() + value.appId = try reader["appId"].readIfPresent() + value.appArn = try reader["appArn"].readIfPresent() + value.title = try reader["title"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: .dateTime) + value.canEdit = try reader["canEdit"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.PredictAppDefinition { + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.PredictAppDefinition { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.PredictAppDefinition() + value.title = try reader["title"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.appDefinition = try reader["appDefinition"].readIfPresent(with: QAppsClientTypes.AppDefinitionInput.read(from:)) + return value + } +} + +extension QAppsClientTypes.AppDefinitionInput { + + static func write(value: QAppsClientTypes.AppDefinitionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cards"].writeList(value.cards, memberWritingClosure: QAppsClientTypes.CardInput.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["initialPrompt"].write(value.initialPrompt) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.AppDefinitionInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.AppDefinitionInput() + value.cards = try reader["cards"].readListIfPresent(memberReadingClosure: QAppsClientTypes.CardInput.read(from:), memberNodeInfo: "member", isFlattened: false) + value.initialPrompt = try reader["initialPrompt"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.CardInput { + + static func write(value: QAppsClientTypes.CardInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .fileupload(fileupload): + try writer["fileUpload"].write(fileupload, with: QAppsClientTypes.FileUploadCardInput.write(value:to:)) + case let .qplugin(qplugin): + try writer["qPlugin"].write(qplugin, with: QAppsClientTypes.QPluginCardInput.write(value:to:)) + case let .qquery(qquery): + try writer["qQuery"].write(qquery, with: QAppsClientTypes.QQueryCardInput.write(value:to:)) + case let .textinput(textinput): + try writer["textInput"].write(textinput, with: QAppsClientTypes.TextInputCardInput.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.CardInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "textInput": + return .textinput(try reader["textInput"].read(with: QAppsClientTypes.TextInputCardInput.read(from:))) + case "qQuery": + return .qquery(try reader["qQuery"].read(with: QAppsClientTypes.QQueryCardInput.read(from:))) + case "qPlugin": + return .qplugin(try reader["qPlugin"].read(with: QAppsClientTypes.QPluginCardInput.read(from:))) + case "fileUpload": + return .fileupload(try reader["fileUpload"].read(with: QAppsClientTypes.FileUploadCardInput.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension QAppsClientTypes.FileUploadCardInput { + + static func write(value: QAppsClientTypes.FileUploadCardInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["allowOverride"].write(value.allowOverride) + try writer["fileId"].write(value.fileId) + try writer["filename"].write(value.filename) + try writer["id"].write(value.id) + try writer["title"].write(value.title) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.FileUploadCardInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.FileUploadCardInput() + value.title = try reader["title"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.type = try reader["type"].readIfPresent() ?? .fileUpload + value.filename = try reader["filename"].readIfPresent() + value.fileId = try reader["fileId"].readIfPresent() + value.allowOverride = try reader["allowOverride"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.QPluginCardInput { + + static func write(value: QAppsClientTypes.QPluginCardInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["id"].write(value.id) + try writer["pluginId"].write(value.pluginId) + try writer["prompt"].write(value.prompt) + try writer["title"].write(value.title) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.QPluginCardInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.QPluginCardInput() + value.title = try reader["title"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.type = try reader["type"].readIfPresent() ?? .qPlugin + value.prompt = try reader["prompt"].readIfPresent() + value.pluginId = try reader["pluginId"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.QQueryCardInput { + + static func write(value: QAppsClientTypes.QQueryCardInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["attributeFilter"].write(value.attributeFilter, with: QAppsClientTypes.AttributeFilter.write(value:to:)) + try writer["id"].write(value.id) + try writer["outputSource"].write(value.outputSource) + try writer["prompt"].write(value.prompt) + try writer["title"].write(value.title) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.QQueryCardInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.QQueryCardInput() + value.title = try reader["title"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.type = try reader["type"].readIfPresent() ?? .qQuery + value.prompt = try reader["prompt"].readIfPresent() + value.outputSource = try reader["outputSource"].readIfPresent() ?? .approvedSources + value.attributeFilter = try reader["attributeFilter"].readIfPresent(with: QAppsClientTypes.AttributeFilter.read(from:)) + return value + } +} + +extension QAppsClientTypes.TextInputCardInput { + + static func write(value: QAppsClientTypes.TextInputCardInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["defaultValue"].write(value.defaultValue) + try writer["id"].write(value.id) + try writer["placeholder"].write(value.placeholder) + try writer["title"].write(value.title) + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QAppsClientTypes.TextInputCardInput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QAppsClientTypes.TextInputCardInput() + value.title = try reader["title"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.type = try reader["type"].readIfPresent() ?? .textInput + value.placeholder = try reader["placeholder"].readIfPresent() + value.defaultValue = try reader["defaultValue"].readIfPresent() + return value + } +} + +extension QAppsClientTypes.PredictQAppInputOptions { + + static func write(value: QAppsClientTypes.PredictQAppInputOptions?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .conversation(conversation): + try writer["conversation"].writeList(conversation, memberWritingClosure: QAppsClientTypes.ConversationMessage.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .problemstatement(problemstatement): + try writer["problemStatement"].write(problemstatement) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension QAppsClientTypes.ConversationMessage { + + static func write(value: QAppsClientTypes.ConversationMessage?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["body"].write(value.body) + try writer["type"].write(value.type) + } +} + +extension QAppsClientTypes.CardValue { + + static func write(value: QAppsClientTypes.CardValue?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cardId"].write(value.cardId) + try writer["value"].write(value.value) + } +} + +public enum QAppsClientTypes {} diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/Paginators.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/Paginators.swift new file mode 100644 index 00000000000..49e6087d90b --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/Paginators.swift @@ -0,0 +1,75 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import protocol ClientRuntime.PaginateToken +import struct ClientRuntime.PaginatorSequence + +extension QAppsClient { + /// Paginate over `[ListLibraryItemsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListLibraryItemsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListLibraryItemsOutput` + public func listLibraryItemsPaginated(input: ListLibraryItemsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listLibraryItems(input:)) + } +} + +extension ListLibraryItemsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListLibraryItemsInput { + return ListLibraryItemsInput( + categoryId: self.categoryId, + instanceId: self.instanceId, + limit: self.limit, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListLibraryItemsInput, OperationStackOutput == ListLibraryItemsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listLibraryItemsPaginated` + /// to access the nested member `[QAppsClientTypes.LibraryItemMember]` + /// - Returns: `[QAppsClientTypes.LibraryItemMember]` + public func libraryItems() async throws -> [QAppsClientTypes.LibraryItemMember] { + return try await self.asyncCompactMap { item in item.libraryItems } + } +} +extension QAppsClient { + /// Paginate over `[ListQAppsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListQAppsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListQAppsOutput` + public func listQAppsPaginated(input: ListQAppsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listQApps(input:)) + } +} + +extension ListQAppsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListQAppsInput { + return ListQAppsInput( + instanceId: self.instanceId, + limit: self.limit, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListQAppsInput, OperationStackOutput == ListQAppsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listQAppsPaginated` + /// to access the nested member `[QAppsClientTypes.UserAppItem]` + /// - Returns: `[QAppsClientTypes.UserAppItem]` + public func apps() async throws -> [QAppsClientTypes.UserAppItem] { + return try await self.asyncCompactMap { item in item.apps } + } +} diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/Plugins.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/Plugins.swift new file mode 100644 index 00000000000..73f578a5323 --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/Plugins.swift @@ -0,0 +1,73 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class AWSClientRuntime.AWSClientConfigDefaultsProvider +import protocol ClientRuntime.ClientConfiguration +import protocol ClientRuntime.Plugin +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyIdentity.AWSCredentialIdentityResolver +import struct AWSSDKHTTPAuth.SigV4AuthScheme +import typealias SmithyHTTPAuthAPI.AuthSchemes + +public class QAppsClientEndpointPlugin: Plugin { + private var endpointResolver: EndpointResolver + + public init(endpointResolver: EndpointResolver) { + self.endpointResolver = endpointResolver + } + + public convenience init() throws { + self.init(endpointResolver: try DefaultEndpointResolver()) + } + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? QAppsClient.QAppsClientConfiguration { + config.endpointResolver = self.endpointResolver + } + } +} + +public class DefaultAWSAuthSchemePlugin: ClientRuntime.Plugin { + + public init() {} + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? QAppsClient.QAppsClientConfiguration { + config.authSchemeResolver = DefaultQAppsAuthSchemeResolver() + config.authSchemes = [AWSSDKHTTPAuth.SigV4AuthScheme()] + config.awsCredentialIdentityResolver = try AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver() + } + } +} + +public class QAppsClientAuthSchemePlugin: ClientRuntime.Plugin { + private var authSchemes: SmithyHTTPAuthAPI.AuthSchemes? + private var authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? + private var awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? + + public init(authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: QAppsAuthSchemeResolver? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil) { + self.authSchemeResolver = authSchemeResolver + self.authSchemes = authSchemes + self.awsCredentialIdentityResolver = awsCredentialIdentityResolver + } + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? QAppsClient.QAppsClientConfiguration { + if (self.authSchemes != nil) { + config.authSchemes = self.authSchemes + } + if (self.authSchemeResolver != nil) { + config.authSchemeResolver = self.authSchemeResolver! + } + if (self.awsCredentialIdentityResolver != nil) { + config.awsCredentialIdentityResolver = self.awsCredentialIdentityResolver! + } + } + } +} diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift new file mode 100644 index 00000000000..d63a8c580af --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift @@ -0,0 +1,1417 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import Foundation +import class AWSClientRuntime.AWSClientConfigDefaultsProvider +import class AWSClientRuntime.DefaultAWSClientPlugin +import class ClientRuntime.ClientBuilder +import class ClientRuntime.DefaultClientPlugin +import class ClientRuntime.HttpClientConfiguration +import class ClientRuntime.SdkHttpClient +import class Smithy.ContextBuilder +import class SmithyJSON.Writer +import enum AWSClientRuntime.AWSRetryErrorInfoProvider +import enum AWSClientRuntime.AWSRetryMode +import enum ClientRuntime.ClientLogMode +import enum ClientRuntime.DefaultTelemetry +import protocol AWSClientRuntime.AWSDefaultClientConfiguration +import protocol AWSClientRuntime.AWSRegionClientConfiguration +import protocol ClientRuntime.Client +import protocol ClientRuntime.DefaultClientConfiguration +import protocol ClientRuntime.DefaultHttpClientConfiguration +import protocol ClientRuntime.HttpInterceptorProvider +import protocol ClientRuntime.IdempotencyTokenGenerator +import protocol ClientRuntime.InterceptorProvider +import protocol ClientRuntime.TelemetryProvider +import protocol Smithy.LogAgent +import protocol SmithyHTTPAPI.HTTPClient +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyIdentity.AWSCredentialIdentityResolver +import struct AWSClientRuntime.AWSUserAgentMetadata +import struct AWSClientRuntime.EndpointResolverMiddleware +import struct AWSClientRuntime.UserAgentMiddleware +import struct AWSSDKHTTPAuth.SigV4AuthScheme +import struct ClientRuntime.AuthSchemeMiddleware +import struct ClientRuntime.BodyMiddleware +import struct ClientRuntime.ContentLengthMiddleware +import struct ClientRuntime.ContentTypeMiddleware +import struct ClientRuntime.DeserializeMiddleware +import struct ClientRuntime.HeaderMiddleware +import struct ClientRuntime.LoggerMiddleware +import struct ClientRuntime.OperationStack +import struct ClientRuntime.QueryItemMiddleware +import struct ClientRuntime.RetryMiddleware +import struct ClientRuntime.SignerMiddleware +import struct ClientRuntime.URLHostMiddleware +import struct ClientRuntime.URLPathMiddleware +import struct SmithyRetries.DefaultRetryStrategy +import struct SmithyRetriesAPI.RetryStrategyOptions +import typealias SmithyHTTPAuthAPI.AuthSchemes + +public class QAppsClient: ClientRuntime.Client { + public static let clientName = "QAppsClient" + let client: ClientRuntime.SdkHttpClient + let config: QAppsClient.QAppsClientConfiguration + let serviceName = "QApps" + + public required init(config: QAppsClient.QAppsClientConfiguration) { + client = ClientRuntime.SdkHttpClient(engine: config.httpClientEngine, config: config.httpClientConfiguration) + self.config = config + } + + public convenience init(region: Swift.String) throws { + let config = try QAppsClient.QAppsClientConfiguration(region: region) + self.init(config: config) + } + + public convenience required init() async throws { + let config = try await QAppsClient.QAppsClientConfiguration() + self.init(config: config) + } +} + +extension QAppsClient { + public class QAppsClientConfiguration: AWSClientRuntime.AWSDefaultClientConfiguration & AWSClientRuntime.AWSRegionClientConfiguration & ClientRuntime.DefaultClientConfiguration & ClientRuntime.DefaultHttpClientConfiguration { + public var useFIPS: Swift.Bool? + + public var useDualStack: Swift.Bool? + + public var appID: Swift.String? + + public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver + + public var awsRetryMode: AWSClientRuntime.AWSRetryMode + + public var region: Swift.String? + + public var signingRegion: Swift.String? + + public var endpointResolver: EndpointResolver + + public var telemetryProvider: ClientRuntime.TelemetryProvider + + public var retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions + + public var clientLogMode: ClientRuntime.ClientLogMode + + public var endpoint: Swift.String? + + public var idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator + + public var httpClientEngine: SmithyHTTPAPI.HTTPClient + + public var httpClientConfiguration: ClientRuntime.HttpClientConfiguration + + public var authSchemes: SmithyHTTPAuthAPI.AuthSchemes? + + public var authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver + + public private(set) var interceptorProviders: [ClientRuntime.InterceptorProvider] + + public private(set) var httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider] + + internal let logger: Smithy.LogAgent + + private init(_ useFIPS: Swift.Bool?, _ useDualStack: Swift.Bool?, _ appID: Swift.String?, _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ region: Swift.String?, _ signingRegion: Swift.String?, _ endpointResolver: EndpointResolver, _ telemetryProvider: ClientRuntime.TelemetryProvider, _ retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions, _ clientLogMode: ClientRuntime.ClientLogMode, _ endpoint: Swift.String?, _ idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator, _ httpClientEngine: SmithyHTTPAPI.HTTPClient, _ httpClientConfiguration: ClientRuntime.HttpClientConfiguration, _ authSchemes: SmithyHTTPAuthAPI.AuthSchemes?, _ authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver, _ interceptorProviders: [ClientRuntime.InterceptorProvider], _ httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]) { + self.useFIPS = useFIPS + self.useDualStack = useDualStack + self.appID = appID + self.awsCredentialIdentityResolver = awsCredentialIdentityResolver + self.awsRetryMode = awsRetryMode + self.region = region + self.signingRegion = signingRegion + self.endpointResolver = endpointResolver + self.telemetryProvider = telemetryProvider + self.retryStrategyOptions = retryStrategyOptions + self.clientLogMode = clientLogMode + self.endpoint = endpoint + self.idempotencyTokenGenerator = idempotencyTokenGenerator + self.httpClientEngine = httpClientEngine + self.httpClientConfiguration = httpClientConfiguration + self.authSchemes = authSchemes + self.authSchemeResolver = authSchemeResolver + self.interceptorProviders = interceptorProviders + self.httpInterceptorProviders = httpInterceptorProviders + self.logger = telemetryProvider.loggerProvider.getLogger(name: QAppsClient.clientName) + } + + public convenience init(useFIPS: Swift.Bool? = nil, useDualStack: Swift.Bool? = nil, appID: Swift.String? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, endpointResolver: EndpointResolver? = nil, telemetryProvider: ClientRuntime.TelemetryProvider? = nil, retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions? = nil, clientLogMode: ClientRuntime.ClientLogMode? = nil, endpoint: Swift.String? = nil, idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator? = nil, httpClientEngine: SmithyHTTPAPI.HTTPClient? = nil, httpClientConfiguration: ClientRuntime.HttpClientConfiguration? = nil, authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? = nil, interceptorProviders: [ClientRuntime.InterceptorProvider]? = nil, httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]? = nil) throws { + self.init(useFIPS, useDualStack, try appID ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), region, signingRegion, try endpointResolver ?? DefaultEndpointResolver(), telemetryProvider ?? ClientRuntime.DefaultTelemetry.provider, try retryStrategyOptions ?? AWSClientConfigDefaultsProvider.retryStrategyOptions(), clientLogMode ?? AWSClientConfigDefaultsProvider.clientLogMode(), endpoint, idempotencyTokenGenerator ?? AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), httpClientEngine ?? AWSClientConfigDefaultsProvider.httpClientEngine(), httpClientConfiguration ?? AWSClientConfigDefaultsProvider.httpClientConfiguration(), authSchemes ?? [AWSSDKHTTPAuth.SigV4AuthScheme()], authSchemeResolver ?? DefaultQAppsAuthSchemeResolver(), interceptorProviders ?? [], httpInterceptorProviders ?? []) + } + + public convenience init(useFIPS: Swift.Bool? = nil, useDualStack: Swift.Bool? = nil, appID: Swift.String? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, endpointResolver: EndpointResolver? = nil, telemetryProvider: ClientRuntime.TelemetryProvider? = nil, retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions? = nil, clientLogMode: ClientRuntime.ClientLogMode? = nil, endpoint: Swift.String? = nil, idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator? = nil, httpClientEngine: SmithyHTTPAPI.HTTPClient? = nil, httpClientConfiguration: ClientRuntime.HttpClientConfiguration? = nil, authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? = nil, interceptorProviders: [ClientRuntime.InterceptorProvider]? = nil, httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]? = nil) async throws { + self.init(useFIPS, useDualStack, try appID ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try endpointResolver ?? DefaultEndpointResolver(), telemetryProvider ?? ClientRuntime.DefaultTelemetry.provider, try retryStrategyOptions ?? AWSClientConfigDefaultsProvider.retryStrategyOptions(), clientLogMode ?? AWSClientConfigDefaultsProvider.clientLogMode(), endpoint, idempotencyTokenGenerator ?? AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), httpClientEngine ?? AWSClientConfigDefaultsProvider.httpClientEngine(), httpClientConfiguration ?? AWSClientConfigDefaultsProvider.httpClientConfiguration(), authSchemes ?? [AWSSDKHTTPAuth.SigV4AuthScheme()], authSchemeResolver ?? DefaultQAppsAuthSchemeResolver(), interceptorProviders ?? [], httpInterceptorProviders ?? []) + } + + public convenience required init() async throws { + try await self.init(useFIPS: nil, useDualStack: nil, appID: nil, awsCredentialIdentityResolver: nil, awsRetryMode: nil, region: nil, signingRegion: nil, endpointResolver: nil, telemetryProvider: nil, retryStrategyOptions: nil, clientLogMode: nil, endpoint: nil, idempotencyTokenGenerator: nil, httpClientEngine: nil, httpClientConfiguration: nil, authSchemes: nil, authSchemeResolver: nil, interceptorProviders: nil, httpInterceptorProviders: nil) + } + + public convenience init(region: String) throws { + self.init(nil, nil, try AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), region, region, try DefaultEndpointResolver(), ClientRuntime.DefaultTelemetry.provider, try AWSClientConfigDefaultsProvider.retryStrategyOptions(), AWSClientConfigDefaultsProvider.clientLogMode(), nil, AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), AWSClientConfigDefaultsProvider.httpClientEngine(), AWSClientConfigDefaultsProvider.httpClientConfiguration(), [AWSSDKHTTPAuth.SigV4AuthScheme()], DefaultQAppsAuthSchemeResolver(), [], []) + } + + public var partitionID: String? { + return "\(QAppsClient.clientName) - \(region ?? "")" + } + public func addInterceptorProvider(_ provider: ClientRuntime.InterceptorProvider) { + self.interceptorProviders.append(provider) + } + + public func addInterceptorProvider(_ provider: ClientRuntime.HttpInterceptorProvider) { + self.httpInterceptorProviders.append(provider) + } + + } + + public static func builder() -> ClientRuntime.ClientBuilder { + return ClientRuntime.ClientBuilder(defaultPlugins: [ + ClientRuntime.DefaultClientPlugin(), + AWSClientRuntime.DefaultAWSClientPlugin(clientName: self.clientName), + DefaultAWSAuthSchemePlugin() + ]) + } +} + +extension QAppsClient { + /// Performs the `AssociateLibraryItemReview` operation on the `QAppsService` service. + /// + /// Associates a rating or review for a library item with the user submitting the request. This increments the rating count for the specified library item. + /// + /// - Parameter AssociateLibraryItemReviewInput : [no documentation found] + /// + /// - Returns: `AssociateLibraryItemReviewOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func associateLibraryItemReview(input: AssociateLibraryItemReviewInput) async throws -> AssociateLibraryItemReviewOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "associateLibraryItemReview") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "associateLibraryItemReview") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(AssociateLibraryItemReviewInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(AssociateLibraryItemReviewInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: AssociateLibraryItemReviewInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(AssociateLibraryItemReviewOutput.httpOutput(from:), AssociateLibraryItemReviewOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `AssociateQAppWithUser` operation on the `QAppsService` service. + /// + /// This operation creates a link between the user's identity calling the operation and a specific Q App. This is useful to mark the Q App as a favorite for the user if the user doesn't own the Amazon Q App so they can still run it and see it in their inventory of Q Apps. + /// + /// - Parameter AssociateQAppWithUserInput : [no documentation found] + /// + /// - Returns: `AssociateQAppWithUserOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func associateQAppWithUser(input: AssociateQAppWithUserInput) async throws -> AssociateQAppWithUserOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "associateQAppWithUser") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "associateQAppWithUser") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(AssociateQAppWithUserInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(AssociateQAppWithUserInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: AssociateQAppWithUserInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(AssociateQAppWithUserOutput.httpOutput(from:), AssociateQAppWithUserOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `CreateLibraryItem` operation on the `QAppsService` service. + /// + /// Creates a new library item for an Amazon Q App, allowing it to be discovered and used by other allowed users. + /// + /// - Parameter CreateLibraryItemInput : [no documentation found] + /// + /// - Returns: `CreateLibraryItemOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func createLibraryItem(input: CreateLibraryItemInput) async throws -> CreateLibraryItemOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createLibraryItem") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createLibraryItem") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateLibraryItemInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(CreateLibraryItemInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateLibraryItemInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateLibraryItemOutput.httpOutput(from:), CreateLibraryItemOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `CreateQApp` operation on the `QAppsService` service. + /// + /// Creates a new Amazon Q App based on the provided definition. The Q App definition specifies the cards and flow of the Q App. This operation also calculates the dependencies between the cards by inspecting the references in the prompts. + /// + /// - Parameter CreateQAppInput : [no documentation found] + /// + /// - Returns: `CreateQAppOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `ConflictException` : The requested operation could not be completed due to a conflict with the current state of the resource. + /// - `ContentTooLargeException` : The requested operation could not be completed because the content exceeds the maximum allowed size. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func createQApp(input: CreateQAppInput) async throws -> CreateQAppOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createQApp") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createQApp") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateQAppInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(CreateQAppInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateQAppInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateQAppOutput.httpOutput(from:), CreateQAppOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DeleteLibraryItem` operation on the `QAppsService` service. + /// + /// Deletes a library item for an Amazon Q App, removing it from the library so it can no longer be discovered or used by other users. + /// + /// - Parameter DeleteLibraryItemInput : [no documentation found] + /// + /// - Returns: `DeleteLibraryItemOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func deleteLibraryItem(input: DeleteLibraryItemInput) async throws -> DeleteLibraryItemOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteLibraryItem") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deleteLibraryItem") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteLibraryItemInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(DeleteLibraryItemInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteLibraryItemInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteLibraryItemOutput.httpOutput(from:), DeleteLibraryItemOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DeleteQApp` operation on the `QAppsService` service. + /// + /// Deletes an Amazon Q App owned by the user. If the Q App was previously published to the library, it is also removed from the library. + /// + /// - Parameter DeleteQAppInput : [no documentation found] + /// + /// - Returns: `DeleteQAppOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func deleteQApp(input: DeleteQAppInput) async throws -> DeleteQAppOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteQApp") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deleteQApp") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteQAppInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(DeleteQAppInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteQAppInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteQAppOutput.httpOutput(from:), DeleteQAppOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DisassociateLibraryItemReview` operation on the `QAppsService` service. + /// + /// Removes a rating or review previously submitted by the user for a library item. + /// + /// - Parameter DisassociateLibraryItemReviewInput : [no documentation found] + /// + /// - Returns: `DisassociateLibraryItemReviewOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func disassociateLibraryItemReview(input: DisassociateLibraryItemReviewInput) async throws -> DisassociateLibraryItemReviewOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "disassociateLibraryItemReview") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "disassociateLibraryItemReview") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DisassociateLibraryItemReviewInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(DisassociateLibraryItemReviewInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DisassociateLibraryItemReviewInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DisassociateLibraryItemReviewOutput.httpOutput(from:), DisassociateLibraryItemReviewOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DisassociateQAppFromUser` operation on the `QAppsService` service. + /// + /// Disassociates a Q App from a user removing the user's access to run the Q App. + /// + /// - Parameter DisassociateQAppFromUserInput : [no documentation found] + /// + /// - Returns: `DisassociateQAppFromUserOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func disassociateQAppFromUser(input: DisassociateQAppFromUserInput) async throws -> DisassociateQAppFromUserOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "disassociateQAppFromUser") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "disassociateQAppFromUser") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DisassociateQAppFromUserInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(DisassociateQAppFromUserInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DisassociateQAppFromUserInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DisassociateQAppFromUserOutput.httpOutput(from:), DisassociateQAppFromUserOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetLibraryItem` operation on the `QAppsService` service. + /// + /// Retrieves details about a library item for an Amazon Q App, including its metadata, categories, ratings, and usage statistics. + /// + /// - Parameter GetLibraryItemInput : [no documentation found] + /// + /// - Returns: `GetLibraryItemOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func getLibraryItem(input: GetLibraryItemInput) async throws -> GetLibraryItemOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getLibraryItem") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getLibraryItem") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetLibraryItemInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(GetLibraryItemInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(GetLibraryItemInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetLibraryItemOutput.httpOutput(from:), GetLibraryItemOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetQApp` operation on the `QAppsService` service. + /// + /// Retrieves the full details of an Q App, including its definition specifying the cards and flow. + /// + /// - Parameter GetQAppInput : [no documentation found] + /// + /// - Returns: `GetQAppOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func getQApp(input: GetQAppInput) async throws -> GetQAppOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getQApp") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getQApp") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetQAppInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(GetQAppInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(GetQAppInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetQAppOutput.httpOutput(from:), GetQAppOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `GetQAppSession` operation on the `QAppsService` service. + /// + /// Retrieves the current state and results for an active session of an Amazon Q App. + /// + /// - Parameter GetQAppSessionInput : [no documentation found] + /// + /// - Returns: `GetQAppSessionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func getQAppSession(input: GetQAppSessionInput) async throws -> GetQAppSessionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getQAppSession") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getQAppSession") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetQAppSessionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(GetQAppSessionInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(GetQAppSessionInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetQAppSessionOutput.httpOutput(from:), GetQAppSessionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ImportDocument` operation on the `QAppsService` service. + /// + /// Uploads a file that can then be used either as a default in a FileUploadCard from Q App definition or as a file that is used inside a single Q App run. The purpose of the document is determined by a scope parameter that indicates whether it is at the app definition level or at the app session level. + /// + /// - Parameter ImportDocumentInput : [no documentation found] + /// + /// - Returns: `ImportDocumentOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `ContentTooLargeException` : The requested operation could not be completed because the content exceeds the maximum allowed size. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func importDocument(input: ImportDocumentInput) async throws -> ImportDocumentOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "importDocument") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "importDocument") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ImportDocumentInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(ImportDocumentInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ImportDocumentInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ImportDocumentOutput.httpOutput(from:), ImportDocumentOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListLibraryItems` operation on the `QAppsService` service. + /// + /// Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account. + /// + /// - Parameter ListLibraryItemsInput : [no documentation found] + /// + /// - Returns: `ListLibraryItemsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func listLibraryItems(input: ListLibraryItemsInput) async throws -> ListLibraryItemsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listLibraryItems") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listLibraryItems") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListLibraryItemsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(ListLibraryItemsInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListLibraryItemsInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListLibraryItemsOutput.httpOutput(from:), ListLibraryItemsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListQApps` operation on the `QAppsService` service. + /// + /// Lists the Amazon Q Apps owned by or associated with the user either because they created it or because they used it from the library in the past. The user identity is extracted from the credentials used to invoke this operation.. + /// + /// - Parameter ListQAppsInput : [no documentation found] + /// + /// - Returns: `ListQAppsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func listQApps(input: ListQAppsInput) async throws -> ListQAppsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listQApps") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listQApps") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListQAppsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(ListQAppsInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListQAppsInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListQAppsOutput.httpOutput(from:), ListQAppsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `ListTagsForResource` operation on the `QAppsService` service. + /// + /// Lists the tags associated with an Amazon Q Apps resource. + /// + /// - Parameter ListTagsForResourceInput : [no documentation found] + /// + /// - Returns: `ListTagsForResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listTagsForResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listTagsForResource") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListTagsForResourceOutput.httpOutput(from:), ListTagsForResourceOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `PredictQApp` operation on the `QAppsService` service. + /// + /// Generates an Amazon Q App definition based on either a conversation or a problem statement provided as input.The resulting app definition can be used to call CreateQApp. This API doesn't create Amazon Q Apps directly. + /// + /// - Parameter PredictQAppInput : [no documentation found] + /// + /// - Returns: `PredictQAppOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func predictQApp(input: PredictQAppInput) async throws -> PredictQAppOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "predictQApp") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "predictQApp") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(PredictQAppInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(PredictQAppInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PredictQAppInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(PredictQAppOutput.httpOutput(from:), PredictQAppOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `StartQAppSession` operation on the `QAppsService` service. + /// + /// Starts a new session for an Amazon Q App, allowing inputs to be provided and the app to be run. Each Q App session will be condensed into a single conversation in the web experience. + /// + /// - Parameter StartQAppSessionInput : [no documentation found] + /// + /// - Returns: `StartQAppSessionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func startQAppSession(input: StartQAppSessionInput) async throws -> StartQAppSessionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "startQAppSession") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "startQAppSession") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(StartQAppSessionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(StartQAppSessionInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StartQAppSessionInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(StartQAppSessionOutput.httpOutput(from:), StartQAppSessionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `StopQAppSession` operation on the `QAppsService` service. + /// + /// Stops an active session for an Amazon Q App.This deletes all data related to the session and makes it invalid for future uses. The results of the session will be persisted as part of the conversation. + /// + /// - Parameter StopQAppSessionInput : [no documentation found] + /// + /// - Returns: `StopQAppSessionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func stopQAppSession(input: StopQAppSessionInput) async throws -> StopQAppSessionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "stopQAppSession") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "stopQAppSession") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(StopQAppSessionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(StopQAppSessionInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StopQAppSessionInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(StopQAppSessionOutput.httpOutput(from:), StopQAppSessionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `TagResource` operation on the `QAppsService` service. + /// + /// Associates tags with an Amazon Q Apps resource. + /// + /// - Parameter TagResourceInput : [no documentation found] + /// + /// - Returns: `TagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `ConflictException` : The requested operation could not be completed due to a conflict with the current state of the resource. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func tagResource(input: TagResourceInput) async throws -> TagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "tagResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "tagResource") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TagResourceInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(TagResourceOutput.httpOutput(from:), TagResourceOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `UntagResource` operation on the `QAppsService` service. + /// + /// Disassociates tags from an Amazon Q Apps resource. + /// + /// - Parameter UntagResourceInput : [no documentation found] + /// + /// - Returns: `UntagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func untagResource(input: UntagResourceInput) async throws -> UntagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "untagResource") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "untagResource") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(UntagResourceInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UntagResourceOutput.httpOutput(from:), UntagResourceOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `UpdateLibraryItem` operation on the `QAppsService` service. + /// + /// Updates the metadata and status of a library item for an Amazon Q App. + /// + /// - Parameter UpdateLibraryItemInput : [no documentation found] + /// + /// - Returns: `UpdateLibraryItemOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func updateLibraryItem(input: UpdateLibraryItemInput) async throws -> UpdateLibraryItemOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateLibraryItem") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateLibraryItem") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateLibraryItemInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(UpdateLibraryItemInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateLibraryItemInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateLibraryItemOutput.httpOutput(from:), UpdateLibraryItemOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `UpdateQApp` operation on the `QAppsService` service. + /// + /// Updates an existing Amazon Q App, allowing modifications to its title, description, and definition. + /// + /// - Parameter UpdateQAppInput : [no documentation found] + /// + /// - Returns: `UpdateQAppOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `ContentTooLargeException` : The requested operation could not be completed because the content exceeds the maximum allowed size. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func updateQApp(input: UpdateQAppInput) async throws -> UpdateQAppOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateQApp") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateQApp") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateQAppInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(UpdateQAppInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateQAppInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateQAppOutput.httpOutput(from:), UpdateQAppOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `UpdateQAppSession` operation on the `QAppsService` service. + /// + /// Updates the session for a given Q App sessionId. This is only valid when at least one card of the session is in the WAITING state. Data for each WAITING card can be provided as input. If inputs are not provided, the call will be accepted but session will not move forward. Inputs for cards that are not in the WAITING status will be ignored. + /// + /// - Parameter UpdateQAppSessionInput : [no documentation found] + /// + /// - Returns: `UpdateQAppSessionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The client is not authorized to perform the requested operation. + /// - `InternalServerException` : An internal service error occurred while processing the request. + /// - `ResourceNotFoundException` : The requested resource could not be found. + /// - `ServiceQuotaExceededException` : The requested operation could not be completed because it would exceed the service's quota or limit. + /// - `ThrottlingException` : The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later. + /// - `UnauthorizedException` : The client is not authenticated or authorized to perform the requested operation. + /// - `ValidationException` : The input failed to satisfy the constraints specified by the service. + public func updateQAppSession(input: UpdateQAppSessionInput) async throws -> UpdateQAppSessionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateQAppSession") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "qapps") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateQAppSession") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateQAppSessionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.HeaderMiddleware(UpdateQAppSessionInput.headerProvider(_:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateQAppSessionInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateQAppSessionOutput.httpOutput(from:), UpdateQAppSessionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + +} diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/Resources/Package.version b/Sources/Services/AWSQApps/Sources/AWSQApps/Resources/Package.version new file mode 100644 index 00000000000..d3827e75a5c --- /dev/null +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/Resources/Package.version @@ -0,0 +1 @@ +1.0 diff --git a/Sources/Services/AWSQApps/Tests/AWSQAppsTests/EndpointResolverTest.swift b/Sources/Services/AWSQApps/Tests/AWSQAppsTests/EndpointResolverTest.swift new file mode 100644 index 00000000000..daa256850fc --- /dev/null +++ b/Sources/Services/AWSQApps/Tests/AWSQAppsTests/EndpointResolverTest.swift @@ -0,0 +1,516 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +@testable import AWSQApps +import SmithyTestUtil +import XCTest +import enum ClientRuntime.EndpointError +import struct SmithyHTTPAPI.Endpoint +import struct SmithyHTTPAPI.Headers + +class EndpointResolverTest: XCTestCase { + + override class func setUp() { + SmithyTestUtil.TestInitializer.initialize() + } + + /// For region us-east-1 with FIPS enabled and DualStack enabled + func testResolve1() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.us-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS enabled and DualStack disabled + func testResolve2() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.us-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS disabled and DualStack enabled + func testResolve3() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.us-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS disabled and DualStack disabled + func testResolve4() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.us-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS enabled and DualStack enabled + func testResolve5() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.cn-north-1.api.amazonwebservices.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS enabled and DualStack disabled + func testResolve6() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.cn-north-1.amazonaws.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS disabled and DualStack enabled + func testResolve7() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.cn-north-1.api.amazonwebservices.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS disabled and DualStack disabled + func testResolve8() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.cn-north-1.amazonaws.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS enabled and DualStack enabled + func testResolve9() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.us-gov-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS enabled and DualStack disabled + func testResolve10() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.us-gov-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS disabled and DualStack enabled + func testResolve11() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.us-gov-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS disabled and DualStack disabled + func testResolve12() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.us-gov-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-iso-east-1 with FIPS enabled and DualStack enabled + func testResolve13() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("FIPS and DualStack are enabled, but this partition does not support one or both", message) + default: + XCTFail() + } + } + } + + /// For region us-iso-east-1 with FIPS enabled and DualStack disabled + func testResolve14() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.us-iso-east-1.c2s.ic.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-iso-east-1 with FIPS disabled and DualStack enabled + func testResolve15() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("DualStack is enabled but this partition does not support DualStack", message) + default: + XCTFail() + } + } + } + + /// For region us-iso-east-1 with FIPS disabled and DualStack disabled + func testResolve16() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.us-iso-east-1.c2s.ic.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-isob-east-1 with FIPS enabled and DualStack enabled + func testResolve17() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("FIPS and DualStack are enabled, but this partition does not support one or both", message) + default: + XCTFail() + } + } + } + + /// For region us-isob-east-1 with FIPS enabled and DualStack disabled + func testResolve18() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps-fips.us-isob-east-1.sc2s.sgov.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-isob-east-1 with FIPS disabled and DualStack enabled + func testResolve19() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("DualStack is enabled but this partition does not support DualStack", message) + default: + XCTFail() + } + } + } + + /// For region us-isob-east-1 with FIPS disabled and DualStack disabled + func testResolve20() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://data.qapps.us-isob-east-1.sc2s.sgov.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with region set and fips disabled and dualstack disabled + func testResolve21() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://example.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with region not set and fips disabled and dualstack disabled + func testResolve22() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://example.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with fips enabled and dualstack disabled + func testResolve23() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: FIPS and custom endpoint are not supported", message) + default: + XCTFail() + } + } + } + + /// For custom endpoint with fips disabled and dualstack enabled + func testResolve24() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: Dualstack and custom endpoint are not supported", message) + default: + XCTFail() + } + } + } + + /// Missing region + func testResolve25() throws { + let endpointParams = EndpointParams( + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: Missing Region", message) + default: + XCTFail() + } + } + } + +} diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/Models.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/Models.swift index a72ab2beaf1..2a026c5b4ad 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/Models.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/Models.swift @@ -10,7 +10,7 @@ import Foundation import class ClientRuntime.Indirect import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -246,7 +246,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -684,7 +684,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -713,7 +713,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -745,7 +745,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -781,7 +781,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -810,7 +810,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -895,7 +895,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -978,6 +978,98 @@ extension QBusinessClientTypes.EncryptionConfiguration: Swift.CustomDebugStringC "EncryptionConfiguration(kmsKeyId: \"CONTENT_REDACTED\")"} } +extension QBusinessClientTypes { + + public enum PersonalizationControlMode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [PersonalizationControlMode] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QBusinessClientTypes { + /// Configuration information about chat response personalization. For more information, see [Personalizing chat responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). + public struct PersonalizationConfiguration { + /// An option to allow Amazon Q Business to customize chat responses using user specific metadata—specifically, location and job information—in your IAM Identity Center instance. + /// This member is required. + public var personalizationControlMode: QBusinessClientTypes.PersonalizationControlMode? + + public init( + personalizationControlMode: QBusinessClientTypes.PersonalizationControlMode? = nil + ) + { + self.personalizationControlMode = personalizationControlMode + } + } + +} + +extension QBusinessClientTypes { + + public enum QAppsControlMode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [QAppsControlMode] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QBusinessClientTypes { + /// Configuration information about Amazon Q Apps. (preview feature) + public struct QAppsConfiguration { + /// Status information about whether end users can create and use Amazon Q Apps in the web experience. + /// This member is required. + public var qAppsControlMode: QBusinessClientTypes.QAppsControlMode? + + public init( + qAppsControlMode: QBusinessClientTypes.QAppsControlMode? = nil + ) + { + self.qAppsControlMode = qAppsControlMode + } + } + +} + extension QBusinessClientTypes { /// A list of key/value pairs that identify an index, FAQ, or data source. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @. public struct Tag { @@ -1014,6 +1106,10 @@ public struct CreateApplicationInput { public var encryptionConfiguration: QBusinessClientTypes.EncryptionConfiguration? /// The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. public var identityCenterInstanceArn: Swift.String? + /// Configuration information about chat response personalization. For more information, see [Personalizing chat responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html) + public var personalizationConfiguration: QBusinessClientTypes.PersonalizationConfiguration? + /// An option to allow end users to create and use Amazon Q Apps in the web experience. + public var qAppsConfiguration: QBusinessClientTypes.QAppsConfiguration? /// The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics. public var roleArn: Swift.String? /// A list of key-value pairs that identify or categorize your Amazon Q Business application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @. @@ -1026,6 +1122,8 @@ public struct CreateApplicationInput { displayName: Swift.String? = nil, encryptionConfiguration: QBusinessClientTypes.EncryptionConfiguration? = nil, identityCenterInstanceArn: Swift.String? = nil, + personalizationConfiguration: QBusinessClientTypes.PersonalizationConfiguration? = nil, + qAppsConfiguration: QBusinessClientTypes.QAppsConfiguration? = nil, roleArn: Swift.String? = nil, tags: [QBusinessClientTypes.Tag]? = nil ) @@ -1036,6 +1134,8 @@ public struct CreateApplicationInput { self.displayName = displayName self.encryptionConfiguration = encryptionConfiguration self.identityCenterInstanceArn = identityCenterInstanceArn + self.personalizationConfiguration = personalizationConfiguration + self.qAppsConfiguration = qAppsConfiguration self.roleArn = roleArn self.tags = tags } @@ -1178,6 +1278,10 @@ public struct GetApplicationOutput { public var error: QBusinessClientTypes.ErrorDetail? /// The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business application. public var identityCenterApplicationArn: Swift.String? + /// Configuration information about chat response personalization. For more information, see [Personalizing chat responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). + public var personalizationConfiguration: QBusinessClientTypes.PersonalizationConfiguration? + /// Settings for whether end users can create and use Amazon Q Apps in the web experience. + public var qAppsConfiguration: QBusinessClientTypes.QAppsConfiguration? /// The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics. public var roleArn: Swift.String? /// The status of the Amazon Q Business application. @@ -1195,6 +1299,8 @@ public struct GetApplicationOutput { encryptionConfiguration: QBusinessClientTypes.EncryptionConfiguration? = nil, error: QBusinessClientTypes.ErrorDetail? = nil, identityCenterApplicationArn: Swift.String? = nil, + personalizationConfiguration: QBusinessClientTypes.PersonalizationConfiguration? = nil, + qAppsConfiguration: QBusinessClientTypes.QAppsConfiguration? = nil, roleArn: Swift.String? = nil, status: QBusinessClientTypes.ApplicationStatus? = nil, updatedAt: Foundation.Date? = nil @@ -1209,6 +1315,8 @@ public struct GetApplicationOutput { self.encryptionConfiguration = encryptionConfiguration self.error = error self.identityCenterApplicationArn = identityCenterApplicationArn + self.personalizationConfiguration = personalizationConfiguration + self.qAppsConfiguration = qAppsConfiguration self.roleArn = roleArn self.status = status self.updatedAt = updatedAt @@ -1275,7 +1383,7 @@ public struct CreateIndexInput { public var displayName: Swift.String? /// A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @. public var tags: [QBusinessClientTypes.Tag]? - /// The index type that's suitable for your needs. For more information on what's included in each type of index or index tier, see [Amazon Q Business tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/what-is.html#tiers). + /// The index type that's suitable for your needs. For more information on what's included in each type of index, see [Amazon Q Business tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers). public var type: QBusinessClientTypes.IndexType? public init( @@ -3382,6 +3490,10 @@ public struct UpdateApplicationInput { public var displayName: Swift.String? /// The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. public var identityCenterInstanceArn: Swift.String? + /// Configuration information about chat response personalization. For more information, see [Personalizing chat responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). + public var personalizationConfiguration: QBusinessClientTypes.PersonalizationConfiguration? + /// An option to allow end users to create and use Amazon Q Apps in the web experience. + public var qAppsConfiguration: QBusinessClientTypes.QAppsConfiguration? /// An Amazon Web Services Identity and Access Management (IAM) role that gives Amazon Q Business permission to access Amazon CloudWatch logs and metrics. public var roleArn: Swift.String? @@ -3391,6 +3503,8 @@ public struct UpdateApplicationInput { description: Swift.String? = nil, displayName: Swift.String? = nil, identityCenterInstanceArn: Swift.String? = nil, + personalizationConfiguration: QBusinessClientTypes.PersonalizationConfiguration? = nil, + qAppsConfiguration: QBusinessClientTypes.QAppsConfiguration? = nil, roleArn: Swift.String? = nil ) { @@ -3399,6 +3513,8 @@ public struct UpdateApplicationInput { self.description = description self.displayName = displayName self.identityCenterInstanceArn = identityCenterInstanceArn + self.personalizationConfiguration = personalizationConfiguration + self.qAppsConfiguration = qAppsConfiguration self.roleArn = roleArn } } @@ -4315,7 +4431,7 @@ public struct LicenseNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6241,7 +6357,7 @@ extension QBusinessClientTypes { public var andAllFilters: [QBusinessClientTypes.AttributeFilter]? /// Returns true when a document contains all the specified document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): stringListValue. public var containsAll: QBusinessClientTypes.DocumentAttribute? - /// Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue, longValue, stringListValue and stringValue. + /// Returns true when a document contains any of the specified document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): stringListValue. public var containsAny: QBusinessClientTypes.DocumentAttribute? /// Performs an equals operation on two document attributes or metadata fields. Supported for the following [document attribute value types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): dateValue, longValue, stringListValue and stringValue. public var equalsTo: QBusinessClientTypes.DocumentAttribute? @@ -6348,7 +6464,7 @@ public struct ChatSyncInput { public var clientToken: Swift.String? /// The identifier of the Amazon Q Business conversation. public var conversationId: Swift.String? - /// The identifier of the previous end user text input message in a conversation. + /// The identifier of the previous system message in a conversation. public var parentMessageId: Swift.String? /// The groups that a user associated with the chat input belongs to. public var userGroups: [Swift.String]? @@ -7513,6 +7629,8 @@ extension CreateApplicationInput { try writer["displayName"].write(value.displayName) try writer["encryptionConfiguration"].write(value.encryptionConfiguration, with: QBusinessClientTypes.EncryptionConfiguration.write(value:to:)) try writer["identityCenterInstanceArn"].write(value.identityCenterInstanceArn) + try writer["personalizationConfiguration"].write(value.personalizationConfiguration, with: QBusinessClientTypes.PersonalizationConfiguration.write(value:to:)) + try writer["qAppsConfiguration"].write(value.qAppsConfiguration, with: QBusinessClientTypes.QAppsConfiguration.write(value:to:)) try writer["roleArn"].write(value.roleArn) try writer["tags"].writeList(value.tags, memberWritingClosure: QBusinessClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) } @@ -7634,6 +7752,8 @@ extension UpdateApplicationInput { try writer["description"].write(value.description) try writer["displayName"].write(value.displayName) try writer["identityCenterInstanceArn"].write(value.identityCenterInstanceArn) + try writer["personalizationConfiguration"].write(value.personalizationConfiguration, with: QBusinessClientTypes.PersonalizationConfiguration.write(value:to:)) + try writer["qAppsConfiguration"].write(value.qAppsConfiguration, with: QBusinessClientTypes.QAppsConfiguration.write(value:to:)) try writer["roleArn"].write(value.roleArn) } } @@ -7722,7 +7842,7 @@ extension UpdateWebExperienceInput { extension BatchDeleteDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7734,7 +7854,7 @@ extension BatchDeleteDocumentOutput { extension BatchPutDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7746,7 +7866,7 @@ extension BatchPutDocumentOutput { extension ChatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChatOutput { var value = ChatOutput() if case .stream(let stream) = httpResponse.body { let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() @@ -7759,7 +7879,7 @@ extension ChatOutput { extension ChatSyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChatSyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChatSyncOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7778,7 +7898,7 @@ extension ChatSyncOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7791,7 +7911,7 @@ extension CreateApplicationOutput { extension CreateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7804,7 +7924,7 @@ extension CreateDataSourceOutput { extension CreateIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7817,7 +7937,7 @@ extension CreateIndexOutput { extension CreatePluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePluginOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7831,7 +7951,7 @@ extension CreatePluginOutput { extension CreateRetrieverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRetrieverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRetrieverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7844,14 +7964,14 @@ extension CreateRetrieverOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { return CreateUserOutput() } } extension CreateWebExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebExperienceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7864,77 +7984,77 @@ extension CreateWebExperienceOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteChatControlsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChatControlsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChatControlsConfigurationOutput { return DeleteChatControlsConfigurationOutput() } } extension DeleteConversationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConversationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConversationOutput { return DeleteConversationOutput() } } extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { return DeleteDataSourceOutput() } } extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIndexOutput { return DeleteIndexOutput() } } extension DeletePluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePluginOutput { return DeletePluginOutput() } } extension DeleteRetrieverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRetrieverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRetrieverOutput { return DeleteRetrieverOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DeleteWebExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebExperienceOutput { return DeleteWebExperienceOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7948,6 +8068,8 @@ extension GetApplicationOutput { value.encryptionConfiguration = try reader["encryptionConfiguration"].readIfPresent(with: QBusinessClientTypes.EncryptionConfiguration.read(from:)) value.error = try reader["error"].readIfPresent(with: QBusinessClientTypes.ErrorDetail.read(from:)) value.identityCenterApplicationArn = try reader["identityCenterApplicationArn"].readIfPresent() + value.personalizationConfiguration = try reader["personalizationConfiguration"].readIfPresent(with: QBusinessClientTypes.PersonalizationConfiguration.read(from:)) + value.qAppsConfiguration = try reader["qAppsConfiguration"].readIfPresent(with: QBusinessClientTypes.QAppsConfiguration.read(from:)) value.roleArn = try reader["roleArn"].readIfPresent() value.status = try reader["status"].readIfPresent() value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: .epochSeconds) @@ -7957,7 +8079,7 @@ extension GetApplicationOutput { extension GetChatControlsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChatControlsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChatControlsConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7973,7 +8095,7 @@ extension GetChatControlsConfigurationOutput { extension GetDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8000,7 +8122,7 @@ extension GetDataSourceOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8013,7 +8135,7 @@ extension GetGroupOutput { extension GetIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8037,7 +8159,7 @@ extension GetIndexOutput { extension GetPluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPluginOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8060,7 +8182,7 @@ extension GetPluginOutput { extension GetRetrieverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRetrieverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRetrieverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8081,7 +8203,7 @@ extension GetRetrieverOutput { extension GetUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8093,7 +8215,7 @@ extension GetUserOutput { extension GetWebExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebExperienceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8118,7 +8240,7 @@ extension GetWebExperienceOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8131,7 +8253,7 @@ extension ListApplicationsOutput { extension ListConversationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConversationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConversationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8144,7 +8266,7 @@ extension ListConversationsOutput { extension ListDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8157,7 +8279,7 @@ extension ListDataSourcesOutput { extension ListDataSourceSyncJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourceSyncJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourceSyncJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8170,7 +8292,7 @@ extension ListDataSourceSyncJobsOutput { extension ListDocumentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8183,7 +8305,7 @@ extension ListDocumentsOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8196,7 +8318,7 @@ extension ListGroupsOutput { extension ListIndicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8209,7 +8331,7 @@ extension ListIndicesOutput { extension ListMessagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMessagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMessagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8222,7 +8344,7 @@ extension ListMessagesOutput { extension ListPluginsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPluginsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPluginsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8235,7 +8357,7 @@ extension ListPluginsOutput { extension ListRetrieversOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRetrieversOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRetrieversOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8248,7 +8370,7 @@ extension ListRetrieversOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8260,7 +8382,7 @@ extension ListTagsForResourceOutput { extension ListWebExperiencesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebExperiencesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebExperiencesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8273,21 +8395,21 @@ extension ListWebExperiencesOutput { extension PutFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFeedbackOutput { return PutFeedbackOutput() } } extension PutGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutGroupOutput { return PutGroupOutput() } } extension StartDataSourceSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDataSourceSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDataSourceSyncJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8299,70 +8421,70 @@ extension StartDataSourceSyncJobOutput { extension StopDataSourceSyncJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDataSourceSyncJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDataSourceSyncJobOutput { return StopDataSourceSyncJobOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } extension UpdateChatControlsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChatControlsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChatControlsConfigurationOutput { return UpdateChatControlsConfigurationOutput() } } extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { return UpdateDataSourceOutput() } } extension UpdateIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIndexOutput { return UpdateIndexOutput() } } extension UpdatePluginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePluginOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePluginOutput { return UpdatePluginOutput() } } extension UpdateRetrieverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRetrieverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRetrieverOutput { return UpdateRetrieverOutput() } } extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8376,14 +8498,14 @@ extension UpdateUserOutput { extension UpdateWebExperienceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWebExperienceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWebExperienceOutput { return UpdateWebExperienceOutput() } } enum BatchDeleteDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8402,7 +8524,7 @@ enum BatchDeleteDocumentOutputError { enum BatchPutDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8422,7 +8544,7 @@ enum BatchPutDocumentOutputError { enum ChatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8442,7 +8564,7 @@ enum ChatOutputError { enum ChatSyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8462,7 +8584,7 @@ enum ChatSyncOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8482,7 +8604,7 @@ enum CreateApplicationOutputError { enum CreateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8502,7 +8624,7 @@ enum CreateDataSourceOutputError { enum CreateIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8522,7 +8644,7 @@ enum CreateIndexOutputError { enum CreatePluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8542,7 +8664,7 @@ enum CreatePluginOutputError { enum CreateRetrieverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8562,7 +8684,7 @@ enum CreateRetrieverOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8582,7 +8704,7 @@ enum CreateUserOutputError { enum CreateWebExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8602,7 +8724,7 @@ enum CreateWebExperienceOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8621,7 +8743,7 @@ enum DeleteApplicationOutputError { enum DeleteChatControlsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8639,7 +8761,7 @@ enum DeleteChatControlsConfigurationOutputError { enum DeleteConversationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8658,7 +8780,7 @@ enum DeleteConversationOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8677,7 +8799,7 @@ enum DeleteDataSourceOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8696,7 +8818,7 @@ enum DeleteGroupOutputError { enum DeleteIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8715,7 +8837,7 @@ enum DeleteIndexOutputError { enum DeletePluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8734,7 +8856,7 @@ enum DeletePluginOutputError { enum DeleteRetrieverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8753,7 +8875,7 @@ enum DeleteRetrieverOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8772,7 +8894,7 @@ enum DeleteUserOutputError { enum DeleteWebExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8791,7 +8913,7 @@ enum DeleteWebExperienceOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8809,7 +8931,7 @@ enum GetApplicationOutputError { enum GetChatControlsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8827,7 +8949,7 @@ enum GetChatControlsConfigurationOutputError { enum GetDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8845,7 +8967,7 @@ enum GetDataSourceOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8864,7 +8986,7 @@ enum GetGroupOutputError { enum GetIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8882,7 +9004,7 @@ enum GetIndexOutputError { enum GetPluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8900,7 +9022,7 @@ enum GetPluginOutputError { enum GetRetrieverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8918,7 +9040,7 @@ enum GetRetrieverOutputError { enum GetUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8937,7 +9059,7 @@ enum GetUserOutputError { enum GetWebExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8955,7 +9077,7 @@ enum GetWebExperienceOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8972,7 +9094,7 @@ enum ListApplicationsOutputError { enum ListConversationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8991,7 +9113,7 @@ enum ListConversationsOutputError { enum ListDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9009,7 +9131,7 @@ enum ListDataSourcesOutputError { enum ListDataSourceSyncJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9027,7 +9149,7 @@ enum ListDataSourceSyncJobsOutputError { enum ListDocumentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9045,7 +9167,7 @@ enum ListDocumentsOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9064,7 +9186,7 @@ enum ListGroupsOutputError { enum ListIndicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9082,7 +9204,7 @@ enum ListIndicesOutputError { enum ListMessagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9101,7 +9223,7 @@ enum ListMessagesOutputError { enum ListPluginsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9119,7 +9241,7 @@ enum ListPluginsOutputError { enum ListRetrieversOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9137,7 +9259,7 @@ enum ListRetrieversOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9155,7 +9277,7 @@ enum ListTagsForResourceOutputError { enum ListWebExperiencesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9173,7 +9295,7 @@ enum ListWebExperiencesOutputError { enum PutFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9191,7 +9313,7 @@ enum PutFeedbackOutputError { enum PutGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9211,7 +9333,7 @@ enum PutGroupOutputError { enum StartDataSourceSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9231,7 +9353,7 @@ enum StartDataSourceSyncJobOutputError { enum StopDataSourceSyncJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9249,7 +9371,7 @@ enum StopDataSourceSyncJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9268,7 +9390,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9286,7 +9408,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9305,7 +9427,7 @@ enum UpdateApplicationOutputError { enum UpdateChatControlsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9325,7 +9447,7 @@ enum UpdateChatControlsConfigurationOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9344,7 +9466,7 @@ enum UpdateDataSourceOutputError { enum UpdateIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9364,7 +9486,7 @@ enum UpdateIndexOutputError { enum UpdatePluginOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9384,7 +9506,7 @@ enum UpdatePluginOutputError { enum UpdateRetrieverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9404,7 +9526,7 @@ enum UpdateRetrieverOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9423,7 +9545,7 @@ enum UpdateUserOutputError { enum UpdateWebExperienceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9630,14 +9752,14 @@ extension QBusinessClientTypes.ChatOutputStream { let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in switch params.exceptionType { default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") @@ -9860,6 +9982,36 @@ extension QBusinessClientTypes.AppliedAttachmentsConfiguration { } } +extension QBusinessClientTypes.QAppsConfiguration { + + static func write(value: QBusinessClientTypes.QAppsConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["qAppsControlMode"].write(value.qAppsControlMode) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QBusinessClientTypes.QAppsConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QBusinessClientTypes.QAppsConfiguration() + value.qAppsControlMode = try reader["qAppsControlMode"].readIfPresent() + return value + } +} + +extension QBusinessClientTypes.PersonalizationConfiguration { + + static func write(value: QBusinessClientTypes.PersonalizationConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["personalizationControlMode"].write(value.personalizationControlMode) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QBusinessClientTypes.PersonalizationConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QBusinessClientTypes.PersonalizationConfiguration() + value.personalizationControlMode = try reader["personalizationControlMode"].readIfPresent() + return value + } +} + extension QBusinessClientTypes.BlockedPhrasesConfiguration { static func read(from reader: SmithyJSON.Reader) throws -> QBusinessClientTypes.BlockedPhrasesConfiguration { diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift index 2fa43c7df96..fcf6de5e334 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift @@ -414,7 +414,7 @@ extension QBusinessClient { /// Performs the `CreateApplication` operation on the `ExpertQ` service. /// - /// Creates an Amazon Q Business application. There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see [Amazon Q Business tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/what-is.html#tiers). You must use the Amazon Q Business console to assign subscription tiers to users. + /// Creates an Amazon Q Business application. There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see [Amazon Q Business tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers). You must use the Amazon Q Business console to assign subscription tiers to users. /// /// - Parameter CreateApplicationInput : [no documentation found] /// diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/Models.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/Models.swift index a2d21595846..fc5bb7202c0 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/Models.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -47,6 +47,22 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim } } +extension QConnectClientTypes { + /// Content association data for a [step-by-step guide](https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html). + public struct AmazonConnectGuideAssociationData { + /// The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow. + public var flowId: Swift.String? + + public init( + flowId: Swift.String? = nil + ) + { + self.flowId = flowId + } + } + +} + extension QConnectClientTypes { /// A leaf node condition which can be used to specify a tag condition. public struct TagCondition { @@ -120,7 +136,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -146,7 +162,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -172,7 +188,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +212,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1570,7 +1586,7 @@ public struct RequestTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2135,6 +2151,332 @@ extension QConnectClientTypes { } +/// The throttling limit has been exceeded. +public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ThrottlingException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +extension QConnectClientTypes { + /// The contents of a content association. + public enum ContentAssociationContents { + /// The data of the step-by-step guide association. + case amazonconnectguideassociation(QConnectClientTypes.AmazonConnectGuideAssociationData) + case sdkUnknown(Swift.String) + } + +} + +extension QConnectClientTypes { + + public enum ContentAssociationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case amazonConnectGuide + case sdkUnknown(Swift.String) + + public static var allCases: [ContentAssociationType] { + return [ + .amazonConnectGuide + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .amazonConnectGuide: return "AMAZON_CONNECT_GUIDE" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct CreateContentAssociationInput { + /// The identifier of the associated resource. + /// This member is required. + public var association: QConnectClientTypes.ContentAssociationContents? + /// The type of association. + /// This member is required. + public var associationType: QConnectClientTypes.ContentAssociationType? + /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see [Making retries safe with idempotent APIs](https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). + public var clientToken: Swift.String? + /// The identifier of the content. + /// This member is required. + public var contentId: Swift.String? + /// The identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The tags used to organize, track, or control access for this resource. + public var tags: [Swift.String: Swift.String]? + + public init( + association: QConnectClientTypes.ContentAssociationContents? = nil, + associationType: QConnectClientTypes.ContentAssociationType? = nil, + clientToken: Swift.String? = nil, + contentId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.association = association + self.associationType = associationType + self.clientToken = clientToken + self.contentId = contentId + self.knowledgeBaseId = knowledgeBaseId + self.tags = tags + } +} + +extension QConnectClientTypes { + /// Information about the content association. + public struct ContentAssociationData { + /// The content association. + /// This member is required. + public var associationData: QConnectClientTypes.ContentAssociationContents? + /// The type of association. + /// This member is required. + public var associationType: QConnectClientTypes.ContentAssociationType? + /// The Amazon Resource Name (ARN) of the content. + /// This member is required. + public var contentArn: Swift.String? + /// The Amazon Resource Name (ARN) of the content association. + /// This member is required. + public var contentAssociationArn: Swift.String? + /// The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN. + /// This member is required. + public var contentAssociationId: Swift.String? + /// The identifier of the content. + /// This member is required. + public var contentId: Swift.String? + /// The Amazon Resource Name (ARN) of the knowledge base. + /// This member is required. + public var knowledgeBaseArn: Swift.String? + /// The identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The tags used to organize, track, or control access for this resource. + public var tags: [Swift.String: Swift.String]? + + public init( + associationData: QConnectClientTypes.ContentAssociationContents? = nil, + associationType: QConnectClientTypes.ContentAssociationType? = nil, + contentArn: Swift.String? = nil, + contentAssociationArn: Swift.String? = nil, + contentAssociationId: Swift.String? = nil, + contentId: Swift.String? = nil, + knowledgeBaseArn: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.associationData = associationData + self.associationType = associationType + self.contentArn = contentArn + self.contentAssociationArn = contentAssociationArn + self.contentAssociationId = contentAssociationId + self.contentId = contentId + self.knowledgeBaseArn = knowledgeBaseArn + self.knowledgeBaseId = knowledgeBaseId + self.tags = tags + } + } + +} + +public struct CreateContentAssociationOutput { + /// The association between Amazon Q in Connect content and another resource. + public var contentAssociation: QConnectClientTypes.ContentAssociationData? + + public init( + contentAssociation: QConnectClientTypes.ContentAssociationData? = nil + ) + { + self.contentAssociation = contentAssociation + } +} + +public struct DeleteContentAssociationInput { + /// The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN. + /// This member is required. + public var contentAssociationId: Swift.String? + /// The identifier of the content. + /// This member is required. + public var contentId: Swift.String? + /// The identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + contentAssociationId: Swift.String? = nil, + contentId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.contentAssociationId = contentAssociationId + self.contentId = contentId + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct DeleteContentAssociationOutput { + + public init() { } +} + +public struct GetContentAssociationInput { + /// The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN. + /// This member is required. + public var contentAssociationId: Swift.String? + /// The identifier of the content. + /// This member is required. + public var contentId: Swift.String? + /// The identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + + public init( + contentAssociationId: Swift.String? = nil, + contentId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil + ) + { + self.contentAssociationId = contentAssociationId + self.contentId = contentId + self.knowledgeBaseId = knowledgeBaseId + } +} + +public struct GetContentAssociationOutput { + /// The association between Amazon Q in Connect content and another resource. + public var contentAssociation: QConnectClientTypes.ContentAssociationData? + + public init( + contentAssociation: QConnectClientTypes.ContentAssociationData? = nil + ) + { + self.contentAssociation = contentAssociation + } +} + +public struct ListContentAssociationsInput { + /// The identifier of the content. + /// This member is required. + public var contentId: Swift.String? + /// The identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The maximum number of results to return per page. + public var maxResults: Swift.Int? + /// The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. + public var nextToken: Swift.String? + + public init( + contentId: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.contentId = contentId + self.knowledgeBaseId = knowledgeBaseId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension QConnectClientTypes { + /// Summary information about a content association. + public struct ContentAssociationSummary { + /// The content association. + /// This member is required. + public var associationData: QConnectClientTypes.ContentAssociationContents? + /// The type of association. + /// This member is required. + public var associationType: QConnectClientTypes.ContentAssociationType? + /// The Amazon Resource Name (ARN) of the content. + /// This member is required. + public var contentArn: Swift.String? + /// The Amazon Resource Name (ARN) of the content association. + /// This member is required. + public var contentAssociationArn: Swift.String? + /// The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN. + /// This member is required. + public var contentAssociationId: Swift.String? + /// The identifier of the content. + /// This member is required. + public var contentId: Swift.String? + /// The Amazon Resource Name (ARN) of the knowledge base. + /// This member is required. + public var knowledgeBaseArn: Swift.String? + /// The identifier of the knowledge base. + /// This member is required. + public var knowledgeBaseId: Swift.String? + /// The tags used to organize, track, or control access for this resource. + public var tags: [Swift.String: Swift.String]? + + public init( + associationData: QConnectClientTypes.ContentAssociationContents? = nil, + associationType: QConnectClientTypes.ContentAssociationType? = nil, + contentArn: Swift.String? = nil, + contentAssociationArn: Swift.String? = nil, + contentAssociationId: Swift.String? = nil, + contentId: Swift.String? = nil, + knowledgeBaseArn: Swift.String? = nil, + knowledgeBaseId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.associationData = associationData + self.associationType = associationType + self.contentArn = contentArn + self.contentAssociationArn = contentAssociationArn + self.contentAssociationId = contentAssociationId + self.contentId = contentId + self.knowledgeBaseArn = knowledgeBaseArn + self.knowledgeBaseId = knowledgeBaseId + self.tags = tags + } + } + +} + +public struct ListContentAssociationsOutput { + /// Summary information about content associations. + /// This member is required. + public var contentAssociationSummaries: [QConnectClientTypes.ContentAssociationSummary]? + /// If there are additional results, this is the token for the next set of results. + public var nextToken: Swift.String? + + public init( + contentAssociationSummaries: [QConnectClientTypes.ContentAssociationSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.contentAssociationSummaries = contentAssociationSummaries + self.nextToken = nextToken + } +} + public struct CreateContentInput { /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see [Making retries safe with idempotent APIs](https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). public var clientToken: Swift.String? @@ -2518,7 +2860,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2843,7 +3185,7 @@ extension QConnectClientTypes { extension QConnectClientTypes.GroupingConfiguration: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GroupingConfiguration(values: \(Swift.String(describing: values)), criteria: \"CONTENT_REDACTED\")"} + "GroupingConfiguration(criteria: \"CONTENT_REDACTED\", values: \"CONTENT_REDACTED\")"} } public struct CreateQuickResponseInput { @@ -2909,6 +3251,11 @@ public struct CreateQuickResponseInput { } } +extension CreateQuickResponseInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateQuickResponseInput(clientToken: \(Swift.String(describing: clientToken)), content: \(Swift.String(describing: content)), contentType: \(Swift.String(describing: contentType)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), name: \(Swift.String(describing: name)), shortcutKey: \(Swift.String(describing: shortcutKey)), tags: \(Swift.String(describing: tags)), channels: \"CONTENT_REDACTED\")"} +} + extension QConnectClientTypes { /// The container quick response content. public enum QuickResponseContentProvider { @@ -3083,6 +3430,11 @@ extension QConnectClientTypes { } +extension QConnectClientTypes.QuickResponseData: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "QuickResponseData(contentType: \(Swift.String(describing: contentType)), contents: \(Swift.String(describing: contents)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), shortcutKey: \(Swift.String(describing: shortcutKey)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), channels: \"CONTENT_REDACTED\")"} +} + public struct CreateQuickResponseOutput { /// The quick response. public var quickResponse: QConnectClientTypes.QuickResponseData? @@ -3300,7 +3652,7 @@ extension QConnectClientTypes { public var createdTime: Foundation.Date? /// The configuration information of the external data source. public var externalSourceConfiguration: QConnectClientTypes.ExternalSourceConfiguration? - /// The link to donwload the information of resource data that failed to be imported. + /// The link to download the information of resource data that failed to be imported. public var failedRecordReport: Swift.String? /// The identifier of the import job. /// This member is required. @@ -3728,6 +4080,11 @@ extension QConnectClientTypes { } +extension QConnectClientTypes.QuickResponseSummary: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "QuickResponseSummary(contentType: \(Swift.String(describing: contentType)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), channels: \"CONTENT_REDACTED\")"} +} + public struct ListQuickResponsesOutput { /// The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. public var nextToken: Swift.String? @@ -3815,6 +4172,11 @@ public struct UpdateQuickResponseInput { } } +extension UpdateQuickResponseInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateQuickResponseInput(content: \(Swift.String(describing: content)), contentType: \(Swift.String(describing: contentType)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), name: \(Swift.String(describing: name)), quickResponseId: \(Swift.String(describing: quickResponseId)), removeDescription: \(Swift.String(describing: removeDescription)), removeGroupingConfiguration: \(Swift.String(describing: removeGroupingConfiguration)), removeShortcutKey: \(Swift.String(describing: removeShortcutKey)), shortcutKey: \(Swift.String(describing: shortcutKey)), channels: \"CONTENT_REDACTED\")"} +} + public struct UpdateQuickResponseOutput { /// The quick response. public var quickResponse: QConnectClientTypes.QuickResponseData? @@ -4317,7 +4679,7 @@ extension QConnectClientTypes { extension QConnectClientTypes.QuickResponseSearchResultData: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "QuickResponseSearchResultData(channels: \(Swift.String(describing: channels)), contentType: \(Swift.String(describing: contentType)), contents: \(Swift.String(describing: contents)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), shortcutKey: \(Swift.String(describing: shortcutKey)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), attributesInterpolated: \"CONTENT_REDACTED\", attributesNotInterpolated: \"CONTENT_REDACTED\")"} + "QuickResponseSearchResultData(contentType: \(Swift.String(describing: contentType)), contents: \(Swift.String(describing: contents)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), shortcutKey: \(Swift.String(describing: shortcutKey)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), attributesInterpolated: \"CONTENT_REDACTED\", attributesNotInterpolated: \"CONTENT_REDACTED\", channels: \"CONTENT_REDACTED\")"} } public struct SearchQuickResponsesOutput { @@ -4512,7 +4874,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4771,6 +5133,19 @@ extension CreateContentInput { } } +extension CreateContentAssociationInput { + + static func urlPathProvider(_ value: CreateContentAssociationInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let contentId = value.contentId else { + return nil + } + return "/knowledgeBases/\(knowledgeBaseId.urlPercentEncoding())/contents/\(contentId.urlPercentEncoding())/associations" + } +} + extension CreateKnowledgeBaseInput { static func urlPathProvider(_ value: CreateKnowledgeBaseInput) -> Swift.String? { @@ -4834,6 +5209,22 @@ extension DeleteContentInput { } } +extension DeleteContentAssociationInput { + + static func urlPathProvider(_ value: DeleteContentAssociationInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let contentId = value.contentId else { + return nil + } + guard let contentAssociationId = value.contentAssociationId else { + return nil + } + return "/knowledgeBases/\(knowledgeBaseId.urlPercentEncoding())/contents/\(contentId.urlPercentEncoding())/associations/\(contentAssociationId.urlPercentEncoding())" + } +} + extension DeleteImportJobInput { static func urlPathProvider(_ value: DeleteImportJobInput) -> Swift.String? { @@ -4906,6 +5297,22 @@ extension GetContentInput { } } +extension GetContentAssociationInput { + + static func urlPathProvider(_ value: GetContentAssociationInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let contentId = value.contentId else { + return nil + } + guard let contentAssociationId = value.contentAssociationId else { + return nil + } + return "/knowledgeBases/\(knowledgeBaseId.urlPercentEncoding())/contents/\(contentId.urlPercentEncoding())/associations/\(contentAssociationId.urlPercentEncoding())" + } +} + extension GetContentSummaryInput { static func urlPathProvider(_ value: GetContentSummaryInput) -> Swift.String? { @@ -5046,6 +5453,35 @@ extension ListAssistantsInput { } } +extension ListContentAssociationsInput { + + static func urlPathProvider(_ value: ListContentAssociationsInput) -> Swift.String? { + guard let knowledgeBaseId = value.knowledgeBaseId else { + return nil + } + guard let contentId = value.contentId else { + return nil + } + return "/knowledgeBases/\(knowledgeBaseId.urlPercentEncoding())/contents/\(contentId.urlPercentEncoding())/associations" + } +} + +extension ListContentAssociationsInput { + + static func queryItemProvider(_ value: ListContentAssociationsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListContentsInput { static func urlPathProvider(_ value: ListContentsInput) -> Swift.String? { @@ -5421,6 +5857,17 @@ extension CreateContentInput { } } +extension CreateContentAssociationInput { + + static func write(value: CreateContentAssociationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["association"].write(value.association, with: QConnectClientTypes.ContentAssociationContents.write(value:to:)) + try writer["associationType"].write(value.associationType) + try writer["clientToken"].write(value.clientToken) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + extension CreateKnowledgeBaseInput { static func write(value: CreateKnowledgeBaseInput?, to writer: SmithyJSON.Writer) throws { @@ -5601,7 +6048,7 @@ extension UpdateSessionInput { extension CreateAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssistantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5613,7 +6060,7 @@ extension CreateAssistantOutput { extension CreateAssistantAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssistantAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssistantAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5625,7 +6072,7 @@ extension CreateAssistantAssociationOutput { extension CreateContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5635,9 +6082,21 @@ extension CreateContentOutput { } } +extension CreateContentAssociationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContentAssociationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateContentAssociationOutput() + value.contentAssociation = try reader["contentAssociation"].readIfPresent(with: QConnectClientTypes.ContentAssociationData.read(from:)) + return value + } +} + extension CreateKnowledgeBaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKnowledgeBaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKnowledgeBaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5649,7 +6108,7 @@ extension CreateKnowledgeBaseOutput { extension CreateQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQuickResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5661,7 +6120,7 @@ extension CreateQuickResponseOutput { extension CreateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5673,49 +6132,56 @@ extension CreateSessionOutput { extension DeleteAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssistantOutput { return DeleteAssistantOutput() } } extension DeleteAssistantAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssistantAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssistantAssociationOutput { return DeleteAssistantAssociationOutput() } } extension DeleteContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContentOutput { return DeleteContentOutput() } } +extension DeleteContentAssociationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContentAssociationOutput { + return DeleteContentAssociationOutput() + } +} + extension DeleteImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImportJobOutput { return DeleteImportJobOutput() } } extension DeleteKnowledgeBaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKnowledgeBaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKnowledgeBaseOutput { return DeleteKnowledgeBaseOutput() } } extension DeleteQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQuickResponseOutput { return DeleteQuickResponseOutput() } } extension GetAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssistantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5727,7 +6193,7 @@ extension GetAssistantOutput { extension GetAssistantAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssistantAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssistantAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5739,7 +6205,7 @@ extension GetAssistantAssociationOutput { extension GetContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5749,9 +6215,21 @@ extension GetContentOutput { } } +extension GetContentAssociationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContentAssociationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetContentAssociationOutput() + value.contentAssociation = try reader["contentAssociation"].readIfPresent(with: QConnectClientTypes.ContentAssociationData.read(from:)) + return value + } +} + extension GetContentSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContentSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContentSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5763,7 +6241,7 @@ extension GetContentSummaryOutput { extension GetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5775,7 +6253,7 @@ extension GetImportJobOutput { extension GetKnowledgeBaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKnowledgeBaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKnowledgeBaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5787,7 +6265,7 @@ extension GetKnowledgeBaseOutput { extension GetQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQuickResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5799,7 +6277,7 @@ extension GetQuickResponseOutput { extension GetRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5812,7 +6290,7 @@ extension GetRecommendationsOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5824,7 +6302,7 @@ extension GetSessionOutput { extension ListAssistantAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssistantAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssistantAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5837,7 +6315,7 @@ extension ListAssistantAssociationsOutput { extension ListAssistantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssistantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssistantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5848,9 +6326,22 @@ extension ListAssistantsOutput { } } +extension ListContentAssociationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContentAssociationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListContentAssociationsOutput() + value.contentAssociationSummaries = try reader["contentAssociationSummaries"].readListIfPresent(memberReadingClosure: QConnectClientTypes.ContentAssociationSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListContentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5863,7 +6354,7 @@ extension ListContentsOutput { extension ListImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5876,7 +6367,7 @@ extension ListImportJobsOutput { extension ListKnowledgeBasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKnowledgeBasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKnowledgeBasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5889,7 +6380,7 @@ extension ListKnowledgeBasesOutput { extension ListQuickResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQuickResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQuickResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5902,7 +6393,7 @@ extension ListQuickResponsesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5914,7 +6405,7 @@ extension ListTagsForResourceOutput { extension NotifyRecommendationsReceivedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyRecommendationsReceivedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyRecommendationsReceivedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5927,7 +6418,7 @@ extension NotifyRecommendationsReceivedOutput { extension PutFeedbackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFeedbackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFeedbackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5943,7 +6434,7 @@ extension PutFeedbackOutput { extension QueryAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryAssistantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5956,14 +6447,14 @@ extension QueryAssistantOutput { extension RemoveKnowledgeBaseTemplateUriOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveKnowledgeBaseTemplateUriOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveKnowledgeBaseTemplateUriOutput { return RemoveKnowledgeBaseTemplateUriOutput() } } extension SearchContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5976,7 +6467,7 @@ extension SearchContentOutput { extension SearchQuickResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchQuickResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchQuickResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5989,7 +6480,7 @@ extension SearchQuickResponsesOutput { extension SearchSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6002,7 +6493,7 @@ extension SearchSessionsOutput { extension StartContentUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContentUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContentUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6017,7 +6508,7 @@ extension StartContentUploadOutput { extension StartImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6029,21 +6520,21 @@ extension StartImportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6055,7 +6546,7 @@ extension UpdateContentOutput { extension UpdateKnowledgeBaseTemplateUriOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKnowledgeBaseTemplateUriOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKnowledgeBaseTemplateUriOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6067,7 +6558,7 @@ extension UpdateKnowledgeBaseTemplateUriOutput { extension UpdateQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQuickResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6079,7 +6570,7 @@ extension UpdateQuickResponseOutput { extension UpdateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6091,7 +6582,7 @@ extension UpdateSessionOutput { enum CreateAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6108,7 +6599,7 @@ enum CreateAssistantOutputError { enum CreateAssistantAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6126,7 +6617,25 @@ enum CreateAssistantAssociationOutputError { enum CreateContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateContentAssociationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6136,6 +6645,7 @@ enum CreateContentOutputError { case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) case "ValidationException": return try ValidationException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } @@ -6144,7 +6654,7 @@ enum CreateContentOutputError { enum CreateKnowledgeBaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6161,7 +6671,7 @@ enum CreateKnowledgeBaseOutputError { enum CreateQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6179,7 +6689,7 @@ enum CreateQuickResponseOutputError { enum CreateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6196,7 +6706,7 @@ enum CreateSessionOutputError { enum DeleteAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6212,7 +6722,7 @@ enum DeleteAssistantOutputError { enum DeleteAssistantAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6228,7 +6738,23 @@ enum DeleteAssistantAssociationOutputError { enum DeleteContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteContentAssociationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6244,7 +6770,7 @@ enum DeleteContentOutputError { enum DeleteImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6261,7 +6787,7 @@ enum DeleteImportJobOutputError { enum DeleteKnowledgeBaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6278,7 +6804,7 @@ enum DeleteKnowledgeBaseOutputError { enum DeleteQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6294,7 +6820,7 @@ enum DeleteQuickResponseOutputError { enum GetAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6310,7 +6836,7 @@ enum GetAssistantOutputError { enum GetAssistantAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6326,7 +6852,23 @@ enum GetAssistantAssociationOutputError { enum GetContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetContentAssociationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6342,7 +6884,7 @@ enum GetContentOutputError { enum GetContentSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6358,7 +6900,7 @@ enum GetContentSummaryOutputError { enum GetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6374,7 +6916,7 @@ enum GetImportJobOutputError { enum GetKnowledgeBaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6390,7 +6932,7 @@ enum GetKnowledgeBaseOutputError { enum GetQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6406,7 +6948,7 @@ enum GetQuickResponseOutputError { enum GetRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6422,7 +6964,7 @@ enum GetRecommendationsOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6438,7 +6980,7 @@ enum GetSessionOutputError { enum ListAssistantAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6454,7 +6996,7 @@ enum ListAssistantAssociationsOutputError { enum ListAssistantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6467,9 +7009,25 @@ enum ListAssistantsOutputError { } } +enum ListContentAssociationsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListContentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6485,7 +7043,7 @@ enum ListContentsOutputError { enum ListImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6500,7 +7058,7 @@ enum ListImportJobsOutputError { enum ListKnowledgeBasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6515,7 +7073,7 @@ enum ListKnowledgeBasesOutputError { enum ListQuickResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6531,7 +7089,7 @@ enum ListQuickResponsesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6545,7 +7103,7 @@ enum ListTagsForResourceOutputError { enum NotifyRecommendationsReceivedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6561,7 +7119,7 @@ enum NotifyRecommendationsReceivedOutputError { enum PutFeedbackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6577,7 +7135,7 @@ enum PutFeedbackOutputError { enum QueryAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6594,7 +7152,7 @@ enum QueryAssistantOutputError { enum RemoveKnowledgeBaseTemplateUriOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6610,7 +7168,7 @@ enum RemoveKnowledgeBaseTemplateUriOutputError { enum SearchContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6626,7 +7184,7 @@ enum SearchContentOutputError { enum SearchQuickResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6643,7 +7201,7 @@ enum SearchQuickResponsesOutputError { enum SearchSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6659,7 +7217,7 @@ enum SearchSessionsOutputError { enum StartContentUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6675,7 +7233,7 @@ enum StartContentUploadOutputError { enum StartImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6693,7 +7251,7 @@ enum StartImportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6708,7 +7266,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6722,7 +7280,7 @@ enum UntagResourceOutputError { enum UpdateContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6739,7 +7297,7 @@ enum UpdateContentOutputError { enum UpdateKnowledgeBaseTemplateUriOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6755,7 +7313,7 @@ enum UpdateKnowledgeBaseTemplateUriOutputError { enum UpdateQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6773,7 +7331,7 @@ enum UpdateQuickResponseOutputError { enum UpdateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6853,6 +7411,19 @@ extension ResourceNotFoundException { } } +extension ThrottlingException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { + let reader = baseError.errorBodyReader + var value = ThrottlingException() + value.properties.message = try reader["message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension RequestTimeoutException { static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> RequestTimeoutException { @@ -7011,6 +7582,63 @@ extension QConnectClientTypes.ContentData { } } +extension QConnectClientTypes.ContentAssociationData { + + static func read(from reader: SmithyJSON.Reader) throws -> QConnectClientTypes.ContentAssociationData { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QConnectClientTypes.ContentAssociationData() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.knowledgeBaseArn = try reader["knowledgeBaseArn"].readIfPresent() + value.contentId = try reader["contentId"].readIfPresent() + value.contentArn = try reader["contentArn"].readIfPresent() + value.contentAssociationId = try reader["contentAssociationId"].readIfPresent() + value.contentAssociationArn = try reader["contentAssociationArn"].readIfPresent() + value.associationType = try reader["associationType"].readIfPresent() + value.associationData = try reader["associationData"].readIfPresent(with: QConnectClientTypes.ContentAssociationContents.read(from:)) + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension QConnectClientTypes.ContentAssociationContents { + + static func write(value: QConnectClientTypes.ContentAssociationContents?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .amazonconnectguideassociation(amazonconnectguideassociation): + try writer["amazonConnectGuideAssociation"].write(amazonconnectguideassociation, with: QConnectClientTypes.AmazonConnectGuideAssociationData.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> QConnectClientTypes.ContentAssociationContents { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "amazonConnectGuideAssociation": + return .amazonconnectguideassociation(try reader["amazonConnectGuideAssociation"].read(with: QConnectClientTypes.AmazonConnectGuideAssociationData.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension QConnectClientTypes.AmazonConnectGuideAssociationData { + + static func write(value: QConnectClientTypes.AmazonConnectGuideAssociationData?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["flowId"].write(value.flowId) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QConnectClientTypes.AmazonConnectGuideAssociationData { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QConnectClientTypes.AmazonConnectGuideAssociationData() + value.flowId = try reader["flowId"].readIfPresent() + return value + } +} + extension QConnectClientTypes.KnowledgeBaseData { static func read(from reader: SmithyJSON.Reader) throws -> QConnectClientTypes.KnowledgeBaseData { @@ -7606,6 +8234,24 @@ extension QConnectClientTypes.AssistantSummary { } } +extension QConnectClientTypes.ContentAssociationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> QConnectClientTypes.ContentAssociationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QConnectClientTypes.ContentAssociationSummary() + value.knowledgeBaseId = try reader["knowledgeBaseId"].readIfPresent() + value.knowledgeBaseArn = try reader["knowledgeBaseArn"].readIfPresent() + value.contentId = try reader["contentId"].readIfPresent() + value.contentArn = try reader["contentArn"].readIfPresent() + value.contentAssociationId = try reader["contentAssociationId"].readIfPresent() + value.contentAssociationArn = try reader["contentAssociationArn"].readIfPresent() + value.associationType = try reader["associationType"].readIfPresent() + value.associationData = try reader["associationData"].readIfPresent(with: QConnectClientTypes.ContentAssociationContents.read(from:)) + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + extension QConnectClientTypes.ImportJobSummary { static func read(from reader: SmithyJSON.Reader) throws -> QConnectClientTypes.ImportJobSummary { diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift index babe02b59f6..1a8cf4d435a 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift @@ -338,6 +338,67 @@ extension QConnectClient { return result } + /// Performs the `CreateContentAssociation` operation on the `WisdomService` service. + /// + /// Creates an association between a content resource in a knowledge base and [step-by-step guides](https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html). Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides. After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content. Note the following limitations: + /// + /// * You can create only one content association for each content resource in a knowledge base. + /// + /// * You can associate a step-by-step guide with multiple content resources. + /// + /// + /// For more information, see [Integrate Amazon Q in Connect with step-by-step guides](https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) in the Amazon Connect Administrator Guide. + /// + /// - Parameter CreateContentAssociationInput : [no documentation found] + /// + /// - Returns: `CreateContentAssociationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. For example, if you're using a Create API (such as CreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceQuotaExceededException` : You've exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use service quotas to request a service quota increase. + /// - `ThrottlingException` : The throttling limit has been exceeded. + /// - `ValidationException` : The input fails to satisfy the constraints specified by a service. + public func createContentAssociation(input: CreateContentAssociationInput) async throws -> CreateContentAssociationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createContentAssociation") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "wisdom") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createContentAssociation") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.IdempotencyTokenMiddleware(keyPath: \.clientToken)) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateContentAssociationInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateContentAssociationInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateContentAssociationOutput.httpOutput(from:), CreateContentAssociationOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `CreateKnowledgeBase` operation on the `WisdomService` service. /// /// Creates a knowledge base. When using this API, you cannot reuse [Amazon AppIntegrations](https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html) DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following: @@ -644,6 +705,53 @@ extension QConnectClient { return result } + /// Performs the `DeleteContentAssociation` operation on the `WisdomService` service. + /// + /// Deletes the content association. For more information about content associations--what they are and when they are used--see [Integrate Amazon Q in Connect with step-by-step guides](https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) in the Amazon Connect Administrator Guide. + /// + /// - Parameter DeleteContentAssociationInput : [no documentation found] + /// + /// - Returns: `DeleteContentAssociationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ValidationException` : The input fails to satisfy the constraints specified by a service. + public func deleteContentAssociation(input: DeleteContentAssociationInput) async throws -> DeleteContentAssociationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteContentAssociation") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "wisdom") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deleteContentAssociation") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteContentAssociationInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteContentAssociationOutput.httpOutput(from:), DeleteContentAssociationOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DeleteImportJob` operation on the `WisdomService` service. /// /// Deletes the quick response import job. @@ -928,6 +1036,53 @@ extension QConnectClient { return result } + /// Performs the `GetContentAssociation` operation on the `WisdomService` service. + /// + /// Returns the content association. For more information about content associations--what they are and when they are used--see [Integrate Amazon Q in Connect with step-by-step guides](https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) in the Amazon Connect Administrator Guide. + /// + /// - Parameter GetContentAssociationInput : [no documentation found] + /// + /// - Returns: `GetContentAssociationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ValidationException` : The input fails to satisfy the constraints specified by a service. + public func getContentAssociation(input: GetContentAssociationInput) async throws -> GetContentAssociationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getContentAssociation") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "wisdom") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "getContentAssociation") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(GetContentAssociationInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(GetContentAssociationOutput.httpOutput(from:), GetContentAssociationOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `GetContentSummary` operation on the `WisdomService` service. /// /// Retrieves summary information about the content. @@ -1307,6 +1462,54 @@ extension QConnectClient { return result } + /// Performs the `ListContentAssociations` operation on the `WisdomService` service. + /// + /// Lists the content associations. For more information about content associations--what they are and when they are used--see [Integrate Amazon Q in Connect with step-by-step guides](https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) in the Amazon Connect Administrator Guide. + /// + /// - Parameter ListContentAssociationsInput : [no documentation found] + /// + /// - Returns: `ListContentAssociationsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ValidationException` : The input fails to satisfy the constraints specified by a service. + public func listContentAssociations(input: ListContentAssociationsInput) async throws -> ListContentAssociationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listContentAssociations") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "wisdom") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listContentAssociations") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListContentAssociationsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.QueryItemMiddleware(ListContentAssociationsInput.queryItemProvider(_:))) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListContentAssociationsOutput.httpOutput(from:), ListContentAssociationsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListContents` operation on the `WisdomService` service. /// /// Lists the content. diff --git a/Sources/Services/AWSQLDB/Sources/AWSQLDB/Models.swift b/Sources/Services/AWSQLDB/Sources/AWSQLDB/Models.swift index 22a054e136c..b1a4a8830cc 100644 --- a/Sources/Services/AWSQLDB/Sources/AWSQLDB/Models.swift +++ b/Sources/Services/AWSQLDB/Sources/AWSQLDB/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -44,7 +44,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -74,7 +74,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct ResourcePreconditionNotMetException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -166,7 +166,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +196,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -228,7 +228,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1943,7 +1943,7 @@ extension UpdateLedgerPermissionsModeInput { extension CancelJournalKinesisStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJournalKinesisStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJournalKinesisStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1955,7 +1955,7 @@ extension CancelJournalKinesisStreamOutput { extension CreateLedgerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLedgerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLedgerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1973,14 +1973,14 @@ extension CreateLedgerOutput { extension DeleteLedgerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLedgerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLedgerOutput { return DeleteLedgerOutput() } } extension DescribeJournalKinesisStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJournalKinesisStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJournalKinesisStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1992,7 +1992,7 @@ extension DescribeJournalKinesisStreamOutput { extension DescribeJournalS3ExportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJournalS3ExportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJournalS3ExportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2004,7 +2004,7 @@ extension DescribeJournalS3ExportOutput { extension DescribeLedgerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLedgerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLedgerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2022,7 +2022,7 @@ extension DescribeLedgerOutput { extension ExportJournalToS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportJournalToS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportJournalToS3Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2034,7 +2034,7 @@ extension ExportJournalToS3Output { extension GetBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2047,7 +2047,7 @@ extension GetBlockOutput { extension GetDigestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDigestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDigestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2060,7 +2060,7 @@ extension GetDigestOutput { extension GetRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2073,7 +2073,7 @@ extension GetRevisionOutput { extension ListJournalKinesisStreamsForLedgerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJournalKinesisStreamsForLedgerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJournalKinesisStreamsForLedgerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2086,7 +2086,7 @@ extension ListJournalKinesisStreamsForLedgerOutput { extension ListJournalS3ExportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJournalS3ExportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJournalS3ExportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2099,7 +2099,7 @@ extension ListJournalS3ExportsOutput { extension ListJournalS3ExportsForLedgerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJournalS3ExportsForLedgerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJournalS3ExportsForLedgerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2112,7 +2112,7 @@ extension ListJournalS3ExportsForLedgerOutput { extension ListLedgersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLedgersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLedgersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2125,7 +2125,7 @@ extension ListLedgersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2137,7 +2137,7 @@ extension ListTagsForResourceOutput { extension StreamJournalToKinesisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StreamJournalToKinesisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StreamJournalToKinesisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2149,21 +2149,21 @@ extension StreamJournalToKinesisOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateLedgerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLedgerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLedgerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2180,7 +2180,7 @@ extension UpdateLedgerOutput { extension UpdateLedgerPermissionsModeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLedgerPermissionsModeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLedgerPermissionsModeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2194,7 +2194,7 @@ extension UpdateLedgerPermissionsModeOutput { enum CancelJournalKinesisStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2210,7 +2210,7 @@ enum CancelJournalKinesisStreamOutputError { enum CreateLedgerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2227,7 +2227,7 @@ enum CreateLedgerOutputError { enum DeleteLedgerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2244,7 +2244,7 @@ enum DeleteLedgerOutputError { enum DescribeJournalKinesisStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2260,7 +2260,7 @@ enum DescribeJournalKinesisStreamOutputError { enum DescribeJournalS3ExportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2274,7 +2274,7 @@ enum DescribeJournalS3ExportOutputError { enum DescribeLedgerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2289,7 +2289,7 @@ enum DescribeLedgerOutputError { enum ExportJournalToS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2304,7 +2304,7 @@ enum ExportJournalToS3OutputError { enum GetBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2320,7 +2320,7 @@ enum GetBlockOutputError { enum GetDigestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2336,7 +2336,7 @@ enum GetDigestOutputError { enum GetRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2352,7 +2352,7 @@ enum GetRevisionOutputError { enum ListJournalKinesisStreamsForLedgerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2368,7 +2368,7 @@ enum ListJournalKinesisStreamsForLedgerOutputError { enum ListJournalS3ExportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2381,7 +2381,7 @@ enum ListJournalS3ExportsOutputError { enum ListJournalS3ExportsForLedgerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2394,7 +2394,7 @@ enum ListJournalS3ExportsForLedgerOutputError { enum ListLedgersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2407,7 +2407,7 @@ enum ListLedgersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2422,7 +2422,7 @@ enum ListTagsForResourceOutputError { enum StreamJournalToKinesisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2438,7 +2438,7 @@ enum StreamJournalToKinesisOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2453,7 +2453,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2468,7 +2468,7 @@ enum UntagResourceOutputError { enum UpdateLedgerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2483,7 +2483,7 @@ enum UpdateLedgerOutputError { enum UpdateLedgerPermissionsModeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/Models.swift b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/Models.swift index a840363c546..b868d960db3 100644 --- a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/Models.swift +++ b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -73,7 +73,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct CapacityExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -355,7 +355,7 @@ public struct InvalidSessionException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -381,7 +381,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -405,7 +405,7 @@ public struct OccConflictException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -429,7 +429,7 @@ public struct RateExceededException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -607,7 +607,7 @@ extension SendCommandInput { extension SendCommandOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendCommandOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendCommandOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -625,7 +625,7 @@ extension SendCommandOutput { enum SendCommandOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/Models.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/Models.swift index 16051ee5e1c..36fbf16a88d 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/Models.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -43,7 +43,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -256,6 +256,164 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes { + + public enum AggType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case average + case column + case count + case custom + case distinctCount + case max + case median + case min + case percentile + case ptdAverage + case ptdCount + case ptdDistinctCount + case ptdMax + case ptdMin + case ptdSum + case stdev + case stdevp + case sum + case `var` + case varp + case sdkUnknown(Swift.String) + + public static var allCases: [AggType] { + return [ + .average, + .column, + .count, + .custom, + .distinctCount, + .max, + .median, + .min, + .percentile, + .ptdAverage, + .ptdCount, + .ptdDistinctCount, + .ptdMax, + .ptdMin, + .ptdSum, + .stdev, + .stdevp, + .sum, + .var, + .varp + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .average: return "AVERAGE" + case .column: return "COLUMN" + case .count: return "COUNT" + case .custom: return "CUSTOM" + case .distinctCount: return "DISTINCT_COUNT" + case .max: return "MAX" + case .median: return "MEDIAN" + case .min: return "MIN" + case .percentile: return "PERCENTILE" + case .ptdAverage: return "PTD_AVERAGE" + case .ptdCount: return "PTD_COUNT" + case .ptdDistinctCount: return "PTD_DISTINCT_COUNT" + case .ptdMax: return "PTD_MAX" + case .ptdMin: return "PTD_MIN" + case .ptdSum: return "PTD_SUM" + case .stdev: return "STDEV" + case .stdevp: return "STDEVP" + case .sum: return "SUM" + case .var: return "VAR" + case .varp: return "VARP" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + + public enum TopicTimeGranularity: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case day + case hour + case minute + case month + case quarter + case second + case week + case year + case sdkUnknown(Swift.String) + + public static var allCases: [TopicTimeGranularity] { + return [ + .day, + .hour, + .minute, + .month, + .quarter, + .second, + .week, + .year + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .day: return "DAY" + case .hour: return "HOUR" + case .minute: return "MINUTE" + case .month: return "MONTH" + case .quarter: return "QUARTER" + case .second: return "SECOND" + case .week: return "WEEK" + case .year: return "YEAR" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition of an Agg function. + public struct AggFunction { + /// The aggregation of an Agg function. + public var aggregation: QuickSightClientTypes.AggType? + /// The aggregation parameters for an Agg function. + public var aggregationFunctionParameters: [Swift.String: Swift.String]? + /// The period of an Agg function. + public var period: QuickSightClientTypes.TopicTimeGranularity? + /// The period field for an Agg function. + public var periodField: Swift.String? + + public init( + aggregation: QuickSightClientTypes.AggType? = nil, + aggregationFunctionParameters: [Swift.String: Swift.String]? = nil, + period: QuickSightClientTypes.TopicTimeGranularity? = nil, + periodField: Swift.String? = nil + ) + { + self.aggregation = aggregation + self.aggregationFunctionParameters = aggregationFunctionParameters + self.period = period + self.periodField = periodField + } + } + +} + extension QuickSightClientTypes { public enum SimpleAttributeAggregationFunction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -522,6 +680,76 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes { + + public enum TimeGranularity: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case day + case hour + case millisecond + case minute + case month + case quarter + case second + case week + case year + case sdkUnknown(Swift.String) + + public static var allCases: [TimeGranularity] { + return [ + .day, + .hour, + .millisecond, + .minute, + .month, + .quarter, + .second, + .week, + .year + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .day: return "DAY" + case .hour: return "HOUR" + case .millisecond: return "MILLISECOND" + case .minute: return "MINUTE" + case .month: return "MONTH" + case .quarter: return "QUARTER" + case .second: return "SECOND" + case .week: return "WEEK" + case .year: return "YEAR" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition of an AggregationPartitionBy. + public struct AggregationPartitionBy { + /// The field Name for an AggregationPartitionBy. + public var fieldName: Swift.String? + /// The TimeGranularity for an AggregationPartitionBy. + public var timeGranularity: QuickSightClientTypes.TimeGranularity? + + public init( + fieldName: Swift.String? = nil, + timeGranularity: QuickSightClientTypes.TimeGranularity? = nil + ) + { + self.fieldName = fieldName + self.timeGranularity = timeGranularity + } + } + +} + extension QuickSightClientTypes { /// A column of a data set. public struct ColumnIdentifier { @@ -2437,20 +2665,28 @@ extension QuickSightClientTypes { extension QuickSightClientTypes { /// The display options of a control. public struct DateTimePickerControlDisplayOptions { + /// The date icon visibility of the DateTimePickerControlDisplayOptions. + public var dateIconVisibility: QuickSightClientTypes.Visibility? /// Customize how dates are formatted in controls. public var dateTimeFormat: Swift.String? + /// The helper text visibility of the DateTimePickerControlDisplayOptions. + public var helperTextVisibility: QuickSightClientTypes.Visibility? /// The configuration of info icon label options. public var infoIconLabelOptions: QuickSightClientTypes.SheetControlInfoIconLabelOptions? /// The options to configure the title visibility, name, and font size. public var titleOptions: QuickSightClientTypes.LabelOptions? public init( + dateIconVisibility: QuickSightClientTypes.Visibility? = nil, dateTimeFormat: Swift.String? = nil, + helperTextVisibility: QuickSightClientTypes.Visibility? = nil, infoIconLabelOptions: QuickSightClientTypes.SheetControlInfoIconLabelOptions? = nil, titleOptions: QuickSightClientTypes.LabelOptions? = nil ) { + self.dateIconVisibility = dateIconVisibility self.dateTimeFormat = dateTimeFormat + self.helperTextVisibility = helperTextVisibility self.infoIconLabelOptions = infoIconLabelOptions self.titleOptions = titleOptions } @@ -3017,6 +3253,80 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes { + /// A CategoryInnerFilter filters text values for the NestedFilter. + public struct CategoryInnerFilter { + /// A column of a data set. + /// This member is required. + public var column: QuickSightClientTypes.ColumnIdentifier? + /// The configuration for a CategoryFilter. This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + /// This member is required. + public var configuration: QuickSightClientTypes.CategoryFilterConfiguration? + /// The default configuration for all dependent controls of the filter. + public var defaultFilterControlConfiguration: QuickSightClientTypes.DefaultFilterControlConfiguration? + + public init( + column: QuickSightClientTypes.ColumnIdentifier? = nil, + configuration: QuickSightClientTypes.CategoryFilterConfiguration? = nil, + defaultFilterControlConfiguration: QuickSightClientTypes.DefaultFilterControlConfiguration? = nil + ) + { + self.column = column + self.configuration = configuration + self.defaultFilterControlConfiguration = defaultFilterControlConfiguration + } + } + +} + +extension QuickSightClientTypes { + /// The InnerFilter defines the subset of data to be used with the NestedFilter. + public struct InnerFilter { + /// A CategoryInnerFilter filters text values for the NestedFilter. + public var categoryInnerFilter: QuickSightClientTypes.CategoryInnerFilter? + + public init( + categoryInnerFilter: QuickSightClientTypes.CategoryInnerFilter? = nil + ) + { + self.categoryInnerFilter = categoryInnerFilter + } + } + +} + +extension QuickSightClientTypes { + /// A NestedFilter filters data with a subset of data that is defined by the nested inner filter. + public struct NestedFilter { + /// The column that the filter is applied to. + /// This member is required. + public var column: QuickSightClientTypes.ColumnIdentifier? + /// An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + /// This member is required. + public var filterId: Swift.String? + /// A boolean condition to include or exclude the subset that is defined by the values of the nested inner filter. + /// This member is required. + public var includeInnerSet: Swift.Bool + /// The InnerFilter defines the subset of data to be used with the NestedFilter. + /// This member is required. + public var innerFilter: QuickSightClientTypes.InnerFilter? + + public init( + column: QuickSightClientTypes.ColumnIdentifier? = nil, + filterId: Swift.String? = nil, + includeInnerSet: Swift.Bool = false, + innerFilter: QuickSightClientTypes.InnerFilter? = nil + ) + { + self.column = column + self.filterId = filterId + self.includeInnerSet = includeInnerSet + self.innerFilter = innerFilter + } + } + +} + extension QuickSightClientTypes { public enum NumericEqualityMatchOperator: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -3263,56 +3573,6 @@ extension QuickSightClientTypes { } -extension QuickSightClientTypes { - - public enum TimeGranularity: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case day - case hour - case millisecond - case minute - case month - case quarter - case second - case week - case year - case sdkUnknown(Swift.String) - - public static var allCases: [TimeGranularity] { - return [ - .day, - .hour, - .millisecond, - .minute, - .month, - .quarter, - .second, - .week, - .year - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .day: return "DAY" - case .hour: return "HOUR" - case .millisecond: return "MILLISECOND" - case .minute: return "MINUTE" - case .month: return "MONTH" - case .quarter: return "QUARTER" - case .second: return "SECOND" - case .week: return "WEEK" - case .year: return "YEAR" - case let .sdkUnknown(s): return s - } - } - } -} - extension QuickSightClientTypes { public enum WidgetStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -3689,6 +3949,8 @@ extension QuickSightClientTypes { public struct Filter { /// A CategoryFilter filters text values. For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the Amazon QuickSight User Guide. public var categoryFilter: QuickSightClientTypes.CategoryFilter? + /// A NestedFilter filters data with a subset of data that is defined by the nested inner filter. + public var nestedFilter: QuickSightClientTypes.NestedFilter? /// A NumericEqualityFilter filters numeric values that equal or do not equal a given numeric value. public var numericEqualityFilter: QuickSightClientTypes.NumericEqualityFilter? /// A NumericRangeFilter filters numeric values that are either inside or outside a given numeric range. @@ -3704,6 +3966,7 @@ extension QuickSightClientTypes { public init( categoryFilter: QuickSightClientTypes.CategoryFilter? = nil, + nestedFilter: QuickSightClientTypes.NestedFilter? = nil, numericEqualityFilter: QuickSightClientTypes.NumericEqualityFilter? = nil, numericRangeFilter: QuickSightClientTypes.NumericRangeFilter? = nil, relativeDatesFilter: QuickSightClientTypes.RelativeDatesFilter? = nil, @@ -3713,6 +3976,7 @@ extension QuickSightClientTypes { ) { self.categoryFilter = categoryFilter + self.nestedFilter = nestedFilter self.numericEqualityFilter = numericEqualityFilter self.numericRangeFilter = numericRangeFilter self.relativeDatesFilter = relativeDatesFilter @@ -3972,6 +4236,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.DateTimeDefaultValues: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DateTimeDefaultValues(dynamicValue: \(Swift.String(describing: dynamicValue)), rollingDate: \(Swift.String(describing: rollingDate)), staticValues: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// A dataset parameter that is mapped to an analysis parameter. public struct MappedDataSetParameter { @@ -4105,6 +4374,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.DecimalDefaultValues: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DecimalDefaultValues(dynamicValue: \(Swift.String(describing: dynamicValue)), staticValues: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { public enum ParameterValueType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -4217,6 +4491,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.IntegerDefaultValues: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "IntegerDefaultValues(dynamicValue: \(Swift.String(describing: dynamicValue)), staticValues: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// A parameter declaration for the Integer data type. This is a union type structure. For this structure to be valid, only one of the attributes can be defined. public struct IntegerValueWhenUnsetConfiguration { @@ -4300,6 +4579,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.StringDefaultValues: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "StringDefaultValues(dynamicValue: \(Swift.String(describing: dynamicValue)), staticValues: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// The configuration that defines the default value of a String parameter when a value has not been set. public struct StringValueWhenUnsetConfiguration { @@ -5178,6 +5462,142 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes { + /// The sort configuration for a column that is not used in a field well. + public struct ColumnSort { + /// The aggregation function that is defined in the column sort. + public var aggregationFunction: QuickSightClientTypes.AggregationFunction? + /// The sort direction. + /// This member is required. + public var direction: QuickSightClientTypes.SortDirection? + /// A column of a data set. + /// This member is required. + public var sortBy: QuickSightClientTypes.ColumnIdentifier? + + public init( + aggregationFunction: QuickSightClientTypes.AggregationFunction? = nil, + direction: QuickSightClientTypes.SortDirection? = nil, + sortBy: QuickSightClientTypes.ColumnIdentifier? = nil + ) + { + self.aggregationFunction = aggregationFunction + self.direction = direction + self.sortBy = sortBy + } + } + +} + +extension QuickSightClientTypes { + /// Describes the Category dataset column and constraints for the dynamic values used to repeat the contents of a section. + public struct BodySectionDynamicCategoryDimensionConfiguration { + /// A column of a data set. + /// This member is required. + public var column: QuickSightClientTypes.ColumnIdentifier? + /// Number of values to use from the column for repetition. + public var limit: Swift.Int? + /// Sort criteria on the column values that you use for repetition. + public var sortByMetrics: [QuickSightClientTypes.ColumnSort]? + + public init( + column: QuickSightClientTypes.ColumnIdentifier? = nil, + limit: Swift.Int? = nil, + sortByMetrics: [QuickSightClientTypes.ColumnSort]? = nil + ) + { + self.column = column + self.limit = limit + self.sortByMetrics = sortByMetrics + } + } + +} + +extension QuickSightClientTypes { + /// Describes the Numeric dataset column and constraints for the dynamic values used to repeat the contents of a section. + public struct BodySectionDynamicNumericDimensionConfiguration { + /// A column of a data set. + /// This member is required. + public var column: QuickSightClientTypes.ColumnIdentifier? + /// Number of values to use from the column for repetition. + public var limit: Swift.Int? + /// Sort criteria on the column values that you use for repetition. + public var sortByMetrics: [QuickSightClientTypes.ColumnSort]? + + public init( + column: QuickSightClientTypes.ColumnIdentifier? = nil, + limit: Swift.Int? = nil, + sortByMetrics: [QuickSightClientTypes.ColumnSort]? = nil + ) + { + self.column = column + self.limit = limit + self.sortByMetrics = sortByMetrics + } + } + +} + +extension QuickSightClientTypes { + /// Describes the dataset column and constraints for the dynamic values used to repeat the contents of a section. The dataset column is either Category or Numeric column configuration + public struct BodySectionRepeatDimensionConfiguration { + /// Describes the Category dataset column and constraints around the dynamic values that will be used in repeating the section contents. + public var dynamicCategoryDimensionConfiguration: QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration? + /// Describes the Numeric dataset column and constraints around the dynamic values used to repeat the contents of a section. + public var dynamicNumericDimensionConfiguration: QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration? + + public init( + dynamicCategoryDimensionConfiguration: QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration? = nil, + dynamicNumericDimensionConfiguration: QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration? = nil + ) + { + self.dynamicCategoryDimensionConfiguration = dynamicCategoryDimensionConfiguration + self.dynamicNumericDimensionConfiguration = dynamicNumericDimensionConfiguration + } + } + +} + +extension QuickSightClientTypes { + /// The page break configuration to apply for each repeating instance. + public struct BodySectionRepeatPageBreakConfiguration { + /// The configuration of a page break after a section. + public var after: QuickSightClientTypes.SectionAfterPageBreak? + + public init( + after: QuickSightClientTypes.SectionAfterPageBreak? = nil + ) + { + self.after = after + } + } + +} + +extension QuickSightClientTypes { + /// Describes the configurations that are required to declare a section as repeating. + public struct BodySectionRepeatConfiguration { + /// List of BodySectionRepeatDimensionConfiguration values that describe the dataset column and constraints for the column used to repeat the contents of a section. + public var dimensionConfigurations: [QuickSightClientTypes.BodySectionRepeatDimensionConfiguration]? + /// List of visuals to exclude from repetition in repeating sections. The visuals will render identically, and ignore the repeating configurations in all repeating instances. + public var nonRepeatingVisuals: [Swift.String]? + /// Page break configuration to apply for each repeating instance. + public var pageBreakConfiguration: QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration? + + public init( + dimensionConfigurations: [QuickSightClientTypes.BodySectionRepeatDimensionConfiguration]? = nil, + nonRepeatingVisuals: [Swift.String]? = nil, + pageBreakConfiguration: QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration? = nil + ) + { + self.dimensionConfigurations = dimensionConfigurations + self.nonRepeatingVisuals = nonRepeatingVisuals + self.pageBreakConfiguration = pageBreakConfiguration + } + } + +} + extension QuickSightClientTypes { /// The options that style a section. public struct SectionStyle { @@ -5206,6 +5626,8 @@ extension QuickSightClientTypes { public var content: QuickSightClientTypes.BodySectionContent? /// The configuration of a page break for a section. public var pageBreakConfiguration: QuickSightClientTypes.SectionPageBreakConfiguration? + /// Describes the configurations that are required to declare a section as repeating. + public var repeatConfiguration: QuickSightClientTypes.BodySectionRepeatConfiguration? /// The unique identifier of a body section. /// This member is required. public var sectionId: Swift.String? @@ -5215,12 +5637,14 @@ extension QuickSightClientTypes { public init( content: QuickSightClientTypes.BodySectionContent? = nil, pageBreakConfiguration: QuickSightClientTypes.SectionPageBreakConfiguration? = nil, + repeatConfiguration: QuickSightClientTypes.BodySectionRepeatConfiguration? = nil, sectionId: Swift.String? = nil, style: QuickSightClientTypes.SectionStyle? = nil ) { self.content = content self.pageBreakConfiguration = pageBreakConfiguration + self.repeatConfiguration = repeatConfiguration self.sectionId = sectionId self.style = style } @@ -5865,6 +6289,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.CustomParameterValues: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CustomParameterValues(dateTimeValues: \"CONTENT_REDACTED\", decimalValues: \"CONTENT_REDACTED\", integerValues: \"CONTENT_REDACTED\", stringValues: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// The configuration of custom values for the destination parameter in DestinationParameterValueConfiguration. public struct CustomValuesConfiguration { @@ -8017,32 +8446,6 @@ extension QuickSightClientTypes { } -extension QuickSightClientTypes { - /// The sort configuration for a column that is not used in a field well. - public struct ColumnSort { - /// The aggregation function that is defined in the column sort. - public var aggregationFunction: QuickSightClientTypes.AggregationFunction? - /// The sort direction. - /// This member is required. - public var direction: QuickSightClientTypes.SortDirection? - /// A column of a data set. - /// This member is required. - public var sortBy: QuickSightClientTypes.ColumnIdentifier? - - public init( - aggregationFunction: QuickSightClientTypes.AggregationFunction? = nil, - direction: QuickSightClientTypes.SortDirection? = nil, - sortBy: QuickSightClientTypes.ColumnIdentifier? = nil - ) - { - self.aggregationFunction = aggregationFunction - self.direction = direction - self.sortBy = sortBy - } - } - -} - extension QuickSightClientTypes { /// The sort configuration for a field in a field well. public struct FieldSort { @@ -17331,6 +17734,56 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes { + + public enum AnchorType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case today + case sdkUnknown(Swift.String) + + public static var allCases: [AnchorType] { + return [ + .today + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .today: return "TODAY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition of the Anchor. + public struct Anchor { + /// The AnchorType for the Anchor. + public var anchorType: QuickSightClientTypes.AnchorType? + /// The offset of the Anchor. + public var offset: Swift.Int + /// The TimeGranularity of the Anchor. + public var timeGranularity: QuickSightClientTypes.TimeGranularity? + + public init( + anchorType: QuickSightClientTypes.AnchorType? = nil, + offset: Swift.Int = 0, + timeGranularity: QuickSightClientTypes.TimeGranularity? = nil + ) + { + self.anchorType = anchorType + self.offset = offset + self.timeGranularity = timeGranularity + } + } + +} + extension QuickSightClientTypes { /// Information about the dashboard that you want to embed. public struct AnonymousUserDashboardEmbeddingConfiguration { @@ -20165,71 +20618,6 @@ extension QuickSightClientTypes { } } -extension QuickSightClientTypes { - /// The bookmarks configuration of an embedded dashboard. - public struct BookmarksConfigurations { - /// A Boolean value that determines whether a user can bookmark an embedded dashboard. - /// This member is required. - public var enabled: Swift.Bool - - public init( - enabled: Swift.Bool = false - ) - { - self.enabled = enabled - } - } - -} - -extension QuickSightClientTypes { - /// The display options for tile borders for visuals. - public struct BorderStyle { - /// The option to enable display of borders for visuals. - public var show: Swift.Bool? - - public init( - show: Swift.Bool? = nil - ) - { - self.show = show - } - } - -} - -extension QuickSightClientTypes { - /// A calculated column for a dataset. - public struct CalculatedColumn { - /// A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column. - /// This member is required. - public var columnId: Swift.String? - /// Column name. - /// This member is required. - public var columnName: Swift.String? - /// An expression that defines the calculated column. - /// This member is required. - public var expression: Swift.String? - - public init( - columnId: Swift.String? = nil, - columnName: Swift.String? = nil, - expression: Swift.String? = nil - ) - { - self.columnId = columnId - self.columnName = columnName - self.expression = expression - } - } - -} - -extension QuickSightClientTypes.CalculatedColumn: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "CalculatedColumn(columnId: \(Swift.String(describing: columnId)), columnName: \(Swift.String(describing: columnName)), expression: \"CONTENT_REDACTED\")"} -} - /// An internal failure occurred. public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -20244,7 +20632,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -20272,7 +20660,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -20336,38 +20724,6 @@ extension QuickSightClientTypes { } } -/// The resource specified already exists. -public struct ResourceExistsException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - /// The Amazon Web Services request ID for this request. - public internal(set) var requestId: Swift.String? = nil - /// The resource type for this request. - public internal(set) var resourceType: QuickSightClientTypes.ExceptionResourceType? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ResourceExistsException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil, - requestId: Swift.String? = nil, - resourceType: QuickSightClientTypes.ExceptionResourceType? = nil - ) - { - self.properties.message = message - self.properties.requestId = requestId - self.properties.resourceType = resourceType - } -} - /// One or more resources can't be found. public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -20384,7 +20740,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -20414,7 +20770,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -20428,6 +20784,1315 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. } } +extension QuickSightClientTypes { + + public enum ContributionAnalysisDirection: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case decrease + case increase + case neutral + case sdkUnknown(Swift.String) + + public static var allCases: [ContributionAnalysisDirection] { + return [ + .decrease, + .increase, + .neutral + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .decrease: return "DECREASE" + case .increase: return "INCREASE" + case .neutral: return "NEUTRAL" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for the ContributionAnalysisFactor. + public struct ContributionAnalysisFactor { + /// The field name of the ContributionAnalysisFactor. + public var fieldName: Swift.String? + + public init( + fieldName: Swift.String? = nil + ) + { + self.fieldName = fieldName + } + } + +} + +extension QuickSightClientTypes { + + public enum ContributionAnalysisSortType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case absoluteDifference + case contributionPercentage + case deviationFromExpected + case percentageDifference + case sdkUnknown(Swift.String) + + public static var allCases: [ContributionAnalysisSortType] { + return [ + .absoluteDifference, + .contributionPercentage, + .deviationFromExpected, + .percentageDifference + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .absoluteDifference: return "ABSOLUTE_DIFFERENCE" + case .contributionPercentage: return "CONTRIBUTION_PERCENTAGE" + case .deviationFromExpected: return "DEVIATION_FROM_EXPECTED" + case .percentageDifference: return "PERCENTAGE_DIFFERENCE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for the identifier. + public struct Identifier { + /// The identity of the identifier. + /// This member is required. + public var identity: Swift.String? + + public init( + identity: Swift.String? = nil + ) + { + self.identity = identity + } + } + +} + +extension QuickSightClientTypes { + + public enum TopicSortDirection: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case ascending + case descending + case sdkUnknown(Swift.String) + + public static var allCases: [TopicSortDirection] { + return [ + .ascending, + .descending + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .ascending: return "ASCENDING" + case .descending: return "DESCENDING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for the FilterAggMetrics. + public struct FilterAggMetrics { + /// The function for the FilterAggMetrics. + public var function: QuickSightClientTypes.AggType? + /// The metric operand of the FilterAggMetrics. + public var metricOperand: QuickSightClientTypes.Identifier? + /// The sort direction for FilterAggMetrics. + public var sortDirection: QuickSightClientTypes.TopicSortDirection? + + public init( + function: QuickSightClientTypes.AggType? = nil, + metricOperand: QuickSightClientTypes.Identifier? = nil, + sortDirection: QuickSightClientTypes.TopicSortDirection? = nil + ) + { + self.function = function + self.metricOperand = metricOperand + self.sortDirection = sortDirection + } + } + +} + +extension QuickSightClientTypes { + + public enum ConstantType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case collective + case range + case singular + case sdkUnknown(Swift.String) + + public static var allCases: [ConstantType] { + return [ + .collective, + .range, + .singular + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .collective: return "COLLECTIVE" + case .range: return "RANGE" + case .singular: return "SINGULAR" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for a CollectiveConstantEntry. + public struct CollectiveConstantEntry { + /// The ConstantType of a CollectiveConstantEntry. + public var constantType: QuickSightClientTypes.ConstantType? + /// The value of a CollectiveConstantEntry. + public var value: Swift.String? + + public init( + constantType: QuickSightClientTypes.ConstantType? = nil, + value: Swift.String? = nil + ) + { + self.constantType = constantType + self.value = value + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicConstantValue. + public struct TopicConstantValue { + /// The constant type of a TopicConstantValue. + public var constantType: QuickSightClientTypes.ConstantType? + /// The maximum for the TopicConstantValue. + public var maximum: Swift.String? + /// The minimum for the TopicConstantValue. + public var minimum: Swift.String? + /// The value of the TopicConstantValue. + public var value: Swift.String? + /// The value list of the TopicConstantValue. + public var valueList: [QuickSightClientTypes.CollectiveConstantEntry]? + + public init( + constantType: QuickSightClientTypes.ConstantType? = nil, + maximum: Swift.String? = nil, + minimum: Swift.String? = nil, + value: Swift.String? = nil, + valueList: [QuickSightClientTypes.CollectiveConstantEntry]? = nil + ) + { + self.constantType = constantType + self.maximum = maximum + self.minimum = minimum + self.value = value + self.valueList = valueList + } + } + +} + +extension QuickSightClientTypes { + + public enum FilterClass: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case conditionalValueFilter + case enforcedValueFilter + case namedValueFilter + case sdkUnknown(Swift.String) + + public static var allCases: [FilterClass] { + return [ + .conditionalValueFilter, + .enforcedValueFilter, + .namedValueFilter + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .conditionalValueFilter: return "CONDITIONAL_VALUE_FILTER" + case .enforcedValueFilter: return "ENFORCED_VALUE_FILTER" + case .namedValueFilter: return "NAMED_VALUE_FILTER" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + + public enum TopicIRFilterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case acceptAllFilter + case categoryFilter + case dateRangeFilter + case equals + case numericEqualityFilter + case numericRangeFilter + case rankLimitFilter + case relativeDateFilter + case topBottomFilter + case sdkUnknown(Swift.String) + + public static var allCases: [TopicIRFilterType] { + return [ + .acceptAllFilter, + .categoryFilter, + .dateRangeFilter, + .equals, + .numericEqualityFilter, + .numericRangeFilter, + .rankLimitFilter, + .relativeDateFilter, + .topBottomFilter + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .acceptAllFilter: return "ACCEPT_ALL_FILTER" + case .categoryFilter: return "CATEGORY_FILTER" + case .dateRangeFilter: return "DATE_RANGE_FILTER" + case .equals: return "EQUALS" + case .numericEqualityFilter: return "NUMERIC_EQUALITY_FILTER" + case .numericRangeFilter: return "NUMERIC_RANGE_FILTER" + case .rankLimitFilter: return "RANK_LIMIT_FILTER" + case .relativeDateFilter: return "RELATIVE_DATE_FILTER" + case .topBottomFilter: return "TOP_BOTTOM_FILTER" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + + public enum TopicIRFilterFunction: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case contains + case containsString + case endsWith + case exact + case last + case next + case now + case previous + case startsWith + case `this` + case sdkUnknown(Swift.String) + + public static var allCases: [TopicIRFilterFunction] { + return [ + .contains, + .containsString, + .endsWith, + .exact, + .last, + .next, + .now, + .previous, + .startsWith, + .this + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .contains: return "CONTAINS" + case .containsString: return "CONTAINS_STRING" + case .endsWith: return "ENDS_WITH" + case .exact: return "EXACT" + case .last: return "LAST" + case .next: return "NEXT" + case .now: return "NOW" + case .previous: return "PREVIOUS" + case .startsWith: return "STARTS_WITH" + case .this: return "THIS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + + public enum NullFilterOption: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case allValues + case nonNullsOnly + case nullsOnly + case sdkUnknown(Swift.String) + + public static var allCases: [NullFilterOption] { + return [ + .allValues, + .nonNullsOnly, + .nullsOnly + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .allValues: return "ALL_VALUES" + case .nonNullsOnly: return "NON_NULLS_ONLY" + case .nullsOnly: return "NULLS_ONLY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for a TopicIRFilterOption. + public struct TopicIRFilterOption { + /// The agg metrics for the TopicIRFilterOption. + public var aggMetrics: [QuickSightClientTypes.FilterAggMetrics]? + /// The aggregation for the TopicIRFilterOption. + public var aggregation: QuickSightClientTypes.AggType? + /// The aggregation function parameters for the TopicIRFilterOption. + public var aggregationFunctionParameters: [Swift.String: Swift.String]? + /// The AggregationPartitionBy for the TopicIRFilterOption. + public var aggregationPartitionBy: [QuickSightClientTypes.AggregationPartitionBy]? + /// The anchor for the TopicIRFilterOption. + public var anchor: QuickSightClientTypes.Anchor? + /// The constant for the TopicIRFilterOption. + public var constant: QuickSightClientTypes.TopicConstantValue? + /// The filter class for the TopicIRFilterOption. + public var filterClass: QuickSightClientTypes.FilterClass? + /// The filter type for the TopicIRFilterOption. + public var filterType: QuickSightClientTypes.TopicIRFilterType? + /// The function for the TopicIRFilterOption. + public var function: QuickSightClientTypes.TopicIRFilterFunction? + /// The inclusive for the TopicIRFilterOption. + public var inclusive: Swift.Bool + /// The inverse for the TopicIRFilterOption. + public var inverse: Swift.Bool + /// The last next offset for the TopicIRFilterOption. + public var lastNextOffset: QuickSightClientTypes.TopicConstantValue? + /// The null filter for the TopicIRFilterOption. + public var nullFilter: QuickSightClientTypes.NullFilterOption? + /// The operand field for the TopicIRFilterOption. + public var operandField: QuickSightClientTypes.Identifier? + /// The range for the TopicIRFilterOption. + public var range: QuickSightClientTypes.TopicConstantValue? + /// The sort direction for the TopicIRFilterOption. + public var sortDirection: QuickSightClientTypes.TopicSortDirection? + /// The time granularity for the TopicIRFilterOption. + public var timeGranularity: QuickSightClientTypes.TimeGranularity? + /// The TopBottomLimit for the TopicIRFilterOption. + public var topBottomLimit: QuickSightClientTypes.TopicConstantValue? + + public init( + aggMetrics: [QuickSightClientTypes.FilterAggMetrics]? = nil, + aggregation: QuickSightClientTypes.AggType? = nil, + aggregationFunctionParameters: [Swift.String: Swift.String]? = nil, + aggregationPartitionBy: [QuickSightClientTypes.AggregationPartitionBy]? = nil, + anchor: QuickSightClientTypes.Anchor? = nil, + constant: QuickSightClientTypes.TopicConstantValue? = nil, + filterClass: QuickSightClientTypes.FilterClass? = nil, + filterType: QuickSightClientTypes.TopicIRFilterType? = nil, + function: QuickSightClientTypes.TopicIRFilterFunction? = nil, + inclusive: Swift.Bool = false, + inverse: Swift.Bool = false, + lastNextOffset: QuickSightClientTypes.TopicConstantValue? = nil, + nullFilter: QuickSightClientTypes.NullFilterOption? = nil, + operandField: QuickSightClientTypes.Identifier? = nil, + range: QuickSightClientTypes.TopicConstantValue? = nil, + sortDirection: QuickSightClientTypes.TopicSortDirection? = nil, + timeGranularity: QuickSightClientTypes.TimeGranularity? = nil, + topBottomLimit: QuickSightClientTypes.TopicConstantValue? = nil + ) + { + self.aggMetrics = aggMetrics + self.aggregation = aggregation + self.aggregationFunctionParameters = aggregationFunctionParameters + self.aggregationPartitionBy = aggregationPartitionBy + self.anchor = anchor + self.constant = constant + self.filterClass = filterClass + self.filterType = filterType + self.function = function + self.inclusive = inclusive + self.inverse = inverse + self.lastNextOffset = lastNextOffset + self.nullFilter = nullFilter + self.operandField = operandField + self.range = range + self.sortDirection = sortDirection + self.timeGranularity = timeGranularity + self.topBottomLimit = topBottomLimit + } + } + +} + +extension QuickSightClientTypes { + /// The definition for the ContributionAnalysisTimeRanges. + public struct ContributionAnalysisTimeRanges { + /// The end range for the ContributionAnalysisTimeRanges. + public var endRange: QuickSightClientTypes.TopicIRFilterOption? + /// The start range for the ContributionAnalysisTimeRanges. + public var startRange: QuickSightClientTypes.TopicIRFilterOption? + + public init( + endRange: QuickSightClientTypes.TopicIRFilterOption? = nil, + startRange: QuickSightClientTypes.TopicIRFilterOption? = nil + ) + { + self.endRange = endRange + self.startRange = startRange + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicIRContributionAnalysis. + public struct TopicIRContributionAnalysis { + /// The direction for the TopicIRContributionAnalysis. + public var direction: QuickSightClientTypes.ContributionAnalysisDirection? + /// The factors for a TopicIRContributionAnalysis. + public var factors: [QuickSightClientTypes.ContributionAnalysisFactor]? + /// The sort type for the TopicIRContributionAnalysis. + public var sortType: QuickSightClientTypes.ContributionAnalysisSortType? + /// The time ranges for the TopicIRContributionAnalysis. + public var timeRanges: QuickSightClientTypes.ContributionAnalysisTimeRanges? + + public init( + direction: QuickSightClientTypes.ContributionAnalysisDirection? = nil, + factors: [QuickSightClientTypes.ContributionAnalysisFactor]? = nil, + sortType: QuickSightClientTypes.ContributionAnalysisSortType? = nil, + timeRanges: QuickSightClientTypes.ContributionAnalysisTimeRanges? = nil + ) + { + self.direction = direction + self.factors = factors + self.sortType = sortType + self.timeRanges = timeRanges + } + } + +} + +extension QuickSightClientTypes { + + public enum DisplayFormat: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case auto + case currency + case date + case number + case percent + case string + case sdkUnknown(Swift.String) + + public static var allCases: [DisplayFormat] { + return [ + .auto, + .currency, + .date, + .number, + .percent, + .string + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .auto: return "AUTO" + case .currency: return "CURRENCY" + case .date: return "DATE" + case .number: return "NUMBER" + case .percent: return "PERCENT" + case .string: return "STRING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + + public enum TopicNumericSeparatorSymbol: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case comma + case dot + case sdkUnknown(Swift.String) + + public static var allCases: [TopicNumericSeparatorSymbol] { + return [ + .comma, + .dot + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .comma: return "COMMA" + case .dot: return "DOT" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// A structure that represents a negative format. + public struct NegativeFormat { + /// The prefix for a negative format. + public var `prefix`: Swift.String? + /// The suffix for a negative format. + public var suffix: Swift.String? + + public init( + `prefix`: Swift.String? = nil, + suffix: Swift.String? = nil + ) + { + self.`prefix` = `prefix` + self.suffix = suffix + } + } + +} + +extension QuickSightClientTypes { + /// A structure that represents additional options for display formatting. + public struct DisplayFormatOptions { + /// Determines the blank cell format. + public var blankCellFormat: Swift.String? + /// The currency symbol, such as USD. + public var currencySymbol: Swift.String? + /// Determines the DateTime format. + public var dateFormat: Swift.String? + /// Determines the decimal separator. + public var decimalSeparator: QuickSightClientTypes.TopicNumericSeparatorSymbol? + /// Determines the number of fraction digits. + public var fractionDigits: Swift.Int + /// Determines the grouping separator. + public var groupingSeparator: Swift.String? + /// The negative format. + public var negativeFormat: QuickSightClientTypes.NegativeFormat? + /// The prefix value for a display format. + public var `prefix`: Swift.String? + /// The suffix value for a display format. + public var suffix: Swift.String? + /// The unit scaler. Valid values for this structure are: NONE, AUTO, THOUSANDS, MILLIONS, BILLIONS, and TRILLIONS. + public var unitScaler: QuickSightClientTypes.NumberScale? + /// A Boolean value that indicates whether to use blank cell format. + public var useBlankCellFormat: Swift.Bool + /// A Boolean value that indicates whether to use grouping. + public var useGrouping: Swift.Bool + + public init( + blankCellFormat: Swift.String? = nil, + currencySymbol: Swift.String? = nil, + dateFormat: Swift.String? = nil, + decimalSeparator: QuickSightClientTypes.TopicNumericSeparatorSymbol? = nil, + fractionDigits: Swift.Int = 0, + groupingSeparator: Swift.String? = nil, + negativeFormat: QuickSightClientTypes.NegativeFormat? = nil, + `prefix`: Swift.String? = nil, + suffix: Swift.String? = nil, + unitScaler: QuickSightClientTypes.NumberScale? = nil, + useBlankCellFormat: Swift.Bool = false, + useGrouping: Swift.Bool = false + ) + { + self.blankCellFormat = blankCellFormat + self.currencySymbol = currencySymbol + self.dateFormat = dateFormat + self.decimalSeparator = decimalSeparator + self.fractionDigits = fractionDigits + self.groupingSeparator = groupingSeparator + self.negativeFormat = negativeFormat + self.`prefix` = `prefix` + self.suffix = suffix + self.unitScaler = unitScaler + self.useBlankCellFormat = useBlankCellFormat + self.useGrouping = useGrouping + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a NamedEntityRef. + public struct NamedEntityRef { + /// The NamedEntityName for the NamedEntityRef. + public var namedEntityName: Swift.String? + + public init( + namedEntityName: Swift.String? = nil + ) + { + self.namedEntityName = namedEntityName + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicSortClause. + public struct TopicSortClause { + /// The operand for a TopicSortClause. + public var operand: QuickSightClientTypes.Identifier? + /// The sort direction for the TopicSortClause. + public var sortDirection: QuickSightClientTypes.TopicSortDirection? + + public init( + operand: QuickSightClientTypes.Identifier? = nil, + sortDirection: QuickSightClientTypes.TopicSortDirection? = nil + ) + { + self.operand = operand + self.sortDirection = sortDirection + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicIRGroupBy. + public struct TopicIRGroupBy { + /// The display format for the TopicIRGroupBy. + public var displayFormat: QuickSightClientTypes.DisplayFormat? + /// A structure that represents additional options for display formatting. + public var displayFormatOptions: QuickSightClientTypes.DisplayFormatOptions? + /// The field name for the TopicIRGroupBy. + public var fieldName: QuickSightClientTypes.Identifier? + /// The named entity for the TopicIRGroupBy. + public var namedEntity: QuickSightClientTypes.NamedEntityRef? + /// The sort for the TopicIRGroupBy. + public var sort: QuickSightClientTypes.TopicSortClause? + /// The time granularity for the TopicIRGroupBy. + public var timeGranularity: QuickSightClientTypes.TopicTimeGranularity? + + public init( + displayFormat: QuickSightClientTypes.DisplayFormat? = nil, + displayFormatOptions: QuickSightClientTypes.DisplayFormatOptions? = nil, + fieldName: QuickSightClientTypes.Identifier? = nil, + namedEntity: QuickSightClientTypes.NamedEntityRef? = nil, + sort: QuickSightClientTypes.TopicSortClause? = nil, + timeGranularity: QuickSightClientTypes.TopicTimeGranularity? = nil + ) + { + self.displayFormat = displayFormat + self.displayFormatOptions = displayFormatOptions + self.fieldName = fieldName + self.namedEntity = namedEntity + self.sort = sort + self.timeGranularity = timeGranularity + } + } + +} + +extension QuickSightClientTypes { + + public enum ComparisonMethodType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case diff + case diffAsPerc + case movingAverage + case percentOfTotal + case percDiff + case popCurrentDiff + case popCurrentDiffAsPerc + case popOvertimeDiff + case popOvertimeDiffAsPerc + case runningSum + case sdkUnknown(Swift.String) + + public static var allCases: [ComparisonMethodType] { + return [ + .diff, + .diffAsPerc, + .movingAverage, + .percentOfTotal, + .percDiff, + .popCurrentDiff, + .popCurrentDiffAsPerc, + .popOvertimeDiff, + .popOvertimeDiffAsPerc, + .runningSum + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .diff: return "DIFF" + case .diffAsPerc: return "DIFF_AS_PERC" + case .movingAverage: return "MOVING_AVERAGE" + case .percentOfTotal: return "PERCENT_OF_TOTAL" + case .percDiff: return "PERC_DIFF" + case .popCurrentDiff: return "POP_CURRENT_DIFF" + case .popCurrentDiffAsPerc: return "POP_CURRENT_DIFF_AS_PERC" + case .popOvertimeDiff: return "POP_OVERTIME_DIFF" + case .popOvertimeDiffAsPerc: return "POP_OVERTIME_DIFF_AS_PERC" + case .runningSum: return "RUNNING_SUM" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition of a TopicIRComparisonMethod. + public struct TopicIRComparisonMethod { + /// The period for the TopicIRComparisonMethod. + public var period: QuickSightClientTypes.TopicTimeGranularity? + /// The type for the TopicIRComparisonMethod. + public var type: QuickSightClientTypes.ComparisonMethodType? + /// The window size for the TopicIRComparisonMethod. + public var windowSize: Swift.Int + + public init( + period: QuickSightClientTypes.TopicTimeGranularity? = nil, + type: QuickSightClientTypes.ComparisonMethodType? = nil, + windowSize: Swift.Int = 0 + ) + { + self.period = period + self.type = type + self.windowSize = windowSize + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicIRMetric. + public struct TopicIRMetric { + /// The calculated field references for the TopicIRMetric. + public var calculatedFieldReferences: [QuickSightClientTypes.Identifier]? + /// The comparison method for the TopicIRMetric. + public var comparisonMethod: QuickSightClientTypes.TopicIRComparisonMethod? + /// The display format for the TopicIRMetric. + public var displayFormat: QuickSightClientTypes.DisplayFormat? + /// A structure that represents additional options for display formatting. + public var displayFormatOptions: QuickSightClientTypes.DisplayFormatOptions? + /// The expression for the TopicIRMetric. + public var expression: Swift.String? + /// The function for the TopicIRMetric. + public var function: QuickSightClientTypes.AggFunction? + /// The metric ID for the TopicIRMetric. + public var metricId: QuickSightClientTypes.Identifier? + /// The named entity for the TopicIRMetric. + public var namedEntity: QuickSightClientTypes.NamedEntityRef? + /// The operands for the TopicIRMetric. + public var operands: [QuickSightClientTypes.Identifier]? + + public init( + calculatedFieldReferences: [QuickSightClientTypes.Identifier]? = nil, + comparisonMethod: QuickSightClientTypes.TopicIRComparisonMethod? = nil, + displayFormat: QuickSightClientTypes.DisplayFormat? = nil, + displayFormatOptions: QuickSightClientTypes.DisplayFormatOptions? = nil, + expression: Swift.String? = nil, + function: QuickSightClientTypes.AggFunction? = nil, + metricId: QuickSightClientTypes.Identifier? = nil, + namedEntity: QuickSightClientTypes.NamedEntityRef? = nil, + operands: [QuickSightClientTypes.Identifier]? = nil + ) + { + self.calculatedFieldReferences = calculatedFieldReferences + self.comparisonMethod = comparisonMethod + self.displayFormat = displayFormat + self.displayFormatOptions = displayFormatOptions + self.expression = expression + self.function = function + self.metricId = metricId + self.namedEntity = namedEntity + self.operands = operands + } + } + +} + +extension QuickSightClientTypes.TopicIRMetric: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TopicIRMetric(calculatedFieldReferences: \(Swift.String(describing: calculatedFieldReferences)), comparisonMethod: \(Swift.String(describing: comparisonMethod)), displayFormat: \(Swift.String(describing: displayFormat)), displayFormatOptions: \(Swift.String(describing: displayFormatOptions)), function: \(Swift.String(describing: function)), metricId: \(Swift.String(describing: metricId)), namedEntity: \(Swift.String(describing: namedEntity)), operands: \(Swift.String(describing: operands)), expression: \"CONTENT_REDACTED\")"} +} + +extension QuickSightClientTypes { + /// The definition for a VisualOptions. + public struct VisualOptions { + /// The type for a VisualOptions. + public var type: Swift.String? + + public init( + type: Swift.String? = nil + ) + { + self.type = type + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicIR. + public struct TopicIR { + /// The contribution analysis for the TopicIR. + public var contributionAnalysis: QuickSightClientTypes.TopicIRContributionAnalysis? + /// The filters for the TopicIR. + public var filters: [[QuickSightClientTypes.TopicIRFilterOption]]? + /// The GroupBy list for the TopicIR. + public var groupByList: [QuickSightClientTypes.TopicIRGroupBy]? + /// The metrics for the TopicIR. + public var metrics: [QuickSightClientTypes.TopicIRMetric]? + /// The sort for the TopicIR. + public var sort: QuickSightClientTypes.TopicSortClause? + /// The visual for the TopicIR. + public var visual: QuickSightClientTypes.VisualOptions? + + public init( + contributionAnalysis: QuickSightClientTypes.TopicIRContributionAnalysis? = nil, + filters: [[QuickSightClientTypes.TopicIRFilterOption]]? = nil, + groupByList: [QuickSightClientTypes.TopicIRGroupBy]? = nil, + metrics: [QuickSightClientTypes.TopicIRMetric]? = nil, + sort: QuickSightClientTypes.TopicSortClause? = nil, + visual: QuickSightClientTypes.VisualOptions? = nil + ) + { + self.contributionAnalysis = contributionAnalysis + self.filters = filters + self.groupByList = groupByList + self.metrics = metrics + self.sort = sort + self.visual = visual + } + } + +} + +extension QuickSightClientTypes { + + public enum VisualRole: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case complimentary + case fallback + case fragment + case multiIntent + case primary + case sdkUnknown(Swift.String) + + public static var allCases: [VisualRole] { + return [ + .complimentary, + .fallback, + .fragment, + .multiIntent, + .primary + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .complimentary: return "COMPLIMENTARY" + case .fallback: return "FALLBACK" + case .fragment: return "FRAGMENT" + case .multiIntent: return "MULTI_INTENT" + case .primary: return "PRIMARY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for the slot. + public struct Slot { + /// The slot ID of the slot. + public var slotId: Swift.String? + /// The visual ID for the slot. + public var visualId: Swift.String? + + public init( + slotId: Swift.String? = nil, + visualId: Swift.String? = nil + ) + { + self.slotId = slotId + self.visualId = visualId + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a TopicTemplate. + public struct TopicTemplate { + /// The slots for the TopicTemplate. + public var slots: [QuickSightClientTypes.Slot]? + /// The template type for the TopicTemplate. + public var templateType: Swift.String? + + public init( + slots: [QuickSightClientTypes.Slot]? = nil, + templateType: Swift.String? = nil + ) + { + self.slots = slots + self.templateType = templateType + } + } + +} + +extension QuickSightClientTypes { + + public enum ReviewedAnswerErrorCode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case datasetDoesNotExist + case duplicatedAnswer + case internalError + case invalidData + case invalidDatasetArn + case missingAnswer + case missingRequiredFields + case sdkUnknown(Swift.String) + + public static var allCases: [ReviewedAnswerErrorCode] { + return [ + .datasetDoesNotExist, + .duplicatedAnswer, + .internalError, + .invalidData, + .invalidDatasetArn, + .missingAnswer, + .missingRequiredFields + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .datasetDoesNotExist: return "DATASET_DOES_NOT_EXIST" + case .duplicatedAnswer: return "DUPLICATED_ANSWER" + case .internalError: return "INTERNAL_ERROR" + case .invalidData: return "INVALID_DATA" + case .invalidDatasetArn: return "INVALID_DATASET_ARN" + case .missingAnswer: return "MISSING_ANSWER" + case .missingRequiredFields: return "MISSING_REQUIRED_FIELDS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension QuickSightClientTypes { + /// The definition for a InvalidTopicReviewedAnswer. + public struct InvalidTopicReviewedAnswer { + /// The answer ID for the InvalidTopicReviewedAnswer. + public var answerId: Swift.String? + /// The error that is returned for the InvalidTopicReviewedAnswer. + public var error: QuickSightClientTypes.ReviewedAnswerErrorCode? + + public init( + answerId: Swift.String? = nil, + error: QuickSightClientTypes.ReviewedAnswerErrorCode? = nil + ) + { + self.answerId = answerId + self.error = error + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a SucceededTopicReviewedAnswer. + public struct SucceededTopicReviewedAnswer { + /// The answer ID for the SucceededTopicReviewedAnswer. + public var answerId: Swift.String? + + public init( + answerId: Swift.String? = nil + ) + { + self.answerId = answerId + } + } + +} + +public struct BatchCreateTopicReviewedAnswerOutput { + /// The definition of Answers that are invalid and not created. + public var invalidAnswers: [QuickSightClientTypes.InvalidTopicReviewedAnswer]? + /// The Amazon Web Services request ID for this operation. + public var requestId: Swift.String? + /// The HTTP status of the request. + public var status: Swift.Int + /// The definition of Answers that are successfully created. + public var succeededAnswers: [QuickSightClientTypes.SucceededTopicReviewedAnswer]? + /// The Amazon Resource Name (ARN) of the topic. + public var topicArn: Swift.String? + /// The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. + public var topicId: Swift.String? + + public init( + invalidAnswers: [QuickSightClientTypes.InvalidTopicReviewedAnswer]? = nil, + requestId: Swift.String? = nil, + status: Swift.Int = 0, + succeededAnswers: [QuickSightClientTypes.SucceededTopicReviewedAnswer]? = nil, + topicArn: Swift.String? = nil, + topicId: Swift.String? = nil + ) + { + self.invalidAnswers = invalidAnswers + self.requestId = requestId + self.status = status + self.succeededAnswers = succeededAnswers + self.topicArn = topicArn + self.topicId = topicId + } +} + +/// Updating or deleting a resource can cause an inconsistent state. +public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + /// The Amazon Web Services request ID for this request. + public internal(set) var requestId: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ConflictException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + requestId: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.requestId = requestId + } +} + +public struct BatchDeleteTopicReviewedAnswerInput { + /// The Answer IDs of the Answers to be deleted. + public var answerIds: [Swift.String]? + /// The ID of the Amazon Web Services account that you want to delete a reviewed answers in. + /// This member is required. + public var awsAccountId: Swift.String? + /// The ID for the topic reviewed answer that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. + /// This member is required. + public var topicId: Swift.String? + + public init( + answerIds: [Swift.String]? = nil, + awsAccountId: Swift.String? = nil, + topicId: Swift.String? = nil + ) + { + self.answerIds = answerIds + self.awsAccountId = awsAccountId + self.topicId = topicId + } +} + +public struct BatchDeleteTopicReviewedAnswerOutput { + /// The definition of Answers that are invalid and not deleted. + public var invalidAnswers: [QuickSightClientTypes.InvalidTopicReviewedAnswer]? + /// The Amazon Web Services request ID for this operation. + public var requestId: Swift.String? + /// The HTTP status of the request. + public var status: Swift.Int + /// The definition of Answers that are successfully deleted. + public var succeededAnswers: [QuickSightClientTypes.SucceededTopicReviewedAnswer]? + /// The Amazon Resource Name (ARN) of the topic. + public var topicArn: Swift.String? + /// The ID of the topic reviewed answer that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. + public var topicId: Swift.String? + + public init( + invalidAnswers: [QuickSightClientTypes.InvalidTopicReviewedAnswer]? = nil, + requestId: Swift.String? = nil, + status: Swift.Int = 0, + succeededAnswers: [QuickSightClientTypes.SucceededTopicReviewedAnswer]? = nil, + topicArn: Swift.String? = nil, + topicId: Swift.String? = nil + ) + { + self.invalidAnswers = invalidAnswers + self.requestId = requestId + self.status = status + self.succeededAnswers = succeededAnswers + self.topicArn = topicArn + self.topicId = topicId + } +} + +extension QuickSightClientTypes { + /// The bookmarks configuration of an embedded dashboard. + public struct BookmarksConfigurations { + /// A Boolean value that determines whether a user can bookmark an embedded dashboard. + /// This member is required. + public var enabled: Swift.Bool + + public init( + enabled: Swift.Bool = false + ) + { + self.enabled = enabled + } + } + +} + +extension QuickSightClientTypes { + /// The display options for tile borders for visuals. + public struct BorderStyle { + /// The option to enable display of borders for visuals. + public var show: Swift.Bool? + + public init( + show: Swift.Bool? = nil + ) + { + self.show = show + } + } + +} + +extension QuickSightClientTypes { + /// A calculated column for a dataset. + public struct CalculatedColumn { + /// A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column. + /// This member is required. + public var columnId: Swift.String? + /// Column name. + /// This member is required. + public var columnName: Swift.String? + /// An expression that defines the calculated column. + /// This member is required. + public var expression: Swift.String? + + public init( + columnId: Swift.String? = nil, + columnName: Swift.String? = nil, + expression: Swift.String? = nil + ) + { + self.columnId = columnId + self.columnName = columnName + self.expression = expression + } + } + +} + +extension QuickSightClientTypes.CalculatedColumn: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CalculatedColumn(columnId: \(Swift.String(describing: columnId)), columnName: \(Swift.String(describing: columnName)), expression: \"CONTENT_REDACTED\")"} +} + +/// The resource specified already exists. +public struct ResourceExistsException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + /// The Amazon Web Services request ID for this request. + public internal(set) var requestId: Swift.String? = nil + /// The resource type for this request. + public internal(set) var resourceType: QuickSightClientTypes.ExceptionResourceType? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ResourceExistsException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + requestId: Swift.String? = nil, + resourceType: QuickSightClientTypes.ExceptionResourceType? = nil + ) + { + self.properties.message = message + self.properties.requestId = requestId + self.properties.resourceType = resourceType + } +} + public struct CancelIngestionInput { /// The Amazon Web Services account ID. /// This member is required. @@ -21050,35 +22715,7 @@ public struct ConcurrentUpdatingException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil, - requestId: Swift.String? = nil - ) - { - self.properties.message = message - self.properties.requestId = requestId - } -} - -/// Updating or deleting a resource can cause an inconsistent state. -public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - /// The Amazon Web Services request ID for this request. - public internal(set) var requestId: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "ConflictException" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21092,38 +22729,6 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW } } -extension QuickSightClientTypes { - - public enum ConstantType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case collective - case range - case singular - case sdkUnknown(Swift.String) - - public static var allCases: [ConstantType] { - return [ - .collective, - .range, - .singular - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .collective: return "COLLECTIVE" - case .range: return "RANGE" - case .singular: return "SINGULAR" - case let .sdkUnknown(s): return s - } - } - } -} - /// This resource is currently unavailable. public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -21140,7 +22745,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21228,7 +22833,7 @@ public struct PreconditionNotMetException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21402,7 +23007,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21432,7 +23037,7 @@ public struct UnsupportedUserEditionException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21468,6 +23073,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.DateTimeParameter: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DateTimeParameter(name: \(Swift.String(describing: name)), values: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// A decimal parameter. public struct DecimalParameter { @@ -21490,6 +23100,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.DecimalParameter: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DecimalParameter(name: \(Swift.String(describing: name)), values: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// An integer parameter. public struct IntegerParameter { @@ -21512,6 +23127,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.IntegerParameter: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "IntegerParameter(name: \(Swift.String(describing: name)), values: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// A string parameter. public struct StringParameter { @@ -21534,6 +23154,11 @@ extension QuickSightClientTypes { } +extension QuickSightClientTypes.StringParameter: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "StringParameter(name: \(Swift.String(describing: name)), values: \"CONTENT_REDACTED\")"} +} + extension QuickSightClientTypes { /// A list of Amazon QuickSight parameters and the list's override values. public struct Parameters { @@ -25434,156 +27059,6 @@ extension QuickSightClientTypes { } } -extension QuickSightClientTypes { - - public enum DisplayFormat: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case auto - case currency - case date - case number - case percent - case string - case sdkUnknown(Swift.String) - - public static var allCases: [DisplayFormat] { - return [ - .auto, - .currency, - .date, - .number, - .percent, - .string - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .auto: return "AUTO" - case .currency: return "CURRENCY" - case .date: return "DATE" - case .number: return "NUMBER" - case .percent: return "PERCENT" - case .string: return "STRING" - case let .sdkUnknown(s): return s - } - } - } -} - -extension QuickSightClientTypes { - - public enum TopicNumericSeparatorSymbol: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case comma - case dot - case sdkUnknown(Swift.String) - - public static var allCases: [TopicNumericSeparatorSymbol] { - return [ - .comma, - .dot - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .comma: return "COMMA" - case .dot: return "DOT" - case let .sdkUnknown(s): return s - } - } - } -} - -extension QuickSightClientTypes { - /// A structure that represents a negative format. - public struct NegativeFormat { - /// The prefix for a negative format. - public var `prefix`: Swift.String? - /// The suffix for a negative format. - public var suffix: Swift.String? - - public init( - `prefix`: Swift.String? = nil, - suffix: Swift.String? = nil - ) - { - self.`prefix` = `prefix` - self.suffix = suffix - } - } - -} - -extension QuickSightClientTypes { - /// A structure that represents additional options for display formatting. - public struct DisplayFormatOptions { - /// Determines the blank cell format. - public var blankCellFormat: Swift.String? - /// The currency symbol, such as USD. - public var currencySymbol: Swift.String? - /// Determines the DateTime format. - public var dateFormat: Swift.String? - /// Determines the decimal separator. - public var decimalSeparator: QuickSightClientTypes.TopicNumericSeparatorSymbol? - /// Determines the number of fraction digits. - public var fractionDigits: Swift.Int - /// Determines the grouping separator. - public var groupingSeparator: Swift.String? - /// The negative format. - public var negativeFormat: QuickSightClientTypes.NegativeFormat? - /// The prefix value for a display format. - public var `prefix`: Swift.String? - /// The suffix value for a display format. - public var suffix: Swift.String? - /// The unit scaler. Valid values for this structure are: NONE, AUTO, THOUSANDS, MILLIONS, BILLIONS, and TRILLIONS. - public var unitScaler: QuickSightClientTypes.NumberScale? - /// A Boolean value that indicates whether to use blank cell format. - public var useBlankCellFormat: Swift.Bool - /// A Boolean value that indicates whether to use grouping. - public var useGrouping: Swift.Bool - - public init( - blankCellFormat: Swift.String? = nil, - currencySymbol: Swift.String? = nil, - dateFormat: Swift.String? = nil, - decimalSeparator: QuickSightClientTypes.TopicNumericSeparatorSymbol? = nil, - fractionDigits: Swift.Int = 0, - groupingSeparator: Swift.String? = nil, - negativeFormat: QuickSightClientTypes.NegativeFormat? = nil, - `prefix`: Swift.String? = nil, - suffix: Swift.String? = nil, - unitScaler: QuickSightClientTypes.NumberScale? = nil, - useBlankCellFormat: Swift.Bool = false, - useGrouping: Swift.Bool = false - ) - { - self.blankCellFormat = blankCellFormat - self.currencySymbol = currencySymbol - self.dateFormat = dateFormat - self.decimalSeparator = decimalSeparator - self.fractionDigits = fractionDigits - self.groupingSeparator = groupingSeparator - self.negativeFormat = negativeFormat - self.`prefix` = `prefix` - self.suffix = suffix - self.unitScaler = unitScaler - self.useBlankCellFormat = useBlankCellFormat - self.useGrouping = useGrouping - } - } - -} - extension QuickSightClientTypes { /// A structure that represents a default formatting definition. public struct DefaultFormatting { @@ -25646,54 +27121,7 @@ extension QuickSightClientTypes { extension QuickSightClientTypes.SemanticType: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SemanticType(falseyCellValueSynonyms: \(Swift.String(describing: falseyCellValueSynonyms)), subTypeName: \(Swift.String(describing: subTypeName)), truthyCellValueSynonyms: \(Swift.String(describing: truthyCellValueSynonyms)), typeName: \(Swift.String(describing: typeName)), typeParameters: \(Swift.String(describing: typeParameters)), falseyCellValue: \"CONTENT_REDACTED\", truthyCellValue: \"CONTENT_REDACTED\")"} -} - -extension QuickSightClientTypes { - - public enum TopicTimeGranularity: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case day - case hour - case minute - case month - case quarter - case second - case week - case year - case sdkUnknown(Swift.String) - - public static var allCases: [TopicTimeGranularity] { - return [ - .day, - .hour, - .minute, - .month, - .quarter, - .second, - .week, - .year - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .day: return "DAY" - case .hour: return "HOUR" - case .minute: return "MINUTE" - case .month: return "MONTH" - case .quarter: return "QUARTER" - case .second: return "SECOND" - case .week: return "WEEK" - case .year: return "YEAR" - case let .sdkUnknown(s): return s - } - } - } + "SemanticType(subTypeName: \(Swift.String(describing: subTypeName)), typeName: \(Swift.String(describing: typeName)), typeParameters: \(Swift.String(describing: typeParameters)), falseyCellValue: \"CONTENT_REDACTED\", falseyCellValueSynonyms: \"CONTENT_REDACTED\", truthyCellValue: \"CONTENT_REDACTED\", truthyCellValueSynonyms: \"CONTENT_REDACTED\")"} } extension QuickSightClientTypes { @@ -26018,38 +27446,6 @@ extension QuickSightClientTypes.TopicDateRangeFilter: Swift.CustomDebugStringCon "TopicDateRangeFilter(inclusive: \(Swift.String(describing: inclusive)), constant: \"CONTENT_REDACTED\")"} } -extension QuickSightClientTypes { - - public enum FilterClass: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case conditionalValueFilter - case enforcedValueFilter - case namedValueFilter - case sdkUnknown(Swift.String) - - public static var allCases: [FilterClass] { - return [ - .conditionalValueFilter, - .enforcedValueFilter, - .namedValueFilter - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .conditionalValueFilter: return "CONDITIONAL_VALUE_FILTER" - case .enforcedValueFilter: return "ENFORCED_VALUE_FILTER" - case .namedValueFilter: return "NAMED_VALUE_FILTER" - case let .sdkUnknown(s): return s - } - } - } -} - extension QuickSightClientTypes { public enum NamedFilterType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -30329,7 +31725,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -32671,7 +34067,7 @@ public struct DomainNotWhitelistedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -32904,7 +34300,7 @@ public struct SessionLifetimeInMinutesInvalidException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -32932,7 +34328,7 @@ public struct UnsupportedPricingPlanException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -33060,7 +34456,7 @@ public struct QuickSightUserNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -33341,7 +34737,7 @@ public struct IdentityTypeNotSupportedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -33625,7 +35021,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -35044,6 +36440,24 @@ public struct ListTopicRefreshSchedulesOutput { } } +public struct ListTopicReviewedAnswersInput { + /// The ID of the Amazon Web Services account that containd the reviewed answers that you want listed. + /// This member is required. + public var awsAccountId: Swift.String? + /// The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. + /// This member is required. + public var topicId: Swift.String? + + public init( + awsAccountId: Swift.String? = nil, + topicId: Swift.String? = nil + ) + { + self.awsAccountId = awsAccountId + self.topicId = topicId + } +} + public struct ListTopicsInput { /// The ID of the Amazon Web Services account that contains the topics that you want to list. /// This member is required. @@ -38135,6 +39549,193 @@ public struct UpdateVPCConnectionOutput { } } +extension QuickSightClientTypes { + /// The definition for a TopicVisual. + public struct TopicVisual { + /// The ir for the TopicVisual. + public var ir: QuickSightClientTypes.TopicIR? + /// The role for the TopicVisual. + public var role: QuickSightClientTypes.VisualRole? + /// The supporting visuals for the TopicVisual. + public var supportingVisuals: [QuickSightClientTypes.TopicVisual]? + /// The visual ID for the TopicVisual. + public var visualId: Swift.String? + + public init( + ir: QuickSightClientTypes.TopicIR? = nil, + role: QuickSightClientTypes.VisualRole? = nil, + supportingVisuals: [QuickSightClientTypes.TopicVisual]? = nil, + visualId: Swift.String? = nil + ) + { + self.ir = ir + self.role = role + self.supportingVisuals = supportingVisuals + self.visualId = visualId + } + } + +} + +extension QuickSightClientTypes { + /// The definition for a CreateTopicReviewedAnswer. + public struct CreateTopicReviewedAnswer { + /// The answer ID for the CreateTopicReviewedAnswer. + /// This member is required. + public var answerId: Swift.String? + /// The Dataset arn for the CreateTopicReviewedAnswer. + /// This member is required. + public var datasetArn: Swift.String? + /// The Mir for the CreateTopicReviewedAnswer. + public var mir: QuickSightClientTypes.TopicIR? + /// The PrimaryVisual for the CreateTopicReviewedAnswer. + public var primaryVisual: QuickSightClientTypes.TopicVisual? + /// The Question to be created. + /// This member is required. + public var question: Swift.String? + /// The template for the CreateTopicReviewedAnswer. + public var template: QuickSightClientTypes.TopicTemplate? + + public init( + answerId: Swift.String? = nil, + datasetArn: Swift.String? = nil, + mir: QuickSightClientTypes.TopicIR? = nil, + primaryVisual: QuickSightClientTypes.TopicVisual? = nil, + question: Swift.String? = nil, + template: QuickSightClientTypes.TopicTemplate? = nil + ) + { + self.answerId = answerId + self.datasetArn = datasetArn + self.mir = mir + self.primaryVisual = primaryVisual + self.question = question + self.template = template + } + } + +} + +extension QuickSightClientTypes { + /// The deinition for a TopicReviewedAnswer. + public struct TopicReviewedAnswer { + /// The answer ID of the reviewed answer. + /// This member is required. + public var answerId: Swift.String? + /// The Amazon Resource Name (ARN) of the reviewed answer. + public var arn: Swift.String? + /// The Dataset ARN for the TopicReviewedAnswer. + /// This member is required. + public var datasetArn: Swift.String? + /// The mir for the TopicReviewedAnswer. + public var mir: QuickSightClientTypes.TopicIR? + /// The primary visual for the TopicReviewedAnswer. + public var primaryVisual: QuickSightClientTypes.TopicVisual? + /// The question for the TopicReviewedAnswer. + /// This member is required. + public var question: Swift.String? + /// The template for the TopicReviewedAnswer. + public var template: QuickSightClientTypes.TopicTemplate? + + public init( + answerId: Swift.String? = nil, + arn: Swift.String? = nil, + datasetArn: Swift.String? = nil, + mir: QuickSightClientTypes.TopicIR? = nil, + primaryVisual: QuickSightClientTypes.TopicVisual? = nil, + question: Swift.String? = nil, + template: QuickSightClientTypes.TopicTemplate? = nil + ) + { + self.answerId = answerId + self.arn = arn + self.datasetArn = datasetArn + self.mir = mir + self.primaryVisual = primaryVisual + self.question = question + self.template = template + } + } + +} + +public struct BatchCreateTopicReviewedAnswerInput { + /// The definition of the Answers to be created. + /// This member is required. + public var answers: [QuickSightClientTypes.CreateTopicReviewedAnswer]? + /// The ID of the Amazon Web Services account that you want to create a reviewed answer in. + /// This member is required. + public var awsAccountId: Swift.String? + /// The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. + /// This member is required. + public var topicId: Swift.String? + + public init( + answers: [QuickSightClientTypes.CreateTopicReviewedAnswer]? = nil, + awsAccountId: Swift.String? = nil, + topicId: Swift.String? = nil + ) + { + self.answers = answers + self.awsAccountId = awsAccountId + self.topicId = topicId + } +} + +public struct ListTopicReviewedAnswersOutput { + /// The definition of all Answers in the topic. + public var answers: [QuickSightClientTypes.TopicReviewedAnswer]? + /// The Amazon Web Services request ID for this operation. + public var requestId: Swift.String? + /// The HTTP status of the request. + public var status: Swift.Int + /// The Amazon Resource Name (ARN) of the topic. + public var topicArn: Swift.String? + /// The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. + public var topicId: Swift.String? + + public init( + answers: [QuickSightClientTypes.TopicReviewedAnswer]? = nil, + requestId: Swift.String? = nil, + status: Swift.Int = 0, + topicArn: Swift.String? = nil, + topicId: Swift.String? = nil + ) + { + self.answers = answers + self.requestId = requestId + self.status = status + self.topicArn = topicArn + self.topicId = topicId + } +} + +extension BatchCreateTopicReviewedAnswerInput { + + static func urlPathProvider(_ value: BatchCreateTopicReviewedAnswerInput) -> Swift.String? { + guard let awsAccountId = value.awsAccountId else { + return nil + } + guard let topicId = value.topicId else { + return nil + } + return "/accounts/\(awsAccountId.urlPercentEncoding())/topics/\(topicId.urlPercentEncoding())/batch-create-reviewed-answers" + } +} + +extension BatchDeleteTopicReviewedAnswerInput { + + static func urlPathProvider(_ value: BatchDeleteTopicReviewedAnswerInput) -> Swift.String? { + guard let awsAccountId = value.awsAccountId else { + return nil + } + guard let topicId = value.topicId else { + return nil + } + return "/accounts/\(awsAccountId.urlPercentEncoding())/topics/\(topicId.urlPercentEncoding())/batch-delete-reviewed-answers" + } +} + extension CancelIngestionInput { static func urlPathProvider(_ value: CancelIngestionInput) -> Swift.String? { @@ -40424,6 +42025,19 @@ extension ListTopicRefreshSchedulesInput { } } +extension ListTopicReviewedAnswersInput { + + static func urlPathProvider(_ value: ListTopicReviewedAnswersInput) -> Swift.String? { + guard let awsAccountId = value.awsAccountId else { + return nil + } + guard let topicId = value.topicId else { + return nil + } + return "/accounts/\(awsAccountId.urlPercentEncoding())/topics/\(topicId.urlPercentEncoding())/reviewed-answers" + } +} + extension ListTopicsInput { static func urlPathProvider(_ value: ListTopicsInput) -> Swift.String? { @@ -41184,6 +42798,22 @@ extension UpdateVPCConnectionInput { } } +extension BatchCreateTopicReviewedAnswerInput { + + static func write(value: BatchCreateTopicReviewedAnswerInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Answers"].writeList(value.answers, memberWritingClosure: QuickSightClientTypes.CreateTopicReviewedAnswer.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension BatchDeleteTopicReviewedAnswerInput { + + static func write(value: BatchDeleteTopicReviewedAnswerInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AnswerIds"].writeList(value.answerIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension CreateAccountCustomizationInput { static func write(value: CreateAccountCustomizationInput?, to writer: SmithyJSON.Writer) throws { @@ -41908,9 +43538,43 @@ extension UpdateVPCConnectionInput { } } +extension BatchCreateTopicReviewedAnswerOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateTopicReviewedAnswerOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = BatchCreateTopicReviewedAnswerOutput() + value.invalidAnswers = try reader["InvalidAnswers"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.InvalidTopicReviewedAnswer.read(from:), memberNodeInfo: "member", isFlattened: false) + value.requestId = try reader["RequestId"].readIfPresent() + value.succeededAnswers = try reader["SucceededAnswers"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.SucceededTopicReviewedAnswer.read(from:), memberNodeInfo: "member", isFlattened: false) + value.topicArn = try reader["TopicArn"].readIfPresent() + value.topicId = try reader["TopicId"].readIfPresent() + value.status = httpResponse.statusCode.rawValue + return value + } +} + +extension BatchDeleteTopicReviewedAnswerOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteTopicReviewedAnswerOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = BatchDeleteTopicReviewedAnswerOutput() + value.invalidAnswers = try reader["InvalidAnswers"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.InvalidTopicReviewedAnswer.read(from:), memberNodeInfo: "member", isFlattened: false) + value.requestId = try reader["RequestId"].readIfPresent() + value.succeededAnswers = try reader["SucceededAnswers"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.SucceededTopicReviewedAnswer.read(from:), memberNodeInfo: "member", isFlattened: false) + value.topicArn = try reader["TopicArn"].readIfPresent() + value.topicId = try reader["TopicId"].readIfPresent() + value.status = httpResponse.statusCode.rawValue + return value + } +} + extension CancelIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelIngestionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -41925,7 +43589,7 @@ extension CancelIngestionOutput { extension CreateAccountCustomizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountCustomizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountCustomizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -41942,7 +43606,7 @@ extension CreateAccountCustomizationOutput { extension CreateAccountSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -41956,7 +43620,7 @@ extension CreateAccountSubscriptionOutput { extension CreateAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -41972,7 +43636,7 @@ extension CreateAnalysisOutput { extension CreateDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -41989,7 +43653,7 @@ extension CreateDashboardOutput { extension CreateDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42006,7 +43670,7 @@ extension CreateDataSetOutput { extension CreateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42022,7 +43686,7 @@ extension CreateDataSourceOutput { extension CreateFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42037,7 +43701,7 @@ extension CreateFolderOutput { extension CreateFolderMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFolderMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFolderMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42051,7 +43715,7 @@ extension CreateFolderMembershipOutput { extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42065,7 +43729,7 @@ extension CreateGroupOutput { extension CreateGroupMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42079,7 +43743,7 @@ extension CreateGroupMembershipOutput { extension CreateIAMPolicyAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIAMPolicyAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIAMPolicyAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42097,7 +43761,7 @@ extension CreateIAMPolicyAssignmentOutput { extension CreateIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIngestionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42113,7 +43777,7 @@ extension CreateIngestionOutput { extension CreateNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42131,7 +43795,7 @@ extension CreateNamespaceOutput { extension CreateRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42146,7 +43810,7 @@ extension CreateRefreshScheduleOutput { extension CreateRoleMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoleMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoleMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42159,7 +43823,7 @@ extension CreateRoleMembershipOutput { extension CreateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42176,7 +43840,7 @@ extension CreateTemplateOutput { extension CreateTemplateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42190,7 +43854,7 @@ extension CreateTemplateAliasOutput { extension CreateThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42207,7 +43871,7 @@ extension CreateThemeOutput { extension CreateThemeAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateThemeAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateThemeAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42221,7 +43885,7 @@ extension CreateThemeAliasOutput { extension CreateTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTopicOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42237,7 +43901,7 @@ extension CreateTopicOutput { extension CreateTopicRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTopicRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTopicRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42253,7 +43917,7 @@ extension CreateTopicRefreshScheduleOutput { extension CreateVPCConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVPCConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVPCConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42270,7 +43934,7 @@ extension CreateVPCConnectionOutput { extension DeleteAccountCustomizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountCustomizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountCustomizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42283,7 +43947,7 @@ extension DeleteAccountCustomizationOutput { extension DeleteAccountSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42296,7 +43960,7 @@ extension DeleteAccountSubscriptionOutput { extension DeleteAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42312,7 +43976,7 @@ extension DeleteAnalysisOutput { extension DeleteDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42327,7 +43991,7 @@ extension DeleteDashboardOutput { extension DeleteDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42342,7 +44006,7 @@ extension DeleteDataSetOutput { extension DeleteDataSetRefreshPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSetRefreshPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSetRefreshPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42355,7 +44019,7 @@ extension DeleteDataSetRefreshPropertiesOutput { extension DeleteDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42370,7 +44034,7 @@ extension DeleteDataSourceOutput { extension DeleteFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42385,7 +44049,7 @@ extension DeleteFolderOutput { extension DeleteFolderMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFolderMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFolderMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42398,7 +44062,7 @@ extension DeleteFolderMembershipOutput { extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42411,7 +44075,7 @@ extension DeleteGroupOutput { extension DeleteGroupMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42424,7 +44088,7 @@ extension DeleteGroupMembershipOutput { extension DeleteIAMPolicyAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIAMPolicyAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIAMPolicyAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42438,7 +44102,7 @@ extension DeleteIAMPolicyAssignmentOutput { extension DeleteIdentityPropagationConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentityPropagationConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityPropagationConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42451,7 +44115,7 @@ extension DeleteIdentityPropagationConfigOutput { extension DeleteNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42464,7 +44128,7 @@ extension DeleteNamespaceOutput { extension DeleteRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42479,7 +44143,7 @@ extension DeleteRefreshScheduleOutput { extension DeleteRoleCustomPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoleCustomPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoleCustomPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42492,7 +44156,7 @@ extension DeleteRoleCustomPermissionOutput { extension DeleteRoleMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoleMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoleMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42505,7 +44169,7 @@ extension DeleteRoleMembershipOutput { extension DeleteTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42520,7 +44184,7 @@ extension DeleteTemplateOutput { extension DeleteTemplateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42536,7 +44200,7 @@ extension DeleteTemplateAliasOutput { extension DeleteThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42551,7 +44215,7 @@ extension DeleteThemeOutput { extension DeleteThemeAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteThemeAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteThemeAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42567,7 +44231,7 @@ extension DeleteThemeAliasOutput { extension DeleteTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTopicOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42582,7 +44246,7 @@ extension DeleteTopicOutput { extension DeleteTopicRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTopicRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTopicRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42598,7 +44262,7 @@ extension DeleteTopicRefreshScheduleOutput { extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42611,7 +44275,7 @@ extension DeleteUserOutput { extension DeleteUserByPrincipalIdOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserByPrincipalIdOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserByPrincipalIdOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42624,7 +44288,7 @@ extension DeleteUserByPrincipalIdOutput { extension DeleteVPCConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVPCConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVPCConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42641,7 +44305,7 @@ extension DeleteVPCConnectionOutput { extension DescribeAccountCustomizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountCustomizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountCustomizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42658,7 +44322,7 @@ extension DescribeAccountCustomizationOutput { extension DescribeAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42672,7 +44336,7 @@ extension DescribeAccountSettingsOutput { extension DescribeAccountSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42686,7 +44350,7 @@ extension DescribeAccountSubscriptionOutput { extension DescribeAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42700,7 +44364,7 @@ extension DescribeAnalysisOutput { extension DescribeAnalysisDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnalysisDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnalysisDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42719,7 +44383,7 @@ extension DescribeAnalysisDefinitionOutput { extension DescribeAnalysisPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAnalysisPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAnalysisPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42735,7 +44399,7 @@ extension DescribeAnalysisPermissionsOutput { extension DescribeAssetBundleExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetBundleExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetBundleExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42763,7 +44427,7 @@ extension DescribeAssetBundleExportJobOutput { extension DescribeAssetBundleImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssetBundleImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssetBundleImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42790,7 +44454,7 @@ extension DescribeAssetBundleImportJobOutput { extension DescribeDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42804,7 +44468,7 @@ extension DescribeDashboardOutput { extension DescribeDashboardDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDashboardDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDashboardDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42824,7 +44488,7 @@ extension DescribeDashboardDefinitionOutput { extension DescribeDashboardPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDashboardPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDashboardPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42841,7 +44505,7 @@ extension DescribeDashboardPermissionsOutput { extension DescribeDashboardSnapshotJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDashboardSnapshotJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDashboardSnapshotJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42863,7 +44527,7 @@ extension DescribeDashboardSnapshotJobOutput { extension DescribeDashboardSnapshotJobResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDashboardSnapshotJobResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDashboardSnapshotJobResultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42882,7 +44546,7 @@ extension DescribeDashboardSnapshotJobResultOutput { extension DescribeDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42896,7 +44560,7 @@ extension DescribeDataSetOutput { extension DescribeDataSetPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSetPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSetPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42912,7 +44576,7 @@ extension DescribeDataSetPermissionsOutput { extension DescribeDataSetRefreshPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSetRefreshPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSetRefreshPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42926,7 +44590,7 @@ extension DescribeDataSetRefreshPropertiesOutput { extension DescribeDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42940,7 +44604,7 @@ extension DescribeDataSourceOutput { extension DescribeDataSourcePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSourcePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSourcePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42956,7 +44620,7 @@ extension DescribeDataSourcePermissionsOutput { extension DescribeFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42970,7 +44634,7 @@ extension DescribeFolderOutput { extension DescribeFolderPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFolderPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFolderPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -42987,7 +44651,7 @@ extension DescribeFolderPermissionsOutput { extension DescribeFolderResolvedPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFolderResolvedPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFolderResolvedPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43004,7 +44668,7 @@ extension DescribeFolderResolvedPermissionsOutput { extension DescribeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43018,7 +44682,7 @@ extension DescribeGroupOutput { extension DescribeGroupMembershipOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGroupMembershipOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGroupMembershipOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43032,7 +44696,7 @@ extension DescribeGroupMembershipOutput { extension DescribeIAMPolicyAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIAMPolicyAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIAMPolicyAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43046,7 +44710,7 @@ extension DescribeIAMPolicyAssignmentOutput { extension DescribeIngestionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIngestionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIngestionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43060,7 +44724,7 @@ extension DescribeIngestionOutput { extension DescribeIpRestrictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpRestrictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpRestrictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43078,7 +44742,7 @@ extension DescribeIpRestrictionOutput { extension DescribeKeyRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeKeyRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeKeyRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43093,7 +44757,7 @@ extension DescribeKeyRegistrationOutput { extension DescribeNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43107,7 +44771,7 @@ extension DescribeNamespaceOutput { extension DescribeRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43122,7 +44786,7 @@ extension DescribeRefreshScheduleOutput { extension DescribeRoleCustomPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRoleCustomPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRoleCustomPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43136,7 +44800,7 @@ extension DescribeRoleCustomPermissionOutput { extension DescribeTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43150,7 +44814,7 @@ extension DescribeTemplateOutput { extension DescribeTemplateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTemplateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTemplateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43164,7 +44828,7 @@ extension DescribeTemplateAliasOutput { extension DescribeTemplateDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTemplateDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTemplateDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43183,7 +44847,7 @@ extension DescribeTemplateDefinitionOutput { extension DescribeTemplatePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTemplatePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTemplatePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43199,7 +44863,7 @@ extension DescribeTemplatePermissionsOutput { extension DescribeThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43213,7 +44877,7 @@ extension DescribeThemeOutput { extension DescribeThemeAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThemeAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThemeAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43227,7 +44891,7 @@ extension DescribeThemeAliasOutput { extension DescribeThemePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeThemePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeThemePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43243,7 +44907,7 @@ extension DescribeThemePermissionsOutput { extension DescribeTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTopicOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43259,7 +44923,7 @@ extension DescribeTopicOutput { extension DescribeTopicPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTopicPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTopicPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43275,7 +44939,7 @@ extension DescribeTopicPermissionsOutput { extension DescribeTopicRefreshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTopicRefreshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTopicRefreshOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43289,7 +44953,7 @@ extension DescribeTopicRefreshOutput { extension DescribeTopicRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTopicRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTopicRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43306,7 +44970,7 @@ extension DescribeTopicRefreshScheduleOutput { extension DescribeUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43320,7 +44984,7 @@ extension DescribeUserOutput { extension DescribeVPCConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVPCConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVPCConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43334,7 +44998,7 @@ extension DescribeVPCConnectionOutput { extension GenerateEmbedUrlForAnonymousUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateEmbedUrlForAnonymousUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateEmbedUrlForAnonymousUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43349,7 +45013,7 @@ extension GenerateEmbedUrlForAnonymousUserOutput { extension GenerateEmbedUrlForRegisteredUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateEmbedUrlForRegisteredUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateEmbedUrlForRegisteredUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43363,7 +45027,7 @@ extension GenerateEmbedUrlForRegisteredUserOutput { extension GetDashboardEmbedUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDashboardEmbedUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDashboardEmbedUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43377,7 +45041,7 @@ extension GetDashboardEmbedUrlOutput { extension GetSessionEmbedUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionEmbedUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionEmbedUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43391,7 +45055,7 @@ extension GetSessionEmbedUrlOutput { extension ListAnalysesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnalysesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnalysesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43406,7 +45070,7 @@ extension ListAnalysesOutput { extension ListAssetBundleExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetBundleExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetBundleExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43421,7 +45085,7 @@ extension ListAssetBundleExportJobsOutput { extension ListAssetBundleImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssetBundleImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssetBundleImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43436,7 +45100,7 @@ extension ListAssetBundleImportJobsOutput { extension ListDashboardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDashboardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDashboardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43451,7 +45115,7 @@ extension ListDashboardsOutput { extension ListDashboardVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDashboardVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDashboardVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43466,7 +45130,7 @@ extension ListDashboardVersionsOutput { extension ListDataSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43481,7 +45145,7 @@ extension ListDataSetsOutput { extension ListDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43496,7 +45160,7 @@ extension ListDataSourcesOutput { extension ListFolderMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFolderMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFolderMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43511,7 +45175,7 @@ extension ListFolderMembersOutput { extension ListFoldersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFoldersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFoldersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43526,7 +45190,7 @@ extension ListFoldersOutput { extension ListGroupMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43541,7 +45205,7 @@ extension ListGroupMembershipsOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43556,7 +45220,7 @@ extension ListGroupsOutput { extension ListIAMPolicyAssignmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIAMPolicyAssignmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIAMPolicyAssignmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43571,7 +45235,7 @@ extension ListIAMPolicyAssignmentsOutput { extension ListIAMPolicyAssignmentsForUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIAMPolicyAssignmentsForUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIAMPolicyAssignmentsForUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43586,7 +45250,7 @@ extension ListIAMPolicyAssignmentsForUserOutput { extension ListIdentityPropagationConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityPropagationConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityPropagationConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43601,7 +45265,7 @@ extension ListIdentityPropagationConfigsOutput { extension ListIngestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIngestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIngestionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43616,7 +45280,7 @@ extension ListIngestionsOutput { extension ListNamespacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNamespacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNamespacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43631,7 +45295,7 @@ extension ListNamespacesOutput { extension ListRefreshSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRefreshSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRefreshSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43645,7 +45309,7 @@ extension ListRefreshSchedulesOutput { extension ListRoleMembershipsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoleMembershipsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoleMembershipsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43660,7 +45324,7 @@ extension ListRoleMembershipsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43674,7 +45338,7 @@ extension ListTagsForResourceOutput { extension ListTemplateAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43689,7 +45353,7 @@ extension ListTemplateAliasesOutput { extension ListTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43704,7 +45368,7 @@ extension ListTemplatesOutput { extension ListTemplateVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43719,7 +45383,7 @@ extension ListTemplateVersionsOutput { extension ListThemeAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThemeAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThemeAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43734,7 +45398,7 @@ extension ListThemeAliasesOutput { extension ListThemesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThemesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThemesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43749,7 +45413,7 @@ extension ListThemesOutput { extension ListThemeVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListThemeVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThemeVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43764,7 +45428,7 @@ extension ListThemeVersionsOutput { extension ListTopicRefreshSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTopicRefreshSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicRefreshSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43778,9 +45442,25 @@ extension ListTopicRefreshSchedulesOutput { } } +extension ListTopicReviewedAnswersOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicReviewedAnswersOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListTopicReviewedAnswersOutput() + value.answers = try reader["Answers"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.TopicReviewedAnswer.read(from:), memberNodeInfo: "member", isFlattened: false) + value.requestId = try reader["RequestId"].readIfPresent() + value.topicArn = try reader["TopicArn"].readIfPresent() + value.topicId = try reader["TopicId"].readIfPresent() + value.status = httpResponse.statusCode.rawValue + return value + } +} + extension ListTopicsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTopicsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43795,7 +45475,7 @@ extension ListTopicsOutput { extension ListUserGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43810,7 +45490,7 @@ extension ListUserGroupsOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43825,7 +45505,7 @@ extension ListUsersOutput { extension ListVPCConnectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVPCConnectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVPCConnectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43840,7 +45520,7 @@ extension ListVPCConnectionsOutput { extension PutDataSetRefreshPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDataSetRefreshPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDataSetRefreshPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43853,7 +45533,7 @@ extension PutDataSetRefreshPropertiesOutput { extension RegisterUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43868,7 +45548,7 @@ extension RegisterUserOutput { extension RestoreAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43883,7 +45563,7 @@ extension RestoreAnalysisOutput { extension SearchAnalysesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchAnalysesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchAnalysesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43898,7 +45578,7 @@ extension SearchAnalysesOutput { extension SearchDashboardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchDashboardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchDashboardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43913,7 +45593,7 @@ extension SearchDashboardsOutput { extension SearchDataSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchDataSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchDataSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43928,7 +45608,7 @@ extension SearchDataSetsOutput { extension SearchDataSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchDataSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchDataSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43943,7 +45623,7 @@ extension SearchDataSourcesOutput { extension SearchFoldersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchFoldersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchFoldersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43958,7 +45638,7 @@ extension SearchFoldersOutput { extension SearchGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43973,7 +45653,7 @@ extension SearchGroupsOutput { extension StartAssetBundleExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAssetBundleExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAssetBundleExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -43988,7 +45668,7 @@ extension StartAssetBundleExportJobOutput { extension StartAssetBundleImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAssetBundleImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAssetBundleImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44003,7 +45683,7 @@ extension StartAssetBundleImportJobOutput { extension StartDashboardSnapshotJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDashboardSnapshotJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDashboardSnapshotJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44018,7 +45698,7 @@ extension StartDashboardSnapshotJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44031,7 +45711,7 @@ extension TagResourceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44044,7 +45724,7 @@ extension UntagResourceOutput { extension UpdateAccountCustomizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountCustomizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountCustomizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44061,7 +45741,7 @@ extension UpdateAccountCustomizationOutput { extension UpdateAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44074,7 +45754,7 @@ extension UpdateAccountSettingsOutput { extension UpdateAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44090,7 +45770,7 @@ extension UpdateAnalysisOutput { extension UpdateAnalysisPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnalysisPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnalysisPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44106,7 +45786,7 @@ extension UpdateAnalysisPermissionsOutput { extension UpdateDashboardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDashboardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDashboardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44123,7 +45803,7 @@ extension UpdateDashboardOutput { extension UpdateDashboardLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDashboardLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDashboardLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44138,7 +45818,7 @@ extension UpdateDashboardLinksOutput { extension UpdateDashboardPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDashboardPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDashboardPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44155,7 +45835,7 @@ extension UpdateDashboardPermissionsOutput { extension UpdateDashboardPublishedVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDashboardPublishedVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDashboardPublishedVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44170,7 +45850,7 @@ extension UpdateDashboardPublishedVersionOutput { extension UpdateDataSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44187,7 +45867,7 @@ extension UpdateDataSetOutput { extension UpdateDataSetPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSetPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSetPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44202,7 +45882,7 @@ extension UpdateDataSetPermissionsOutput { extension UpdateDataSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44218,7 +45898,7 @@ extension UpdateDataSourceOutput { extension UpdateDataSourcePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataSourcePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataSourcePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44233,7 +45913,7 @@ extension UpdateDataSourcePermissionsOutput { extension UpdateFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44248,7 +45928,7 @@ extension UpdateFolderOutput { extension UpdateFolderPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFolderPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFolderPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44264,7 +45944,7 @@ extension UpdateFolderPermissionsOutput { extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44278,7 +45958,7 @@ extension UpdateGroupOutput { extension UpdateIAMPolicyAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIAMPolicyAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIAMPolicyAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44296,7 +45976,7 @@ extension UpdateIAMPolicyAssignmentOutput { extension UpdateIdentityPropagationConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentityPropagationConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityPropagationConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44309,7 +45989,7 @@ extension UpdateIdentityPropagationConfigOutput { extension UpdateIpRestrictionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIpRestrictionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIpRestrictionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44323,7 +46003,7 @@ extension UpdateIpRestrictionOutput { extension UpdateKeyRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKeyRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKeyRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44337,7 +46017,7 @@ extension UpdateKeyRegistrationOutput { extension UpdatePublicSharingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePublicSharingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePublicSharingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44350,7 +46030,7 @@ extension UpdatePublicSharingSettingsOutput { extension UpdateRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44365,7 +46045,7 @@ extension UpdateRefreshScheduleOutput { extension UpdateRoleCustomPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoleCustomPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoleCustomPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44378,7 +46058,7 @@ extension UpdateRoleCustomPermissionOutput { extension UpdateSPICECapacityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSPICECapacityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSPICECapacityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44391,7 +46071,7 @@ extension UpdateSPICECapacityConfigurationOutput { extension UpdateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44408,7 +46088,7 @@ extension UpdateTemplateOutput { extension UpdateTemplateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44422,7 +46102,7 @@ extension UpdateTemplateAliasOutput { extension UpdateTemplatePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplatePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplatePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44438,7 +46118,7 @@ extension UpdateTemplatePermissionsOutput { extension UpdateThemeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThemeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThemeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44455,7 +46135,7 @@ extension UpdateThemeOutput { extension UpdateThemeAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThemeAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThemeAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44469,7 +46149,7 @@ extension UpdateThemeAliasOutput { extension UpdateThemePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateThemePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThemePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44485,7 +46165,7 @@ extension UpdateThemePermissionsOutput { extension UpdateTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTopicOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44501,7 +46181,7 @@ extension UpdateTopicOutput { extension UpdateTopicPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTopicPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTopicPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44517,7 +46197,7 @@ extension UpdateTopicPermissionsOutput { extension UpdateTopicRefreshScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTopicRefreshScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTopicRefreshScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44533,7 +46213,7 @@ extension UpdateTopicRefreshScheduleOutput { extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44547,7 +46227,7 @@ extension UpdateUserOutput { extension UpdateVPCConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVPCConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVPCConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -44562,9 +46242,46 @@ extension UpdateVPCConnectionOutput { } } +enum BatchCreateTopicReviewedAnswerOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidParameterValueException": return try InvalidParameterValueException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum BatchDeleteTopicReviewedAnswerOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidParameterValueException": return try InvalidParameterValueException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum CancelIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44583,7 +46300,7 @@ enum CancelIngestionOutputError { enum CreateAccountCustomizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44604,7 +46321,7 @@ enum CreateAccountCustomizationOutputError { enum CreateAccountSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44626,7 +46343,7 @@ enum CreateAccountSubscriptionOutputError { enum CreateAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44647,7 +46364,7 @@ enum CreateAnalysisOutputError { enum CreateDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44668,7 +46385,7 @@ enum CreateDashboardOutputError { enum CreateDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44690,7 +46407,7 @@ enum CreateDataSetOutputError { enum CreateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44711,7 +46428,7 @@ enum CreateDataSourceOutputError { enum CreateFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44733,7 +46450,7 @@ enum CreateFolderOutputError { enum CreateFolderMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44754,7 +46471,7 @@ enum CreateFolderMembershipOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44776,7 +46493,7 @@ enum CreateGroupOutputError { enum CreateGroupMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44796,7 +46513,7 @@ enum CreateGroupMembershipOutputError { enum CreateIAMPolicyAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44816,7 +46533,7 @@ enum CreateIAMPolicyAssignmentOutputError { enum CreateIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44836,7 +46553,7 @@ enum CreateIngestionOutputError { enum CreateNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44859,7 +46576,7 @@ enum CreateNamespaceOutputError { enum CreateRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44880,7 +46597,7 @@ enum CreateRefreshScheduleOutputError { enum CreateRoleMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44900,7 +46617,7 @@ enum CreateRoleMembershipOutputError { enum CreateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44922,7 +46639,7 @@ enum CreateTemplateOutputError { enum CreateTemplateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44942,7 +46659,7 @@ enum CreateTemplateAliasOutputError { enum CreateThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44963,7 +46680,7 @@ enum CreateThemeOutputError { enum CreateThemeAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -44984,7 +46701,7 @@ enum CreateThemeAliasOutputError { enum CreateTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45005,7 +46722,7 @@ enum CreateTopicOutputError { enum CreateTopicRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45026,7 +46743,7 @@ enum CreateTopicRefreshScheduleOutputError { enum CreateVPCConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45047,7 +46764,7 @@ enum CreateVPCConnectionOutputError { enum DeleteAccountCustomizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45069,7 +46786,7 @@ enum DeleteAccountCustomizationOutputError { enum DeleteAccountSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45089,7 +46806,7 @@ enum DeleteAccountSubscriptionOutputError { enum DeleteAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45108,7 +46825,7 @@ enum DeleteAnalysisOutputError { enum DeleteDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45127,7 +46844,7 @@ enum DeleteDashboardOutputError { enum DeleteDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45145,7 +46862,7 @@ enum DeleteDataSetOutputError { enum DeleteDataSetRefreshPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45165,7 +46882,7 @@ enum DeleteDataSetRefreshPropertiesOutputError { enum DeleteDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45183,7 +46900,7 @@ enum DeleteDataSourceOutputError { enum DeleteFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45204,7 +46921,7 @@ enum DeleteFolderOutputError { enum DeleteFolderMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45223,7 +46940,7 @@ enum DeleteFolderMembershipOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45243,7 +46960,7 @@ enum DeleteGroupOutputError { enum DeleteGroupMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45263,7 +46980,7 @@ enum DeleteGroupMembershipOutputError { enum DeleteIAMPolicyAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45283,7 +47000,7 @@ enum DeleteIAMPolicyAssignmentOutputError { enum DeleteIdentityPropagationConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45301,7 +47018,7 @@ enum DeleteIdentityPropagationConfigOutputError { enum DeleteNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45321,7 +47038,7 @@ enum DeleteNamespaceOutputError { enum DeleteRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45340,7 +47057,7 @@ enum DeleteRefreshScheduleOutputError { enum DeleteRoleCustomPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45360,7 +47077,7 @@ enum DeleteRoleCustomPermissionOutputError { enum DeleteRoleMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45380,7 +47097,7 @@ enum DeleteRoleMembershipOutputError { enum DeleteTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45400,7 +47117,7 @@ enum DeleteTemplateOutputError { enum DeleteTemplateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45418,7 +47135,7 @@ enum DeleteTemplateAliasOutputError { enum DeleteThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45438,7 +47155,7 @@ enum DeleteThemeOutputError { enum DeleteThemeAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45457,7 +47174,7 @@ enum DeleteThemeAliasOutputError { enum DeleteTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45476,7 +47193,7 @@ enum DeleteTopicOutputError { enum DeleteTopicRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45497,7 +47214,7 @@ enum DeleteTopicRefreshScheduleOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45517,7 +47234,7 @@ enum DeleteUserOutputError { enum DeleteUserByPrincipalIdOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45537,7 +47254,7 @@ enum DeleteUserByPrincipalIdOutputError { enum DeleteVPCConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45557,7 +47274,7 @@ enum DeleteVPCConnectionOutputError { enum DescribeAccountCustomizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45576,7 +47293,7 @@ enum DescribeAccountCustomizationOutputError { enum DescribeAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45595,7 +47312,7 @@ enum DescribeAccountSettingsOutputError { enum DescribeAccountSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45614,7 +47331,7 @@ enum DescribeAccountSubscriptionOutputError { enum DescribeAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45633,7 +47350,7 @@ enum DescribeAnalysisOutputError { enum DescribeAnalysisDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45654,7 +47371,7 @@ enum DescribeAnalysisDefinitionOutputError { enum DescribeAnalysisPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45672,7 +47389,7 @@ enum DescribeAnalysisPermissionsOutputError { enum DescribeAssetBundleExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45688,7 +47405,7 @@ enum DescribeAssetBundleExportJobOutputError { enum DescribeAssetBundleImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45704,7 +47421,7 @@ enum DescribeAssetBundleImportJobOutputError { enum DescribeDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45723,7 +47440,7 @@ enum DescribeDashboardOutputError { enum DescribeDashboardDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45744,7 +47461,7 @@ enum DescribeDashboardDefinitionOutputError { enum DescribeDashboardPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45762,7 +47479,7 @@ enum DescribeDashboardPermissionsOutputError { enum DescribeDashboardSnapshotJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45780,7 +47497,7 @@ enum DescribeDashboardSnapshotJobOutputError { enum DescribeDashboardSnapshotJobResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45800,7 +47517,7 @@ enum DescribeDashboardSnapshotJobResultOutputError { enum DescribeDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45818,7 +47535,7 @@ enum DescribeDataSetOutputError { enum DescribeDataSetPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45836,7 +47553,7 @@ enum DescribeDataSetPermissionsOutputError { enum DescribeDataSetRefreshPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45856,7 +47573,7 @@ enum DescribeDataSetRefreshPropertiesOutputError { enum DescribeDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45874,7 +47591,7 @@ enum DescribeDataSourceOutputError { enum DescribeDataSourcePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45892,7 +47609,7 @@ enum DescribeDataSourcePermissionsOutputError { enum DescribeFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45911,7 +47628,7 @@ enum DescribeFolderOutputError { enum DescribeFolderPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45931,7 +47648,7 @@ enum DescribeFolderPermissionsOutputError { enum DescribeFolderResolvedPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45951,7 +47668,7 @@ enum DescribeFolderResolvedPermissionsOutputError { enum DescribeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45971,7 +47688,7 @@ enum DescribeGroupOutputError { enum DescribeGroupMembershipOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -45991,7 +47708,7 @@ enum DescribeGroupMembershipOutputError { enum DescribeIAMPolicyAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46010,7 +47727,7 @@ enum DescribeIAMPolicyAssignmentOutputError { enum DescribeIngestionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46029,7 +47746,7 @@ enum DescribeIngestionOutputError { enum DescribeIpRestrictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46047,7 +47764,7 @@ enum DescribeIpRestrictionOutputError { enum DescribeKeyRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46064,7 +47781,7 @@ enum DescribeKeyRegistrationOutputError { enum DescribeNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46083,7 +47800,7 @@ enum DescribeNamespaceOutputError { enum DescribeRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46102,7 +47819,7 @@ enum DescribeRefreshScheduleOutputError { enum DescribeRoleCustomPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46122,7 +47839,7 @@ enum DescribeRoleCustomPermissionOutputError { enum DescribeTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46143,7 +47860,7 @@ enum DescribeTemplateOutputError { enum DescribeTemplateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46160,7 +47877,7 @@ enum DescribeTemplateAliasOutputError { enum DescribeTemplateDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46181,7 +47898,7 @@ enum DescribeTemplateDefinitionOutputError { enum DescribeTemplatePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46200,7 +47917,7 @@ enum DescribeTemplatePermissionsOutputError { enum DescribeThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46220,7 +47937,7 @@ enum DescribeThemeOutputError { enum DescribeThemeAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46239,7 +47956,7 @@ enum DescribeThemeAliasOutputError { enum DescribeThemePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46258,7 +47975,7 @@ enum DescribeThemePermissionsOutputError { enum DescribeTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46276,7 +47993,7 @@ enum DescribeTopicOutputError { enum DescribeTopicPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46294,7 +48011,7 @@ enum DescribeTopicPermissionsOutputError { enum DescribeTopicRefreshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46312,7 +48029,7 @@ enum DescribeTopicRefreshOutputError { enum DescribeTopicRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46333,7 +48050,7 @@ enum DescribeTopicRefreshScheduleOutputError { enum DescribeUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46353,7 +48070,7 @@ enum DescribeUserOutputError { enum DescribeVPCConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46372,7 +48089,7 @@ enum DescribeVPCConnectionOutputError { enum GenerateEmbedUrlForAnonymousUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46393,7 +48110,7 @@ enum GenerateEmbedUrlForAnonymousUserOutputError { enum GenerateEmbedUrlForRegisteredUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46415,7 +48132,7 @@ enum GenerateEmbedUrlForRegisteredUserOutputError { enum GetDashboardEmbedUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46440,7 +48157,7 @@ enum GetDashboardEmbedUrlOutputError { enum GetSessionEmbedUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46462,7 +48179,7 @@ enum GetSessionEmbedUrlOutputError { enum ListAnalysesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46479,7 +48196,7 @@ enum ListAnalysesOutputError { enum ListAssetBundleExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46497,7 +48214,7 @@ enum ListAssetBundleExportJobsOutputError { enum ListAssetBundleImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46515,7 +48232,7 @@ enum ListAssetBundleImportJobsOutputError { enum ListDashboardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46532,7 +48249,7 @@ enum ListDashboardsOutputError { enum ListDashboardVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46551,7 +48268,7 @@ enum ListDashboardVersionsOutputError { enum ListDataSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46569,7 +48286,7 @@ enum ListDataSetsOutputError { enum ListDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46587,7 +48304,7 @@ enum ListDataSourcesOutputError { enum ListFolderMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46607,7 +48324,7 @@ enum ListFolderMembersOutputError { enum ListFoldersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46627,7 +48344,7 @@ enum ListFoldersOutputError { enum ListGroupMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46648,7 +48365,7 @@ enum ListGroupMembershipsOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46669,7 +48386,7 @@ enum ListGroupsOutputError { enum ListIAMPolicyAssignmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46688,7 +48405,7 @@ enum ListIAMPolicyAssignmentsOutputError { enum ListIAMPolicyAssignmentsForUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46708,7 +48425,7 @@ enum ListIAMPolicyAssignmentsForUserOutputError { enum ListIdentityPropagationConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46726,7 +48443,7 @@ enum ListIdentityPropagationConfigsOutputError { enum ListIngestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46746,7 +48463,7 @@ enum ListIngestionsOutputError { enum ListNamespacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46767,7 +48484,7 @@ enum ListNamespacesOutputError { enum ListRefreshSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46786,7 +48503,7 @@ enum ListRefreshSchedulesOutputError { enum ListRoleMembershipsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46808,7 +48525,7 @@ enum ListRoleMembershipsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46826,7 +48543,7 @@ enum ListTagsForResourceOutputError { enum ListTemplateAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46844,7 +48561,7 @@ enum ListTemplateAliasesOutputError { enum ListTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46863,7 +48580,7 @@ enum ListTemplatesOutputError { enum ListTemplateVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46882,7 +48599,7 @@ enum ListTemplateVersionsOutputError { enum ListThemeAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46902,7 +48619,7 @@ enum ListThemeAliasesOutputError { enum ListThemesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46922,7 +48639,7 @@ enum ListThemesOutputError { enum ListThemeVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46942,7 +48659,7 @@ enum ListThemeVersionsOutputError { enum ListTopicRefreshSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46961,9 +48678,27 @@ enum ListTopicRefreshSchedulesOutputError { } } +enum ListTopicReviewedAnswersOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidParameterValueException": return try InvalidParameterValueException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListTopicsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -46981,7 +48716,7 @@ enum ListTopicsOutputError { enum ListUserGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47001,7 +48736,7 @@ enum ListUserGroupsOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47022,7 +48757,7 @@ enum ListUsersOutputError { enum ListVPCConnectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47041,7 +48776,7 @@ enum ListVPCConnectionsOutputError { enum PutDataSetRefreshPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47062,7 +48797,7 @@ enum PutDataSetRefreshPropertiesOutputError { enum RegisterUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47084,7 +48819,7 @@ enum RegisterUserOutputError { enum RestoreAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47103,7 +48838,7 @@ enum RestoreAnalysisOutputError { enum SearchAnalysesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47122,7 +48857,7 @@ enum SearchAnalysesOutputError { enum SearchDashboardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47141,7 +48876,7 @@ enum SearchDashboardsOutputError { enum SearchDataSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47160,7 +48895,7 @@ enum SearchDataSetsOutputError { enum SearchDataSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47179,7 +48914,7 @@ enum SearchDataSourcesOutputError { enum SearchFoldersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47200,7 +48935,7 @@ enum SearchFoldersOutputError { enum SearchGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47221,7 +48956,7 @@ enum SearchGroupsOutputError { enum StartAssetBundleExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47241,7 +48976,7 @@ enum StartAssetBundleExportJobOutputError { enum StartAssetBundleImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47261,7 +48996,7 @@ enum StartAssetBundleImportJobOutputError { enum StartDashboardSnapshotJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47283,7 +49018,7 @@ enum StartDashboardSnapshotJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47302,7 +49037,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47320,7 +49055,7 @@ enum UntagResourceOutputError { enum UpdateAccountCustomizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47340,7 +49075,7 @@ enum UpdateAccountCustomizationOutputError { enum UpdateAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47359,7 +49094,7 @@ enum UpdateAccountSettingsOutputError { enum UpdateAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47379,7 +49114,7 @@ enum UpdateAnalysisOutputError { enum UpdateAnalysisPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47399,7 +49134,7 @@ enum UpdateAnalysisPermissionsOutputError { enum UpdateDashboardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47419,7 +49154,7 @@ enum UpdateDashboardOutputError { enum UpdateDashboardLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47439,7 +49174,7 @@ enum UpdateDashboardLinksOutputError { enum UpdateDashboardPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47459,7 +49194,7 @@ enum UpdateDashboardPermissionsOutputError { enum UpdateDashboardPublishedVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47478,7 +49213,7 @@ enum UpdateDashboardPublishedVersionOutputError { enum UpdateDataSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47499,7 +49234,7 @@ enum UpdateDataSetOutputError { enum UpdateDataSetPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47518,7 +49253,7 @@ enum UpdateDataSetPermissionsOutputError { enum UpdateDataSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47537,7 +49272,7 @@ enum UpdateDataSourceOutputError { enum UpdateDataSourcePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47556,7 +49291,7 @@ enum UpdateDataSourcePermissionsOutputError { enum UpdateFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47577,7 +49312,7 @@ enum UpdateFolderOutputError { enum UpdateFolderPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47597,7 +49332,7 @@ enum UpdateFolderPermissionsOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47617,7 +49352,7 @@ enum UpdateGroupOutputError { enum UpdateIAMPolicyAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47637,7 +49372,7 @@ enum UpdateIAMPolicyAssignmentOutputError { enum UpdateIdentityPropagationConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47655,7 +49390,7 @@ enum UpdateIdentityPropagationConfigOutputError { enum UpdateIpRestrictionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47674,7 +49409,7 @@ enum UpdateIpRestrictionOutputError { enum UpdateKeyRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47691,7 +49426,7 @@ enum UpdateKeyRegistrationOutputError { enum UpdatePublicSharingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47710,7 +49445,7 @@ enum UpdatePublicSharingSettingsOutputError { enum UpdateRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47730,7 +49465,7 @@ enum UpdateRefreshScheduleOutputError { enum UpdateRoleCustomPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47750,7 +49485,7 @@ enum UpdateRoleCustomPermissionOutputError { enum UpdateSPICECapacityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47768,7 +49503,7 @@ enum UpdateSPICECapacityConfigurationOutputError { enum UpdateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47789,7 +49524,7 @@ enum UpdateTemplateOutputError { enum UpdateTemplateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47807,7 +49542,7 @@ enum UpdateTemplateAliasOutputError { enum UpdateTemplatePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47827,7 +49562,7 @@ enum UpdateTemplatePermissionsOutputError { enum UpdateThemeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47848,7 +49583,7 @@ enum UpdateThemeOutputError { enum UpdateThemeAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47868,7 +49603,7 @@ enum UpdateThemeAliasOutputError { enum UpdateThemePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47888,7 +49623,7 @@ enum UpdateThemePermissionsOutputError { enum UpdateTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47909,7 +49644,7 @@ enum UpdateTopicOutputError { enum UpdateTopicPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47930,7 +49665,7 @@ enum UpdateTopicPermissionsOutputError { enum UpdateTopicRefreshScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47951,7 +49686,7 @@ enum UpdateTopicRefreshScheduleOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -47971,7 +49706,7 @@ enum UpdateUserOutputError { enum UpdateVPCConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -48019,21 +49754,6 @@ extension AccessDeniedException { } } -extension ResourceExistsException { - - static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceExistsException { - let reader = baseError.errorBodyReader - var value = ResourceExistsException() - value.properties.message = try reader["Message"].readIfPresent() - value.properties.requestId = try reader["RequestId"].readIfPresent() - value.properties.resourceType = try reader["ResourceType"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value - } -} - extension ThrottlingException { static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { @@ -48090,6 +49810,21 @@ extension ConflictException { } } +extension ResourceExistsException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceExistsException { + let reader = baseError.errorBodyReader + var value = ResourceExistsException() + value.properties.message = try reader["Message"].readIfPresent() + value.properties.requestId = try reader["RequestId"].readIfPresent() + value.properties.resourceType = try reader["ResourceType"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension ResourceUnavailableException { static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceUnavailableException { @@ -48260,6 +49995,27 @@ extension InvalidRequestException { } } +extension QuickSightClientTypes.SucceededTopicReviewedAnswer { + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.SucceededTopicReviewedAnswer { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.SucceededTopicReviewedAnswer() + value.answerId = try reader["AnswerId"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.InvalidTopicReviewedAnswer { + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.InvalidTopicReviewedAnswer { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.InvalidTopicReviewedAnswer() + value.answerId = try reader["AnswerId"].readIfPresent() + value.error = try reader["Error"].readIfPresent() + return value + } +} + extension QuickSightClientTypes.AccountCustomization { static func write(value: QuickSightClientTypes.AccountCustomization?, to writer: SmithyJSON.Writer) throws { @@ -49118,6 +50874,7 @@ extension QuickSightClientTypes.Filter { static func write(value: QuickSightClientTypes.Filter?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["CategoryFilter"].write(value.categoryFilter, with: QuickSightClientTypes.CategoryFilter.write(value:to:)) + try writer["NestedFilter"].write(value.nestedFilter, with: QuickSightClientTypes.NestedFilter.write(value:to:)) try writer["NumericEqualityFilter"].write(value.numericEqualityFilter, with: QuickSightClientTypes.NumericEqualityFilter.write(value:to:)) try writer["NumericRangeFilter"].write(value.numericRangeFilter, with: QuickSightClientTypes.NumericRangeFilter.write(value:to:)) try writer["RelativeDatesFilter"].write(value.relativeDatesFilter, with: QuickSightClientTypes.RelativeDatesFilter.write(value:to:)) @@ -49136,32 +50893,61 @@ extension QuickSightClientTypes.Filter { value.timeRangeFilter = try reader["TimeRangeFilter"].readIfPresent(with: QuickSightClientTypes.TimeRangeFilter.read(from:)) value.relativeDatesFilter = try reader["RelativeDatesFilter"].readIfPresent(with: QuickSightClientTypes.RelativeDatesFilter.read(from:)) value.topBottomFilter = try reader["TopBottomFilter"].readIfPresent(with: QuickSightClientTypes.TopBottomFilter.read(from:)) + value.nestedFilter = try reader["NestedFilter"].readIfPresent(with: QuickSightClientTypes.NestedFilter.read(from:)) return value } } -extension QuickSightClientTypes.TopBottomFilter { +extension QuickSightClientTypes.NestedFilter { - static func write(value: QuickSightClientTypes.TopBottomFilter?, to writer: SmithyJSON.Writer) throws { + static func write(value: QuickSightClientTypes.NestedFilter?, to writer: SmithyJSON.Writer) throws { guard let value else { return } - try writer["AggregationSortConfigurations"].writeList(value.aggregationSortConfigurations, memberWritingClosure: QuickSightClientTypes.AggregationSortConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Column"].write(value.column, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) - try writer["DefaultFilterControlConfiguration"].write(value.defaultFilterControlConfiguration, with: QuickSightClientTypes.DefaultFilterControlConfiguration.write(value:to:)) try writer["FilterId"].write(value.filterId) - try writer["Limit"].write(value.limit) - try writer["ParameterName"].write(value.parameterName) - try writer["TimeGranularity"].write(value.timeGranularity) + try writer["IncludeInnerSet"].write(value.includeInnerSet) + try writer["InnerFilter"].write(value.innerFilter, with: QuickSightClientTypes.InnerFilter.write(value:to:)) } - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopBottomFilter { + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.NestedFilter { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.TopBottomFilter() + var value = QuickSightClientTypes.NestedFilter() value.filterId = try reader["FilterId"].readIfPresent() value.column = try reader["Column"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) - value.limit = try reader["Limit"].readIfPresent() - value.aggregationSortConfigurations = try reader["AggregationSortConfigurations"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.AggregationSortConfiguration.read(from:), memberNodeInfo: "member", isFlattened: false) - value.timeGranularity = try reader["TimeGranularity"].readIfPresent() - value.parameterName = try reader["ParameterName"].readIfPresent() + value.includeInnerSet = try reader["IncludeInnerSet"].readIfPresent() ?? false + value.innerFilter = try reader["InnerFilter"].readIfPresent(with: QuickSightClientTypes.InnerFilter.read(from:)) + return value + } +} + +extension QuickSightClientTypes.InnerFilter { + + static func write(value: QuickSightClientTypes.InnerFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CategoryInnerFilter"].write(value.categoryInnerFilter, with: QuickSightClientTypes.CategoryInnerFilter.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.InnerFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.InnerFilter() + value.categoryInnerFilter = try reader["CategoryInnerFilter"].readIfPresent(with: QuickSightClientTypes.CategoryInnerFilter.read(from:)) + return value + } +} + +extension QuickSightClientTypes.CategoryInnerFilter { + + static func write(value: QuickSightClientTypes.CategoryInnerFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Column"].write(value.column, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) + try writer["Configuration"].write(value.configuration, with: QuickSightClientTypes.CategoryFilterConfiguration.write(value:to:)) + try writer["DefaultFilterControlConfiguration"].write(value.defaultFilterControlConfiguration, with: QuickSightClientTypes.DefaultFilterControlConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CategoryInnerFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.CategoryInnerFilter() + value.column = try reader["Column"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) + value.configuration = try reader["Configuration"].readIfPresent(with: QuickSightClientTypes.CategoryFilterConfiguration.read(from:)) value.defaultFilterControlConfiguration = try reader["DefaultFilterControlConfiguration"].readIfPresent(with: QuickSightClientTypes.DefaultFilterControlConfiguration.read(from:)) return value } @@ -49603,7 +51389,9 @@ extension QuickSightClientTypes.DateTimePickerControlDisplayOptions { static func write(value: QuickSightClientTypes.DateTimePickerControlDisplayOptions?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["DateIconVisibility"].write(value.dateIconVisibility) try writer["DateTimeFormat"].write(value.dateTimeFormat) + try writer["HelperTextVisibility"].write(value.helperTextVisibility) try writer["InfoIconLabelOptions"].write(value.infoIconLabelOptions, with: QuickSightClientTypes.SheetControlInfoIconLabelOptions.write(value:to:)) try writer["TitleOptions"].write(value.titleOptions, with: QuickSightClientTypes.LabelOptions.write(value:to:)) } @@ -49614,6 +51402,119 @@ extension QuickSightClientTypes.DateTimePickerControlDisplayOptions { value.titleOptions = try reader["TitleOptions"].readIfPresent(with: QuickSightClientTypes.LabelOptions.read(from:)) value.dateTimeFormat = try reader["DateTimeFormat"].readIfPresent() value.infoIconLabelOptions = try reader["InfoIconLabelOptions"].readIfPresent(with: QuickSightClientTypes.SheetControlInfoIconLabelOptions.read(from:)) + value.helperTextVisibility = try reader["HelperTextVisibility"].readIfPresent() + value.dateIconVisibility = try reader["DateIconVisibility"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.CategoryFilterConfiguration { + + static func write(value: QuickSightClientTypes.CategoryFilterConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CustomFilterConfiguration"].write(value.customFilterConfiguration, with: QuickSightClientTypes.CustomFilterConfiguration.write(value:to:)) + try writer["CustomFilterListConfiguration"].write(value.customFilterListConfiguration, with: QuickSightClientTypes.CustomFilterListConfiguration.write(value:to:)) + try writer["FilterListConfiguration"].write(value.filterListConfiguration, with: QuickSightClientTypes.FilterListConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CategoryFilterConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.CategoryFilterConfiguration() + value.filterListConfiguration = try reader["FilterListConfiguration"].readIfPresent(with: QuickSightClientTypes.FilterListConfiguration.read(from:)) + value.customFilterListConfiguration = try reader["CustomFilterListConfiguration"].readIfPresent(with: QuickSightClientTypes.CustomFilterListConfiguration.read(from:)) + value.customFilterConfiguration = try reader["CustomFilterConfiguration"].readIfPresent(with: QuickSightClientTypes.CustomFilterConfiguration.read(from:)) + return value + } +} + +extension QuickSightClientTypes.CustomFilterConfiguration { + + static func write(value: QuickSightClientTypes.CustomFilterConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CategoryValue"].write(value.categoryValue) + try writer["MatchOperator"].write(value.matchOperator) + try writer["NullOption"].write(value.nullOption) + try writer["ParameterName"].write(value.parameterName) + try writer["SelectAllOptions"].write(value.selectAllOptions) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CustomFilterConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.CustomFilterConfiguration() + value.matchOperator = try reader["MatchOperator"].readIfPresent() + value.categoryValue = try reader["CategoryValue"].readIfPresent() + value.selectAllOptions = try reader["SelectAllOptions"].readIfPresent() + value.parameterName = try reader["ParameterName"].readIfPresent() + value.nullOption = try reader["NullOption"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.CustomFilterListConfiguration { + + static func write(value: QuickSightClientTypes.CustomFilterListConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CategoryValues"].writeList(value.categoryValues, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["MatchOperator"].write(value.matchOperator) + try writer["NullOption"].write(value.nullOption) + try writer["SelectAllOptions"].write(value.selectAllOptions) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CustomFilterListConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.CustomFilterListConfiguration() + value.matchOperator = try reader["MatchOperator"].readIfPresent() + value.categoryValues = try reader["CategoryValues"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.selectAllOptions = try reader["SelectAllOptions"].readIfPresent() + value.nullOption = try reader["NullOption"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.FilterListConfiguration { + + static func write(value: QuickSightClientTypes.FilterListConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CategoryValues"].writeList(value.categoryValues, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["MatchOperator"].write(value.matchOperator) + try writer["NullOption"].write(value.nullOption) + try writer["SelectAllOptions"].write(value.selectAllOptions) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.FilterListConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.FilterListConfiguration() + value.matchOperator = try reader["MatchOperator"].readIfPresent() + value.categoryValues = try reader["CategoryValues"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.selectAllOptions = try reader["SelectAllOptions"].readIfPresent() + value.nullOption = try reader["NullOption"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.TopBottomFilter { + + static func write(value: QuickSightClientTypes.TopBottomFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AggregationSortConfigurations"].writeList(value.aggregationSortConfigurations, memberWritingClosure: QuickSightClientTypes.AggregationSortConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Column"].write(value.column, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) + try writer["DefaultFilterControlConfiguration"].write(value.defaultFilterControlConfiguration, with: QuickSightClientTypes.DefaultFilterControlConfiguration.write(value:to:)) + try writer["FilterId"].write(value.filterId) + try writer["Limit"].write(value.limit) + try writer["ParameterName"].write(value.parameterName) + try writer["TimeGranularity"].write(value.timeGranularity) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopBottomFilter { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopBottomFilter() + value.filterId = try reader["FilterId"].readIfPresent() + value.column = try reader["Column"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) + value.limit = try reader["Limit"].readIfPresent() + value.aggregationSortConfigurations = try reader["AggregationSortConfigurations"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.AggregationSortConfiguration.read(from:), memberNodeInfo: "member", isFlattened: false) + value.timeGranularity = try reader["TimeGranularity"].readIfPresent() + value.parameterName = try reader["ParameterName"].readIfPresent() + value.defaultFilterControlConfiguration = try reader["DefaultFilterControlConfiguration"].readIfPresent(with: QuickSightClientTypes.DefaultFilterControlConfiguration.read(from:)) return value } } @@ -49976,90 +51877,6 @@ extension QuickSightClientTypes.CategoryFilter { } } -extension QuickSightClientTypes.CategoryFilterConfiguration { - - static func write(value: QuickSightClientTypes.CategoryFilterConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["CustomFilterConfiguration"].write(value.customFilterConfiguration, with: QuickSightClientTypes.CustomFilterConfiguration.write(value:to:)) - try writer["CustomFilterListConfiguration"].write(value.customFilterListConfiguration, with: QuickSightClientTypes.CustomFilterListConfiguration.write(value:to:)) - try writer["FilterListConfiguration"].write(value.filterListConfiguration, with: QuickSightClientTypes.FilterListConfiguration.write(value:to:)) - } - - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CategoryFilterConfiguration { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.CategoryFilterConfiguration() - value.filterListConfiguration = try reader["FilterListConfiguration"].readIfPresent(with: QuickSightClientTypes.FilterListConfiguration.read(from:)) - value.customFilterListConfiguration = try reader["CustomFilterListConfiguration"].readIfPresent(with: QuickSightClientTypes.CustomFilterListConfiguration.read(from:)) - value.customFilterConfiguration = try reader["CustomFilterConfiguration"].readIfPresent(with: QuickSightClientTypes.CustomFilterConfiguration.read(from:)) - return value - } -} - -extension QuickSightClientTypes.CustomFilterConfiguration { - - static func write(value: QuickSightClientTypes.CustomFilterConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["CategoryValue"].write(value.categoryValue) - try writer["MatchOperator"].write(value.matchOperator) - try writer["NullOption"].write(value.nullOption) - try writer["ParameterName"].write(value.parameterName) - try writer["SelectAllOptions"].write(value.selectAllOptions) - } - - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CustomFilterConfiguration { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.CustomFilterConfiguration() - value.matchOperator = try reader["MatchOperator"].readIfPresent() - value.categoryValue = try reader["CategoryValue"].readIfPresent() - value.selectAllOptions = try reader["SelectAllOptions"].readIfPresent() - value.parameterName = try reader["ParameterName"].readIfPresent() - value.nullOption = try reader["NullOption"].readIfPresent() - return value - } -} - -extension QuickSightClientTypes.CustomFilterListConfiguration { - - static func write(value: QuickSightClientTypes.CustomFilterListConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["CategoryValues"].writeList(value.categoryValues, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["MatchOperator"].write(value.matchOperator) - try writer["NullOption"].write(value.nullOption) - try writer["SelectAllOptions"].write(value.selectAllOptions) - } - - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CustomFilterListConfiguration { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.CustomFilterListConfiguration() - value.matchOperator = try reader["MatchOperator"].readIfPresent() - value.categoryValues = try reader["CategoryValues"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) - value.selectAllOptions = try reader["SelectAllOptions"].readIfPresent() - value.nullOption = try reader["NullOption"].readIfPresent() - return value - } -} - -extension QuickSightClientTypes.FilterListConfiguration { - - static func write(value: QuickSightClientTypes.FilterListConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["CategoryValues"].writeList(value.categoryValues, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) - try writer["MatchOperator"].write(value.matchOperator) - try writer["NullOption"].write(value.nullOption) - try writer["SelectAllOptions"].write(value.selectAllOptions) - } - - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.FilterListConfiguration { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.FilterListConfiguration() - value.matchOperator = try reader["MatchOperator"].readIfPresent() - value.categoryValues = try reader["CategoryValues"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) - value.selectAllOptions = try reader["SelectAllOptions"].readIfPresent() - value.nullOption = try reader["NullOption"].readIfPresent() - return value - } -} - extension QuickSightClientTypes.ParameterDeclaration { static func write(value: QuickSightClientTypes.ParameterDeclaration?, to writer: SmithyJSON.Writer) throws { @@ -50718,6 +52535,7 @@ extension QuickSightClientTypes.BodySectionConfiguration { guard let value else { return } try writer["Content"].write(value.content, with: QuickSightClientTypes.BodySectionContent.write(value:to:)) try writer["PageBreakConfiguration"].write(value.pageBreakConfiguration, with: QuickSightClientTypes.SectionPageBreakConfiguration.write(value:to:)) + try writer["RepeatConfiguration"].write(value.repeatConfiguration, with: QuickSightClientTypes.BodySectionRepeatConfiguration.write(value:to:)) try writer["SectionId"].write(value.sectionId) try writer["Style"].write(value.style, with: QuickSightClientTypes.SectionStyle.write(value:to:)) } @@ -50729,20 +52547,40 @@ extension QuickSightClientTypes.BodySectionConfiguration { value.content = try reader["Content"].readIfPresent(with: QuickSightClientTypes.BodySectionContent.read(from:)) value.style = try reader["Style"].readIfPresent(with: QuickSightClientTypes.SectionStyle.read(from:)) value.pageBreakConfiguration = try reader["PageBreakConfiguration"].readIfPresent(with: QuickSightClientTypes.SectionPageBreakConfiguration.read(from:)) + value.repeatConfiguration = try reader["RepeatConfiguration"].readIfPresent(with: QuickSightClientTypes.BodySectionRepeatConfiguration.read(from:)) return value } } -extension QuickSightClientTypes.SectionPageBreakConfiguration { +extension QuickSightClientTypes.BodySectionRepeatConfiguration { - static func write(value: QuickSightClientTypes.SectionPageBreakConfiguration?, to writer: SmithyJSON.Writer) throws { + static func write(value: QuickSightClientTypes.BodySectionRepeatConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DimensionConfigurations"].writeList(value.dimensionConfigurations, memberWritingClosure: QuickSightClientTypes.BodySectionRepeatDimensionConfiguration.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["NonRepeatingVisuals"].writeList(value.nonRepeatingVisuals, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["PageBreakConfiguration"].write(value.pageBreakConfiguration, with: QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.BodySectionRepeatConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.BodySectionRepeatConfiguration() + value.dimensionConfigurations = try reader["DimensionConfigurations"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.BodySectionRepeatDimensionConfiguration.read(from:), memberNodeInfo: "member", isFlattened: false) + value.pageBreakConfiguration = try reader["PageBreakConfiguration"].readIfPresent(with: QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration.read(from:)) + value.nonRepeatingVisuals = try reader["NonRepeatingVisuals"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration { + + static func write(value: QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["After"].write(value.after, with: QuickSightClientTypes.SectionAfterPageBreak.write(value:to:)) } - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.SectionPageBreakConfiguration { + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.SectionPageBreakConfiguration() + var value = QuickSightClientTypes.BodySectionRepeatPageBreakConfiguration() value.after = try reader["After"].readIfPresent(with: QuickSightClientTypes.SectionAfterPageBreak.read(from:)) return value } @@ -50763,6 +52601,95 @@ extension QuickSightClientTypes.SectionAfterPageBreak { } } +extension QuickSightClientTypes.BodySectionRepeatDimensionConfiguration { + + static func write(value: QuickSightClientTypes.BodySectionRepeatDimensionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DynamicCategoryDimensionConfiguration"].write(value.dynamicCategoryDimensionConfiguration, with: QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration.write(value:to:)) + try writer["DynamicNumericDimensionConfiguration"].write(value.dynamicNumericDimensionConfiguration, with: QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.BodySectionRepeatDimensionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.BodySectionRepeatDimensionConfiguration() + value.dynamicCategoryDimensionConfiguration = try reader["DynamicCategoryDimensionConfiguration"].readIfPresent(with: QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration.read(from:)) + value.dynamicNumericDimensionConfiguration = try reader["DynamicNumericDimensionConfiguration"].readIfPresent(with: QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration.read(from:)) + return value + } +} + +extension QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration { + + static func write(value: QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Column"].write(value.column, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) + try writer["Limit"].write(value.limit) + try writer["SortByMetrics"].writeList(value.sortByMetrics, memberWritingClosure: QuickSightClientTypes.ColumnSort.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.BodySectionDynamicNumericDimensionConfiguration() + value.column = try reader["Column"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) + value.limit = try reader["Limit"].readIfPresent() + value.sortByMetrics = try reader["SortByMetrics"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.ColumnSort.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension QuickSightClientTypes.ColumnSort { + + static func write(value: QuickSightClientTypes.ColumnSort?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AggregationFunction"].write(value.aggregationFunction, with: QuickSightClientTypes.AggregationFunction.write(value:to:)) + try writer["Direction"].write(value.direction) + try writer["SortBy"].write(value.sortBy, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.ColumnSort { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.ColumnSort() + value.sortBy = try reader["SortBy"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) + value.direction = try reader["Direction"].readIfPresent() + value.aggregationFunction = try reader["AggregationFunction"].readIfPresent(with: QuickSightClientTypes.AggregationFunction.read(from:)) + return value + } +} + +extension QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration { + + static func write(value: QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Column"].write(value.column, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) + try writer["Limit"].write(value.limit) + try writer["SortByMetrics"].writeList(value.sortByMetrics, memberWritingClosure: QuickSightClientTypes.ColumnSort.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.BodySectionDynamicCategoryDimensionConfiguration() + value.column = try reader["Column"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) + value.limit = try reader["Limit"].readIfPresent() + value.sortByMetrics = try reader["SortByMetrics"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.ColumnSort.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension QuickSightClientTypes.SectionPageBreakConfiguration { + + static func write(value: QuickSightClientTypes.SectionPageBreakConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["After"].write(value.after, with: QuickSightClientTypes.SectionAfterPageBreak.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.SectionPageBreakConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.SectionPageBreakConfiguration() + value.after = try reader["After"].readIfPresent(with: QuickSightClientTypes.SectionAfterPageBreak.read(from:)) + return value + } +} + extension QuickSightClientTypes.BodySectionContent { static func write(value: QuickSightClientTypes.BodySectionContent?, to writer: SmithyJSON.Writer) throws { @@ -51857,25 +53784,6 @@ extension QuickSightClientTypes.FieldSortOptions { } } -extension QuickSightClientTypes.ColumnSort { - - static func write(value: QuickSightClientTypes.ColumnSort?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["AggregationFunction"].write(value.aggregationFunction, with: QuickSightClientTypes.AggregationFunction.write(value:to:)) - try writer["Direction"].write(value.direction) - try writer["SortBy"].write(value.sortBy, with: QuickSightClientTypes.ColumnIdentifier.write(value:to:)) - } - - static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.ColumnSort { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = QuickSightClientTypes.ColumnSort() - value.sortBy = try reader["SortBy"].readIfPresent(with: QuickSightClientTypes.ColumnIdentifier.read(from:)) - value.direction = try reader["Direction"].readIfPresent() - value.aggregationFunction = try reader["AggregationFunction"].readIfPresent(with: QuickSightClientTypes.AggregationFunction.read(from:)) - return value - } -} - extension QuickSightClientTypes.FieldSort { static func write(value: QuickSightClientTypes.FieldSort?, to writer: SmithyJSON.Writer) throws { @@ -62330,6 +64238,457 @@ extension QuickSightClientTypes.TopicRefreshScheduleSummary { } } +extension QuickSightClientTypes.TopicReviewedAnswer { + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicReviewedAnswer { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicReviewedAnswer() + value.arn = try reader["Arn"].readIfPresent() + value.answerId = try reader["AnswerId"].readIfPresent() + value.datasetArn = try reader["DatasetArn"].readIfPresent() + value.question = try reader["Question"].readIfPresent() + value.mir = try reader["Mir"].readIfPresent(with: QuickSightClientTypes.TopicIR.read(from:)) + value.primaryVisual = try reader["PrimaryVisual"].readIfPresent(with: QuickSightClientTypes.TopicVisual.read(from:)) + value.template = try reader["Template"].readIfPresent(with: QuickSightClientTypes.TopicTemplate.read(from:)) + return value + } +} + +extension QuickSightClientTypes.TopicTemplate { + + static func write(value: QuickSightClientTypes.TopicTemplate?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Slots"].writeList(value.slots, memberWritingClosure: QuickSightClientTypes.Slot.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["TemplateType"].write(value.templateType) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicTemplate { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicTemplate() + value.templateType = try reader["TemplateType"].readIfPresent() + value.slots = try reader["Slots"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.Slot.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension QuickSightClientTypes.Slot { + + static func write(value: QuickSightClientTypes.Slot?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SlotId"].write(value.slotId) + try writer["VisualId"].write(value.visualId) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.Slot { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.Slot() + value.slotId = try reader["SlotId"].readIfPresent() + value.visualId = try reader["VisualId"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.TopicVisual { + + static func write(value: QuickSightClientTypes.TopicVisual?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Ir"].write(value.ir, with: QuickSightClientTypes.TopicIR.write(value:to:)) + try writer["Role"].write(value.role) + try writer["SupportingVisuals"].writeList(value.supportingVisuals, memberWritingClosure: QuickSightClientTypes.TopicVisual.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["VisualId"].write(value.visualId) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicVisual { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicVisual() + value.visualId = try reader["VisualId"].readIfPresent() + value.role = try reader["Role"].readIfPresent() + value.ir = try reader["Ir"].readIfPresent(with: QuickSightClientTypes.TopicIR.read(from:)) + value.supportingVisuals = try reader["SupportingVisuals"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.TopicVisual.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension QuickSightClientTypes.TopicIR { + + static func write(value: QuickSightClientTypes.TopicIR?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ContributionAnalysis"].write(value.contributionAnalysis, with: QuickSightClientTypes.TopicIRContributionAnalysis.write(value:to:)) + try writer["Filters"].writeList(value.filters, memberWritingClosure: SmithyReadWrite.listWritingClosure(memberWritingClosure: QuickSightClientTypes.TopicIRFilterOption.write(value:to:), memberNodeInfo: "member", isFlattened: false), memberNodeInfo: "member", isFlattened: false) + try writer["GroupByList"].writeList(value.groupByList, memberWritingClosure: QuickSightClientTypes.TopicIRGroupBy.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Metrics"].writeList(value.metrics, memberWritingClosure: QuickSightClientTypes.TopicIRMetric.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Sort"].write(value.sort, with: QuickSightClientTypes.TopicSortClause.write(value:to:)) + try writer["Visual"].write(value.visual, with: QuickSightClientTypes.VisualOptions.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicIR { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicIR() + value.metrics = try reader["Metrics"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.TopicIRMetric.read(from:), memberNodeInfo: "member", isFlattened: false) + value.groupByList = try reader["GroupByList"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.TopicIRGroupBy.read(from:), memberNodeInfo: "member", isFlattened: false) + value.filters = try reader["Filters"].readListIfPresent(memberReadingClosure: SmithyReadWrite.listReadingClosure(memberReadingClosure: QuickSightClientTypes.TopicIRFilterOption.read(from:), memberNodeInfo: "member", isFlattened: false), memberNodeInfo: "member", isFlattened: false) + value.sort = try reader["Sort"].readIfPresent(with: QuickSightClientTypes.TopicSortClause.read(from:)) + value.contributionAnalysis = try reader["ContributionAnalysis"].readIfPresent(with: QuickSightClientTypes.TopicIRContributionAnalysis.read(from:)) + value.visual = try reader["Visual"].readIfPresent(with: QuickSightClientTypes.VisualOptions.read(from:)) + return value + } +} + +extension QuickSightClientTypes.VisualOptions { + + static func write(value: QuickSightClientTypes.VisualOptions?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["type"].write(value.type) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.VisualOptions { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.VisualOptions() + value.type = try reader["type"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.TopicIRContributionAnalysis { + + static func write(value: QuickSightClientTypes.TopicIRContributionAnalysis?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Direction"].write(value.direction) + try writer["Factors"].writeList(value.factors, memberWritingClosure: QuickSightClientTypes.ContributionAnalysisFactor.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["SortType"].write(value.sortType) + try writer["TimeRanges"].write(value.timeRanges, with: QuickSightClientTypes.ContributionAnalysisTimeRanges.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicIRContributionAnalysis { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicIRContributionAnalysis() + value.factors = try reader["Factors"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.ContributionAnalysisFactor.read(from:), memberNodeInfo: "member", isFlattened: false) + value.timeRanges = try reader["TimeRanges"].readIfPresent(with: QuickSightClientTypes.ContributionAnalysisTimeRanges.read(from:)) + value.direction = try reader["Direction"].readIfPresent() + value.sortType = try reader["SortType"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.ContributionAnalysisTimeRanges { + + static func write(value: QuickSightClientTypes.ContributionAnalysisTimeRanges?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["EndRange"].write(value.endRange, with: QuickSightClientTypes.TopicIRFilterOption.write(value:to:)) + try writer["StartRange"].write(value.startRange, with: QuickSightClientTypes.TopicIRFilterOption.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.ContributionAnalysisTimeRanges { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.ContributionAnalysisTimeRanges() + value.startRange = try reader["StartRange"].readIfPresent(with: QuickSightClientTypes.TopicIRFilterOption.read(from:)) + value.endRange = try reader["EndRange"].readIfPresent(with: QuickSightClientTypes.TopicIRFilterOption.read(from:)) + return value + } +} + +extension QuickSightClientTypes.TopicIRFilterOption { + + static func write(value: QuickSightClientTypes.TopicIRFilterOption?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AggMetrics"].writeList(value.aggMetrics, memberWritingClosure: QuickSightClientTypes.FilterAggMetrics.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Aggregation"].write(value.aggregation) + try writer["AggregationFunctionParameters"].writeMap(value.aggregationFunctionParameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["AggregationPartitionBy"].writeList(value.aggregationPartitionBy, memberWritingClosure: QuickSightClientTypes.AggregationPartitionBy.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Anchor"].write(value.anchor, with: QuickSightClientTypes.Anchor.write(value:to:)) + try writer["Constant"].write(value.constant, with: QuickSightClientTypes.TopicConstantValue.write(value:to:)) + try writer["FilterClass"].write(value.filterClass) + try writer["FilterType"].write(value.filterType) + try writer["Function"].write(value.function) + try writer["Inclusive"].write(value.inclusive) + try writer["Inverse"].write(value.inverse) + try writer["LastNextOffset"].write(value.lastNextOffset, with: QuickSightClientTypes.TopicConstantValue.write(value:to:)) + try writer["NullFilter"].write(value.nullFilter) + try writer["OperandField"].write(value.operandField, with: QuickSightClientTypes.Identifier.write(value:to:)) + try writer["Range"].write(value.range, with: QuickSightClientTypes.TopicConstantValue.write(value:to:)) + try writer["SortDirection"].write(value.sortDirection) + try writer["TimeGranularity"].write(value.timeGranularity) + try writer["TopBottomLimit"].write(value.topBottomLimit, with: QuickSightClientTypes.TopicConstantValue.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicIRFilterOption { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicIRFilterOption() + value.filterType = try reader["FilterType"].readIfPresent() + value.filterClass = try reader["FilterClass"].readIfPresent() + value.operandField = try reader["OperandField"].readIfPresent(with: QuickSightClientTypes.Identifier.read(from:)) + value.function = try reader["Function"].readIfPresent() + value.constant = try reader["Constant"].readIfPresent(with: QuickSightClientTypes.TopicConstantValue.read(from:)) + value.inverse = try reader["Inverse"].readIfPresent() ?? false + value.nullFilter = try reader["NullFilter"].readIfPresent() + value.aggregation = try reader["Aggregation"].readIfPresent() + value.aggregationFunctionParameters = try reader["AggregationFunctionParameters"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.aggregationPartitionBy = try reader["AggregationPartitionBy"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.AggregationPartitionBy.read(from:), memberNodeInfo: "member", isFlattened: false) + value.range = try reader["Range"].readIfPresent(with: QuickSightClientTypes.TopicConstantValue.read(from:)) + value.inclusive = try reader["Inclusive"].readIfPresent() ?? false + value.timeGranularity = try reader["TimeGranularity"].readIfPresent() + value.lastNextOffset = try reader["LastNextOffset"].readIfPresent(with: QuickSightClientTypes.TopicConstantValue.read(from:)) + value.aggMetrics = try reader["AggMetrics"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.FilterAggMetrics.read(from:), memberNodeInfo: "member", isFlattened: false) + value.topBottomLimit = try reader["TopBottomLimit"].readIfPresent(with: QuickSightClientTypes.TopicConstantValue.read(from:)) + value.sortDirection = try reader["SortDirection"].readIfPresent() + value.anchor = try reader["Anchor"].readIfPresent(with: QuickSightClientTypes.Anchor.read(from:)) + return value + } +} + +extension QuickSightClientTypes.Anchor { + + static func write(value: QuickSightClientTypes.Anchor?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AnchorType"].write(value.anchorType) + try writer["Offset"].write(value.offset) + try writer["TimeGranularity"].write(value.timeGranularity) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.Anchor { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.Anchor() + value.anchorType = try reader["AnchorType"].readIfPresent() + value.timeGranularity = try reader["TimeGranularity"].readIfPresent() + value.offset = try reader["Offset"].readIfPresent() ?? 0 + return value + } +} + +extension QuickSightClientTypes.TopicConstantValue { + + static func write(value: QuickSightClientTypes.TopicConstantValue?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ConstantType"].write(value.constantType) + try writer["Maximum"].write(value.maximum) + try writer["Minimum"].write(value.minimum) + try writer["Value"].write(value.value) + try writer["ValueList"].writeList(value.valueList, memberWritingClosure: QuickSightClientTypes.CollectiveConstantEntry.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicConstantValue { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicConstantValue() + value.constantType = try reader["ConstantType"].readIfPresent() + value.value = try reader["Value"].readIfPresent() + value.minimum = try reader["Minimum"].readIfPresent() + value.maximum = try reader["Maximum"].readIfPresent() + value.valueList = try reader["ValueList"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.CollectiveConstantEntry.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension QuickSightClientTypes.CollectiveConstantEntry { + + static func write(value: QuickSightClientTypes.CollectiveConstantEntry?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ConstantType"].write(value.constantType) + try writer["Value"].write(value.value) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.CollectiveConstantEntry { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.CollectiveConstantEntry() + value.constantType = try reader["ConstantType"].readIfPresent() + value.value = try reader["Value"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.FilterAggMetrics { + + static func write(value: QuickSightClientTypes.FilterAggMetrics?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Function"].write(value.function) + try writer["MetricOperand"].write(value.metricOperand, with: QuickSightClientTypes.Identifier.write(value:to:)) + try writer["SortDirection"].write(value.sortDirection) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.FilterAggMetrics { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.FilterAggMetrics() + value.metricOperand = try reader["MetricOperand"].readIfPresent(with: QuickSightClientTypes.Identifier.read(from:)) + value.function = try reader["Function"].readIfPresent() + value.sortDirection = try reader["SortDirection"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.Identifier { + + static func write(value: QuickSightClientTypes.Identifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Identity"].write(value.identity) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.Identifier { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.Identifier() + value.identity = try reader["Identity"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.AggregationPartitionBy { + + static func write(value: QuickSightClientTypes.AggregationPartitionBy?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["FieldName"].write(value.fieldName) + try writer["TimeGranularity"].write(value.timeGranularity) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.AggregationPartitionBy { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.AggregationPartitionBy() + value.fieldName = try reader["FieldName"].readIfPresent() + value.timeGranularity = try reader["TimeGranularity"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.ContributionAnalysisFactor { + + static func write(value: QuickSightClientTypes.ContributionAnalysisFactor?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["FieldName"].write(value.fieldName) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.ContributionAnalysisFactor { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.ContributionAnalysisFactor() + value.fieldName = try reader["FieldName"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.TopicSortClause { + + static func write(value: QuickSightClientTypes.TopicSortClause?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Operand"].write(value.operand, with: QuickSightClientTypes.Identifier.write(value:to:)) + try writer["SortDirection"].write(value.sortDirection) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicSortClause { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicSortClause() + value.operand = try reader["Operand"].readIfPresent(with: QuickSightClientTypes.Identifier.read(from:)) + value.sortDirection = try reader["SortDirection"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.TopicIRGroupBy { + + static func write(value: QuickSightClientTypes.TopicIRGroupBy?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DisplayFormat"].write(value.displayFormat) + try writer["DisplayFormatOptions"].write(value.displayFormatOptions, with: QuickSightClientTypes.DisplayFormatOptions.write(value:to:)) + try writer["FieldName"].write(value.fieldName, with: QuickSightClientTypes.Identifier.write(value:to:)) + try writer["NamedEntity"].write(value.namedEntity, with: QuickSightClientTypes.NamedEntityRef.write(value:to:)) + try writer["Sort"].write(value.sort, with: QuickSightClientTypes.TopicSortClause.write(value:to:)) + try writer["TimeGranularity"].write(value.timeGranularity) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicIRGroupBy { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicIRGroupBy() + value.fieldName = try reader["FieldName"].readIfPresent(with: QuickSightClientTypes.Identifier.read(from:)) + value.timeGranularity = try reader["TimeGranularity"].readIfPresent() + value.sort = try reader["Sort"].readIfPresent(with: QuickSightClientTypes.TopicSortClause.read(from:)) + value.displayFormat = try reader["DisplayFormat"].readIfPresent() + value.displayFormatOptions = try reader["DisplayFormatOptions"].readIfPresent(with: QuickSightClientTypes.DisplayFormatOptions.read(from:)) + value.namedEntity = try reader["NamedEntity"].readIfPresent(with: QuickSightClientTypes.NamedEntityRef.read(from:)) + return value + } +} + +extension QuickSightClientTypes.NamedEntityRef { + + static func write(value: QuickSightClientTypes.NamedEntityRef?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["NamedEntityName"].write(value.namedEntityName) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.NamedEntityRef { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.NamedEntityRef() + value.namedEntityName = try reader["NamedEntityName"].readIfPresent() + return value + } +} + +extension QuickSightClientTypes.TopicIRMetric { + + static func write(value: QuickSightClientTypes.TopicIRMetric?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CalculatedFieldReferences"].writeList(value.calculatedFieldReferences, memberWritingClosure: QuickSightClientTypes.Identifier.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["ComparisonMethod"].write(value.comparisonMethod, with: QuickSightClientTypes.TopicIRComparisonMethod.write(value:to:)) + try writer["DisplayFormat"].write(value.displayFormat) + try writer["DisplayFormatOptions"].write(value.displayFormatOptions, with: QuickSightClientTypes.DisplayFormatOptions.write(value:to:)) + try writer["Expression"].write(value.expression) + try writer["Function"].write(value.function, with: QuickSightClientTypes.AggFunction.write(value:to:)) + try writer["MetricId"].write(value.metricId, with: QuickSightClientTypes.Identifier.write(value:to:)) + try writer["NamedEntity"].write(value.namedEntity, with: QuickSightClientTypes.NamedEntityRef.write(value:to:)) + try writer["Operands"].writeList(value.operands, memberWritingClosure: QuickSightClientTypes.Identifier.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicIRMetric { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicIRMetric() + value.metricId = try reader["MetricId"].readIfPresent(with: QuickSightClientTypes.Identifier.read(from:)) + value.function = try reader["Function"].readIfPresent(with: QuickSightClientTypes.AggFunction.read(from:)) + value.operands = try reader["Operands"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.Identifier.read(from:), memberNodeInfo: "member", isFlattened: false) + value.comparisonMethod = try reader["ComparisonMethod"].readIfPresent(with: QuickSightClientTypes.TopicIRComparisonMethod.read(from:)) + value.expression = try reader["Expression"].readIfPresent() + value.calculatedFieldReferences = try reader["CalculatedFieldReferences"].readListIfPresent(memberReadingClosure: QuickSightClientTypes.Identifier.read(from:), memberNodeInfo: "member", isFlattened: false) + value.displayFormat = try reader["DisplayFormat"].readIfPresent() + value.displayFormatOptions = try reader["DisplayFormatOptions"].readIfPresent(with: QuickSightClientTypes.DisplayFormatOptions.read(from:)) + value.namedEntity = try reader["NamedEntity"].readIfPresent(with: QuickSightClientTypes.NamedEntityRef.read(from:)) + return value + } +} + +extension QuickSightClientTypes.TopicIRComparisonMethod { + + static func write(value: QuickSightClientTypes.TopicIRComparisonMethod?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Period"].write(value.period) + try writer["Type"].write(value.type) + try writer["WindowSize"].write(value.windowSize) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicIRComparisonMethod { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.TopicIRComparisonMethod() + value.type = try reader["Type"].readIfPresent() + value.period = try reader["Period"].readIfPresent() + value.windowSize = try reader["WindowSize"].readIfPresent() ?? 0 + return value + } +} + +extension QuickSightClientTypes.AggFunction { + + static func write(value: QuickSightClientTypes.AggFunction?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Aggregation"].write(value.aggregation) + try writer["AggregationFunctionParameters"].writeMap(value.aggregationFunctionParameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["Period"].write(value.period) + try writer["PeriodField"].write(value.periodField) + } + + static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.AggFunction { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = QuickSightClientTypes.AggFunction() + value.aggregation = try reader["Aggregation"].readIfPresent() + value.aggregationFunctionParameters = try reader["AggregationFunctionParameters"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.period = try reader["Period"].readIfPresent() + value.periodField = try reader["PeriodField"].readIfPresent() + return value + } +} + extension QuickSightClientTypes.TopicSummary { static func read(from reader: SmithyJSON.Reader) throws -> QuickSightClientTypes.TopicSummary { @@ -62403,6 +64762,19 @@ extension QuickSightClientTypes.SuccessfulKeyRegistrationEntry { } } +extension QuickSightClientTypes.CreateTopicReviewedAnswer { + + static func write(value: QuickSightClientTypes.CreateTopicReviewedAnswer?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AnswerId"].write(value.answerId) + try writer["DatasetArn"].write(value.datasetArn) + try writer["Mir"].write(value.mir, with: QuickSightClientTypes.TopicIR.write(value:to:)) + try writer["PrimaryVisual"].write(value.primaryVisual, with: QuickSightClientTypes.TopicVisual.write(value:to:)) + try writer["Question"].write(value.question) + try writer["Template"].write(value.template, with: QuickSightClientTypes.TopicTemplate.write(value:to:)) + } +} + extension QuickSightClientTypes.AnalysisSourceEntity { static func write(value: QuickSightClientTypes.AnalysisSourceEntity?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift index e24afbadc37..6924218c734 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift @@ -179,6 +179,111 @@ extension QuickSightClient { } extension QuickSightClient { + /// Performs the `BatchCreateTopicReviewedAnswer` operation on the `QuickSight_20180401` service. + /// + /// Creates new reviewed answers for a Q Topic. + /// + /// - Parameter BatchCreateTopicReviewedAnswerInput : [no documentation found] + /// + /// - Returns: `BatchCreateTopicReviewedAnswerOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon QuickSight service, that your policies have the correct permissions, and that you are using the correct credentials. + /// - `InternalFailureException` : An internal failure occurred. + /// - `InvalidParameterValueException` : One or more parameters has a value that isn't valid. + /// - `ResourceNotFoundException` : One or more resources can't be found. + /// - `ThrottlingException` : Access is throttled. + public func batchCreateTopicReviewedAnswer(input: BatchCreateTopicReviewedAnswerInput) async throws -> BatchCreateTopicReviewedAnswerOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "batchCreateTopicReviewedAnswer") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "quicksight") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "batchCreateTopicReviewedAnswer") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(BatchCreateTopicReviewedAnswerInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: BatchCreateTopicReviewedAnswerInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(BatchCreateTopicReviewedAnswerOutput.httpOutput(from:), BatchCreateTopicReviewedAnswerOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `BatchDeleteTopicReviewedAnswer` operation on the `QuickSight_20180401` service. + /// + /// Deletes reviewed answers for Q Topic. + /// + /// - Parameter BatchDeleteTopicReviewedAnswerInput : [no documentation found] + /// + /// - Returns: `BatchDeleteTopicReviewedAnswerOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon QuickSight service, that your policies have the correct permissions, and that you are using the correct credentials. + /// - `ConflictException` : Updating or deleting a resource can cause an inconsistent state. + /// - `InternalFailureException` : An internal failure occurred. + /// - `InvalidParameterValueException` : One or more parameters has a value that isn't valid. + /// - `ResourceNotFoundException` : One or more resources can't be found. + /// - `ThrottlingException` : Access is throttled. + public func batchDeleteTopicReviewedAnswer(input: BatchDeleteTopicReviewedAnswerInput) async throws -> BatchDeleteTopicReviewedAnswerOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "batchDeleteTopicReviewedAnswer") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "quicksight") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "batchDeleteTopicReviewedAnswer") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(BatchDeleteTopicReviewedAnswerInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: BatchDeleteTopicReviewedAnswerInput.write(value:to:))) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(BatchDeleteTopicReviewedAnswerOutput.httpOutput(from:), BatchDeleteTopicReviewedAnswerOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `CancelIngestion` operation on the `QuickSight_20180401` service. /// /// Cancels an ongoing ingestion of data into SPICE. @@ -6515,6 +6620,55 @@ extension QuickSightClient { return result } + /// Performs the `ListTopicReviewedAnswers` operation on the `QuickSight_20180401` service. + /// + /// Lists all reviewed answers for a Q Topic. + /// + /// - Parameter ListTopicReviewedAnswersInput : [no documentation found] + /// + /// - Returns: `ListTopicReviewedAnswersOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon QuickSight service, that your policies have the correct permissions, and that you are using the correct credentials. + /// - `InternalFailureException` : An internal failure occurred. + /// - `InvalidParameterValueException` : One or more parameters has a value that isn't valid. + /// - `ResourceNotFoundException` : One or more resources can't be found. + /// - `ThrottlingException` : Access is throttled. + public func listTopicReviewedAnswers(input: ListTopicReviewedAnswersInput) async throws -> ListTopicReviewedAnswersOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listTopicReviewedAnswers") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "quicksight") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listTopicReviewedAnswers") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListTopicReviewedAnswersInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListTopicReviewedAnswersOutput.httpOutput(from:), ListTopicReviewedAnswersOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListTopics` operation on the `QuickSight_20180401` service. /// /// Lists all of the topics within an account. diff --git a/Sources/Services/AWSRAM/Sources/AWSRAM/Models.swift b/Sources/Services/AWSRAM/Sources/AWSRAM/Models.swift index 4e0aba418ae..258ede106da 100644 --- a/Sources/Services/AWSRAM/Sources/AWSRAM/Models.swift +++ b/Sources/Services/AWSRAM/Sources/AWSRAM/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct InvalidClientTokenException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct MalformedArnException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ResourceShareInvitationAlreadyAcceptedException: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ResourceShareInvitationAlreadyRejectedException: ClientRuntime.Mod public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -186,7 +186,7 @@ public struct ResourceShareInvitationArnNotFoundException: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -211,7 +211,7 @@ public struct ResourceShareInvitationExpiredException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -236,7 +236,7 @@ public struct ServerInternalException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -261,7 +261,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -532,7 +532,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -557,7 +557,7 @@ public struct InvalidStateTransitionException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -582,7 +582,7 @@ public struct ResourceShareLimitExceededException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -607,7 +607,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -632,7 +632,7 @@ public struct UnknownResourceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -761,7 +761,7 @@ public struct InvalidPolicyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -786,7 +786,7 @@ public struct MalformedPolicyTemplateException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -811,7 +811,7 @@ public struct PermissionAlreadyExistsException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -836,7 +836,7 @@ public struct PermissionLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1068,7 +1068,7 @@ public struct PermissionVersionsLimitExceededException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1257,7 +1257,7 @@ public struct TagLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1282,7 +1282,7 @@ public struct TagPolicyViolationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1763,7 +1763,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1788,7 +1788,7 @@ public struct ResourceArnNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1911,7 +1911,7 @@ public struct InvalidMaxResultsException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2090,7 +2090,7 @@ public struct MissingRequiredParameterException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2780,7 +2780,7 @@ public struct InvalidResourceTypeException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3023,7 +3023,7 @@ public struct UnmatchedPolicyPermissionException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3911,7 +3911,7 @@ extension UpdateResourceShareInput { extension AcceptResourceShareInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptResourceShareInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptResourceShareInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3924,7 +3924,7 @@ extension AcceptResourceShareInvitationOutput { extension AssociateResourceShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResourceShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResourceShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3937,7 +3937,7 @@ extension AssociateResourceShareOutput { extension AssociateResourceSharePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResourceSharePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResourceSharePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3950,7 +3950,7 @@ extension AssociateResourceSharePermissionOutput { extension CreatePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3963,7 +3963,7 @@ extension CreatePermissionOutput { extension CreatePermissionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePermissionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePermissionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3976,7 +3976,7 @@ extension CreatePermissionVersionOutput { extension CreateResourceShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3989,7 +3989,7 @@ extension CreateResourceShareOutput { extension DeletePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4003,7 +4003,7 @@ extension DeletePermissionOutput { extension DeletePermissionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4017,7 +4017,7 @@ extension DeletePermissionVersionOutput { extension DeleteResourceShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4030,7 +4030,7 @@ extension DeleteResourceShareOutput { extension DisassociateResourceShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResourceShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResourceShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4043,7 +4043,7 @@ extension DisassociateResourceShareOutput { extension DisassociateResourceSharePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResourceSharePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResourceSharePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4056,7 +4056,7 @@ extension DisassociateResourceSharePermissionOutput { extension EnableSharingWithAwsOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSharingWithAwsOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSharingWithAwsOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4068,7 +4068,7 @@ extension EnableSharingWithAwsOrganizationOutput { extension GetPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4080,7 +4080,7 @@ extension GetPermissionOutput { extension GetResourcePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4093,7 +4093,7 @@ extension GetResourcePoliciesOutput { extension GetResourceShareAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceShareAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceShareAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4106,7 +4106,7 @@ extension GetResourceShareAssociationsOutput { extension GetResourceShareInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceShareInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceShareInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4119,7 +4119,7 @@ extension GetResourceShareInvitationsOutput { extension GetResourceSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4132,7 +4132,7 @@ extension GetResourceSharesOutput { extension ListPendingInvitationResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPendingInvitationResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPendingInvitationResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4145,7 +4145,7 @@ extension ListPendingInvitationResourcesOutput { extension ListPermissionAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4158,7 +4158,7 @@ extension ListPermissionAssociationsOutput { extension ListPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4171,7 +4171,7 @@ extension ListPermissionsOutput { extension ListPermissionVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4184,7 +4184,7 @@ extension ListPermissionVersionsOutput { extension ListPrincipalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrincipalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrincipalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4197,7 +4197,7 @@ extension ListPrincipalsOutput { extension ListReplacePermissionAssociationsWorkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReplacePermissionAssociationsWorkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReplacePermissionAssociationsWorkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4210,7 +4210,7 @@ extension ListReplacePermissionAssociationsWorkOutput { extension ListResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4223,7 +4223,7 @@ extension ListResourcesOutput { extension ListResourceSharePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceSharePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceSharePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4236,7 +4236,7 @@ extension ListResourceSharePermissionsOutput { extension ListResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4249,7 +4249,7 @@ extension ListResourceTypesOutput { extension PromotePermissionCreatedFromPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PromotePermissionCreatedFromPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PromotePermissionCreatedFromPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4262,7 +4262,7 @@ extension PromotePermissionCreatedFromPolicyOutput { extension PromoteResourceShareCreatedFromPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PromoteResourceShareCreatedFromPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PromoteResourceShareCreatedFromPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4274,7 +4274,7 @@ extension PromoteResourceShareCreatedFromPolicyOutput { extension RejectResourceShareInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectResourceShareInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectResourceShareInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4287,7 +4287,7 @@ extension RejectResourceShareInvitationOutput { extension ReplacePermissionAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplacePermissionAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplacePermissionAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4300,7 +4300,7 @@ extension ReplacePermissionAssociationsOutput { extension SetDefaultPermissionVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetDefaultPermissionVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultPermissionVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4313,21 +4313,21 @@ extension SetDefaultPermissionVersionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateResourceShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4340,7 +4340,7 @@ extension UpdateResourceShareOutput { enum AcceptResourceShareInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4363,7 +4363,7 @@ enum AcceptResourceShareInvitationOutputError { enum AssociateResourceShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4387,7 +4387,7 @@ enum AssociateResourceShareOutputError { enum AssociateResourceSharePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4407,7 +4407,7 @@ enum AssociateResourceSharePermissionOutputError { enum CreatePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4430,7 +4430,7 @@ enum CreatePermissionOutputError { enum CreatePermissionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4453,7 +4453,7 @@ enum CreatePermissionVersionOutputError { enum CreateResourceShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4478,7 +4478,7 @@ enum CreateResourceShareOutputError { enum DeletePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4498,7 +4498,7 @@ enum DeletePermissionOutputError { enum DeletePermissionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4519,7 +4519,7 @@ enum DeletePermissionVersionOutputError { enum DeleteResourceShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4541,7 +4541,7 @@ enum DeleteResourceShareOutputError { enum DisassociateResourceShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4564,7 +4564,7 @@ enum DisassociateResourceShareOutputError { enum DisassociateResourceSharePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4585,7 +4585,7 @@ enum DisassociateResourceSharePermissionOutputError { enum EnableSharingWithAwsOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4601,7 +4601,7 @@ enum EnableSharingWithAwsOrganizationOutputError { enum GetPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4620,7 +4620,7 @@ enum GetPermissionOutputError { enum GetResourcePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4639,7 +4639,7 @@ enum GetResourcePoliciesOutputError { enum GetResourceShareAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4659,7 +4659,7 @@ enum GetResourceShareAssociationsOutputError { enum GetResourceShareInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4680,7 +4680,7 @@ enum GetResourceShareInvitationsOutputError { enum GetResourceSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4699,7 +4699,7 @@ enum GetResourceSharesOutputError { enum ListPendingInvitationResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4721,7 +4721,7 @@ enum ListPendingInvitationResourcesOutputError { enum ListPermissionAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4739,7 +4739,7 @@ enum ListPermissionAssociationsOutputError { enum ListPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4757,7 +4757,7 @@ enum ListPermissionsOutputError { enum ListPermissionVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4777,7 +4777,7 @@ enum ListPermissionVersionsOutputError { enum ListPrincipalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4796,7 +4796,7 @@ enum ListPrincipalsOutputError { enum ListReplacePermissionAssociationsWorkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4813,7 +4813,7 @@ enum ListReplacePermissionAssociationsWorkOutputError { enum ListResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4833,7 +4833,7 @@ enum ListResourcesOutputError { enum ListResourceSharePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4853,7 +4853,7 @@ enum ListResourceSharePermissionsOutputError { enum ListResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4870,7 +4870,7 @@ enum ListResourceTypesOutputError { enum PromotePermissionCreatedFromPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4890,7 +4890,7 @@ enum PromotePermissionCreatedFromPolicyOutputError { enum PromoteResourceShareCreatedFromPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4913,7 +4913,7 @@ enum PromoteResourceShareCreatedFromPolicyOutputError { enum RejectResourceShareInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4936,7 +4936,7 @@ enum RejectResourceShareInvitationOutputError { enum ReplacePermissionAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4957,7 +4957,7 @@ enum ReplacePermissionAssociationsOutputError { enum SetDefaultPermissionVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4977,7 +4977,7 @@ enum SetDefaultPermissionVersionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4998,7 +4998,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5016,7 +5016,7 @@ enum UntagResourceOutputError { enum UpdateResourceShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift index ed501bdd383..7065734b29a 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -250,7 +250,7 @@ public struct DBClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct DBClusterRoleAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -298,7 +298,7 @@ public struct DBClusterRoleQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -322,7 +322,7 @@ public struct InvalidDBClusterStateFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -368,7 +368,7 @@ public struct DBInstanceNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -392,7 +392,7 @@ public struct DBInstanceRoleAlreadyExistsFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -416,7 +416,7 @@ public struct DBInstanceRoleQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -440,7 +440,7 @@ public struct InvalidDBInstanceStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -487,7 +487,7 @@ public struct SourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -511,7 +511,7 @@ public struct SubscriptionNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -632,7 +632,7 @@ public struct BlueGreenDeploymentNotFoundFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -656,7 +656,7 @@ public struct DBProxyNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -680,7 +680,7 @@ public struct DBProxyTargetGroupNotFoundFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -704,7 +704,7 @@ public struct DBSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -728,7 +728,7 @@ public struct DBSnapshotTenantDatabaseNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -752,7 +752,7 @@ public struct IntegrationNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -776,7 +776,7 @@ public struct TenantDatabaseNotFoundFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -839,7 +839,7 @@ public struct ResourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -961,7 +961,7 @@ public struct AuthorizationAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -985,7 +985,7 @@ public struct AuthorizationQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1009,7 +1009,7 @@ public struct DBSecurityGroupNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1033,7 +1033,7 @@ public struct InvalidDBSecurityGroupStateFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1277,7 +1277,7 @@ public struct ExportTaskNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1301,7 +1301,7 @@ public struct InvalidExportTaskStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1460,7 +1460,7 @@ public struct DBParameterGroupAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1484,7 +1484,7 @@ public struct DBParameterGroupNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1508,7 +1508,7 @@ public struct DBParameterGroupQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1612,7 +1612,7 @@ public struct DBClusterSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1636,7 +1636,7 @@ public struct DBClusterSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1660,7 +1660,7 @@ public struct InvalidDBClusterSnapshotStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1684,7 +1684,7 @@ public struct KMSKeyNotAccessibleFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1708,7 +1708,7 @@ public struct SnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2009,7 +2009,7 @@ public struct CustomAvailabilityZoneNotFoundFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2033,7 +2033,7 @@ public struct DBSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2057,7 +2057,7 @@ public struct InvalidDBSnapshotStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2173,11 +2173,11 @@ extension RDSClientTypes { /// * The current number CPU cores and threads is set to a non-default value. /// /// - /// For more information, see [Configuring the Processor of the DB Instance Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) in the Amazon RDS User Guide. + /// For more information, see [ Configuring the processor for a DB instance class in RDS for Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) in the Amazon RDS User Guide. public struct ProcessorFeature { /// The name of the processor feature. Valid names are coreCount and threadsPerCore. public var name: Swift.String? - /// The value of a processor feature name. + /// The value of a processor feature. public var value: Swift.String? public init( @@ -2372,7 +2372,7 @@ public struct OptionGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2396,7 +2396,7 @@ public struct OptionGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2420,7 +2420,7 @@ public struct OptionGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2697,7 +2697,7 @@ public struct BlueGreenDeploymentAlreadyExistsFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2721,7 +2721,7 @@ public struct DBClusterParameterGroupNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2745,7 +2745,7 @@ public struct DBClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2769,7 +2769,7 @@ public struct InstanceQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2793,7 +2793,7 @@ public struct SourceClusterNotSupportedFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2817,7 +2817,7 @@ public struct SourceDatabaseNotSupportedFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3033,7 +3033,7 @@ public struct CreateCustomDBEngineVersionFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3057,7 +3057,7 @@ public struct CustomDBEngineVersionAlreadyExistsFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3081,7 +3081,7 @@ public struct CustomDBEngineVersionQuotaExceededFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3105,7 +3105,7 @@ public struct Ec2ImagePropertiesNotSupportedFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3452,7 +3452,7 @@ public struct DBClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3476,7 +3476,7 @@ public struct DBSubnetGroupDoesNotCoverEnoughAZs: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3500,7 +3500,7 @@ public struct DBSubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3524,7 +3524,7 @@ public struct DomainNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3548,7 +3548,7 @@ public struct GlobalClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3572,7 +3572,7 @@ public struct InsufficientDBInstanceCapacityFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3596,7 +3596,7 @@ public struct InsufficientStorageClusterCapacityFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3620,7 +3620,7 @@ public struct InvalidDBSubnetGroupFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3644,7 +3644,7 @@ public struct InvalidDBSubnetGroupStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3668,7 +3668,7 @@ public struct InvalidGlobalClusterStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3692,7 +3692,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3716,7 +3716,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3740,7 +3740,7 @@ public struct StorageQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3909,8 +3909,6 @@ public struct CreateDBClusterInput { /// /// * Must match the name of an existing DB subnet group. /// - /// * Must not be default. - /// /// /// Example: mydbsubnetgroup public var dbSubnetGroupName: Swift.String? @@ -4282,7 +4280,7 @@ extension RDSClientTypes { } extension RDSClientTypes { - /// Returns the details of the DB instance’s server certificate. For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the Amazon RDS User Guide and [ Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the Amazon Aurora User Guide. + /// The details of the DB instance’s server certificate. For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the Amazon RDS User Guide and [ Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the Amazon Aurora User Guide. public struct CertificateDetails { /// The CA identifier of the CA certificate used for the DB instance's server certificate. public var caIdentifier: Swift.String? @@ -4591,7 +4589,7 @@ extension RDSClientTypes { public var allocatedStorage: Swift.Int? /// The number of days for which automatic DB snapshots are retained. public var backupRetentionPeriod: Swift.Int? - /// Returns the details of the DB instance’s server certificate. For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the Amazon RDS User Guide and [ Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the Amazon Aurora User Guide. + /// The details of the DB instance’s server certificate. For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the Amazon RDS User Guide and [ Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the Amazon Aurora User Guide. public var certificateDetails: RDSClientTypes.CertificateDetails? /// The DBClusterIdentifier value for the DB cluster. public var dbClusterIdentifier: Swift.String? @@ -4755,7 +4753,7 @@ extension RDSClientTypes { public var backupRetentionPeriod: Swift.Int? /// The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the cluster is paused. For more information about Aurora Serverless v1, see [Using Amazon Aurora Serverless v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) in the Amazon Aurora User Guide. public var capacity: Swift.Int? - /// Returns the details of the DB instance’s server certificate. For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the Amazon RDS User Guide and [ Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the Amazon Aurora User Guide. + /// The details of the DB instance’s server certificate. For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the Amazon RDS User Guide and [ Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the Amazon Aurora User Guide. public var certificateDetails: RDSClientTypes.CertificateDetails? /// If present, specifies the name of the character set that this cluster is associated with. public var characterSetName: Swift.String? @@ -5089,7 +5087,7 @@ public struct DBClusterEndpointAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5113,7 +5111,7 @@ public struct DBClusterEndpointQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5334,7 +5332,7 @@ public struct AuthorizationNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5358,7 +5356,7 @@ public struct BackupPolicyNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5382,7 +5380,7 @@ public struct CertificateNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5406,7 +5404,7 @@ public struct DBInstanceAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5430,7 +5428,7 @@ public struct NetworkTypeNotSupported: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5454,7 +5452,7 @@ public struct ProvisionedIopsNotAvailableInAZFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5478,7 +5476,7 @@ public struct StorageTypeNotSupportedFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5502,7 +5500,7 @@ public struct TenantDatabaseQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6968,7 +6966,7 @@ public struct DBSubnetGroupNotAllowedFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7365,7 +7363,7 @@ public struct DBProxyAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7389,7 +7387,7 @@ public struct DBProxyQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7797,7 +7795,7 @@ public struct DBProxyEndpointAlreadyExistsFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7821,7 +7819,7 @@ public struct DBProxyEndpointQuotaExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7845,7 +7843,7 @@ public struct InvalidDBProxyStateFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8042,7 +8040,7 @@ public struct DBSecurityGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8066,7 +8064,7 @@ public struct DBSecurityGroupNotSupportedFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8090,7 +8088,7 @@ public struct DBSecurityGroupQuotaExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8160,7 +8158,7 @@ public struct DBShardGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8184,7 +8182,7 @@ public struct InvalidMaxAcuFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8208,7 +8206,7 @@ public struct MaxDBShardGroupLimitReached: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8232,7 +8230,7 @@ public struct UnsupportedDBEngineVersionFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8398,7 +8396,7 @@ public struct DBSubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8422,7 +8420,7 @@ public struct DBSubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8446,7 +8444,7 @@ public struct DBSubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8519,7 +8517,7 @@ public struct EventSubscriptionQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8543,7 +8541,7 @@ public struct SNSInvalidTopicFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8567,7 +8565,7 @@ public struct SNSNoAuthorizationFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8591,7 +8589,7 @@ public struct SNSTopicArnNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8615,7 +8613,7 @@ public struct SubscriptionAlreadyExistFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8639,7 +8637,7 @@ public struct SubscriptionCategoryNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8730,7 +8728,7 @@ public struct GlobalClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8754,7 +8752,7 @@ public struct GlobalClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9035,7 +9033,7 @@ public struct IntegrationAlreadyExistsFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9059,7 +9057,7 @@ public struct IntegrationConflictOperationFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9083,7 +9081,7 @@ public struct IntegrationQuotaExceededFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9352,7 +9350,7 @@ public struct TenantDatabaseAlreadyExistsFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9532,7 +9530,7 @@ public struct InvalidBlueGreenDeploymentStateFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9587,7 +9585,7 @@ public struct CustomDBEngineVersionNotFoundFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9611,7 +9609,7 @@ public struct InvalidCustomDBEngineVersionStateFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9806,7 +9804,7 @@ public struct DBClusterAutomatedBackupQuotaExceededFault: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9876,7 +9874,7 @@ public struct DBClusterAutomatedBackupNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9900,7 +9898,7 @@ public struct InvalidDBClusterAutomatedBackupStateFault: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10083,7 +10081,7 @@ public struct DBClusterEndpointNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10107,7 +10105,7 @@ public struct InvalidDBClusterEndpointStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10204,7 +10202,7 @@ public struct InvalidDBParameterGroupStateFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10274,7 +10272,7 @@ public struct DBInstanceAutomatedBackupQuotaExceededFault: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10346,7 +10344,7 @@ public struct DBInstanceAutomatedBackupNotFoundFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10370,7 +10368,7 @@ public struct InvalidDBInstanceAutomatedBackupStateFault: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10610,7 +10608,7 @@ public struct DBProxyEndpointNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10634,7 +10632,7 @@ public struct InvalidDBProxyEndpointStateFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10705,7 +10703,7 @@ public struct DBShardGroupNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10729,7 +10727,7 @@ public struct InvalidDBShardGroupStateFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10838,7 +10836,7 @@ public struct InvalidDBSubnetStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10876,7 +10874,7 @@ public struct InvalidEventSubscriptionStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10951,7 +10949,7 @@ public struct InvalidIntegrationStateFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11045,7 +11043,7 @@ public struct InvalidOptionGroupStateFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11121,7 +11119,7 @@ public struct DBProxyTargetNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11434,7 +11432,7 @@ public struct DBClusterBacktrackNotFoundFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15543,7 +15541,7 @@ public struct ReservedDBInstanceNotFoundFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15733,7 +15731,7 @@ public struct ReservedDBInstancesOfferingNotFoundFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16127,7 +16125,7 @@ public struct InvalidResourceStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16180,7 +16178,7 @@ public struct DBLogFileNotFoundFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16503,7 +16501,7 @@ public struct InvalidDBClusterCapacityFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16797,7 +16795,7 @@ public struct StorageTypeNotAvailableFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17256,7 +17254,7 @@ public struct SharedSnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17319,7 +17317,7 @@ public struct DBUpgradeDependencyFailureFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18213,7 +18211,7 @@ public struct SubnetAlreadyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18662,7 +18660,7 @@ public struct ReservedDBInstanceAlreadyExistsFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18686,7 +18684,7 @@ public struct ReservedDBInstanceQuotaExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18866,7 +18864,7 @@ public struct DBProxyTargetAlreadyRegisteredFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18890,7 +18888,7 @@ public struct InsufficientAvailableIPsInSubnetFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18979,7 +18977,7 @@ public struct DBClusterRoleNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19025,7 +19023,7 @@ public struct DBInstanceRoleNotFoundFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19203,7 +19201,7 @@ public struct InvalidS3BucketFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19451,7 +19449,7 @@ public struct InsufficientDBClusterCapacityFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19475,7 +19473,7 @@ public struct InvalidRestoreFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -20554,7 +20552,7 @@ public struct PointInTimeRestoreNotEnabledFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21117,7 +21115,7 @@ public struct ExportTaskAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21141,7 +21139,7 @@ public struct IamRoleMissingPermissionsFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21165,7 +21163,7 @@ public struct IamRoleNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21189,7 +21187,7 @@ public struct InvalidExportOnlyFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21213,7 +21211,7 @@ public struct InvalidExportSourceStateFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -25282,21 +25280,21 @@ extension SwitchoverReadReplicaInput { extension AddRoleToDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddRoleToDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddRoleToDBClusterOutput { return AddRoleToDBClusterOutput() } } extension AddRoleToDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddRoleToDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddRoleToDBInstanceOutput { return AddRoleToDBInstanceOutput() } } extension AddSourceIdentifierToSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddSourceIdentifierToSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddSourceIdentifierToSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddSourceIdentifierToSubscriptionResult"] @@ -25308,14 +25306,14 @@ extension AddSourceIdentifierToSubscriptionOutput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { return AddTagsToResourceOutput() } } extension ApplyPendingMaintenanceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ApplyPendingMaintenanceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ApplyPendingMaintenanceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ApplyPendingMaintenanceActionResult"] @@ -25327,7 +25325,7 @@ extension ApplyPendingMaintenanceActionOutput { extension AuthorizeDBSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeDBSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeDBSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AuthorizeDBSecurityGroupIngressResult"] @@ -25339,7 +25337,7 @@ extension AuthorizeDBSecurityGroupIngressOutput { extension BacktrackDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BacktrackDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BacktrackDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BacktrackDBClusterResult"] @@ -25356,7 +25354,7 @@ extension BacktrackDBClusterOutput { extension CancelExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelExportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CancelExportTaskResult"] @@ -25383,7 +25381,7 @@ extension CancelExportTaskOutput { extension CopyDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBClusterParameterGroupResult"] @@ -25395,7 +25393,7 @@ extension CopyDBClusterParameterGroupOutput { extension CopyDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBClusterSnapshotResult"] @@ -25407,7 +25405,7 @@ extension CopyDBClusterSnapshotOutput { extension CopyDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBParameterGroupResult"] @@ -25419,7 +25417,7 @@ extension CopyDBParameterGroupOutput { extension CopyDBSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyDBSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyDBSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyDBSnapshotResult"] @@ -25431,7 +25429,7 @@ extension CopyDBSnapshotOutput { extension CopyOptionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyOptionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyOptionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyOptionGroupResult"] @@ -25443,7 +25441,7 @@ extension CopyOptionGroupOutput { extension CreateBlueGreenDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBlueGreenDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBlueGreenDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateBlueGreenDeploymentResult"] @@ -25455,7 +25453,7 @@ extension CreateBlueGreenDeploymentOutput { extension CreateCustomDBEngineVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomDBEngineVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomDBEngineVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateCustomDBEngineVersionResult"] @@ -25500,7 +25498,7 @@ extension CreateCustomDBEngineVersionOutput { extension CreateDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterResult"] @@ -25512,7 +25510,7 @@ extension CreateDBClusterOutput { extension CreateDBClusterEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterEndpointResult"] @@ -25533,7 +25531,7 @@ extension CreateDBClusterEndpointOutput { extension CreateDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterParameterGroupResult"] @@ -25545,7 +25543,7 @@ extension CreateDBClusterParameterGroupOutput { extension CreateDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBClusterSnapshotResult"] @@ -25557,7 +25555,7 @@ extension CreateDBClusterSnapshotOutput { extension CreateDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBInstanceResult"] @@ -25569,7 +25567,7 @@ extension CreateDBInstanceOutput { extension CreateDBInstanceReadReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBInstanceReadReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBInstanceReadReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBInstanceReadReplicaResult"] @@ -25581,7 +25579,7 @@ extension CreateDBInstanceReadReplicaOutput { extension CreateDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBParameterGroupResult"] @@ -25593,7 +25591,7 @@ extension CreateDBParameterGroupOutput { extension CreateDBProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBProxyResult"] @@ -25605,7 +25603,7 @@ extension CreateDBProxyOutput { extension CreateDBProxyEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBProxyEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBProxyEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBProxyEndpointResult"] @@ -25617,7 +25615,7 @@ extension CreateDBProxyEndpointOutput { extension CreateDBSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBSecurityGroupResult"] @@ -25629,7 +25627,7 @@ extension CreateDBSecurityGroupOutput { extension CreateDBShardGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBShardGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBShardGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBShardGroupResult"] @@ -25648,7 +25646,7 @@ extension CreateDBShardGroupOutput { extension CreateDBSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBSnapshotResult"] @@ -25660,7 +25658,7 @@ extension CreateDBSnapshotOutput { extension CreateDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDBSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateDBSubnetGroupResult"] @@ -25672,7 +25670,7 @@ extension CreateDBSubnetGroupOutput { extension CreateEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateEventSubscriptionResult"] @@ -25684,7 +25682,7 @@ extension CreateEventSubscriptionOutput { extension CreateGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateGlobalClusterResult"] @@ -25696,7 +25694,7 @@ extension CreateGlobalClusterOutput { extension CreateIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateIntegrationResult"] @@ -25719,7 +25717,7 @@ extension CreateIntegrationOutput { extension CreateOptionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOptionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOptionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateOptionGroupResult"] @@ -25731,7 +25729,7 @@ extension CreateOptionGroupOutput { extension CreateTenantDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTenantDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTenantDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateTenantDatabaseResult"] @@ -25743,7 +25741,7 @@ extension CreateTenantDatabaseOutput { extension DeleteBlueGreenDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBlueGreenDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBlueGreenDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteBlueGreenDeploymentResult"] @@ -25755,7 +25753,7 @@ extension DeleteBlueGreenDeploymentOutput { extension DeleteCustomDBEngineVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomDBEngineVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomDBEngineVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteCustomDBEngineVersionResult"] @@ -25800,7 +25798,7 @@ extension DeleteCustomDBEngineVersionOutput { extension DeleteDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterResult"] @@ -25812,7 +25810,7 @@ extension DeleteDBClusterOutput { extension DeleteDBClusterAutomatedBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterAutomatedBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterAutomatedBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterAutomatedBackupResult"] @@ -25824,7 +25822,7 @@ extension DeleteDBClusterAutomatedBackupOutput { extension DeleteDBClusterEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterEndpointResult"] @@ -25845,14 +25843,14 @@ extension DeleteDBClusterEndpointOutput { extension DeleteDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterParameterGroupOutput { return DeleteDBClusterParameterGroupOutput() } } extension DeleteDBClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBClusterSnapshotResult"] @@ -25864,7 +25862,7 @@ extension DeleteDBClusterSnapshotOutput { extension DeleteDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBInstanceResult"] @@ -25876,7 +25874,7 @@ extension DeleteDBInstanceOutput { extension DeleteDBInstanceAutomatedBackupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBInstanceAutomatedBackupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBInstanceAutomatedBackupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBInstanceAutomatedBackupResult"] @@ -25888,14 +25886,14 @@ extension DeleteDBInstanceAutomatedBackupOutput { extension DeleteDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBParameterGroupOutput { return DeleteDBParameterGroupOutput() } } extension DeleteDBProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBProxyResult"] @@ -25907,7 +25905,7 @@ extension DeleteDBProxyOutput { extension DeleteDBProxyEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBProxyEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBProxyEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBProxyEndpointResult"] @@ -25919,14 +25917,14 @@ extension DeleteDBProxyEndpointOutput { extension DeleteDBSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBSecurityGroupOutput { return DeleteDBSecurityGroupOutput() } } extension DeleteDBShardGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBShardGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBShardGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBShardGroupResult"] @@ -25945,7 +25943,7 @@ extension DeleteDBShardGroupOutput { extension DeleteDBSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteDBSnapshotResult"] @@ -25957,14 +25955,14 @@ extension DeleteDBSnapshotOutput { extension DeleteDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDBSubnetGroupOutput { return DeleteDBSubnetGroupOutput() } } extension DeleteEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteEventSubscriptionResult"] @@ -25976,7 +25974,7 @@ extension DeleteEventSubscriptionOutput { extension DeleteGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteGlobalClusterResult"] @@ -25988,7 +25986,7 @@ extension DeleteGlobalClusterOutput { extension DeleteIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteIntegrationResult"] @@ -26011,14 +26009,14 @@ extension DeleteIntegrationOutput { extension DeleteOptionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOptionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOptionGroupOutput { return DeleteOptionGroupOutput() } } extension DeleteTenantDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTenantDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTenantDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteTenantDatabaseResult"] @@ -26030,14 +26028,14 @@ extension DeleteTenantDatabaseOutput { extension DeregisterDBProxyTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterDBProxyTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterDBProxyTargetsOutput { return DeregisterDBProxyTargetsOutput() } } extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountAttributesResult"] @@ -26049,7 +26047,7 @@ extension DescribeAccountAttributesOutput { extension DescribeBlueGreenDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBlueGreenDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBlueGreenDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeBlueGreenDeploymentsResult"] @@ -26062,7 +26060,7 @@ extension DescribeBlueGreenDeploymentsOutput { extension DescribeCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCertificatesResult"] @@ -26076,7 +26074,7 @@ extension DescribeCertificatesOutput { extension DescribeDBClusterAutomatedBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterAutomatedBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterAutomatedBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterAutomatedBackupsResult"] @@ -26089,7 +26087,7 @@ extension DescribeDBClusterAutomatedBackupsOutput { extension DescribeDBClusterBacktracksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterBacktracksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterBacktracksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterBacktracksResult"] @@ -26102,7 +26100,7 @@ extension DescribeDBClusterBacktracksOutput { extension DescribeDBClusterEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterEndpointsResult"] @@ -26115,7 +26113,7 @@ extension DescribeDBClusterEndpointsOutput { extension DescribeDBClusterParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterParameterGroupsResult"] @@ -26128,7 +26126,7 @@ extension DescribeDBClusterParameterGroupsOutput { extension DescribeDBClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterParametersResult"] @@ -26141,7 +26139,7 @@ extension DescribeDBClusterParametersOutput { extension DescribeDBClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClustersResult"] @@ -26154,7 +26152,7 @@ extension DescribeDBClustersOutput { extension DescribeDBClusterSnapshotAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterSnapshotAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterSnapshotAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterSnapshotAttributesResult"] @@ -26166,7 +26164,7 @@ extension DescribeDBClusterSnapshotAttributesOutput { extension DescribeDBClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBClusterSnapshotsResult"] @@ -26179,7 +26177,7 @@ extension DescribeDBClusterSnapshotsOutput { extension DescribeDBEngineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBEngineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBEngineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBEngineVersionsResult"] @@ -26192,7 +26190,7 @@ extension DescribeDBEngineVersionsOutput { extension DescribeDBInstanceAutomatedBackupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBInstanceAutomatedBackupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBInstanceAutomatedBackupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBInstanceAutomatedBackupsResult"] @@ -26205,7 +26203,7 @@ extension DescribeDBInstanceAutomatedBackupsOutput { extension DescribeDBInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBInstancesResult"] @@ -26218,7 +26216,7 @@ extension DescribeDBInstancesOutput { extension DescribeDBLogFilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBLogFilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBLogFilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBLogFilesResult"] @@ -26231,7 +26229,7 @@ extension DescribeDBLogFilesOutput { extension DescribeDBParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBParameterGroupsResult"] @@ -26244,7 +26242,7 @@ extension DescribeDBParameterGroupsOutput { extension DescribeDBParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBParametersResult"] @@ -26257,7 +26255,7 @@ extension DescribeDBParametersOutput { extension DescribeDBProxiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBProxiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBProxiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBProxiesResult"] @@ -26270,7 +26268,7 @@ extension DescribeDBProxiesOutput { extension DescribeDBProxyEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBProxyEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBProxyEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBProxyEndpointsResult"] @@ -26283,7 +26281,7 @@ extension DescribeDBProxyEndpointsOutput { extension DescribeDBProxyTargetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBProxyTargetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBProxyTargetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBProxyTargetGroupsResult"] @@ -26296,7 +26294,7 @@ extension DescribeDBProxyTargetGroupsOutput { extension DescribeDBProxyTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBProxyTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBProxyTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBProxyTargetsResult"] @@ -26309,7 +26307,7 @@ extension DescribeDBProxyTargetsOutput { extension DescribeDBRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBRecommendationsResult"] @@ -26322,7 +26320,7 @@ extension DescribeDBRecommendationsOutput { extension DescribeDBSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSecurityGroupsResult"] @@ -26335,7 +26333,7 @@ extension DescribeDBSecurityGroupsOutput { extension DescribeDBShardGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBShardGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBShardGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBShardGroupsResult"] @@ -26348,7 +26346,7 @@ extension DescribeDBShardGroupsOutput { extension DescribeDBSnapshotAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSnapshotAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSnapshotAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSnapshotAttributesResult"] @@ -26360,7 +26358,7 @@ extension DescribeDBSnapshotAttributesOutput { extension DescribeDBSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSnapshotsResult"] @@ -26373,7 +26371,7 @@ extension DescribeDBSnapshotsOutput { extension DescribeDBSnapshotTenantDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSnapshotTenantDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSnapshotTenantDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSnapshotTenantDatabasesResult"] @@ -26386,7 +26384,7 @@ extension DescribeDBSnapshotTenantDatabasesOutput { extension DescribeDBSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDBSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDBSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDBSubnetGroupsResult"] @@ -26399,7 +26397,7 @@ extension DescribeDBSubnetGroupsOutput { extension DescribeEngineDefaultClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineDefaultClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineDefaultClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEngineDefaultClusterParametersResult"] @@ -26411,7 +26409,7 @@ extension DescribeEngineDefaultClusterParametersOutput { extension DescribeEngineDefaultParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngineDefaultParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngineDefaultParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEngineDefaultParametersResult"] @@ -26423,7 +26421,7 @@ extension DescribeEngineDefaultParametersOutput { extension DescribeEventCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventCategoriesResult"] @@ -26435,7 +26433,7 @@ extension DescribeEventCategoriesOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventsResult"] @@ -26448,7 +26446,7 @@ extension DescribeEventsOutput { extension DescribeEventSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventSubscriptionsResult"] @@ -26461,7 +26459,7 @@ extension DescribeEventSubscriptionsOutput { extension DescribeExportTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExportTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExportTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeExportTasksResult"] @@ -26474,7 +26472,7 @@ extension DescribeExportTasksOutput { extension DescribeGlobalClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGlobalClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGlobalClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeGlobalClustersResult"] @@ -26487,7 +26485,7 @@ extension DescribeGlobalClustersOutput { extension DescribeIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeIntegrationsResult"] @@ -26500,7 +26498,7 @@ extension DescribeIntegrationsOutput { extension DescribeOptionGroupOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOptionGroupOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOptionGroupOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOptionGroupOptionsResult"] @@ -26513,7 +26511,7 @@ extension DescribeOptionGroupOptionsOutput { extension DescribeOptionGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOptionGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOptionGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOptionGroupsResult"] @@ -26526,7 +26524,7 @@ extension DescribeOptionGroupsOutput { extension DescribeOrderableDBInstanceOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrderableDBInstanceOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrderableDBInstanceOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOrderableDBInstanceOptionsResult"] @@ -26539,7 +26537,7 @@ extension DescribeOrderableDBInstanceOptionsOutput { extension DescribePendingMaintenanceActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePendingMaintenanceActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePendingMaintenanceActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePendingMaintenanceActionsResult"] @@ -26552,7 +26550,7 @@ extension DescribePendingMaintenanceActionsOutput { extension DescribeReservedDBInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedDBInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedDBInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedDBInstancesResult"] @@ -26565,7 +26563,7 @@ extension DescribeReservedDBInstancesOutput { extension DescribeReservedDBInstancesOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedDBInstancesOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedDBInstancesOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedDBInstancesOfferingsResult"] @@ -26578,7 +26576,7 @@ extension DescribeReservedDBInstancesOfferingsOutput { extension DescribeSourceRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSourceRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSourceRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeSourceRegionsResult"] @@ -26591,7 +26589,7 @@ extension DescribeSourceRegionsOutput { extension DescribeTenantDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTenantDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTenantDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTenantDatabasesResult"] @@ -26604,7 +26602,7 @@ extension DescribeTenantDatabasesOutput { extension DescribeValidDBInstanceModificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeValidDBInstanceModificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeValidDBInstanceModificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeValidDBInstanceModificationsResult"] @@ -26616,7 +26614,7 @@ extension DescribeValidDBInstanceModificationsOutput { extension DisableHttpEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableHttpEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableHttpEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisableHttpEndpointResult"] @@ -26629,7 +26627,7 @@ extension DisableHttpEndpointOutput { extension DownloadDBLogFilePortionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DownloadDBLogFilePortionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DownloadDBLogFilePortionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DownloadDBLogFilePortionResult"] @@ -26643,7 +26641,7 @@ extension DownloadDBLogFilePortionOutput { extension EnableHttpEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableHttpEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableHttpEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EnableHttpEndpointResult"] @@ -26656,7 +26654,7 @@ extension EnableHttpEndpointOutput { extension FailoverDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverDBClusterResult"] @@ -26668,7 +26666,7 @@ extension FailoverDBClusterOutput { extension FailoverGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverGlobalClusterResult"] @@ -26680,7 +26678,7 @@ extension FailoverGlobalClusterOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -26692,7 +26690,7 @@ extension ListTagsForResourceOutput { extension ModifyActivityStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyActivityStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyActivityStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyActivityStreamResult"] @@ -26709,7 +26707,7 @@ extension ModifyActivityStreamOutput { extension ModifyCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCertificatesResult"] @@ -26721,7 +26719,7 @@ extension ModifyCertificatesOutput { extension ModifyCurrentDBClusterCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCurrentDBClusterCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCurrentDBClusterCapacityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCurrentDBClusterCapacityResult"] @@ -26737,7 +26735,7 @@ extension ModifyCurrentDBClusterCapacityOutput { extension ModifyCustomDBEngineVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCustomDBEngineVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCustomDBEngineVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCustomDBEngineVersionResult"] @@ -26782,7 +26780,7 @@ extension ModifyCustomDBEngineVersionOutput { extension ModifyDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterResult"] @@ -26794,7 +26792,7 @@ extension ModifyDBClusterOutput { extension ModifyDBClusterEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterEndpointResult"] @@ -26815,7 +26813,7 @@ extension ModifyDBClusterEndpointOutput { extension ModifyDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterParameterGroupResult"] @@ -26827,7 +26825,7 @@ extension ModifyDBClusterParameterGroupOutput { extension ModifyDBClusterSnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBClusterSnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBClusterSnapshotAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBClusterSnapshotAttributeResult"] @@ -26839,7 +26837,7 @@ extension ModifyDBClusterSnapshotAttributeOutput { extension ModifyDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBInstanceResult"] @@ -26851,7 +26849,7 @@ extension ModifyDBInstanceOutput { extension ModifyDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBParameterGroupResult"] @@ -26863,7 +26861,7 @@ extension ModifyDBParameterGroupOutput { extension ModifyDBProxyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBProxyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBProxyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBProxyResult"] @@ -26875,7 +26873,7 @@ extension ModifyDBProxyOutput { extension ModifyDBProxyEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBProxyEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBProxyEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBProxyEndpointResult"] @@ -26887,7 +26885,7 @@ extension ModifyDBProxyEndpointOutput { extension ModifyDBProxyTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBProxyTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBProxyTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBProxyTargetGroupResult"] @@ -26899,7 +26897,7 @@ extension ModifyDBProxyTargetGroupOutput { extension ModifyDBRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBRecommendationResult"] @@ -26911,7 +26909,7 @@ extension ModifyDBRecommendationOutput { extension ModifyDBShardGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBShardGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBShardGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBShardGroupResult"] @@ -26930,7 +26928,7 @@ extension ModifyDBShardGroupOutput { extension ModifyDBSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBSnapshotResult"] @@ -26942,7 +26940,7 @@ extension ModifyDBSnapshotOutput { extension ModifyDBSnapshotAttributeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBSnapshotAttributeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBSnapshotAttributeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBSnapshotAttributeResult"] @@ -26954,7 +26952,7 @@ extension ModifyDBSnapshotAttributeOutput { extension ModifyDBSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDBSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDBSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyDBSubnetGroupResult"] @@ -26966,7 +26964,7 @@ extension ModifyDBSubnetGroupOutput { extension ModifyEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyEventSubscriptionResult"] @@ -26978,7 +26976,7 @@ extension ModifyEventSubscriptionOutput { extension ModifyGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyGlobalClusterResult"] @@ -26990,7 +26988,7 @@ extension ModifyGlobalClusterOutput { extension ModifyIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyIntegrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyIntegrationResult"] @@ -27013,7 +27011,7 @@ extension ModifyIntegrationOutput { extension ModifyOptionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyOptionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyOptionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyOptionGroupResult"] @@ -27025,7 +27023,7 @@ extension ModifyOptionGroupOutput { extension ModifyTenantDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyTenantDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyTenantDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyTenantDatabaseResult"] @@ -27037,7 +27035,7 @@ extension ModifyTenantDatabaseOutput { extension PromoteReadReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PromoteReadReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PromoteReadReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PromoteReadReplicaResult"] @@ -27049,7 +27047,7 @@ extension PromoteReadReplicaOutput { extension PromoteReadReplicaDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PromoteReadReplicaDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PromoteReadReplicaDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PromoteReadReplicaDBClusterResult"] @@ -27061,7 +27059,7 @@ extension PromoteReadReplicaDBClusterOutput { extension PurchaseReservedDBInstancesOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedDBInstancesOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedDBInstancesOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PurchaseReservedDBInstancesOfferingResult"] @@ -27073,7 +27071,7 @@ extension PurchaseReservedDBInstancesOfferingOutput { extension RebootDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootDBClusterResult"] @@ -27085,7 +27083,7 @@ extension RebootDBClusterOutput { extension RebootDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootDBInstanceResult"] @@ -27097,7 +27095,7 @@ extension RebootDBInstanceOutput { extension RebootDBShardGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootDBShardGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootDBShardGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootDBShardGroupResult"] @@ -27116,7 +27114,7 @@ extension RebootDBShardGroupOutput { extension RegisterDBProxyTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDBProxyTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDBProxyTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RegisterDBProxyTargetsResult"] @@ -27128,7 +27126,7 @@ extension RegisterDBProxyTargetsOutput { extension RemoveFromGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveFromGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveFromGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveFromGlobalClusterResult"] @@ -27140,21 +27138,21 @@ extension RemoveFromGlobalClusterOutput { extension RemoveRoleFromDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveRoleFromDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveRoleFromDBClusterOutput { return RemoveRoleFromDBClusterOutput() } } extension RemoveRoleFromDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveRoleFromDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveRoleFromDBInstanceOutput { return RemoveRoleFromDBInstanceOutput() } } extension RemoveSourceIdentifierFromSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveSourceIdentifierFromSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveSourceIdentifierFromSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RemoveSourceIdentifierFromSubscriptionResult"] @@ -27166,14 +27164,14 @@ extension RemoveSourceIdentifierFromSubscriptionOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { return RemoveTagsFromResourceOutput() } } extension ResetDBClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDBClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDBClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetDBClusterParameterGroupResult"] @@ -27185,7 +27183,7 @@ extension ResetDBClusterParameterGroupOutput { extension ResetDBParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetDBParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetDBParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetDBParameterGroupResult"] @@ -27197,7 +27195,7 @@ extension ResetDBParameterGroupOutput { extension RestoreDBClusterFromS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterFromS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterFromS3Output { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterFromS3Result"] @@ -27209,7 +27207,7 @@ extension RestoreDBClusterFromS3Output { extension RestoreDBClusterFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterFromSnapshotResult"] @@ -27221,7 +27219,7 @@ extension RestoreDBClusterFromSnapshotOutput { extension RestoreDBClusterToPointInTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBClusterToPointInTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBClusterToPointInTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBClusterToPointInTimeResult"] @@ -27233,7 +27231,7 @@ extension RestoreDBClusterToPointInTimeOutput { extension RestoreDBInstanceFromDBSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBInstanceFromDBSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBInstanceFromDBSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBInstanceFromDBSnapshotResult"] @@ -27245,7 +27243,7 @@ extension RestoreDBInstanceFromDBSnapshotOutput { extension RestoreDBInstanceFromS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBInstanceFromS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBInstanceFromS3Output { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBInstanceFromS3Result"] @@ -27257,7 +27255,7 @@ extension RestoreDBInstanceFromS3Output { extension RestoreDBInstanceToPointInTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDBInstanceToPointInTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDBInstanceToPointInTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreDBInstanceToPointInTimeResult"] @@ -27269,7 +27267,7 @@ extension RestoreDBInstanceToPointInTimeOutput { extension RevokeDBSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeDBSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeDBSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RevokeDBSecurityGroupIngressResult"] @@ -27281,7 +27279,7 @@ extension RevokeDBSecurityGroupIngressOutput { extension StartActivityStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartActivityStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartActivityStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartActivityStreamResult"] @@ -27298,7 +27296,7 @@ extension StartActivityStreamOutput { extension StartDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartDBClusterResult"] @@ -27310,7 +27308,7 @@ extension StartDBClusterOutput { extension StartDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartDBInstanceResult"] @@ -27322,7 +27320,7 @@ extension StartDBInstanceOutput { extension StartDBInstanceAutomatedBackupsReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDBInstanceAutomatedBackupsReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDBInstanceAutomatedBackupsReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartDBInstanceAutomatedBackupsReplicationResult"] @@ -27334,7 +27332,7 @@ extension StartDBInstanceAutomatedBackupsReplicationOutput { extension StartExportTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExportTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExportTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StartExportTaskResult"] @@ -27361,7 +27359,7 @@ extension StartExportTaskOutput { extension StopActivityStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopActivityStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopActivityStreamOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StopActivityStreamResult"] @@ -27375,7 +27373,7 @@ extension StopActivityStreamOutput { extension StopDBClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDBClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDBClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StopDBClusterResult"] @@ -27387,7 +27385,7 @@ extension StopDBClusterOutput { extension StopDBInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDBInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDBInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StopDBInstanceResult"] @@ -27399,7 +27397,7 @@ extension StopDBInstanceOutput { extension StopDBInstanceAutomatedBackupsReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDBInstanceAutomatedBackupsReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDBInstanceAutomatedBackupsReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["StopDBInstanceAutomatedBackupsReplicationResult"] @@ -27411,7 +27409,7 @@ extension StopDBInstanceAutomatedBackupsReplicationOutput { extension SwitchoverBlueGreenDeploymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SwitchoverBlueGreenDeploymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SwitchoverBlueGreenDeploymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SwitchoverBlueGreenDeploymentResult"] @@ -27423,7 +27421,7 @@ extension SwitchoverBlueGreenDeploymentOutput { extension SwitchoverGlobalClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SwitchoverGlobalClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SwitchoverGlobalClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SwitchoverGlobalClusterResult"] @@ -27435,7 +27433,7 @@ extension SwitchoverGlobalClusterOutput { extension SwitchoverReadReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SwitchoverReadReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SwitchoverReadReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SwitchoverReadReplicaResult"] @@ -27447,7 +27445,7 @@ extension SwitchoverReadReplicaOutput { enum AddRoleToDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27464,7 +27462,7 @@ enum AddRoleToDBClusterOutputError { enum AddRoleToDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27481,7 +27479,7 @@ enum AddRoleToDBInstanceOutputError { enum AddSourceIdentifierToSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27496,7 +27494,7 @@ enum AddSourceIdentifierToSubscriptionOutputError { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27518,7 +27516,7 @@ enum AddTagsToResourceOutputError { enum ApplyPendingMaintenanceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27534,7 +27532,7 @@ enum ApplyPendingMaintenanceActionOutputError { enum AuthorizeDBSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27551,7 +27549,7 @@ enum AuthorizeDBSecurityGroupIngressOutputError { enum BacktrackDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27566,7 +27564,7 @@ enum BacktrackDBClusterOutputError { enum CancelExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27581,7 +27579,7 @@ enum CancelExportTaskOutputError { enum CopyDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27597,7 +27595,7 @@ enum CopyDBClusterParameterGroupOutputError { enum CopyDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27616,7 +27614,7 @@ enum CopyDBClusterSnapshotOutputError { enum CopyDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27632,7 +27630,7 @@ enum CopyDBParameterGroupOutputError { enum CopyDBSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27651,7 +27649,7 @@ enum CopyDBSnapshotOutputError { enum CopyOptionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27667,7 +27665,7 @@ enum CopyOptionGroupOutputError { enum CreateBlueGreenDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27691,7 +27689,7 @@ enum CreateBlueGreenDeploymentOutputError { enum CreateCustomDBEngineVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27709,7 +27707,7 @@ enum CreateCustomDBEngineVersionOutputError { enum CreateDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27743,7 +27741,7 @@ enum CreateDBClusterOutputError { enum CreateDBClusterEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27762,7 +27760,7 @@ enum CreateDBClusterEndpointOutputError { enum CreateDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27777,7 +27775,7 @@ enum CreateDBClusterParameterGroupOutputError { enum CreateDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27795,7 +27793,7 @@ enum CreateDBClusterSnapshotOutputError { enum CreateDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27830,7 +27828,7 @@ enum CreateDBInstanceOutputError { enum CreateDBInstanceReadReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27867,7 +27865,7 @@ enum CreateDBInstanceReadReplicaOutputError { enum CreateDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27882,7 +27880,7 @@ enum CreateDBParameterGroupOutputError { enum CreateDBProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27898,7 +27896,7 @@ enum CreateDBProxyOutputError { enum CreateDBProxyEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27916,7 +27914,7 @@ enum CreateDBProxyEndpointOutputError { enum CreateDBSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27932,7 +27930,7 @@ enum CreateDBSecurityGroupOutputError { enum CreateDBShardGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27952,7 +27950,7 @@ enum CreateDBShardGroupOutputError { enum CreateDBSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27969,7 +27967,7 @@ enum CreateDBSnapshotOutputError { enum CreateDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -27987,7 +27985,7 @@ enum CreateDBSubnetGroupOutputError { enum CreateEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28007,7 +28005,7 @@ enum CreateEventSubscriptionOutputError { enum CreateGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28024,7 +28022,7 @@ enum CreateGlobalClusterOutputError { enum CreateIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28043,7 +28041,7 @@ enum CreateIntegrationOutputError { enum CreateOptionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28058,7 +28056,7 @@ enum CreateOptionGroupOutputError { enum CreateTenantDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28075,7 +28073,7 @@ enum CreateTenantDatabaseOutputError { enum DeleteBlueGreenDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28090,7 +28088,7 @@ enum DeleteBlueGreenDeploymentOutputError { enum DeleteCustomDBEngineVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28105,7 +28103,7 @@ enum DeleteCustomDBEngineVersionOutputError { enum DeleteDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28124,7 +28122,7 @@ enum DeleteDBClusterOutputError { enum DeleteDBClusterAutomatedBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28139,7 +28137,7 @@ enum DeleteDBClusterAutomatedBackupOutputError { enum DeleteDBClusterEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28155,7 +28153,7 @@ enum DeleteDBClusterEndpointOutputError { enum DeleteDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28170,7 +28168,7 @@ enum DeleteDBClusterParameterGroupOutputError { enum DeleteDBClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28185,7 +28183,7 @@ enum DeleteDBClusterSnapshotOutputError { enum DeleteDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28204,7 +28202,7 @@ enum DeleteDBInstanceOutputError { enum DeleteDBInstanceAutomatedBackupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28219,7 +28217,7 @@ enum DeleteDBInstanceAutomatedBackupOutputError { enum DeleteDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28234,7 +28232,7 @@ enum DeleteDBParameterGroupOutputError { enum DeleteDBProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28249,7 +28247,7 @@ enum DeleteDBProxyOutputError { enum DeleteDBProxyEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28264,7 +28262,7 @@ enum DeleteDBProxyEndpointOutputError { enum DeleteDBSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28279,7 +28277,7 @@ enum DeleteDBSecurityGroupOutputError { enum DeleteDBShardGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28295,7 +28293,7 @@ enum DeleteDBShardGroupOutputError { enum DeleteDBSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28310,7 +28308,7 @@ enum DeleteDBSnapshotOutputError { enum DeleteDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28326,7 +28324,7 @@ enum DeleteDBSubnetGroupOutputError { enum DeleteEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28341,7 +28339,7 @@ enum DeleteEventSubscriptionOutputError { enum DeleteGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28356,7 +28354,7 @@ enum DeleteGlobalClusterOutputError { enum DeleteIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28372,7 +28370,7 @@ enum DeleteIntegrationOutputError { enum DeleteOptionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28387,7 +28385,7 @@ enum DeleteOptionGroupOutputError { enum DeleteTenantDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28403,7 +28401,7 @@ enum DeleteTenantDatabaseOutputError { enum DeregisterDBProxyTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28420,7 +28418,7 @@ enum DeregisterDBProxyTargetsOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28433,7 +28431,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeBlueGreenDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28447,7 +28445,7 @@ enum DescribeBlueGreenDeploymentsOutputError { enum DescribeCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28461,7 +28459,7 @@ enum DescribeCertificatesOutputError { enum DescribeDBClusterAutomatedBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28475,7 +28473,7 @@ enum DescribeDBClusterAutomatedBackupsOutputError { enum DescribeDBClusterBacktracksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28490,7 +28488,7 @@ enum DescribeDBClusterBacktracksOutputError { enum DescribeDBClusterEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28504,7 +28502,7 @@ enum DescribeDBClusterEndpointsOutputError { enum DescribeDBClusterParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28518,7 +28516,7 @@ enum DescribeDBClusterParameterGroupsOutputError { enum DescribeDBClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28532,7 +28530,7 @@ enum DescribeDBClusterParametersOutputError { enum DescribeDBClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28546,7 +28544,7 @@ enum DescribeDBClustersOutputError { enum DescribeDBClusterSnapshotAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28560,7 +28558,7 @@ enum DescribeDBClusterSnapshotAttributesOutputError { enum DescribeDBClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28574,7 +28572,7 @@ enum DescribeDBClusterSnapshotsOutputError { enum DescribeDBEngineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28587,7 +28585,7 @@ enum DescribeDBEngineVersionsOutputError { enum DescribeDBInstanceAutomatedBackupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28601,7 +28599,7 @@ enum DescribeDBInstanceAutomatedBackupsOutputError { enum DescribeDBInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28615,7 +28613,7 @@ enum DescribeDBInstancesOutputError { enum DescribeDBLogFilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28629,7 +28627,7 @@ enum DescribeDBLogFilesOutputError { enum DescribeDBParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28643,7 +28641,7 @@ enum DescribeDBParameterGroupsOutputError { enum DescribeDBParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28657,7 +28655,7 @@ enum DescribeDBParametersOutputError { enum DescribeDBProxiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28671,7 +28669,7 @@ enum DescribeDBProxiesOutputError { enum DescribeDBProxyEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28686,7 +28684,7 @@ enum DescribeDBProxyEndpointsOutputError { enum DescribeDBProxyTargetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28702,7 +28700,7 @@ enum DescribeDBProxyTargetGroupsOutputError { enum DescribeDBProxyTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28719,7 +28717,7 @@ enum DescribeDBProxyTargetsOutputError { enum DescribeDBRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28732,7 +28730,7 @@ enum DescribeDBRecommendationsOutputError { enum DescribeDBSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28746,7 +28744,7 @@ enum DescribeDBSecurityGroupsOutputError { enum DescribeDBShardGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28761,7 +28759,7 @@ enum DescribeDBShardGroupsOutputError { enum DescribeDBSnapshotAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28775,7 +28773,7 @@ enum DescribeDBSnapshotAttributesOutputError { enum DescribeDBSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28789,7 +28787,7 @@ enum DescribeDBSnapshotsOutputError { enum DescribeDBSnapshotTenantDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28803,7 +28801,7 @@ enum DescribeDBSnapshotTenantDatabasesOutputError { enum DescribeDBSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28817,7 +28815,7 @@ enum DescribeDBSubnetGroupsOutputError { enum DescribeEngineDefaultClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28830,7 +28828,7 @@ enum DescribeEngineDefaultClusterParametersOutputError { enum DescribeEngineDefaultParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28843,7 +28841,7 @@ enum DescribeEngineDefaultParametersOutputError { enum DescribeEventCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28856,7 +28854,7 @@ enum DescribeEventCategoriesOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28869,7 +28867,7 @@ enum DescribeEventsOutputError { enum DescribeEventSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28883,7 +28881,7 @@ enum DescribeEventSubscriptionsOutputError { enum DescribeExportTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28897,7 +28895,7 @@ enum DescribeExportTasksOutputError { enum DescribeGlobalClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28911,7 +28909,7 @@ enum DescribeGlobalClustersOutputError { enum DescribeIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28925,7 +28923,7 @@ enum DescribeIntegrationsOutputError { enum DescribeOptionGroupOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28938,7 +28936,7 @@ enum DescribeOptionGroupOptionsOutputError { enum DescribeOptionGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28952,7 +28950,7 @@ enum DescribeOptionGroupsOutputError { enum DescribeOrderableDBInstanceOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28965,7 +28963,7 @@ enum DescribeOrderableDBInstanceOptionsOutputError { enum DescribePendingMaintenanceActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28979,7 +28977,7 @@ enum DescribePendingMaintenanceActionsOutputError { enum DescribeReservedDBInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28993,7 +28991,7 @@ enum DescribeReservedDBInstancesOutputError { enum DescribeReservedDBInstancesOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29007,7 +29005,7 @@ enum DescribeReservedDBInstancesOfferingsOutputError { enum DescribeSourceRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29020,7 +29018,7 @@ enum DescribeSourceRegionsOutputError { enum DescribeTenantDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29034,7 +29032,7 @@ enum DescribeTenantDatabasesOutputError { enum DescribeValidDBInstanceModificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29049,7 +29047,7 @@ enum DescribeValidDBInstanceModificationsOutputError { enum DisableHttpEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29064,7 +29062,7 @@ enum DisableHttpEndpointOutputError { enum DownloadDBLogFilePortionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29079,7 +29077,7 @@ enum DownloadDBLogFilePortionOutputError { enum EnableHttpEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29094,7 +29092,7 @@ enum EnableHttpEndpointOutputError { enum FailoverDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29110,7 +29108,7 @@ enum FailoverDBClusterOutputError { enum FailoverGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29127,7 +29125,7 @@ enum FailoverGlobalClusterOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29149,7 +29147,7 @@ enum ListTagsForResourceOutputError { enum ModifyActivityStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29165,7 +29163,7 @@ enum ModifyActivityStreamOutputError { enum ModifyCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29179,7 +29177,7 @@ enum ModifyCertificatesOutputError { enum ModifyCurrentDBClusterCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29195,7 +29193,7 @@ enum ModifyCurrentDBClusterCapacityOutputError { enum ModifyCustomDBEngineVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29210,7 +29208,7 @@ enum ModifyCustomDBEngineVersionOutputError { enum ModifyDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29238,7 +29236,7 @@ enum ModifyDBClusterOutputError { enum ModifyDBClusterEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29256,7 +29254,7 @@ enum ModifyDBClusterEndpointOutputError { enum ModifyDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29271,7 +29269,7 @@ enum ModifyDBClusterParameterGroupOutputError { enum ModifyDBClusterSnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29287,7 +29285,7 @@ enum ModifyDBClusterSnapshotAttributeOutputError { enum ModifyDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29321,7 +29319,7 @@ enum ModifyDBInstanceOutputError { enum ModifyDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29336,7 +29334,7 @@ enum ModifyDBParameterGroupOutputError { enum ModifyDBProxyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29352,7 +29350,7 @@ enum ModifyDBProxyOutputError { enum ModifyDBProxyEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29369,7 +29367,7 @@ enum ModifyDBProxyEndpointOutputError { enum ModifyDBProxyTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29385,7 +29383,7 @@ enum ModifyDBProxyTargetGroupOutputError { enum ModifyDBRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29398,7 +29396,7 @@ enum ModifyDBRecommendationOutputError { enum ModifyDBShardGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29415,7 +29413,7 @@ enum ModifyDBShardGroupOutputError { enum ModifyDBSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29429,7 +29427,7 @@ enum ModifyDBSnapshotOutputError { enum ModifyDBSnapshotAttributeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29445,7 +29443,7 @@ enum ModifyDBSnapshotAttributeOutputError { enum ModifyDBSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29463,7 +29461,7 @@ enum ModifyDBSubnetGroupOutputError { enum ModifyEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29482,7 +29480,7 @@ enum ModifyEventSubscriptionOutputError { enum ModifyGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29499,7 +29497,7 @@ enum ModifyGlobalClusterOutputError { enum ModifyIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29515,7 +29513,7 @@ enum ModifyIntegrationOutputError { enum ModifyOptionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29530,7 +29528,7 @@ enum ModifyOptionGroupOutputError { enum ModifyTenantDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29547,7 +29545,7 @@ enum ModifyTenantDatabaseOutputError { enum PromoteReadReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29562,7 +29560,7 @@ enum PromoteReadReplicaOutputError { enum PromoteReadReplicaDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29577,7 +29575,7 @@ enum PromoteReadReplicaDBClusterOutputError { enum PurchaseReservedDBInstancesOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29593,7 +29591,7 @@ enum PurchaseReservedDBInstancesOfferingOutputError { enum RebootDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29609,7 +29607,7 @@ enum RebootDBClusterOutputError { enum RebootDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29624,7 +29622,7 @@ enum RebootDBInstanceOutputError { enum RebootDBShardGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29639,7 +29637,7 @@ enum RebootDBShardGroupOutputError { enum RegisterDBProxyTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29661,7 +29659,7 @@ enum RegisterDBProxyTargetsOutputError { enum RemoveFromGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29677,7 +29675,7 @@ enum RemoveFromGlobalClusterOutputError { enum RemoveRoleFromDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29693,7 +29691,7 @@ enum RemoveRoleFromDBClusterOutputError { enum RemoveRoleFromDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29709,7 +29707,7 @@ enum RemoveRoleFromDBInstanceOutputError { enum RemoveSourceIdentifierFromSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29724,7 +29722,7 @@ enum RemoveSourceIdentifierFromSubscriptionOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29746,7 +29744,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetDBClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29761,7 +29759,7 @@ enum ResetDBClusterParameterGroupOutputError { enum ResetDBParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29776,7 +29774,7 @@ enum ResetDBParameterGroupOutputError { enum RestoreDBClusterFromS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29804,7 +29802,7 @@ enum RestoreDBClusterFromS3OutputError { enum RestoreDBClusterFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29837,7 +29835,7 @@ enum RestoreDBClusterFromSnapshotOutputError { enum RestoreDBClusterToPointInTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29870,7 +29868,7 @@ enum RestoreDBClusterToPointInTimeOutputError { enum RestoreDBInstanceFromDBSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29907,7 +29905,7 @@ enum RestoreDBInstanceFromDBSnapshotOutputError { enum RestoreDBInstanceFromS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29939,7 +29937,7 @@ enum RestoreDBInstanceFromS3OutputError { enum RestoreDBInstanceToPointInTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29977,7 +29975,7 @@ enum RestoreDBInstanceToPointInTimeOutputError { enum RevokeDBSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29993,7 +29991,7 @@ enum RevokeDBSecurityGroupIngressOutputError { enum StartActivityStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30012,7 +30010,7 @@ enum StartActivityStreamOutputError { enum StartDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30028,7 +30026,7 @@ enum StartDBClusterOutputError { enum StartDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30052,7 +30050,7 @@ enum StartDBInstanceOutputError { enum StartDBInstanceAutomatedBackupsReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30070,7 +30068,7 @@ enum StartDBInstanceAutomatedBackupsReplicationOutputError { enum StartExportTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30093,7 +30091,7 @@ enum StartExportTaskOutputError { enum StopActivityStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30111,7 +30109,7 @@ enum StopActivityStreamOutputError { enum StopDBClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30127,7 +30125,7 @@ enum StopDBClusterOutputError { enum StopDBInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30145,7 +30143,7 @@ enum StopDBInstanceOutputError { enum StopDBInstanceAutomatedBackupsReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30160,7 +30158,7 @@ enum StopDBInstanceAutomatedBackupsReplicationOutputError { enum SwitchoverBlueGreenDeploymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30175,7 +30173,7 @@ enum SwitchoverBlueGreenDeploymentOutputError { enum SwitchoverGlobalClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30192,7 +30190,7 @@ enum SwitchoverGlobalClusterOutputError { enum SwitchoverReadReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift index 6f6a80c292c..7fb6af5be78 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift @@ -8079,7 +8079,7 @@ extension RDSClient { /// Performs the `StartExportTask` operation on the `AmazonRDSv19` service. /// - /// Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket. You can't export snapshot data from Db2 or RDS Custom DB instances. You can't export cluster data from Multi-AZ DB clusters. For more information on exporting DB snapshot data, see [Exporting DB snapshot data to Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html) in the Amazon RDS User Guide or [Exporting DB cluster snapshot data to Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-export-snapshot.html) in the Amazon Aurora User Guide. For more information on exporting DB cluster data, see [Exporting DB cluster data to Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/export-cluster-data.html) in the Amazon Aurora User Guide. + /// Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket. You can't export snapshot data from Db2 or RDS Custom DB instances. For more information on exporting DB snapshot data, see [Exporting DB snapshot data to Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html) in the Amazon RDS User Guide or [Exporting DB cluster snapshot data to Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-export-snapshot.html) in the Amazon Aurora User Guide. For more information on exporting DB cluster data, see [Exporting DB cluster data to Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/export-cluster-data.html) in the Amazon Aurora User Guide. /// /// - Parameter StartExportTaskInput : [no documentation found] /// diff --git a/Sources/Services/AWSRDSData/Sources/AWSRDSData/Models.swift b/Sources/Services/AWSRDSData/Sources/AWSRDSData/Models.swift index 3131a5fe62d..f5a462bcc94 100644 --- a/Sources/Services/AWSRDSData/Sources/AWSRDSData/Models.swift +++ b/Sources/Services/AWSRDSData/Sources/AWSRDSData/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -60,7 +60,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct DatabaseErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -108,7 +108,7 @@ public struct DatabaseNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct DatabaseUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -146,7 +146,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -170,7 +170,7 @@ public struct HttpEndpointNotEnabledException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -188,7 +188,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -207,7 +207,7 @@ public struct InvalidSecretException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -237,7 +237,7 @@ public struct SecretsErrorException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -255,7 +255,7 @@ public struct ServiceUnavailableError: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -277,7 +277,7 @@ public struct StatementTimeoutException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -303,7 +303,7 @@ public struct TransactionNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -477,7 +477,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -573,7 +573,7 @@ public struct UnsupportedResultException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1037,7 +1037,7 @@ extension RollbackTransactionInput { extension BatchExecuteStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchExecuteStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchExecuteStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1049,7 +1049,7 @@ extension BatchExecuteStatementOutput { extension BeginTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BeginTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BeginTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1061,7 +1061,7 @@ extension BeginTransactionOutput { extension CommitTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CommitTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CommitTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1073,7 +1073,7 @@ extension CommitTransactionOutput { extension ExecuteStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1089,7 +1089,7 @@ extension ExecuteStatementOutput { extension RollbackTransactionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RollbackTransactionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RollbackTransactionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1101,7 +1101,7 @@ extension RollbackTransactionOutput { enum BatchExecuteStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1127,7 +1127,7 @@ enum BatchExecuteStatementOutputError { enum BeginTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1153,7 +1153,7 @@ enum BeginTransactionOutputError { enum CommitTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1180,7 +1180,7 @@ enum CommitTransactionOutputError { enum ExecuteStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1207,7 +1207,7 @@ enum ExecuteStatementOutputError { enum RollbackTransactionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRUM/Sources/AWSRUM/Models.swift b/Sources/Services/AWSRUM/Sources/AWSRUM/Models.swift index 39567aee87c..013edb4efdc 100644 --- a/Sources/Services/AWSRUM/Sources/AWSRUM/Models.swift +++ b/Sources/Services/AWSRUM/Sources/AWSRUM/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -350,7 +350,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -381,7 +381,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -413,7 +413,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -442,7 +442,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -473,7 +473,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -504,7 +504,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1915,7 +1915,7 @@ extension UpdateRumMetricDefinitionInput { extension BatchCreateRumMetricDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchCreateRumMetricDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchCreateRumMetricDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1928,7 +1928,7 @@ extension BatchCreateRumMetricDefinitionsOutput { extension BatchDeleteRumMetricDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteRumMetricDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteRumMetricDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1941,7 +1941,7 @@ extension BatchDeleteRumMetricDefinitionsOutput { extension BatchGetRumMetricDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetRumMetricDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetRumMetricDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1954,7 +1954,7 @@ extension BatchGetRumMetricDefinitionsOutput { extension CreateAppMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1966,21 +1966,21 @@ extension CreateAppMonitorOutput { extension DeleteAppMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppMonitorOutput { return DeleteAppMonitorOutput() } } extension DeleteRumMetricsDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRumMetricsDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRumMetricsDestinationOutput { return DeleteRumMetricsDestinationOutput() } } extension GetAppMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppMonitorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1992,7 +1992,7 @@ extension GetAppMonitorOutput { extension GetAppMonitorDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppMonitorDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppMonitorDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2005,7 +2005,7 @@ extension GetAppMonitorDataOutput { extension ListAppMonitorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppMonitorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppMonitorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2018,7 +2018,7 @@ extension ListAppMonitorsOutput { extension ListRumMetricsDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRumMetricsDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRumMetricsDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2031,7 +2031,7 @@ extension ListRumMetricsDestinationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2044,49 +2044,49 @@ extension ListTagsForResourceOutput { extension PutRumEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRumEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRumEventsOutput { return PutRumEventsOutput() } } extension PutRumMetricsDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRumMetricsDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRumMetricsDestinationOutput { return PutRumMetricsDestinationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppMonitorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppMonitorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppMonitorOutput { return UpdateAppMonitorOutput() } } extension UpdateRumMetricDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRumMetricDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRumMetricDefinitionOutput { return UpdateRumMetricDefinitionOutput() } } enum BatchCreateRumMetricDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2106,7 +2106,7 @@ enum BatchCreateRumMetricDefinitionsOutputError { enum BatchDeleteRumMetricDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2125,7 +2125,7 @@ enum BatchDeleteRumMetricDefinitionsOutputError { enum BatchGetRumMetricDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2142,7 +2142,7 @@ enum BatchGetRumMetricDefinitionsOutputError { enum CreateAppMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2162,7 +2162,7 @@ enum CreateAppMonitorOutputError { enum DeleteAppMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2181,7 +2181,7 @@ enum DeleteAppMonitorOutputError { enum DeleteRumMetricsDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2200,7 +2200,7 @@ enum DeleteRumMetricsDestinationOutputError { enum GetAppMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2218,7 +2218,7 @@ enum GetAppMonitorOutputError { enum GetAppMonitorDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2236,7 +2236,7 @@ enum GetAppMonitorDataOutputError { enum ListAppMonitorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2253,7 +2253,7 @@ enum ListAppMonitorsOutputError { enum ListRumMetricsDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2270,7 +2270,7 @@ enum ListRumMetricsDestinationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2286,7 +2286,7 @@ enum ListTagsForResourceOutputError { enum PutRumEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2304,7 +2304,7 @@ enum PutRumEventsOutputError { enum PutRumMetricsDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2323,7 +2323,7 @@ enum PutRumMetricsDestinationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2339,7 +2339,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2355,7 +2355,7 @@ enum UntagResourceOutputError { enum UpdateAppMonitorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2374,7 +2374,7 @@ enum UpdateAppMonitorOutputError { enum UpdateRumMetricDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift index 9f4f1de69ef..b7dae2bae8a 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -142,7 +142,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -532,7 +532,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -586,7 +586,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1227,7 +1227,7 @@ extension UpdateRuleInput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1248,14 +1248,14 @@ extension CreateRuleOutput { extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension GetRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1276,7 +1276,7 @@ extension GetRuleOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1289,7 +1289,7 @@ extension ListRulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1301,7 +1301,7 @@ extension ListTagsForResourceOutput { extension LockRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LockRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LockRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1321,14 +1321,14 @@ extension LockRuleOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnlockRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnlockRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnlockRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1349,14 +1349,14 @@ extension UnlockRuleOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1376,7 +1376,7 @@ extension UpdateRuleOutput { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1392,7 +1392,7 @@ enum CreateRuleOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1409,7 +1409,7 @@ enum DeleteRuleOutputError { enum GetRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1425,7 +1425,7 @@ enum GetRuleOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1440,7 +1440,7 @@ enum ListRulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1456,7 +1456,7 @@ enum ListTagsForResourceOutputError { enum LockRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1473,7 +1473,7 @@ enum LockRuleOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1490,7 +1490,7 @@ enum TagResourceOutputError { enum UnlockRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1507,7 +1507,7 @@ enum UnlockRuleOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1523,7 +1523,7 @@ enum UntagResourceOutputError { enum UpdateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRedshift/Sources/AWSRedshift/Models.swift b/Sources/Services/AWSRedshift/Sources/AWSRedshift/Models.swift index e6a9928a4ed..658e9a7e653 100644 --- a/Sources/Services/AWSRedshift/Sources/AWSRedshift/Models.swift +++ b/Sources/Services/AWSRedshift/Sources/AWSRedshift/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -119,7 +119,7 @@ public struct DependentServiceUnavailableFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -143,7 +143,7 @@ public struct InvalidReservedNodeStateFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -167,7 +167,7 @@ public struct ReservedNodeAlreadyExistsFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -191,7 +191,7 @@ public struct ReservedNodeAlreadyMigratedFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -215,7 +215,7 @@ public struct ReservedNodeNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -239,7 +239,7 @@ public struct ReservedNodeOfferingNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -263,7 +263,7 @@ public struct UnsupportedOperationFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -440,7 +440,7 @@ public struct AccessToClusterDeniedFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -464,7 +464,7 @@ public struct AccessToSnapshotDeniedFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -576,7 +576,7 @@ public struct ClusterNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -600,7 +600,7 @@ public struct PartnerNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -624,7 +624,7 @@ public struct UnauthorizedPartnerIntegrationFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -776,7 +776,7 @@ public struct InvalidDataShareFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -800,7 +800,7 @@ public struct InvalidNamespaceFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1078,7 +1078,7 @@ public struct AuthenticationProfileAlreadyExistsFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1102,7 +1102,7 @@ public struct AuthenticationProfileNotFoundFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1126,7 +1126,7 @@ public struct AuthenticationProfileQuotaExceededFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1150,7 +1150,7 @@ public struct AuthorizationAlreadyExistsFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1174,7 +1174,7 @@ public struct AuthorizationNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1198,7 +1198,7 @@ public struct AuthorizationQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1251,7 +1251,7 @@ public struct ClusterSecurityGroupNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1275,7 +1275,7 @@ public struct InvalidClusterSecurityGroupStateFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1511,7 +1511,7 @@ public struct EndpointAuthorizationAlreadyExistsFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1535,7 +1535,7 @@ public struct EndpointAuthorizationsPerClusterLimitExceededFault: ClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1559,7 +1559,7 @@ public struct InvalidAuthorizationStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1583,7 +1583,7 @@ public struct InvalidClusterStateFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1673,7 +1673,7 @@ public struct ClusterSnapshotNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1697,7 +1697,7 @@ public struct DependentServiceRequestThrottlingFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1721,7 +1721,7 @@ public struct InvalidClusterSnapshotStateFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1745,7 +1745,7 @@ public struct LimitExceededFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2013,7 +2013,7 @@ public struct BatchDeleteRequestSizeExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2115,7 +2115,7 @@ public struct BatchModifyClusterSnapshotsLimitExceededFault: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2139,7 +2139,7 @@ public struct InvalidRetentionPeriodFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2200,7 +2200,7 @@ public struct BucketNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2224,7 +2224,7 @@ public struct ResizeNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3234,7 +3234,7 @@ public struct ClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3310,7 +3310,7 @@ public struct ClusterOnLatestRevisionFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3362,7 +3362,7 @@ public struct ClusterParameterGroupAlreadyExistsFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3463,7 +3463,7 @@ public struct ClusterParameterGroupNotFoundFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3487,7 +3487,7 @@ public struct ClusterParameterGroupQuotaExceededFault: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3511,7 +3511,7 @@ public struct ClusterQuotaExceededFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3535,7 +3535,7 @@ public struct ClusterSecurityGroupAlreadyExistsFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3559,7 +3559,7 @@ public struct ClusterSecurityGroupQuotaExceededFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3583,7 +3583,7 @@ public struct ClusterSnapshotAlreadyExistsFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3607,7 +3607,7 @@ public struct ClusterSnapshotQuotaExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3695,7 +3695,7 @@ public struct ClusterSubnetGroupAlreadyExistsFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3719,7 +3719,7 @@ public struct ClusterSubnetGroupNotFoundFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3743,7 +3743,7 @@ public struct ClusterSubnetGroupQuotaExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3767,7 +3767,7 @@ public struct ClusterSubnetQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3815,7 +3815,7 @@ public struct ConflictPolicyUpdateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3892,7 +3892,7 @@ public struct CopyToRegionDisabledFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3916,7 +3916,7 @@ public struct InvalidAuthenticationProfileRequestFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3974,7 +3974,7 @@ public struct HsmClientCertificateNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3998,7 +3998,7 @@ public struct HsmConfigurationNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4022,7 +4022,7 @@ public struct InsufficientClusterCapacityFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4046,7 +4046,7 @@ public struct InvalidClusterSubnetGroupStateFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4070,7 +4070,7 @@ public struct InvalidClusterTrackFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4094,7 +4094,7 @@ public struct InvalidElasticIpFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4118,7 +4118,7 @@ public struct InvalidSubnet: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4142,7 +4142,7 @@ public struct InvalidTagFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4166,7 +4166,7 @@ public struct InvalidVPCNetworkStateFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4190,7 +4190,7 @@ public struct Ipv6CidrBlockNotFoundFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4214,7 +4214,7 @@ public struct NumberOfNodesPerClusterLimitExceededFault: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4238,7 +4238,7 @@ public struct NumberOfNodesQuotaExceededFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4262,7 +4262,7 @@ public struct RedshiftIdcApplicationNotExistsFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4286,7 +4286,7 @@ public struct SnapshotScheduleNotFoundFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4310,7 +4310,7 @@ public struct TagLimitExceededFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4334,7 +4334,7 @@ public struct UnauthorizedOperation: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4793,7 +4793,7 @@ public struct CustomCnameAssociationFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4864,7 +4864,7 @@ public struct EndpointAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4888,7 +4888,7 @@ public struct EndpointsPerAuthorizationLimitExceededFault: ClientRuntime.Modeled public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4912,7 +4912,7 @@ public struct EndpointsPerClusterLimitExceededFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5015,7 +5015,7 @@ public struct EventSubscriptionQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5039,7 +5039,7 @@ public struct SNSInvalidTopicFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5063,7 +5063,7 @@ public struct SNSNoAuthorizationFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5087,7 +5087,7 @@ public struct SNSTopicArnNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5111,7 +5111,7 @@ public struct SourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5135,7 +5135,7 @@ public struct SubscriptionAlreadyExistFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5159,7 +5159,7 @@ public struct SubscriptionCategoryNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5183,7 +5183,7 @@ public struct SubscriptionEventIdNotFoundFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5207,7 +5207,7 @@ public struct SubscriptionSeverityNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5354,7 +5354,7 @@ public struct HsmClientCertificateAlreadyExistsFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5378,7 +5378,7 @@ public struct HsmClientCertificateQuotaExceededFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5456,7 +5456,7 @@ public struct HsmConfigurationAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5480,7 +5480,7 @@ public struct HsmConfigurationQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5591,7 +5591,7 @@ public struct DependentServiceAccessDeniedFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5615,7 +5615,7 @@ public struct RedshiftIdcApplicationAlreadyExistsFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5639,7 +5639,7 @@ public struct RedshiftIdcApplicationQuotaExceededFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5833,7 +5833,7 @@ public struct InvalidScheduledActionFault: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5857,7 +5857,7 @@ public struct InvalidScheduleFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5881,7 +5881,7 @@ public struct ScheduledActionAlreadyExistsFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5905,7 +5905,7 @@ public struct ScheduledActionQuotaExceededFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5929,7 +5929,7 @@ public struct ScheduledActionTypeUnsupportedFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6170,7 +6170,7 @@ public struct SnapshotCopyGrantAlreadyExistsFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6194,7 +6194,7 @@ public struct SnapshotCopyGrantQuotaExceededFault: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6286,7 +6286,7 @@ public struct ScheduleDefinitionTypeUnsupportedFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6310,7 +6310,7 @@ public struct SnapshotScheduleAlreadyExistsFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6334,7 +6334,7 @@ public struct SnapshotScheduleQuotaExceededFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6427,7 +6427,7 @@ public struct ResourceNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6470,7 +6470,7 @@ public struct InvalidUsageLimitFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6494,7 +6494,7 @@ public struct UsageLimitAlreadyExistsFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6730,7 +6730,7 @@ public struct CustomDomainAssociationNotFoundFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6999,7 +6999,7 @@ public struct InvalidClusterParameterGroupStateFault: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7085,7 +7085,7 @@ public struct InvalidClusterSubnetStateFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7141,7 +7141,7 @@ public struct EndpointNotFoundFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7165,7 +7165,7 @@ public struct InvalidEndpointStateFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7251,7 +7251,7 @@ public struct InvalidSubscriptionStateFault: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7275,7 +7275,7 @@ public struct SubscriptionNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7313,7 +7313,7 @@ public struct InvalidHsmClientCertificateStateFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7351,7 +7351,7 @@ public struct InvalidHsmConfigurationStateFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7459,7 +7459,7 @@ public struct ScheduledActionNotFoundFault: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7496,7 +7496,7 @@ public struct InvalidSnapshotCopyGrantStateFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7520,7 +7520,7 @@ public struct SnapshotCopyGrantNotFoundFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7558,7 +7558,7 @@ public struct InvalidClusterSnapshotScheduleStateFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7614,7 +7614,7 @@ public struct UsageLimitNotFoundFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9020,7 +9020,7 @@ public struct IntegrationNotFoundFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9701,7 +9701,7 @@ public struct ReservedNodeExchangeNotFoundFault: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10313,7 +10313,7 @@ public struct TableRestoreNotFoundFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10760,7 +10760,7 @@ public struct SnapshotCopyAlreadyDisabledFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10863,7 +10863,7 @@ public struct InsufficientS3BucketPolicyFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10887,7 +10887,7 @@ public struct InvalidS3BucketNameFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10911,7 +10911,7 @@ public struct InvalidS3KeyPrefixFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11024,7 +11024,7 @@ public struct IncompatibleOrderableOptions: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11048,7 +11048,7 @@ public struct SnapshotCopyAlreadyEnabledFault: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11072,7 +11072,7 @@ public struct UnknownSnapshotCopyRegionFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11139,7 +11139,7 @@ public struct EndpointAuthorizationNotFoundFault: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11471,7 +11471,7 @@ public struct InvalidPolicyFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11572,7 +11572,7 @@ public struct InProgressTableRestoreQuotaExceededFault: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11596,7 +11596,7 @@ public struct InvalidRestoreFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11620,7 +11620,7 @@ public struct InvalidTableRestoreArgumentFault: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11884,7 +11884,7 @@ public struct TableLimitExceededFault: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11908,7 +11908,7 @@ public struct UnsupportedOptionFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12311,7 +12311,7 @@ public struct SubnetAlreadyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12664,7 +12664,7 @@ public struct SnapshotCopyDisabledFault: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12723,7 +12723,7 @@ public struct SnapshotScheduleUpdateInProgressFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12896,7 +12896,7 @@ public struct ReservedNodeQuotaExceededFault: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16317,7 +16317,7 @@ extension UpdatePartnerStatusInput { extension AcceptReservedNodeExchangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptReservedNodeExchangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptReservedNodeExchangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AcceptReservedNodeExchangeResult"] @@ -16329,7 +16329,7 @@ extension AcceptReservedNodeExchangeOutput { extension AddPartnerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddPartnerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddPartnerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AddPartnerResult"] @@ -16342,7 +16342,7 @@ extension AddPartnerOutput { extension AssociateDataShareConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDataShareConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDataShareConsumerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AssociateDataShareConsumerResult"] @@ -16358,7 +16358,7 @@ extension AssociateDataShareConsumerOutput { extension AuthorizeClusterSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeClusterSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeClusterSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AuthorizeClusterSecurityGroupIngressResult"] @@ -16370,7 +16370,7 @@ extension AuthorizeClusterSecurityGroupIngressOutput { extension AuthorizeDataShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeDataShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeDataShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AuthorizeDataShareResult"] @@ -16386,7 +16386,7 @@ extension AuthorizeDataShareOutput { extension AuthorizeEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AuthorizeEndpointAccessResult"] @@ -16406,7 +16406,7 @@ extension AuthorizeEndpointAccessOutput { extension AuthorizeSnapshotAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeSnapshotAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeSnapshotAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AuthorizeSnapshotAccessResult"] @@ -16418,7 +16418,7 @@ extension AuthorizeSnapshotAccessOutput { extension BatchDeleteClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchDeleteClusterSnapshotsResult"] @@ -16431,7 +16431,7 @@ extension BatchDeleteClusterSnapshotsOutput { extension BatchModifyClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchModifyClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchModifyClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["BatchModifyClusterSnapshotsResult"] @@ -16444,7 +16444,7 @@ extension BatchModifyClusterSnapshotsOutput { extension CancelResizeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelResizeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelResizeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CancelResizeResult"] @@ -16471,7 +16471,7 @@ extension CancelResizeOutput { extension CopyClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CopyClusterSnapshotResult"] @@ -16483,7 +16483,7 @@ extension CopyClusterSnapshotOutput { extension CreateAuthenticationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAuthenticationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAuthenticationProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateAuthenticationProfileResult"] @@ -16496,7 +16496,7 @@ extension CreateAuthenticationProfileOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateClusterResult"] @@ -16508,7 +16508,7 @@ extension CreateClusterOutput { extension CreateClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateClusterParameterGroupResult"] @@ -16520,7 +16520,7 @@ extension CreateClusterParameterGroupOutput { extension CreateClusterSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterSecurityGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateClusterSecurityGroupResult"] @@ -16532,7 +16532,7 @@ extension CreateClusterSecurityGroupOutput { extension CreateClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateClusterSnapshotResult"] @@ -16544,7 +16544,7 @@ extension CreateClusterSnapshotOutput { extension CreateClusterSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateClusterSubnetGroupResult"] @@ -16556,7 +16556,7 @@ extension CreateClusterSubnetGroupOutput { extension CreateCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateCustomDomainAssociationResult"] @@ -16571,7 +16571,7 @@ extension CreateCustomDomainAssociationOutput { extension CreateEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateEndpointAccessResult"] @@ -16592,7 +16592,7 @@ extension CreateEndpointAccessOutput { extension CreateEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateEventSubscriptionResult"] @@ -16604,7 +16604,7 @@ extension CreateEventSubscriptionOutput { extension CreateHsmClientCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHsmClientCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHsmClientCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateHsmClientCertificateResult"] @@ -16616,7 +16616,7 @@ extension CreateHsmClientCertificateOutput { extension CreateHsmConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHsmConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHsmConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateHsmConfigurationResult"] @@ -16628,7 +16628,7 @@ extension CreateHsmConfigurationOutput { extension CreateRedshiftIdcApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRedshiftIdcApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRedshiftIdcApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateRedshiftIdcApplicationResult"] @@ -16640,7 +16640,7 @@ extension CreateRedshiftIdcApplicationOutput { extension CreateScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateScheduledActionResult"] @@ -16660,7 +16660,7 @@ extension CreateScheduledActionOutput { extension CreateSnapshotCopyGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotCopyGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotCopyGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateSnapshotCopyGrantResult"] @@ -16672,7 +16672,7 @@ extension CreateSnapshotCopyGrantOutput { extension CreateSnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateSnapshotScheduleResult"] @@ -16690,14 +16690,14 @@ extension CreateSnapshotScheduleOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension CreateUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUsageLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateUsageLimitResult"] @@ -16716,7 +16716,7 @@ extension CreateUsageLimitOutput { extension DeauthorizeDataShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeauthorizeDataShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeauthorizeDataShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeauthorizeDataShareResult"] @@ -16732,7 +16732,7 @@ extension DeauthorizeDataShareOutput { extension DeleteAuthenticationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAuthenticationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAuthenticationProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteAuthenticationProfileResult"] @@ -16744,7 +16744,7 @@ extension DeleteAuthenticationProfileOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteClusterResult"] @@ -16756,21 +16756,21 @@ extension DeleteClusterOutput { extension DeleteClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterParameterGroupOutput { return DeleteClusterParameterGroupOutput() } } extension DeleteClusterSecurityGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterSecurityGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterSecurityGroupOutput { return DeleteClusterSecurityGroupOutput() } } extension DeleteClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteClusterSnapshotResult"] @@ -16782,21 +16782,21 @@ extension DeleteClusterSnapshotOutput { extension DeleteClusterSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterSubnetGroupOutput { return DeleteClusterSubnetGroupOutput() } } extension DeleteCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomDomainAssociationOutput { return DeleteCustomDomainAssociationOutput() } } extension DeleteEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeleteEndpointAccessResult"] @@ -16817,28 +16817,28 @@ extension DeleteEndpointAccessOutput { extension DeleteEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEventSubscriptionOutput { return DeleteEventSubscriptionOutput() } } extension DeleteHsmClientCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHsmClientCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHsmClientCertificateOutput { return DeleteHsmClientCertificateOutput() } } extension DeleteHsmConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHsmConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHsmConfigurationOutput { return DeleteHsmConfigurationOutput() } } extension DeletePartnerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePartnerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePartnerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DeletePartnerResult"] @@ -16851,56 +16851,56 @@ extension DeletePartnerOutput { extension DeleteRedshiftIdcApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRedshiftIdcApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRedshiftIdcApplicationOutput { return DeleteRedshiftIdcApplicationOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduledActionOutput { return DeleteScheduledActionOutput() } } extension DeleteSnapshotCopyGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotCopyGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotCopyGrantOutput { return DeleteSnapshotCopyGrantOutput() } } extension DeleteSnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotScheduleOutput { return DeleteSnapshotScheduleOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DeleteUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUsageLimitOutput { return DeleteUsageLimitOutput() } } extension DescribeAccountAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAccountAttributesResult"] @@ -16912,7 +16912,7 @@ extension DescribeAccountAttributesOutput { extension DescribeAuthenticationProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuthenticationProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuthenticationProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeAuthenticationProfilesResult"] @@ -16924,7 +16924,7 @@ extension DescribeAuthenticationProfilesOutput { extension DescribeClusterDbRevisionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterDbRevisionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterDbRevisionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterDbRevisionsResult"] @@ -16937,7 +16937,7 @@ extension DescribeClusterDbRevisionsOutput { extension DescribeClusterParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterParameterGroupsResult"] @@ -16950,7 +16950,7 @@ extension DescribeClusterParameterGroupsOutput { extension DescribeClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterParametersResult"] @@ -16963,7 +16963,7 @@ extension DescribeClusterParametersOutput { extension DescribeClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClustersResult"] @@ -16976,7 +16976,7 @@ extension DescribeClustersOutput { extension DescribeClusterSecurityGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterSecurityGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterSecurityGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterSecurityGroupsResult"] @@ -16989,7 +16989,7 @@ extension DescribeClusterSecurityGroupsOutput { extension DescribeClusterSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterSnapshotsResult"] @@ -17002,7 +17002,7 @@ extension DescribeClusterSnapshotsOutput { extension DescribeClusterSubnetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterSubnetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterSubnetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterSubnetGroupsResult"] @@ -17015,7 +17015,7 @@ extension DescribeClusterSubnetGroupsOutput { extension DescribeClusterTracksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterTracksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterTracksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterTracksResult"] @@ -17028,7 +17028,7 @@ extension DescribeClusterTracksOutput { extension DescribeClusterVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeClusterVersionsResult"] @@ -17041,7 +17041,7 @@ extension DescribeClusterVersionsOutput { extension DescribeCustomDomainAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCustomDomainAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCustomDomainAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeCustomDomainAssociationsResult"] @@ -17054,7 +17054,7 @@ extension DescribeCustomDomainAssociationsOutput { extension DescribeDataSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDataSharesResult"] @@ -17067,7 +17067,7 @@ extension DescribeDataSharesOutput { extension DescribeDataSharesForConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSharesForConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSharesForConsumerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDataSharesForConsumerResult"] @@ -17080,7 +17080,7 @@ extension DescribeDataSharesForConsumerOutput { extension DescribeDataSharesForProducerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataSharesForProducerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataSharesForProducerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDataSharesForProducerResult"] @@ -17093,7 +17093,7 @@ extension DescribeDataSharesForProducerOutput { extension DescribeDefaultClusterParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDefaultClusterParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDefaultClusterParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeDefaultClusterParametersResult"] @@ -17105,7 +17105,7 @@ extension DescribeDefaultClusterParametersOutput { extension DescribeEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEndpointAccessResult"] @@ -17118,7 +17118,7 @@ extension DescribeEndpointAccessOutput { extension DescribeEndpointAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEndpointAuthorizationResult"] @@ -17131,7 +17131,7 @@ extension DescribeEndpointAuthorizationOutput { extension DescribeEventCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventCategoriesResult"] @@ -17143,7 +17143,7 @@ extension DescribeEventCategoriesOutput { extension DescribeEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventsResult"] @@ -17156,7 +17156,7 @@ extension DescribeEventsOutput { extension DescribeEventSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEventSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEventSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeEventSubscriptionsResult"] @@ -17169,7 +17169,7 @@ extension DescribeEventSubscriptionsOutput { extension DescribeHsmClientCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHsmClientCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHsmClientCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeHsmClientCertificatesResult"] @@ -17182,7 +17182,7 @@ extension DescribeHsmClientCertificatesOutput { extension DescribeHsmConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHsmConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHsmConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeHsmConfigurationsResult"] @@ -17195,7 +17195,7 @@ extension DescribeHsmConfigurationsOutput { extension DescribeInboundIntegrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInboundIntegrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInboundIntegrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeInboundIntegrationsResult"] @@ -17208,7 +17208,7 @@ extension DescribeInboundIntegrationsOutput { extension DescribeLoggingStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLoggingStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLoggingStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeLoggingStatusResult"] @@ -17227,7 +17227,7 @@ extension DescribeLoggingStatusOutput { extension DescribeNodeConfigurationOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNodeConfigurationOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNodeConfigurationOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeNodeConfigurationOptionsResult"] @@ -17240,7 +17240,7 @@ extension DescribeNodeConfigurationOptionsOutput { extension DescribeOrderableClusterOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrderableClusterOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrderableClusterOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeOrderableClusterOptionsResult"] @@ -17253,7 +17253,7 @@ extension DescribeOrderableClusterOptionsOutput { extension DescribePartnersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePartnersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePartnersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribePartnersResult"] @@ -17265,7 +17265,7 @@ extension DescribePartnersOutput { extension DescribeRedshiftIdcApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRedshiftIdcApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRedshiftIdcApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeRedshiftIdcApplicationsResult"] @@ -17278,7 +17278,7 @@ extension DescribeRedshiftIdcApplicationsOutput { extension DescribeReservedNodeExchangeStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedNodeExchangeStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedNodeExchangeStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedNodeExchangeStatusResult"] @@ -17291,7 +17291,7 @@ extension DescribeReservedNodeExchangeStatusOutput { extension DescribeReservedNodeOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedNodeOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedNodeOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedNodeOfferingsResult"] @@ -17304,7 +17304,7 @@ extension DescribeReservedNodeOfferingsOutput { extension DescribeReservedNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReservedNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReservedNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReservedNodesResult"] @@ -17317,7 +17317,7 @@ extension DescribeReservedNodesOutput { extension DescribeResizeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResizeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResizeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeResizeResult"] @@ -17344,7 +17344,7 @@ extension DescribeResizeOutput { extension DescribeScheduledActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeScheduledActionsResult"] @@ -17357,7 +17357,7 @@ extension DescribeScheduledActionsOutput { extension DescribeSnapshotCopyGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotCopyGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotCopyGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeSnapshotCopyGrantsResult"] @@ -17370,7 +17370,7 @@ extension DescribeSnapshotCopyGrantsOutput { extension DescribeSnapshotSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeSnapshotSchedulesResult"] @@ -17383,7 +17383,7 @@ extension DescribeSnapshotSchedulesOutput { extension DescribeStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeStorageResult"] @@ -17396,7 +17396,7 @@ extension DescribeStorageOutput { extension DescribeTableRestoreStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTableRestoreStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTableRestoreStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTableRestoreStatusResult"] @@ -17409,7 +17409,7 @@ extension DescribeTableRestoreStatusOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeTagsResult"] @@ -17422,7 +17422,7 @@ extension DescribeTagsOutput { extension DescribeUsageLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUsageLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUsageLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeUsageLimitsResult"] @@ -17435,7 +17435,7 @@ extension DescribeUsageLimitsOutput { extension DisableLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableLoggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisableLoggingResult"] @@ -17454,7 +17454,7 @@ extension DisableLoggingOutput { extension DisableSnapshotCopyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableSnapshotCopyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableSnapshotCopyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisableSnapshotCopyResult"] @@ -17466,7 +17466,7 @@ extension DisableSnapshotCopyOutput { extension DisassociateDataShareConsumerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDataShareConsumerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDataShareConsumerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DisassociateDataShareConsumerResult"] @@ -17482,7 +17482,7 @@ extension DisassociateDataShareConsumerOutput { extension EnableLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableLoggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EnableLoggingResult"] @@ -17501,7 +17501,7 @@ extension EnableLoggingOutput { extension EnableSnapshotCopyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSnapshotCopyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSnapshotCopyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["EnableSnapshotCopyResult"] @@ -17513,7 +17513,7 @@ extension EnableSnapshotCopyOutput { extension FailoverPrimaryComputeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> FailoverPrimaryComputeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> FailoverPrimaryComputeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["FailoverPrimaryComputeResult"] @@ -17525,7 +17525,7 @@ extension FailoverPrimaryComputeOutput { extension GetClusterCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClusterCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClusterCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetClusterCredentialsResult"] @@ -17539,7 +17539,7 @@ extension GetClusterCredentialsOutput { extension GetClusterCredentialsWithIAMOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetClusterCredentialsWithIAMOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetClusterCredentialsWithIAMOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetClusterCredentialsWithIAMResult"] @@ -17554,7 +17554,7 @@ extension GetClusterCredentialsWithIAMOutput { extension GetReservedNodeExchangeConfigurationOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReservedNodeExchangeConfigurationOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReservedNodeExchangeConfigurationOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetReservedNodeExchangeConfigurationOptionsResult"] @@ -17567,7 +17567,7 @@ extension GetReservedNodeExchangeConfigurationOptionsOutput { extension GetReservedNodeExchangeOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReservedNodeExchangeOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReservedNodeExchangeOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetReservedNodeExchangeOfferingsResult"] @@ -17580,7 +17580,7 @@ extension GetReservedNodeExchangeOfferingsOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetResourcePolicyResult"] @@ -17592,7 +17592,7 @@ extension GetResourcePolicyOutput { extension ListRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListRecommendationsResult"] @@ -17605,7 +17605,7 @@ extension ListRecommendationsOutput { extension ModifyAquaConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyAquaConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyAquaConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyAquaConfigurationResult"] @@ -17617,7 +17617,7 @@ extension ModifyAquaConfigurationOutput { extension ModifyAuthenticationProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyAuthenticationProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyAuthenticationProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyAuthenticationProfileResult"] @@ -17630,7 +17630,7 @@ extension ModifyAuthenticationProfileOutput { extension ModifyClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterResult"] @@ -17642,7 +17642,7 @@ extension ModifyClusterOutput { extension ModifyClusterDbRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterDbRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterDbRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterDbRevisionResult"] @@ -17654,7 +17654,7 @@ extension ModifyClusterDbRevisionOutput { extension ModifyClusterIamRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterIamRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterIamRolesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterIamRolesResult"] @@ -17666,7 +17666,7 @@ extension ModifyClusterIamRolesOutput { extension ModifyClusterMaintenanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterMaintenanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterMaintenanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterMaintenanceResult"] @@ -17678,7 +17678,7 @@ extension ModifyClusterMaintenanceOutput { extension ModifyClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterParameterGroupResult"] @@ -17691,7 +17691,7 @@ extension ModifyClusterParameterGroupOutput { extension ModifyClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterSnapshotResult"] @@ -17703,14 +17703,14 @@ extension ModifyClusterSnapshotOutput { extension ModifyClusterSnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterSnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterSnapshotScheduleOutput { return ModifyClusterSnapshotScheduleOutput() } } extension ModifyClusterSubnetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClusterSubnetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClusterSubnetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyClusterSubnetGroupResult"] @@ -17722,7 +17722,7 @@ extension ModifyClusterSubnetGroupOutput { extension ModifyCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCustomDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyCustomDomainAssociationResult"] @@ -17737,7 +17737,7 @@ extension ModifyCustomDomainAssociationOutput { extension ModifyEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyEndpointAccessResult"] @@ -17758,7 +17758,7 @@ extension ModifyEndpointAccessOutput { extension ModifyEventSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyEventSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyEventSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyEventSubscriptionResult"] @@ -17770,7 +17770,7 @@ extension ModifyEventSubscriptionOutput { extension ModifyRedshiftIdcApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyRedshiftIdcApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyRedshiftIdcApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyRedshiftIdcApplicationResult"] @@ -17782,7 +17782,7 @@ extension ModifyRedshiftIdcApplicationOutput { extension ModifyScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyScheduledActionResult"] @@ -17802,7 +17802,7 @@ extension ModifyScheduledActionOutput { extension ModifySnapshotCopyRetentionPeriodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySnapshotCopyRetentionPeriodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySnapshotCopyRetentionPeriodOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifySnapshotCopyRetentionPeriodResult"] @@ -17814,7 +17814,7 @@ extension ModifySnapshotCopyRetentionPeriodOutput { extension ModifySnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySnapshotScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifySnapshotScheduleResult"] @@ -17832,7 +17832,7 @@ extension ModifySnapshotScheduleOutput { extension ModifyUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyUsageLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ModifyUsageLimitResult"] @@ -17851,7 +17851,7 @@ extension ModifyUsageLimitOutput { extension PauseClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PauseClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PauseClusterResult"] @@ -17863,7 +17863,7 @@ extension PauseClusterOutput { extension PurchaseReservedNodeOfferingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurchaseReservedNodeOfferingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurchaseReservedNodeOfferingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PurchaseReservedNodeOfferingResult"] @@ -17875,7 +17875,7 @@ extension PurchaseReservedNodeOfferingOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PutResourcePolicyResult"] @@ -17887,7 +17887,7 @@ extension PutResourcePolicyOutput { extension RebootClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RebootClusterResult"] @@ -17899,7 +17899,7 @@ extension RebootClusterOutput { extension RejectDataShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectDataShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectDataShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RejectDataShareResult"] @@ -17915,7 +17915,7 @@ extension RejectDataShareOutput { extension ResetClusterParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetClusterParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetClusterParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResetClusterParameterGroupResult"] @@ -17928,7 +17928,7 @@ extension ResetClusterParameterGroupOutput { extension ResizeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResizeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResizeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResizeClusterResult"] @@ -17940,7 +17940,7 @@ extension ResizeClusterOutput { extension RestoreFromClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreFromClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreFromClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreFromClusterSnapshotResult"] @@ -17952,7 +17952,7 @@ extension RestoreFromClusterSnapshotOutput { extension RestoreTableFromClusterSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreTableFromClusterSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreTableFromClusterSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RestoreTableFromClusterSnapshotResult"] @@ -17964,7 +17964,7 @@ extension RestoreTableFromClusterSnapshotOutput { extension ResumeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ResumeClusterResult"] @@ -17976,7 +17976,7 @@ extension ResumeClusterOutput { extension RevokeClusterSecurityGroupIngressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeClusterSecurityGroupIngressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeClusterSecurityGroupIngressOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RevokeClusterSecurityGroupIngressResult"] @@ -17988,7 +17988,7 @@ extension RevokeClusterSecurityGroupIngressOutput { extension RevokeEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RevokeEndpointAccessResult"] @@ -18008,7 +18008,7 @@ extension RevokeEndpointAccessOutput { extension RevokeSnapshotAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeSnapshotAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeSnapshotAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RevokeSnapshotAccessResult"] @@ -18020,7 +18020,7 @@ extension RevokeSnapshotAccessOutput { extension RotateEncryptionKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RotateEncryptionKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RotateEncryptionKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["RotateEncryptionKeyResult"] @@ -18032,7 +18032,7 @@ extension RotateEncryptionKeyOutput { extension UpdatePartnerStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePartnerStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePartnerStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["UpdatePartnerStatusResult"] @@ -18045,7 +18045,7 @@ extension UpdatePartnerStatusOutput { enum AcceptReservedNodeExchangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18065,7 +18065,7 @@ enum AcceptReservedNodeExchangeOutputError { enum AddPartnerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18082,7 +18082,7 @@ enum AddPartnerOutputError { enum AssociateDataShareConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18097,7 +18097,7 @@ enum AssociateDataShareConsumerOutputError { enum AuthorizeClusterSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18114,7 +18114,7 @@ enum AuthorizeClusterSecurityGroupIngressOutputError { enum AuthorizeDataShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18128,7 +18128,7 @@ enum AuthorizeDataShareOutputError { enum AuthorizeEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18147,7 +18147,7 @@ enum AuthorizeEndpointAccessOutputError { enum AuthorizeSnapshotAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18167,7 +18167,7 @@ enum AuthorizeSnapshotAccessOutputError { enum BatchDeleteClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18181,7 +18181,7 @@ enum BatchDeleteClusterSnapshotsOutputError { enum BatchModifyClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18196,7 +18196,7 @@ enum BatchModifyClusterSnapshotsOutputError { enum CancelResizeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18213,7 +18213,7 @@ enum CancelResizeOutputError { enum CopyClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18232,7 +18232,7 @@ enum CopyClusterSnapshotOutputError { enum CreateAuthenticationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18248,7 +18248,7 @@ enum CreateAuthenticationProfileOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18286,7 +18286,7 @@ enum CreateClusterOutputError { enum CreateClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18303,7 +18303,7 @@ enum CreateClusterParameterGroupOutputError { enum CreateClusterSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18320,7 +18320,7 @@ enum CreateClusterSecurityGroupOutputError { enum CreateClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18340,7 +18340,7 @@ enum CreateClusterSnapshotOutputError { enum CreateClusterSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18361,7 +18361,7 @@ enum CreateClusterSubnetGroupOutputError { enum CreateCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18377,7 +18377,7 @@ enum CreateCustomDomainAssociationOutputError { enum CreateEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18400,7 +18400,7 @@ enum CreateEndpointAccessOutputError { enum CreateEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18424,7 +18424,7 @@ enum CreateEventSubscriptionOutputError { enum CreateHsmClientCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18441,7 +18441,7 @@ enum CreateHsmClientCertificateOutputError { enum CreateHsmConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18458,7 +18458,7 @@ enum CreateHsmConfigurationOutputError { enum CreateRedshiftIdcApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18476,7 +18476,7 @@ enum CreateRedshiftIdcApplicationOutputError { enum CreateScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18497,7 +18497,7 @@ enum CreateScheduledActionOutputError { enum CreateSnapshotCopyGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18516,7 +18516,7 @@ enum CreateSnapshotCopyGrantOutputError { enum CreateSnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18535,7 +18535,7 @@ enum CreateSnapshotScheduleOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18552,7 +18552,7 @@ enum CreateTagsOutputError { enum CreateUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18572,7 +18572,7 @@ enum CreateUsageLimitOutputError { enum DeauthorizeDataShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18586,7 +18586,7 @@ enum DeauthorizeDataShareOutputError { enum DeleteAuthenticationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18601,7 +18601,7 @@ enum DeleteAuthenticationProfileOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18619,7 +18619,7 @@ enum DeleteClusterOutputError { enum DeleteClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18634,7 +18634,7 @@ enum DeleteClusterParameterGroupOutputError { enum DeleteClusterSecurityGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18649,7 +18649,7 @@ enum DeleteClusterSecurityGroupOutputError { enum DeleteClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18664,7 +18664,7 @@ enum DeleteClusterSnapshotOutputError { enum DeleteClusterSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18680,7 +18680,7 @@ enum DeleteClusterSubnetGroupOutputError { enum DeleteCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18697,7 +18697,7 @@ enum DeleteCustomDomainAssociationOutputError { enum DeleteEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18715,7 +18715,7 @@ enum DeleteEndpointAccessOutputError { enum DeleteEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18730,7 +18730,7 @@ enum DeleteEventSubscriptionOutputError { enum DeleteHsmClientCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18745,7 +18745,7 @@ enum DeleteHsmClientCertificateOutputError { enum DeleteHsmConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18760,7 +18760,7 @@ enum DeleteHsmConfigurationOutputError { enum DeletePartnerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18777,7 +18777,7 @@ enum DeletePartnerOutputError { enum DeleteRedshiftIdcApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18794,7 +18794,7 @@ enum DeleteRedshiftIdcApplicationOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18809,7 +18809,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18824,7 +18824,7 @@ enum DeleteScheduledActionOutputError { enum DeleteSnapshotCopyGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18839,7 +18839,7 @@ enum DeleteSnapshotCopyGrantOutputError { enum DeleteSnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18854,7 +18854,7 @@ enum DeleteSnapshotScheduleOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18869,7 +18869,7 @@ enum DeleteTagsOutputError { enum DeleteUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18884,7 +18884,7 @@ enum DeleteUsageLimitOutputError { enum DescribeAccountAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18897,7 +18897,7 @@ enum DescribeAccountAttributesOutputError { enum DescribeAuthenticationProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18912,7 +18912,7 @@ enum DescribeAuthenticationProfilesOutputError { enum DescribeClusterDbRevisionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18927,7 +18927,7 @@ enum DescribeClusterDbRevisionsOutputError { enum DescribeClusterParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18942,7 +18942,7 @@ enum DescribeClusterParameterGroupsOutputError { enum DescribeClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18956,7 +18956,7 @@ enum DescribeClusterParametersOutputError { enum DescribeClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18971,7 +18971,7 @@ enum DescribeClustersOutputError { enum DescribeClusterSecurityGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -18986,7 +18986,7 @@ enum DescribeClusterSecurityGroupsOutputError { enum DescribeClusterSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19003,7 +19003,7 @@ enum DescribeClusterSnapshotsOutputError { enum DescribeClusterSubnetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19018,7 +19018,7 @@ enum DescribeClusterSubnetGroupsOutputError { enum DescribeClusterTracksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19033,7 +19033,7 @@ enum DescribeClusterTracksOutputError { enum DescribeClusterVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19046,7 +19046,7 @@ enum DescribeClusterVersionsOutputError { enum DescribeCustomDomainAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19061,7 +19061,7 @@ enum DescribeCustomDomainAssociationsOutputError { enum DescribeDataSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19075,7 +19075,7 @@ enum DescribeDataSharesOutputError { enum DescribeDataSharesForConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19089,7 +19089,7 @@ enum DescribeDataSharesForConsumerOutputError { enum DescribeDataSharesForProducerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19103,7 +19103,7 @@ enum DescribeDataSharesForProducerOutputError { enum DescribeDefaultClusterParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19116,7 +19116,7 @@ enum DescribeDefaultClusterParametersOutputError { enum DescribeEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19132,7 +19132,7 @@ enum DescribeEndpointAccessOutputError { enum DescribeEndpointAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19147,7 +19147,7 @@ enum DescribeEndpointAuthorizationOutputError { enum DescribeEventCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19160,7 +19160,7 @@ enum DescribeEventCategoriesOutputError { enum DescribeEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19173,7 +19173,7 @@ enum DescribeEventsOutputError { enum DescribeEventSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19188,7 +19188,7 @@ enum DescribeEventSubscriptionsOutputError { enum DescribeHsmClientCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19203,7 +19203,7 @@ enum DescribeHsmClientCertificatesOutputError { enum DescribeHsmConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19218,7 +19218,7 @@ enum DescribeHsmConfigurationsOutputError { enum DescribeInboundIntegrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19234,7 +19234,7 @@ enum DescribeInboundIntegrationsOutputError { enum DescribeLoggingStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19249,7 +19249,7 @@ enum DescribeLoggingStatusOutputError { enum DescribeNodeConfigurationOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19267,7 +19267,7 @@ enum DescribeNodeConfigurationOptionsOutputError { enum DescribeOrderableClusterOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19280,7 +19280,7 @@ enum DescribeOrderableClusterOptionsOutputError { enum DescribePartnersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19296,7 +19296,7 @@ enum DescribePartnersOutputError { enum DescribeRedshiftIdcApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19313,7 +19313,7 @@ enum DescribeRedshiftIdcApplicationsOutputError { enum DescribeReservedNodeExchangeStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19329,7 +19329,7 @@ enum DescribeReservedNodeExchangeStatusOutputError { enum DescribeReservedNodeOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19345,7 +19345,7 @@ enum DescribeReservedNodeOfferingsOutputError { enum DescribeReservedNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19360,7 +19360,7 @@ enum DescribeReservedNodesOutputError { enum DescribeResizeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19376,7 +19376,7 @@ enum DescribeResizeOutputError { enum DescribeScheduledActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19391,7 +19391,7 @@ enum DescribeScheduledActionsOutputError { enum DescribeSnapshotCopyGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19406,7 +19406,7 @@ enum DescribeSnapshotCopyGrantsOutputError { enum DescribeSnapshotSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19419,7 +19419,7 @@ enum DescribeSnapshotSchedulesOutputError { enum DescribeStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19432,7 +19432,7 @@ enum DescribeStorageOutputError { enum DescribeTableRestoreStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19447,7 +19447,7 @@ enum DescribeTableRestoreStatusOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19462,7 +19462,7 @@ enum DescribeTagsOutputError { enum DescribeUsageLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19477,7 +19477,7 @@ enum DescribeUsageLimitsOutputError { enum DisableLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19493,7 +19493,7 @@ enum DisableLoggingOutputError { enum DisableSnapshotCopyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19511,7 +19511,7 @@ enum DisableSnapshotCopyOutputError { enum DisassociateDataShareConsumerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19526,7 +19526,7 @@ enum DisassociateDataShareConsumerOutputError { enum EnableLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19546,7 +19546,7 @@ enum EnableLoggingOutputError { enum EnableSnapshotCopyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19570,7 +19570,7 @@ enum EnableSnapshotCopyOutputError { enum FailoverPrimaryComputeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19587,7 +19587,7 @@ enum FailoverPrimaryComputeOutputError { enum GetClusterCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19602,7 +19602,7 @@ enum GetClusterCredentialsOutputError { enum GetClusterCredentialsWithIAMOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19617,7 +19617,7 @@ enum GetClusterCredentialsWithIAMOutputError { enum GetReservedNodeExchangeConfigurationOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19638,7 +19638,7 @@ enum GetReservedNodeExchangeConfigurationOptionsOutputError { enum GetReservedNodeExchangeOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19657,7 +19657,7 @@ enum GetReservedNodeExchangeOfferingsOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19673,7 +19673,7 @@ enum GetResourcePolicyOutputError { enum ListRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19688,7 +19688,7 @@ enum ListRecommendationsOutputError { enum ModifyAquaConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19704,7 +19704,7 @@ enum ModifyAquaConfigurationOutputError { enum ModifyAuthenticationProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19720,7 +19720,7 @@ enum ModifyAuthenticationProfileOutputError { enum ModifyClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19755,7 +19755,7 @@ enum ModifyClusterOutputError { enum ModifyClusterDbRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19772,7 +19772,7 @@ enum ModifyClusterDbRevisionOutputError { enum ModifyClusterIamRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19787,7 +19787,7 @@ enum ModifyClusterIamRolesOutputError { enum ModifyClusterMaintenanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19802,7 +19802,7 @@ enum ModifyClusterMaintenanceOutputError { enum ModifyClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19817,7 +19817,7 @@ enum ModifyClusterParameterGroupOutputError { enum ModifyClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19833,7 +19833,7 @@ enum ModifyClusterSnapshotOutputError { enum ModifyClusterSnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19849,7 +19849,7 @@ enum ModifyClusterSnapshotScheduleOutputError { enum ModifyClusterSubnetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19868,7 +19868,7 @@ enum ModifyClusterSubnetGroupOutputError { enum ModifyCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19885,7 +19885,7 @@ enum ModifyCustomDomainAssociationOutputError { enum ModifyEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19904,7 +19904,7 @@ enum ModifyEndpointAccessOutputError { enum ModifyEventSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19926,7 +19926,7 @@ enum ModifyEventSubscriptionOutputError { enum ModifyRedshiftIdcApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19943,7 +19943,7 @@ enum ModifyRedshiftIdcApplicationOutputError { enum ModifyScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19963,7 +19963,7 @@ enum ModifyScheduledActionOutputError { enum ModifySnapshotCopyRetentionPeriodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19981,7 +19981,7 @@ enum ModifySnapshotCopyRetentionPeriodOutputError { enum ModifySnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -19997,7 +19997,7 @@ enum ModifySnapshotScheduleOutputError { enum ModifyUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20013,7 +20013,7 @@ enum ModifyUsageLimitOutputError { enum PauseClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20029,7 +20029,7 @@ enum PauseClusterOutputError { enum PurchaseReservedNodeOfferingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20046,7 +20046,7 @@ enum PurchaseReservedNodeOfferingOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20063,7 +20063,7 @@ enum PutResourcePolicyOutputError { enum RebootClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20078,7 +20078,7 @@ enum RebootClusterOutputError { enum RejectDataShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20092,7 +20092,7 @@ enum RejectDataShareOutputError { enum ResetClusterParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20107,7 +20107,7 @@ enum ResetClusterParameterGroupOutputError { enum ResizeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20135,7 +20135,7 @@ enum ResizeClusterOutputError { enum RestoreFromClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20181,7 +20181,7 @@ enum RestoreFromClusterSnapshotOutputError { enum RestoreTableFromClusterSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20201,7 +20201,7 @@ enum RestoreTableFromClusterSnapshotOutputError { enum ResumeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20218,7 +20218,7 @@ enum ResumeClusterOutputError { enum RevokeClusterSecurityGroupIngressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20234,7 +20234,7 @@ enum RevokeClusterSecurityGroupIngressOutputError { enum RevokeEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20254,7 +20254,7 @@ enum RevokeEndpointAccessOutputError { enum RevokeSnapshotAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20271,7 +20271,7 @@ enum RevokeSnapshotAccessOutputError { enum RotateEncryptionKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -20288,7 +20288,7 @@ enum RotateEncryptionKeyOutputError { enum UpdatePartnerStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/Models.swift b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/Models.swift index 76239581735..2975ba25277 100644 --- a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/Models.swift +++ b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct ActiveStatementsExceededException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct BatchExecuteStatementException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -89,7 +89,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +196,7 @@ public struct DatabaseConnectionException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -251,7 +251,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -716,7 +716,7 @@ public struct ExecuteStatementException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1399,7 +1399,7 @@ extension ListTablesInput { extension BatchExecuteStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchExecuteStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchExecuteStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1417,7 +1417,7 @@ extension BatchExecuteStatementOutput { extension CancelStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1429,7 +1429,7 @@ extension CancelStatementOutput { extension DescribeStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1459,7 +1459,7 @@ extension DescribeStatementOutput { extension DescribeTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1473,7 +1473,7 @@ extension DescribeTableOutput { extension ExecuteStatementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteStatementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteStatementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1491,7 +1491,7 @@ extension ExecuteStatementOutput { extension GetStatementResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStatementResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStatementResultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1506,7 +1506,7 @@ extension GetStatementResultOutput { extension ListDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1519,7 +1519,7 @@ extension ListDatabasesOutput { extension ListSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1532,7 +1532,7 @@ extension ListSchemasOutput { extension ListStatementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStatementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStatementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1545,7 +1545,7 @@ extension ListStatementsOutput { extension ListTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1558,7 +1558,7 @@ extension ListTablesOutput { enum BatchExecuteStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1574,7 +1574,7 @@ enum BatchExecuteStatementOutputError { enum CancelStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1591,7 +1591,7 @@ enum CancelStatementOutputError { enum DescribeStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1607,7 +1607,7 @@ enum DescribeStatementOutputError { enum DescribeTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1623,7 +1623,7 @@ enum DescribeTableOutputError { enum ExecuteStatementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1639,7 +1639,7 @@ enum ExecuteStatementOutputError { enum GetStatementResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1655,7 +1655,7 @@ enum GetStatementResultOutputError { enum ListDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1671,7 +1671,7 @@ enum ListDatabasesOutputError { enum ListSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1687,7 +1687,7 @@ enum ListSchemasOutputError { enum ListStatementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1702,7 +1702,7 @@ enum ListStatementsOutputError { enum ListTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/Models.swift b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/Models.swift index cb445dfab67..b0f53d651b7 100644 --- a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/Models.swift +++ b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -137,7 +137,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -164,7 +164,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -191,7 +191,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -217,7 +217,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -244,7 +244,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -470,7 +470,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1413,7 +1413,7 @@ public struct InsufficientCapacityException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2431,7 +2431,7 @@ public struct InvalidPaginationException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4428,7 +4428,7 @@ extension UpdateWorkgroupInput { extension ConvertRecoveryPointToSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConvertRecoveryPointToSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConvertRecoveryPointToSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4440,7 +4440,7 @@ extension ConvertRecoveryPointToSnapshotOutput { extension CreateCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4455,7 +4455,7 @@ extension CreateCustomDomainAssociationOutput { extension CreateEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4467,7 +4467,7 @@ extension CreateEndpointAccessOutput { extension CreateNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4479,7 +4479,7 @@ extension CreateNamespaceOutput { extension CreateScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4491,7 +4491,7 @@ extension CreateScheduledActionOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4503,7 +4503,7 @@ extension CreateSnapshotOutput { extension CreateSnapshotCopyConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotCopyConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotCopyConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4515,7 +4515,7 @@ extension CreateSnapshotCopyConfigurationOutput { extension CreateUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUsageLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4527,7 +4527,7 @@ extension CreateUsageLimitOutput { extension CreateWorkgroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkgroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkgroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4539,14 +4539,14 @@ extension CreateWorkgroupOutput { extension DeleteCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomDomainAssociationOutput { return DeleteCustomDomainAssociationOutput() } } extension DeleteEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4558,7 +4558,7 @@ extension DeleteEndpointAccessOutput { extension DeleteNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4570,14 +4570,14 @@ extension DeleteNamespaceOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4589,7 +4589,7 @@ extension DeleteScheduledActionOutput { extension DeleteSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4601,7 +4601,7 @@ extension DeleteSnapshotOutput { extension DeleteSnapshotCopyConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotCopyConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotCopyConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4613,7 +4613,7 @@ extension DeleteSnapshotCopyConfigurationOutput { extension DeleteUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUsageLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4625,7 +4625,7 @@ extension DeleteUsageLimitOutput { extension DeleteWorkgroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkgroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkgroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4637,7 +4637,7 @@ extension DeleteWorkgroupOutput { extension GetCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4652,7 +4652,7 @@ extension GetCredentialsOutput { extension GetCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4667,7 +4667,7 @@ extension GetCustomDomainAssociationOutput { extension GetEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4679,7 +4679,7 @@ extension GetEndpointAccessOutput { extension GetNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4691,7 +4691,7 @@ extension GetNamespaceOutput { extension GetRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecoveryPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4703,7 +4703,7 @@ extension GetRecoveryPointOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4715,7 +4715,7 @@ extension GetResourcePolicyOutput { extension GetScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4727,7 +4727,7 @@ extension GetScheduledActionOutput { extension GetSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4739,7 +4739,7 @@ extension GetSnapshotOutput { extension GetTableRestoreStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTableRestoreStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTableRestoreStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4751,7 +4751,7 @@ extension GetTableRestoreStatusOutput { extension GetUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUsageLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4763,7 +4763,7 @@ extension GetUsageLimitOutput { extension GetWorkgroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkgroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkgroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4775,7 +4775,7 @@ extension GetWorkgroupOutput { extension ListCustomDomainAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomDomainAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomDomainAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4788,7 +4788,7 @@ extension ListCustomDomainAssociationsOutput { extension ListEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4801,7 +4801,7 @@ extension ListEndpointAccessOutput { extension ListNamespacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNamespacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNamespacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4814,7 +4814,7 @@ extension ListNamespacesOutput { extension ListRecoveryPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecoveryPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecoveryPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4827,7 +4827,7 @@ extension ListRecoveryPointsOutput { extension ListScheduledActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScheduledActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScheduledActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4840,7 +4840,7 @@ extension ListScheduledActionsOutput { extension ListSnapshotCopyConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSnapshotCopyConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSnapshotCopyConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4853,7 +4853,7 @@ extension ListSnapshotCopyConfigurationsOutput { extension ListSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4866,7 +4866,7 @@ extension ListSnapshotsOutput { extension ListTableRestoreStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTableRestoreStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTableRestoreStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4879,7 +4879,7 @@ extension ListTableRestoreStatusOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4891,7 +4891,7 @@ extension ListTagsForResourceOutput { extension ListUsageLimitsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsageLimitsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsageLimitsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4904,7 +4904,7 @@ extension ListUsageLimitsOutput { extension ListWorkgroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkgroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkgroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4917,7 +4917,7 @@ extension ListWorkgroupsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4929,7 +4929,7 @@ extension PutResourcePolicyOutput { extension RestoreFromRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreFromRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreFromRecoveryPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4942,7 +4942,7 @@ extension RestoreFromRecoveryPointOutput { extension RestoreFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4956,7 +4956,7 @@ extension RestoreFromSnapshotOutput { extension RestoreTableFromRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreTableFromRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreTableFromRecoveryPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4968,7 +4968,7 @@ extension RestoreTableFromRecoveryPointOutput { extension RestoreTableFromSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreTableFromSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreTableFromSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4980,21 +4980,21 @@ extension RestoreTableFromSnapshotOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCustomDomainAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomDomainAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomDomainAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5009,7 +5009,7 @@ extension UpdateCustomDomainAssociationOutput { extension UpdateEndpointAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5021,7 +5021,7 @@ extension UpdateEndpointAccessOutput { extension UpdateNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5033,7 +5033,7 @@ extension UpdateNamespaceOutput { extension UpdateScheduledActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScheduledActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScheduledActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5045,7 +5045,7 @@ extension UpdateScheduledActionOutput { extension UpdateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5057,7 +5057,7 @@ extension UpdateSnapshotOutput { extension UpdateSnapshotCopyConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSnapshotCopyConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSnapshotCopyConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5069,7 +5069,7 @@ extension UpdateSnapshotCopyConfigurationOutput { extension UpdateUsageLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUsageLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUsageLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5081,7 +5081,7 @@ extension UpdateUsageLimitOutput { extension UpdateWorkgroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkgroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkgroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5093,7 +5093,7 @@ extension UpdateWorkgroupOutput { enum ConvertRecoveryPointToSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5112,7 +5112,7 @@ enum ConvertRecoveryPointToSnapshotOutputError { enum CreateCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5131,7 +5131,7 @@ enum CreateCustomDomainAssociationOutputError { enum CreateEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5150,7 +5150,7 @@ enum CreateEndpointAccessOutputError { enum CreateNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5167,7 +5167,7 @@ enum CreateNamespaceOutputError { enum CreateScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5184,7 +5184,7 @@ enum CreateScheduledActionOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5203,7 +5203,7 @@ enum CreateSnapshotOutputError { enum CreateSnapshotCopyConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5222,7 +5222,7 @@ enum CreateSnapshotCopyConfigurationOutputError { enum CreateUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5240,7 +5240,7 @@ enum CreateUsageLimitOutputError { enum CreateWorkgroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5259,7 +5259,7 @@ enum CreateWorkgroupOutputError { enum DeleteCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5278,7 +5278,7 @@ enum DeleteCustomDomainAssociationOutputError { enum DeleteEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5295,7 +5295,7 @@ enum DeleteEndpointAccessOutputError { enum DeleteNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5312,7 +5312,7 @@ enum DeleteNamespaceOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5328,7 +5328,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5344,7 +5344,7 @@ enum DeleteScheduledActionOutputError { enum DeleteSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5361,7 +5361,7 @@ enum DeleteSnapshotOutputError { enum DeleteSnapshotCopyConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5379,7 +5379,7 @@ enum DeleteSnapshotCopyConfigurationOutputError { enum DeleteUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5396,7 +5396,7 @@ enum DeleteUsageLimitOutputError { enum DeleteWorkgroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5413,7 +5413,7 @@ enum DeleteWorkgroupOutputError { enum GetCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5429,7 +5429,7 @@ enum GetCredentialsOutputError { enum GetCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5448,7 +5448,7 @@ enum GetCustomDomainAssociationOutputError { enum GetEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5465,7 +5465,7 @@ enum GetEndpointAccessOutputError { enum GetNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5481,7 +5481,7 @@ enum GetNamespaceOutputError { enum GetRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5498,7 +5498,7 @@ enum GetRecoveryPointOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5514,7 +5514,7 @@ enum GetResourcePolicyOutputError { enum GetScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5530,7 +5530,7 @@ enum GetScheduledActionOutputError { enum GetSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5546,7 +5546,7 @@ enum GetSnapshotOutputError { enum GetTableRestoreStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5561,7 +5561,7 @@ enum GetTableRestoreStatusOutputError { enum GetUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5578,7 +5578,7 @@ enum GetUsageLimitOutputError { enum GetWorkgroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5594,7 +5594,7 @@ enum GetWorkgroupOutputError { enum ListCustomDomainAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5612,7 +5612,7 @@ enum ListCustomDomainAssociationsOutputError { enum ListEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5629,7 +5629,7 @@ enum ListEndpointAccessOutputError { enum ListNamespacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5644,7 +5644,7 @@ enum ListNamespacesOutputError { enum ListRecoveryPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5659,7 +5659,7 @@ enum ListRecoveryPointsOutputError { enum ListScheduledActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5676,7 +5676,7 @@ enum ListScheduledActionsOutputError { enum ListSnapshotCopyConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5694,7 +5694,7 @@ enum ListSnapshotCopyConfigurationsOutputError { enum ListSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5710,7 +5710,7 @@ enum ListSnapshotsOutputError { enum ListTableRestoreStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5726,7 +5726,7 @@ enum ListTableRestoreStatusOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5743,7 +5743,7 @@ enum ListTagsForResourceOutputError { enum ListUsageLimitsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5761,7 +5761,7 @@ enum ListUsageLimitsOutputError { enum ListWorkgroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5776,7 +5776,7 @@ enum ListWorkgroupsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5794,7 +5794,7 @@ enum PutResourcePolicyOutputError { enum RestoreFromRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5811,7 +5811,7 @@ enum RestoreFromRecoveryPointOutputError { enum RestoreFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5829,7 +5829,7 @@ enum RestoreFromSnapshotOutputError { enum RestoreTableFromRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5846,7 +5846,7 @@ enum RestoreTableFromRecoveryPointOutputError { enum RestoreTableFromSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5863,7 +5863,7 @@ enum RestoreTableFromSnapshotOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5881,7 +5881,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5898,7 +5898,7 @@ enum UntagResourceOutputError { enum UpdateCustomDomainAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5917,7 +5917,7 @@ enum UpdateCustomDomainAssociationOutputError { enum UpdateEndpointAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5935,7 +5935,7 @@ enum UpdateEndpointAccessOutputError { enum UpdateNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5952,7 +5952,7 @@ enum UpdateNamespaceOutputError { enum UpdateScheduledActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5969,7 +5969,7 @@ enum UpdateScheduledActionOutputError { enum UpdateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5986,7 +5986,7 @@ enum UpdateSnapshotOutputError { enum UpdateSnapshotCopyConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6004,7 +6004,7 @@ enum UpdateSnapshotCopyConfigurationOutputError { enum UpdateUsageLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6021,7 +6021,7 @@ enum UpdateUsageLimitOutputError { enum UpdateWorkgroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/Models.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/Models.swift index e2e405d8607..88198f83c4e 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/Models.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -192,7 +192,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -223,7 +223,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -254,7 +254,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -285,7 +285,7 @@ public struct ProvisionedThroughputExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -316,7 +316,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -347,7 +347,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -378,7 +378,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1674,7 +1674,7 @@ public struct ImageTooLargeException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1705,7 +1705,7 @@ public struct InvalidImageFormatException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1736,7 +1736,7 @@ public struct InvalidS3ObjectException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2146,7 +2146,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2177,7 +2177,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2292,7 +2292,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2403,16 +2403,20 @@ public struct CreateDatasetInput { /// The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset. /// This member is required. public var projectArn: Swift.String? + /// A set of tags (key-value pairs) that you want to attach to the dataset. + public var tags: [Swift.String: Swift.String]? public init( datasetSource: RekognitionClientTypes.DatasetSource? = nil, datasetType: RekognitionClientTypes.DatasetType? = nil, - projectArn: Swift.String? = nil + projectArn: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil ) { self.datasetSource = datasetSource self.datasetType = datasetType self.projectArn = projectArn + self.tags = tags } } @@ -2568,16 +2572,20 @@ public struct CreateProjectInput { /// The name of the project to create. /// This member is required. public var projectName: Swift.String? + /// A set of tags (key-value pairs) that you want to attach to the project. + public var tags: [Swift.String: Swift.String]? public init( autoUpdate: RekognitionClientTypes.ProjectAutoUpdate? = nil, feature: RekognitionClientTypes.CustomizationFeature? = nil, - projectName: Swift.String? = nil + projectName: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil ) { self.autoUpdate = autoUpdate self.feature = feature self.projectName = projectName + self.tags = tags } } @@ -3504,7 +3512,7 @@ public struct InvalidPolicyRevisionIdException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3763,7 +3771,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4217,7 +4225,7 @@ public struct ResourceNotReadyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4735,7 +4743,7 @@ public struct HumanLoopQuotaExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4853,7 +4861,7 @@ public struct DetectModerationLabelsOutput { public var contentTypes: [RekognitionClientTypes.ContentType]? /// Shows the results of the human in the loop evaluation. public var humanLoopActivationOutput: RekognitionClientTypes.HumanLoopActivationOutput? - /// Array of detected Moderation labels and the time, in milliseconds from the start of the video, they were detected. + /// Array of detected Moderation labels. For video operations, this includes the time, in milliseconds from the start of the video, they were detected. public var moderationLabels: [RekognitionClientTypes.ModerationLabel]? /// Version number of the base moderation detection model that was used to detect unsafe content. public var moderationModelVersion: Swift.String? @@ -5802,7 +5810,7 @@ public struct SessionNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7125,7 +7133,7 @@ public struct InvalidManifestException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7699,7 +7707,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8204,7 +8212,7 @@ public struct VideoTooLargeException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9550,6 +9558,7 @@ extension CreateDatasetInput { try writer["DatasetSource"].write(value.datasetSource, with: RekognitionClientTypes.DatasetSource.write(value:to:)) try writer["DatasetType"].write(value.datasetType) try writer["ProjectArn"].write(value.projectArn) + try writer["Tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) } } @@ -9570,6 +9579,7 @@ extension CreateProjectInput { try writer["AutoUpdate"].write(value.autoUpdate) try writer["Feature"].write(value.feature) try writer["ProjectName"].write(value.projectName) + try writer["Tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) } } @@ -10280,7 +10290,7 @@ extension UpdateStreamProcessorInput { extension AssociateFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10294,7 +10304,7 @@ extension AssociateFacesOutput { extension CompareFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompareFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompareFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10310,7 +10320,7 @@ extension CompareFacesOutput { extension CopyProjectVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyProjectVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyProjectVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10322,7 +10332,7 @@ extension CopyProjectVersionOutput { extension CreateCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10336,7 +10346,7 @@ extension CreateCollectionOutput { extension CreateDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10348,7 +10358,7 @@ extension CreateDatasetOutput { extension CreateFaceLivenessSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFaceLivenessSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFaceLivenessSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10360,7 +10370,7 @@ extension CreateFaceLivenessSessionOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10372,7 +10382,7 @@ extension CreateProjectOutput { extension CreateProjectVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10384,7 +10394,7 @@ extension CreateProjectVersionOutput { extension CreateStreamProcessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStreamProcessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStreamProcessorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10396,14 +10406,14 @@ extension CreateStreamProcessorOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { return CreateUserOutput() } } extension DeleteCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10415,14 +10425,14 @@ extension DeleteCollectionOutput { extension DeleteDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatasetOutput { return DeleteDatasetOutput() } } extension DeleteFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10435,7 +10445,7 @@ extension DeleteFacesOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10447,14 +10457,14 @@ extension DeleteProjectOutput { extension DeleteProjectPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectPolicyOutput { return DeleteProjectPolicyOutput() } } extension DeleteProjectVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10466,21 +10476,21 @@ extension DeleteProjectVersionOutput { extension DeleteStreamProcessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStreamProcessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStreamProcessorOutput { return DeleteStreamProcessorOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DescribeCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10496,7 +10506,7 @@ extension DescribeCollectionOutput { extension DescribeDatasetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatasetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatasetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10508,7 +10518,7 @@ extension DescribeDatasetOutput { extension DescribeProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10521,7 +10531,7 @@ extension DescribeProjectsOutput { extension DescribeProjectVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10534,7 +10544,7 @@ extension DescribeProjectVersionsOutput { extension DescribeStreamProcessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStreamProcessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStreamProcessorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10559,7 +10569,7 @@ extension DescribeStreamProcessorOutput { extension DetectCustomLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectCustomLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectCustomLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10571,7 +10581,7 @@ extension DetectCustomLabelsOutput { extension DetectFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10584,7 +10594,7 @@ extension DetectFacesOutput { extension DetectLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10599,7 +10609,7 @@ extension DetectLabelsOutput { extension DetectModerationLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectModerationLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectModerationLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10615,7 +10625,7 @@ extension DetectModerationLabelsOutput { extension DetectProtectiveEquipmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectProtectiveEquipmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectProtectiveEquipmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10629,7 +10639,7 @@ extension DetectProtectiveEquipmentOutput { extension DetectTextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectTextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectTextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10642,7 +10652,7 @@ extension DetectTextOutput { extension DisassociateFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10656,14 +10666,14 @@ extension DisassociateFacesOutput { extension DistributeDatasetEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DistributeDatasetEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DistributeDatasetEntriesOutput { return DistributeDatasetEntriesOutput() } } extension GetCelebrityInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCelebrityInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCelebrityInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10677,7 +10687,7 @@ extension GetCelebrityInfoOutput { extension GetCelebrityRecognitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCelebrityRecognitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCelebrityRecognitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10696,7 +10706,7 @@ extension GetCelebrityRecognitionOutput { extension GetContentModerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContentModerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContentModerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10717,7 +10727,7 @@ extension GetContentModerationOutput { extension GetFaceDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFaceDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFaceDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10736,7 +10746,7 @@ extension GetFaceDetectionOutput { extension GetFaceLivenessSessionResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFaceLivenessSessionResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFaceLivenessSessionResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10752,7 +10762,7 @@ extension GetFaceLivenessSessionResultsOutput { extension GetFaceSearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFaceSearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFaceSearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10771,7 +10781,7 @@ extension GetFaceSearchOutput { extension GetLabelDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLabelDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLabelDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10792,7 +10802,7 @@ extension GetLabelDetectionOutput { extension GetMediaAnalysisJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMediaAnalysisJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMediaAnalysisJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10815,7 +10825,7 @@ extension GetMediaAnalysisJobOutput { extension GetPersonTrackingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPersonTrackingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPersonTrackingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10834,7 +10844,7 @@ extension GetPersonTrackingOutput { extension GetSegmentDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSegmentDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSegmentDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10855,7 +10865,7 @@ extension GetSegmentDetectionOutput { extension GetTextDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTextDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTextDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10875,7 +10885,7 @@ extension GetTextDetectionOutput { extension IndexFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IndexFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IndexFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10890,7 +10900,7 @@ extension IndexFacesOutput { extension ListCollectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCollectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCollectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10904,7 +10914,7 @@ extension ListCollectionsOutput { extension ListDatasetEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10917,7 +10927,7 @@ extension ListDatasetEntriesOutput { extension ListDatasetLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatasetLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatasetLabelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10930,7 +10940,7 @@ extension ListDatasetLabelsOutput { extension ListFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10944,7 +10954,7 @@ extension ListFacesOutput { extension ListMediaAnalysisJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMediaAnalysisJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMediaAnalysisJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10957,7 +10967,7 @@ extension ListMediaAnalysisJobsOutput { extension ListProjectPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10970,7 +10980,7 @@ extension ListProjectPoliciesOutput { extension ListStreamProcessorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStreamProcessorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStreamProcessorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10983,7 +10993,7 @@ extension ListStreamProcessorsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10995,7 +11005,7 @@ extension ListTagsForResourceOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11008,7 +11018,7 @@ extension ListUsersOutput { extension PutProjectPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutProjectPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProjectPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11020,7 +11030,7 @@ extension PutProjectPolicyOutput { extension RecognizeCelebritiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RecognizeCelebritiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RecognizeCelebritiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11034,7 +11044,7 @@ extension RecognizeCelebritiesOutput { extension SearchFacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchFacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchFacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11048,7 +11058,7 @@ extension SearchFacesOutput { extension SearchFacesByImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchFacesByImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchFacesByImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11063,7 +11073,7 @@ extension SearchFacesByImageOutput { extension SearchUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11078,7 +11088,7 @@ extension SearchUsersOutput { extension SearchUsersByImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchUsersByImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchUsersByImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11093,7 +11103,7 @@ extension SearchUsersByImageOutput { extension StartCelebrityRecognitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCelebrityRecognitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCelebrityRecognitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11105,7 +11115,7 @@ extension StartCelebrityRecognitionOutput { extension StartContentModerationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContentModerationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContentModerationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11117,7 +11127,7 @@ extension StartContentModerationOutput { extension StartFaceDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFaceDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFaceDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11129,7 +11139,7 @@ extension StartFaceDetectionOutput { extension StartFaceSearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFaceSearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFaceSearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11141,7 +11151,7 @@ extension StartFaceSearchOutput { extension StartLabelDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLabelDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLabelDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11153,7 +11163,7 @@ extension StartLabelDetectionOutput { extension StartMediaAnalysisJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMediaAnalysisJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMediaAnalysisJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11165,7 +11175,7 @@ extension StartMediaAnalysisJobOutput { extension StartPersonTrackingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPersonTrackingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPersonTrackingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11177,7 +11187,7 @@ extension StartPersonTrackingOutput { extension StartProjectVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartProjectVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartProjectVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11189,7 +11199,7 @@ extension StartProjectVersionOutput { extension StartSegmentDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSegmentDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSegmentDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11201,7 +11211,7 @@ extension StartSegmentDetectionOutput { extension StartStreamProcessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartStreamProcessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartStreamProcessorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11213,7 +11223,7 @@ extension StartStreamProcessorOutput { extension StartTextDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTextDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTextDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11225,7 +11235,7 @@ extension StartTextDetectionOutput { extension StopProjectVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopProjectVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopProjectVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -11237,42 +11247,42 @@ extension StopProjectVersionOutput { extension StopStreamProcessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopStreamProcessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopStreamProcessorOutput { return StopStreamProcessorOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDatasetEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatasetEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatasetEntriesOutput { return UpdateDatasetEntriesOutput() } } extension UpdateStreamProcessorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStreamProcessorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStreamProcessorOutput { return UpdateStreamProcessorOutput() } } enum AssociateFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11294,7 +11304,7 @@ enum AssociateFacesOutputError { enum CompareFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11315,7 +11325,7 @@ enum CompareFacesOutputError { enum CopyProjectVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11337,7 +11347,7 @@ enum CopyProjectVersionOutputError { enum CreateCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11357,7 +11367,7 @@ enum CreateCollectionOutputError { enum CreateDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11379,7 +11389,7 @@ enum CreateDatasetOutputError { enum CreateFaceLivenessSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11397,7 +11407,7 @@ enum CreateFaceLivenessSessionOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11417,7 +11427,7 @@ enum CreateProjectOutputError { enum CreateProjectVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11439,7 +11449,7 @@ enum CreateProjectVersionOutputError { enum CreateStreamProcessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11460,7 +11470,7 @@ enum CreateStreamProcessorOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11482,7 +11492,7 @@ enum CreateUserOutputError { enum DeleteCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11501,7 +11511,7 @@ enum DeleteCollectionOutputError { enum DeleteDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11522,7 +11532,7 @@ enum DeleteDatasetOutputError { enum DeleteFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11541,7 +11551,7 @@ enum DeleteFacesOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11561,7 +11571,7 @@ enum DeleteProjectOutputError { enum DeleteProjectPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11581,7 +11591,7 @@ enum DeleteProjectPolicyOutputError { enum DeleteProjectVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11601,7 +11611,7 @@ enum DeleteProjectVersionOutputError { enum DeleteStreamProcessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11621,7 +11631,7 @@ enum DeleteStreamProcessorOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11642,7 +11652,7 @@ enum DeleteUserOutputError { enum DescribeCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11661,7 +11671,7 @@ enum DescribeCollectionOutputError { enum DescribeDatasetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11680,7 +11690,7 @@ enum DescribeDatasetOutputError { enum DescribeProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11699,7 +11709,7 @@ enum DescribeProjectsOutputError { enum DescribeProjectVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11719,7 +11729,7 @@ enum DescribeProjectVersionsOutputError { enum DescribeStreamProcessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11738,7 +11748,7 @@ enum DescribeStreamProcessorOutputError { enum DetectCustomLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11762,7 +11772,7 @@ enum DetectCustomLabelsOutputError { enum DetectFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11783,7 +11793,7 @@ enum DetectFacesOutputError { enum DetectLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11804,7 +11814,7 @@ enum DetectLabelsOutputError { enum DetectModerationLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11828,7 +11838,7 @@ enum DetectModerationLabelsOutputError { enum DetectProtectiveEquipmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11849,7 +11859,7 @@ enum DetectProtectiveEquipmentOutputError { enum DetectTextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11870,7 +11880,7 @@ enum DetectTextOutputError { enum DisassociateFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11891,7 +11901,7 @@ enum DisassociateFacesOutputError { enum DistributeDatasetEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11911,7 +11921,7 @@ enum DistributeDatasetEntriesOutputError { enum GetCelebrityInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11930,7 +11940,7 @@ enum GetCelebrityInfoOutputError { enum GetCelebrityRecognitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11950,7 +11960,7 @@ enum GetCelebrityRecognitionOutputError { enum GetContentModerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11970,7 +11980,7 @@ enum GetContentModerationOutputError { enum GetFaceDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11990,7 +12000,7 @@ enum GetFaceDetectionOutputError { enum GetFaceLivenessSessionResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12009,7 +12019,7 @@ enum GetFaceLivenessSessionResultsOutputError { enum GetFaceSearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12029,7 +12039,7 @@ enum GetFaceSearchOutputError { enum GetLabelDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12049,7 +12059,7 @@ enum GetLabelDetectionOutputError { enum GetMediaAnalysisJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12068,7 +12078,7 @@ enum GetMediaAnalysisJobOutputError { enum GetPersonTrackingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12088,7 +12098,7 @@ enum GetPersonTrackingOutputError { enum GetSegmentDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12108,7 +12118,7 @@ enum GetSegmentDetectionOutputError { enum GetTextDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12128,7 +12138,7 @@ enum GetTextDetectionOutputError { enum IndexFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12151,7 +12161,7 @@ enum IndexFacesOutputError { enum ListCollectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12171,7 +12181,7 @@ enum ListCollectionsOutputError { enum ListDatasetEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12193,7 +12203,7 @@ enum ListDatasetEntriesOutputError { enum ListDatasetLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12215,7 +12225,7 @@ enum ListDatasetLabelsOutputError { enum ListFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12235,7 +12245,7 @@ enum ListFacesOutputError { enum ListMediaAnalysisJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12254,7 +12264,7 @@ enum ListMediaAnalysisJobsOutputError { enum ListProjectPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12274,7 +12284,7 @@ enum ListProjectPoliciesOutputError { enum ListStreamProcessorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12293,7 +12303,7 @@ enum ListStreamProcessorsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12312,7 +12322,7 @@ enum ListTagsForResourceOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12332,7 +12342,7 @@ enum ListUsersOutputError { enum PutProjectPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12356,7 +12366,7 @@ enum PutProjectPolicyOutputError { enum RecognizeCelebritiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12377,7 +12387,7 @@ enum RecognizeCelebritiesOutputError { enum SearchFacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12396,7 +12406,7 @@ enum SearchFacesOutputError { enum SearchFacesByImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12418,7 +12428,7 @@ enum SearchFacesByImageOutputError { enum SearchUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12437,7 +12447,7 @@ enum SearchUsersOutputError { enum SearchUsersByImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12459,7 +12469,7 @@ enum SearchUsersByImageOutputError { enum StartCelebrityRecognitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12481,7 +12491,7 @@ enum StartCelebrityRecognitionOutputError { enum StartContentModerationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12503,7 +12513,7 @@ enum StartContentModerationOutputError { enum StartFaceDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12525,7 +12535,7 @@ enum StartFaceDetectionOutputError { enum StartFaceSearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12548,7 +12558,7 @@ enum StartFaceSearchOutputError { enum StartLabelDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12570,7 +12580,7 @@ enum StartLabelDetectionOutputError { enum StartMediaAnalysisJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12594,7 +12604,7 @@ enum StartMediaAnalysisJobOutputError { enum StartPersonTrackingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12616,7 +12626,7 @@ enum StartPersonTrackingOutputError { enum StartProjectVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12637,7 +12647,7 @@ enum StartProjectVersionOutputError { enum StartSegmentDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12659,7 +12669,7 @@ enum StartSegmentDetectionOutputError { enum StartStreamProcessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12679,7 +12689,7 @@ enum StartStreamProcessorOutputError { enum StartTextDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12701,7 +12711,7 @@ enum StartTextDetectionOutputError { enum StopProjectVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12721,7 +12731,7 @@ enum StopProjectVersionOutputError { enum StopStreamProcessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12741,7 +12751,7 @@ enum StopStreamProcessorOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12761,7 +12771,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12780,7 +12790,7 @@ enum UntagResourceOutputError { enum UpdateDatasetEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12801,7 +12811,7 @@ enum UpdateDatasetEntriesOutputError { enum UpdateStreamProcessorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift index feaf11670e2..d72c8e67822 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift @@ -2327,7 +2327,7 @@ extension RekognitionClient { /// * Timestamp - Time, in milliseconds from the start of the video, that the label was detected. For aggregation by SEGMENTS, the StartTimestampMillis, EndTimestampMillis, and DurationMillis structures are what define a segment. Although the “Timestamp” structure is still returned with each label, its value is set to be the same as StartTimestampMillis. /// /// - /// Timestamp and Bounding box information are returned for detected Instances, only if aggregation is done by TIMESTAMPS. If aggregating by SEGMENTS, information about detected instances isn’t returned. The version of the label model used for the detection is also returned. Note DominantColors isn't returned for Instances, although it is shown as part of the response in the sample seen below. Use MaxResults parameter to limit the number of labels returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetlabelDetection and populate the NextToken request parameter with the token value returned from the previous call to GetLabelDetection. + /// Timestamp and Bounding box information are returned for detected Instances, only if aggregation is done by TIMESTAMPS. If aggregating by SEGMENTS, information about detected instances isn’t returned. The version of the label model used for the detection is also returned. Note DominantColors isn't returned for Instances, although it is shown as part of the response in the sample seen below. Use MaxResults parameter to limit the number of labels returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetlabelDetection and populate the NextToken request parameter with the token value returned from the previous call to GetLabelDetection. If you are retrieving results while using the Amazon Simple Notification Service, note that you will receive an "ERROR" notification if the job encounters an issue. /// /// - Parameter GetLabelDetectionInput : [no documentation found] /// diff --git a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/Models.swift b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/Models.swift index 4a9fd2b291f..c9bb430e94d 100644 --- a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/Models.swift +++ b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -61,7 +61,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +121,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -152,7 +152,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -185,7 +185,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -226,7 +226,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -265,7 +265,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -358,7 +358,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1114,7 +1114,7 @@ extension UpdateSpaceInput { extension CreateSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1126,21 +1126,21 @@ extension CreateSpaceOutput { extension DeleteSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSpaceOutput { return DeleteSpaceOutput() } } extension DeregisterAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterAdminOutput { return DeregisterAdminOutput() } } extension GetSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1171,7 +1171,7 @@ extension GetSpaceOutput { extension ListSpacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSpacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSpacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1184,7 +1184,7 @@ extension ListSpacesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1196,42 +1196,42 @@ extension ListTagsForResourceOutput { extension RegisterAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterAdminOutput { return RegisterAdminOutput() } } extension SendInvitesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendInvitesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendInvitesOutput { return SendInvitesOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSpaceOutput { return UpdateSpaceOutput() } } enum CreateSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1251,7 +1251,7 @@ enum CreateSpaceOutputError { enum DeleteSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1269,7 +1269,7 @@ enum DeleteSpaceOutputError { enum DeregisterAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1287,7 +1287,7 @@ enum DeregisterAdminOutputError { enum GetSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1305,7 +1305,7 @@ enum GetSpaceOutputError { enum ListSpacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1322,7 +1322,7 @@ enum ListSpacesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1340,7 +1340,7 @@ enum ListTagsForResourceOutputError { enum RegisterAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1358,7 +1358,7 @@ enum RegisterAdminOutputError { enum SendInvitesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1376,7 +1376,7 @@ enum SendInvitesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1394,7 +1394,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1412,7 +1412,7 @@ enum UntagResourceOutputError { enum UpdateSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/Models.swift b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/Models.swift index d62d1c3d4c4..e2fadd44a35 100644 --- a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/Models.swift +++ b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -40,7 +40,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -68,7 +68,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -124,7 +124,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -180,7 +180,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2120,7 +2120,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6796,7 +6796,7 @@ extension UpdateResiliencyPolicyInput { extension AddDraftAppVersionResourceMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddDraftAppVersionResourceMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddDraftAppVersionResourceMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6810,7 +6810,7 @@ extension AddDraftAppVersionResourceMappingsOutput { extension BatchUpdateRecommendationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateRecommendationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateRecommendationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6824,7 +6824,7 @@ extension BatchUpdateRecommendationStatusOutput { extension CreateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6836,7 +6836,7 @@ extension CreateAppOutput { extension CreateAppVersionAppComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppVersionAppComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppVersionAppComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6850,7 +6850,7 @@ extension CreateAppVersionAppComponentOutput { extension CreateAppVersionResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppVersionResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppVersionResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6864,7 +6864,7 @@ extension CreateAppVersionResourceOutput { extension CreateRecommendationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecommendationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecommendationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6876,7 +6876,7 @@ extension CreateRecommendationTemplateOutput { extension CreateResiliencyPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResiliencyPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResiliencyPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6888,7 +6888,7 @@ extension CreateResiliencyPolicyOutput { extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6900,7 +6900,7 @@ extension DeleteAppOutput { extension DeleteAppAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6913,7 +6913,7 @@ extension DeleteAppAssessmentOutput { extension DeleteAppInputSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppInputSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppInputSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6926,7 +6926,7 @@ extension DeleteAppInputSourceOutput { extension DeleteAppVersionAppComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppVersionAppComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppVersionAppComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6940,7 +6940,7 @@ extension DeleteAppVersionAppComponentOutput { extension DeleteAppVersionResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppVersionResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppVersionResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6954,7 +6954,7 @@ extension DeleteAppVersionResourceOutput { extension DeleteRecommendationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecommendationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecommendationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6967,7 +6967,7 @@ extension DeleteRecommendationTemplateOutput { extension DeleteResiliencyPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResiliencyPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResiliencyPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6979,7 +6979,7 @@ extension DeleteResiliencyPolicyOutput { extension DescribeAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6991,7 +6991,7 @@ extension DescribeAppOutput { extension DescribeAppAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7003,7 +7003,7 @@ extension DescribeAppAssessmentOutput { extension DescribeAppVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7017,7 +7017,7 @@ extension DescribeAppVersionOutput { extension DescribeAppVersionAppComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppVersionAppComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppVersionAppComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7031,7 +7031,7 @@ extension DescribeAppVersionAppComponentOutput { extension DescribeAppVersionResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppVersionResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppVersionResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7045,7 +7045,7 @@ extension DescribeAppVersionResourceOutput { extension DescribeAppVersionResourcesResolutionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppVersionResourcesResolutionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppVersionResourcesResolutionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7061,7 +7061,7 @@ extension DescribeAppVersionResourcesResolutionStatusOutput { extension DescribeAppVersionTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppVersionTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppVersionTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7075,7 +7075,7 @@ extension DescribeAppVersionTemplateOutput { extension DescribeDraftAppVersionResourcesImportStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDraftAppVersionResourcesImportStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDraftAppVersionResourcesImportStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7091,7 +7091,7 @@ extension DescribeDraftAppVersionResourcesImportStatusOutput { extension DescribeResiliencyPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResiliencyPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResiliencyPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7103,7 +7103,7 @@ extension DescribeResiliencyPolicyOutput { extension ImportResourcesToDraftAppVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportResourcesToDraftAppVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportResourcesToDraftAppVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7120,7 +7120,7 @@ extension ImportResourcesToDraftAppVersionOutput { extension ListAlarmRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlarmRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlarmRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7133,7 +7133,7 @@ extension ListAlarmRecommendationsOutput { extension ListAppAssessmentComplianceDriftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppAssessmentComplianceDriftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppAssessmentComplianceDriftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7146,7 +7146,7 @@ extension ListAppAssessmentComplianceDriftsOutput { extension ListAppAssessmentResourceDriftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppAssessmentResourceDriftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppAssessmentResourceDriftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7159,7 +7159,7 @@ extension ListAppAssessmentResourceDriftsOutput { extension ListAppAssessmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppAssessmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppAssessmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7172,7 +7172,7 @@ extension ListAppAssessmentsOutput { extension ListAppComponentCompliancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppComponentCompliancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppComponentCompliancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7185,7 +7185,7 @@ extension ListAppComponentCompliancesOutput { extension ListAppComponentRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppComponentRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppComponentRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7198,7 +7198,7 @@ extension ListAppComponentRecommendationsOutput { extension ListAppInputSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppInputSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppInputSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7211,7 +7211,7 @@ extension ListAppInputSourcesOutput { extension ListAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7224,7 +7224,7 @@ extension ListAppsOutput { extension ListAppVersionAppComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppVersionAppComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppVersionAppComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7239,7 +7239,7 @@ extension ListAppVersionAppComponentsOutput { extension ListAppVersionResourceMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppVersionResourceMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppVersionResourceMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7252,7 +7252,7 @@ extension ListAppVersionResourceMappingsOutput { extension ListAppVersionResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppVersionResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppVersionResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7266,7 +7266,7 @@ extension ListAppVersionResourcesOutput { extension ListAppVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7279,7 +7279,7 @@ extension ListAppVersionsOutput { extension ListRecommendationTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7292,7 +7292,7 @@ extension ListRecommendationTemplatesOutput { extension ListResiliencyPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResiliencyPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResiliencyPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7305,7 +7305,7 @@ extension ListResiliencyPoliciesOutput { extension ListSopRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSopRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSopRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7318,7 +7318,7 @@ extension ListSopRecommendationsOutput { extension ListSuggestedResiliencyPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSuggestedResiliencyPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSuggestedResiliencyPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7331,7 +7331,7 @@ extension ListSuggestedResiliencyPoliciesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7343,7 +7343,7 @@ extension ListTagsForResourceOutput { extension ListTestRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTestRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTestRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7356,7 +7356,7 @@ extension ListTestRecommendationsOutput { extension ListUnsupportedAppVersionResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUnsupportedAppVersionResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUnsupportedAppVersionResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7370,7 +7370,7 @@ extension ListUnsupportedAppVersionResourcesOutput { extension PublishAppVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishAppVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishAppVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7385,7 +7385,7 @@ extension PublishAppVersionOutput { extension PutDraftAppVersionTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDraftAppVersionTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDraftAppVersionTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7398,7 +7398,7 @@ extension PutDraftAppVersionTemplateOutput { extension RemoveDraftAppVersionResourceMappingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveDraftAppVersionResourceMappingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveDraftAppVersionResourceMappingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7411,7 +7411,7 @@ extension RemoveDraftAppVersionResourceMappingsOutput { extension ResolveAppVersionResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResolveAppVersionResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResolveAppVersionResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7426,7 +7426,7 @@ extension ResolveAppVersionResourcesOutput { extension StartAppAssessmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAppAssessmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAppAssessmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7438,21 +7438,21 @@ extension StartAppAssessmentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7464,7 +7464,7 @@ extension UpdateAppOutput { extension UpdateAppVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7478,7 +7478,7 @@ extension UpdateAppVersionOutput { extension UpdateAppVersionAppComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppVersionAppComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppVersionAppComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7492,7 +7492,7 @@ extension UpdateAppVersionAppComponentOutput { extension UpdateAppVersionResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppVersionResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppVersionResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7506,7 +7506,7 @@ extension UpdateAppVersionResourceOutput { extension UpdateResiliencyPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResiliencyPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResiliencyPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7518,7 +7518,7 @@ extension UpdateResiliencyPolicyOutput { enum AddDraftAppVersionResourceMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7537,7 +7537,7 @@ enum AddDraftAppVersionResourceMappingsOutputError { enum BatchUpdateRecommendationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7555,7 +7555,7 @@ enum BatchUpdateRecommendationStatusOutputError { enum CreateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7575,7 +7575,7 @@ enum CreateAppOutputError { enum CreateAppVersionAppComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7595,7 +7595,7 @@ enum CreateAppVersionAppComponentOutputError { enum CreateAppVersionResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7615,7 +7615,7 @@ enum CreateAppVersionResourceOutputError { enum CreateRecommendationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7635,7 +7635,7 @@ enum CreateRecommendationTemplateOutputError { enum CreateResiliencyPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7654,7 +7654,7 @@ enum CreateResiliencyPolicyOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7672,7 +7672,7 @@ enum DeleteAppOutputError { enum DeleteAppAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7691,7 +7691,7 @@ enum DeleteAppAssessmentOutputError { enum DeleteAppInputSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7710,7 +7710,7 @@ enum DeleteAppInputSourceOutputError { enum DeleteAppVersionAppComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7729,7 +7729,7 @@ enum DeleteAppVersionAppComponentOutputError { enum DeleteAppVersionResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7748,7 +7748,7 @@ enum DeleteAppVersionResourceOutputError { enum DeleteRecommendationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7766,7 +7766,7 @@ enum DeleteRecommendationTemplateOutputError { enum DeleteResiliencyPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7785,7 +7785,7 @@ enum DeleteResiliencyPolicyOutputError { enum DescribeAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7803,7 +7803,7 @@ enum DescribeAppOutputError { enum DescribeAppAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7821,7 +7821,7 @@ enum DescribeAppAssessmentOutputError { enum DescribeAppVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7839,7 +7839,7 @@ enum DescribeAppVersionOutputError { enum DescribeAppVersionAppComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7858,7 +7858,7 @@ enum DescribeAppVersionAppComponentOutputError { enum DescribeAppVersionResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7877,7 +7877,7 @@ enum DescribeAppVersionResourceOutputError { enum DescribeAppVersionResourcesResolutionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7895,7 +7895,7 @@ enum DescribeAppVersionResourcesResolutionStatusOutputError { enum DescribeAppVersionTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7913,7 +7913,7 @@ enum DescribeAppVersionTemplateOutputError { enum DescribeDraftAppVersionResourcesImportStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7931,7 +7931,7 @@ enum DescribeDraftAppVersionResourcesImportStatusOutputError { enum DescribeResiliencyPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7949,7 +7949,7 @@ enum DescribeResiliencyPolicyOutputError { enum ImportResourcesToDraftAppVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7969,7 +7969,7 @@ enum ImportResourcesToDraftAppVersionOutputError { enum ListAlarmRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7987,7 +7987,7 @@ enum ListAlarmRecommendationsOutputError { enum ListAppAssessmentComplianceDriftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8004,7 +8004,7 @@ enum ListAppAssessmentComplianceDriftsOutputError { enum ListAppAssessmentResourceDriftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8021,7 +8021,7 @@ enum ListAppAssessmentResourceDriftsOutputError { enum ListAppAssessmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8039,7 +8039,7 @@ enum ListAppAssessmentsOutputError { enum ListAppComponentCompliancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8057,7 +8057,7 @@ enum ListAppComponentCompliancesOutputError { enum ListAppComponentRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8075,7 +8075,7 @@ enum ListAppComponentRecommendationsOutputError { enum ListAppInputSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8093,7 +8093,7 @@ enum ListAppInputSourcesOutputError { enum ListAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8110,7 +8110,7 @@ enum ListAppsOutputError { enum ListAppVersionAppComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8129,7 +8129,7 @@ enum ListAppVersionAppComponentsOutputError { enum ListAppVersionResourceMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8147,7 +8147,7 @@ enum ListAppVersionResourceMappingsOutputError { enum ListAppVersionResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8166,7 +8166,7 @@ enum ListAppVersionResourcesOutputError { enum ListAppVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8183,7 +8183,7 @@ enum ListAppVersionsOutputError { enum ListRecommendationTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8200,7 +8200,7 @@ enum ListRecommendationTemplatesOutputError { enum ListResiliencyPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8218,7 +8218,7 @@ enum ListResiliencyPoliciesOutputError { enum ListSopRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8237,7 +8237,7 @@ enum ListSopRecommendationsOutputError { enum ListSuggestedResiliencyPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8255,7 +8255,7 @@ enum ListSuggestedResiliencyPoliciesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8273,7 +8273,7 @@ enum ListTagsForResourceOutputError { enum ListTestRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8292,7 +8292,7 @@ enum ListTestRecommendationsOutputError { enum ListUnsupportedAppVersionResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8311,7 +8311,7 @@ enum ListUnsupportedAppVersionResourcesOutputError { enum PublishAppVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8330,7 +8330,7 @@ enum PublishAppVersionOutputError { enum PutDraftAppVersionTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8349,7 +8349,7 @@ enum PutDraftAppVersionTemplateOutputError { enum RemoveDraftAppVersionResourceMappingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8368,7 +8368,7 @@ enum RemoveDraftAppVersionResourceMappingsOutputError { enum ResolveAppVersionResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8387,7 +8387,7 @@ enum ResolveAppVersionResourcesOutputError { enum StartAppAssessmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8407,7 +8407,7 @@ enum StartAppAssessmentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8425,7 +8425,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8443,7 +8443,7 @@ enum UntagResourceOutputError { enum UpdateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8462,7 +8462,7 @@ enum UpdateAppOutputError { enum UpdateAppVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8481,7 +8481,7 @@ enum UpdateAppVersionOutputError { enum UpdateAppVersionAppComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8500,7 +8500,7 @@ enum UpdateAppVersionAppComponentOutputError { enum UpdateAppVersionResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8520,7 +8520,7 @@ enum UpdateAppVersionResourceOutputError { enum UpdateResiliencyPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/Models.swift b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/Models.swift index f97b6f113d6..8f782f69360 100644 --- a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/Models.swift +++ b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -61,7 +61,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -85,7 +85,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -109,7 +109,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -133,7 +133,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -182,7 +182,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -262,7 +262,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -420,7 +420,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -667,7 +667,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1655,7 +1655,7 @@ extension UpdateViewInput { extension AssociateDefaultViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDefaultViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDefaultViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1667,7 +1667,7 @@ extension AssociateDefaultViewOutput { extension BatchGetViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1680,7 +1680,7 @@ extension BatchGetViewOutput { extension CreateIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1694,7 +1694,7 @@ extension CreateIndexOutput { extension CreateViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1706,7 +1706,7 @@ extension CreateViewOutput { extension DeleteIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1720,7 +1720,7 @@ extension DeleteIndexOutput { extension DeleteViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1732,14 +1732,14 @@ extension DeleteViewOutput { extension DisassociateDefaultViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDefaultViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDefaultViewOutput { return DisassociateDefaultViewOutput() } } extension GetAccountLevelServiceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountLevelServiceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountLevelServiceConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1751,7 +1751,7 @@ extension GetAccountLevelServiceConfigurationOutput { extension GetDefaultViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDefaultViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDefaultViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1763,7 +1763,7 @@ extension GetDefaultViewOutput { extension GetIndexOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIndexOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIndexOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1782,7 +1782,7 @@ extension GetIndexOutput { extension GetViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1795,7 +1795,7 @@ extension GetViewOutput { extension ListIndexesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndexesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndexesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1808,7 +1808,7 @@ extension ListIndexesOutput { extension ListIndexesForMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIndexesForMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIndexesForMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1821,7 +1821,7 @@ extension ListIndexesForMembersOutput { extension ListSupportedResourceTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSupportedResourceTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSupportedResourceTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1834,7 +1834,7 @@ extension ListSupportedResourceTypesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1846,7 +1846,7 @@ extension ListTagsForResourceOutput { extension ListViewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListViewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListViewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1859,7 +1859,7 @@ extension ListViewsOutput { extension SearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1874,21 +1874,21 @@ extension SearchOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateIndexTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIndexTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIndexTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1903,7 +1903,7 @@ extension UpdateIndexTypeOutput { extension UpdateViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1915,7 +1915,7 @@ extension UpdateViewOutput { enum AssociateDefaultViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1933,7 +1933,7 @@ enum AssociateDefaultViewOutputError { enum BatchGetViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1951,7 +1951,7 @@ enum BatchGetViewOutputError { enum CreateIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1969,7 +1969,7 @@ enum CreateIndexOutputError { enum CreateViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1989,7 +1989,7 @@ enum CreateViewOutputError { enum DeleteIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2007,7 +2007,7 @@ enum DeleteIndexOutputError { enum DeleteViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2026,7 +2026,7 @@ enum DeleteViewOutputError { enum DisassociateDefaultViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2044,7 +2044,7 @@ enum DisassociateDefaultViewOutputError { enum GetAccountLevelServiceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2061,7 +2061,7 @@ enum GetAccountLevelServiceConfigurationOutputError { enum GetDefaultViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2079,7 +2079,7 @@ enum GetDefaultViewOutputError { enum GetIndexOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2097,7 +2097,7 @@ enum GetIndexOutputError { enum GetViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2116,7 +2116,7 @@ enum GetViewOutputError { enum ListIndexesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2133,7 +2133,7 @@ enum ListIndexesOutputError { enum ListIndexesForMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2150,7 +2150,7 @@ enum ListIndexesForMembersOutputError { enum ListSupportedResourceTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2167,7 +2167,7 @@ enum ListSupportedResourceTypesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2186,7 +2186,7 @@ enum ListTagsForResourceOutputError { enum ListViewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2203,7 +2203,7 @@ enum ListViewsOutputError { enum SearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2222,7 +2222,7 @@ enum SearchOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2241,7 +2241,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2260,7 +2260,7 @@ enum UntagResourceOutputError { enum UpdateIndexTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2280,7 +2280,7 @@ enum UpdateIndexTypeOutputError { enum UpdateViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/Models.swift b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/Models.swift index b171aa2869f..39bcb22ca87 100644 --- a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/Models.swift +++ b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -126,7 +126,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct MethodNotAllowedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -513,7 +513,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -789,7 +789,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1739,7 +1739,7 @@ extension UpdateGroupQueryInput { extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1754,7 +1754,7 @@ extension CreateGroupOutput { extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1766,7 +1766,7 @@ extension DeleteGroupOutput { extension GetAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1778,7 +1778,7 @@ extension GetAccountSettingsOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1790,7 +1790,7 @@ extension GetGroupOutput { extension GetGroupConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1802,7 +1802,7 @@ extension GetGroupConfigurationOutput { extension GetGroupQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1814,7 +1814,7 @@ extension GetGroupQueryOutput { extension GetTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1827,7 +1827,7 @@ extension GetTagsOutput { extension GroupResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GroupResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GroupResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1841,7 +1841,7 @@ extension GroupResourcesOutput { extension ListGroupResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1856,7 +1856,7 @@ extension ListGroupResourcesOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1870,14 +1870,14 @@ extension ListGroupsOutput { extension PutGroupConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutGroupConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutGroupConfigurationOutput { return PutGroupConfigurationOutput() } } extension SearchResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1891,7 +1891,7 @@ extension SearchResourcesOutput { extension TagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1904,7 +1904,7 @@ extension TagOutput { extension UngroupResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UngroupResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UngroupResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1918,7 +1918,7 @@ extension UngroupResourcesOutput { extension UntagOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1931,7 +1931,7 @@ extension UntagOutput { extension UpdateAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1943,7 +1943,7 @@ extension UpdateAccountSettingsOutput { extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1955,7 +1955,7 @@ extension UpdateGroupOutput { extension UpdateGroupQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1967,7 +1967,7 @@ extension UpdateGroupQueryOutput { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1985,7 +1985,7 @@ enum CreateGroupOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2004,7 +2004,7 @@ enum DeleteGroupOutputError { enum GetAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2022,7 +2022,7 @@ enum GetAccountSettingsOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2041,7 +2041,7 @@ enum GetGroupOutputError { enum GetGroupConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2060,7 +2060,7 @@ enum GetGroupConfigurationOutputError { enum GetGroupQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2079,7 +2079,7 @@ enum GetGroupQueryOutputError { enum GetTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2098,7 +2098,7 @@ enum GetTagsOutputError { enum GroupResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2117,7 +2117,7 @@ enum GroupResourcesOutputError { enum ListGroupResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2137,7 +2137,7 @@ enum ListGroupResourcesOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2155,7 +2155,7 @@ enum ListGroupsOutputError { enum PutGroupConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2174,7 +2174,7 @@ enum PutGroupConfigurationOutputError { enum SearchResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2193,7 +2193,7 @@ enum SearchResourcesOutputError { enum TagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2212,7 +2212,7 @@ enum TagOutputError { enum UngroupResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2231,7 +2231,7 @@ enum UngroupResourcesOutputError { enum UntagOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2250,7 +2250,7 @@ enum UntagOutputError { enum UpdateAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2268,7 +2268,7 @@ enum UpdateAccountSettingsOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2287,7 +2287,7 @@ enum UpdateGroupOutputError { enum UpdateGroupQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/Models.swift b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/Models.swift index 76ffc32e738..6e7f0a6336f 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/Models.swift +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -57,7 +57,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -87,7 +87,7 @@ public struct ConstraintViolationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +145,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -169,7 +169,7 @@ public struct ThrottledException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -451,7 +451,7 @@ public struct PaginationTokenExpiredException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -878,7 +878,7 @@ extension UntagResourcesInput { extension DescribeReportCreationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReportCreationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReportCreationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -893,7 +893,7 @@ extension DescribeReportCreationOutput { extension GetComplianceSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComplianceSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComplianceSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -906,7 +906,7 @@ extension GetComplianceSummaryOutput { extension GetResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -919,7 +919,7 @@ extension GetResourcesOutput { extension GetTagKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -932,7 +932,7 @@ extension GetTagKeysOutput { extension GetTagValuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTagValuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTagValuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -945,14 +945,14 @@ extension GetTagValuesOutput { extension StartReportCreationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartReportCreationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartReportCreationOutput { return StartReportCreationOutput() } } extension TagResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -964,7 +964,7 @@ extension TagResourcesOutput { extension UntagResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -976,7 +976,7 @@ extension UntagResourcesOutput { enum DescribeReportCreationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -993,7 +993,7 @@ enum DescribeReportCreationOutputError { enum GetComplianceSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1010,7 +1010,7 @@ enum GetComplianceSummaryOutputError { enum GetResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1027,7 +1027,7 @@ enum GetResourcesOutputError { enum GetTagKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1044,7 +1044,7 @@ enum GetTagKeysOutputError { enum GetTagValuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1061,7 +1061,7 @@ enum GetTagValuesOutputError { enum StartReportCreationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1079,7 +1079,7 @@ enum StartReportCreationOutputError { enum TagResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1095,7 +1095,7 @@ enum TagResourcesOutputError { enum UntagResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/Models.swift b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/Models.swift index 808c93c3920..8088c7927fb 100644 --- a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/Models.swift +++ b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -67,7 +67,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -91,7 +91,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -115,7 +115,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -164,7 +164,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1178,7 +1178,7 @@ public struct ConcurrentDeploymentException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1202,7 +1202,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1226,7 +1226,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1621,7 +1621,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2262,7 +2262,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6419,7 +6419,7 @@ extension UpdateWorldTemplateInput { extension BatchDeleteWorldsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteWorldsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteWorldsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6431,7 +6431,7 @@ extension BatchDeleteWorldsOutput { extension BatchDescribeSimulationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDescribeSimulationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDescribeSimulationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6444,42 +6444,42 @@ extension BatchDescribeSimulationJobOutput { extension CancelDeploymentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDeploymentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDeploymentJobOutput { return CancelDeploymentJobOutput() } } extension CancelSimulationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSimulationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSimulationJobOutput { return CancelSimulationJobOutput() } } extension CancelSimulationJobBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSimulationJobBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSimulationJobBatchOutput { return CancelSimulationJobBatchOutput() } } extension CancelWorldExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelWorldExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelWorldExportJobOutput { return CancelWorldExportJobOutput() } } extension CancelWorldGenerationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelWorldGenerationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelWorldGenerationJobOutput { return CancelWorldGenerationJobOutput() } } extension CreateDeploymentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeploymentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeploymentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6499,7 +6499,7 @@ extension CreateDeploymentJobOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6514,7 +6514,7 @@ extension CreateFleetOutput { extension CreateRobotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRobotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRobotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6531,7 +6531,7 @@ extension CreateRobotOutput { extension CreateRobotApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRobotApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRobotApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6551,7 +6551,7 @@ extension CreateRobotApplicationOutput { extension CreateRobotApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRobotApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRobotApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6570,7 +6570,7 @@ extension CreateRobotApplicationVersionOutput { extension CreateSimulationApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSimulationApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSimulationApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6592,7 +6592,7 @@ extension CreateSimulationApplicationOutput { extension CreateSimulationApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSimulationApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSimulationApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6613,7 +6613,7 @@ extension CreateSimulationApplicationVersionOutput { extension CreateSimulationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSimulationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSimulationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6642,7 +6642,7 @@ extension CreateSimulationJobOutput { extension CreateWorldExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorldExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorldExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6661,7 +6661,7 @@ extension CreateWorldExportJobOutput { extension CreateWorldGenerationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorldGenerationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorldGenerationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6681,7 +6681,7 @@ extension CreateWorldGenerationJobOutput { extension CreateWorldTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorldTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorldTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6697,42 +6697,42 @@ extension CreateWorldTemplateOutput { extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { return DeleteFleetOutput() } } extension DeleteRobotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRobotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRobotOutput { return DeleteRobotOutput() } } extension DeleteRobotApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRobotApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRobotApplicationOutput { return DeleteRobotApplicationOutput() } } extension DeleteSimulationApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSimulationApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSimulationApplicationOutput { return DeleteSimulationApplicationOutput() } } extension DeleteWorldTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorldTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorldTemplateOutput { return DeleteWorldTemplateOutput() } } extension DeregisterRobotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterRobotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterRobotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6745,7 +6745,7 @@ extension DeregisterRobotOutput { extension DescribeDeploymentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeploymentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeploymentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6766,7 +6766,7 @@ extension DescribeDeploymentJobOutput { extension DescribeFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6785,7 +6785,7 @@ extension DescribeFleetOutput { extension DescribeRobotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRobotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRobotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6806,7 +6806,7 @@ extension DescribeRobotOutput { extension DescribeRobotApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRobotApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRobotApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6827,7 +6827,7 @@ extension DescribeRobotApplicationOutput { extension DescribeSimulationApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSimulationApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSimulationApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6850,7 +6850,7 @@ extension DescribeSimulationApplicationOutput { extension DescribeSimulationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSimulationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSimulationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6882,7 +6882,7 @@ extension DescribeSimulationJobOutput { extension DescribeSimulationJobBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSimulationJobBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSimulationJobBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6905,7 +6905,7 @@ extension DescribeSimulationJobBatchOutput { extension DescribeWorldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorldOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6922,7 +6922,7 @@ extension DescribeWorldOutput { extension DescribeWorldExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorldExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorldExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6943,7 +6943,7 @@ extension DescribeWorldExportJobOutput { extension DescribeWorldGenerationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorldGenerationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorldGenerationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6965,7 +6965,7 @@ extension DescribeWorldGenerationJobOutput { extension DescribeWorldTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorldTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorldTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6983,7 +6983,7 @@ extension DescribeWorldTemplateOutput { extension GetWorldTemplateBodyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorldTemplateBodyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorldTemplateBodyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6995,7 +6995,7 @@ extension GetWorldTemplateBodyOutput { extension ListDeploymentJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeploymentJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeploymentJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7008,7 +7008,7 @@ extension ListDeploymentJobsOutput { extension ListFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7021,7 +7021,7 @@ extension ListFleetsOutput { extension ListRobotApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRobotApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRobotApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7034,7 +7034,7 @@ extension ListRobotApplicationsOutput { extension ListRobotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRobotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRobotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7047,7 +7047,7 @@ extension ListRobotsOutput { extension ListSimulationApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSimulationApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSimulationApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7060,7 +7060,7 @@ extension ListSimulationApplicationsOutput { extension ListSimulationJobBatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSimulationJobBatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSimulationJobBatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7073,7 +7073,7 @@ extension ListSimulationJobBatchesOutput { extension ListSimulationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSimulationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSimulationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7086,7 +7086,7 @@ extension ListSimulationJobsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7098,7 +7098,7 @@ extension ListTagsForResourceOutput { extension ListWorldExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorldExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorldExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7111,7 +7111,7 @@ extension ListWorldExportJobsOutput { extension ListWorldGenerationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorldGenerationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorldGenerationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7124,7 +7124,7 @@ extension ListWorldGenerationJobsOutput { extension ListWorldsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorldsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorldsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7137,7 +7137,7 @@ extension ListWorldsOutput { extension ListWorldTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorldTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorldTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7150,7 +7150,7 @@ extension ListWorldTemplatesOutput { extension RegisterRobotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterRobotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterRobotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7163,14 +7163,14 @@ extension RegisterRobotOutput { extension RestartSimulationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestartSimulationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestartSimulationJobOutput { return RestartSimulationJobOutput() } } extension StartSimulationJobBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSimulationJobBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSimulationJobBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7192,7 +7192,7 @@ extension StartSimulationJobBatchOutput { extension SyncDeploymentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SyncDeploymentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SyncDeploymentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7211,21 +7211,21 @@ extension SyncDeploymentJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateRobotApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRobotApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRobotApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7244,7 +7244,7 @@ extension UpdateRobotApplicationOutput { extension UpdateSimulationApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSimulationApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSimulationApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7265,7 +7265,7 @@ extension UpdateSimulationApplicationOutput { extension UpdateWorldTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorldTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorldTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7280,7 +7280,7 @@ extension UpdateWorldTemplateOutput { enum BatchDeleteWorldsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7296,7 +7296,7 @@ enum BatchDeleteWorldsOutputError { enum BatchDescribeSimulationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7313,7 +7313,7 @@ enum BatchDescribeSimulationJobOutputError { enum CancelDeploymentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7330,7 +7330,7 @@ enum CancelDeploymentJobOutputError { enum CancelSimulationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7347,7 +7347,7 @@ enum CancelSimulationJobOutputError { enum CancelSimulationJobBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7364,7 +7364,7 @@ enum CancelSimulationJobBatchOutputError { enum CancelWorldExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7381,7 +7381,7 @@ enum CancelWorldExportJobOutputError { enum CancelWorldGenerationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7398,7 +7398,7 @@ enum CancelWorldGenerationJobOutputError { enum CreateDeploymentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7418,7 +7418,7 @@ enum CreateDeploymentJobOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7435,7 +7435,7 @@ enum CreateFleetOutputError { enum CreateRobotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7453,7 +7453,7 @@ enum CreateRobotOutputError { enum CreateRobotApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7472,7 +7472,7 @@ enum CreateRobotApplicationOutputError { enum CreateRobotApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7490,7 +7490,7 @@ enum CreateRobotApplicationVersionOutputError { enum CreateSimulationApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7509,7 +7509,7 @@ enum CreateSimulationApplicationOutputError { enum CreateSimulationApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7527,7 +7527,7 @@ enum CreateSimulationApplicationVersionOutputError { enum CreateSimulationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7547,7 +7547,7 @@ enum CreateSimulationJobOutputError { enum CreateWorldExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7566,7 +7566,7 @@ enum CreateWorldExportJobOutputError { enum CreateWorldGenerationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7586,7 +7586,7 @@ enum CreateWorldGenerationJobOutputError { enum CreateWorldTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7605,7 +7605,7 @@ enum CreateWorldTemplateOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7621,7 +7621,7 @@ enum DeleteFleetOutputError { enum DeleteRobotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7637,7 +7637,7 @@ enum DeleteRobotOutputError { enum DeleteRobotApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7653,7 +7653,7 @@ enum DeleteRobotApplicationOutputError { enum DeleteSimulationApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7669,7 +7669,7 @@ enum DeleteSimulationApplicationOutputError { enum DeleteWorldTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7686,7 +7686,7 @@ enum DeleteWorldTemplateOutputError { enum DeregisterRobotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7703,7 +7703,7 @@ enum DeregisterRobotOutputError { enum DescribeDeploymentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7720,7 +7720,7 @@ enum DescribeDeploymentJobOutputError { enum DescribeFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7737,7 +7737,7 @@ enum DescribeFleetOutputError { enum DescribeRobotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7754,7 +7754,7 @@ enum DescribeRobotOutputError { enum DescribeRobotApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7771,7 +7771,7 @@ enum DescribeRobotApplicationOutputError { enum DescribeSimulationApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7788,7 +7788,7 @@ enum DescribeSimulationApplicationOutputError { enum DescribeSimulationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7805,7 +7805,7 @@ enum DescribeSimulationJobOutputError { enum DescribeSimulationJobBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7821,7 +7821,7 @@ enum DescribeSimulationJobBatchOutputError { enum DescribeWorldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7838,7 +7838,7 @@ enum DescribeWorldOutputError { enum DescribeWorldExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7855,7 +7855,7 @@ enum DescribeWorldExportJobOutputError { enum DescribeWorldGenerationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7872,7 +7872,7 @@ enum DescribeWorldGenerationJobOutputError { enum DescribeWorldTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7889,7 +7889,7 @@ enum DescribeWorldTemplateOutputError { enum GetWorldTemplateBodyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7906,7 +7906,7 @@ enum GetWorldTemplateBodyOutputError { enum ListDeploymentJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7923,7 +7923,7 @@ enum ListDeploymentJobsOutputError { enum ListFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7940,7 +7940,7 @@ enum ListFleetsOutputError { enum ListRobotApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7956,7 +7956,7 @@ enum ListRobotApplicationsOutputError { enum ListRobotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7973,7 +7973,7 @@ enum ListRobotsOutputError { enum ListSimulationApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7989,7 +7989,7 @@ enum ListSimulationApplicationsOutputError { enum ListSimulationJobBatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8004,7 +8004,7 @@ enum ListSimulationJobBatchesOutputError { enum ListSimulationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8020,7 +8020,7 @@ enum ListSimulationJobsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8037,7 +8037,7 @@ enum ListTagsForResourceOutputError { enum ListWorldExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8053,7 +8053,7 @@ enum ListWorldExportJobsOutputError { enum ListWorldGenerationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8069,7 +8069,7 @@ enum ListWorldGenerationJobsOutputError { enum ListWorldsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8085,7 +8085,7 @@ enum ListWorldsOutputError { enum ListWorldTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8101,7 +8101,7 @@ enum ListWorldTemplatesOutputError { enum RegisterRobotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8119,7 +8119,7 @@ enum RegisterRobotOutputError { enum RestartSimulationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8137,7 +8137,7 @@ enum RestartSimulationJobOutputError { enum StartSimulationJobBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8155,7 +8155,7 @@ enum StartSimulationJobBatchOutputError { enum SyncDeploymentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8175,7 +8175,7 @@ enum SyncDeploymentJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8192,7 +8192,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8209,7 +8209,7 @@ enum UntagResourceOutputError { enum UpdateRobotApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8227,7 +8227,7 @@ enum UpdateRobotApplicationOutputError { enum UpdateSimulationApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8245,7 +8245,7 @@ enum UpdateSimulationApplicationOutputError { enum UpdateWorldTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/Models.swift b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/Models.swift index 51069a1ce19..dc44f5111dd 100644 --- a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/Models.swift +++ b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -128,7 +128,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -603,7 +603,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1546,7 +1546,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1633,6 +1633,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagResourceOutput { public init() { } @@ -2116,7 +2121,7 @@ extension UpdateTrustAnchorInput { extension CreateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2128,7 +2133,7 @@ extension CreateProfileOutput { extension CreateTrustAnchorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrustAnchorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrustAnchorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2140,7 +2145,7 @@ extension CreateTrustAnchorOutput { extension DeleteAttributeMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttributeMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttributeMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2152,7 +2157,7 @@ extension DeleteAttributeMappingOutput { extension DeleteCrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2164,7 +2169,7 @@ extension DeleteCrlOutput { extension DeleteProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2176,7 +2181,7 @@ extension DeleteProfileOutput { extension DeleteTrustAnchorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrustAnchorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrustAnchorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2188,7 +2193,7 @@ extension DeleteTrustAnchorOutput { extension DisableCrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableCrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableCrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2200,7 +2205,7 @@ extension DisableCrlOutput { extension DisableProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2212,7 +2217,7 @@ extension DisableProfileOutput { extension DisableTrustAnchorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableTrustAnchorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableTrustAnchorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2224,7 +2229,7 @@ extension DisableTrustAnchorOutput { extension EnableCrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableCrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableCrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2236,7 +2241,7 @@ extension EnableCrlOutput { extension EnableProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2248,7 +2253,7 @@ extension EnableProfileOutput { extension EnableTrustAnchorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableTrustAnchorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableTrustAnchorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2260,7 +2265,7 @@ extension EnableTrustAnchorOutput { extension GetCrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2272,7 +2277,7 @@ extension GetCrlOutput { extension GetProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2284,7 +2289,7 @@ extension GetProfileOutput { extension GetSubjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2296,7 +2301,7 @@ extension GetSubjectOutput { extension GetTrustAnchorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrustAnchorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrustAnchorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2308,7 +2313,7 @@ extension GetTrustAnchorOutput { extension ImportCrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportCrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportCrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2320,7 +2325,7 @@ extension ImportCrlOutput { extension ListCrlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2333,7 +2338,7 @@ extension ListCrlsOutput { extension ListProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2346,7 +2351,7 @@ extension ListProfilesOutput { extension ListSubjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2359,7 +2364,7 @@ extension ListSubjectsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2371,7 +2376,7 @@ extension ListTagsForResourceOutput { extension ListTrustAnchorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrustAnchorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrustAnchorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2384,7 +2389,7 @@ extension ListTrustAnchorsOutput { extension PutAttributeMappingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAttributeMappingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAttributeMappingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2396,7 +2401,7 @@ extension PutAttributeMappingOutput { extension PutNotificationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutNotificationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutNotificationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2408,7 +2413,7 @@ extension PutNotificationSettingsOutput { extension ResetNotificationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetNotificationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetNotificationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2420,21 +2425,21 @@ extension ResetNotificationSettingsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2446,7 +2451,7 @@ extension UpdateCrlOutput { extension UpdateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2458,7 +2463,7 @@ extension UpdateProfileOutput { extension UpdateTrustAnchorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrustAnchorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrustAnchorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2470,7 +2475,7 @@ extension UpdateTrustAnchorOutput { enum CreateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2485,7 +2490,7 @@ enum CreateProfileOutputError { enum CreateTrustAnchorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2500,7 +2505,7 @@ enum CreateTrustAnchorOutputError { enum DeleteAttributeMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2516,7 +2521,7 @@ enum DeleteAttributeMappingOutputError { enum DeleteCrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2531,7 +2536,7 @@ enum DeleteCrlOutputError { enum DeleteProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2546,7 +2551,7 @@ enum DeleteProfileOutputError { enum DeleteTrustAnchorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2561,7 +2566,7 @@ enum DeleteTrustAnchorOutputError { enum DisableCrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2576,7 +2581,7 @@ enum DisableCrlOutputError { enum DisableProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2591,7 +2596,7 @@ enum DisableProfileOutputError { enum DisableTrustAnchorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2606,7 +2611,7 @@ enum DisableTrustAnchorOutputError { enum EnableCrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2621,7 +2626,7 @@ enum EnableCrlOutputError { enum EnableProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2636,7 +2641,7 @@ enum EnableProfileOutputError { enum EnableTrustAnchorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2651,7 +2656,7 @@ enum EnableTrustAnchorOutputError { enum GetCrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2665,7 +2670,7 @@ enum GetCrlOutputError { enum GetProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2680,7 +2685,7 @@ enum GetProfileOutputError { enum GetSubjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2695,7 +2700,7 @@ enum GetSubjectOutputError { enum GetTrustAnchorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2711,7 +2716,7 @@ enum GetTrustAnchorOutputError { enum ImportCrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2726,7 +2731,7 @@ enum ImportCrlOutputError { enum ListCrlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2741,7 +2746,7 @@ enum ListCrlsOutputError { enum ListProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2756,7 +2761,7 @@ enum ListProfilesOutputError { enum ListSubjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2771,7 +2776,7 @@ enum ListSubjectsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2787,7 +2792,7 @@ enum ListTagsForResourceOutputError { enum ListTrustAnchorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2802,7 +2807,7 @@ enum ListTrustAnchorsOutputError { enum PutAttributeMappingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2818,7 +2823,7 @@ enum PutAttributeMappingOutputError { enum PutNotificationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2834,7 +2839,7 @@ enum PutNotificationSettingsOutputError { enum ResetNotificationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2850,7 +2855,7 @@ enum ResetNotificationSettingsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2867,7 +2872,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2883,7 +2888,7 @@ enum UntagResourceOutputError { enum UpdateCrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2899,7 +2904,7 @@ enum UpdateCrlOutputError { enum UpdateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2915,7 +2920,7 @@ enum UpdateProfileOutputError { enum UpdateTrustAnchorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Models.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Models.swift index a2edd5ec978..00d1165bb1e 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Models.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import class SmithyXML.Writer import enum ClientRuntime.ErrorFault @@ -108,7 +108,7 @@ public struct ConcurrentModification: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -133,7 +133,7 @@ public struct InvalidInput: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct InvalidKeySigningKeyStatus: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct InvalidKMSArn: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -205,7 +205,7 @@ public struct InvalidSigningStatus: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -229,7 +229,7 @@ public struct NoSuchKeySigningKey: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -628,7 +628,7 @@ public struct ConflictingDomainExists: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -653,7 +653,7 @@ public struct InvalidVPCId: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -678,7 +678,7 @@ public struct LimitsExceeded: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -703,7 +703,7 @@ public struct NoSuchHostedZone: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -728,7 +728,7 @@ public struct NotAuthorizedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -752,7 +752,7 @@ public struct PriorRequestNotComplete: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -777,7 +777,7 @@ public struct PublicZoneVPCAssociation: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -986,7 +986,7 @@ public struct CidrBlockInUseException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1010,7 +1010,7 @@ public struct CidrCollectionVersionMismatchException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1034,7 +1034,7 @@ public struct NoSuchCidrCollectionException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1155,7 +1155,7 @@ public struct InvalidChangeBatch: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1182,7 +1182,7 @@ public struct NoSuchHealthCheck: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1862,7 +1862,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1984,7 +1984,7 @@ public struct CidrCollectionAlreadyExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2075,7 +2075,7 @@ public struct HealthCheckAlreadyExists: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2099,7 +2099,7 @@ public struct TooManyHealthChecks: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2653,7 +2653,7 @@ public struct DelegationSetNotAvailable: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2678,7 +2678,7 @@ public struct DelegationSetNotReusable: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2703,7 +2703,7 @@ public struct HostedZoneAlreadyExists: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2728,7 +2728,7 @@ public struct InvalidDomainName: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2753,7 +2753,7 @@ public struct NoSuchDelegationSet: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2778,7 +2778,7 @@ public struct TooManyHostedZones: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2958,7 +2958,7 @@ public struct InvalidArgument: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2982,7 +2982,7 @@ public struct InvalidKeySigningKeyName: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3006,7 +3006,7 @@ public struct KeySigningKeyAlreadyExists: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3030,7 +3030,7 @@ public struct TooManyKeySigningKeys: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3224,7 +3224,7 @@ public struct InsufficientCloudWatchLogsResourcePolicy: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3248,7 +3248,7 @@ public struct NoSuchCloudWatchLogsLogGroup: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3272,7 +3272,7 @@ public struct QueryLoggingConfigAlreadyExists: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3360,7 +3360,7 @@ public struct DelegationSetAlreadyCreated: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3385,7 +3385,7 @@ public struct DelegationSetAlreadyReusable: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3410,7 +3410,7 @@ public struct HostedZoneNotFound: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3470,7 +3470,7 @@ public struct InvalidTrafficPolicyDocument: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3495,7 +3495,7 @@ public struct TooManyTrafficPolicies: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3520,7 +3520,7 @@ public struct TrafficPolicyAlreadyExists: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3628,7 +3628,7 @@ public struct NoSuchTrafficPolicy: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3653,7 +3653,7 @@ public struct TooManyTrafficPolicyInstances: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3678,7 +3678,7 @@ public struct TrafficPolicyInstanceAlreadyExists: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3813,7 +3813,7 @@ public struct TooManyTrafficPolicyVersionsForCurrentPolicy: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3880,7 +3880,7 @@ public struct TooManyVPCAssociationAuthorizations: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3942,7 +3942,7 @@ public struct KeySigningKeyInParentDSRecord: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3966,7 +3966,7 @@ public struct KeySigningKeyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4021,7 +4021,7 @@ public struct CidrCollectionInUseException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4065,7 +4065,7 @@ public struct HealthCheckInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4110,7 +4110,7 @@ public struct HostedZoneNotEmpty: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4193,7 +4193,7 @@ public struct NoSuchQueryLoggingConfig: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4236,7 +4236,7 @@ public struct DelegationSetInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4281,7 +4281,7 @@ public struct TrafficPolicyInUse: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4331,7 +4331,7 @@ public struct NoSuchTrafficPolicyInstance: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4376,7 +4376,7 @@ public struct VPCAssociationAuthorizationNotFound: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4425,7 +4425,7 @@ public struct DNSSECNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4476,7 +4476,7 @@ public struct LastVPCAssociation: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4501,7 +4501,7 @@ public struct VPCAssociationNotFound: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4562,7 +4562,7 @@ public struct HostedZonePartiallyDelegated: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4586,7 +4586,7 @@ public struct KeySigningKeyWithActiveStatusNotFound: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4679,7 +4679,7 @@ public struct NoSuchChange: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4803,7 +4803,7 @@ public struct NoSuchGeoLocation: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4912,7 +4912,7 @@ public struct IncompatibleVersion: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5141,7 +5141,7 @@ public struct HostedZoneNotPrivate: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5483,7 +5483,7 @@ public struct NoSuchCidrLocationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5936,7 +5936,7 @@ public struct InvalidPaginationToken: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6776,7 +6776,7 @@ public struct HealthCheckVersionMismatch: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7058,7 +7058,7 @@ public struct ConflictingTypes: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8391,7 +8391,7 @@ extension UpdateTrafficPolicyInstanceInput { extension ActivateKeySigningKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateKeySigningKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateKeySigningKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8403,7 +8403,7 @@ extension ActivateKeySigningKeyOutput { extension AssociateVPCWithHostedZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateVPCWithHostedZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateVPCWithHostedZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8415,7 +8415,7 @@ extension AssociateVPCWithHostedZoneOutput { extension ChangeCidrCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangeCidrCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangeCidrCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8427,7 +8427,7 @@ extension ChangeCidrCollectionOutput { extension ChangeResourceRecordSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangeResourceRecordSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangeResourceRecordSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8439,14 +8439,14 @@ extension ChangeResourceRecordSetsOutput { extension ChangeTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangeTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangeTagsForResourceOutput { return ChangeTagsForResourceOutput() } } extension CreateCidrCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCidrCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCidrCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8461,7 +8461,7 @@ extension CreateCidrCollectionOutput { extension CreateHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHealthCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8476,7 +8476,7 @@ extension CreateHealthCheckOutput { extension CreateHostedZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHostedZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHostedZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8494,7 +8494,7 @@ extension CreateHostedZoneOutput { extension CreateKeySigningKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKeySigningKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKeySigningKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8510,7 +8510,7 @@ extension CreateKeySigningKeyOutput { extension CreateQueryLoggingConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueryLoggingConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueryLoggingConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8525,7 +8525,7 @@ extension CreateQueryLoggingConfigOutput { extension CreateReusableDelegationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReusableDelegationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReusableDelegationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8540,7 +8540,7 @@ extension CreateReusableDelegationSetOutput { extension CreateTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8555,7 +8555,7 @@ extension CreateTrafficPolicyOutput { extension CreateTrafficPolicyInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficPolicyInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficPolicyInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8570,7 +8570,7 @@ extension CreateTrafficPolicyInstanceOutput { extension CreateTrafficPolicyVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrafficPolicyVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrafficPolicyVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8585,7 +8585,7 @@ extension CreateTrafficPolicyVersionOutput { extension CreateVPCAssociationAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVPCAssociationAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVPCAssociationAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8598,7 +8598,7 @@ extension CreateVPCAssociationAuthorizationOutput { extension DeactivateKeySigningKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateKeySigningKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateKeySigningKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8610,21 +8610,21 @@ extension DeactivateKeySigningKeyOutput { extension DeleteCidrCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCidrCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCidrCollectionOutput { return DeleteCidrCollectionOutput() } } extension DeleteHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHealthCheckOutput { return DeleteHealthCheckOutput() } } extension DeleteHostedZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHostedZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHostedZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8636,7 +8636,7 @@ extension DeleteHostedZoneOutput { extension DeleteKeySigningKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKeySigningKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKeySigningKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8648,42 +8648,42 @@ extension DeleteKeySigningKeyOutput { extension DeleteQueryLoggingConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueryLoggingConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueryLoggingConfigOutput { return DeleteQueryLoggingConfigOutput() } } extension DeleteReusableDelegationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReusableDelegationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReusableDelegationSetOutput { return DeleteReusableDelegationSetOutput() } } extension DeleteTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficPolicyOutput { return DeleteTrafficPolicyOutput() } } extension DeleteTrafficPolicyInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrafficPolicyInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrafficPolicyInstanceOutput { return DeleteTrafficPolicyInstanceOutput() } } extension DeleteVPCAssociationAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVPCAssociationAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVPCAssociationAuthorizationOutput { return DeleteVPCAssociationAuthorizationOutput() } } extension DisableHostedZoneDNSSECOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableHostedZoneDNSSECOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableHostedZoneDNSSECOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8695,7 +8695,7 @@ extension DisableHostedZoneDNSSECOutput { extension DisassociateVPCFromHostedZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateVPCFromHostedZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateVPCFromHostedZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8707,7 +8707,7 @@ extension DisassociateVPCFromHostedZoneOutput { extension EnableHostedZoneDNSSECOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableHostedZoneDNSSECOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableHostedZoneDNSSECOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8719,7 +8719,7 @@ extension EnableHostedZoneDNSSECOutput { extension GetAccountLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8732,7 +8732,7 @@ extension GetAccountLimitOutput { extension GetChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8744,7 +8744,7 @@ extension GetChangeOutput { extension GetCheckerIpRangesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCheckerIpRangesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCheckerIpRangesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8756,7 +8756,7 @@ extension GetCheckerIpRangesOutput { extension GetDNSSECOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDNSSECOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDNSSECOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8769,7 +8769,7 @@ extension GetDNSSECOutput { extension GetGeoLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGeoLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGeoLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8781,7 +8781,7 @@ extension GetGeoLocationOutput { extension GetHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHealthCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8793,7 +8793,7 @@ extension GetHealthCheckOutput { extension GetHealthCheckCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHealthCheckCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHealthCheckCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8805,7 +8805,7 @@ extension GetHealthCheckCountOutput { extension GetHealthCheckLastFailureReasonOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHealthCheckLastFailureReasonOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHealthCheckLastFailureReasonOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8817,7 +8817,7 @@ extension GetHealthCheckLastFailureReasonOutput { extension GetHealthCheckStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHealthCheckStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHealthCheckStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8829,7 +8829,7 @@ extension GetHealthCheckStatusOutput { extension GetHostedZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostedZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostedZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8843,7 +8843,7 @@ extension GetHostedZoneOutput { extension GetHostedZoneCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostedZoneCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostedZoneCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8855,7 +8855,7 @@ extension GetHostedZoneCountOutput { extension GetHostedZoneLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetHostedZoneLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetHostedZoneLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8868,7 +8868,7 @@ extension GetHostedZoneLimitOutput { extension GetQueryLoggingConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueryLoggingConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueryLoggingConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8880,7 +8880,7 @@ extension GetQueryLoggingConfigOutput { extension GetReusableDelegationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReusableDelegationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReusableDelegationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8892,7 +8892,7 @@ extension GetReusableDelegationSetOutput { extension GetReusableDelegationSetLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReusableDelegationSetLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReusableDelegationSetLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8905,7 +8905,7 @@ extension GetReusableDelegationSetLimitOutput { extension GetTrafficPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrafficPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrafficPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8917,7 +8917,7 @@ extension GetTrafficPolicyOutput { extension GetTrafficPolicyInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrafficPolicyInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrafficPolicyInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8929,7 +8929,7 @@ extension GetTrafficPolicyInstanceOutput { extension GetTrafficPolicyInstanceCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrafficPolicyInstanceCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrafficPolicyInstanceCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8941,7 +8941,7 @@ extension GetTrafficPolicyInstanceCountOutput { extension ListCidrBlocksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCidrBlocksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCidrBlocksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8954,7 +8954,7 @@ extension ListCidrBlocksOutput { extension ListCidrCollectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCidrCollectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCidrCollectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8967,7 +8967,7 @@ extension ListCidrCollectionsOutput { extension ListCidrLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCidrLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCidrLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8980,7 +8980,7 @@ extension ListCidrLocationsOutput { extension ListGeoLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGeoLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGeoLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -8997,7 +8997,7 @@ extension ListGeoLocationsOutput { extension ListHealthChecksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHealthChecksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHealthChecksOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9013,7 +9013,7 @@ extension ListHealthChecksOutput { extension ListHostedZonesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostedZonesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostedZonesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9029,7 +9029,7 @@ extension ListHostedZonesOutput { extension ListHostedZonesByNameOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostedZonesByNameOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostedZonesByNameOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9047,7 +9047,7 @@ extension ListHostedZonesByNameOutput { extension ListHostedZonesByVPCOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostedZonesByVPCOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostedZonesByVPCOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9061,7 +9061,7 @@ extension ListHostedZonesByVPCOutput { extension ListQueryLoggingConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueryLoggingConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueryLoggingConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9074,7 +9074,7 @@ extension ListQueryLoggingConfigsOutput { extension ListResourceRecordSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceRecordSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceRecordSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9091,7 +9091,7 @@ extension ListResourceRecordSetsOutput { extension ListReusableDelegationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReusableDelegationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReusableDelegationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9107,7 +9107,7 @@ extension ListReusableDelegationSetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9119,7 +9119,7 @@ extension ListTagsForResourceOutput { extension ListTagsForResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9131,7 +9131,7 @@ extension ListTagsForResourcesOutput { extension ListTrafficPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9146,7 +9146,7 @@ extension ListTrafficPoliciesOutput { extension ListTrafficPolicyInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficPolicyInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficPolicyInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9163,7 +9163,7 @@ extension ListTrafficPolicyInstancesOutput { extension ListTrafficPolicyInstancesByHostedZoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficPolicyInstancesByHostedZoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficPolicyInstancesByHostedZoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9179,7 +9179,7 @@ extension ListTrafficPolicyInstancesByHostedZoneOutput { extension ListTrafficPolicyInstancesByPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficPolicyInstancesByPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficPolicyInstancesByPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9196,7 +9196,7 @@ extension ListTrafficPolicyInstancesByPolicyOutput { extension ListTrafficPolicyVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrafficPolicyVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrafficPolicyVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9211,7 +9211,7 @@ extension ListTrafficPolicyVersionsOutput { extension ListVPCAssociationAuthorizationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVPCAssociationAuthorizationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVPCAssociationAuthorizationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9225,7 +9225,7 @@ extension ListVPCAssociationAuthorizationsOutput { extension TestDNSAnswerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestDNSAnswerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestDNSAnswerOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9242,7 +9242,7 @@ extension TestDNSAnswerOutput { extension UpdateHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHealthCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9254,7 +9254,7 @@ extension UpdateHealthCheckOutput { extension UpdateHostedZoneCommentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHostedZoneCommentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHostedZoneCommentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9266,7 +9266,7 @@ extension UpdateHostedZoneCommentOutput { extension UpdateTrafficPolicyCommentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrafficPolicyCommentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrafficPolicyCommentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9278,7 +9278,7 @@ extension UpdateTrafficPolicyCommentOutput { extension UpdateTrafficPolicyInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrafficPolicyInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrafficPolicyInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -9290,7 +9290,7 @@ extension UpdateTrafficPolicyInstanceOutput { enum ActivateKeySigningKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9309,7 +9309,7 @@ enum ActivateKeySigningKeyOutputError { enum AssociateVPCWithHostedZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9330,7 +9330,7 @@ enum AssociateVPCWithHostedZoneOutputError { enum ChangeCidrCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9349,7 +9349,7 @@ enum ChangeCidrCollectionOutputError { enum ChangeResourceRecordSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9367,7 +9367,7 @@ enum ChangeResourceRecordSetsOutputError { enum ChangeTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9385,7 +9385,7 @@ enum ChangeTagsForResourceOutputError { enum CreateCidrCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9402,7 +9402,7 @@ enum CreateCidrCollectionOutputError { enum CreateHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9418,7 +9418,7 @@ enum CreateHealthCheckOutputError { enum CreateHostedZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9440,7 +9440,7 @@ enum CreateHostedZoneOutputError { enum CreateKeySigningKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9463,7 +9463,7 @@ enum CreateKeySigningKeyOutputError { enum CreateQueryLoggingConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9482,7 +9482,7 @@ enum CreateQueryLoggingConfigOutputError { enum CreateReusableDelegationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9502,7 +9502,7 @@ enum CreateReusableDelegationSetOutputError { enum CreateTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9519,7 +9519,7 @@ enum CreateTrafficPolicyOutputError { enum CreateTrafficPolicyInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9537,7 +9537,7 @@ enum CreateTrafficPolicyInstanceOutputError { enum CreateTrafficPolicyVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9555,7 +9555,7 @@ enum CreateTrafficPolicyVersionOutputError { enum CreateVPCAssociationAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9573,7 +9573,7 @@ enum CreateVPCAssociationAuthorizationOutputError { enum DeactivateKeySigningKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9593,7 +9593,7 @@ enum DeactivateKeySigningKeyOutputError { enum DeleteCidrCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9610,7 +9610,7 @@ enum DeleteCidrCollectionOutputError { enum DeleteHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9626,7 +9626,7 @@ enum DeleteHealthCheckOutputError { enum DeleteHostedZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9644,7 +9644,7 @@ enum DeleteHostedZoneOutputError { enum DeleteKeySigningKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9663,7 +9663,7 @@ enum DeleteKeySigningKeyOutputError { enum DeleteQueryLoggingConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9679,7 +9679,7 @@ enum DeleteQueryLoggingConfigOutputError { enum DeleteReusableDelegationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9696,7 +9696,7 @@ enum DeleteReusableDelegationSetOutputError { enum DeleteTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9713,7 +9713,7 @@ enum DeleteTrafficPolicyOutputError { enum DeleteTrafficPolicyInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9729,7 +9729,7 @@ enum DeleteTrafficPolicyInstanceOutputError { enum DeleteVPCAssociationAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9747,7 +9747,7 @@ enum DeleteVPCAssociationAuthorizationOutputError { enum DisableHostedZoneDNSSECOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9768,7 +9768,7 @@ enum DisableHostedZoneDNSSECOutputError { enum DisassociateVPCFromHostedZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9786,7 +9786,7 @@ enum DisassociateVPCFromHostedZoneOutputError { enum EnableHostedZoneDNSSECOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9808,7 +9808,7 @@ enum EnableHostedZoneDNSSECOutputError { enum GetAccountLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9822,7 +9822,7 @@ enum GetAccountLimitOutputError { enum GetChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9837,7 +9837,7 @@ enum GetChangeOutputError { enum GetCheckerIpRangesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9850,7 +9850,7 @@ enum GetCheckerIpRangesOutputError { enum GetDNSSECOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9866,7 +9866,7 @@ enum GetDNSSECOutputError { enum GetGeoLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9881,7 +9881,7 @@ enum GetGeoLocationOutputError { enum GetHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9897,7 +9897,7 @@ enum GetHealthCheckOutputError { enum GetHealthCheckCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9910,7 +9910,7 @@ enum GetHealthCheckCountOutputError { enum GetHealthCheckLastFailureReasonOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9925,7 +9925,7 @@ enum GetHealthCheckLastFailureReasonOutputError { enum GetHealthCheckStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9940,7 +9940,7 @@ enum GetHealthCheckStatusOutputError { enum GetHostedZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9955,7 +9955,7 @@ enum GetHostedZoneOutputError { enum GetHostedZoneCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9969,7 +9969,7 @@ enum GetHostedZoneCountOutputError { enum GetHostedZoneLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9985,7 +9985,7 @@ enum GetHostedZoneLimitOutputError { enum GetQueryLoggingConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10000,7 +10000,7 @@ enum GetQueryLoggingConfigOutputError { enum GetReusableDelegationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10016,7 +10016,7 @@ enum GetReusableDelegationSetOutputError { enum GetReusableDelegationSetLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10031,7 +10031,7 @@ enum GetReusableDelegationSetLimitOutputError { enum GetTrafficPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10046,7 +10046,7 @@ enum GetTrafficPolicyOutputError { enum GetTrafficPolicyInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10061,7 +10061,7 @@ enum GetTrafficPolicyInstanceOutputError { enum GetTrafficPolicyInstanceCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10074,7 +10074,7 @@ enum GetTrafficPolicyInstanceCountOutputError { enum ListCidrBlocksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10090,7 +10090,7 @@ enum ListCidrBlocksOutputError { enum ListCidrCollectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10104,7 +10104,7 @@ enum ListCidrCollectionsOutputError { enum ListCidrLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10119,7 +10119,7 @@ enum ListCidrLocationsOutputError { enum ListGeoLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10133,7 +10133,7 @@ enum ListGeoLocationsOutputError { enum ListHealthChecksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10148,7 +10148,7 @@ enum ListHealthChecksOutputError { enum ListHostedZonesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10164,7 +10164,7 @@ enum ListHostedZonesOutputError { enum ListHostedZonesByNameOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10179,7 +10179,7 @@ enum ListHostedZonesByNameOutputError { enum ListHostedZonesByVPCOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10194,7 +10194,7 @@ enum ListHostedZonesByVPCOutputError { enum ListQueryLoggingConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10210,7 +10210,7 @@ enum ListQueryLoggingConfigsOutputError { enum ListResourceRecordSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10225,7 +10225,7 @@ enum ListResourceRecordSetsOutputError { enum ListReusableDelegationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10239,7 +10239,7 @@ enum ListReusableDelegationSetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10257,7 +10257,7 @@ enum ListTagsForResourceOutputError { enum ListTagsForResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10275,7 +10275,7 @@ enum ListTagsForResourcesOutputError { enum ListTrafficPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10289,7 +10289,7 @@ enum ListTrafficPoliciesOutputError { enum ListTrafficPolicyInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10304,7 +10304,7 @@ enum ListTrafficPolicyInstancesOutputError { enum ListTrafficPolicyInstancesByHostedZoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10320,7 +10320,7 @@ enum ListTrafficPolicyInstancesByHostedZoneOutputError { enum ListTrafficPolicyInstancesByPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10336,7 +10336,7 @@ enum ListTrafficPolicyInstancesByPolicyOutputError { enum ListTrafficPolicyVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10351,7 +10351,7 @@ enum ListTrafficPolicyVersionsOutputError { enum ListVPCAssociationAuthorizationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10367,7 +10367,7 @@ enum ListVPCAssociationAuthorizationsOutputError { enum TestDNSAnswerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10382,7 +10382,7 @@ enum TestDNSAnswerOutputError { enum UpdateHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10398,7 +10398,7 @@ enum UpdateHealthCheckOutputError { enum UpdateHostedZoneCommentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10414,7 +10414,7 @@ enum UpdateHostedZoneCommentOutputError { enum UpdateTrafficPolicyCommentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10430,7 +10430,7 @@ enum UpdateTrafficPolicyCommentOutputError { enum UpdateTrafficPolicyInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift index 38dacc07888..faa3178c4f4 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift @@ -16,8 +16,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -219,7 +219,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -304,7 +304,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -379,7 +379,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -457,7 +457,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -527,7 +527,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -595,7 +595,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -672,7 +672,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -769,7 +769,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -843,7 +843,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -964,7 +964,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1056,7 +1056,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1124,7 +1124,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1193,7 +1193,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1262,7 +1262,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1331,7 +1331,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1403,7 +1403,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1469,7 +1469,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1533,7 +1533,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1603,7 +1603,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1671,7 +1671,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1736,7 +1736,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1801,7 +1801,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1873,7 +1873,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1937,7 +1937,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2003,7 +2003,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2076,7 +2076,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2163,7 +2163,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2237,7 +2237,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2300,7 +2300,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2367,7 +2367,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2424,7 +2424,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2488,7 +2488,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2552,7 +2552,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2617,7 +2617,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2674,7 +2674,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2737,7 +2737,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2800,7 +2800,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2863,7 +2863,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2926,7 +2926,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2990,7 +2990,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3054,7 +3054,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3118,7 +3118,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3182,7 +3182,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3246,7 +3246,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3309,7 +3309,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3366,7 +3366,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3430,7 +3430,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3493,7 +3493,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3557,7 +3557,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3620,7 +3620,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3684,7 +3684,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3749,7 +3749,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3821,7 +3821,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3901,7 +3901,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3966,7 +3966,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4030,7 +4030,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4094,7 +4094,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4161,7 +4161,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4227,7 +4227,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4292,7 +4292,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4356,7 +4356,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4421,7 +4421,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4486,7 +4486,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4550,7 +4550,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4615,7 +4615,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4680,7 +4680,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4745,7 +4745,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4812,7 +4812,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4880,7 +4880,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4955,7 +4955,7 @@ extension Route53Client { .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Models.swift b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Models.swift index b2d6b3fd289..780fc90085a 100644 --- a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Models.swift +++ b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -45,7 +45,7 @@ public struct DomainLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -70,7 +70,7 @@ public struct InvalidInput: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct OperationLimitExceeded: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -120,7 +120,7 @@ public struct UnsupportedTLD: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct DnssecLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -208,7 +208,7 @@ public struct DuplicateRequest: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -235,7 +235,7 @@ public struct TLDRulesViolation: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4364,7 +4364,7 @@ extension ViewBillingInput { extension AcceptDomainTransferFromAnotherAwsAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptDomainTransferFromAnotherAwsAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptDomainTransferFromAnotherAwsAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4376,7 +4376,7 @@ extension AcceptDomainTransferFromAnotherAwsAccountOutput { extension AssociateDelegationSignerToDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDelegationSignerToDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDelegationSignerToDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4388,7 +4388,7 @@ extension AssociateDelegationSignerToDomainOutput { extension CancelDomainTransferToAnotherAwsAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelDomainTransferToAnotherAwsAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelDomainTransferToAnotherAwsAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4400,7 +4400,7 @@ extension CancelDomainTransferToAnotherAwsAccountOutput { extension CheckDomainAvailabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckDomainAvailabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckDomainAvailabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4412,7 +4412,7 @@ extension CheckDomainAvailabilityOutput { extension CheckDomainTransferabilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckDomainTransferabilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckDomainTransferabilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4425,7 +4425,7 @@ extension CheckDomainTransferabilityOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4437,21 +4437,21 @@ extension DeleteDomainOutput { extension DeleteTagsForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsForDomainOutput { return DeleteTagsForDomainOutput() } } extension DisableDomainAutoRenewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableDomainAutoRenewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableDomainAutoRenewOutput { return DisableDomainAutoRenewOutput() } } extension DisableDomainTransferLockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableDomainTransferLockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableDomainTransferLockOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4463,7 +4463,7 @@ extension DisableDomainTransferLockOutput { extension DisassociateDelegationSignerFromDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDelegationSignerFromDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDelegationSignerFromDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4475,14 +4475,14 @@ extension DisassociateDelegationSignerFromDomainOutput { extension EnableDomainAutoRenewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableDomainAutoRenewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableDomainAutoRenewOutput { return EnableDomainAutoRenewOutput() } } extension EnableDomainTransferLockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableDomainTransferLockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableDomainTransferLockOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4494,7 +4494,7 @@ extension EnableDomainTransferLockOutput { extension GetContactReachabilityStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactReachabilityStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactReachabilityStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4507,7 +4507,7 @@ extension GetContactReachabilityStatusOutput { extension GetDomainDetailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainDetailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainDetailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4542,7 +4542,7 @@ extension GetDomainDetailOutput { extension GetDomainSuggestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainSuggestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainSuggestionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4554,7 +4554,7 @@ extension GetDomainSuggestionsOutput { extension GetOperationDetailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOperationDetailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOperationDetailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4573,7 +4573,7 @@ extension GetOperationDetailOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4586,7 +4586,7 @@ extension ListDomainsOutput { extension ListOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4599,7 +4599,7 @@ extension ListOperationsOutput { extension ListPricesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPricesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPricesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4612,7 +4612,7 @@ extension ListPricesOutput { extension ListTagsForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4624,14 +4624,14 @@ extension ListTagsForDomainOutput { extension PushDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PushDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PushDomainOutput { return PushDomainOutput() } } extension RegisterDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4643,7 +4643,7 @@ extension RegisterDomainOutput { extension RejectDomainTransferFromAnotherAwsAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectDomainTransferFromAnotherAwsAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectDomainTransferFromAnotherAwsAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4655,7 +4655,7 @@ extension RejectDomainTransferFromAnotherAwsAccountOutput { extension RenewDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RenewDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RenewDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4667,7 +4667,7 @@ extension RenewDomainOutput { extension ResendContactReachabilityEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResendContactReachabilityEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResendContactReachabilityEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4681,14 +4681,14 @@ extension ResendContactReachabilityEmailOutput { extension ResendOperationAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResendOperationAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResendOperationAuthorizationOutput { return ResendOperationAuthorizationOutput() } } extension RetrieveDomainAuthCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveDomainAuthCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveDomainAuthCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4700,7 +4700,7 @@ extension RetrieveDomainAuthCodeOutput { extension TransferDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransferDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransferDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4712,7 +4712,7 @@ extension TransferDomainOutput { extension TransferDomainToAnotherAwsAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TransferDomainToAnotherAwsAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TransferDomainToAnotherAwsAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4725,7 +4725,7 @@ extension TransferDomainToAnotherAwsAccountOutput { extension UpdateDomainContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4737,7 +4737,7 @@ extension UpdateDomainContactOutput { extension UpdateDomainContactPrivacyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainContactPrivacyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainContactPrivacyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4749,7 +4749,7 @@ extension UpdateDomainContactPrivacyOutput { extension UpdateDomainNameserversOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainNameserversOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainNameserversOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4761,14 +4761,14 @@ extension UpdateDomainNameserversOutput { extension UpdateTagsForDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTagsForDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTagsForDomainOutput { return UpdateTagsForDomainOutput() } } extension ViewBillingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ViewBillingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ViewBillingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4781,7 +4781,7 @@ extension ViewBillingOutput { enum AcceptDomainTransferFromAnotherAwsAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4798,7 +4798,7 @@ enum AcceptDomainTransferFromAnotherAwsAccountOutputError { enum AssociateDelegationSignerToDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4817,7 +4817,7 @@ enum AssociateDelegationSignerToDomainOutputError { enum CancelDomainTransferToAnotherAwsAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4833,7 +4833,7 @@ enum CancelDomainTransferToAnotherAwsAccountOutputError { enum CheckDomainAvailabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4848,7 +4848,7 @@ enum CheckDomainAvailabilityOutputError { enum CheckDomainTransferabilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4863,7 +4863,7 @@ enum CheckDomainTransferabilityOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4880,7 +4880,7 @@ enum DeleteDomainOutputError { enum DeleteTagsForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4896,7 +4896,7 @@ enum DeleteTagsForDomainOutputError { enum DisableDomainAutoRenewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4911,7 +4911,7 @@ enum DisableDomainAutoRenewOutputError { enum DisableDomainTransferLockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4929,7 +4929,7 @@ enum DisableDomainTransferLockOutputError { enum DisassociateDelegationSignerFromDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4947,7 +4947,7 @@ enum DisassociateDelegationSignerFromDomainOutputError { enum EnableDomainAutoRenewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4963,7 +4963,7 @@ enum EnableDomainAutoRenewOutputError { enum EnableDomainTransferLockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4981,7 +4981,7 @@ enum EnableDomainTransferLockOutputError { enum GetContactReachabilityStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4997,7 +4997,7 @@ enum GetContactReachabilityStatusOutputError { enum GetDomainDetailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5012,7 +5012,7 @@ enum GetDomainDetailOutputError { enum GetDomainSuggestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5027,7 +5027,7 @@ enum GetDomainSuggestionsOutputError { enum GetOperationDetailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5041,7 +5041,7 @@ enum GetOperationDetailOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5055,7 +5055,7 @@ enum ListDomainsOutputError { enum ListOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5069,7 +5069,7 @@ enum ListOperationsOutputError { enum ListPricesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5084,7 +5084,7 @@ enum ListPricesOutputError { enum ListTagsForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5100,7 +5100,7 @@ enum ListTagsForDomainOutputError { enum PushDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5116,7 +5116,7 @@ enum PushDomainOutputError { enum RegisterDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5135,7 +5135,7 @@ enum RegisterDomainOutputError { enum RejectDomainTransferFromAnotherAwsAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5151,7 +5151,7 @@ enum RejectDomainTransferFromAnotherAwsAccountOutputError { enum RenewDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5169,7 +5169,7 @@ enum RenewDomainOutputError { enum ResendContactReachabilityEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5185,7 +5185,7 @@ enum ResendContactReachabilityEmailOutputError { enum ResendOperationAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5199,7 +5199,7 @@ enum ResendOperationAuthorizationOutputError { enum RetrieveDomainAuthCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5214,7 +5214,7 @@ enum RetrieveDomainAuthCodeOutputError { enum TransferDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5233,7 +5233,7 @@ enum TransferDomainOutputError { enum TransferDomainToAnotherAwsAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5250,7 +5250,7 @@ enum TransferDomainToAnotherAwsAccountOutputError { enum UpdateDomainContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5268,7 +5268,7 @@ enum UpdateDomainContactOutputError { enum UpdateDomainContactPrivacyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5286,7 +5286,7 @@ enum UpdateDomainContactPrivacyOutputError { enum UpdateDomainNameserversOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5304,7 +5304,7 @@ enum UpdateDomainNameserversOutputError { enum UpdateTagsForDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5320,7 +5320,7 @@ enum UpdateTagsForDomainOutputError { enum ViewBillingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Models.swift b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Models.swift index 34c2aabec1e..c1d168d47a3 100644 --- a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Models.swift +++ b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -114,7 +114,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -142,7 +142,7 @@ public struct ResourceExistsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -170,7 +170,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +196,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -220,7 +220,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -394,7 +394,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -791,7 +791,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1327,7 +1327,7 @@ extension UpdateProfileResourceAssociationInput { extension AssociateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1339,7 +1339,7 @@ extension AssociateProfileOutput { extension AssociateResourceToProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResourceToProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResourceToProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1351,7 +1351,7 @@ extension AssociateResourceToProfileOutput { extension CreateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1363,7 +1363,7 @@ extension CreateProfileOutput { extension DeleteProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1375,7 +1375,7 @@ extension DeleteProfileOutput { extension DisassociateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1387,7 +1387,7 @@ extension DisassociateProfileOutput { extension DisassociateResourceFromProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResourceFromProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResourceFromProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1399,7 +1399,7 @@ extension DisassociateResourceFromProfileOutput { extension GetProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1411,7 +1411,7 @@ extension GetProfileOutput { extension GetProfileAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1423,7 +1423,7 @@ extension GetProfileAssociationOutput { extension GetProfileResourceAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileResourceAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileResourceAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1435,7 +1435,7 @@ extension GetProfileResourceAssociationOutput { extension ListProfileAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1448,7 +1448,7 @@ extension ListProfileAssociationsOutput { extension ListProfileResourceAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileResourceAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileResourceAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1461,7 +1461,7 @@ extension ListProfileResourceAssociationsOutput { extension ListProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1474,7 +1474,7 @@ extension ListProfilesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1486,21 +1486,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateProfileResourceAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileResourceAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileResourceAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1512,7 +1512,7 @@ extension UpdateProfileResourceAssociationOutput { enum AssociateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1533,7 +1533,7 @@ enum AssociateProfileOutputError { enum AssociateResourceToProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1554,7 +1554,7 @@ enum AssociateResourceToProfileOutputError { enum CreateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1572,7 +1572,7 @@ enum CreateProfileOutputError { enum DeleteProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1590,7 +1590,7 @@ enum DeleteProfileOutputError { enum DisassociateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1609,7 +1609,7 @@ enum DisassociateProfileOutputError { enum DisassociateResourceFromProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1630,7 +1630,7 @@ enum DisassociateResourceFromProfileOutputError { enum GetProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1647,7 +1647,7 @@ enum GetProfileOutputError { enum GetProfileAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1664,7 +1664,7 @@ enum GetProfileAssociationOutputError { enum GetProfileResourceAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1682,7 +1682,7 @@ enum GetProfileResourceAssociationOutputError { enum ListProfileAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1700,7 +1700,7 @@ enum ListProfileAssociationsOutputError { enum ListProfileResourceAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1720,7 +1720,7 @@ enum ListProfileResourceAssociationsOutputError { enum ListProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1738,7 +1738,7 @@ enum ListProfilesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1756,7 +1756,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1773,7 +1773,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1791,7 +1791,7 @@ enum UntagResourceOutputError { enum UpdateProfileResourceAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Models.swift b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Models.swift index 08d4006539c..5402286e3ea 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Models.swift +++ b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -64,7 +64,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct EndpointTemporarilyUnavailableException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -120,7 +120,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -153,7 +153,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -273,7 +273,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -449,7 +449,7 @@ public struct ServiceLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -607,7 +607,7 @@ extension UpdateRoutingControlStatesInput { extension GetRoutingControlStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRoutingControlStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRoutingControlStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -621,7 +621,7 @@ extension GetRoutingControlStateOutput { extension ListRoutingControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoutingControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoutingControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -634,21 +634,21 @@ extension ListRoutingControlsOutput { extension UpdateRoutingControlStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingControlStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingControlStateOutput { return UpdateRoutingControlStateOutput() } } extension UpdateRoutingControlStatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingControlStatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingControlStatesOutput { return UpdateRoutingControlStatesOutput() } } enum GetRoutingControlStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -667,7 +667,7 @@ enum GetRoutingControlStateOutputError { enum ListRoutingControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -686,7 +686,7 @@ enum ListRoutingControlsOutputError { enum UpdateRoutingControlStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -706,7 +706,7 @@ enum UpdateRoutingControlStateOutputError { enum UpdateRoutingControlStatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Models.swift b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Models.swift index 8ca82054d3a..40fe4332b83 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Models.swift +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -379,7 +379,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -431,7 +431,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -456,7 +456,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -481,7 +481,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -506,7 +506,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -531,7 +531,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -556,7 +556,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1767,7 +1767,7 @@ extension UpdateSafetyRuleInput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1779,7 +1779,7 @@ extension CreateClusterOutput { extension CreateControlPanelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateControlPanelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateControlPanelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1791,7 +1791,7 @@ extension CreateControlPanelOutput { extension CreateRoutingControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRoutingControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRoutingControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1803,7 +1803,7 @@ extension CreateRoutingControlOutput { extension CreateSafetyRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSafetyRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSafetyRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1816,35 +1816,35 @@ extension CreateSafetyRuleOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { return DeleteClusterOutput() } } extension DeleteControlPanelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteControlPanelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteControlPanelOutput { return DeleteControlPanelOutput() } } extension DeleteRoutingControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRoutingControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRoutingControlOutput { return DeleteRoutingControlOutput() } } extension DeleteSafetyRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSafetyRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSafetyRuleOutput { return DeleteSafetyRuleOutput() } } extension DescribeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1856,7 +1856,7 @@ extension DescribeClusterOutput { extension DescribeControlPanelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeControlPanelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeControlPanelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1868,7 +1868,7 @@ extension DescribeControlPanelOutput { extension DescribeRoutingControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRoutingControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRoutingControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1880,7 +1880,7 @@ extension DescribeRoutingControlOutput { extension DescribeSafetyRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSafetyRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSafetyRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1893,7 +1893,7 @@ extension DescribeSafetyRuleOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1905,7 +1905,7 @@ extension GetResourcePolicyOutput { extension ListAssociatedRoute53HealthChecksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedRoute53HealthChecksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedRoute53HealthChecksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1918,7 +1918,7 @@ extension ListAssociatedRoute53HealthChecksOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1931,7 +1931,7 @@ extension ListClustersOutput { extension ListControlPanelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListControlPanelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListControlPanelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1944,7 +1944,7 @@ extension ListControlPanelsOutput { extension ListRoutingControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRoutingControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRoutingControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1957,7 +1957,7 @@ extension ListRoutingControlsOutput { extension ListSafetyRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSafetyRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSafetyRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1970,7 +1970,7 @@ extension ListSafetyRulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1982,21 +1982,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateControlPanelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateControlPanelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateControlPanelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2008,7 +2008,7 @@ extension UpdateControlPanelOutput { extension UpdateRoutingControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRoutingControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRoutingControlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2020,7 +2020,7 @@ extension UpdateRoutingControlOutput { extension UpdateSafetyRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSafetyRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSafetyRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2033,7 +2033,7 @@ extension UpdateSafetyRuleOutput { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2053,7 +2053,7 @@ enum CreateClusterOutputError { enum CreateControlPanelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2073,7 +2073,7 @@ enum CreateControlPanelOutputError { enum CreateRoutingControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2093,7 +2093,7 @@ enum CreateRoutingControlOutputError { enum CreateSafetyRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2108,7 +2108,7 @@ enum CreateSafetyRuleOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2127,7 +2127,7 @@ enum DeleteClusterOutputError { enum DeleteControlPanelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2146,7 +2146,7 @@ enum DeleteControlPanelOutputError { enum DeleteRoutingControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2165,7 +2165,7 @@ enum DeleteRoutingControlOutputError { enum DeleteSafetyRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2181,7 +2181,7 @@ enum DeleteSafetyRuleOutputError { enum DescribeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2200,7 +2200,7 @@ enum DescribeClusterOutputError { enum DescribeControlPanelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2219,7 +2219,7 @@ enum DescribeControlPanelOutputError { enum DescribeRoutingControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2238,7 +2238,7 @@ enum DescribeRoutingControlOutputError { enum DescribeSafetyRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2253,7 +2253,7 @@ enum DescribeSafetyRuleOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2268,7 +2268,7 @@ enum GetResourcePolicyOutputError { enum ListAssociatedRoute53HealthChecksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2284,7 +2284,7 @@ enum ListAssociatedRoute53HealthChecksOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2302,7 +2302,7 @@ enum ListClustersOutputError { enum ListControlPanelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2320,7 +2320,7 @@ enum ListControlPanelsOutputError { enum ListRoutingControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2338,7 +2338,7 @@ enum ListRoutingControlsOutputError { enum ListSafetyRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2356,7 +2356,7 @@ enum ListSafetyRulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2372,7 +2372,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2388,7 +2388,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2404,7 +2404,7 @@ enum UntagResourceOutputError { enum UpdateControlPanelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2423,7 +2423,7 @@ enum UpdateControlPanelOutputError { enum UpdateRoutingControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2442,7 +2442,7 @@ enum UpdateRoutingControlOutputError { enum UpdateSafetyRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Models.swift b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Models.swift index b5626b2b7c7..40beacd7d44 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Models.swift +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -487,7 +487,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -511,7 +511,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -535,7 +535,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -559,7 +559,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -583,7 +583,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -827,7 +827,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2303,7 +2303,7 @@ extension UpdateResourceSetInput { extension CreateCellOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCellOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCellOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2319,7 +2319,7 @@ extension CreateCellOutput { extension CreateCrossAccountAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCrossAccountAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCrossAccountAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2331,7 +2331,7 @@ extension CreateCrossAccountAuthorizationOutput { extension CreateReadinessCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReadinessCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReadinessCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2346,7 +2346,7 @@ extension CreateReadinessCheckOutput { extension CreateRecoveryGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRecoveryGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRecoveryGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2361,7 +2361,7 @@ extension CreateRecoveryGroupOutput { extension CreateResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2377,42 +2377,42 @@ extension CreateResourceSetOutput { extension DeleteCellOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCellOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCellOutput { return DeleteCellOutput() } } extension DeleteCrossAccountAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCrossAccountAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCrossAccountAuthorizationOutput { return DeleteCrossAccountAuthorizationOutput() } } extension DeleteReadinessCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReadinessCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReadinessCheckOutput { return DeleteReadinessCheckOutput() } } extension DeleteRecoveryGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecoveryGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecoveryGroupOutput { return DeleteRecoveryGroupOutput() } } extension DeleteResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceSetOutput { return DeleteResourceSetOutput() } } extension GetArchitectureRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetArchitectureRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetArchitectureRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2426,7 +2426,7 @@ extension GetArchitectureRecommendationsOutput { extension GetCellOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCellOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCellOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2442,7 +2442,7 @@ extension GetCellOutput { extension GetCellReadinessSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCellReadinessSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCellReadinessSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2456,7 +2456,7 @@ extension GetCellReadinessSummaryOutput { extension GetReadinessCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadinessCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadinessCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2471,7 +2471,7 @@ extension GetReadinessCheckOutput { extension GetReadinessCheckResourceStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadinessCheckResourceStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadinessCheckResourceStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2485,7 +2485,7 @@ extension GetReadinessCheckResourceStatusOutput { extension GetReadinessCheckStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReadinessCheckStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReadinessCheckStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2500,7 +2500,7 @@ extension GetReadinessCheckStatusOutput { extension GetRecoveryGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecoveryGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecoveryGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2515,7 +2515,7 @@ extension GetRecoveryGroupOutput { extension GetRecoveryGroupReadinessSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecoveryGroupReadinessSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecoveryGroupReadinessSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2529,7 +2529,7 @@ extension GetRecoveryGroupReadinessSummaryOutput { extension GetResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourceSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2545,7 +2545,7 @@ extension GetResourceSetOutput { extension ListCellsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCellsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCellsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2558,7 +2558,7 @@ extension ListCellsOutput { extension ListCrossAccountAuthorizationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCrossAccountAuthorizationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCrossAccountAuthorizationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2571,7 +2571,7 @@ extension ListCrossAccountAuthorizationsOutput { extension ListReadinessChecksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReadinessChecksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReadinessChecksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2584,7 +2584,7 @@ extension ListReadinessChecksOutput { extension ListRecoveryGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecoveryGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecoveryGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2597,7 +2597,7 @@ extension ListRecoveryGroupsOutput { extension ListResourceSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2610,7 +2610,7 @@ extension ListResourceSetsOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2623,7 +2623,7 @@ extension ListRulesOutput { extension ListTagsForResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2635,21 +2635,21 @@ extension ListTagsForResourcesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCellOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCellOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCellOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2665,7 +2665,7 @@ extension UpdateCellOutput { extension UpdateReadinessCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReadinessCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReadinessCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2680,7 +2680,7 @@ extension UpdateReadinessCheckOutput { extension UpdateRecoveryGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecoveryGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecoveryGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2695,7 +2695,7 @@ extension UpdateRecoveryGroupOutput { extension UpdateResourceSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2711,7 +2711,7 @@ extension UpdateResourceSetOutput { enum CreateCellOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2729,7 +2729,7 @@ enum CreateCellOutputError { enum CreateCrossAccountAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2747,7 +2747,7 @@ enum CreateCrossAccountAuthorizationOutputError { enum CreateReadinessCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2765,7 +2765,7 @@ enum CreateReadinessCheckOutputError { enum CreateRecoveryGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2783,7 +2783,7 @@ enum CreateRecoveryGroupOutputError { enum CreateResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2801,7 +2801,7 @@ enum CreateResourceSetOutputError { enum DeleteCellOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2819,7 +2819,7 @@ enum DeleteCellOutputError { enum DeleteCrossAccountAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2836,7 +2836,7 @@ enum DeleteCrossAccountAuthorizationOutputError { enum DeleteReadinessCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2854,7 +2854,7 @@ enum DeleteReadinessCheckOutputError { enum DeleteRecoveryGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2872,7 +2872,7 @@ enum DeleteRecoveryGroupOutputError { enum DeleteResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2890,7 +2890,7 @@ enum DeleteResourceSetOutputError { enum GetArchitectureRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2908,7 +2908,7 @@ enum GetArchitectureRecommendationsOutputError { enum GetCellOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2926,7 +2926,7 @@ enum GetCellOutputError { enum GetCellReadinessSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2944,7 +2944,7 @@ enum GetCellReadinessSummaryOutputError { enum GetReadinessCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2962,7 +2962,7 @@ enum GetReadinessCheckOutputError { enum GetReadinessCheckResourceStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2980,7 +2980,7 @@ enum GetReadinessCheckResourceStatusOutputError { enum GetReadinessCheckStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2998,7 +2998,7 @@ enum GetReadinessCheckStatusOutputError { enum GetRecoveryGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3016,7 +3016,7 @@ enum GetRecoveryGroupOutputError { enum GetRecoveryGroupReadinessSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3034,7 +3034,7 @@ enum GetRecoveryGroupReadinessSummaryOutputError { enum GetResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3052,7 +3052,7 @@ enum GetResourceSetOutputError { enum ListCellsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3069,7 +3069,7 @@ enum ListCellsOutputError { enum ListCrossAccountAuthorizationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3086,7 +3086,7 @@ enum ListCrossAccountAuthorizationsOutputError { enum ListReadinessChecksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3103,7 +3103,7 @@ enum ListReadinessChecksOutputError { enum ListRecoveryGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3120,7 +3120,7 @@ enum ListRecoveryGroupsOutputError { enum ListResourceSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3137,7 +3137,7 @@ enum ListResourceSetsOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3154,7 +3154,7 @@ enum ListRulesOutputError { enum ListTagsForResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3170,7 +3170,7 @@ enum ListTagsForResourcesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3186,7 +3186,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3202,7 +3202,7 @@ enum UntagResourceOutputError { enum UpdateCellOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3220,7 +3220,7 @@ enum UpdateCellOutputError { enum UpdateReadinessCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3238,7 +3238,7 @@ enum UpdateReadinessCheckOutputError { enum UpdateRecoveryGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3256,7 +3256,7 @@ enum UpdateRecoveryGroupOutputError { enum UpdateResourceSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift index 921857993d7..f4003901b01 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -90,7 +90,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -114,7 +114,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -140,7 +140,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -168,7 +168,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -194,7 +194,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -218,7 +218,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -445,7 +445,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -471,7 +471,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -497,7 +497,7 @@ public struct ResourceExistsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -997,7 +997,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1753,7 +1753,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2610,7 +2610,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3507,7 +3507,7 @@ public struct UnknownResourceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3678,7 +3678,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3702,7 +3702,7 @@ public struct InvalidPolicyDocument: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3726,7 +3726,7 @@ public struct InvalidTagException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6411,7 +6411,7 @@ extension UpdateResolverRuleInput { extension AssociateFirewallRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFirewallRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFirewallRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6423,7 +6423,7 @@ extension AssociateFirewallRuleGroupOutput { extension AssociateResolverEndpointIpAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResolverEndpointIpAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResolverEndpointIpAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6435,7 +6435,7 @@ extension AssociateResolverEndpointIpAddressOutput { extension AssociateResolverQueryLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResolverQueryLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResolverQueryLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6447,7 +6447,7 @@ extension AssociateResolverQueryLogConfigOutput { extension AssociateResolverRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResolverRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResolverRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6459,7 +6459,7 @@ extension AssociateResolverRuleOutput { extension CreateFirewallDomainListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFirewallDomainListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFirewallDomainListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6471,7 +6471,7 @@ extension CreateFirewallDomainListOutput { extension CreateFirewallRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFirewallRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFirewallRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6483,7 +6483,7 @@ extension CreateFirewallRuleOutput { extension CreateFirewallRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFirewallRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFirewallRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6495,7 +6495,7 @@ extension CreateFirewallRuleGroupOutput { extension CreateOutpostResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOutpostResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOutpostResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6507,7 +6507,7 @@ extension CreateOutpostResolverOutput { extension CreateResolverEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResolverEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResolverEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6519,7 +6519,7 @@ extension CreateResolverEndpointOutput { extension CreateResolverQueryLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResolverQueryLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResolverQueryLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6531,7 +6531,7 @@ extension CreateResolverQueryLogConfigOutput { extension CreateResolverRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResolverRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResolverRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6543,7 +6543,7 @@ extension CreateResolverRuleOutput { extension DeleteFirewallDomainListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFirewallDomainListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFirewallDomainListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6555,7 +6555,7 @@ extension DeleteFirewallDomainListOutput { extension DeleteFirewallRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFirewallRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFirewallRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6567,7 +6567,7 @@ extension DeleteFirewallRuleOutput { extension DeleteFirewallRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFirewallRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFirewallRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6579,7 +6579,7 @@ extension DeleteFirewallRuleGroupOutput { extension DeleteOutpostResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOutpostResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOutpostResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6591,7 +6591,7 @@ extension DeleteOutpostResolverOutput { extension DeleteResolverEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResolverEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResolverEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6603,7 +6603,7 @@ extension DeleteResolverEndpointOutput { extension DeleteResolverQueryLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResolverQueryLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResolverQueryLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6615,7 +6615,7 @@ extension DeleteResolverQueryLogConfigOutput { extension DeleteResolverRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResolverRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResolverRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6627,7 +6627,7 @@ extension DeleteResolverRuleOutput { extension DisassociateFirewallRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFirewallRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFirewallRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6639,7 +6639,7 @@ extension DisassociateFirewallRuleGroupOutput { extension DisassociateResolverEndpointIpAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResolverEndpointIpAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResolverEndpointIpAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6651,7 +6651,7 @@ extension DisassociateResolverEndpointIpAddressOutput { extension DisassociateResolverQueryLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResolverQueryLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResolverQueryLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6663,7 +6663,7 @@ extension DisassociateResolverQueryLogConfigOutput { extension DisassociateResolverRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResolverRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResolverRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6675,7 +6675,7 @@ extension DisassociateResolverRuleOutput { extension GetFirewallConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFirewallConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFirewallConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6687,7 +6687,7 @@ extension GetFirewallConfigOutput { extension GetFirewallDomainListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFirewallDomainListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFirewallDomainListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6699,7 +6699,7 @@ extension GetFirewallDomainListOutput { extension GetFirewallRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFirewallRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFirewallRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6711,7 +6711,7 @@ extension GetFirewallRuleGroupOutput { extension GetFirewallRuleGroupAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFirewallRuleGroupAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFirewallRuleGroupAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6723,7 +6723,7 @@ extension GetFirewallRuleGroupAssociationOutput { extension GetFirewallRuleGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFirewallRuleGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFirewallRuleGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6735,7 +6735,7 @@ extension GetFirewallRuleGroupPolicyOutput { extension GetOutpostResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOutpostResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOutpostResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6747,7 +6747,7 @@ extension GetOutpostResolverOutput { extension GetResolverConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6759,7 +6759,7 @@ extension GetResolverConfigOutput { extension GetResolverDnssecConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverDnssecConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverDnssecConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6771,7 +6771,7 @@ extension GetResolverDnssecConfigOutput { extension GetResolverEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6783,7 +6783,7 @@ extension GetResolverEndpointOutput { extension GetResolverQueryLogConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverQueryLogConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverQueryLogConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6795,7 +6795,7 @@ extension GetResolverQueryLogConfigOutput { extension GetResolverQueryLogConfigAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverQueryLogConfigAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverQueryLogConfigAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6807,7 +6807,7 @@ extension GetResolverQueryLogConfigAssociationOutput { extension GetResolverQueryLogConfigPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverQueryLogConfigPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverQueryLogConfigPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6819,7 +6819,7 @@ extension GetResolverQueryLogConfigPolicyOutput { extension GetResolverRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6831,7 +6831,7 @@ extension GetResolverRuleOutput { extension GetResolverRuleAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverRuleAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverRuleAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6843,7 +6843,7 @@ extension GetResolverRuleAssociationOutput { extension GetResolverRulePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResolverRulePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResolverRulePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6855,7 +6855,7 @@ extension GetResolverRulePolicyOutput { extension ImportFirewallDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportFirewallDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportFirewallDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6870,7 +6870,7 @@ extension ImportFirewallDomainsOutput { extension ListFirewallConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6883,7 +6883,7 @@ extension ListFirewallConfigsOutput { extension ListFirewallDomainListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallDomainListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallDomainListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6896,7 +6896,7 @@ extension ListFirewallDomainListsOutput { extension ListFirewallDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6909,7 +6909,7 @@ extension ListFirewallDomainsOutput { extension ListFirewallRuleGroupAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallRuleGroupAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallRuleGroupAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6922,7 +6922,7 @@ extension ListFirewallRuleGroupAssociationsOutput { extension ListFirewallRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6935,7 +6935,7 @@ extension ListFirewallRuleGroupsOutput { extension ListFirewallRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFirewallRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFirewallRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6948,7 +6948,7 @@ extension ListFirewallRulesOutput { extension ListOutpostResolversOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOutpostResolversOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOutpostResolversOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6961,7 +6961,7 @@ extension ListOutpostResolversOutput { extension ListResolverConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6974,7 +6974,7 @@ extension ListResolverConfigsOutput { extension ListResolverDnssecConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverDnssecConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverDnssecConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6987,7 +6987,7 @@ extension ListResolverDnssecConfigsOutput { extension ListResolverEndpointIpAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverEndpointIpAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverEndpointIpAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7001,7 +7001,7 @@ extension ListResolverEndpointIpAddressesOutput { extension ListResolverEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7015,7 +7015,7 @@ extension ListResolverEndpointsOutput { extension ListResolverQueryLogConfigAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverQueryLogConfigAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverQueryLogConfigAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7030,7 +7030,7 @@ extension ListResolverQueryLogConfigAssociationsOutput { extension ListResolverQueryLogConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverQueryLogConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverQueryLogConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7045,7 +7045,7 @@ extension ListResolverQueryLogConfigsOutput { extension ListResolverRuleAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverRuleAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverRuleAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7059,7 +7059,7 @@ extension ListResolverRuleAssociationsOutput { extension ListResolverRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResolverRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResolverRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7073,7 +7073,7 @@ extension ListResolverRulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7086,7 +7086,7 @@ extension ListTagsForResourceOutput { extension PutFirewallRuleGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutFirewallRuleGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutFirewallRuleGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7098,7 +7098,7 @@ extension PutFirewallRuleGroupPolicyOutput { extension PutResolverQueryLogConfigPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResolverQueryLogConfigPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResolverQueryLogConfigPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7110,7 +7110,7 @@ extension PutResolverQueryLogConfigPolicyOutput { extension PutResolverRulePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResolverRulePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResolverRulePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7122,21 +7122,21 @@ extension PutResolverRulePolicyOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateFirewallConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7148,7 +7148,7 @@ extension UpdateFirewallConfigOutput { extension UpdateFirewallDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7163,7 +7163,7 @@ extension UpdateFirewallDomainsOutput { extension UpdateFirewallRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7175,7 +7175,7 @@ extension UpdateFirewallRuleOutput { extension UpdateFirewallRuleGroupAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFirewallRuleGroupAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFirewallRuleGroupAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7187,7 +7187,7 @@ extension UpdateFirewallRuleGroupAssociationOutput { extension UpdateOutpostResolverOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOutpostResolverOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOutpostResolverOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7199,7 +7199,7 @@ extension UpdateOutpostResolverOutput { extension UpdateResolverConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResolverConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResolverConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7211,7 +7211,7 @@ extension UpdateResolverConfigOutput { extension UpdateResolverDnssecConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResolverDnssecConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResolverDnssecConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7223,7 +7223,7 @@ extension UpdateResolverDnssecConfigOutput { extension UpdateResolverEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResolverEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResolverEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7235,7 +7235,7 @@ extension UpdateResolverEndpointOutput { extension UpdateResolverRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResolverRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResolverRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7247,7 +7247,7 @@ extension UpdateResolverRuleOutput { enum AssociateFirewallRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7267,7 +7267,7 @@ enum AssociateFirewallRuleGroupOutputError { enum AssociateResolverEndpointIpAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7287,7 +7287,7 @@ enum AssociateResolverEndpointIpAddressOutputError { enum AssociateResolverQueryLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7308,7 +7308,7 @@ enum AssociateResolverQueryLogConfigOutputError { enum AssociateResolverRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7329,7 +7329,7 @@ enum AssociateResolverRuleOutputError { enum CreateFirewallDomainListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7347,7 +7347,7 @@ enum CreateFirewallDomainListOutputError { enum CreateFirewallRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7366,7 +7366,7 @@ enum CreateFirewallRuleOutputError { enum CreateFirewallRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7384,7 +7384,7 @@ enum CreateFirewallRuleGroupOutputError { enum CreateOutpostResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7403,7 +7403,7 @@ enum CreateOutpostResolverOutputError { enum CreateResolverEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7424,7 +7424,7 @@ enum CreateResolverEndpointOutputError { enum CreateResolverQueryLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7445,7 +7445,7 @@ enum CreateResolverQueryLogConfigOutputError { enum CreateResolverRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7467,7 +7467,7 @@ enum CreateResolverRuleOutputError { enum DeleteFirewallDomainListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7485,7 +7485,7 @@ enum DeleteFirewallDomainListOutputError { enum DeleteFirewallRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7502,7 +7502,7 @@ enum DeleteFirewallRuleOutputError { enum DeleteFirewallRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7521,7 +7521,7 @@ enum DeleteFirewallRuleGroupOutputError { enum DeleteOutpostResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7540,7 +7540,7 @@ enum DeleteOutpostResolverOutputError { enum DeleteResolverEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7558,7 +7558,7 @@ enum DeleteResolverEndpointOutputError { enum DeleteResolverQueryLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7577,7 +7577,7 @@ enum DeleteResolverQueryLogConfigOutputError { enum DeleteResolverRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7595,7 +7595,7 @@ enum DeleteResolverRuleOutputError { enum DisassociateFirewallRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7614,7 +7614,7 @@ enum DisassociateFirewallRuleGroupOutputError { enum DisassociateResolverEndpointIpAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7633,7 +7633,7 @@ enum DisassociateResolverEndpointIpAddressOutputError { enum DisassociateResolverQueryLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7652,7 +7652,7 @@ enum DisassociateResolverQueryLogConfigOutputError { enum DisassociateResolverRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7669,7 +7669,7 @@ enum DisassociateResolverRuleOutputError { enum GetFirewallConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7687,7 +7687,7 @@ enum GetFirewallConfigOutputError { enum GetFirewallDomainListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7704,7 +7704,7 @@ enum GetFirewallDomainListOutputError { enum GetFirewallRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7721,7 +7721,7 @@ enum GetFirewallRuleGroupOutputError { enum GetFirewallRuleGroupAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7738,7 +7738,7 @@ enum GetFirewallRuleGroupAssociationOutputError { enum GetFirewallRuleGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7756,7 +7756,7 @@ enum GetFirewallRuleGroupPolicyOutputError { enum GetOutpostResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7774,7 +7774,7 @@ enum GetOutpostResolverOutputError { enum GetResolverConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7793,7 +7793,7 @@ enum GetResolverConfigOutputError { enum GetResolverDnssecConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7812,7 +7812,7 @@ enum GetResolverDnssecConfigOutputError { enum GetResolverEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7829,7 +7829,7 @@ enum GetResolverEndpointOutputError { enum GetResolverQueryLogConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7848,7 +7848,7 @@ enum GetResolverQueryLogConfigOutputError { enum GetResolverQueryLogConfigAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7867,7 +7867,7 @@ enum GetResolverQueryLogConfigAssociationOutputError { enum GetResolverQueryLogConfigPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7885,7 +7885,7 @@ enum GetResolverQueryLogConfigPolicyOutputError { enum GetResolverRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7902,7 +7902,7 @@ enum GetResolverRuleOutputError { enum GetResolverRuleAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7919,7 +7919,7 @@ enum GetResolverRuleAssociationOutputError { enum GetResolverRulePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7936,7 +7936,7 @@ enum GetResolverRulePolicyOutputError { enum ImportFirewallDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7956,7 +7956,7 @@ enum ImportFirewallDomainsOutputError { enum ListFirewallConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7973,7 +7973,7 @@ enum ListFirewallConfigsOutputError { enum ListFirewallDomainListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7990,7 +7990,7 @@ enum ListFirewallDomainListsOutputError { enum ListFirewallDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8008,7 +8008,7 @@ enum ListFirewallDomainsOutputError { enum ListFirewallRuleGroupAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8025,7 +8025,7 @@ enum ListFirewallRuleGroupAssociationsOutputError { enum ListFirewallRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8042,7 +8042,7 @@ enum ListFirewallRuleGroupsOutputError { enum ListFirewallRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8060,7 +8060,7 @@ enum ListFirewallRulesOutputError { enum ListOutpostResolversOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8078,7 +8078,7 @@ enum ListOutpostResolversOutputError { enum ListResolverConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8098,7 +8098,7 @@ enum ListResolverConfigsOutputError { enum ListResolverDnssecConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8117,7 +8117,7 @@ enum ListResolverDnssecConfigsOutputError { enum ListResolverEndpointIpAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8135,7 +8135,7 @@ enum ListResolverEndpointIpAddressesOutputError { enum ListResolverEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8153,7 +8153,7 @@ enum ListResolverEndpointsOutputError { enum ListResolverQueryLogConfigAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8172,7 +8172,7 @@ enum ListResolverQueryLogConfigAssociationsOutputError { enum ListResolverQueryLogConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8191,7 +8191,7 @@ enum ListResolverQueryLogConfigsOutputError { enum ListResolverRuleAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8209,7 +8209,7 @@ enum ListResolverRuleAssociationsOutputError { enum ListResolverRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8227,7 +8227,7 @@ enum ListResolverRulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8246,7 +8246,7 @@ enum ListTagsForResourceOutputError { enum PutFirewallRuleGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8264,7 +8264,7 @@ enum PutFirewallRuleGroupPolicyOutputError { enum PutResolverQueryLogConfigPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8283,7 +8283,7 @@ enum PutResolverQueryLogConfigPolicyOutputError { enum PutResolverRulePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8301,7 +8301,7 @@ enum PutResolverRulePolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8321,7 +8321,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8339,7 +8339,7 @@ enum UntagResourceOutputError { enum UpdateFirewallConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8357,7 +8357,7 @@ enum UpdateFirewallConfigOutputError { enum UpdateFirewallDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8377,7 +8377,7 @@ enum UpdateFirewallDomainsOutputError { enum UpdateFirewallRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8396,7 +8396,7 @@ enum UpdateFirewallRuleOutputError { enum UpdateFirewallRuleGroupAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8415,7 +8415,7 @@ enum UpdateFirewallRuleGroupAssociationOutputError { enum UpdateOutpostResolverOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8435,7 +8435,7 @@ enum UpdateOutpostResolverOutputError { enum UpdateResolverConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8457,7 +8457,7 @@ enum UpdateResolverConfigOutputError { enum UpdateResolverDnssecConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8476,7 +8476,7 @@ enum UpdateResolverDnssecConfigOutputError { enum UpdateResolverEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8495,7 +8495,7 @@ enum UpdateResolverEndpointOutputError { enum UpdateResolverRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSS3/Sources/AWSS3/Models.swift b/Sources/Services/AWSS3/Sources/AWSS3/Models.swift index 8f147d56e1a..1699fe49f39 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/Models.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/Models.swift @@ -14,9 +14,9 @@ import class ClientRuntime.OrchestratorTelemetry import class Smithy.Context import class Smithy.ContextBuilder import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest -import class SmithyHTTPAPI.SdkHttpRequestBuilder +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPRequestBuilder +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider @@ -266,7 +266,7 @@ public struct NoSuchUpload: ClientRuntime.ModeledError, AWSClientRuntime.AWSS3Se public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -891,7 +891,7 @@ public struct ObjectNotInActiveTierError: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -1427,7 +1427,7 @@ public struct CopyObjectInput { extension CopyObjectInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CopyObjectInput(acl: \(Swift.String(describing: acl)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentType: \(Swift.String(describing: contentType)), copySource: \(Swift.String(describing: copySource)), copySourceIfMatch: \(Swift.String(describing: copySourceIfMatch)), copySourceIfModifiedSince: \(Swift.String(describing: copySourceIfModifiedSince)), copySourceIfNoneMatch: \(Swift.String(describing: copySourceIfNoneMatch)), copySourceIfUnmodifiedSince: \(Swift.String(describing: copySourceIfUnmodifiedSince)), copySourceSSECustomerAlgorithm: \(Swift.String(describing: copySourceSSECustomerAlgorithm)), copySourceSSECustomerKeyMD5: \(Swift.String(describing: copySourceSSECustomerKeyMD5)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expectedSourceBucketOwner: \(Swift.String(describing: expectedSourceBucketOwner)), expires: \(Swift.String(describing: expires)), grantFullControl: \(Swift.String(describing: grantFullControl)), grantRead: \(Swift.String(describing: grantRead)), grantReadACP: \(Swift.String(describing: grantReadACP)), grantWriteACP: \(Swift.String(describing: grantWriteACP)), key: \(Swift.String(describing: key)), metadata: \(Swift.String(describing: metadata)), metadataDirective: \(Swift.String(describing: metadataDirective)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), storageClass: \(Swift.String(describing: storageClass)), tagging: \(Swift.String(describing: tagging)), taggingDirective: \(Swift.String(describing: taggingDirective)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), copySourceSSECustomerKey: \"CONTENT_REDACTED\", sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} + "CopyObjectInput(acl: \(Swift.String(describing: acl)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentType: \(Swift.String(describing: contentType)), copySource: \(Swift.String(describing: copySource)), copySourceIfMatch: \(Swift.String(describing: copySourceIfMatch)), copySourceIfModifiedSince: \(Swift.String(describing: copySourceIfModifiedSince)), copySourceIfNoneMatch: \(Swift.String(describing: copySourceIfNoneMatch)), copySourceIfUnmodifiedSince: \(Swift.String(describing: copySourceIfUnmodifiedSince)), copySourceSSECustomerAlgorithm: \(Swift.String(describing: copySourceSSECustomerAlgorithm)), copySourceSSECustomerKeyMD5: \(Swift.String(describing: copySourceSSECustomerKeyMD5)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expectedSourceBucketOwner: \(Swift.String(describing: expectedSourceBucketOwner)), expires: \(Swift.String(describing: expires)), grantFullControl: \(Swift.String(describing: grantFullControl)), grantRead: \(Swift.String(describing: grantRead)), grantReadACP: \(Swift.String(describing: grantReadACP)), grantWriteACP: \(Swift.String(describing: grantWriteACP)), key: \(Swift.String(describing: key)), metadata: \(Swift.String(describing: metadata)), metadataDirective: \(Swift.String(describing: metadataDirective)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), requestPayer: \(Swift.String(describing: requestPayer)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), storageClass: \(Swift.String(describing: storageClass)), tagging: \(Swift.String(describing: tagging)), taggingDirective: \(Swift.String(describing: taggingDirective)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), copySourceSSECustomerKey: \"CONTENT_REDACTED\", sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } extension S3ClientTypes { @@ -1520,7 +1520,7 @@ public struct CopyObjectOutput { extension CopyObjectOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CopyObjectOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), copyObjectResult: \(Swift.String(describing: copyObjectResult)), copySourceVersionId: \(Swift.String(describing: copySourceVersionId)), expiration: \(Swift.String(describing: expiration)), requestCharged: \(Swift.String(describing: requestCharged)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), versionId: \(Swift.String(describing: versionId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} + "CopyObjectOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), copyObjectResult: \(Swift.String(describing: copyObjectResult)), copySourceVersionId: \(Swift.String(describing: copySourceVersionId)), expiration: \(Swift.String(describing: expiration)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), versionId: \(Swift.String(describing: versionId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } /// The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again. @@ -1529,7 +1529,7 @@ public struct BucketAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -1543,7 +1543,7 @@ public struct BucketAlreadyOwnedByYou: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -2197,7 +2197,7 @@ public struct CreateMultipartUploadInput { extension CreateMultipartUploadInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateMultipartUploadInput(acl: \(Swift.String(describing: acl)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentType: \(Swift.String(describing: contentType)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expires: \(Swift.String(describing: expires)), grantFullControl: \(Swift.String(describing: grantFullControl)), grantRead: \(Swift.String(describing: grantRead)), grantReadACP: \(Swift.String(describing: grantReadACP)), grantWriteACP: \(Swift.String(describing: grantWriteACP)), key: \(Swift.String(describing: key)), metadata: \(Swift.String(describing: metadata)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), storageClass: \(Swift.String(describing: storageClass)), tagging: \(Swift.String(describing: tagging)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} + "CreateMultipartUploadInput(acl: \(Swift.String(describing: acl)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentType: \(Swift.String(describing: contentType)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expires: \(Swift.String(describing: expires)), grantFullControl: \(Swift.String(describing: grantFullControl)), grantRead: \(Swift.String(describing: grantRead)), grantReadACP: \(Swift.String(describing: grantReadACP)), grantWriteACP: \(Swift.String(describing: grantWriteACP)), key: \(Swift.String(describing: key)), metadata: \(Swift.String(describing: metadata)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), requestPayer: \(Swift.String(describing: requestPayer)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), storageClass: \(Swift.String(describing: storageClass)), tagging: \(Swift.String(describing: tagging)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct CreateMultipartUploadOutput { @@ -2262,7 +2262,7 @@ public struct CreateMultipartUploadOutput { extension CreateMultipartUploadOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateMultipartUploadOutput(abortDate: \(Swift.String(describing: abortDate)), abortRuleId: \(Swift.String(describing: abortRuleId)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), key: \(Swift.String(describing: key)), requestCharged: \(Swift.String(describing: requestCharged)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), uploadId: \(Swift.String(describing: uploadId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} + "CreateMultipartUploadOutput(abortDate: \(Swift.String(describing: abortDate)), abortRuleId: \(Swift.String(describing: abortRuleId)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), key: \(Swift.String(describing: key)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), uploadId: \(Swift.String(describing: uploadId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } /// The specified bucket does not exist. @@ -2271,7 +2271,7 @@ public struct NoSuchBucket: ClientRuntime.ModeledError, AWSClientRuntime.AWSS3Se public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -2363,7 +2363,7 @@ extension S3ClientTypes.SessionCredentials: Swift.CustomDebugStringConvertible { } public struct CreateSessionOutput { - /// The established temporary security credentials for the created session.. + /// The established temporary security credentials for the created session. /// This member is required. public var credentials: S3ClientTypes.SessionCredentials? @@ -5084,7 +5084,7 @@ extension S3ClientTypes { extension S3ClientTypes { /// Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime. public struct NoncurrentVersionExpiration { - /// Specifies how many newer noncurrent versions must exist before Amazon S3 can perform the associated action on a given version. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the Amazon S3 User Guide. + /// Specifies how many noncurrent versions Amazon S3 will retain. You can specify up to 100 noncurrent versions to retain. Amazon S3 will permanently delete any additional noncurrent versions beyond the specified number to retain. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the Amazon S3 User Guide. public var newerNoncurrentVersions: Swift.Int? /// Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see [How Amazon S3 Calculates When an Object Became Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the Amazon S3 User Guide. public var noncurrentDays: Swift.Int? @@ -5145,7 +5145,7 @@ extension S3ClientTypes { extension S3ClientTypes { /// Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or DEEP_ARCHIVE storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or DEEP_ARCHIVE storage class at a specific period in the object's lifetime. public struct NoncurrentVersionTransition { - /// Specifies how many newer noncurrent versions must exist before Amazon S3 can perform the associated action on a given version. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the Amazon S3 User Guide. + /// Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will transition any additional noncurrent versions beyond the specified number to retain. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the Amazon S3 User Guide. public var newerNoncurrentVersions: Swift.Int? /// Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see [How Amazon S3 Calculates How Long an Object Has Been Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the Amazon S3 User Guide. public var noncurrentDays: Swift.Int? @@ -6820,7 +6820,7 @@ extension S3ClientTypes { extension S3ClientTypes { /// Container for the Suffix element. public struct IndexDocument { - /// A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [ XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + /// A suffix that is appended to a request that is for a directory on the website endpoint. (For example, if the suffix is index.html and you make a request to samplebucket/images/, the data that is returned will be for the object with the key name images/index.html.) The suffix must not be empty and must not include a slash character. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [ XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). /// This member is required. public var suffix: Swift.String? @@ -6994,7 +6994,7 @@ public struct InvalidObjectState: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -7015,7 +7015,7 @@ public struct NoSuchKey: ClientRuntime.ModeledError, AWSClientRuntime.AWSS3Servi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -7380,7 +7380,7 @@ public struct GetObjectOutput { extension GetObjectOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetObjectOutput(acceptRanges: \(Swift.String(describing: acceptRanges)), body: \(Swift.String(describing: body)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentRange: \(Swift.String(describing: contentRange)), contentType: \(Swift.String(describing: contentType)), deleteMarker: \(Swift.String(describing: deleteMarker)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), expires: \(Swift.String(describing: expires)), lastModified: \(Swift.String(describing: lastModified)), metadata: \(Swift.String(describing: metadata)), missingMeta: \(Swift.String(describing: missingMeta)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), partsCount: \(Swift.String(describing: partsCount)), replicationStatus: \(Swift.String(describing: replicationStatus)), requestCharged: \(Swift.String(describing: requestCharged)), restore: \(Swift.String(describing: restore)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), storageClass: \(Swift.String(describing: storageClass)), tagCount: \(Swift.String(describing: tagCount)), versionId: \(Swift.String(describing: versionId)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "GetObjectOutput(acceptRanges: \(Swift.String(describing: acceptRanges)), body: \(Swift.String(describing: body)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentRange: \(Swift.String(describing: contentRange)), contentType: \(Swift.String(describing: contentType)), deleteMarker: \(Swift.String(describing: deleteMarker)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), expires: \(Swift.String(describing: expires)), lastModified: \(Swift.String(describing: lastModified)), metadata: \(Swift.String(describing: metadata)), missingMeta: \(Swift.String(describing: missingMeta)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), partsCount: \(Swift.String(describing: partsCount)), replicationStatus: \(Swift.String(describing: replicationStatus)), requestCharged: \(Swift.String(describing: requestCharged)), restore: \(Swift.String(describing: restore)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), storageClass: \(Swift.String(describing: storageClass)), tagCount: \(Swift.String(describing: tagCount)), versionId: \(Swift.String(describing: versionId)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct GetObjectAclInput { @@ -8108,7 +8108,7 @@ public struct NotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSS3Servic public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -8210,6 +8210,18 @@ public struct HeadObjectInput { public var range: Swift.String? /// Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 User Guide. This functionality is not supported for directory buckets. public var requestPayer: S3ClientTypes.RequestPayer? + /// Sets the Cache-Control header of the response. + public var responseCacheControl: Swift.String? + /// Sets the Content-Disposition header of the response. + public var responseContentDisposition: Swift.String? + /// Sets the Content-Encoding header of the response. + public var responseContentEncoding: Swift.String? + /// Sets the Content-Language header of the response. + public var responseContentLanguage: Swift.String? + /// Sets the Content-Type header of the response. + public var responseContentType: Swift.String? + /// Sets the Expires header of the response. + public var responseExpires: Foundation.Date? /// Specifies the algorithm to use when encrypting the object (for example, AES256). This functionality is not supported for directory buckets. public var sseCustomerAlgorithm: Swift.String? /// Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header. This functionality is not supported for directory buckets. @@ -8231,6 +8243,12 @@ public struct HeadObjectInput { partNumber: Swift.Int? = nil, range: Swift.String? = nil, requestPayer: S3ClientTypes.RequestPayer? = nil, + responseCacheControl: Swift.String? = nil, + responseContentDisposition: Swift.String? = nil, + responseContentEncoding: Swift.String? = nil, + responseContentLanguage: Swift.String? = nil, + responseContentType: Swift.String? = nil, + responseExpires: Foundation.Date? = nil, sseCustomerAlgorithm: Swift.String? = nil, sseCustomerKey: Swift.String? = nil, sseCustomerKeyMD5: Swift.String? = nil, @@ -8248,6 +8266,12 @@ public struct HeadObjectInput { self.partNumber = partNumber self.range = range self.requestPayer = requestPayer + self.responseCacheControl = responseCacheControl + self.responseContentDisposition = responseContentDisposition + self.responseContentEncoding = responseContentEncoding + self.responseContentLanguage = responseContentLanguage + self.responseContentType = responseContentType + self.responseExpires = responseExpires self.sseCustomerAlgorithm = sseCustomerAlgorithm self.sseCustomerKey = sseCustomerKey self.sseCustomerKeyMD5 = sseCustomerKeyMD5 @@ -8257,7 +8281,7 @@ public struct HeadObjectInput { extension HeadObjectInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "HeadObjectInput(bucket: \(Swift.String(describing: bucket)), checksumMode: \(Swift.String(describing: checksumMode)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), ifMatch: \(Swift.String(describing: ifMatch)), ifModifiedSince: \(Swift.String(describing: ifModifiedSince)), ifNoneMatch: \(Swift.String(describing: ifNoneMatch)), ifUnmodifiedSince: \(Swift.String(describing: ifUnmodifiedSince)), key: \(Swift.String(describing: key)), partNumber: \(Swift.String(describing: partNumber)), range: \(Swift.String(describing: range)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), versionId: \(Swift.String(describing: versionId)), sseCustomerKey: \"CONTENT_REDACTED\")"} + "HeadObjectInput(bucket: \(Swift.String(describing: bucket)), checksumMode: \(Swift.String(describing: checksumMode)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), ifMatch: \(Swift.String(describing: ifMatch)), ifModifiedSince: \(Swift.String(describing: ifModifiedSince)), ifNoneMatch: \(Swift.String(describing: ifNoneMatch)), ifUnmodifiedSince: \(Swift.String(describing: ifUnmodifiedSince)), key: \(Swift.String(describing: key)), partNumber: \(Swift.String(describing: partNumber)), range: \(Swift.String(describing: range)), requestPayer: \(Swift.String(describing: requestPayer)), responseCacheControl: \(Swift.String(describing: responseCacheControl)), responseContentDisposition: \(Swift.String(describing: responseContentDisposition)), responseContentEncoding: \(Swift.String(describing: responseContentEncoding)), responseContentLanguage: \(Swift.String(describing: responseContentLanguage)), responseContentType: \(Swift.String(describing: responseContentType)), responseExpires: \(Swift.String(describing: responseExpires)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), versionId: \(Swift.String(describing: versionId)), sseCustomerKey: \"CONTENT_REDACTED\")"} } extension S3ClientTypes { @@ -8444,7 +8468,7 @@ public struct HeadObjectOutput { extension HeadObjectOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "HeadObjectOutput(acceptRanges: \(Swift.String(describing: acceptRanges)), archiveStatus: \(Swift.String(describing: archiveStatus)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentType: \(Swift.String(describing: contentType)), deleteMarker: \(Swift.String(describing: deleteMarker)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), expires: \(Swift.String(describing: expires)), lastModified: \(Swift.String(describing: lastModified)), metadata: \(Swift.String(describing: metadata)), missingMeta: \(Swift.String(describing: missingMeta)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), partsCount: \(Swift.String(describing: partsCount)), replicationStatus: \(Swift.String(describing: replicationStatus)), requestCharged: \(Swift.String(describing: requestCharged)), restore: \(Swift.String(describing: restore)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), storageClass: \(Swift.String(describing: storageClass)), versionId: \(Swift.String(describing: versionId)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "HeadObjectOutput(acceptRanges: \(Swift.String(describing: acceptRanges)), archiveStatus: \(Swift.String(describing: archiveStatus)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentType: \(Swift.String(describing: contentType)), deleteMarker: \(Swift.String(describing: deleteMarker)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), expires: \(Swift.String(describing: expires)), lastModified: \(Swift.String(describing: lastModified)), metadata: \(Swift.String(describing: metadata)), missingMeta: \(Swift.String(describing: missingMeta)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), partsCount: \(Swift.String(describing: partsCount)), replicationStatus: \(Swift.String(describing: replicationStatus)), requestCharged: \(Swift.String(describing: requestCharged)), restore: \(Swift.String(describing: restore)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), storageClass: \(Swift.String(describing: storageClass)), versionId: \(Swift.String(describing: versionId)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct ListBucketAnalyticsConfigurationsInput { @@ -10604,7 +10628,7 @@ public struct PutObjectInput { extension PutObjectInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PutObjectInput(acl: \(Swift.String(describing: acl)), body: \(Swift.String(describing: body)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentMD5: \(Swift.String(describing: contentMD5)), contentType: \(Swift.String(describing: contentType)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expires: \(Swift.String(describing: expires)), grantFullControl: \(Swift.String(describing: grantFullControl)), grantRead: \(Swift.String(describing: grantRead)), grantReadACP: \(Swift.String(describing: grantReadACP)), grantWriteACP: \(Swift.String(describing: grantWriteACP)), key: \(Swift.String(describing: key)), metadata: \(Swift.String(describing: metadata)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), storageClass: \(Swift.String(describing: storageClass)), tagging: \(Swift.String(describing: tagging)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} + "PutObjectInput(acl: \(Swift.String(describing: acl)), body: \(Swift.String(describing: body)), bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentMD5: \(Swift.String(describing: contentMD5)), contentType: \(Swift.String(describing: contentType)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expires: \(Swift.String(describing: expires)), grantFullControl: \(Swift.String(describing: grantFullControl)), grantRead: \(Swift.String(describing: grantRead)), grantReadACP: \(Swift.String(describing: grantReadACP)), grantWriteACP: \(Swift.String(describing: grantWriteACP)), key: \(Swift.String(describing: key)), metadata: \(Swift.String(describing: metadata)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), requestPayer: \(Swift.String(describing: requestPayer)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), storageClass: \(Swift.String(describing: storageClass)), tagging: \(Swift.String(describing: tagging)), websiteRedirectLocation: \(Swift.String(describing: websiteRedirectLocation)), sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct PutObjectOutput { @@ -10673,7 +10697,7 @@ public struct PutObjectOutput { extension PutObjectOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PutObjectOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), requestCharged: \(Swift.String(describing: requestCharged)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), versionId: \(Swift.String(describing: versionId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} + "PutObjectOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), versionId: \(Swift.String(describing: versionId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct PutObjectAclInput { @@ -11006,7 +11030,7 @@ public struct ObjectAlreadyInActiveTierError: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? public internal(set) var requestID2: Swift.String? @@ -11753,7 +11777,7 @@ public struct SelectObjectContentInput { extension SelectObjectContentInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SelectObjectContentInput(bucket: \(Swift.String(describing: bucket)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expression: \(Swift.String(describing: expression)), expressionType: \(Swift.String(describing: expressionType)), inputSerialization: \(Swift.String(describing: inputSerialization)), key: \(Swift.String(describing: key)), outputSerialization: \(Swift.String(describing: outputSerialization)), requestProgress: \(Swift.String(describing: requestProgress)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), scanRange: \(Swift.String(describing: scanRange)), sseCustomerKey: \"CONTENT_REDACTED\")"} + "SelectObjectContentInput(bucket: \(Swift.String(describing: bucket)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), expression: \(Swift.String(describing: expression)), expressionType: \(Swift.String(describing: expressionType)), inputSerialization: \(Swift.String(describing: inputSerialization)), key: \(Swift.String(describing: key)), outputSerialization: \(Swift.String(describing: outputSerialization)), requestProgress: \(Swift.String(describing: requestProgress)), scanRange: \(Swift.String(describing: scanRange)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), sseCustomerKey: \"CONTENT_REDACTED\")"} } extension S3ClientTypes { @@ -12039,7 +12063,7 @@ public struct UploadPartOutput { extension UploadPartOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UploadPartOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), eTag: \(Swift.String(describing: eTag)), requestCharged: \(Swift.String(describing: requestCharged)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "UploadPartOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), eTag: \(Swift.String(describing: eTag)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct UploadPartCopyInput { @@ -12228,7 +12252,7 @@ public struct UploadPartCopyOutput { extension UploadPartCopyOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UploadPartCopyOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), copyPartResult: \(Swift.String(describing: copyPartResult)), copySourceVersionId: \(Swift.String(describing: copySourceVersionId)), requestCharged: \(Swift.String(describing: requestCharged)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "UploadPartCopyOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), copyPartResult: \(Swift.String(describing: copyPartResult)), copySourceVersionId: \(Swift.String(describing: copySourceVersionId)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct WriteGetObjectResponseInput { @@ -12431,7 +12455,7 @@ public struct WriteGetObjectResponseInput { extension WriteGetObjectResponseInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "WriteGetObjectResponseInput(acceptRanges: \(Swift.String(describing: acceptRanges)), body: \(Swift.String(describing: body)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentRange: \(Swift.String(describing: contentRange)), contentType: \(Swift.String(describing: contentType)), deleteMarker: \(Swift.String(describing: deleteMarker)), eTag: \(Swift.String(describing: eTag)), errorCode: \(Swift.String(describing: errorCode)), errorMessage: \(Swift.String(describing: errorMessage)), expiration: \(Swift.String(describing: expiration)), expires: \(Swift.String(describing: expires)), lastModified: \(Swift.String(describing: lastModified)), metadata: \(Swift.String(describing: metadata)), missingMeta: \(Swift.String(describing: missingMeta)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), partsCount: \(Swift.String(describing: partsCount)), replicationStatus: \(Swift.String(describing: replicationStatus)), requestCharged: \(Swift.String(describing: requestCharged)), requestRoute: \(Swift.String(describing: requestRoute)), requestToken: \(Swift.String(describing: requestToken)), restore: \(Swift.String(describing: restore)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), statusCode: \(Swift.String(describing: statusCode)), storageClass: \(Swift.String(describing: storageClass)), tagCount: \(Swift.String(describing: tagCount)), versionId: \(Swift.String(describing: versionId)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "WriteGetObjectResponseInput(acceptRanges: \(Swift.String(describing: acceptRanges)), body: \(Swift.String(describing: body)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), cacheControl: \(Swift.String(describing: cacheControl)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentDisposition: \(Swift.String(describing: contentDisposition)), contentEncoding: \(Swift.String(describing: contentEncoding)), contentLanguage: \(Swift.String(describing: contentLanguage)), contentLength: \(Swift.String(describing: contentLength)), contentRange: \(Swift.String(describing: contentRange)), contentType: \(Swift.String(describing: contentType)), deleteMarker: \(Swift.String(describing: deleteMarker)), eTag: \(Swift.String(describing: eTag)), errorCode: \(Swift.String(describing: errorCode)), errorMessage: \(Swift.String(describing: errorMessage)), expiration: \(Swift.String(describing: expiration)), expires: \(Swift.String(describing: expires)), lastModified: \(Swift.String(describing: lastModified)), metadata: \(Swift.String(describing: metadata)), missingMeta: \(Swift.String(describing: missingMeta)), objectLockLegalHoldStatus: \(Swift.String(describing: objectLockLegalHoldStatus)), objectLockMode: \(Swift.String(describing: objectLockMode)), objectLockRetainUntilDate: \(Swift.String(describing: objectLockRetainUntilDate)), partsCount: \(Swift.String(describing: partsCount)), replicationStatus: \(Swift.String(describing: replicationStatus)), requestCharged: \(Swift.String(describing: requestCharged)), requestRoute: \(Swift.String(describing: requestRoute)), requestToken: \(Swift.String(describing: requestToken)), restore: \(Swift.String(describing: restore)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), statusCode: \(Swift.String(describing: statusCode)), storageClass: \(Swift.String(describing: storageClass)), tagCount: \(Swift.String(describing: tagCount)), versionId: \(Swift.String(describing: versionId)), ssekmsKeyId: \"CONTENT_REDACTED\")"} } extension AbortMultipartUploadInput { @@ -14376,10 +14400,34 @@ extension HeadObjectInput { let versionIdQueryItem = Smithy.URIQueryItem(name: "versionId".urlPercentEncoding(), value: Swift.String(versionId).urlPercentEncoding()) items.append(versionIdQueryItem) } + if let responseContentDisposition = value.responseContentDisposition { + let responseContentDispositionQueryItem = Smithy.URIQueryItem(name: "response-content-disposition".urlPercentEncoding(), value: Swift.String(responseContentDisposition).urlPercentEncoding()) + items.append(responseContentDispositionQueryItem) + } if let partNumber = value.partNumber { let partNumberQueryItem = Smithy.URIQueryItem(name: "partNumber".urlPercentEncoding(), value: Swift.String(partNumber).urlPercentEncoding()) items.append(partNumberQueryItem) } + if let responseContentType = value.responseContentType { + let responseContentTypeQueryItem = Smithy.URIQueryItem(name: "response-content-type".urlPercentEncoding(), value: Swift.String(responseContentType).urlPercentEncoding()) + items.append(responseContentTypeQueryItem) + } + if let responseExpires = value.responseExpires { + let responseExpiresQueryItem = Smithy.URIQueryItem(name: "response-expires".urlPercentEncoding(), value: Swift.String(SmithyTimestamps.TimestampFormatter(format: .httpDate).string(from: responseExpires)).urlPercentEncoding()) + items.append(responseExpiresQueryItem) + } + if let responseContentEncoding = value.responseContentEncoding { + let responseContentEncodingQueryItem = Smithy.URIQueryItem(name: "response-content-encoding".urlPercentEncoding(), value: Swift.String(responseContentEncoding).urlPercentEncoding()) + items.append(responseContentEncodingQueryItem) + } + if let responseCacheControl = value.responseCacheControl { + let responseCacheControlQueryItem = Smithy.URIQueryItem(name: "response-cache-control".urlPercentEncoding(), value: Swift.String(responseCacheControl).urlPercentEncoding()) + items.append(responseCacheControlQueryItem) + } + if let responseContentLanguage = value.responseContentLanguage { + let responseContentLanguageQueryItem = Smithy.URIQueryItem(name: "response-content-language".urlPercentEncoding(), value: Swift.String(responseContentLanguage).urlPercentEncoding()) + items.append(responseContentLanguageQueryItem) + } return items } } @@ -16457,7 +16505,7 @@ extension WriteGetObjectResponseInput { extension AbortMultipartUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AbortMultipartUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AbortMultipartUploadOutput { var value = AbortMultipartUploadOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -16468,7 +16516,7 @@ extension AbortMultipartUploadOutput { extension CompleteMultipartUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CompleteMultipartUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CompleteMultipartUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16505,7 +16553,7 @@ extension CompleteMultipartUploadOutput { extension CopyObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyObjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16547,7 +16595,7 @@ extension CopyObjectOutput { extension CreateBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBucketOutput { var value = CreateBucketOutput() if let locationHeaderValue = httpResponse.headers.value(for: "Location") { value.location = locationHeaderValue @@ -16558,7 +16606,7 @@ extension CreateBucketOutput { extension CreateMultipartUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMultipartUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMultipartUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16602,7 +16650,7 @@ extension CreateMultipartUploadOutput { extension CreateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16614,98 +16662,98 @@ extension CreateSessionOutput { extension DeleteBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketOutput { return DeleteBucketOutput() } } extension DeleteBucketAnalyticsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketAnalyticsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketAnalyticsConfigurationOutput { return DeleteBucketAnalyticsConfigurationOutput() } } extension DeleteBucketCorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketCorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketCorsOutput { return DeleteBucketCorsOutput() } } extension DeleteBucketEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketEncryptionOutput { return DeleteBucketEncryptionOutput() } } extension DeleteBucketIntelligentTieringConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketIntelligentTieringConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketIntelligentTieringConfigurationOutput { return DeleteBucketIntelligentTieringConfigurationOutput() } } extension DeleteBucketInventoryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketInventoryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketInventoryConfigurationOutput { return DeleteBucketInventoryConfigurationOutput() } } extension DeleteBucketLifecycleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketLifecycleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketLifecycleOutput { return DeleteBucketLifecycleOutput() } } extension DeleteBucketMetricsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketMetricsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketMetricsConfigurationOutput { return DeleteBucketMetricsConfigurationOutput() } } extension DeleteBucketOwnershipControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketOwnershipControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketOwnershipControlsOutput { return DeleteBucketOwnershipControlsOutput() } } extension DeleteBucketPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketPolicyOutput { return DeleteBucketPolicyOutput() } } extension DeleteBucketReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketReplicationOutput { return DeleteBucketReplicationOutput() } } extension DeleteBucketTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketTaggingOutput { return DeleteBucketTaggingOutput() } } extension DeleteBucketWebsiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketWebsiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketWebsiteOutput { return DeleteBucketWebsiteOutput() } } extension DeleteObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObjectOutput { var value = DeleteObjectOutput() if let deleteMarkerHeaderValue = httpResponse.headers.value(for: "x-amz-delete-marker") { value.deleteMarker = Swift.Bool(deleteMarkerHeaderValue) ?? false @@ -16722,7 +16770,7 @@ extension DeleteObjectOutput { extension DeleteObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16738,7 +16786,7 @@ extension DeleteObjectsOutput { extension DeleteObjectTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteObjectTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteObjectTaggingOutput { var value = DeleteObjectTaggingOutput() if let versionIdHeaderValue = httpResponse.headers.value(for: "x-amz-version-id") { value.versionId = versionIdHeaderValue @@ -16749,14 +16797,14 @@ extension DeleteObjectTaggingOutput { extension DeletePublicAccessBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePublicAccessBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePublicAccessBlockOutput { return DeletePublicAccessBlockOutput() } } extension GetBucketAccelerateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketAccelerateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketAccelerateConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16771,7 +16819,7 @@ extension GetBucketAccelerateConfigurationOutput { extension GetBucketAclOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketAclOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketAclOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16784,7 +16832,7 @@ extension GetBucketAclOutput { extension GetBucketAnalyticsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketAnalyticsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketAnalyticsConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16796,7 +16844,7 @@ extension GetBucketAnalyticsConfigurationOutput { extension GetBucketCorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketCorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketCorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16808,7 +16856,7 @@ extension GetBucketCorsOutput { extension GetBucketEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketEncryptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16820,7 +16868,7 @@ extension GetBucketEncryptionOutput { extension GetBucketIntelligentTieringConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketIntelligentTieringConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketIntelligentTieringConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16832,7 +16880,7 @@ extension GetBucketIntelligentTieringConfigurationOutput { extension GetBucketInventoryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketInventoryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketInventoryConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16844,7 +16892,7 @@ extension GetBucketInventoryConfigurationOutput { extension GetBucketLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketLifecycleConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16856,7 +16904,7 @@ extension GetBucketLifecycleConfigurationOutput { extension GetBucketLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader.unwrap() @@ -16868,7 +16916,7 @@ extension GetBucketLocationOutput { extension GetBucketLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketLoggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16880,7 +16928,7 @@ extension GetBucketLoggingOutput { extension GetBucketMetricsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketMetricsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketMetricsConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16892,7 +16940,7 @@ extension GetBucketMetricsConfigurationOutput { extension GetBucketNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketNotificationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16907,7 +16955,7 @@ extension GetBucketNotificationConfigurationOutput { extension GetBucketOwnershipControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketOwnershipControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketOwnershipControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16919,7 +16967,7 @@ extension GetBucketOwnershipControlsOutput { extension GetBucketPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketPolicyOutput { var value = GetBucketPolicyOutput() if let data = try await httpResponse.body.readData(), let output = Swift.String(data: data, encoding: .utf8) { value.policy = output @@ -16930,7 +16978,7 @@ extension GetBucketPolicyOutput { extension GetBucketPolicyStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketPolicyStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketPolicyStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16942,7 +16990,7 @@ extension GetBucketPolicyStatusOutput { extension GetBucketReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16954,7 +17002,7 @@ extension GetBucketReplicationOutput { extension GetBucketRequestPaymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketRequestPaymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketRequestPaymentOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16966,7 +17014,7 @@ extension GetBucketRequestPaymentOutput { extension GetBucketTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketTaggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16978,7 +17026,7 @@ extension GetBucketTaggingOutput { extension GetBucketVersioningOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketVersioningOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketVersioningOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -16991,7 +17039,7 @@ extension GetBucketVersioningOutput { extension GetBucketWebsiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketWebsiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketWebsiteOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17006,7 +17054,7 @@ extension GetBucketWebsiteOutput { extension GetObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectOutput { var value = GetObjectOutput() if let acceptRangesHeaderValue = httpResponse.headers.value(for: "accept-ranges") { value.acceptRanges = acceptRangesHeaderValue @@ -17136,7 +17184,7 @@ extension GetObjectOutput { extension GetObjectAclOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectAclOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectAclOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17152,7 +17200,7 @@ extension GetObjectAclOutput { extension GetObjectAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17180,7 +17228,7 @@ extension GetObjectAttributesOutput { extension GetObjectLegalHoldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectLegalHoldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectLegalHoldOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17192,7 +17240,7 @@ extension GetObjectLegalHoldOutput { extension GetObjectLockConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectLockConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectLockConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17204,7 +17252,7 @@ extension GetObjectLockConfigurationOutput { extension GetObjectRetentionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectRetentionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectRetentionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17216,7 +17264,7 @@ extension GetObjectRetentionOutput { extension GetObjectTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectTaggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17231,7 +17279,7 @@ extension GetObjectTaggingOutput { extension GetObjectTorrentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetObjectTorrentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetObjectTorrentOutput { var value = GetObjectTorrentOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -17250,7 +17298,7 @@ extension GetObjectTorrentOutput { extension GetPublicAccessBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPublicAccessBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicAccessBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17262,7 +17310,7 @@ extension GetPublicAccessBlockOutput { extension HeadBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> HeadBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> HeadBucketOutput { var value = HeadBucketOutput() if let accessPointAliasHeaderValue = httpResponse.headers.value(for: "x-amz-access-point-alias") { value.accessPointAlias = Swift.Bool(accessPointAliasHeaderValue) ?? false @@ -17282,7 +17330,7 @@ extension HeadBucketOutput { extension HeadObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> HeadObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> HeadObjectOutput { var value = HeadObjectOutput() if let acceptRangesHeaderValue = httpResponse.headers.value(for: "accept-ranges") { value.acceptRanges = acceptRangesHeaderValue @@ -17401,7 +17449,7 @@ extension HeadObjectOutput { extension ListBucketAnalyticsConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBucketAnalyticsConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBucketAnalyticsConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17416,7 +17464,7 @@ extension ListBucketAnalyticsConfigurationsOutput { extension ListBucketIntelligentTieringConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBucketIntelligentTieringConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBucketIntelligentTieringConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17431,7 +17479,7 @@ extension ListBucketIntelligentTieringConfigurationsOutput { extension ListBucketInventoryConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBucketInventoryConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBucketInventoryConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17446,7 +17494,7 @@ extension ListBucketInventoryConfigurationsOutput { extension ListBucketMetricsConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBucketMetricsConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBucketMetricsConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17461,7 +17509,7 @@ extension ListBucketMetricsConfigurationsOutput { extension ListBucketsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBucketsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBucketsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17474,7 +17522,7 @@ extension ListBucketsOutput { extension ListDirectoryBucketsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDirectoryBucketsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDirectoryBucketsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17487,7 +17535,7 @@ extension ListDirectoryBucketsOutput { extension ListMultipartUploadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMultipartUploadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultipartUploadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17513,7 +17561,7 @@ extension ListMultipartUploadsOutput { extension ListObjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17537,7 +17585,7 @@ extension ListObjectsOutput { extension ListObjectsV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectsV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectsV2Output { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17563,7 +17611,7 @@ extension ListObjectsV2Output { extension ListObjectVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListObjectVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListObjectVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17590,7 +17638,7 @@ extension ListObjectVersionsOutput { extension ListPartsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPartsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPartsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17622,133 +17670,133 @@ extension ListPartsOutput { extension PutBucketAccelerateConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketAccelerateConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketAccelerateConfigurationOutput { return PutBucketAccelerateConfigurationOutput() } } extension PutBucketAclOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketAclOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketAclOutput { return PutBucketAclOutput() } } extension PutBucketAnalyticsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketAnalyticsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketAnalyticsConfigurationOutput { return PutBucketAnalyticsConfigurationOutput() } } extension PutBucketCorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketCorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketCorsOutput { return PutBucketCorsOutput() } } extension PutBucketEncryptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketEncryptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketEncryptionOutput { return PutBucketEncryptionOutput() } } extension PutBucketIntelligentTieringConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketIntelligentTieringConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketIntelligentTieringConfigurationOutput { return PutBucketIntelligentTieringConfigurationOutput() } } extension PutBucketInventoryConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketInventoryConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketInventoryConfigurationOutput { return PutBucketInventoryConfigurationOutput() } } extension PutBucketLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketLifecycleConfigurationOutput { return PutBucketLifecycleConfigurationOutput() } } extension PutBucketLoggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketLoggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketLoggingOutput { return PutBucketLoggingOutput() } } extension PutBucketMetricsConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketMetricsConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketMetricsConfigurationOutput { return PutBucketMetricsConfigurationOutput() } } extension PutBucketNotificationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketNotificationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketNotificationConfigurationOutput { return PutBucketNotificationConfigurationOutput() } } extension PutBucketOwnershipControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketOwnershipControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketOwnershipControlsOutput { return PutBucketOwnershipControlsOutput() } } extension PutBucketPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketPolicyOutput { return PutBucketPolicyOutput() } } extension PutBucketReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketReplicationOutput { return PutBucketReplicationOutput() } } extension PutBucketRequestPaymentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketRequestPaymentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketRequestPaymentOutput { return PutBucketRequestPaymentOutput() } } extension PutBucketTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketTaggingOutput { return PutBucketTaggingOutput() } } extension PutBucketVersioningOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketVersioningOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketVersioningOutput { return PutBucketVersioningOutput() } } extension PutBucketWebsiteOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketWebsiteOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketWebsiteOutput { return PutBucketWebsiteOutput() } } extension PutObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectOutput { var value = PutObjectOutput() if let bucketKeyEnabledHeaderValue = httpResponse.headers.value(for: "x-amz-server-side-encryption-bucket-key-enabled") { value.bucketKeyEnabled = Swift.Bool(bucketKeyEnabledHeaderValue) ?? false @@ -17798,7 +17846,7 @@ extension PutObjectOutput { extension PutObjectAclOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectAclOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectAclOutput { var value = PutObjectAclOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -17809,7 +17857,7 @@ extension PutObjectAclOutput { extension PutObjectLegalHoldOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectLegalHoldOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectLegalHoldOutput { var value = PutObjectLegalHoldOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -17820,7 +17868,7 @@ extension PutObjectLegalHoldOutput { extension PutObjectLockConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectLockConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectLockConfigurationOutput { var value = PutObjectLockConfigurationOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -17831,7 +17879,7 @@ extension PutObjectLockConfigurationOutput { extension PutObjectRetentionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectRetentionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectRetentionOutput { var value = PutObjectRetentionOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -17842,7 +17890,7 @@ extension PutObjectRetentionOutput { extension PutObjectTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutObjectTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutObjectTaggingOutput { var value = PutObjectTaggingOutput() if let versionIdHeaderValue = httpResponse.headers.value(for: "x-amz-version-id") { value.versionId = versionIdHeaderValue @@ -17853,14 +17901,14 @@ extension PutObjectTaggingOutput { extension PutPublicAccessBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPublicAccessBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPublicAccessBlockOutput { return PutPublicAccessBlockOutput() } } extension RestoreObjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreObjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreObjectOutput { var value = RestoreObjectOutput() if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) @@ -17874,7 +17922,7 @@ extension RestoreObjectOutput { extension SelectObjectContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SelectObjectContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SelectObjectContentOutput { var value = SelectObjectContentOutput() if case .stream(let stream) = httpResponse.body { let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() @@ -17887,7 +17935,7 @@ extension SelectObjectContentOutput { extension UploadPartOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadPartOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadPartOutput { var value = UploadPartOutput() if let bucketKeyEnabledHeaderValue = httpResponse.headers.value(for: "x-amz-server-side-encryption-bucket-key-enabled") { value.bucketKeyEnabled = Swift.Bool(bucketKeyEnabledHeaderValue) ?? false @@ -17928,7 +17976,7 @@ extension UploadPartOutput { extension UploadPartCopyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UploadPartCopyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UploadPartCopyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -17961,7 +18009,7 @@ extension UploadPartCopyOutput { extension WriteGetObjectResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> WriteGetObjectResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> WriteGetObjectResponseOutput { return WriteGetObjectResponseOutput() } } @@ -17975,7 +18023,7 @@ func httpServiceError(baseError: AWSClientRuntime.RestXMLError) throws -> Swift. enum AbortMultipartUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -17990,7 +18038,7 @@ enum AbortMultipartUploadOutputError { enum CompleteMultipartUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18004,7 +18052,7 @@ enum CompleteMultipartUploadOutputError { enum CopyObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18019,7 +18067,7 @@ enum CopyObjectOutputError { enum CreateBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18035,7 +18083,7 @@ enum CreateBucketOutputError { enum CreateMultipartUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18049,7 +18097,7 @@ enum CreateMultipartUploadOutputError { enum CreateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18064,7 +18112,7 @@ enum CreateSessionOutputError { enum DeleteBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18078,7 +18126,7 @@ enum DeleteBucketOutputError { enum DeleteBucketAnalyticsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18092,7 +18140,7 @@ enum DeleteBucketAnalyticsConfigurationOutputError { enum DeleteBucketCorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18106,7 +18154,7 @@ enum DeleteBucketCorsOutputError { enum DeleteBucketEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18120,7 +18168,7 @@ enum DeleteBucketEncryptionOutputError { enum DeleteBucketIntelligentTieringConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18134,7 +18182,7 @@ enum DeleteBucketIntelligentTieringConfigurationOutputError { enum DeleteBucketInventoryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18148,7 +18196,7 @@ enum DeleteBucketInventoryConfigurationOutputError { enum DeleteBucketLifecycleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18162,7 +18210,7 @@ enum DeleteBucketLifecycleOutputError { enum DeleteBucketMetricsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18176,7 +18224,7 @@ enum DeleteBucketMetricsConfigurationOutputError { enum DeleteBucketOwnershipControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18190,7 +18238,7 @@ enum DeleteBucketOwnershipControlsOutputError { enum DeleteBucketPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18204,7 +18252,7 @@ enum DeleteBucketPolicyOutputError { enum DeleteBucketReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18218,7 +18266,7 @@ enum DeleteBucketReplicationOutputError { enum DeleteBucketTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18232,7 +18280,7 @@ enum DeleteBucketTaggingOutputError { enum DeleteBucketWebsiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18246,7 +18294,7 @@ enum DeleteBucketWebsiteOutputError { enum DeleteObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18260,7 +18308,7 @@ enum DeleteObjectOutputError { enum DeleteObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18274,7 +18322,7 @@ enum DeleteObjectsOutputError { enum DeleteObjectTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18288,7 +18336,7 @@ enum DeleteObjectTaggingOutputError { enum DeletePublicAccessBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18302,7 +18350,7 @@ enum DeletePublicAccessBlockOutputError { enum GetBucketAccelerateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18316,7 +18364,7 @@ enum GetBucketAccelerateConfigurationOutputError { enum GetBucketAclOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18330,7 +18378,7 @@ enum GetBucketAclOutputError { enum GetBucketAnalyticsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18344,7 +18392,7 @@ enum GetBucketAnalyticsConfigurationOutputError { enum GetBucketCorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18358,7 +18406,7 @@ enum GetBucketCorsOutputError { enum GetBucketEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18372,7 +18420,7 @@ enum GetBucketEncryptionOutputError { enum GetBucketIntelligentTieringConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18386,7 +18434,7 @@ enum GetBucketIntelligentTieringConfigurationOutputError { enum GetBucketInventoryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18400,7 +18448,7 @@ enum GetBucketInventoryConfigurationOutputError { enum GetBucketLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18414,7 +18462,7 @@ enum GetBucketLifecycleConfigurationOutputError { enum GetBucketLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18428,7 +18476,7 @@ enum GetBucketLocationOutputError { enum GetBucketLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18442,7 +18490,7 @@ enum GetBucketLoggingOutputError { enum GetBucketMetricsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18456,7 +18504,7 @@ enum GetBucketMetricsConfigurationOutputError { enum GetBucketNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18470,7 +18518,7 @@ enum GetBucketNotificationConfigurationOutputError { enum GetBucketOwnershipControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18484,7 +18532,7 @@ enum GetBucketOwnershipControlsOutputError { enum GetBucketPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18498,7 +18546,7 @@ enum GetBucketPolicyOutputError { enum GetBucketPolicyStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18512,7 +18560,7 @@ enum GetBucketPolicyStatusOutputError { enum GetBucketReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18526,7 +18574,7 @@ enum GetBucketReplicationOutputError { enum GetBucketRequestPaymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18540,7 +18588,7 @@ enum GetBucketRequestPaymentOutputError { enum GetBucketTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18554,7 +18602,7 @@ enum GetBucketTaggingOutputError { enum GetBucketVersioningOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18568,7 +18616,7 @@ enum GetBucketVersioningOutputError { enum GetBucketWebsiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18582,7 +18630,7 @@ enum GetBucketWebsiteOutputError { enum GetObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18598,7 +18646,7 @@ enum GetObjectOutputError { enum GetObjectAclOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18613,7 +18661,7 @@ enum GetObjectAclOutputError { enum GetObjectAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18628,7 +18676,7 @@ enum GetObjectAttributesOutputError { enum GetObjectLegalHoldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18642,7 +18690,7 @@ enum GetObjectLegalHoldOutputError { enum GetObjectLockConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18656,7 +18704,7 @@ enum GetObjectLockConfigurationOutputError { enum GetObjectRetentionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18670,7 +18718,7 @@ enum GetObjectRetentionOutputError { enum GetObjectTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18684,7 +18732,7 @@ enum GetObjectTaggingOutputError { enum GetObjectTorrentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18698,7 +18746,7 @@ enum GetObjectTorrentOutputError { enum GetPublicAccessBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18712,7 +18760,7 @@ enum GetPublicAccessBlockOutputError { enum HeadBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18727,7 +18775,7 @@ enum HeadBucketOutputError { enum HeadObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18742,7 +18790,7 @@ enum HeadObjectOutputError { enum ListBucketAnalyticsConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18756,7 +18804,7 @@ enum ListBucketAnalyticsConfigurationsOutputError { enum ListBucketIntelligentTieringConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18770,7 +18818,7 @@ enum ListBucketIntelligentTieringConfigurationsOutputError { enum ListBucketInventoryConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18784,7 +18832,7 @@ enum ListBucketInventoryConfigurationsOutputError { enum ListBucketMetricsConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18798,7 +18846,7 @@ enum ListBucketMetricsConfigurationsOutputError { enum ListBucketsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18812,7 +18860,7 @@ enum ListBucketsOutputError { enum ListDirectoryBucketsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18826,7 +18874,7 @@ enum ListDirectoryBucketsOutputError { enum ListMultipartUploadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18840,7 +18888,7 @@ enum ListMultipartUploadsOutputError { enum ListObjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18855,7 +18903,7 @@ enum ListObjectsOutputError { enum ListObjectsV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18870,7 +18918,7 @@ enum ListObjectsV2OutputError { enum ListObjectVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18884,7 +18932,7 @@ enum ListObjectVersionsOutputError { enum ListPartsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18898,7 +18946,7 @@ enum ListPartsOutputError { enum PutBucketAccelerateConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18912,7 +18960,7 @@ enum PutBucketAccelerateConfigurationOutputError { enum PutBucketAclOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18926,7 +18974,7 @@ enum PutBucketAclOutputError { enum PutBucketAnalyticsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18940,7 +18988,7 @@ enum PutBucketAnalyticsConfigurationOutputError { enum PutBucketCorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18954,7 +19002,7 @@ enum PutBucketCorsOutputError { enum PutBucketEncryptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18968,7 +19016,7 @@ enum PutBucketEncryptionOutputError { enum PutBucketIntelligentTieringConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18982,7 +19030,7 @@ enum PutBucketIntelligentTieringConfigurationOutputError { enum PutBucketInventoryConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -18996,7 +19044,7 @@ enum PutBucketInventoryConfigurationOutputError { enum PutBucketLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19010,7 +19058,7 @@ enum PutBucketLifecycleConfigurationOutputError { enum PutBucketLoggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19024,7 +19072,7 @@ enum PutBucketLoggingOutputError { enum PutBucketMetricsConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19038,7 +19086,7 @@ enum PutBucketMetricsConfigurationOutputError { enum PutBucketNotificationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19052,7 +19100,7 @@ enum PutBucketNotificationConfigurationOutputError { enum PutBucketOwnershipControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19066,7 +19114,7 @@ enum PutBucketOwnershipControlsOutputError { enum PutBucketPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19080,7 +19128,7 @@ enum PutBucketPolicyOutputError { enum PutBucketReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19094,7 +19142,7 @@ enum PutBucketReplicationOutputError { enum PutBucketRequestPaymentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19108,7 +19156,7 @@ enum PutBucketRequestPaymentOutputError { enum PutBucketTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19122,7 +19170,7 @@ enum PutBucketTaggingOutputError { enum PutBucketVersioningOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19136,7 +19184,7 @@ enum PutBucketVersioningOutputError { enum PutBucketWebsiteOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19150,7 +19198,7 @@ enum PutBucketWebsiteOutputError { enum PutObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19164,7 +19212,7 @@ enum PutObjectOutputError { enum PutObjectAclOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19179,7 +19227,7 @@ enum PutObjectAclOutputError { enum PutObjectLegalHoldOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19193,7 +19241,7 @@ enum PutObjectLegalHoldOutputError { enum PutObjectLockConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19207,7 +19255,7 @@ enum PutObjectLockConfigurationOutputError { enum PutObjectRetentionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19221,7 +19269,7 @@ enum PutObjectRetentionOutputError { enum PutObjectTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19235,7 +19283,7 @@ enum PutObjectTaggingOutputError { enum PutPublicAccessBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19249,7 +19297,7 @@ enum PutPublicAccessBlockOutputError { enum RestoreObjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19264,7 +19312,7 @@ enum RestoreObjectOutputError { enum SelectObjectContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19278,7 +19326,7 @@ enum SelectObjectContentOutputError { enum UploadPartOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19292,7 +19340,7 @@ enum UploadPartOutputError { enum UploadPartCopyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19306,7 +19354,7 @@ enum UploadPartCopyOutputError { enum WriteGetObjectResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: true) @@ -19462,14 +19510,14 @@ extension S3ClientTypes.SelectObjectContentEventStream { let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in switch params.exceptionType { default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") @@ -21592,7 +21640,7 @@ extension GetObjectInput { public func presignURL(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> Foundation.URL? { let serviceName = "S3" let input = self - let client: (SmithyHTTPAPI.SdkHttpRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HttpResponse = { (_, _) in + let client: (SmithyHTTPAPI.HTTPRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HTTPResponse = { (_, _) in throw Smithy.ClientError.unknownError("No HTTP client configured for presigned request") } let context = Smithy.ContextBuilder() @@ -21614,7 +21662,7 @@ extension GetObjectInput { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21670,9 +21718,9 @@ public struct GetObjectInputGETQueryItemMiddleware: ClientRuntime.Middleware { } extension GetObjectInputGETQueryItemMiddleware: Smithy.RequestMessageSerializer { public typealias InputType = GetObjectInput - public typealias RequestType = SmithyHTTPAPI.SdkHttpRequest + public typealias RequestType = SmithyHTTPAPI.HTTPRequest - public func apply(input: InputType, builder: SmithyHTTPAPI.SdkHttpRequestBuilder, attributes: Smithy.Context) throws { + public func apply(input: InputType, builder: SmithyHTTPAPI.HTTPRequestBuilder, attributes: Smithy.Context) throws { if let bucket = input.bucket { let queryItem = Smithy.URIQueryItem(name: "Bucket".urlPercentEncoding(), value: Swift.String(bucket).urlPercentEncoding()) builder.withQueryItem(queryItem) @@ -21748,7 +21796,7 @@ extension PutObjectInput { public func presignURL(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> Foundation.URL? { let serviceName = "S3" let input = self - let client: (SmithyHTTPAPI.SdkHttpRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HttpResponse = { (_, _) in + let client: (SmithyHTTPAPI.HTTPRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HTTPResponse = { (_, _) in throw Smithy.ClientError.unknownError("No HTTP client configured for presigned request") } let context = Smithy.ContextBuilder() @@ -21770,7 +21818,7 @@ extension PutObjectInput { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21827,9 +21875,9 @@ public struct PutObjectPresignedURLMiddleware: ClientRuntime.Middleware { } extension PutObjectPresignedURLMiddleware: Smithy.RequestMessageSerializer { public typealias InputType = PutObjectInput - public typealias RequestType = SmithyHTTPAPI.SdkHttpRequest + public typealias RequestType = SmithyHTTPAPI.HTTPRequest - public func apply(input: InputType, builder: SmithyHTTPAPI.SdkHttpRequestBuilder, attributes: Smithy.Context) throws { + public func apply(input: InputType, builder: SmithyHTTPAPI.HTTPRequestBuilder, attributes: Smithy.Context) throws { let metadata = input.metadata ?? [:] for (metadataKey, metadataValue) in metadata { let queryItem = Smithy.URIQueryItem( @@ -21842,10 +21890,10 @@ extension PutObjectPresignedURLMiddleware: Smithy.RequestMessageSerializer { } extension GetObjectInput { - public func presign(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.SdkHttpRequest? { + public func presign(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.HTTPRequest? { let serviceName = "S3" let input = self - let client: (SmithyHTTPAPI.SdkHttpRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HttpResponse = { (_, _) in + let client: (SmithyHTTPAPI.HTTPRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HTTPResponse = { (_, _) in throw Smithy.ClientError.unknownError("No HTTP client configured for presigned request") } let context = Smithy.ContextBuilder() @@ -21867,7 +21915,7 @@ extension GetObjectInput { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21905,10 +21953,10 @@ extension GetObjectInput { } extension PutObjectInput { - public func presign(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.SdkHttpRequest? { + public func presign(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.HTTPRequest? { let serviceName = "S3" let input = self - let client: (SmithyHTTPAPI.SdkHttpRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HttpResponse = { (_, _) in + let client: (SmithyHTTPAPI.HTTPRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HTTPResponse = { (_, _) in throw Smithy.ClientError.unknownError("No HTTP client configured for presigned request") } let context = Smithy.ContextBuilder() @@ -21930,7 +21978,7 @@ extension PutObjectInput { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -21972,10 +22020,10 @@ extension PutObjectInput { } extension UploadPartInput { - public func presign(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.SdkHttpRequest? { + public func presign(config: S3Client.S3ClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.HTTPRequest? { let serviceName = "S3" let input = self - let client: (SmithyHTTPAPI.SdkHttpRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HttpResponse = { (_, _) in + let client: (SmithyHTTPAPI.HTTPRequest, Smithy.Context) async throws -> SmithyHTTPAPI.HTTPResponse = { (_, _) in throw Smithy.ClientError.unknownError("No HTTP client configured for presigned request") } let context = Smithy.ContextBuilder() @@ -21997,7 +22045,7 @@ extension UploadPartInput { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift index 2bbf855a919..374d70f140c 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift @@ -20,8 +20,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -265,7 +265,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -382,7 +382,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -444,7 +444,7 @@ extension S3Client { /// For example policies, see [Example bucket policies for S3 Express One Zone](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html) and [Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html) in the Amazon S3 User Guide. /// /// - /// Response and special errors When the request is an HTTP 1.1 request, the response is chunk encoded. When the request is not an HTTP 1.1 request, the response would not contain the Content-Length. You always need to read the entire response body to check if the copy succeeds. to keep the connection alive while we copy the data. + /// Response and special errors When the request is an HTTP 1.1 request, the response is chunk encoded. When the request is not an HTTP 1.1 request, the response would not contain the Content-Length. You always need to read the entire response body to check if the copy succeeds. /// /// * If the copy is successful, you receive a response with information about the copied object. /// @@ -490,7 +490,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -586,7 +586,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -716,7 +716,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -791,7 +791,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -870,7 +870,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -936,7 +936,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1001,7 +1001,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1066,7 +1066,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1133,7 +1133,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1199,7 +1199,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1264,7 +1264,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1333,7 +1333,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1398,7 +1398,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1470,7 +1470,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1535,7 +1535,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1600,7 +1600,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1665,7 +1665,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1758,7 +1758,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1823,7 +1823,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1874,7 +1874,7 @@ extension S3Client { /// /// * s3:DeleteObject - To delete an object from a bucket, you must always specify the s3:DeleteObject permission. /// - /// * s3:DeleteObjectVersion - To delete a specific version of an object from a versiong-enabled bucket, you must specify the s3:DeleteObjectVersion permission. + /// * s3:DeleteObjectVersion - To delete a specific version of an object from a versioning-enabled bucket, you must specify the s3:DeleteObjectVersion permission. /// /// /// @@ -1922,7 +1922,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1996,7 +1996,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2059,7 +2059,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2122,7 +2122,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2189,7 +2189,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2254,7 +2254,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2319,7 +2319,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2386,7 +2386,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2452,7 +2452,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2533,7 +2533,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2598,7 +2598,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2663,7 +2663,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2732,7 +2732,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2795,7 +2795,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2860,7 +2860,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2930,7 +2930,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2999,7 +2999,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3064,7 +3064,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3127,7 +3127,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3202,7 +3202,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3269,7 +3269,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3334,7 +3334,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3434,7 +3434,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3508,7 +3508,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3634,7 +3634,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3697,7 +3697,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3760,7 +3760,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3823,7 +3823,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3890,7 +3890,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -3953,7 +3953,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4021,7 +4021,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4094,7 +4094,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4200,7 +4200,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4267,7 +4267,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4334,7 +4334,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4400,7 +4400,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4467,7 +4467,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4528,7 +4528,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4588,7 +4588,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4679,7 +4679,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4748,7 +4748,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4824,7 +4824,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4910,7 +4910,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -4990,7 +4990,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5062,7 +5062,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5203,7 +5203,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5308,7 +5308,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5387,7 +5387,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5457,7 +5457,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5532,7 +5532,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5601,7 +5601,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5689,7 +5689,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5772,7 +5772,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5853,7 +5853,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5919,7 +5919,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -5987,7 +5987,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6063,7 +6063,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6133,7 +6133,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6203,7 +6203,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6284,7 +6284,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6356,7 +6356,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6468,7 +6468,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6577,7 +6577,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6714,7 +6714,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6780,7 +6780,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6852,7 +6852,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6918,7 +6918,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -6999,7 +6999,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7073,7 +7073,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7206,7 +7206,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7295,7 +7295,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7405,7 +7405,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7456,11 +7456,11 @@ extension S3Client { /// * If the destination bucket is a general purpose bucket, you must have the s3:PutObject permission to write the object copy to the destination bucket. /// /// - /// For information about permissions required to use the multipart upload API, see [Multipart Upload and Permissions](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) in the Amazon S3 User Guide. + /// For information about permissions required to use the multipart upload API, see [Multipart upload API and permissions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions) in the Amazon S3 User Guide. /// /// * Directory bucket permissions - You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types in an UploadPartCopy operation. /// - /// * If the source object that you want to copy is in a directory bucket, you must have the s3express:CreateSession permission in the Action element of a policy to read the object . By default, the session is in the ReadWrite mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode condition key to ReadOnly on the copy source bucket. + /// * If the source object that you want to copy is in a directory bucket, you must have the s3express:CreateSession permission in the Action element of a policy to read the object. By default, the session is in the ReadWrite mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode condition key to ReadOnly on the copy source bucket. /// /// * If the copy destination is a directory bucket, you must have the s3express:CreateSession permission in the Action element of a policy to write the object to the destination. The s3express:SessionMode condition key cannot be set to ReadOnly on the copy destination. /// @@ -7531,7 +7531,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7592,7 +7592,7 @@ extension S3Client { .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -7797,7 +7797,7 @@ extension S3Client { guard let presignedRequest else { throw Smithy.ClientError.unknownError("Could not presign the request for the operation GetObject.") } - return try await SmithyHTTPAPI.SdkHttpRequest.makeURLRequest(from: presignedRequest) + return try await SmithyHTTPAPI.HTTPRequest.makeURLRequest(from: presignedRequest) } } @@ -7860,7 +7860,7 @@ extension S3Client { guard let presignedRequest else { throw Smithy.ClientError.unknownError("Could not presign the request for the operation PutObject.") } - return try await SmithyHTTPAPI.SdkHttpRequest.makeURLRequest(from: presignedRequest) + return try await SmithyHTTPAPI.HTTPRequest.makeURLRequest(from: presignedRequest) } } @@ -7927,6 +7927,6 @@ extension S3Client { guard let presignedRequest else { throw Smithy.ClientError.unknownError("Could not presign the request for the operation UploadPart.") } - return try await SmithyHTTPAPI.SdkHttpRequest.makeURLRequest(from: presignedRequest) + return try await SmithyHTTPAPI.HTTPRequest.makeURLRequest(from: presignedRequest) } } diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/Endpoints.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/Endpoints.swift index 1d4899e20bd..41e9be64eaa 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/Endpoints.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/Endpoints.swift @@ -89,7 +89,7 @@ public protocol EndpointResolver { typealias DefaultEndpointResolver = ClientRuntime.DefaultEndpointResolver extension DefaultEndpointResolver { - private static let ruleSet = "{\"version\":\"1.0\",\"parameters\":{\"Region\":{\"builtIn\":\"AWS::Region\",\"required\":false,\"documentation\":\"The AWS region used to dispatch the request.\",\"type\":\"String\"},\"UseFIPS\":{\"builtIn\":\"AWS::UseFIPS\",\"required\":true,\"default\":false,\"documentation\":\"When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.\",\"type\":\"Boolean\"},\"UseDualStack\":{\"builtIn\":\"AWS::UseDualStack\",\"required\":true,\"default\":false,\"documentation\":\"When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.\",\"type\":\"Boolean\"},\"Endpoint\":{\"builtIn\":\"SDK::Endpoint\",\"required\":false,\"documentation\":\"Override the endpoint used to send this request\",\"type\":\"String\"},\"AccountId\":{\"required\":false,\"documentation\":\"The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.\",\"type\":\"String\"},\"RequiresAccountId\":{\"required\":false,\"documentation\":\"Internal parameter for operations that require account id host prefix.\",\"type\":\"Boolean\"},\"OutpostId\":{\"required\":false,\"documentation\":\"The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.\",\"type\":\"String\"},\"Bucket\":{\"required\":false,\"documentation\":\"The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.\",\"type\":\"String\"},\"AccessPointName\":{\"required\":false,\"documentation\":\"The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.\",\"type\":\"String\"},\"UseArnRegion\":{\"builtIn\":\"AWS::S3Control::UseArnRegion\",\"required\":false,\"documentation\":\"When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.\",\"type\":\"Boolean\"}},\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Region\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"Region\"},\"snow\"]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"S3 Snow does not support DualStack\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"error\":\"S3 Snow does not support FIPS\",\"type\":\"error\"},{\"conditions\":[],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"OutpostId\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]},\"aws-cn\"]}],\"error\":\"Partition does not support FIPS\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}]}],\"error\":\"AccountId is required but not set\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"AccountId\"},false]}]}],\"error\":\"AccountId must only contain a-z, A-Z, 0-9 and `-`.\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"not\",\"argv\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"OutpostId\"},false]}]}],\"error\":\"OutpostId must only contain a-z, A-Z, 0-9 and `-`.\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: DualStack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"Region\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{Region}.{partitionResult#dualStackDnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts.{Region}.{partitionResult#dualStackDnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://s3-outposts.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region: region was not a valid DNS name.\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccessPointName\"}]},{\"fn\":\"aws.parseArn\",\"argv\":[{\"ref\":\"AccessPointName\"}],\"assign\":\"accessPointArn\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[0]\"],\"assign\":\"arnType\"},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"arnType\"},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"service\"]},\"s3-outposts\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[1]\"],\"assign\":\"outpostId\"}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"outpostId\"},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: DualStack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"UseArnRegion\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseArnRegion\"},false]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"region\"]},\"{Region}\"]}]}],\"error\":\"Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"region\"]}],\"assign\":\"arnPartition\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"arnPartition\"},\"name\"]},{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"region\"]},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"accountId\"]},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"accountId\"]},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"AccountId\"},\"{accessPointArn#accountId}\"]}]}],\"error\":\"Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[2]\"],\"assign\":\"outpostType\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[3]\"],\"assign\":\"accessPointName\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"outpostType\"},\"accesspoint\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts.{accessPointArn#region}.{arnPartition#dualStackDnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Expected an outpost type `accesspoint`, found `{outpostType}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: expected an access point name\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: Expected a 4-component resource\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: missing account ID\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The Outpost Id was not set\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: No ARN type specified\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Bucket\"}]},{\"fn\":\"aws.parseArn\",\"argv\":[{\"ref\":\"Bucket\"}],\"assign\":\"bucketArn\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[0]\"],\"assign\":\"arnType\"},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"arnType\"},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"service\"]},\"s3-outposts\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[1]\"],\"assign\":\"outpostId\"}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"outpostId\"},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: DualStack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"UseArnRegion\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseArnRegion\"},false]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"region\"]},\"{Region}\"]}]}],\"error\":\"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"region\"]}],\"assign\":\"arnPartition\"}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"arnPartition\"},\"name\"]},{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"region\"]},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"accountId\"]},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"accountId\"]},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"AccountId\"},\"{bucketArn#accountId}\"]}]}],\"error\":\"Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[2]\"],\"assign\":\"outpostType\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[3]\"],\"assign\":\"bucketName\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"outpostType\"},\"bucket\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts.{bucketArn#region}.{arnPartition#dualStackDnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: expected a bucket name\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: Expected a 4-component resource\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: missing account ID\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The Outpost Id was not set\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: No ARN type specified\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"Region\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]},\"aws-cn\"]}],\"error\":\"Partition does not support FIPS\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}]}],\"error\":\"AccountId is required but not set\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"AccountId\"},false]}]}],\"error\":\"AccountId must only contain a-z, A-Z, 0-9 and `-`.\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: DualStack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"{url#scheme}://{AccountId}.{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]}],\"endpoint\":{\"url\":\"https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]}],\"endpoint\":{\"url\":\"https://s3-control.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region: region was not a valid DNS name.\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Region must be set\",\"type\":\"error\"}]}" + private static let ruleSet = "{\"version\":\"1.0\",\"parameters\":{\"Region\":{\"builtIn\":\"AWS::Region\",\"required\":false,\"documentation\":\"The AWS region used to dispatch the request.\",\"type\":\"String\"},\"UseFIPS\":{\"builtIn\":\"AWS::UseFIPS\",\"required\":true,\"default\":false,\"documentation\":\"When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.\",\"type\":\"Boolean\"},\"UseDualStack\":{\"builtIn\":\"AWS::UseDualStack\",\"required\":true,\"default\":false,\"documentation\":\"When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.\",\"type\":\"Boolean\"},\"Endpoint\":{\"builtIn\":\"SDK::Endpoint\",\"required\":false,\"documentation\":\"Override the endpoint used to send this request\",\"type\":\"String\"},\"AccountId\":{\"required\":false,\"documentation\":\"The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.\",\"type\":\"String\"},\"RequiresAccountId\":{\"required\":false,\"documentation\":\"Internal parameter for operations that require account id host prefix.\",\"type\":\"Boolean\"},\"OutpostId\":{\"required\":false,\"documentation\":\"The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.\",\"type\":\"String\"},\"Bucket\":{\"required\":false,\"documentation\":\"The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.\",\"type\":\"String\"},\"AccessPointName\":{\"required\":false,\"documentation\":\"The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.\",\"type\":\"String\"},\"UseArnRegion\":{\"builtIn\":\"AWS::S3Control::UseArnRegion\",\"required\":false,\"documentation\":\"When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN's region when constructing the endpoint instead of the client's configured region.\",\"type\":\"Boolean\"}},\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Region\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"Region\"},\"snow\"]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"S3 Snow does not support DualStack\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"error\":\"S3 Snow does not support FIPS\",\"type\":\"error\"},{\"conditions\":[],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"OutpostId\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]},\"aws-cn\"]}],\"error\":\"Partition does not support FIPS\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}]}],\"error\":\"AccountId is required but not set\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"AccountId\"},false]}]}],\"error\":\"AccountId must only contain a-z, A-Z, 0-9 and `-`.\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"not\",\"argv\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"OutpostId\"},false]}]}],\"error\":\"OutpostId must only contain a-z, A-Z, 0-9 and `-`.\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"Region\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid configuration: Outposts do not support dual-stack\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://s3-outposts.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region: region was not a valid DNS name.\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccessPointName\"}]},{\"fn\":\"aws.parseArn\",\"argv\":[{\"ref\":\"AccessPointName\"}],\"assign\":\"accessPointArn\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[0]\"],\"assign\":\"arnType\"},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"arnType\"},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"service\"]},\"s3-outposts\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid configuration: Outpost Access Points do not support dual-stack\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[1]\"],\"assign\":\"outpostId\"}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"outpostId\"},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"UseArnRegion\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseArnRegion\"},false]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"region\"]},\"{Region}\"]}]}],\"error\":\"Invalid configuration: region from ARN `{accessPointArn#region}` does not match client region `{Region}` and UseArnRegion is `false`\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"region\"]}],\"assign\":\"arnPartition\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"arnPartition\"},\"name\"]},{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"region\"]},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"accountId\"]},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"accountId\"]},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"AccountId\"},\"{accessPointArn#accountId}\"]}]}],\"error\":\"Invalid ARN: the accountId specified in the ARN (`{accessPointArn#accountId}`) does not match the parameter (`{AccountId}`)\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[2]\"],\"assign\":\"outpostType\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"accessPointArn\"},\"resourceId[3]\"],\"assign\":\"accessPointName\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"outpostType\"},\"accesspoint\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{accessPointArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://s3-outposts.{accessPointArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{accessPointArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{accessPointArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Expected an outpost type `accesspoint`, found `{outpostType}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: expected an access point name\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: Expected a 4-component resource\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: missing account ID\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The Outpost Id was not set\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: No ARN type specified\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Bucket\"}]},{\"fn\":\"aws.parseArn\",\"argv\":[{\"ref\":\"Bucket\"}],\"assign\":\"bucketArn\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[0]\"],\"assign\":\"arnType\"},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"arnType\"},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"service\"]},\"s3-outposts\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid configuration: Outpost buckets do not support dual-stack\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[1]\"],\"assign\":\"outpostId\"}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"outpostId\"},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"UseArnRegion\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseArnRegion\"},false]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"region\"]},\"{Region}\"]}]}],\"error\":\"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"region\"]}],\"assign\":\"arnPartition\"}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"arnPartition\"},\"name\"]},{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"region\"]},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"accountId\"]},\"\"]}]}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"accountId\"]},false]}],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"AccountId\"},\"{bucketArn#accountId}\"]}]}],\"error\":\"Invalid ARN: the accountId specified in the ARN (`{bucketArn#accountId}`) does not match the parameter (`{AccountId}`)\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[2]\"],\"assign\":\"outpostType\"}],\"rules\":[{\"conditions\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"bucketArn\"},\"resourceId[3]\"],\"assign\":\"bucketName\"}],\"rules\":[{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"outpostType\"},\"bucket\"]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"endpoint\":{\"url\":\"https://s3-outposts-fips.{bucketArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://s3-outposts.{bucketArn#region}.{arnPartition#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3-outposts\",\"signingRegion\":\"{bucketArn#region}\"}]},\"headers\":{\"x-amz-account-id\":[\"{bucketArn#accountId}\"],\"x-amz-outpost-id\":[\"{outpostId}\"]}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: expected a bucket name\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: Expected a 4-component resource\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: missing account ID\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: The Outpost Id was not set\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid ARN: No ARN type specified\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"partitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"Region\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"stringEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"partitionResult\"},\"name\"]},\"aws-cn\"]}],\"error\":\"Partition does not support FIPS\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}]}],\"error\":\"AccountId is required but not set\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]},{\"fn\":\"not\",\"argv\":[{\"fn\":\"isValidHostLabel\",\"argv\":[{\"ref\":\"AccountId\"},false]}]}],\"error\":\"AccountId must only contain a-z, A-Z, 0-9 and `-`.\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]},{\"fn\":\"parseURL\",\"argv\":[{\"ref\":\"Endpoint\"}],\"assign\":\"url\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: DualStack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"{url#scheme}://{AccountId}.{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"{url#scheme}://{url#authority}{url#path}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-control-fips.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control-fips.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]}],\"endpoint\":{\"url\":\"https://s3-control-fips.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"endpoint\":{\"url\":\"https://s3-control.dualstack.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"RequiresAccountId\"}]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"RequiresAccountId\"},true]},{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"AccountId\"}]}],\"endpoint\":{\"url\":\"https://{AccountId}.s3-control.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},false]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},false]}],\"endpoint\":{\"url\":\"https://s3-control.{Region}.{partitionResult#dnsSuffix}\",\"properties\":{\"authSchemes\":[{\"disableDoubleEncoding\":true,\"name\":\"sigv4\",\"signingName\":\"s3\",\"signingRegion\":\"{Region}\"}]},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid region: region was not a valid DNS name.\",\"type\":\"error\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Region must be set\",\"type\":\"error\"}]}" init() throws { try self.init(partitions: AWSClientRuntime.awsPartitionJSON, ruleSet: Self.ruleSet) diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/Models.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/Models.swift index 5497e83e568..123052737e2 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/Models.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import class SmithyXML.Writer import enum ClientRuntime.ErrorFault @@ -1638,7 +1638,7 @@ public struct BucketAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1651,7 +1651,7 @@ public struct BucketAlreadyOwnedByYou: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1842,7 +1842,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1866,7 +1866,7 @@ public struct IdempotencyException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1890,7 +1890,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1914,7 +1914,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3788,7 +3788,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6300,7 +6300,7 @@ public struct NoSuchPublicAccessBlockConfiguration: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6993,7 +6993,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7017,7 +7017,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7758,7 +7758,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8094,7 +8094,7 @@ public struct JobStatusException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10618,14 +10618,14 @@ extension UpdateStorageLensGroupInput { extension AssociateAccessGrantsIdentityCenterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAccessGrantsIdentityCenterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAccessGrantsIdentityCenterOutput { return AssociateAccessGrantsIdentityCenterOutput() } } extension CreateAccessGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10645,7 +10645,7 @@ extension CreateAccessGrantOutput { extension CreateAccessGrantsInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessGrantsInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessGrantsInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10660,7 +10660,7 @@ extension CreateAccessGrantsInstanceOutput { extension CreateAccessGrantsLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessGrantsLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessGrantsLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10676,7 +10676,7 @@ extension CreateAccessGrantsLocationOutput { extension CreateAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10689,7 +10689,7 @@ extension CreateAccessPointOutput { extension CreateAccessPointForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessPointForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessPointForObjectLambdaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10702,7 +10702,7 @@ extension CreateAccessPointForObjectLambdaOutput { extension CreateBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBucketOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10717,7 +10717,7 @@ extension CreateBucketOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10729,7 +10729,7 @@ extension CreateJobOutput { extension CreateMultiRegionAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMultiRegionAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMultiRegionAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10741,112 +10741,112 @@ extension CreateMultiRegionAccessPointOutput { extension CreateStorageLensGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStorageLensGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStorageLensGroupOutput { return CreateStorageLensGroupOutput() } } extension DeleteAccessGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessGrantOutput { return DeleteAccessGrantOutput() } } extension DeleteAccessGrantsInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessGrantsInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessGrantsInstanceOutput { return DeleteAccessGrantsInstanceOutput() } } extension DeleteAccessGrantsInstanceResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessGrantsInstanceResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessGrantsInstanceResourcePolicyOutput { return DeleteAccessGrantsInstanceResourcePolicyOutput() } } extension DeleteAccessGrantsLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessGrantsLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessGrantsLocationOutput { return DeleteAccessGrantsLocationOutput() } } extension DeleteAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPointOutput { return DeleteAccessPointOutput() } } extension DeleteAccessPointForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPointForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPointForObjectLambdaOutput { return DeleteAccessPointForObjectLambdaOutput() } } extension DeleteAccessPointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPointPolicyOutput { return DeleteAccessPointPolicyOutput() } } extension DeleteAccessPointPolicyForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessPointPolicyForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessPointPolicyForObjectLambdaOutput { return DeleteAccessPointPolicyForObjectLambdaOutput() } } extension DeleteBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketOutput { return DeleteBucketOutput() } } extension DeleteBucketLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketLifecycleConfigurationOutput { return DeleteBucketLifecycleConfigurationOutput() } } extension DeleteBucketPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketPolicyOutput { return DeleteBucketPolicyOutput() } } extension DeleteBucketReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketReplicationOutput { return DeleteBucketReplicationOutput() } } extension DeleteBucketTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBucketTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBucketTaggingOutput { return DeleteBucketTaggingOutput() } } extension DeleteJobTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteJobTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteJobTaggingOutput { return DeleteJobTaggingOutput() } } extension DeleteMultiRegionAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMultiRegionAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMultiRegionAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10858,35 +10858,35 @@ extension DeleteMultiRegionAccessPointOutput { extension DeletePublicAccessBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePublicAccessBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePublicAccessBlockOutput { return DeletePublicAccessBlockOutput() } } extension DeleteStorageLensConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStorageLensConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStorageLensConfigurationOutput { return DeleteStorageLensConfigurationOutput() } } extension DeleteStorageLensConfigurationTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStorageLensConfigurationTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStorageLensConfigurationTaggingOutput { return DeleteStorageLensConfigurationTaggingOutput() } } extension DeleteStorageLensGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStorageLensGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStorageLensGroupOutput { return DeleteStorageLensGroupOutput() } } extension DescribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10898,7 +10898,7 @@ extension DescribeJobOutput { extension DescribeMultiRegionAccessPointOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMultiRegionAccessPointOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMultiRegionAccessPointOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10910,14 +10910,14 @@ extension DescribeMultiRegionAccessPointOperationOutput { extension DissociateAccessGrantsIdentityCenterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DissociateAccessGrantsIdentityCenterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DissociateAccessGrantsIdentityCenterOutput { return DissociateAccessGrantsIdentityCenterOutput() } } extension GetAccessGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10937,7 +10937,7 @@ extension GetAccessGrantOutput { extension GetAccessGrantsInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessGrantsInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessGrantsInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10952,7 +10952,7 @@ extension GetAccessGrantsInstanceOutput { extension GetAccessGrantsInstanceForPrefixOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessGrantsInstanceForPrefixOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessGrantsInstanceForPrefixOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10965,7 +10965,7 @@ extension GetAccessGrantsInstanceForPrefixOutput { extension GetAccessGrantsInstanceResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessGrantsInstanceResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessGrantsInstanceResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10979,7 +10979,7 @@ extension GetAccessGrantsInstanceResourcePolicyOutput { extension GetAccessGrantsLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessGrantsLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessGrantsLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -10995,7 +10995,7 @@ extension GetAccessGrantsLocationOutput { extension GetAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11016,7 +11016,7 @@ extension GetAccessPointOutput { extension GetAccessPointConfigurationForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointConfigurationForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointConfigurationForObjectLambdaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11028,7 +11028,7 @@ extension GetAccessPointConfigurationForObjectLambdaOutput { extension GetAccessPointForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointForObjectLambdaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11043,7 +11043,7 @@ extension GetAccessPointForObjectLambdaOutput { extension GetAccessPointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11055,7 +11055,7 @@ extension GetAccessPointPolicyOutput { extension GetAccessPointPolicyForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointPolicyForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointPolicyForObjectLambdaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11067,7 +11067,7 @@ extension GetAccessPointPolicyForObjectLambdaOutput { extension GetAccessPointPolicyStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointPolicyStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointPolicyStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11079,7 +11079,7 @@ extension GetAccessPointPolicyStatusOutput { extension GetAccessPointPolicyStatusForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessPointPolicyStatusForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessPointPolicyStatusForObjectLambdaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11091,7 +11091,7 @@ extension GetAccessPointPolicyStatusForObjectLambdaOutput { extension GetBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11105,7 +11105,7 @@ extension GetBucketOutput { extension GetBucketLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketLifecycleConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11117,7 +11117,7 @@ extension GetBucketLifecycleConfigurationOutput { extension GetBucketPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11129,7 +11129,7 @@ extension GetBucketPolicyOutput { extension GetBucketReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11141,7 +11141,7 @@ extension GetBucketReplicationOutput { extension GetBucketTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketTaggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11153,7 +11153,7 @@ extension GetBucketTaggingOutput { extension GetBucketVersioningOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBucketVersioningOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBucketVersioningOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11166,7 +11166,7 @@ extension GetBucketVersioningOutput { extension GetDataAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11179,7 +11179,7 @@ extension GetDataAccessOutput { extension GetJobTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobTaggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11191,7 +11191,7 @@ extension GetJobTaggingOutput { extension GetMultiRegionAccessPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMultiRegionAccessPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMultiRegionAccessPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11203,7 +11203,7 @@ extension GetMultiRegionAccessPointOutput { extension GetMultiRegionAccessPointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMultiRegionAccessPointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMultiRegionAccessPointPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11215,7 +11215,7 @@ extension GetMultiRegionAccessPointPolicyOutput { extension GetMultiRegionAccessPointPolicyStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMultiRegionAccessPointPolicyStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMultiRegionAccessPointPolicyStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11227,7 +11227,7 @@ extension GetMultiRegionAccessPointPolicyStatusOutput { extension GetMultiRegionAccessPointRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMultiRegionAccessPointRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMultiRegionAccessPointRoutesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11240,7 +11240,7 @@ extension GetMultiRegionAccessPointRoutesOutput { extension GetPublicAccessBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPublicAccessBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPublicAccessBlockOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11252,7 +11252,7 @@ extension GetPublicAccessBlockOutput { extension GetStorageLensConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStorageLensConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStorageLensConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11264,7 +11264,7 @@ extension GetStorageLensConfigurationOutput { extension GetStorageLensConfigurationTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStorageLensConfigurationTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStorageLensConfigurationTaggingOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11276,7 +11276,7 @@ extension GetStorageLensConfigurationTaggingOutput { extension GetStorageLensGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetStorageLensGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStorageLensGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11288,7 +11288,7 @@ extension GetStorageLensGroupOutput { extension ListAccessGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11301,7 +11301,7 @@ extension ListAccessGrantsOutput { extension ListAccessGrantsInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessGrantsInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessGrantsInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11314,7 +11314,7 @@ extension ListAccessGrantsInstancesOutput { extension ListAccessGrantsLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessGrantsLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessGrantsLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11327,7 +11327,7 @@ extension ListAccessGrantsLocationsOutput { extension ListAccessPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11340,7 +11340,7 @@ extension ListAccessPointsOutput { extension ListAccessPointsForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessPointsForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessPointsForObjectLambdaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11353,7 +11353,7 @@ extension ListAccessPointsForObjectLambdaOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11366,7 +11366,7 @@ extension ListJobsOutput { extension ListMultiRegionAccessPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMultiRegionAccessPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMultiRegionAccessPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11379,7 +11379,7 @@ extension ListMultiRegionAccessPointsOutput { extension ListRegionalBucketsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegionalBucketsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegionalBucketsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11392,7 +11392,7 @@ extension ListRegionalBucketsOutput { extension ListStorageLensConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStorageLensConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStorageLensConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11405,7 +11405,7 @@ extension ListStorageLensConfigurationsOutput { extension ListStorageLensGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStorageLensGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStorageLensGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11418,7 +11418,7 @@ extension ListStorageLensGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11430,7 +11430,7 @@ extension ListTagsForResourceOutput { extension PutAccessGrantsInstanceResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccessGrantsInstanceResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccessGrantsInstanceResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11444,70 +11444,70 @@ extension PutAccessGrantsInstanceResourcePolicyOutput { extension PutAccessPointConfigurationForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccessPointConfigurationForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccessPointConfigurationForObjectLambdaOutput { return PutAccessPointConfigurationForObjectLambdaOutput() } } extension PutAccessPointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccessPointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccessPointPolicyOutput { return PutAccessPointPolicyOutput() } } extension PutAccessPointPolicyForObjectLambdaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccessPointPolicyForObjectLambdaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccessPointPolicyForObjectLambdaOutput { return PutAccessPointPolicyForObjectLambdaOutput() } } extension PutBucketLifecycleConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketLifecycleConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketLifecycleConfigurationOutput { return PutBucketLifecycleConfigurationOutput() } } extension PutBucketPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketPolicyOutput { return PutBucketPolicyOutput() } } extension PutBucketReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketReplicationOutput { return PutBucketReplicationOutput() } } extension PutBucketTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketTaggingOutput { return PutBucketTaggingOutput() } } extension PutBucketVersioningOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutBucketVersioningOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutBucketVersioningOutput { return PutBucketVersioningOutput() } } extension PutJobTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutJobTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutJobTaggingOutput { return PutJobTaggingOutput() } } extension PutMultiRegionAccessPointPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMultiRegionAccessPointPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMultiRegionAccessPointPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11519,49 +11519,49 @@ extension PutMultiRegionAccessPointPolicyOutput { extension PutPublicAccessBlockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPublicAccessBlockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPublicAccessBlockOutput { return PutPublicAccessBlockOutput() } } extension PutStorageLensConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutStorageLensConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutStorageLensConfigurationOutput { return PutStorageLensConfigurationOutput() } } extension PutStorageLensConfigurationTaggingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutStorageLensConfigurationTaggingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutStorageLensConfigurationTaggingOutput { return PutStorageLensConfigurationTaggingOutput() } } extension SubmitMultiRegionAccessPointRoutesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubmitMultiRegionAccessPointRoutesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubmitMultiRegionAccessPointRoutesOutput { return SubmitMultiRegionAccessPointRoutesOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessGrantsLocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessGrantsLocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessGrantsLocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11577,7 +11577,7 @@ extension UpdateAccessGrantsLocationOutput { extension UpdateJobPriorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobPriorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobPriorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11590,7 +11590,7 @@ extension UpdateJobPriorityOutput { extension UpdateJobStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader @@ -11604,14 +11604,14 @@ extension UpdateJobStatusOutput { extension UpdateStorageLensGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStorageLensGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStorageLensGroupOutput { return UpdateStorageLensGroupOutput() } } enum AssociateAccessGrantsIdentityCenterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11624,7 +11624,7 @@ enum AssociateAccessGrantsIdentityCenterOutputError { enum CreateAccessGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11637,7 +11637,7 @@ enum CreateAccessGrantOutputError { enum CreateAccessGrantsInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11650,7 +11650,7 @@ enum CreateAccessGrantsInstanceOutputError { enum CreateAccessGrantsLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11663,7 +11663,7 @@ enum CreateAccessGrantsLocationOutputError { enum CreateAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11676,7 +11676,7 @@ enum CreateAccessPointOutputError { enum CreateAccessPointForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11689,7 +11689,7 @@ enum CreateAccessPointForObjectLambdaOutputError { enum CreateBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11704,7 +11704,7 @@ enum CreateBucketOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11721,7 +11721,7 @@ enum CreateJobOutputError { enum CreateMultiRegionAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11734,7 +11734,7 @@ enum CreateMultiRegionAccessPointOutputError { enum CreateStorageLensGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11747,7 +11747,7 @@ enum CreateStorageLensGroupOutputError { enum DeleteAccessGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11760,7 +11760,7 @@ enum DeleteAccessGrantOutputError { enum DeleteAccessGrantsInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11773,7 +11773,7 @@ enum DeleteAccessGrantsInstanceOutputError { enum DeleteAccessGrantsInstanceResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11786,7 +11786,7 @@ enum DeleteAccessGrantsInstanceResourcePolicyOutputError { enum DeleteAccessGrantsLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11799,7 +11799,7 @@ enum DeleteAccessGrantsLocationOutputError { enum DeleteAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11812,7 +11812,7 @@ enum DeleteAccessPointOutputError { enum DeleteAccessPointForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11825,7 +11825,7 @@ enum DeleteAccessPointForObjectLambdaOutputError { enum DeleteAccessPointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11838,7 +11838,7 @@ enum DeleteAccessPointPolicyOutputError { enum DeleteAccessPointPolicyForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11851,7 +11851,7 @@ enum DeleteAccessPointPolicyForObjectLambdaOutputError { enum DeleteBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11864,7 +11864,7 @@ enum DeleteBucketOutputError { enum DeleteBucketLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11877,7 +11877,7 @@ enum DeleteBucketLifecycleConfigurationOutputError { enum DeleteBucketPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11890,7 +11890,7 @@ enum DeleteBucketPolicyOutputError { enum DeleteBucketReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11903,7 +11903,7 @@ enum DeleteBucketReplicationOutputError { enum DeleteBucketTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11916,7 +11916,7 @@ enum DeleteBucketTaggingOutputError { enum DeleteJobTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11932,7 +11932,7 @@ enum DeleteJobTaggingOutputError { enum DeleteMultiRegionAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11945,7 +11945,7 @@ enum DeleteMultiRegionAccessPointOutputError { enum DeletePublicAccessBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11958,7 +11958,7 @@ enum DeletePublicAccessBlockOutputError { enum DeleteStorageLensConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11971,7 +11971,7 @@ enum DeleteStorageLensConfigurationOutputError { enum DeleteStorageLensConfigurationTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11984,7 +11984,7 @@ enum DeleteStorageLensConfigurationTaggingOutputError { enum DeleteStorageLensGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11997,7 +11997,7 @@ enum DeleteStorageLensGroupOutputError { enum DescribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12014,7 +12014,7 @@ enum DescribeJobOutputError { enum DescribeMultiRegionAccessPointOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12027,7 +12027,7 @@ enum DescribeMultiRegionAccessPointOperationOutputError { enum DissociateAccessGrantsIdentityCenterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12040,7 +12040,7 @@ enum DissociateAccessGrantsIdentityCenterOutputError { enum GetAccessGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12053,7 +12053,7 @@ enum GetAccessGrantOutputError { enum GetAccessGrantsInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12066,7 +12066,7 @@ enum GetAccessGrantsInstanceOutputError { enum GetAccessGrantsInstanceForPrefixOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12079,7 +12079,7 @@ enum GetAccessGrantsInstanceForPrefixOutputError { enum GetAccessGrantsInstanceResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12092,7 +12092,7 @@ enum GetAccessGrantsInstanceResourcePolicyOutputError { enum GetAccessGrantsLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12105,7 +12105,7 @@ enum GetAccessGrantsLocationOutputError { enum GetAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12118,7 +12118,7 @@ enum GetAccessPointOutputError { enum GetAccessPointConfigurationForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12131,7 +12131,7 @@ enum GetAccessPointConfigurationForObjectLambdaOutputError { enum GetAccessPointForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12144,7 +12144,7 @@ enum GetAccessPointForObjectLambdaOutputError { enum GetAccessPointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12157,7 +12157,7 @@ enum GetAccessPointPolicyOutputError { enum GetAccessPointPolicyForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12170,7 +12170,7 @@ enum GetAccessPointPolicyForObjectLambdaOutputError { enum GetAccessPointPolicyStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12183,7 +12183,7 @@ enum GetAccessPointPolicyStatusOutputError { enum GetAccessPointPolicyStatusForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12196,7 +12196,7 @@ enum GetAccessPointPolicyStatusForObjectLambdaOutputError { enum GetBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12209,7 +12209,7 @@ enum GetBucketOutputError { enum GetBucketLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12222,7 +12222,7 @@ enum GetBucketLifecycleConfigurationOutputError { enum GetBucketPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12235,7 +12235,7 @@ enum GetBucketPolicyOutputError { enum GetBucketReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12248,7 +12248,7 @@ enum GetBucketReplicationOutputError { enum GetBucketTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12261,7 +12261,7 @@ enum GetBucketTaggingOutputError { enum GetBucketVersioningOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12274,7 +12274,7 @@ enum GetBucketVersioningOutputError { enum GetDataAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12287,7 +12287,7 @@ enum GetDataAccessOutputError { enum GetJobTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12303,7 +12303,7 @@ enum GetJobTaggingOutputError { enum GetMultiRegionAccessPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12316,7 +12316,7 @@ enum GetMultiRegionAccessPointOutputError { enum GetMultiRegionAccessPointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12329,7 +12329,7 @@ enum GetMultiRegionAccessPointPolicyOutputError { enum GetMultiRegionAccessPointPolicyStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12342,7 +12342,7 @@ enum GetMultiRegionAccessPointPolicyStatusOutputError { enum GetMultiRegionAccessPointRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12355,7 +12355,7 @@ enum GetMultiRegionAccessPointRoutesOutputError { enum GetPublicAccessBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12369,7 +12369,7 @@ enum GetPublicAccessBlockOutputError { enum GetStorageLensConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12382,7 +12382,7 @@ enum GetStorageLensConfigurationOutputError { enum GetStorageLensConfigurationTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12395,7 +12395,7 @@ enum GetStorageLensConfigurationTaggingOutputError { enum GetStorageLensGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12408,7 +12408,7 @@ enum GetStorageLensGroupOutputError { enum ListAccessGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12421,7 +12421,7 @@ enum ListAccessGrantsOutputError { enum ListAccessGrantsInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12434,7 +12434,7 @@ enum ListAccessGrantsInstancesOutputError { enum ListAccessGrantsLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12447,7 +12447,7 @@ enum ListAccessGrantsLocationsOutputError { enum ListAccessPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12460,7 +12460,7 @@ enum ListAccessPointsOutputError { enum ListAccessPointsForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12473,7 +12473,7 @@ enum ListAccessPointsForObjectLambdaOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12489,7 +12489,7 @@ enum ListJobsOutputError { enum ListMultiRegionAccessPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12502,7 +12502,7 @@ enum ListMultiRegionAccessPointsOutputError { enum ListRegionalBucketsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12515,7 +12515,7 @@ enum ListRegionalBucketsOutputError { enum ListStorageLensConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12528,7 +12528,7 @@ enum ListStorageLensConfigurationsOutputError { enum ListStorageLensGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12541,7 +12541,7 @@ enum ListStorageLensGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12554,7 +12554,7 @@ enum ListTagsForResourceOutputError { enum PutAccessGrantsInstanceResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12567,7 +12567,7 @@ enum PutAccessGrantsInstanceResourcePolicyOutputError { enum PutAccessPointConfigurationForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12580,7 +12580,7 @@ enum PutAccessPointConfigurationForObjectLambdaOutputError { enum PutAccessPointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12593,7 +12593,7 @@ enum PutAccessPointPolicyOutputError { enum PutAccessPointPolicyForObjectLambdaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12606,7 +12606,7 @@ enum PutAccessPointPolicyForObjectLambdaOutputError { enum PutBucketLifecycleConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12619,7 +12619,7 @@ enum PutBucketLifecycleConfigurationOutputError { enum PutBucketPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12632,7 +12632,7 @@ enum PutBucketPolicyOutputError { enum PutBucketReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12645,7 +12645,7 @@ enum PutBucketReplicationOutputError { enum PutBucketTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12658,7 +12658,7 @@ enum PutBucketTaggingOutputError { enum PutBucketVersioningOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12671,7 +12671,7 @@ enum PutBucketVersioningOutputError { enum PutJobTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12688,7 +12688,7 @@ enum PutJobTaggingOutputError { enum PutMultiRegionAccessPointPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12701,7 +12701,7 @@ enum PutMultiRegionAccessPointPolicyOutputError { enum PutPublicAccessBlockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12714,7 +12714,7 @@ enum PutPublicAccessBlockOutputError { enum PutStorageLensConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12727,7 +12727,7 @@ enum PutStorageLensConfigurationOutputError { enum PutStorageLensConfigurationTaggingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12740,7 +12740,7 @@ enum PutStorageLensConfigurationTaggingOutputError { enum SubmitMultiRegionAccessPointRoutesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12753,7 +12753,7 @@ enum SubmitMultiRegionAccessPointRoutesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12766,7 +12766,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12779,7 +12779,7 @@ enum UntagResourceOutputError { enum UpdateAccessGrantsLocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12792,7 +12792,7 @@ enum UpdateAccessGrantsLocationOutputError { enum UpdateJobPriorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12809,7 +12809,7 @@ enum UpdateJobPriorityOutputError { enum UpdateJobStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -12827,7 +12827,7 @@ enum UpdateJobStatusOutputError { enum UpdateStorageLensGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSS3Control/Tests/AWSS3ControlTests/EndpointResolverTest.swift b/Sources/Services/AWSS3Control/Tests/AWSS3ControlTests/EndpointResolverTest.swift index e0ad0fbe290..9cbc3ebabfc 100644 --- a/Sources/Services/AWSS3Control/Tests/AWSS3ControlTests/EndpointResolverTest.swift +++ b/Sources/Services/AWSS3Control/Tests/AWSS3ControlTests/EndpointResolverTest.swift @@ -652,7 +652,7 @@ class EndpointResolverTest: XCTestCase { XCTAssertEqual(expected, actual) } - /// outpost access points support dualstack@us-west-2 + /// outpost access points do not support dualstack@us-west-2 func testResolve20() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", @@ -664,94 +664,58 @@ class EndpointResolverTest: XCTestCase { ) let resolver = try DefaultEndpointResolver() - let actual = try resolver.resolve(params: endpointParams) - - let properties: [String: AnyHashable] = - [ - "authSchemes": [ - [ - "name": "sigv4", - "signingName": "s3-outposts", - "signingRegion": "us-west-2", - "disableDoubleEncoding": true - ] as [String: AnyHashable] - ] as [AnyHashable] - ] - - var headers = SmithyHTTPAPI.Headers() - headers.add(name: "x-amz-account-id", values: ["123456789012"]) - headers.add(name: "x-amz-outpost-id", values: ["op-01234567890123456"]) - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://s3-outposts.us-west-2.api.aws", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outpost Access Points do not support dual-stack", message) + default: + XCTFail() + } + } } - /// outpost access points support dualstack@af-south-1 + /// outpost access points do not support dualstack@cn-north-1 func testResolve21() throws { let endpointParams = EndpointParams( - accessPointName: "arn:aws:s3-outposts:af-south-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", + accessPointName: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", accountId: "123456789012", - region: "af-south-1", + region: "cn-north-1", requiresAccountId: true, useDualStack: true, useFIPS: false ) let resolver = try DefaultEndpointResolver() - let actual = try resolver.resolve(params: endpointParams) - - let properties: [String: AnyHashable] = - [ - "authSchemes": [ - [ - "name": "sigv4", - "signingName": "s3-outposts", - "signingRegion": "af-south-1", - "disableDoubleEncoding": true - ] as [String: AnyHashable] - ] as [AnyHashable] - ] - - var headers = SmithyHTTPAPI.Headers() - headers.add(name: "x-amz-account-id", values: ["123456789012"]) - headers.add(name: "x-amz-outpost-id", values: ["op-01234567890123456"]) - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://s3-outposts.af-south-1.api.aws", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outpost Access Points do not support dual-stack", message) + default: + XCTFail() + } + } } - /// outpost access points support fips + dualstack@af-south-1 + /// outpost access points do not support dualstack@af-south-1 func testResolve22() throws { let endpointParams = EndpointParams( - accessPointName: "arn:aws:s3-outposts:af-south-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", + accessPointName: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", accountId: "123456789012", region: "af-south-1", requiresAccountId: true, useDualStack: true, - useFIPS: true + useFIPS: false ) let resolver = try DefaultEndpointResolver() - let actual = try resolver.resolve(params: endpointParams) - - let properties: [String: AnyHashable] = - [ - "authSchemes": [ - [ - "name": "sigv4", - "signingName": "s3-outposts", - "signingRegion": "af-south-1", - "disableDoubleEncoding": true - ] as [String: AnyHashable] - ] as [AnyHashable] - ] - - var headers = SmithyHTTPAPI.Headers() - headers.add(name: "x-amz-account-id", values: ["123456789012"]) - headers.add(name: "x-amz-outpost-id", values: ["op-01234567890123456"]) - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://s3-outposts-fips.af-south-1.api.aws", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outpost Access Points do not support dual-stack", message) + default: + XCTFail() + } + } } /// invalid ARN: must be include outpost ID@us-west-2 @@ -1153,40 +1117,8 @@ class EndpointResolverTest: XCTestCase { XCTAssertEqual(expected, actual) } - /// ListRegionalBucket + OutpostId + fips + dualstack@us-east-2 - func testResolve37() throws { - let endpointParams = EndpointParams( - accountId: "123456789012", - outpostId: "op-123", - region: "us-east-2", - requiresAccountId: true, - useDualStack: true, - useFIPS: true - ) - let resolver = try DefaultEndpointResolver() - - let actual = try resolver.resolve(params: endpointParams) - - let properties: [String: AnyHashable] = - [ - "authSchemes": [ - [ - "name": "sigv4", - "signingName": "s3-outposts", - "signingRegion": "us-east-2", - "disableDoubleEncoding": true - ] as [String: AnyHashable] - ] as [AnyHashable] - ] - - let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://s3-outposts-fips.us-east-2.api.aws", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - /// CreateBucket + OutpostId endpoint url@us-east-2 - func testResolve38() throws { + func testResolve37() throws { let endpointParams = EndpointParams( bucket: "blah", endpoint: "https://beta.example.com", @@ -1219,10 +1151,10 @@ class EndpointResolverTest: XCTestCase { } /// dualstack cannot be used with outposts when an endpoint URL is set@us-west-2. - func testResolve39() throws { + func testResolve38() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", - endpoint: "https://s3-outposts.us-west-2.api.aws", + endpoint: "https://beta.example.com", region: "us-west-2", requiresAccountId: true, useDualStack: true, @@ -1233,7 +1165,30 @@ class EndpointResolverTest: XCTestCase { XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in switch error { case ClientRuntime.EndpointError.unresolved(let message): - XCTAssertEqual("Invalid Configuration: DualStack and custom endpoint are not supported", message) + XCTAssertEqual("Invalid configuration: Outpost Access Points do not support dual-stack", message) + default: + XCTFail() + } + } + } + + /// Dual-stack cannot be used with outposts@us-west-2 + func testResolve39() throws { + let endpointParams = EndpointParams( + bucket: "bucketname", + endpoint: "https://beta.example.com", + outpostId: "op-123", + region: "us-west-2", + requiresAccountId: false, + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outposts do not support dual-stack", message) default: XCTFail() } @@ -1405,37 +1360,25 @@ class EndpointResolverTest: XCTestCase { XCTAssertEqual(expected, actual) } - /// bucket ARN in aws partition with fips + dualstack@us-east-2 + /// Outposts do not support dualstack@us-west-2 func testResolve45() throws { let endpointParams = EndpointParams( - bucket: "arn:aws:s3-outposts:us-east-2:123456789012:outpost:op-01234567890123456:bucket:mybucket", - region: "us-east-2", + bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket:mybucket", + region: "us-west-2", requiresAccountId: true, useDualStack: true, - useFIPS: true + useFIPS: false ) let resolver = try DefaultEndpointResolver() - let actual = try resolver.resolve(params: endpointParams) - - let properties: [String: AnyHashable] = - [ - "authSchemes": [ - [ - "name": "sigv4", - "signingName": "s3-outposts", - "signingRegion": "us-east-2", - "disableDoubleEncoding": true - ] as [String: AnyHashable] - ] as [AnyHashable] - ] - - var headers = SmithyHTTPAPI.Headers() - headers.add(name: "x-amz-account-id", values: ["123456789012"]) - headers.add(name: "x-amz-outpost-id", values: ["op-01234567890123456"]) - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://s3-outposts-fips.us-east-2.api.aws", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outpost buckets do not support dual-stack", message) + default: + XCTFail() + } + } } /// vanilla bucket arn requires account id@cn-north-1 @@ -1603,7 +1546,7 @@ class EndpointResolverTest: XCTestCase { XCTAssertEqual(expected, actual) } - /// Outposts support dualstack @us-west-2 + /// Outposts do not support dualstack@us-west-2 func testResolve51() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket:mybucket", @@ -1614,26 +1557,14 @@ class EndpointResolverTest: XCTestCase { ) let resolver = try DefaultEndpointResolver() - let actual = try resolver.resolve(params: endpointParams) - - let properties: [String: AnyHashable] = - [ - "authSchemes": [ - [ - "name": "sigv4", - "signingName": "s3-outposts", - "signingRegion": "us-west-2", - "disableDoubleEncoding": true - ] as [String: AnyHashable] - ] as [AnyHashable] - ] - - var headers = SmithyHTTPAPI.Headers() - headers.add(name: "x-amz-account-id", values: ["123456789012"]) - headers.add(name: "x-amz-outpost-id", values: ["op-01234567890123456"]) - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://s3-outposts.us-west-2.api.aws", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outpost buckets do not support dual-stack", message) + default: + XCTFail() + } + } } /// vanilla bucket arn requires account id@af-south-1 @@ -1801,8 +1732,29 @@ class EndpointResolverTest: XCTestCase { XCTAssertEqual(expected, actual) } - /// Invalid ARN: missing outpost id and bucket@us-west-2 + /// Outposts do not support dualstack@us-west-2 func testResolve57() throws { + let endpointParams = EndpointParams( + bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket:mybucket", + region: "us-west-2", + requiresAccountId: true, + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid configuration: Outpost buckets do not support dual-stack", message) + default: + XCTFail() + } + } + } + + /// Invalid ARN: missing outpost id and bucket@us-west-2 + func testResolve58() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost", region: "us-west-2", @@ -1823,7 +1775,7 @@ class EndpointResolverTest: XCTestCase { } /// Invalid ARN: missing bucket@us-west-2 - func testResolve58() throws { + func testResolve59() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456", region: "us-west-2", @@ -1844,7 +1796,7 @@ class EndpointResolverTest: XCTestCase { } /// Invalid ARN: missing outpost and bucket ids@us-west-2 - func testResolve59() throws { + func testResolve60() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:bucket", region: "us-west-2", @@ -1865,7 +1817,7 @@ class EndpointResolverTest: XCTestCase { } /// Invalid ARN: missing bucket id@us-west-2 - func testResolve60() throws { + func testResolve61() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket", region: "us-west-2", @@ -1886,7 +1838,7 @@ class EndpointResolverTest: XCTestCase { } /// account id inserted into hostname@us-west-2 - func testResolve61() throws { + func testResolve62() throws { let endpointParams = EndpointParams( accountId: "1234567890", region: "us-west-2", @@ -1917,7 +1869,7 @@ class EndpointResolverTest: XCTestCase { } /// account id prefix with dualstack@us-east-1 - func testResolve62() throws { + func testResolve63() throws { let endpointParams = EndpointParams( accountId: "1234567890", region: "us-east-1", @@ -1948,7 +1900,7 @@ class EndpointResolverTest: XCTestCase { } /// account id prefix with fips@us-east-1 - func testResolve63() throws { + func testResolve64() throws { let endpointParams = EndpointParams( accountId: "1234567890", region: "us-east-1", @@ -1979,7 +1931,7 @@ class EndpointResolverTest: XCTestCase { } /// custom account id prefix with fips@us-east-1 - func testResolve64() throws { + func testResolve65() throws { let endpointParams = EndpointParams( accountId: "123456789012", region: "us-east-1", @@ -2010,7 +1962,7 @@ class EndpointResolverTest: XCTestCase { } /// standard url @ us-east-1 - func testResolve65() throws { + func testResolve66() throws { let endpointParams = EndpointParams( region: "us-east-1" ) @@ -2037,7 +1989,7 @@ class EndpointResolverTest: XCTestCase { } /// fips url @ us-east-1 - func testResolve66() throws { + func testResolve67() throws { let endpointParams = EndpointParams( region: "us-east-1", useFIPS: true @@ -2065,7 +2017,7 @@ class EndpointResolverTest: XCTestCase { } /// dualstack url @ us-east-1 - func testResolve67() throws { + func testResolve68() throws { let endpointParams = EndpointParams( region: "us-east-1", useDualStack: true @@ -2093,7 +2045,7 @@ class EndpointResolverTest: XCTestCase { } /// fips,dualstack url @ us-east-1 - func testResolve68() throws { + func testResolve69() throws { let endpointParams = EndpointParams( region: "us-east-1", useDualStack: true, @@ -2122,7 +2074,7 @@ class EndpointResolverTest: XCTestCase { } /// standard url @ cn-north-1 - func testResolve69() throws { + func testResolve70() throws { let endpointParams = EndpointParams( region: "cn-north-1" ) @@ -2149,7 +2101,7 @@ class EndpointResolverTest: XCTestCase { } /// fips @ cn-north-1 - func testResolve70() throws { + func testResolve71() throws { let endpointParams = EndpointParams( region: "cn-north-1", useDualStack: true, @@ -2168,7 +2120,7 @@ class EndpointResolverTest: XCTestCase { } /// custom account id prefix @us-east-1 - func testResolve71() throws { + func testResolve72() throws { let endpointParams = EndpointParams( accountId: "123456789012", region: "us-east-1", @@ -2199,7 +2151,7 @@ class EndpointResolverTest: XCTestCase { } /// invalid account id prefix @us-east-1 - func testResolve72() throws { + func testResolve73() throws { let endpointParams = EndpointParams( accountId: "/?invalid¬-host*label", region: "us-east-1", @@ -2220,7 +2172,7 @@ class EndpointResolverTest: XCTestCase { } /// custom account id prefix with fips@us-east-1 - func testResolve73() throws { + func testResolve74() throws { let endpointParams = EndpointParams( accountId: "123456789012", region: "us-east-1", @@ -2251,7 +2203,7 @@ class EndpointResolverTest: XCTestCase { } /// custom account id prefix with dualstack,fips@us-east-1 - func testResolve74() throws { + func testResolve75() throws { let endpointParams = EndpointParams( accountId: "123456789012", region: "us-east-1", @@ -2282,7 +2234,7 @@ class EndpointResolverTest: XCTestCase { } /// custom account id with custom endpoint - func testResolve75() throws { + func testResolve76() throws { let endpointParams = EndpointParams( accountId: "123456789012", endpoint: "https://example.com", @@ -2312,7 +2264,7 @@ class EndpointResolverTest: XCTestCase { } /// RequiresAccountId with AccountId unset - func testResolve76() throws { + func testResolve77() throws { let endpointParams = EndpointParams( region: "us-east-1", requiresAccountId: true @@ -2330,7 +2282,7 @@ class EndpointResolverTest: XCTestCase { } /// RequiresAccountId with AccountId unset and custom endpoint - func testResolve77() throws { + func testResolve78() throws { let endpointParams = EndpointParams( endpoint: "https://beta.example.com", region: "us-east-1", @@ -2349,7 +2301,7 @@ class EndpointResolverTest: XCTestCase { } /// RequiresAccountId with invalid AccountId and custom endpoint - func testResolve78() throws { + func testResolve79() throws { let endpointParams = EndpointParams( accountId: "/?invalid¬-host*label", endpoint: "https://beta.example.com", @@ -2369,7 +2321,7 @@ class EndpointResolverTest: XCTestCase { } /// account id with custom endpoint, fips - func testResolve79() throws { + func testResolve80() throws { let endpointParams = EndpointParams( accountId: "123456789012", endpoint: "https://example.com", @@ -2400,7 +2352,7 @@ class EndpointResolverTest: XCTestCase { } /// custom endpoint, fips - func testResolve80() throws { + func testResolve81() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", region: "us-east-1", @@ -2429,7 +2381,7 @@ class EndpointResolverTest: XCTestCase { } /// custom endpoint, fips - func testResolve81() throws { + func testResolve82() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", region: "us-east-1", @@ -2458,7 +2410,7 @@ class EndpointResolverTest: XCTestCase { } /// custom endpoint, DualStack - func testResolve82() throws { + func testResolve83() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", region: "us-east-1", @@ -2478,7 +2430,7 @@ class EndpointResolverTest: XCTestCase { } /// region not set - func testResolve83() throws { + func testResolve84() throws { let endpointParams = EndpointParams( ) let resolver = try DefaultEndpointResolver() @@ -2494,7 +2446,7 @@ class EndpointResolverTest: XCTestCase { } /// invalid partition - func testResolve84() throws { + func testResolve85() throws { let endpointParams = EndpointParams( region: "invalid-region 42" ) @@ -2511,7 +2463,7 @@ class EndpointResolverTest: XCTestCase { } /// ListRegionalBuckets + OutpostId without accountId set. - func testResolve85() throws { + func testResolve86() throws { let endpointParams = EndpointParams( outpostId: "op-123", region: "us-east-2", @@ -2532,7 +2484,7 @@ class EndpointResolverTest: XCTestCase { } /// ListRegionalBuckets + OutpostId with invalid accountId set. - func testResolve86() throws { + func testResolve87() throws { let endpointParams = EndpointParams( accountId: "/?invalid¬-host*label", outpostId: "op-123", @@ -2554,7 +2506,7 @@ class EndpointResolverTest: XCTestCase { } /// accesspoint set but missing accountId - func testResolve87() throws { + func testResolve88() throws { let endpointParams = EndpointParams( accessPointName: "myaccesspoint", region: "us-west-2", @@ -2575,7 +2527,7 @@ class EndpointResolverTest: XCTestCase { } /// outpost accesspoint ARN with missing accountId - func testResolve88() throws { + func testResolve89() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-west-2::outpost:op-01234567890123456:outpost:op1", region: "us-west-2", @@ -2596,7 +2548,7 @@ class EndpointResolverTest: XCTestCase { } /// bucket ARN with missing accountId - func testResolve89() throws { + func testResolve90() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-west-2::outpost:op-01234567890123456:bucket:mybucket", region: "us-west-2", @@ -2617,7 +2569,7 @@ class EndpointResolverTest: XCTestCase { } /// endpoint url with accesspoint (non-arn) - func testResolve90() throws { + func testResolve91() throws { let endpointParams = EndpointParams( accessPointName: "apname", accountId: "123456789012", @@ -2650,7 +2602,7 @@ class EndpointResolverTest: XCTestCase { } /// access point name with an accesspoint arn@us-west-2 - func testResolve91() throws { + func testResolve92() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", endpoint: "https://beta.example.com", @@ -2684,7 +2636,7 @@ class EndpointResolverTest: XCTestCase { } /// DualStack + Custom endpoint is not supported(non-arn) - func testResolve92() throws { + func testResolve93() throws { let endpointParams = EndpointParams( accessPointName: "apname", accountId: "123456789012", @@ -2706,11 +2658,11 @@ class EndpointResolverTest: XCTestCase { } } - /// get bucket with custom endpoint and dualstack is not supported@us-west-2 - func testResolve93() throws { + /// get bucket with endpoint_url and dualstack is not supported@us-west-2 + func testResolve94() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket:mybucket", - endpoint: "https://s3-outposts.us-west-2.api.aws", + endpoint: "https://beta.example.com", region: "us-west-2", requiresAccountId: true, useDualStack: true, @@ -2721,7 +2673,7 @@ class EndpointResolverTest: XCTestCase { XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in switch error { case ClientRuntime.EndpointError.unresolved(let message): - XCTAssertEqual("Invalid Configuration: DualStack and custom endpoint are not supported", message) + XCTAssertEqual("Invalid configuration: Outpost buckets do not support dual-stack", message) default: XCTFail() } @@ -2729,7 +2681,7 @@ class EndpointResolverTest: XCTestCase { } /// ListRegionalBuckets + OutpostId with fips in CN. - func testResolve94() throws { + func testResolve95() throws { let endpointParams = EndpointParams( accountId: "0123456789012", outpostId: "op-123", @@ -2751,7 +2703,7 @@ class EndpointResolverTest: XCTestCase { } /// ListRegionalBuckets + invalid OutpostId. - func testResolve95() throws { + func testResolve96() throws { let endpointParams = EndpointParams( accountId: "0123456789012", outpostId: "?outpost/invalid+", @@ -2773,7 +2725,7 @@ class EndpointResolverTest: XCTestCase { } /// bucket ARN with mismatched accountId - func testResolve96() throws { + func testResolve97() throws { let endpointParams = EndpointParams( accountId: "0123456789012", bucket: "arn:aws:s3-outposts:us-west-2:999999:outpost:op-01234567890123456:bucket:mybucket", @@ -2795,7 +2747,7 @@ class EndpointResolverTest: XCTestCase { } /// OutpostId with invalid region - func testResolve97() throws { + func testResolve98() throws { let endpointParams = EndpointParams( accountId: "0123456", outpostId: "op-123", @@ -2817,7 +2769,7 @@ class EndpointResolverTest: XCTestCase { } /// OutpostId with RequireAccountId unset - func testResolve98() throws { + func testResolve99() throws { let endpointParams = EndpointParams( outpostId: "op-123", region: "us-west-2", @@ -2847,7 +2799,7 @@ class EndpointResolverTest: XCTestCase { } /// Outpost Accesspoint ARN with arn region and client region mismatch with UseArnRegion=false - func testResolve99() throws { + func testResolve100() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", accountId: "123456789012", @@ -2870,7 +2822,7 @@ class EndpointResolverTest: XCTestCase { } /// Outpost Bucket ARN with arn region and client region mismatch with UseArnRegion=false - func testResolve100() throws { + func testResolve101() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:bucket:mybucket", endpoint: "https://beta.example.com", @@ -2893,7 +2845,7 @@ class EndpointResolverTest: XCTestCase { } /// Accesspoint ARN with region mismatch and UseArnRegion unset - func testResolve101() throws { + func testResolve102() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", accountId: "123456789012", @@ -2927,7 +2879,7 @@ class EndpointResolverTest: XCTestCase { } /// Bucket ARN with region mismatch and UseArnRegion unset - func testResolve102() throws { + func testResolve103() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:bucket:mybucket", region: "us-west-2", @@ -2960,7 +2912,7 @@ class EndpointResolverTest: XCTestCase { } /// Outpost Bucket ARN with partition mismatch with UseArnRegion=true - func testResolve103() throws { + func testResolve104() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:bucket:mybucket", region: "us-west-2", @@ -2982,7 +2934,7 @@ class EndpointResolverTest: XCTestCase { } /// Accesspoint ARN with partition mismatch and UseArnRegion=true - func testResolve104() throws { + func testResolve105() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", accountId: "123456789012", @@ -3005,7 +2957,7 @@ class EndpointResolverTest: XCTestCase { } /// Accesspoint ARN with region mismatch, UseArnRegion=false and custom endpoint - func testResolve105() throws { + func testResolve106() throws { let endpointParams = EndpointParams( accessPointName: "arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint", endpoint: "https://example.com", @@ -3028,7 +2980,7 @@ class EndpointResolverTest: XCTestCase { } /// outpost bucket arn@us-west-2 - func testResolve106() throws { + func testResolve107() throws { let endpointParams = EndpointParams( bucket: "arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket:mybucket", region: "us-west-2", @@ -3061,7 +3013,7 @@ class EndpointResolverTest: XCTestCase { } /// S3 Snow Control with bucket - func testResolve107() throws { + func testResolve108() throws { let endpointParams = EndpointParams( bucket: "bucketName", endpoint: "https://10.0.1.12:433", @@ -3092,7 +3044,7 @@ class EndpointResolverTest: XCTestCase { } /// S3 Snow Control without bucket - func testResolve108() throws { + func testResolve109() throws { let endpointParams = EndpointParams( endpoint: "https://10.0.1.12:433", region: "snow", @@ -3122,7 +3074,7 @@ class EndpointResolverTest: XCTestCase { } /// S3 Snow Control with bucket and without port - func testResolve109() throws { + func testResolve110() throws { let endpointParams = EndpointParams( bucket: "bucketName", endpoint: "https://10.0.1.12", @@ -3153,7 +3105,7 @@ class EndpointResolverTest: XCTestCase { } /// S3 Snow Control with bucket and with DNS - func testResolve110() throws { + func testResolve111() throws { let endpointParams = EndpointParams( bucket: "bucketName", endpoint: "http://s3snow.com", @@ -3184,7 +3136,7 @@ class EndpointResolverTest: XCTestCase { } /// S3 Snow Control with FIPS enabled - func testResolve111() throws { + func testResolve112() throws { let endpointParams = EndpointParams( bucket: "bucketName", endpoint: "https://10.0.1.12:433", @@ -3205,7 +3157,7 @@ class EndpointResolverTest: XCTestCase { } /// S3 Snow Control with Dualstack enabled - func testResolve112() throws { + func testResolve113() throws { let endpointParams = EndpointParams( bucket: "bucketName", endpoint: "https://10.0.1.12:433", diff --git a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/Models.swift b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/Models.swift index 630394b931e..f05bd993fb8 100644 --- a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/Models.swift +++ b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct OutpostOfflineException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -158,7 +158,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -182,7 +182,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -680,7 +680,7 @@ extension CreateEndpointInput { extension CreateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -692,14 +692,14 @@ extension CreateEndpointOutput { extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { return DeleteEndpointOutput() } } extension ListEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -712,7 +712,7 @@ extension ListEndpointsOutput { extension ListOutpostsWithS3Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOutpostsWithS3Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOutpostsWithS3Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -725,7 +725,7 @@ extension ListOutpostsWithS3Output { extension ListSharedEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSharedEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSharedEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -738,7 +738,7 @@ extension ListSharedEndpointsOutput { enum CreateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -758,7 +758,7 @@ enum CreateEndpointOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -777,7 +777,7 @@ enum DeleteEndpointOutputError { enum ListEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -795,7 +795,7 @@ enum ListEndpointsOutputError { enum ListOutpostsWithS3OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -812,7 +812,7 @@ enum ListOutpostsWithS3OutputError { enum ListSharedEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSES/Sources/AWSSES/Models.swift b/Sources/Services/AWSSES/Sources/AWSSES/Models.swift index 0af9eb08c91..7d9106c6ed9 100644 --- a/Sources/Services/AWSSES/Sources/AWSSES/Models.swift +++ b/Sources/Services/AWSSES/Sources/AWSSES/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -95,7 +95,7 @@ public struct AccountSendingPausedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -143,7 +143,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -644,7 +644,7 @@ public struct CannotDeleteException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -670,7 +670,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -696,7 +696,7 @@ public struct RuleSetDoesNotExistException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -860,7 +860,7 @@ public struct ConfigurationSetAlreadyExistsException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -923,7 +923,7 @@ public struct ConfigurationSetDoesNotExistException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -951,7 +951,7 @@ public struct ConfigurationSetSendingPausedException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -977,7 +977,7 @@ public struct InvalidConfigurationSetException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1025,7 +1025,7 @@ public struct EventDestinationAlreadyExistsException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1057,7 +1057,7 @@ public struct InvalidCloudWatchDestinationException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1089,7 +1089,7 @@ public struct InvalidFirehoseDestinationException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1121,7 +1121,7 @@ public struct InvalidSNSDestinationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1322,7 +1322,7 @@ public struct InvalidTrackingOptionsException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1348,7 +1348,7 @@ public struct TrackingOptionsAlreadyExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1415,7 +1415,7 @@ public struct CustomVerificationEmailInvalidContentException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1441,7 +1441,7 @@ public struct CustomVerificationEmailTemplateAlreadyExistsException: ClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1469,7 +1469,7 @@ public struct FromEmailAddressNotVerifiedException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1635,7 +1635,7 @@ public struct InvalidLambdaFunctionException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1663,7 +1663,7 @@ public struct InvalidS3ConfigurationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1691,7 +1691,7 @@ public struct InvalidSnsTopicException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1719,7 +1719,7 @@ public struct RuleDoesNotExistException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2121,7 +2121,7 @@ public struct InvalidTemplateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2264,7 +2264,7 @@ public struct CustomVerificationEmailTemplateDoesNotExistException: ClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2314,7 +2314,7 @@ public struct EventDestinationDoesNotExistException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2369,7 +2369,7 @@ public struct TrackingOptionsDoesNotExistException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3199,7 +3199,7 @@ public struct TemplateDoesNotExistException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3279,7 +3279,7 @@ public struct InvalidDeliveryOptionsException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3303,7 +3303,7 @@ public struct InvalidPolicyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3328,7 +3328,7 @@ public struct InvalidRenderingParameterException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3603,7 +3603,7 @@ public struct MailFromDomainNotVerifiedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3674,7 +3674,7 @@ public struct MessageRejected: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3699,7 +3699,7 @@ public struct MissingRenderingAttributeException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3757,7 +3757,7 @@ public struct ProductionAccessNotGrantedException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6001,147 +6001,147 @@ extension VerifyEmailIdentityInput { extension CloneReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CloneReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CloneReceiptRuleSetOutput { return CloneReceiptRuleSetOutput() } } extension CreateConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetOutput { return CreateConfigurationSetOutput() } } extension CreateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetEventDestinationOutput { return CreateConfigurationSetEventDestinationOutput() } } extension CreateConfigurationSetTrackingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetTrackingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetTrackingOptionsOutput { return CreateConfigurationSetTrackingOptionsOutput() } } extension CreateCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomVerificationEmailTemplateOutput { return CreateCustomVerificationEmailTemplateOutput() } } extension CreateReceiptFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReceiptFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReceiptFilterOutput { return CreateReceiptFilterOutput() } } extension CreateReceiptRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReceiptRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReceiptRuleOutput { return CreateReceiptRuleOutput() } } extension CreateReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReceiptRuleSetOutput { return CreateReceiptRuleSetOutput() } } extension CreateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateOutput { return CreateTemplateOutput() } } extension DeleteConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetOutput { return DeleteConfigurationSetOutput() } } extension DeleteConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { return DeleteConfigurationSetEventDestinationOutput() } } extension DeleteConfigurationSetTrackingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetTrackingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetTrackingOptionsOutput { return DeleteConfigurationSetTrackingOptionsOutput() } } extension DeleteCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomVerificationEmailTemplateOutput { return DeleteCustomVerificationEmailTemplateOutput() } } extension DeleteIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityOutput { return DeleteIdentityOutput() } } extension DeleteIdentityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityPolicyOutput { return DeleteIdentityPolicyOutput() } } extension DeleteReceiptFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReceiptFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReceiptFilterOutput { return DeleteReceiptFilterOutput() } } extension DeleteReceiptRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReceiptRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReceiptRuleOutput { return DeleteReceiptRuleOutput() } } extension DeleteReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReceiptRuleSetOutput { return DeleteReceiptRuleSetOutput() } } extension DeleteTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateOutput { return DeleteTemplateOutput() } } extension DeleteVerifiedEmailAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVerifiedEmailAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVerifiedEmailAddressOutput { return DeleteVerifiedEmailAddressOutput() } } extension DescribeActiveReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActiveReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActiveReceiptRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeActiveReceiptRuleSetResult"] @@ -6154,7 +6154,7 @@ extension DescribeActiveReceiptRuleSetOutput { extension DescribeConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConfigurationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeConfigurationSetResult"] @@ -6170,7 +6170,7 @@ extension DescribeConfigurationSetOutput { extension DescribeReceiptRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReceiptRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReceiptRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReceiptRuleResult"] @@ -6182,7 +6182,7 @@ extension DescribeReceiptRuleOutput { extension DescribeReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReceiptRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DescribeReceiptRuleSetResult"] @@ -6195,7 +6195,7 @@ extension DescribeReceiptRuleSetOutput { extension GetAccountSendingEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountSendingEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountSendingEnabledOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetAccountSendingEnabledResult"] @@ -6207,7 +6207,7 @@ extension GetAccountSendingEnabledOutput { extension GetCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomVerificationEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetCustomVerificationEmailTemplateResult"] @@ -6224,7 +6224,7 @@ extension GetCustomVerificationEmailTemplateOutput { extension GetIdentityDkimAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityDkimAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityDkimAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetIdentityDkimAttributesResult"] @@ -6236,7 +6236,7 @@ extension GetIdentityDkimAttributesOutput { extension GetIdentityMailFromDomainAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityMailFromDomainAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityMailFromDomainAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetIdentityMailFromDomainAttributesResult"] @@ -6248,7 +6248,7 @@ extension GetIdentityMailFromDomainAttributesOutput { extension GetIdentityNotificationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityNotificationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityNotificationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetIdentityNotificationAttributesResult"] @@ -6260,7 +6260,7 @@ extension GetIdentityNotificationAttributesOutput { extension GetIdentityPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetIdentityPoliciesResult"] @@ -6272,7 +6272,7 @@ extension GetIdentityPoliciesOutput { extension GetIdentityVerificationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityVerificationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityVerificationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetIdentityVerificationAttributesResult"] @@ -6284,7 +6284,7 @@ extension GetIdentityVerificationAttributesOutput { extension GetSendQuotaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSendQuotaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSendQuotaOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSendQuotaResult"] @@ -6298,7 +6298,7 @@ extension GetSendQuotaOutput { extension GetSendStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSendStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSendStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSendStatisticsResult"] @@ -6310,7 +6310,7 @@ extension GetSendStatisticsOutput { extension GetTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetTemplateResult"] @@ -6322,7 +6322,7 @@ extension GetTemplateOutput { extension ListConfigurationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListConfigurationSetsResult"] @@ -6335,7 +6335,7 @@ extension ListConfigurationSetsOutput { extension ListCustomVerificationEmailTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomVerificationEmailTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomVerificationEmailTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListCustomVerificationEmailTemplatesResult"] @@ -6348,7 +6348,7 @@ extension ListCustomVerificationEmailTemplatesOutput { extension ListIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListIdentitiesResult"] @@ -6361,7 +6361,7 @@ extension ListIdentitiesOutput { extension ListIdentityPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListIdentityPoliciesResult"] @@ -6373,7 +6373,7 @@ extension ListIdentityPoliciesOutput { extension ListReceiptFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReceiptFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReceiptFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListReceiptFiltersResult"] @@ -6385,7 +6385,7 @@ extension ListReceiptFiltersOutput { extension ListReceiptRuleSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReceiptRuleSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReceiptRuleSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListReceiptRuleSetsResult"] @@ -6398,7 +6398,7 @@ extension ListReceiptRuleSetsOutput { extension ListTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTemplatesResult"] @@ -6411,7 +6411,7 @@ extension ListTemplatesOutput { extension ListVerifiedEmailAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVerifiedEmailAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVerifiedEmailAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListVerifiedEmailAddressesResult"] @@ -6423,28 +6423,28 @@ extension ListVerifiedEmailAddressesOutput { extension PutConfigurationSetDeliveryOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetDeliveryOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetDeliveryOptionsOutput { return PutConfigurationSetDeliveryOptionsOutput() } } extension PutIdentityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutIdentityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutIdentityPolicyOutput { return PutIdentityPolicyOutput() } } extension ReorderReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReorderReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReorderReceiptRuleSetOutput { return ReorderReceiptRuleSetOutput() } } extension SendBounceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendBounceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendBounceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SendBounceResult"] @@ -6456,7 +6456,7 @@ extension SendBounceOutput { extension SendBulkTemplatedEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendBulkTemplatedEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendBulkTemplatedEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SendBulkTemplatedEmailResult"] @@ -6468,7 +6468,7 @@ extension SendBulkTemplatedEmailOutput { extension SendCustomVerificationEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendCustomVerificationEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendCustomVerificationEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SendCustomVerificationEmailResult"] @@ -6480,7 +6480,7 @@ extension SendCustomVerificationEmailOutput { extension SendEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SendEmailResult"] @@ -6492,7 +6492,7 @@ extension SendEmailOutput { extension SendRawEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendRawEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendRawEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SendRawEmailResult"] @@ -6504,7 +6504,7 @@ extension SendRawEmailOutput { extension SendTemplatedEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendTemplatedEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendTemplatedEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SendTemplatedEmailResult"] @@ -6516,56 +6516,56 @@ extension SendTemplatedEmailOutput { extension SetActiveReceiptRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetActiveReceiptRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetActiveReceiptRuleSetOutput { return SetActiveReceiptRuleSetOutput() } } extension SetIdentityDkimEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityDkimEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityDkimEnabledOutput { return SetIdentityDkimEnabledOutput() } } extension SetIdentityFeedbackForwardingEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityFeedbackForwardingEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityFeedbackForwardingEnabledOutput { return SetIdentityFeedbackForwardingEnabledOutput() } } extension SetIdentityHeadersInNotificationsEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityHeadersInNotificationsEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityHeadersInNotificationsEnabledOutput { return SetIdentityHeadersInNotificationsEnabledOutput() } } extension SetIdentityMailFromDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityMailFromDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityMailFromDomainOutput { return SetIdentityMailFromDomainOutput() } } extension SetIdentityNotificationTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetIdentityNotificationTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetIdentityNotificationTopicOutput { return SetIdentityNotificationTopicOutput() } } extension SetReceiptRulePositionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetReceiptRulePositionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetReceiptRulePositionOutput { return SetReceiptRulePositionOutput() } } extension TestRenderTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestRenderTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestRenderTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["TestRenderTemplateResult"] @@ -6577,63 +6577,63 @@ extension TestRenderTemplateOutput { extension UpdateAccountSendingEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSendingEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSendingEnabledOutput { return UpdateAccountSendingEnabledOutput() } } extension UpdateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { return UpdateConfigurationSetEventDestinationOutput() } } extension UpdateConfigurationSetReputationMetricsEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetReputationMetricsEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetReputationMetricsEnabledOutput { return UpdateConfigurationSetReputationMetricsEnabledOutput() } } extension UpdateConfigurationSetSendingEnabledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetSendingEnabledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetSendingEnabledOutput { return UpdateConfigurationSetSendingEnabledOutput() } } extension UpdateConfigurationSetTrackingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetTrackingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetTrackingOptionsOutput { return UpdateConfigurationSetTrackingOptionsOutput() } } extension UpdateCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomVerificationEmailTemplateOutput { return UpdateCustomVerificationEmailTemplateOutput() } } extension UpdateReceiptRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReceiptRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReceiptRuleOutput { return UpdateReceiptRuleOutput() } } extension UpdateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTemplateOutput { return UpdateTemplateOutput() } } extension VerifyDomainDkimOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyDomainDkimOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyDomainDkimOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["VerifyDomainDkimResult"] @@ -6645,7 +6645,7 @@ extension VerifyDomainDkimOutput { extension VerifyDomainIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyDomainIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyDomainIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["VerifyDomainIdentityResult"] @@ -6657,21 +6657,21 @@ extension VerifyDomainIdentityOutput { extension VerifyEmailAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyEmailAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyEmailAddressOutput { return VerifyEmailAddressOutput() } } extension VerifyEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifyEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifyEmailIdentityOutput { return VerifyEmailIdentityOutput() } } enum CloneReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6687,7 +6687,7 @@ enum CloneReceiptRuleSetOutputError { enum CreateConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6703,7 +6703,7 @@ enum CreateConfigurationSetOutputError { enum CreateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6722,7 +6722,7 @@ enum CreateConfigurationSetEventDestinationOutputError { enum CreateConfigurationSetTrackingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6738,7 +6738,7 @@ enum CreateConfigurationSetTrackingOptionsOutputError { enum CreateCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6755,7 +6755,7 @@ enum CreateCustomVerificationEmailTemplateOutputError { enum CreateReceiptFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6770,7 +6770,7 @@ enum CreateReceiptFilterOutputError { enum CreateReceiptRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6790,7 +6790,7 @@ enum CreateReceiptRuleOutputError { enum CreateReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6805,7 +6805,7 @@ enum CreateReceiptRuleSetOutputError { enum CreateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6821,7 +6821,7 @@ enum CreateTemplateOutputError { enum DeleteConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6835,7 +6835,7 @@ enum DeleteConfigurationSetOutputError { enum DeleteConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6850,7 +6850,7 @@ enum DeleteConfigurationSetEventDestinationOutputError { enum DeleteConfigurationSetTrackingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6865,7 +6865,7 @@ enum DeleteConfigurationSetTrackingOptionsOutputError { enum DeleteCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6878,7 +6878,7 @@ enum DeleteCustomVerificationEmailTemplateOutputError { enum DeleteIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6891,7 +6891,7 @@ enum DeleteIdentityOutputError { enum DeleteIdentityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6904,7 +6904,7 @@ enum DeleteIdentityPolicyOutputError { enum DeleteReceiptFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6917,7 +6917,7 @@ enum DeleteReceiptFilterOutputError { enum DeleteReceiptRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6931,7 +6931,7 @@ enum DeleteReceiptRuleOutputError { enum DeleteReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6945,7 +6945,7 @@ enum DeleteReceiptRuleSetOutputError { enum DeleteTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6958,7 +6958,7 @@ enum DeleteTemplateOutputError { enum DeleteVerifiedEmailAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6971,7 +6971,7 @@ enum DeleteVerifiedEmailAddressOutputError { enum DescribeActiveReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6984,7 +6984,7 @@ enum DescribeActiveReceiptRuleSetOutputError { enum DescribeConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6998,7 +6998,7 @@ enum DescribeConfigurationSetOutputError { enum DescribeReceiptRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7013,7 +7013,7 @@ enum DescribeReceiptRuleOutputError { enum DescribeReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7027,7 +7027,7 @@ enum DescribeReceiptRuleSetOutputError { enum GetAccountSendingEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7040,7 +7040,7 @@ enum GetAccountSendingEnabledOutputError { enum GetCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7054,7 +7054,7 @@ enum GetCustomVerificationEmailTemplateOutputError { enum GetIdentityDkimAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7067,7 +7067,7 @@ enum GetIdentityDkimAttributesOutputError { enum GetIdentityMailFromDomainAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7080,7 +7080,7 @@ enum GetIdentityMailFromDomainAttributesOutputError { enum GetIdentityNotificationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7093,7 +7093,7 @@ enum GetIdentityNotificationAttributesOutputError { enum GetIdentityPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7106,7 +7106,7 @@ enum GetIdentityPoliciesOutputError { enum GetIdentityVerificationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7119,7 +7119,7 @@ enum GetIdentityVerificationAttributesOutputError { enum GetSendQuotaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7132,7 +7132,7 @@ enum GetSendQuotaOutputError { enum GetSendStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7145,7 +7145,7 @@ enum GetSendStatisticsOutputError { enum GetTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7159,7 +7159,7 @@ enum GetTemplateOutputError { enum ListConfigurationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7172,7 +7172,7 @@ enum ListConfigurationSetsOutputError { enum ListCustomVerificationEmailTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7185,7 +7185,7 @@ enum ListCustomVerificationEmailTemplatesOutputError { enum ListIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7198,7 +7198,7 @@ enum ListIdentitiesOutputError { enum ListIdentityPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7211,7 +7211,7 @@ enum ListIdentityPoliciesOutputError { enum ListReceiptFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7224,7 +7224,7 @@ enum ListReceiptFiltersOutputError { enum ListReceiptRuleSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7237,7 +7237,7 @@ enum ListReceiptRuleSetsOutputError { enum ListTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7250,7 +7250,7 @@ enum ListTemplatesOutputError { enum ListVerifiedEmailAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7263,7 +7263,7 @@ enum ListVerifiedEmailAddressesOutputError { enum PutConfigurationSetDeliveryOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7278,7 +7278,7 @@ enum PutConfigurationSetDeliveryOptionsOutputError { enum PutIdentityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7292,7 +7292,7 @@ enum PutIdentityPolicyOutputError { enum ReorderReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7307,7 +7307,7 @@ enum ReorderReceiptRuleSetOutputError { enum SendBounceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7321,7 +7321,7 @@ enum SendBounceOutputError { enum SendBulkTemplatedEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7340,7 +7340,7 @@ enum SendBulkTemplatedEmailOutputError { enum SendCustomVerificationEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7358,7 +7358,7 @@ enum SendCustomVerificationEmailOutputError { enum SendEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7376,7 +7376,7 @@ enum SendEmailOutputError { enum SendRawEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7394,7 +7394,7 @@ enum SendRawEmailOutputError { enum SendTemplatedEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7413,7 +7413,7 @@ enum SendTemplatedEmailOutputError { enum SetActiveReceiptRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7427,7 +7427,7 @@ enum SetActiveReceiptRuleSetOutputError { enum SetIdentityDkimEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7440,7 +7440,7 @@ enum SetIdentityDkimEnabledOutputError { enum SetIdentityFeedbackForwardingEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7453,7 +7453,7 @@ enum SetIdentityFeedbackForwardingEnabledOutputError { enum SetIdentityHeadersInNotificationsEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7466,7 +7466,7 @@ enum SetIdentityHeadersInNotificationsEnabledOutputError { enum SetIdentityMailFromDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7479,7 +7479,7 @@ enum SetIdentityMailFromDomainOutputError { enum SetIdentityNotificationTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7492,7 +7492,7 @@ enum SetIdentityNotificationTopicOutputError { enum SetReceiptRulePositionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7507,7 +7507,7 @@ enum SetReceiptRulePositionOutputError { enum TestRenderTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7523,7 +7523,7 @@ enum TestRenderTemplateOutputError { enum UpdateAccountSendingEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7536,7 +7536,7 @@ enum UpdateAccountSendingEnabledOutputError { enum UpdateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7554,7 +7554,7 @@ enum UpdateConfigurationSetEventDestinationOutputError { enum UpdateConfigurationSetReputationMetricsEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7568,7 +7568,7 @@ enum UpdateConfigurationSetReputationMetricsEnabledOutputError { enum UpdateConfigurationSetSendingEnabledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7582,7 +7582,7 @@ enum UpdateConfigurationSetSendingEnabledOutputError { enum UpdateConfigurationSetTrackingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7598,7 +7598,7 @@ enum UpdateConfigurationSetTrackingOptionsOutputError { enum UpdateCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7614,7 +7614,7 @@ enum UpdateCustomVerificationEmailTemplateOutputError { enum UpdateReceiptRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7633,7 +7633,7 @@ enum UpdateReceiptRuleOutputError { enum UpdateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7648,7 +7648,7 @@ enum UpdateTemplateOutputError { enum VerifyDomainDkimOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7661,7 +7661,7 @@ enum VerifyDomainDkimOutputError { enum VerifyDomainIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7674,7 +7674,7 @@ enum VerifyDomainIdentityOutputError { enum VerifyEmailAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7687,7 +7687,7 @@ enum VerifyEmailAddressOutputError { enum VerifyEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift index 42e76daaac1..c3b9ab1bee0 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -207,7 +207,7 @@ public struct AccountSuspendedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -231,7 +231,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -255,7 +255,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -279,7 +279,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -303,7 +303,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -327,7 +327,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1252,7 +1252,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1276,7 +1276,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1458,7 +1458,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2200,7 +2200,7 @@ public struct MailFromDomainNotVerifiedException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2224,7 +2224,7 @@ public struct MessageRejected: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2248,7 +2248,7 @@ public struct SendingPausedException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2903,6 +2903,11 @@ extension SESv2ClientTypes { } +extension SESv2ClientTypes.MessageInsightsFilters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "MessageInsightsFilters(isp: \(Swift.String(describing: isp)), lastDeliveryEvent: \(Swift.String(describing: lastDeliveryEvent)), lastEngagementEvent: \(Swift.String(describing: lastEngagementEvent)), destination: \"CONTENT_REDACTED\", fromEmailAddress: \"CONTENT_REDACTED\", subject: \"CONTENT_REDACTED\")"} +} + extension SESv2ClientTypes { /// An object that contains filters applied when performing the Message Insights export. public struct MessageInsightsDataSource { @@ -5681,7 +5686,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9031,7 +9036,7 @@ extension UpdateEmailTemplateInput { extension BatchGetMetricDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetMetricDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetMetricDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9044,56 +9049,56 @@ extension BatchGetMetricDataOutput { extension CancelExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelExportJobOutput { return CancelExportJobOutput() } } extension CreateConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetOutput { return CreateConfigurationSetOutput() } } extension CreateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationSetEventDestinationOutput { return CreateConfigurationSetEventDestinationOutput() } } extension CreateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactOutput { return CreateContactOutput() } } extension CreateContactListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactListOutput { return CreateContactListOutput() } } extension CreateCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomVerificationEmailTemplateOutput { return CreateCustomVerificationEmailTemplateOutput() } } extension CreateDedicatedIpPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDedicatedIpPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDedicatedIpPoolOutput { return CreateDedicatedIpPoolOutput() } } extension CreateDeliverabilityTestReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeliverabilityTestReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeliverabilityTestReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9106,7 +9111,7 @@ extension CreateDeliverabilityTestReportOutput { extension CreateEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEmailIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9120,21 +9125,21 @@ extension CreateEmailIdentityOutput { extension CreateEmailIdentityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEmailIdentityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEmailIdentityPolicyOutput { return CreateEmailIdentityPolicyOutput() } } extension CreateEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEmailTemplateOutput { return CreateEmailTemplateOutput() } } extension CreateExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9146,7 +9151,7 @@ extension CreateExportJobOutput { extension CreateImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9158,77 +9163,77 @@ extension CreateImportJobOutput { extension DeleteConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetOutput { return DeleteConfigurationSetOutput() } } extension DeleteConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationSetEventDestinationOutput { return DeleteConfigurationSetEventDestinationOutput() } } extension DeleteContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactOutput { return DeleteContactOutput() } } extension DeleteContactListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactListOutput { return DeleteContactListOutput() } } extension DeleteCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomVerificationEmailTemplateOutput { return DeleteCustomVerificationEmailTemplateOutput() } } extension DeleteDedicatedIpPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDedicatedIpPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDedicatedIpPoolOutput { return DeleteDedicatedIpPoolOutput() } } extension DeleteEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailIdentityOutput { return DeleteEmailIdentityOutput() } } extension DeleteEmailIdentityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailIdentityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailIdentityPolicyOutput { return DeleteEmailIdentityPolicyOutput() } } extension DeleteEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailTemplateOutput { return DeleteEmailTemplateOutput() } } extension DeleteSuppressedDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSuppressedDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSuppressedDestinationOutput { return DeleteSuppressedDestinationOutput() } } extension GetAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9247,7 +9252,7 @@ extension GetAccountOutput { extension GetBlacklistReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBlacklistReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBlacklistReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9259,7 +9264,7 @@ extension GetBlacklistReportsOutput { extension GetConfigurationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9278,7 +9283,7 @@ extension GetConfigurationSetOutput { extension GetConfigurationSetEventDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationSetEventDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationSetEventDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9290,7 +9295,7 @@ extension GetConfigurationSetEventDestinationsOutput { extension GetContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9309,7 +9314,7 @@ extension GetContactOutput { extension GetContactListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactListOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9326,7 +9331,7 @@ extension GetContactListOutput { extension GetCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCustomVerificationEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9343,7 +9348,7 @@ extension GetCustomVerificationEmailTemplateOutput { extension GetDedicatedIpOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDedicatedIpOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDedicatedIpOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9355,7 +9360,7 @@ extension GetDedicatedIpOutput { extension GetDedicatedIpPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDedicatedIpPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDedicatedIpPoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9367,7 +9372,7 @@ extension GetDedicatedIpPoolOutput { extension GetDedicatedIpsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDedicatedIpsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDedicatedIpsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9380,7 +9385,7 @@ extension GetDedicatedIpsOutput { extension GetDeliverabilityDashboardOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliverabilityDashboardOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliverabilityDashboardOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9396,7 +9401,7 @@ extension GetDeliverabilityDashboardOptionsOutput { extension GetDeliverabilityTestReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeliverabilityTestReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeliverabilityTestReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9412,7 +9417,7 @@ extension GetDeliverabilityTestReportOutput { extension GetDomainDeliverabilityCampaignOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainDeliverabilityCampaignOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainDeliverabilityCampaignOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9424,7 +9429,7 @@ extension GetDomainDeliverabilityCampaignOutput { extension GetDomainStatisticsReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDomainStatisticsReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDomainStatisticsReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9437,7 +9442,7 @@ extension GetDomainStatisticsReportOutput { extension GetEmailIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEmailIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEmailIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9458,7 +9463,7 @@ extension GetEmailIdentityOutput { extension GetEmailIdentityPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEmailIdentityPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEmailIdentityPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9470,7 +9475,7 @@ extension GetEmailIdentityPoliciesOutput { extension GetEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9483,7 +9488,7 @@ extension GetEmailTemplateOutput { extension GetExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9503,7 +9508,7 @@ extension GetExportJobOutput { extension GetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9523,7 +9528,7 @@ extension GetImportJobOutput { extension GetMessageInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMessageInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMessageInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9539,7 +9544,7 @@ extension GetMessageInsightsOutput { extension GetSuppressedDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSuppressedDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSuppressedDestinationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9551,7 +9556,7 @@ extension GetSuppressedDestinationOutput { extension ListConfigurationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9564,7 +9569,7 @@ extension ListConfigurationSetsOutput { extension ListContactListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactListsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9577,7 +9582,7 @@ extension ListContactListsOutput { extension ListContactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9590,7 +9595,7 @@ extension ListContactsOutput { extension ListCustomVerificationEmailTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomVerificationEmailTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomVerificationEmailTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9603,7 +9608,7 @@ extension ListCustomVerificationEmailTemplatesOutput { extension ListDedicatedIpPoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDedicatedIpPoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDedicatedIpPoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9616,7 +9621,7 @@ extension ListDedicatedIpPoolsOutput { extension ListDeliverabilityTestReportsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeliverabilityTestReportsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeliverabilityTestReportsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9629,7 +9634,7 @@ extension ListDeliverabilityTestReportsOutput { extension ListDomainDeliverabilityCampaignsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainDeliverabilityCampaignsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainDeliverabilityCampaignsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9642,7 +9647,7 @@ extension ListDomainDeliverabilityCampaignsOutput { extension ListEmailIdentitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEmailIdentitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEmailIdentitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9655,7 +9660,7 @@ extension ListEmailIdentitiesOutput { extension ListEmailTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEmailTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEmailTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9668,7 +9673,7 @@ extension ListEmailTemplatesOutput { extension ListExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9681,7 +9686,7 @@ extension ListExportJobsOutput { extension ListImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9694,7 +9699,7 @@ extension ListImportJobsOutput { extension ListRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9707,7 +9712,7 @@ extension ListRecommendationsOutput { extension ListSuppressedDestinationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSuppressedDestinationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSuppressedDestinationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9720,7 +9725,7 @@ extension ListSuppressedDestinationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9732,126 +9737,126 @@ extension ListTagsForResourceOutput { extension PutAccountDedicatedIpWarmupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountDedicatedIpWarmupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountDedicatedIpWarmupAttributesOutput { return PutAccountDedicatedIpWarmupAttributesOutput() } } extension PutAccountDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountDetailsOutput { return PutAccountDetailsOutput() } } extension PutAccountSendingAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountSendingAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountSendingAttributesOutput { return PutAccountSendingAttributesOutput() } } extension PutAccountSuppressionAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountSuppressionAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountSuppressionAttributesOutput { return PutAccountSuppressionAttributesOutput() } } extension PutAccountVdmAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountVdmAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountVdmAttributesOutput { return PutAccountVdmAttributesOutput() } } extension PutConfigurationSetDeliveryOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetDeliveryOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetDeliveryOptionsOutput { return PutConfigurationSetDeliveryOptionsOutput() } } extension PutConfigurationSetReputationOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetReputationOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetReputationOptionsOutput { return PutConfigurationSetReputationOptionsOutput() } } extension PutConfigurationSetSendingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetSendingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetSendingOptionsOutput { return PutConfigurationSetSendingOptionsOutput() } } extension PutConfigurationSetSuppressionOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetSuppressionOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetSuppressionOptionsOutput { return PutConfigurationSetSuppressionOptionsOutput() } } extension PutConfigurationSetTrackingOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetTrackingOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetTrackingOptionsOutput { return PutConfigurationSetTrackingOptionsOutput() } } extension PutConfigurationSetVdmOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationSetVdmOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationSetVdmOptionsOutput { return PutConfigurationSetVdmOptionsOutput() } } extension PutDedicatedIpInPoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDedicatedIpInPoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDedicatedIpInPoolOutput { return PutDedicatedIpInPoolOutput() } } extension PutDedicatedIpPoolScalingAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDedicatedIpPoolScalingAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDedicatedIpPoolScalingAttributesOutput { return PutDedicatedIpPoolScalingAttributesOutput() } } extension PutDedicatedIpWarmupAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDedicatedIpWarmupAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDedicatedIpWarmupAttributesOutput { return PutDedicatedIpWarmupAttributesOutput() } } extension PutDeliverabilityDashboardOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDeliverabilityDashboardOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDeliverabilityDashboardOptionOutput { return PutDeliverabilityDashboardOptionOutput() } } extension PutEmailIdentityConfigurationSetAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityConfigurationSetAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityConfigurationSetAttributesOutput { return PutEmailIdentityConfigurationSetAttributesOutput() } } extension PutEmailIdentityDkimAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityDkimAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityDkimAttributesOutput { return PutEmailIdentityDkimAttributesOutput() } } extension PutEmailIdentityDkimSigningAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityDkimSigningAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityDkimSigningAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9864,28 +9869,28 @@ extension PutEmailIdentityDkimSigningAttributesOutput { extension PutEmailIdentityFeedbackAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityFeedbackAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityFeedbackAttributesOutput { return PutEmailIdentityFeedbackAttributesOutput() } } extension PutEmailIdentityMailFromAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailIdentityMailFromAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailIdentityMailFromAttributesOutput { return PutEmailIdentityMailFromAttributesOutput() } } extension PutSuppressedDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSuppressedDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSuppressedDestinationOutput { return PutSuppressedDestinationOutput() } } extension SendBulkEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendBulkEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendBulkEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9897,7 +9902,7 @@ extension SendBulkEmailOutput { extension SendCustomVerificationEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendCustomVerificationEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendCustomVerificationEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9909,7 +9914,7 @@ extension SendCustomVerificationEmailOutput { extension SendEmailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendEmailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendEmailOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9921,14 +9926,14 @@ extension SendEmailOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestRenderEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestRenderEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestRenderEmailTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9940,56 +9945,56 @@ extension TestRenderEmailTemplateOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateConfigurationSetEventDestinationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationSetEventDestinationOutput { return UpdateConfigurationSetEventDestinationOutput() } } extension UpdateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactOutput { return UpdateContactOutput() } } extension UpdateContactListOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactListOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactListOutput { return UpdateContactListOutput() } } extension UpdateCustomVerificationEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCustomVerificationEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCustomVerificationEmailTemplateOutput { return UpdateCustomVerificationEmailTemplateOutput() } } extension UpdateEmailIdentityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEmailIdentityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEmailIdentityPolicyOutput { return UpdateEmailIdentityPolicyOutput() } } extension UpdateEmailTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEmailTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEmailTemplateOutput { return UpdateEmailTemplateOutput() } } enum BatchGetMetricDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10006,7 +10011,7 @@ enum BatchGetMetricDataOutputError { enum CancelExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10022,7 +10027,7 @@ enum CancelExportJobOutputError { enum CreateConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10041,7 +10046,7 @@ enum CreateConfigurationSetOutputError { enum CreateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10059,7 +10064,7 @@ enum CreateConfigurationSetEventDestinationOutputError { enum CreateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10076,7 +10081,7 @@ enum CreateContactOutputError { enum CreateContactListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10093,7 +10098,7 @@ enum CreateContactListOutputError { enum CreateCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10111,7 +10116,7 @@ enum CreateCustomVerificationEmailTemplateOutputError { enum CreateDedicatedIpPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10129,7 +10134,7 @@ enum CreateDedicatedIpPoolOutputError { enum CreateDeliverabilityTestReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10151,7 +10156,7 @@ enum CreateDeliverabilityTestReportOutputError { enum CreateEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10170,7 +10175,7 @@ enum CreateEmailIdentityOutputError { enum CreateEmailIdentityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10188,7 +10193,7 @@ enum CreateEmailIdentityPolicyOutputError { enum CreateEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10205,7 +10210,7 @@ enum CreateEmailTemplateOutputError { enum CreateExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10222,7 +10227,7 @@ enum CreateExportJobOutputError { enum CreateImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10238,7 +10243,7 @@ enum CreateImportJobOutputError { enum DeleteConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10255,7 +10260,7 @@ enum DeleteConfigurationSetOutputError { enum DeleteConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10271,7 +10276,7 @@ enum DeleteConfigurationSetEventDestinationOutputError { enum DeleteContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10287,7 +10292,7 @@ enum DeleteContactOutputError { enum DeleteContactListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10304,7 +10309,7 @@ enum DeleteContactListOutputError { enum DeleteCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10320,7 +10325,7 @@ enum DeleteCustomVerificationEmailTemplateOutputError { enum DeleteDedicatedIpPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10337,7 +10342,7 @@ enum DeleteDedicatedIpPoolOutputError { enum DeleteEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10354,7 +10359,7 @@ enum DeleteEmailIdentityOutputError { enum DeleteEmailIdentityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10370,7 +10375,7 @@ enum DeleteEmailIdentityPolicyOutputError { enum DeleteEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10386,7 +10391,7 @@ enum DeleteEmailTemplateOutputError { enum DeleteSuppressedDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10402,7 +10407,7 @@ enum DeleteSuppressedDestinationOutputError { enum GetAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10417,7 +10422,7 @@ enum GetAccountOutputError { enum GetBlacklistReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10433,7 +10438,7 @@ enum GetBlacklistReportsOutputError { enum GetConfigurationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10449,7 +10454,7 @@ enum GetConfigurationSetOutputError { enum GetConfigurationSetEventDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10465,7 +10470,7 @@ enum GetConfigurationSetEventDestinationsOutputError { enum GetContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10481,7 +10486,7 @@ enum GetContactOutputError { enum GetContactListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10497,7 +10502,7 @@ enum GetContactListOutputError { enum GetCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10513,7 +10518,7 @@ enum GetCustomVerificationEmailTemplateOutputError { enum GetDedicatedIpOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10529,7 +10534,7 @@ enum GetDedicatedIpOutputError { enum GetDedicatedIpPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10545,7 +10550,7 @@ enum GetDedicatedIpPoolOutputError { enum GetDedicatedIpsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10561,7 +10566,7 @@ enum GetDedicatedIpsOutputError { enum GetDeliverabilityDashboardOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10577,7 +10582,7 @@ enum GetDeliverabilityDashboardOptionsOutputError { enum GetDeliverabilityTestReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10593,7 +10598,7 @@ enum GetDeliverabilityTestReportOutputError { enum GetDomainDeliverabilityCampaignOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10609,7 +10614,7 @@ enum GetDomainDeliverabilityCampaignOutputError { enum GetDomainStatisticsReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10625,7 +10630,7 @@ enum GetDomainStatisticsReportOutputError { enum GetEmailIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10641,7 +10646,7 @@ enum GetEmailIdentityOutputError { enum GetEmailIdentityPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10657,7 +10662,7 @@ enum GetEmailIdentityPoliciesOutputError { enum GetEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10673,7 +10678,7 @@ enum GetEmailTemplateOutputError { enum GetExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10689,7 +10694,7 @@ enum GetExportJobOutputError { enum GetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10705,7 +10710,7 @@ enum GetImportJobOutputError { enum GetMessageInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10721,7 +10726,7 @@ enum GetMessageInsightsOutputError { enum GetSuppressedDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10737,7 +10742,7 @@ enum GetSuppressedDestinationOutputError { enum ListConfigurationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10752,7 +10757,7 @@ enum ListConfigurationSetsOutputError { enum ListContactListsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10767,7 +10772,7 @@ enum ListContactListsOutputError { enum ListContactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10783,7 +10788,7 @@ enum ListContactsOutputError { enum ListCustomVerificationEmailTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10798,7 +10803,7 @@ enum ListCustomVerificationEmailTemplatesOutputError { enum ListDedicatedIpPoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10813,7 +10818,7 @@ enum ListDedicatedIpPoolsOutputError { enum ListDeliverabilityTestReportsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10829,7 +10834,7 @@ enum ListDeliverabilityTestReportsOutputError { enum ListDomainDeliverabilityCampaignsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10845,7 +10850,7 @@ enum ListDomainDeliverabilityCampaignsOutputError { enum ListEmailIdentitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10860,7 +10865,7 @@ enum ListEmailIdentitiesOutputError { enum ListEmailTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10875,7 +10880,7 @@ enum ListEmailTemplatesOutputError { enum ListExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10890,7 +10895,7 @@ enum ListExportJobsOutputError { enum ListImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10905,7 +10910,7 @@ enum ListImportJobsOutputError { enum ListRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10921,7 +10926,7 @@ enum ListRecommendationsOutputError { enum ListSuppressedDestinationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10937,7 +10942,7 @@ enum ListSuppressedDestinationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10953,7 +10958,7 @@ enum ListTagsForResourceOutputError { enum PutAccountDedicatedIpWarmupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10968,7 +10973,7 @@ enum PutAccountDedicatedIpWarmupAttributesOutputError { enum PutAccountDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10984,7 +10989,7 @@ enum PutAccountDetailsOutputError { enum PutAccountSendingAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10999,7 +11004,7 @@ enum PutAccountSendingAttributesOutputError { enum PutAccountSuppressionAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11014,7 +11019,7 @@ enum PutAccountSuppressionAttributesOutputError { enum PutAccountVdmAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11029,7 +11034,7 @@ enum PutAccountVdmAttributesOutputError { enum PutConfigurationSetDeliveryOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11045,7 +11050,7 @@ enum PutConfigurationSetDeliveryOptionsOutputError { enum PutConfigurationSetReputationOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11061,7 +11066,7 @@ enum PutConfigurationSetReputationOptionsOutputError { enum PutConfigurationSetSendingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11077,7 +11082,7 @@ enum PutConfigurationSetSendingOptionsOutputError { enum PutConfigurationSetSuppressionOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11093,7 +11098,7 @@ enum PutConfigurationSetSuppressionOptionsOutputError { enum PutConfigurationSetTrackingOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11109,7 +11114,7 @@ enum PutConfigurationSetTrackingOptionsOutputError { enum PutConfigurationSetVdmOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11125,7 +11130,7 @@ enum PutConfigurationSetVdmOptionsOutputError { enum PutDedicatedIpInPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11141,7 +11146,7 @@ enum PutDedicatedIpInPoolOutputError { enum PutDedicatedIpPoolScalingAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11158,7 +11163,7 @@ enum PutDedicatedIpPoolScalingAttributesOutputError { enum PutDedicatedIpWarmupAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11174,7 +11179,7 @@ enum PutDedicatedIpWarmupAttributesOutputError { enum PutDeliverabilityDashboardOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11192,7 +11197,7 @@ enum PutDeliverabilityDashboardOptionOutputError { enum PutEmailIdentityConfigurationSetAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11208,7 +11213,7 @@ enum PutEmailIdentityConfigurationSetAttributesOutputError { enum PutEmailIdentityDkimAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11224,7 +11229,7 @@ enum PutEmailIdentityDkimAttributesOutputError { enum PutEmailIdentityDkimSigningAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11240,7 +11245,7 @@ enum PutEmailIdentityDkimSigningAttributesOutputError { enum PutEmailIdentityFeedbackAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11256,7 +11261,7 @@ enum PutEmailIdentityFeedbackAttributesOutputError { enum PutEmailIdentityMailFromAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11272,7 +11277,7 @@ enum PutEmailIdentityMailFromAttributesOutputError { enum PutSuppressedDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11287,7 +11292,7 @@ enum PutSuppressedDestinationOutputError { enum SendBulkEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11308,7 +11313,7 @@ enum SendBulkEmailOutputError { enum SendCustomVerificationEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11328,7 +11333,7 @@ enum SendCustomVerificationEmailOutputError { enum SendEmailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11349,7 +11354,7 @@ enum SendEmailOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11366,7 +11371,7 @@ enum TagResourceOutputError { enum TestRenderEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11382,7 +11387,7 @@ enum TestRenderEmailTemplateOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11399,7 +11404,7 @@ enum UntagResourceOutputError { enum UpdateConfigurationSetEventDestinationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11415,7 +11420,7 @@ enum UpdateConfigurationSetEventDestinationOutputError { enum UpdateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11432,7 +11437,7 @@ enum UpdateContactOutputError { enum UpdateContactListOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11449,7 +11454,7 @@ enum UpdateContactListOutputError { enum UpdateCustomVerificationEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11465,7 +11470,7 @@ enum UpdateCustomVerificationEmailTemplateOutputError { enum UpdateEmailIdentityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11481,7 +11486,7 @@ enum UpdateEmailIdentityPolicyOutputError { enum UpdateEmailTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSFN/Sources/AWSSFN/Models.swift b/Sources/Services/AWSSFN/Sources/AWSSFN/Models.swift index f88e451f556..aac3174b7fe 100644 --- a/Sources/Services/AWSSFN/Sources/AWSSFN/Models.swift +++ b/Sources/Services/AWSSFN/Sources/AWSSFN/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -32,7 +32,7 @@ public struct ActivityDoesNotExist: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -81,7 +81,7 @@ public struct ActivityLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -290,7 +290,7 @@ public struct ActivityWorkerLimitExceeded: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -314,7 +314,7 @@ public struct InvalidName: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -339,7 +339,7 @@ public struct TooManyTags: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -433,7 +433,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -457,7 +457,7 @@ public struct InvalidArn: ClientRuntime.ModeledError, AWSClientRuntime.AWSServic public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -481,7 +481,7 @@ public struct InvalidDefinition: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -505,7 +505,7 @@ public struct InvalidLoggingConfiguration: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -529,7 +529,7 @@ public struct InvalidTracingConfiguration: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -553,7 +553,7 @@ public struct StateMachineAlreadyExists: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -577,7 +577,7 @@ public struct StateMachineDeleting: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -601,7 +601,7 @@ public struct StateMachineLimitExceeded: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -625,7 +625,7 @@ public struct StateMachineTypeNotSupported: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -686,7 +686,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -936,7 +936,7 @@ public struct ResourceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -962,7 +962,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1174,7 +1174,7 @@ public struct ExecutionDoesNotExist: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1670,7 +1670,7 @@ public struct StateMachineDoesNotExist: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1975,7 +1975,7 @@ public struct InvalidToken: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3738,7 +3738,7 @@ public struct ExecutionLimitExceeded: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3762,7 +3762,7 @@ public struct ExecutionNotRedrivable: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3816,7 +3816,7 @@ public struct TaskDoesNotExist: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3840,7 +3840,7 @@ public struct TaskTimedOut: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3913,7 +3913,7 @@ public struct InvalidOutput: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3965,7 +3965,7 @@ public struct ExecutionAlreadyExists: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3989,7 +3989,7 @@ public struct InvalidExecutionInput: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4612,7 +4612,7 @@ public struct MissingRequiredParameter: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5470,7 +5470,7 @@ extension ValidateStateMachineDefinitionInput { extension CreateActivityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateActivityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateActivityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5483,7 +5483,7 @@ extension CreateActivityOutput { extension CreateStateMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStateMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStateMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5497,7 +5497,7 @@ extension CreateStateMachineOutput { extension CreateStateMachineAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStateMachineAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStateMachineAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5510,35 +5510,35 @@ extension CreateStateMachineAliasOutput { extension DeleteActivityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteActivityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteActivityOutput { return DeleteActivityOutput() } } extension DeleteStateMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStateMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStateMachineOutput { return DeleteStateMachineOutput() } } extension DeleteStateMachineAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStateMachineAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStateMachineAliasOutput { return DeleteStateMachineAliasOutput() } } extension DeleteStateMachineVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStateMachineVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStateMachineVersionOutput { return DeleteStateMachineVersionOutput() } } extension DescribeActivityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActivityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActivityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5552,7 +5552,7 @@ extension DescribeActivityOutput { extension DescribeExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5583,7 +5583,7 @@ extension DescribeExecutionOutput { extension DescribeMapRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMapRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMapRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5606,7 +5606,7 @@ extension DescribeMapRunOutput { extension DescribeStateMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStateMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStateMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5629,7 +5629,7 @@ extension DescribeStateMachineOutput { extension DescribeStateMachineAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStateMachineAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStateMachineAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5646,7 +5646,7 @@ extension DescribeStateMachineAliasOutput { extension DescribeStateMachineForExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStateMachineForExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStateMachineForExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5667,7 +5667,7 @@ extension DescribeStateMachineForExecutionOutput { extension GetActivityTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetActivityTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetActivityTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5680,7 +5680,7 @@ extension GetActivityTaskOutput { extension GetExecutionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExecutionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExecutionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5693,7 +5693,7 @@ extension GetExecutionHistoryOutput { extension ListActivitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActivitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActivitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5706,7 +5706,7 @@ extension ListActivitiesOutput { extension ListExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5719,7 +5719,7 @@ extension ListExecutionsOutput { extension ListMapRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMapRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMapRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5732,7 +5732,7 @@ extension ListMapRunsOutput { extension ListStateMachineAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStateMachineAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStateMachineAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5745,7 +5745,7 @@ extension ListStateMachineAliasesOutput { extension ListStateMachinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStateMachinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStateMachinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5758,7 +5758,7 @@ extension ListStateMachinesOutput { extension ListStateMachineVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStateMachineVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStateMachineVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5771,7 +5771,7 @@ extension ListStateMachineVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5783,7 +5783,7 @@ extension ListTagsForResourceOutput { extension PublishStateMachineVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishStateMachineVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishStateMachineVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5796,7 +5796,7 @@ extension PublishStateMachineVersionOutput { extension RedriveExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RedriveExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RedriveExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5808,28 +5808,28 @@ extension RedriveExecutionOutput { extension SendTaskFailureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendTaskFailureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendTaskFailureOutput { return SendTaskFailureOutput() } } extension SendTaskHeartbeatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendTaskHeartbeatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendTaskHeartbeatOutput { return SendTaskHeartbeatOutput() } } extension SendTaskSuccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendTaskSuccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendTaskSuccessOutput { return SendTaskSuccessOutput() } } extension StartExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5842,7 +5842,7 @@ extension StartExecutionOutput { extension StartSyncExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSyncExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSyncExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5867,7 +5867,7 @@ extension StartSyncExecutionOutput { extension StopExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5879,14 +5879,14 @@ extension StopExecutionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5903,21 +5903,21 @@ extension TestStateOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateMapRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMapRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMapRunOutput { return UpdateMapRunOutput() } } extension UpdateStateMachineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStateMachineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStateMachineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5931,7 +5931,7 @@ extension UpdateStateMachineOutput { extension UpdateStateMachineAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStateMachineAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStateMachineAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5943,7 +5943,7 @@ extension UpdateStateMachineAliasOutput { extension ValidateStateMachineDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateStateMachineDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateStateMachineDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5956,7 +5956,7 @@ extension ValidateStateMachineDefinitionOutput { enum CreateActivityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5972,7 +5972,7 @@ enum CreateActivityOutputError { enum CreateStateMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5997,7 +5997,7 @@ enum CreateStateMachineOutputError { enum CreateStateMachineAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6017,7 +6017,7 @@ enum CreateStateMachineAliasOutputError { enum DeleteActivityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6031,7 +6031,7 @@ enum DeleteActivityOutputError { enum DeleteStateMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6046,7 +6046,7 @@ enum DeleteStateMachineOutputError { enum DeleteStateMachineAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6063,7 +6063,7 @@ enum DeleteStateMachineAliasOutputError { enum DeleteStateMachineVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6079,7 +6079,7 @@ enum DeleteStateMachineVersionOutputError { enum DescribeActivityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6094,7 +6094,7 @@ enum DescribeActivityOutputError { enum DescribeExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6109,7 +6109,7 @@ enum DescribeExecutionOutputError { enum DescribeMapRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6124,7 +6124,7 @@ enum DescribeMapRunOutputError { enum DescribeStateMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6139,7 +6139,7 @@ enum DescribeStateMachineOutputError { enum DescribeStateMachineAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6155,7 +6155,7 @@ enum DescribeStateMachineAliasOutputError { enum DescribeStateMachineForExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6170,7 +6170,7 @@ enum DescribeStateMachineForExecutionOutputError { enum GetActivityTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6186,7 +6186,7 @@ enum GetActivityTaskOutputError { enum GetExecutionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6202,7 +6202,7 @@ enum GetExecutionHistoryOutputError { enum ListActivitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6216,7 +6216,7 @@ enum ListActivitiesOutputError { enum ListExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6235,7 +6235,7 @@ enum ListExecutionsOutputError { enum ListMapRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6251,7 +6251,7 @@ enum ListMapRunsOutputError { enum ListStateMachineAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6269,7 +6269,7 @@ enum ListStateMachineAliasesOutputError { enum ListStateMachinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6283,7 +6283,7 @@ enum ListStateMachinesOutputError { enum ListStateMachineVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6299,7 +6299,7 @@ enum ListStateMachineVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6314,7 +6314,7 @@ enum ListTagsForResourceOutputError { enum PublishStateMachineVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6333,7 +6333,7 @@ enum PublishStateMachineVersionOutputError { enum RedriveExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6351,7 +6351,7 @@ enum RedriveExecutionOutputError { enum SendTaskFailureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6367,7 +6367,7 @@ enum SendTaskFailureOutputError { enum SendTaskHeartbeatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6383,7 +6383,7 @@ enum SendTaskHeartbeatOutputError { enum SendTaskSuccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6400,7 +6400,7 @@ enum SendTaskSuccessOutputError { enum StartExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6421,7 +6421,7 @@ enum StartExecutionOutputError { enum StartSyncExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6440,7 +6440,7 @@ enum StartSyncExecutionOutputError { enum StopExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6456,7 +6456,7 @@ enum StopExecutionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6472,7 +6472,7 @@ enum TagResourceOutputError { enum TestStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6489,7 +6489,7 @@ enum TestStateOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6504,7 +6504,7 @@ enum UntagResourceOutputError { enum UpdateMapRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6520,7 +6520,7 @@ enum UpdateMapRunOutputError { enum UpdateStateMachineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6543,7 +6543,7 @@ enum UpdateStateMachineOutputError { enum UpdateStateMachineAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6561,7 +6561,7 @@ enum UpdateStateMachineAliasOutputError { enum ValidateStateMachineDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSMS/Sources/AWSSMS/Models.swift b/Sources/Services/AWSSMS/Sources/AWSSMS/Models.swift index 6e084ee7226..35cffea7adc 100644 --- a/Sources/Services/AWSSMS/Sources/AWSSMS/Models.swift +++ b/Sources/Services/AWSSMS/Sources/AWSSMS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -570,7 +570,7 @@ public struct InternalError: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -594,7 +594,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -618,7 +618,7 @@ public struct MissingRequiredParameterException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -642,7 +642,7 @@ public struct OperationNotPermittedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -666,7 +666,7 @@ public struct UnauthorizedOperationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -928,7 +928,7 @@ public struct NoConnectorsAvailableException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -952,7 +952,7 @@ public struct ReplicationJobAlreadyExistsException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -976,7 +976,7 @@ public struct ServerCannotBeReplicatedException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -994,7 +994,7 @@ public struct TemporarilyUnavailableException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1192,7 +1192,7 @@ public struct ReplicationJobNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2729,7 +2729,7 @@ public struct DryRunOperationException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2753,7 +2753,7 @@ public struct ReplicationRunLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3517,7 +3517,7 @@ extension UpdateReplicationJobInput { extension CreateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3531,7 +3531,7 @@ extension CreateAppOutput { extension CreateReplicationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3543,56 +3543,56 @@ extension CreateReplicationJobOutput { extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { return DeleteAppOutput() } } extension DeleteAppLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppLaunchConfigurationOutput { return DeleteAppLaunchConfigurationOutput() } } extension DeleteAppReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppReplicationConfigurationOutput { return DeleteAppReplicationConfigurationOutput() } } extension DeleteAppValidationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppValidationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppValidationConfigurationOutput { return DeleteAppValidationConfigurationOutput() } } extension DeleteReplicationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationJobOutput { return DeleteReplicationJobOutput() } } extension DeleteServerCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServerCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServerCatalogOutput { return DeleteServerCatalogOutput() } } extension DisassociateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateConnectorOutput { return DisassociateConnectorOutput() } } extension GenerateChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3604,7 +3604,7 @@ extension GenerateChangeSetOutput { extension GenerateTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3616,7 +3616,7 @@ extension GenerateTemplateOutput { extension GetAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3630,7 +3630,7 @@ extension GetAppOutput { extension GetAppLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppLaunchConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3645,7 +3645,7 @@ extension GetAppLaunchConfigurationOutput { extension GetAppReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppReplicationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3657,7 +3657,7 @@ extension GetAppReplicationConfigurationOutput { extension GetAppValidationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppValidationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppValidationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3670,7 +3670,7 @@ extension GetAppValidationConfigurationOutput { extension GetAppValidationOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAppValidationOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAppValidationOutputOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3682,7 +3682,7 @@ extension GetAppValidationOutputOutput { extension GetConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3695,7 +3695,7 @@ extension GetConnectorsOutput { extension GetReplicationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReplicationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReplicationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3708,7 +3708,7 @@ extension GetReplicationJobsOutput { extension GetReplicationRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReplicationRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReplicationRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3722,7 +3722,7 @@ extension GetReplicationRunsOutput { extension GetServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3737,28 +3737,28 @@ extension GetServersOutput { extension ImportAppCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportAppCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportAppCatalogOutput { return ImportAppCatalogOutput() } } extension ImportServerCatalogOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportServerCatalogOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportServerCatalogOutput { return ImportServerCatalogOutput() } } extension LaunchAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LaunchAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LaunchAppOutput { return LaunchAppOutput() } } extension ListAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3771,49 +3771,49 @@ extension ListAppsOutput { extension NotifyAppValidationOutputOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyAppValidationOutputOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyAppValidationOutputOutput { return NotifyAppValidationOutputOutput() } } extension PutAppLaunchConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppLaunchConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppLaunchConfigurationOutput { return PutAppLaunchConfigurationOutput() } } extension PutAppReplicationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppReplicationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppReplicationConfigurationOutput { return PutAppReplicationConfigurationOutput() } } extension PutAppValidationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAppValidationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAppValidationConfigurationOutput { return PutAppValidationConfigurationOutput() } } extension StartAppReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAppReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAppReplicationOutput { return StartAppReplicationOutput() } } extension StartOnDemandAppReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartOnDemandAppReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartOnDemandAppReplicationOutput { return StartOnDemandAppReplicationOutput() } } extension StartOnDemandReplicationRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartOnDemandReplicationRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartOnDemandReplicationRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3825,21 +3825,21 @@ extension StartOnDemandReplicationRunOutput { extension StopAppReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAppReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAppReplicationOutput { return StopAppReplicationOutput() } } extension TerminateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateAppOutput { return TerminateAppOutput() } } extension UpdateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3853,14 +3853,14 @@ extension UpdateAppOutput { extension UpdateReplicationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationJobOutput { return UpdateReplicationJobOutput() } } enum CreateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3878,7 +3878,7 @@ enum CreateAppOutputError { enum CreateReplicationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3900,7 +3900,7 @@ enum CreateReplicationJobOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3918,7 +3918,7 @@ enum DeleteAppOutputError { enum DeleteAppLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3936,7 +3936,7 @@ enum DeleteAppLaunchConfigurationOutputError { enum DeleteAppReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3954,7 +3954,7 @@ enum DeleteAppReplicationConfigurationOutputError { enum DeleteAppValidationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3972,7 +3972,7 @@ enum DeleteAppValidationConfigurationOutputError { enum DeleteReplicationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3990,7 +3990,7 @@ enum DeleteReplicationJobOutputError { enum DeleteServerCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4007,7 +4007,7 @@ enum DeleteServerCatalogOutputError { enum DisassociateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4024,7 +4024,7 @@ enum DisassociateConnectorOutputError { enum GenerateChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4042,7 +4042,7 @@ enum GenerateChangeSetOutputError { enum GenerateTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4060,7 +4060,7 @@ enum GenerateTemplateOutputError { enum GetAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4078,7 +4078,7 @@ enum GetAppOutputError { enum GetAppLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4096,7 +4096,7 @@ enum GetAppLaunchConfigurationOutputError { enum GetAppReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4114,7 +4114,7 @@ enum GetAppReplicationConfigurationOutputError { enum GetAppValidationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4132,7 +4132,7 @@ enum GetAppValidationConfigurationOutputError { enum GetAppValidationOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4150,7 +4150,7 @@ enum GetAppValidationOutputOutputError { enum GetConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4164,7 +4164,7 @@ enum GetConnectorsOutputError { enum GetReplicationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4180,7 +4180,7 @@ enum GetReplicationJobsOutputError { enum GetReplicationRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4196,7 +4196,7 @@ enum GetReplicationRunsOutputError { enum GetServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4213,7 +4213,7 @@ enum GetServersOutputError { enum ImportAppCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4231,7 +4231,7 @@ enum ImportAppCatalogOutputError { enum ImportServerCatalogOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4249,7 +4249,7 @@ enum ImportServerCatalogOutputError { enum LaunchAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4267,7 +4267,7 @@ enum LaunchAppOutputError { enum ListAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4285,7 +4285,7 @@ enum ListAppsOutputError { enum NotifyAppValidationOutputOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4303,7 +4303,7 @@ enum NotifyAppValidationOutputOutputError { enum PutAppLaunchConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4321,7 +4321,7 @@ enum PutAppLaunchConfigurationOutputError { enum PutAppReplicationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4339,7 +4339,7 @@ enum PutAppReplicationConfigurationOutputError { enum PutAppValidationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4357,7 +4357,7 @@ enum PutAppValidationConfigurationOutputError { enum StartAppReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4375,7 +4375,7 @@ enum StartAppReplicationOutputError { enum StartOnDemandAppReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4393,7 +4393,7 @@ enum StartOnDemandAppReplicationOutputError { enum StartOnDemandReplicationRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4412,7 +4412,7 @@ enum StartOnDemandReplicationRunOutputError { enum StopAppReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4430,7 +4430,7 @@ enum StopAppReplicationOutputError { enum TerminateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4448,7 +4448,7 @@ enum TerminateAppOutputError { enum UpdateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4466,7 +4466,7 @@ enum UpdateAppOutputError { enum UpdateReplicationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSNS/Sources/AWSSNS/Models.swift b/Sources/Services/AWSSNS/Sources/AWSSNS/Models.swift index 396d389216b..1359e41ef0a 100644 --- a/Sources/Services/AWSSNS/Sources/AWSSNS/Models.swift +++ b/Sources/Services/AWSSNS/Sources/AWSSNS/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum ClientRuntime.ErrorFault import enum SmithyReadWrite.ReaderError @@ -89,7 +89,7 @@ public struct AuthorizationErrorException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -113,7 +113,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -137,7 +137,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -214,7 +214,7 @@ public struct ThrottledException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct FilterPolicyLimitExceededException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -298,7 +298,7 @@ public struct ReplayLimitExceededException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -322,7 +322,7 @@ public struct SubscriptionLimitExceededException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -459,7 +459,7 @@ public struct OptedOutException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -483,7 +483,7 @@ public struct UserErrorException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -597,7 +597,7 @@ public struct ConcurrentAccessException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -621,7 +621,7 @@ public struct InvalidSecurityException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -645,7 +645,7 @@ public struct StaleTagException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -669,7 +669,7 @@ public struct TagLimitExceededException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -693,7 +693,7 @@ public struct TagPolicyException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -717,7 +717,7 @@ public struct TopicLimitExceededException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -860,7 +860,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -907,7 +907,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1292,7 +1292,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1473,6 +1473,11 @@ public struct ListPhoneNumbersOptedOutOutput { } } +extension ListPhoneNumbersOptedOutOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListPhoneNumbersOptedOutOutput(nextToken: \(Swift.String(describing: nextToken)), phoneNumbers: \"CONTENT_REDACTED\")"} +} + /// Input for ListPlatformApplications action. public struct ListPlatformApplicationsInput { /// NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results. @@ -1816,7 +1821,7 @@ public struct EndpointDisabledException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1841,7 +1846,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1865,7 +1870,7 @@ public struct KMSAccessDeniedException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1889,7 +1894,7 @@ public struct KMSDisabledException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1913,7 +1918,7 @@ public struct KMSInvalidStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1937,7 +1942,7 @@ public struct KMSNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1961,7 +1966,7 @@ public struct KMSOptInRequired: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1985,7 +1990,7 @@ public struct KMSThrottlingException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2010,7 +2015,7 @@ public struct PlatformApplicationDisabledException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2159,7 +2164,7 @@ public struct BatchEntryIdsNotDistinctException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2183,7 +2188,7 @@ public struct BatchRequestTooLongException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2207,7 +2212,7 @@ public struct EmptyBatchRequestException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2231,7 +2236,7 @@ public struct InvalidBatchEntryIdException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2255,7 +2260,7 @@ public struct TooManyEntriesInBatchRequestException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2963,7 +2968,7 @@ public struct VerificationException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3764,14 +3769,14 @@ extension VerifySMSSandboxPhoneNumberInput { extension AddPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddPermissionOutput { return AddPermissionOutput() } } extension CheckIfPhoneNumberIsOptedOutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckIfPhoneNumberIsOptedOutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckIfPhoneNumberIsOptedOutOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CheckIfPhoneNumberIsOptedOutResult"] @@ -3783,7 +3788,7 @@ extension CheckIfPhoneNumberIsOptedOutOutput { extension ConfirmSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ConfirmSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ConfirmSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ConfirmSubscriptionResult"] @@ -3795,7 +3800,7 @@ extension ConfirmSubscriptionOutput { extension CreatePlatformApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlatformApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlatformApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreatePlatformApplicationResult"] @@ -3807,7 +3812,7 @@ extension CreatePlatformApplicationOutput { extension CreatePlatformEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePlatformEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePlatformEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreatePlatformEndpointResult"] @@ -3819,14 +3824,14 @@ extension CreatePlatformEndpointOutput { extension CreateSMSSandboxPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSMSSandboxPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSMSSandboxPhoneNumberOutput { return CreateSMSSandboxPhoneNumberOutput() } } extension CreateTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTopicOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["CreateTopicResult"] @@ -3838,35 +3843,35 @@ extension CreateTopicOutput { extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { return DeleteEndpointOutput() } } extension DeletePlatformApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePlatformApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePlatformApplicationOutput { return DeletePlatformApplicationOutput() } } extension DeleteSMSSandboxPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSMSSandboxPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSMSSandboxPhoneNumberOutput { return DeleteSMSSandboxPhoneNumberOutput() } } extension DeleteTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTopicOutput { return DeleteTopicOutput() } } extension GetDataProtectionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataProtectionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataProtectionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetDataProtectionPolicyResult"] @@ -3878,7 +3883,7 @@ extension GetDataProtectionPolicyOutput { extension GetEndpointAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEndpointAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEndpointAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetEndpointAttributesResult"] @@ -3890,7 +3895,7 @@ extension GetEndpointAttributesOutput { extension GetPlatformApplicationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPlatformApplicationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPlatformApplicationAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetPlatformApplicationAttributesResult"] @@ -3902,7 +3907,7 @@ extension GetPlatformApplicationAttributesOutput { extension GetSMSAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSMSAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSMSAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSMSAttributesResult"] @@ -3914,7 +3919,7 @@ extension GetSMSAttributesOutput { extension GetSMSSandboxAccountStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSMSSandboxAccountStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSMSSandboxAccountStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSMSSandboxAccountStatusResult"] @@ -3926,7 +3931,7 @@ extension GetSMSSandboxAccountStatusOutput { extension GetSubscriptionAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSubscriptionAttributesResult"] @@ -3938,7 +3943,7 @@ extension GetSubscriptionAttributesOutput { extension GetTopicAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTopicAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTopicAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetTopicAttributesResult"] @@ -3950,7 +3955,7 @@ extension GetTopicAttributesOutput { extension ListEndpointsByPlatformApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointsByPlatformApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointsByPlatformApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListEndpointsByPlatformApplicationResult"] @@ -3963,7 +3968,7 @@ extension ListEndpointsByPlatformApplicationOutput { extension ListOriginationNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOriginationNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOriginationNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListOriginationNumbersResult"] @@ -3976,7 +3981,7 @@ extension ListOriginationNumbersOutput { extension ListPhoneNumbersOptedOutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPhoneNumbersOptedOutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPhoneNumbersOptedOutOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPhoneNumbersOptedOutResult"] @@ -3989,7 +3994,7 @@ extension ListPhoneNumbersOptedOutOutput { extension ListPlatformApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPlatformApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPlatformApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListPlatformApplicationsResult"] @@ -4002,7 +4007,7 @@ extension ListPlatformApplicationsOutput { extension ListSMSSandboxPhoneNumbersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSMSSandboxPhoneNumbersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSMSSandboxPhoneNumbersOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSMSSandboxPhoneNumbersResult"] @@ -4015,7 +4020,7 @@ extension ListSMSSandboxPhoneNumbersOutput { extension ListSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSubscriptionsResult"] @@ -4028,7 +4033,7 @@ extension ListSubscriptionsOutput { extension ListSubscriptionsByTopicOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscriptionsByTopicOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionsByTopicOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListSubscriptionsByTopicResult"] @@ -4041,7 +4046,7 @@ extension ListSubscriptionsByTopicOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTagsForResourceResult"] @@ -4053,7 +4058,7 @@ extension ListTagsForResourceOutput { extension ListTopicsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTopicsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTopicsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["ListTopicsResult"] @@ -4066,14 +4071,14 @@ extension ListTopicsOutput { extension OptInPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> OptInPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> OptInPhoneNumberOutput { return OptInPhoneNumberOutput() } } extension PublishOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PublishResult"] @@ -4086,7 +4091,7 @@ extension PublishOutput { extension PublishBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PublishBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["PublishBatchResult"] @@ -4099,56 +4104,56 @@ extension PublishBatchOutput { extension PutDataProtectionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutDataProtectionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutDataProtectionPolicyOutput { return PutDataProtectionPolicyOutput() } } extension RemovePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemovePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemovePermissionOutput { return RemovePermissionOutput() } } extension SetEndpointAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetEndpointAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetEndpointAttributesOutput { return SetEndpointAttributesOutput() } } extension SetPlatformApplicationAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetPlatformApplicationAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetPlatformApplicationAttributesOutput { return SetPlatformApplicationAttributesOutput() } } extension SetSMSAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetSMSAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetSMSAttributesOutput { return SetSMSAttributesOutput() } } extension SetSubscriptionAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetSubscriptionAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetSubscriptionAttributesOutput { return SetSubscriptionAttributesOutput() } } extension SetTopicAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetTopicAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetTopicAttributesOutput { return SetTopicAttributesOutput() } } extension SubscribeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SubscribeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SubscribeOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["SubscribeResult"] @@ -4160,35 +4165,35 @@ extension SubscribeOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UnsubscribeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnsubscribeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnsubscribeOutput { return UnsubscribeOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension VerifySMSSandboxPhoneNumberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> VerifySMSSandboxPhoneNumberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> VerifySMSSandboxPhoneNumberOutput { return VerifySMSSandboxPhoneNumberOutput() } } enum AddPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4205,7 +4210,7 @@ enum AddPermissionOutputError { enum CheckIfPhoneNumberIsOptedOutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4222,7 +4227,7 @@ enum CheckIfPhoneNumberIsOptedOutOutputError { enum ConfirmSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4242,7 +4247,7 @@ enum ConfirmSubscriptionOutputError { enum CreatePlatformApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4258,7 +4263,7 @@ enum CreatePlatformApplicationOutputError { enum CreatePlatformEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4275,7 +4280,7 @@ enum CreatePlatformEndpointOutputError { enum CreateSMSSandboxPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4294,7 +4299,7 @@ enum CreateSMSSandboxPhoneNumberOutputError { enum CreateTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4316,7 +4321,7 @@ enum CreateTopicOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4332,7 +4337,7 @@ enum DeleteEndpointOutputError { enum DeletePlatformApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4348,7 +4353,7 @@ enum DeletePlatformApplicationOutputError { enum DeleteSMSSandboxPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4367,7 +4372,7 @@ enum DeleteSMSSandboxPhoneNumberOutputError { enum DeleteTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4388,7 +4393,7 @@ enum DeleteTopicOutputError { enum GetDataProtectionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4406,7 +4411,7 @@ enum GetDataProtectionPolicyOutputError { enum GetEndpointAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4423,7 +4428,7 @@ enum GetEndpointAttributesOutputError { enum GetPlatformApplicationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4440,7 +4445,7 @@ enum GetPlatformApplicationAttributesOutputError { enum GetSMSAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4457,7 +4462,7 @@ enum GetSMSAttributesOutputError { enum GetSMSSandboxAccountStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4473,7 +4478,7 @@ enum GetSMSSandboxAccountStatusOutputError { enum GetSubscriptionAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4490,7 +4495,7 @@ enum GetSubscriptionAttributesOutputError { enum GetTopicAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4508,7 +4513,7 @@ enum GetTopicAttributesOutputError { enum ListEndpointsByPlatformApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4525,7 +4530,7 @@ enum ListEndpointsByPlatformApplicationOutputError { enum ListOriginationNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4543,7 +4548,7 @@ enum ListOriginationNumbersOutputError { enum ListPhoneNumbersOptedOutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4560,7 +4565,7 @@ enum ListPhoneNumbersOptedOutOutputError { enum ListPlatformApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4576,7 +4581,7 @@ enum ListPlatformApplicationsOutputError { enum ListSMSSandboxPhoneNumbersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4594,7 +4599,7 @@ enum ListSMSSandboxPhoneNumbersOutputError { enum ListSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4610,7 +4615,7 @@ enum ListSubscriptionsOutputError { enum ListSubscriptionsByTopicOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4627,7 +4632,7 @@ enum ListSubscriptionsByTopicOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4645,7 +4650,7 @@ enum ListTagsForResourceOutputError { enum ListTopicsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4661,7 +4666,7 @@ enum ListTopicsOutputError { enum OptInPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4678,7 +4683,7 @@ enum OptInPhoneNumberOutputError { enum PublishOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4706,7 +4711,7 @@ enum PublishOutputError { enum PublishBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4739,7 +4744,7 @@ enum PublishBatchOutputError { enum PutDataProtectionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4757,7 +4762,7 @@ enum PutDataProtectionPolicyOutputError { enum RemovePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4774,7 +4779,7 @@ enum RemovePermissionOutputError { enum SetEndpointAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4791,7 +4796,7 @@ enum SetEndpointAttributesOutputError { enum SetPlatformApplicationAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4808,7 +4813,7 @@ enum SetPlatformApplicationAttributesOutputError { enum SetSMSAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4825,7 +4830,7 @@ enum SetSMSAttributesOutputError { enum SetSubscriptionAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4844,7 +4849,7 @@ enum SetSubscriptionAttributesOutputError { enum SetTopicAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4862,7 +4867,7 @@ enum SetTopicAttributesOutputError { enum SubscribeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4883,7 +4888,7 @@ enum SubscribeOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4903,7 +4908,7 @@ enum TagResourceOutputError { enum UnsubscribeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4921,7 +4926,7 @@ enum UnsubscribeOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4941,7 +4946,7 @@ enum UntagResourceOutputError { enum VerifySMSSandboxPhoneNumberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/Models.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/Models.swift index 4ff32f7273f..d9322371e49 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/Models.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -79,7 +79,7 @@ public struct InvalidAddress: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct InvalidSecurity: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -127,7 +127,7 @@ public struct OverLimit: ClientRuntime.ModeledError, AWSClientRuntime.AWSService public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct QueueDoesNotExist: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct RequestThrottled: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -205,7 +205,7 @@ public struct UnsupportedOperation: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -258,7 +258,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -301,7 +301,7 @@ public struct MessageNotInflight: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -320,7 +320,7 @@ public struct ReceiptHandleIsInvalid: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -367,7 +367,7 @@ public struct BatchEntryIdsNotDistinct: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -391,7 +391,7 @@ public struct EmptyBatchRequest: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -415,7 +415,7 @@ public struct InvalidBatchEntryId: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -439,7 +439,7 @@ public struct TooManyEntriesInBatchRequest: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -575,7 +575,7 @@ public struct InvalidAttributeName: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -599,7 +599,7 @@ public struct InvalidAttributeValue: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -623,7 +623,7 @@ public struct QueueDeletedRecently: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -647,7 +647,7 @@ public struct QueueNameExists: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -905,7 +905,7 @@ public struct InvalidIdFormat: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1365,7 +1365,7 @@ public struct PurgeQueueInProgress: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1403,7 +1403,7 @@ public struct KmsAccessDenied: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1427,7 +1427,7 @@ public struct KmsDisabled: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1455,7 +1455,7 @@ public struct KmsInvalidKeyUsage: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1479,7 +1479,7 @@ public struct KmsInvalidState: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1503,7 +1503,7 @@ public struct KmsNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1527,7 +1527,7 @@ public struct KmsOptInRequired: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1551,7 +1551,7 @@ public struct KmsThrottled: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1875,7 +1875,7 @@ public struct InvalidMessageContents: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2057,7 +2057,7 @@ public struct BatchRequestTooLong: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2784,14 +2784,14 @@ extension UntagQueueInput { extension AddPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddPermissionOutput { return AddPermissionOutput() } } extension CancelMessageMoveTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMessageMoveTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMessageMoveTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2803,14 +2803,14 @@ extension CancelMessageMoveTaskOutput { extension ChangeMessageVisibilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangeMessageVisibilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangeMessageVisibilityOutput { return ChangeMessageVisibilityOutput() } } extension ChangeMessageVisibilityBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ChangeMessageVisibilityBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ChangeMessageVisibilityBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2823,7 +2823,7 @@ extension ChangeMessageVisibilityBatchOutput { extension CreateQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQueueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2835,14 +2835,14 @@ extension CreateQueueOutput { extension DeleteMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMessageOutput { return DeleteMessageOutput() } } extension DeleteMessageBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMessageBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMessageBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2855,14 +2855,14 @@ extension DeleteMessageBatchOutput { extension DeleteQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueueOutput { return DeleteQueueOutput() } } extension GetQueueAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueueAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueueAttributesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2874,7 +2874,7 @@ extension GetQueueAttributesOutput { extension GetQueueUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQueueUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQueueUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2886,7 +2886,7 @@ extension GetQueueUrlOutput { extension ListDeadLetterSourceQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeadLetterSourceQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeadLetterSourceQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2899,7 +2899,7 @@ extension ListDeadLetterSourceQueuesOutput { extension ListMessageMoveTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMessageMoveTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMessageMoveTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2911,7 +2911,7 @@ extension ListMessageMoveTasksOutput { extension ListQueuesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueuesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueuesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2924,7 +2924,7 @@ extension ListQueuesOutput { extension ListQueueTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQueueTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQueueTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2936,14 +2936,14 @@ extension ListQueueTagsOutput { extension PurgeQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PurgeQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PurgeQueueOutput { return PurgeQueueOutput() } } extension ReceiveMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReceiveMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReceiveMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2955,14 +2955,14 @@ extension ReceiveMessageOutput { extension RemovePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemovePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemovePermissionOutput { return RemovePermissionOutput() } } extension SendMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2978,7 +2978,7 @@ extension SendMessageOutput { extension SendMessageBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendMessageBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendMessageBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2991,14 +2991,14 @@ extension SendMessageBatchOutput { extension SetQueueAttributesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetQueueAttributesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetQueueAttributesOutput { return SetQueueAttributesOutput() } } extension StartMessageMoveTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMessageMoveTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMessageMoveTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3010,21 +3010,21 @@ extension StartMessageMoveTaskOutput { extension TagQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagQueueOutput { return TagQueueOutput() } } extension UntagQueueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagQueueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagQueueOutput { return UntagQueueOutput() } } enum AddPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3043,7 +3043,7 @@ enum AddPermissionOutputError { enum CancelMessageMoveTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3061,7 +3061,7 @@ enum CancelMessageMoveTaskOutputError { enum ChangeMessageVisibilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3081,7 +3081,7 @@ enum ChangeMessageVisibilityOutputError { enum ChangeMessageVisibilityBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3103,7 +3103,7 @@ enum ChangeMessageVisibilityBatchOutputError { enum CreateQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3124,7 +3124,7 @@ enum CreateQueueOutputError { enum DeleteMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3144,7 +3144,7 @@ enum DeleteMessageOutputError { enum DeleteMessageBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3166,7 +3166,7 @@ enum DeleteMessageBatchOutputError { enum DeleteQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3184,7 +3184,7 @@ enum DeleteQueueOutputError { enum GetQueueAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3203,7 +3203,7 @@ enum GetQueueAttributesOutputError { enum GetQueueUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3221,7 +3221,7 @@ enum GetQueueUrlOutputError { enum ListDeadLetterSourceQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3239,7 +3239,7 @@ enum ListDeadLetterSourceQueuesOutputError { enum ListMessageMoveTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3257,7 +3257,7 @@ enum ListMessageMoveTasksOutputError { enum ListQueuesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3274,7 +3274,7 @@ enum ListQueuesOutputError { enum ListQueueTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3292,7 +3292,7 @@ enum ListQueueTagsOutputError { enum PurgeQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3311,7 +3311,7 @@ enum PurgeQueueOutputError { enum ReceiveMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3337,7 +3337,7 @@ enum ReceiveMessageOutputError { enum RemovePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3355,7 +3355,7 @@ enum RemovePermissionOutputError { enum SendMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3381,7 +3381,7 @@ enum SendMessageOutputError { enum SendMessageBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3411,7 +3411,7 @@ enum SendMessageBatchOutputError { enum SetQueueAttributesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3432,7 +3432,7 @@ enum SetQueueAttributesOutputError { enum StartMessageMoveTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3450,7 +3450,7 @@ enum StartMessageMoveTaskOutputError { enum TagQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3468,7 +3468,7 @@ enum TagQueueOutputError { enum UntagQueueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift index 82d96151dfa..6c7639d5d6f 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift @@ -16,8 +16,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode @@ -235,7 +235,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -315,7 +315,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -402,7 +402,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -482,7 +482,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -577,7 +577,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -655,7 +655,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -735,7 +735,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -811,7 +811,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -888,7 +888,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -964,7 +964,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1040,7 +1040,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1120,7 +1120,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1196,7 +1196,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1271,7 +1271,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1348,7 +1348,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1451,7 +1451,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1533,7 +1533,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1621,7 +1621,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1713,7 +1713,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1798,7 +1798,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1880,7 +1880,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -1967,7 +1967,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -2043,7 +2043,7 @@ extension SQSClient { .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSSSM/Sources/AWSSSM/Models.swift b/Sources/Services/AWSSSM/Sources/AWSSSM/Models.swift index 324ce500fca..0b6399f5492 100644 --- a/Sources/Services/AWSSSM/Sources/AWSSSM/Models.swift +++ b/Sources/Services/AWSSSM/Sources/AWSSSM/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -133,7 +133,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct InvalidResourceId: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -164,7 +164,7 @@ public struct InvalidResourceType: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -177,7 +177,7 @@ public struct TooManyTagsError: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -196,7 +196,7 @@ public struct TooManyUpdates: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -387,7 +387,7 @@ public struct AlreadyExistsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -411,7 +411,7 @@ public struct OpsItemConflictException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -436,7 +436,7 @@ public struct OpsItemInvalidParameterException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -465,7 +465,7 @@ public struct OpsItemLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -495,7 +495,7 @@ public struct OpsItemNotFoundException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -521,7 +521,7 @@ public struct OpsItemRelatedItemAlreadyExistsException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -583,7 +583,7 @@ public struct DuplicateInstanceId: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -596,7 +596,7 @@ public struct InvalidCommandId: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -623,7 +623,7 @@ public struct InvalidInstanceId: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -671,7 +671,7 @@ public struct DoesNotExistException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -720,7 +720,7 @@ public struct InvalidParameters: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -820,7 +820,7 @@ public struct AssociationAlreadyExists: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -833,7 +833,7 @@ public struct AssociationLimitExceeded: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -853,7 +853,7 @@ public struct InvalidDocument: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -877,7 +877,7 @@ public struct InvalidDocumentVersion: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -895,7 +895,7 @@ public struct InvalidOutputLocation: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -914,7 +914,7 @@ public struct InvalidSchedule: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -938,7 +938,7 @@ public struct InvalidTag: ClientRuntime.ModeledError, AWSClientRuntime.AWSServic public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -962,7 +962,7 @@ public struct InvalidTarget: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -986,7 +986,7 @@ public struct InvalidTargetMaps: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1010,7 +1010,7 @@ public struct UnsupportedPlatformType: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1771,7 +1771,7 @@ public struct DocumentAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1795,7 +1795,7 @@ public struct DocumentLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1820,7 +1820,7 @@ public struct InvalidDocumentContent: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1844,7 +1844,7 @@ public struct InvalidDocumentSchemaVersion: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1868,7 +1868,7 @@ public struct MaxDocumentSizeExceeded: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2534,7 +2534,7 @@ public struct IdempotentParameterMismatch: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2558,7 +2558,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2669,7 +2669,7 @@ public struct OpsItemAccessDeniedException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2694,7 +2694,7 @@ public struct OpsItemAlreadyExistsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2899,7 +2899,7 @@ public struct OpsMetadataAlreadyExistsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2923,7 +2923,7 @@ public struct OpsMetadataInvalidArgumentException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2947,7 +2947,7 @@ public struct OpsMetadataLimitExceededException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2971,7 +2971,7 @@ public struct OpsMetadataTooManyUpdatesException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3477,7 +3477,7 @@ public struct ResourceDataSyncAlreadyExistsException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3501,7 +3501,7 @@ public struct ResourceDataSyncCountExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3525,7 +3525,7 @@ public struct ResourceDataSyncInvalidConfigurationException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3731,7 +3731,7 @@ public struct InvalidActivation: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3755,7 +3755,7 @@ public struct InvalidActivationId: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3797,7 +3797,7 @@ public struct AssociationDoesNotExist: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3840,7 +3840,7 @@ public struct AssociatedInstances: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3859,7 +3859,7 @@ public struct InvalidDocumentOperation: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3913,7 +3913,7 @@ public struct InvalidDeleteInventoryParametersException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3937,7 +3937,7 @@ public struct InvalidInventoryRequestException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3961,7 +3961,7 @@ public struct InvalidOptionException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3985,7 +3985,7 @@ public struct InvalidTypeNameException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4174,7 +4174,7 @@ public struct OpsMetadataNotFoundException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4216,7 +4216,7 @@ public struct ParameterNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4287,7 +4287,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4338,7 +4338,7 @@ public struct ResourceDataSyncNotFoundException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4388,7 +4388,7 @@ public struct MalformedResourcePolicyDocumentException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4412,7 +4412,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4436,7 +4436,7 @@ public struct ResourcePolicyConflictException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4461,7 +4461,7 @@ public struct ResourcePolicyInvalidParameterException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4487,7 +4487,7 @@ public struct ResourcePolicyNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4591,7 +4591,7 @@ public struct TargetInUseException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4687,7 +4687,7 @@ public struct InvalidFilter: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4711,7 +4711,7 @@ public struct InvalidNextToken: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4823,7 +4823,7 @@ public struct InvalidAssociationVersion: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5067,7 +5067,7 @@ public struct AssociationExecutionDoesNotExist: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5253,7 +5253,7 @@ public struct InvalidFilterKey: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5272,7 +5272,7 @@ public struct InvalidFilterValue: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5778,7 +5778,7 @@ public struct AutomationExecutionNotFoundException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6321,7 +6321,7 @@ public struct InvalidPermissionType: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6482,7 +6482,7 @@ public struct UnsupportedOperatingSystem: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6751,7 +6751,7 @@ public struct InvalidInstanceInformationFilterValue: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7099,6 +7099,11 @@ extension SSMClientTypes { } +extension SSMClientTypes.InstanceInformation: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InstanceInformation(activationId: \(Swift.String(describing: activationId)), agentVersion: \(Swift.String(describing: agentVersion)), associationOverview: \(Swift.String(describing: associationOverview)), associationStatus: \(Swift.String(describing: associationStatus)), computerName: \(Swift.String(describing: computerName)), iamRole: \(Swift.String(describing: iamRole)), instanceId: \(Swift.String(describing: instanceId)), isLatestVersion: \(Swift.String(describing: isLatestVersion)), lastAssociationExecutionDate: \(Swift.String(describing: lastAssociationExecutionDate)), lastPingDateTime: \(Swift.String(describing: lastPingDateTime)), lastSuccessfulAssociationExecutionDate: \(Swift.String(describing: lastSuccessfulAssociationExecutionDate)), name: \(Swift.String(describing: name)), pingStatus: \(Swift.String(describing: pingStatus)), platformName: \(Swift.String(describing: platformName)), platformType: \(Swift.String(describing: platformType)), platformVersion: \(Swift.String(describing: platformVersion)), registrationDate: \(Swift.String(describing: registrationDate)), resourceType: \(Swift.String(describing: resourceType)), sourceId: \(Swift.String(describing: sourceId)), sourceType: \(Swift.String(describing: sourceType)), ipAddress: \"CONTENT_REDACTED\")"} +} + public struct DescribeInstanceInformationOutput { /// The managed node information list. public var instanceInformationList: [SSMClientTypes.InstanceInformation]? @@ -7625,7 +7630,7 @@ public struct InvalidInstancePropertyFilterValue: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7913,6 +7918,11 @@ extension SSMClientTypes { } +extension SSMClientTypes.InstanceProperty: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InstanceProperty(activationId: \(Swift.String(describing: activationId)), agentVersion: \(Swift.String(describing: agentVersion)), architecture: \(Swift.String(describing: architecture)), associationOverview: \(Swift.String(describing: associationOverview)), associationStatus: \(Swift.String(describing: associationStatus)), computerName: \(Swift.String(describing: computerName)), iamRole: \(Swift.String(describing: iamRole)), instanceId: \(Swift.String(describing: instanceId)), instanceRole: \(Swift.String(describing: instanceRole)), instanceState: \(Swift.String(describing: instanceState)), instanceType: \(Swift.String(describing: instanceType)), keyName: \(Swift.String(describing: keyName)), lastAssociationExecutionDate: \(Swift.String(describing: lastAssociationExecutionDate)), lastPingDateTime: \(Swift.String(describing: lastPingDateTime)), lastSuccessfulAssociationExecutionDate: \(Swift.String(describing: lastSuccessfulAssociationExecutionDate)), launchTime: \(Swift.String(describing: launchTime)), name: \(Swift.String(describing: name)), pingStatus: \(Swift.String(describing: pingStatus)), platformName: \(Swift.String(describing: platformName)), platformType: \(Swift.String(describing: platformType)), platformVersion: \(Swift.String(describing: platformVersion)), registrationDate: \(Swift.String(describing: registrationDate)), resourceType: \(Swift.String(describing: resourceType)), sourceId: \(Swift.String(describing: sourceId)), sourceType: \(Swift.String(describing: sourceType)), ipAddress: \"CONTENT_REDACTED\")"} +} + public struct DescribeInstancePropertiesOutput { /// Properties for the managed instances. public var instanceProperties: [SSMClientTypes.InstanceProperty]? @@ -7941,7 +7951,7 @@ public struct InvalidDeletionIdException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9417,7 +9427,7 @@ public struct InvalidFilterOption: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10312,7 +10322,7 @@ public struct OpsItemRelatedItemAssociationNotFoundException: ClientRuntime.Mode public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10564,7 +10574,7 @@ public struct InvalidDocumentType: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10588,7 +10598,7 @@ public struct UnsupportedCalendarException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10672,7 +10682,7 @@ public struct InvalidPluginName: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10685,7 +10695,7 @@ public struct InvocationDoesNotExist: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10975,7 +10985,7 @@ public struct UnsupportedFeatureRequiredException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11236,7 +11246,7 @@ public struct InvalidAggregatorException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11260,7 +11270,7 @@ public struct InvalidInventoryGroupException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -11284,7 +11294,7 @@ public struct InvalidResultAttributeException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12596,7 +12606,7 @@ public struct InvalidKeyId: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -12620,7 +12630,7 @@ public struct ParameterVersionNotFound: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -13097,7 +13107,7 @@ public struct ServiceSettingNotFound: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -13206,7 +13216,7 @@ public struct ParameterVersionLabelLimitExceeded: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15835,7 +15845,7 @@ public struct DocumentPermissionLimit: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15894,7 +15904,7 @@ public struct ComplianceTypeCountLimitExceededException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15919,7 +15929,7 @@ public struct InvalidItemContentException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15946,7 +15956,7 @@ public struct ItemSizeLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -15972,7 +15982,7 @@ public struct TotalSizeLimitExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16105,7 +16115,7 @@ public struct CustomSchemaCountLimitExceededException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16129,7 +16139,7 @@ public struct InvalidInventoryItemContextException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16154,7 +16164,7 @@ public struct ItemContentMismatchException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16180,7 +16190,7 @@ public struct SubTypeCountLimitExceededException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16205,7 +16215,7 @@ public struct UnsupportedInventoryItemContextException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16231,7 +16241,7 @@ public struct UnsupportedInventorySchemaVersionException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16325,7 +16335,7 @@ public struct HierarchyLevelLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16350,7 +16360,7 @@ public struct HierarchyTypeMismatchException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16374,7 +16384,7 @@ public struct IncompatiblePolicyException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16399,7 +16409,7 @@ public struct InvalidAllowedPatternException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16423,7 +16433,7 @@ public struct InvalidPolicyAttributeException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16447,7 +16457,7 @@ public struct InvalidPolicyTypeException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16471,7 +16481,7 @@ public struct ParameterAlreadyExists: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16495,7 +16505,7 @@ public struct ParameterLimitExceeded: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16519,7 +16529,7 @@ public struct ParameterMaxVersionLimitExceeded: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16544,7 +16554,7 @@ public struct ParameterPatternMismatchException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16568,7 +16578,7 @@ public struct PoliciesLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16592,7 +16602,7 @@ public struct UnsupportedParameterType: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16744,7 +16754,7 @@ public struct ResourcePolicyLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -16929,7 +16939,7 @@ public struct FeatureNotAvailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17160,7 +17170,7 @@ public struct AutomationStepNotFoundException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17184,7 +17194,7 @@ public struct InvalidAutomationSignalException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17273,7 +17283,7 @@ public struct InvalidNotificationConfig: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17291,7 +17301,7 @@ public struct InvalidOutputFolder: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17310,7 +17320,7 @@ public struct InvalidRole: ClientRuntime.ModeledError, AWSClientRuntime.AWSServi public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17432,7 +17442,7 @@ public struct InvalidAssociation: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17474,7 +17484,7 @@ public struct AutomationDefinitionNotFoundException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17498,7 +17508,7 @@ public struct AutomationDefinitionVersionNotFoundException: ClientRuntime.Modele public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17522,7 +17532,7 @@ public struct AutomationExecutionLimitExceededException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17546,7 +17556,7 @@ public struct InvalidAutomationExecutionParametersException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17650,7 +17660,7 @@ public struct AutomationDefinitionNotApprovedException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17744,7 +17754,7 @@ public struct TargetNotConnected: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17813,7 +17823,7 @@ public struct InvalidAutomationStatusUpdateException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17952,7 +17962,7 @@ public struct AssociationVersionLimitExceeded: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -17976,7 +17986,7 @@ public struct InvalidUpdate: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18108,7 +18118,7 @@ public struct StatusUnchanged: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18162,7 +18172,7 @@ public struct DocumentVersionLimitExceeded: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18186,7 +18196,7 @@ public struct DuplicateDocumentContent: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18210,7 +18220,7 @@ public struct DuplicateDocumentVersionName: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -18896,7 +18906,7 @@ public struct OpsMetadataKeyLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -19078,7 +19088,7 @@ public struct ResourceDataSyncConflictException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -21869,14 +21879,14 @@ extension UpdateServiceSettingInput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { return AddTagsToResourceOutput() } } extension AssociateOpsItemRelatedItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateOpsItemRelatedItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateOpsItemRelatedItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21888,14 +21898,14 @@ extension AssociateOpsItemRelatedItemOutput { extension CancelCommandOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelCommandOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelCommandOutput { return CancelCommandOutput() } } extension CancelMaintenanceWindowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMaintenanceWindowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMaintenanceWindowExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21907,7 +21917,7 @@ extension CancelMaintenanceWindowExecutionOutput { extension CreateActivationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateActivationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateActivationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21920,7 +21930,7 @@ extension CreateActivationOutput { extension CreateAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21932,7 +21942,7 @@ extension CreateAssociationOutput { extension CreateAssociationBatchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssociationBatchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssociationBatchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21945,7 +21955,7 @@ extension CreateAssociationBatchOutput { extension CreateDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21957,7 +21967,7 @@ extension CreateDocumentOutput { extension CreateMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21969,7 +21979,7 @@ extension CreateMaintenanceWindowOutput { extension CreateOpsItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOpsItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOpsItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21982,7 +21992,7 @@ extension CreateOpsItemOutput { extension CreateOpsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOpsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOpsMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -21994,7 +22004,7 @@ extension CreateOpsMetadataOutput { extension CreatePatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22006,35 +22016,35 @@ extension CreatePatchBaselineOutput { extension CreateResourceDataSyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceDataSyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceDataSyncOutput { return CreateResourceDataSyncOutput() } } extension DeleteActivationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteActivationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteActivationOutput { return DeleteActivationOutput() } } extension DeleteAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssociationOutput { return DeleteAssociationOutput() } } extension DeleteDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDocumentOutput { return DeleteDocumentOutput() } } extension DeleteInventoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInventoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInventoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22048,7 +22058,7 @@ extension DeleteInventoryOutput { extension DeleteMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22060,28 +22070,28 @@ extension DeleteMaintenanceWindowOutput { extension DeleteOpsItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOpsItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOpsItemOutput { return DeleteOpsItemOutput() } } extension DeleteOpsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOpsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOpsMetadataOutput { return DeleteOpsMetadataOutput() } } extension DeleteParameterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteParameterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteParameterOutput { return DeleteParameterOutput() } } extension DeleteParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22094,7 +22104,7 @@ extension DeleteParametersOutput { extension DeletePatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22106,28 +22116,28 @@ extension DeletePatchBaselineOutput { extension DeleteResourceDataSyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceDataSyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceDataSyncOutput { return DeleteResourceDataSyncOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeregisterManagedInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterManagedInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterManagedInstanceOutput { return DeregisterManagedInstanceOutput() } } extension DeregisterPatchBaselineForPatchGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterPatchBaselineForPatchGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterPatchBaselineForPatchGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22140,7 +22150,7 @@ extension DeregisterPatchBaselineForPatchGroupOutput { extension DeregisterTargetFromMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTargetFromMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTargetFromMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22153,7 +22163,7 @@ extension DeregisterTargetFromMaintenanceWindowOutput { extension DeregisterTaskFromMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTaskFromMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTaskFromMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22166,7 +22176,7 @@ extension DeregisterTaskFromMaintenanceWindowOutput { extension DescribeActivationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActivationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActivationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22179,7 +22189,7 @@ extension DescribeActivationsOutput { extension DescribeAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22191,7 +22201,7 @@ extension DescribeAssociationOutput { extension DescribeAssociationExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssociationExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssociationExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22204,7 +22214,7 @@ extension DescribeAssociationExecutionsOutput { extension DescribeAssociationExecutionTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAssociationExecutionTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAssociationExecutionTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22217,7 +22227,7 @@ extension DescribeAssociationExecutionTargetsOutput { extension DescribeAutomationExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutomationExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutomationExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22230,7 +22240,7 @@ extension DescribeAutomationExecutionsOutput { extension DescribeAutomationStepExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutomationStepExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutomationStepExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22243,7 +22253,7 @@ extension DescribeAutomationStepExecutionsOutput { extension DescribeAvailablePatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAvailablePatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAvailablePatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22256,7 +22266,7 @@ extension DescribeAvailablePatchesOutput { extension DescribeDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22268,7 +22278,7 @@ extension DescribeDocumentOutput { extension DescribeDocumentPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDocumentPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDocumentPermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22282,7 +22292,7 @@ extension DescribeDocumentPermissionOutput { extension DescribeEffectiveInstanceAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEffectiveInstanceAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEffectiveInstanceAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22295,7 +22305,7 @@ extension DescribeEffectiveInstanceAssociationsOutput { extension DescribeEffectivePatchesForPatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEffectivePatchesForPatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEffectivePatchesForPatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22308,7 +22318,7 @@ extension DescribeEffectivePatchesForPatchBaselineOutput { extension DescribeInstanceAssociationsStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceAssociationsStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceAssociationsStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22321,7 +22331,7 @@ extension DescribeInstanceAssociationsStatusOutput { extension DescribeInstanceInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22334,7 +22344,7 @@ extension DescribeInstanceInformationOutput { extension DescribeInstancePatchesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancePatchesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancePatchesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22347,7 +22357,7 @@ extension DescribeInstancePatchesOutput { extension DescribeInstancePatchStatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancePatchStatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancePatchStatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22360,7 +22370,7 @@ extension DescribeInstancePatchStatesOutput { extension DescribeInstancePatchStatesForPatchGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancePatchStatesForPatchGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancePatchStatesForPatchGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22373,7 +22383,7 @@ extension DescribeInstancePatchStatesForPatchGroupOutput { extension DescribeInstancePropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstancePropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstancePropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22386,7 +22396,7 @@ extension DescribeInstancePropertiesOutput { extension DescribeInventoryDeletionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInventoryDeletionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInventoryDeletionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22399,7 +22409,7 @@ extension DescribeInventoryDeletionsOutput { extension DescribeMaintenanceWindowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22412,7 +22422,7 @@ extension DescribeMaintenanceWindowExecutionsOutput { extension DescribeMaintenanceWindowExecutionTaskInvocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowExecutionTaskInvocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowExecutionTaskInvocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22425,7 +22435,7 @@ extension DescribeMaintenanceWindowExecutionTaskInvocationsOutput { extension DescribeMaintenanceWindowExecutionTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowExecutionTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowExecutionTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22438,7 +22448,7 @@ extension DescribeMaintenanceWindowExecutionTasksOutput { extension DescribeMaintenanceWindowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22451,7 +22461,7 @@ extension DescribeMaintenanceWindowsOutput { extension DescribeMaintenanceWindowScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22464,7 +22474,7 @@ extension DescribeMaintenanceWindowScheduleOutput { extension DescribeMaintenanceWindowsForTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowsForTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowsForTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22477,7 +22487,7 @@ extension DescribeMaintenanceWindowsForTargetOutput { extension DescribeMaintenanceWindowTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22490,7 +22500,7 @@ extension DescribeMaintenanceWindowTargetsOutput { extension DescribeMaintenanceWindowTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceWindowTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceWindowTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22503,7 +22513,7 @@ extension DescribeMaintenanceWindowTasksOutput { extension DescribeOpsItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOpsItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOpsItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22516,7 +22526,7 @@ extension DescribeOpsItemsOutput { extension DescribeParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22529,7 +22539,7 @@ extension DescribeParametersOutput { extension DescribePatchBaselinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePatchBaselinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePatchBaselinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22542,7 +22552,7 @@ extension DescribePatchBaselinesOutput { extension DescribePatchGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePatchGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePatchGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22555,7 +22565,7 @@ extension DescribePatchGroupsOutput { extension DescribePatchGroupStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePatchGroupStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePatchGroupStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22578,7 +22588,7 @@ extension DescribePatchGroupStateOutput { extension DescribePatchPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePatchPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePatchPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22591,7 +22601,7 @@ extension DescribePatchPropertiesOutput { extension DescribeSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22604,14 +22614,14 @@ extension DescribeSessionsOutput { extension DisassociateOpsItemRelatedItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateOpsItemRelatedItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateOpsItemRelatedItemOutput { return DisassociateOpsItemRelatedItemOutput() } } extension GetAutomationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAutomationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAutomationExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22623,7 +22633,7 @@ extension GetAutomationExecutionOutput { extension GetCalendarStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCalendarStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCalendarStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22637,7 +22647,7 @@ extension GetCalendarStateOutput { extension GetCommandInvocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCommandInvocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCommandInvocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22665,7 +22675,7 @@ extension GetCommandInvocationOutput { extension GetConnectionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConnectionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22678,7 +22688,7 @@ extension GetConnectionStatusOutput { extension GetDefaultPatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDefaultPatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDefaultPatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22691,7 +22701,7 @@ extension GetDefaultPatchBaselineOutput { extension GetDeployablePatchSnapshotForInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeployablePatchSnapshotForInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeployablePatchSnapshotForInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22706,7 +22716,7 @@ extension GetDeployablePatchSnapshotForInstanceOutput { extension GetDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22730,7 +22740,7 @@ extension GetDocumentOutput { extension GetInventoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInventoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInventoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22743,7 +22753,7 @@ extension GetInventoryOutput { extension GetInventorySchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInventorySchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInventorySchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22756,7 +22766,7 @@ extension GetInventorySchemaOutput { extension GetMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22782,7 +22792,7 @@ extension GetMaintenanceWindowOutput { extension GetMaintenanceWindowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMaintenanceWindowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMaintenanceWindowExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22799,7 +22809,7 @@ extension GetMaintenanceWindowExecutionOutput { extension GetMaintenanceWindowExecutionTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMaintenanceWindowExecutionTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMaintenanceWindowExecutionTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22825,7 +22835,7 @@ extension GetMaintenanceWindowExecutionTaskOutput { extension GetMaintenanceWindowExecutionTaskInvocationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMaintenanceWindowExecutionTaskInvocationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMaintenanceWindowExecutionTaskInvocationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22848,7 +22858,7 @@ extension GetMaintenanceWindowExecutionTaskInvocationOutput { extension GetMaintenanceWindowTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMaintenanceWindowTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMaintenanceWindowTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22875,7 +22885,7 @@ extension GetMaintenanceWindowTaskOutput { extension GetOpsItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpsItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpsItemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22887,7 +22897,7 @@ extension GetOpsItemOutput { extension GetOpsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpsMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22901,7 +22911,7 @@ extension GetOpsMetadataOutput { extension GetOpsSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOpsSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOpsSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22914,7 +22924,7 @@ extension GetOpsSummaryOutput { extension GetParameterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParameterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParameterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22926,7 +22936,7 @@ extension GetParameterOutput { extension GetParameterHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParameterHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParameterHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22939,7 +22949,7 @@ extension GetParameterHistoryOutput { extension GetParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22952,7 +22962,7 @@ extension GetParametersOutput { extension GetParametersByPathOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParametersByPathOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParametersByPathOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22965,7 +22975,7 @@ extension GetParametersByPathOutput { extension GetPatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -22991,7 +23001,7 @@ extension GetPatchBaselineOutput { extension GetPatchBaselineForPatchGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPatchBaselineForPatchGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPatchBaselineForPatchGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23005,7 +23015,7 @@ extension GetPatchBaselineForPatchGroupOutput { extension GetResourcePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23018,7 +23028,7 @@ extension GetResourcePoliciesOutput { extension GetServiceSettingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceSettingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceSettingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23030,7 +23040,7 @@ extension GetServiceSettingOutput { extension LabelParameterVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LabelParameterVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LabelParameterVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23043,7 +23053,7 @@ extension LabelParameterVersionOutput { extension ListAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23056,7 +23066,7 @@ extension ListAssociationsOutput { extension ListAssociationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23069,7 +23079,7 @@ extension ListAssociationVersionsOutput { extension ListCommandInvocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCommandInvocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCommandInvocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23082,7 +23092,7 @@ extension ListCommandInvocationsOutput { extension ListCommandsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCommandsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCommandsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23095,7 +23105,7 @@ extension ListCommandsOutput { extension ListComplianceItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComplianceItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComplianceItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23108,7 +23118,7 @@ extension ListComplianceItemsOutput { extension ListComplianceSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComplianceSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComplianceSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23121,7 +23131,7 @@ extension ListComplianceSummariesOutput { extension ListDocumentMetadataHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentMetadataHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentMetadataHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23137,7 +23147,7 @@ extension ListDocumentMetadataHistoryOutput { extension ListDocumentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23150,7 +23160,7 @@ extension ListDocumentsOutput { extension ListDocumentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDocumentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDocumentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23163,7 +23173,7 @@ extension ListDocumentVersionsOutput { extension ListInventoryEntriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInventoryEntriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInventoryEntriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23180,7 +23190,7 @@ extension ListInventoryEntriesOutput { extension ListOpsItemEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpsItemEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpsItemEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23193,7 +23203,7 @@ extension ListOpsItemEventsOutput { extension ListOpsItemRelatedItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpsItemRelatedItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpsItemRelatedItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23206,7 +23216,7 @@ extension ListOpsItemRelatedItemsOutput { extension ListOpsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpsMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23219,7 +23229,7 @@ extension ListOpsMetadataOutput { extension ListResourceComplianceSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceComplianceSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceComplianceSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23232,7 +23242,7 @@ extension ListResourceComplianceSummariesOutput { extension ListResourceDataSyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceDataSyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceDataSyncOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23245,7 +23255,7 @@ extension ListResourceDataSyncOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23257,21 +23267,21 @@ extension ListTagsForResourceOutput { extension ModifyDocumentPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyDocumentPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyDocumentPermissionOutput { return ModifyDocumentPermissionOutput() } } extension PutComplianceItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutComplianceItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutComplianceItemsOutput { return PutComplianceItemsOutput() } } extension PutInventoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutInventoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutInventoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23283,7 +23293,7 @@ extension PutInventoryOutput { extension PutParameterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutParameterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutParameterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23296,7 +23306,7 @@ extension PutParameterOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23309,7 +23319,7 @@ extension PutResourcePolicyOutput { extension RegisterDefaultPatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDefaultPatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDefaultPatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23321,7 +23331,7 @@ extension RegisterDefaultPatchBaselineOutput { extension RegisterPatchBaselineForPatchGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterPatchBaselineForPatchGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterPatchBaselineForPatchGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23334,7 +23344,7 @@ extension RegisterPatchBaselineForPatchGroupOutput { extension RegisterTargetWithMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTargetWithMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTargetWithMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23346,7 +23356,7 @@ extension RegisterTargetWithMaintenanceWindowOutput { extension RegisterTaskWithMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTaskWithMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTaskWithMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23358,14 +23368,14 @@ extension RegisterTaskWithMaintenanceWindowOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { return RemoveTagsFromResourceOutput() } } extension ResetServiceSettingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetServiceSettingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetServiceSettingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23377,7 +23387,7 @@ extension ResetServiceSettingOutput { extension ResumeSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23391,14 +23401,14 @@ extension ResumeSessionOutput { extension SendAutomationSignalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendAutomationSignalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendAutomationSignalOutput { return SendAutomationSignalOutput() } } extension SendCommandOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendCommandOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendCommandOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23410,14 +23420,14 @@ extension SendCommandOutput { extension StartAssociationsOnceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAssociationsOnceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAssociationsOnceOutput { return StartAssociationsOnceOutput() } } extension StartAutomationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAutomationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAutomationExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23429,7 +23439,7 @@ extension StartAutomationExecutionOutput { extension StartChangeRequestExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartChangeRequestExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartChangeRequestExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23441,7 +23451,7 @@ extension StartChangeRequestExecutionOutput { extension StartSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23455,14 +23465,14 @@ extension StartSessionOutput { extension StopAutomationExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAutomationExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAutomationExecutionOutput { return StopAutomationExecutionOutput() } } extension TerminateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23474,7 +23484,7 @@ extension TerminateSessionOutput { extension UnlabelParameterVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnlabelParameterVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnlabelParameterVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23487,7 +23497,7 @@ extension UnlabelParameterVersionOutput { extension UpdateAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23499,7 +23509,7 @@ extension UpdateAssociationOutput { extension UpdateAssociationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAssociationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAssociationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23511,7 +23521,7 @@ extension UpdateAssociationStatusOutput { extension UpdateDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23523,7 +23533,7 @@ extension UpdateDocumentOutput { extension UpdateDocumentDefaultVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentDefaultVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentDefaultVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23535,14 +23545,14 @@ extension UpdateDocumentDefaultVersionOutput { extension UpdateDocumentMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentMetadataOutput { return UpdateDocumentMetadataOutput() } } extension UpdateMaintenanceWindowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMaintenanceWindowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMaintenanceWindowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23565,7 +23575,7 @@ extension UpdateMaintenanceWindowOutput { extension UpdateMaintenanceWindowTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMaintenanceWindowTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMaintenanceWindowTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23582,7 +23592,7 @@ extension UpdateMaintenanceWindowTargetOutput { extension UpdateMaintenanceWindowTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMaintenanceWindowTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMaintenanceWindowTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23608,21 +23618,21 @@ extension UpdateMaintenanceWindowTaskOutput { extension UpdateManagedInstanceRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateManagedInstanceRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateManagedInstanceRoleOutput { return UpdateManagedInstanceRoleOutput() } } extension UpdateOpsItemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOpsItemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOpsItemOutput { return UpdateOpsItemOutput() } } extension UpdateOpsMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOpsMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOpsMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23634,7 +23644,7 @@ extension UpdateOpsMetadataOutput { extension UpdatePatchBaselineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePatchBaselineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePatchBaselineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -23659,21 +23669,21 @@ extension UpdatePatchBaselineOutput { extension UpdateResourceDataSyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceDataSyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceDataSyncOutput { return UpdateResourceDataSyncOutput() } } extension UpdateServiceSettingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceSettingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceSettingOutput { return UpdateServiceSettingOutput() } } enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23691,7 +23701,7 @@ enum AddTagsToResourceOutputError { enum AssociateOpsItemRelatedItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23710,7 +23720,7 @@ enum AssociateOpsItemRelatedItemOutputError { enum CancelCommandOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23727,7 +23737,7 @@ enum CancelCommandOutputError { enum CancelMaintenanceWindowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23742,7 +23752,7 @@ enum CancelMaintenanceWindowExecutionOutputError { enum CreateActivationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23757,7 +23767,7 @@ enum CreateActivationOutputError { enum CreateAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23783,7 +23793,7 @@ enum CreateAssociationOutputError { enum CreateAssociationBatchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23808,7 +23818,7 @@ enum CreateAssociationBatchOutputError { enum CreateDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23827,7 +23837,7 @@ enum CreateDocumentOutputError { enum CreateMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23843,7 +23853,7 @@ enum CreateMaintenanceWindowOutputError { enum CreateOpsItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23861,7 +23871,7 @@ enum CreateOpsItemOutputError { enum CreateOpsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23879,7 +23889,7 @@ enum CreateOpsMetadataOutputError { enum CreatePatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23895,7 +23905,7 @@ enum CreatePatchBaselineOutputError { enum CreateResourceDataSyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23912,7 +23922,7 @@ enum CreateResourceDataSyncOutputError { enum DeleteActivationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23929,7 +23939,7 @@ enum DeleteActivationOutputError { enum DeleteAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23947,7 +23957,7 @@ enum DeleteAssociationOutputError { enum DeleteDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23964,7 +23974,7 @@ enum DeleteDocumentOutputError { enum DeleteInventoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23982,7 +23992,7 @@ enum DeleteInventoryOutputError { enum DeleteMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -23996,7 +24006,7 @@ enum DeleteMaintenanceWindowOutputError { enum DeleteOpsItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24011,7 +24021,7 @@ enum DeleteOpsItemOutputError { enum DeleteOpsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24027,7 +24037,7 @@ enum DeleteOpsMetadataOutputError { enum DeleteParameterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24042,7 +24052,7 @@ enum DeleteParameterOutputError { enum DeleteParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24056,7 +24066,7 @@ enum DeleteParametersOutputError { enum DeletePatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24071,7 +24081,7 @@ enum DeletePatchBaselineOutputError { enum DeleteResourceDataSyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24087,7 +24097,7 @@ enum DeleteResourceDataSyncOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24106,7 +24116,7 @@ enum DeleteResourcePolicyOutputError { enum DeregisterManagedInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24121,7 +24131,7 @@ enum DeregisterManagedInstanceOutputError { enum DeregisterPatchBaselineForPatchGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24136,7 +24146,7 @@ enum DeregisterPatchBaselineForPatchGroupOutputError { enum DeregisterTargetFromMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24152,7 +24162,7 @@ enum DeregisterTargetFromMaintenanceWindowOutputError { enum DeregisterTaskFromMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24167,7 +24177,7 @@ enum DeregisterTaskFromMaintenanceWindowOutputError { enum DescribeActivationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24183,7 +24193,7 @@ enum DescribeActivationsOutputError { enum DescribeAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24201,7 +24211,7 @@ enum DescribeAssociationOutputError { enum DescribeAssociationExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24217,7 +24227,7 @@ enum DescribeAssociationExecutionsOutputError { enum DescribeAssociationExecutionTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24234,7 +24244,7 @@ enum DescribeAssociationExecutionTargetsOutputError { enum DescribeAutomationExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24251,7 +24261,7 @@ enum DescribeAutomationExecutionsOutputError { enum DescribeAutomationStepExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24269,7 +24279,7 @@ enum DescribeAutomationStepExecutionsOutputError { enum DescribeAvailablePatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24283,7 +24293,7 @@ enum DescribeAvailablePatchesOutputError { enum DescribeDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24299,7 +24309,7 @@ enum DescribeDocumentOutputError { enum DescribeDocumentPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24317,7 +24327,7 @@ enum DescribeDocumentPermissionOutputError { enum DescribeEffectiveInstanceAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24333,7 +24343,7 @@ enum DescribeEffectiveInstanceAssociationsOutputError { enum DescribeEffectivePatchesForPatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24350,7 +24360,7 @@ enum DescribeEffectivePatchesForPatchBaselineOutputError { enum DescribeInstanceAssociationsStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24366,7 +24376,7 @@ enum DescribeInstanceAssociationsStatusOutputError { enum DescribeInstanceInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24384,7 +24394,7 @@ enum DescribeInstanceInformationOutputError { enum DescribeInstancePatchesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24401,7 +24411,7 @@ enum DescribeInstancePatchesOutputError { enum DescribeInstancePatchStatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24416,7 +24426,7 @@ enum DescribeInstancePatchStatesOutputError { enum DescribeInstancePatchStatesForPatchGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24432,7 +24442,7 @@ enum DescribeInstancePatchStatesForPatchGroupOutputError { enum DescribeInstancePropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24452,7 +24462,7 @@ enum DescribeInstancePropertiesOutputError { enum DescribeInventoryDeletionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24468,7 +24478,7 @@ enum DescribeInventoryDeletionsOutputError { enum DescribeMaintenanceWindowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24482,7 +24492,7 @@ enum DescribeMaintenanceWindowExecutionsOutputError { enum DescribeMaintenanceWindowExecutionTaskInvocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24497,7 +24507,7 @@ enum DescribeMaintenanceWindowExecutionTaskInvocationsOutputError { enum DescribeMaintenanceWindowExecutionTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24512,7 +24522,7 @@ enum DescribeMaintenanceWindowExecutionTasksOutputError { enum DescribeMaintenanceWindowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24526,7 +24536,7 @@ enum DescribeMaintenanceWindowsOutputError { enum DescribeMaintenanceWindowScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24541,7 +24551,7 @@ enum DescribeMaintenanceWindowScheduleOutputError { enum DescribeMaintenanceWindowsForTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24555,7 +24565,7 @@ enum DescribeMaintenanceWindowsForTargetOutputError { enum DescribeMaintenanceWindowTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24570,7 +24580,7 @@ enum DescribeMaintenanceWindowTargetsOutputError { enum DescribeMaintenanceWindowTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24585,7 +24595,7 @@ enum DescribeMaintenanceWindowTasksOutputError { enum DescribeOpsItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24599,7 +24609,7 @@ enum DescribeOpsItemsOutputError { enum DescribeParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24617,7 +24627,7 @@ enum DescribeParametersOutputError { enum DescribePatchBaselinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24631,7 +24641,7 @@ enum DescribePatchBaselinesOutputError { enum DescribePatchGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24645,7 +24655,7 @@ enum DescribePatchGroupsOutputError { enum DescribePatchGroupStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24660,7 +24670,7 @@ enum DescribePatchGroupStateOutputError { enum DescribePatchPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24674,7 +24684,7 @@ enum DescribePatchPropertiesOutputError { enum DescribeSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24690,7 +24700,7 @@ enum DescribeSessionsOutputError { enum DisassociateOpsItemRelatedItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24708,7 +24718,7 @@ enum DisassociateOpsItemRelatedItemOutputError { enum GetAutomationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24723,7 +24733,7 @@ enum GetAutomationExecutionOutputError { enum GetCalendarStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24740,7 +24750,7 @@ enum GetCalendarStateOutputError { enum GetCommandInvocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24758,7 +24768,7 @@ enum GetCommandInvocationOutputError { enum GetConnectionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24772,7 +24782,7 @@ enum GetConnectionStatusOutputError { enum GetDefaultPatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24786,7 +24796,7 @@ enum GetDefaultPatchBaselineOutputError { enum GetDeployablePatchSnapshotForInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24802,7 +24812,7 @@ enum GetDeployablePatchSnapshotForInstanceOutputError { enum GetDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24818,7 +24828,7 @@ enum GetDocumentOutputError { enum GetInventoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24838,7 +24848,7 @@ enum GetInventoryOutputError { enum GetInventorySchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24854,7 +24864,7 @@ enum GetInventorySchemaOutputError { enum GetMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24869,7 +24879,7 @@ enum GetMaintenanceWindowOutputError { enum GetMaintenanceWindowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24884,7 +24894,7 @@ enum GetMaintenanceWindowExecutionOutputError { enum GetMaintenanceWindowExecutionTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24899,7 +24909,7 @@ enum GetMaintenanceWindowExecutionTaskOutputError { enum GetMaintenanceWindowExecutionTaskInvocationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24914,7 +24924,7 @@ enum GetMaintenanceWindowExecutionTaskInvocationOutputError { enum GetMaintenanceWindowTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24929,7 +24939,7 @@ enum GetMaintenanceWindowTaskOutputError { enum GetOpsItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24945,7 +24955,7 @@ enum GetOpsItemOutputError { enum GetOpsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24961,7 +24971,7 @@ enum GetOpsMetadataOutputError { enum GetOpsSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24980,7 +24990,7 @@ enum GetOpsSummaryOutputError { enum GetParameterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -24997,7 +25007,7 @@ enum GetParameterOutputError { enum GetParameterHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25014,7 +25024,7 @@ enum GetParameterHistoryOutputError { enum GetParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25029,7 +25039,7 @@ enum GetParametersOutputError { enum GetParametersByPathOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25048,7 +25058,7 @@ enum GetParametersByPathOutputError { enum GetPatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25064,7 +25074,7 @@ enum GetPatchBaselineOutputError { enum GetPatchBaselineForPatchGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25078,7 +25088,7 @@ enum GetPatchBaselineForPatchGroupOutputError { enum GetResourcePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25094,7 +25104,7 @@ enum GetResourcePoliciesOutputError { enum GetServiceSettingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25109,7 +25119,7 @@ enum GetServiceSettingOutputError { enum LabelParameterVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25127,7 +25137,7 @@ enum LabelParameterVersionOutputError { enum ListAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25142,7 +25152,7 @@ enum ListAssociationsOutputError { enum ListAssociationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25158,7 +25168,7 @@ enum ListAssociationVersionsOutputError { enum ListCommandInvocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25176,7 +25186,7 @@ enum ListCommandInvocationsOutputError { enum ListCommandsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25194,7 +25204,7 @@ enum ListCommandsOutputError { enum ListComplianceItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25212,7 +25222,7 @@ enum ListComplianceItemsOutputError { enum ListComplianceSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25228,7 +25238,7 @@ enum ListComplianceSummariesOutputError { enum ListDocumentMetadataHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25245,7 +25255,7 @@ enum ListDocumentMetadataHistoryOutputError { enum ListDocumentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25261,7 +25271,7 @@ enum ListDocumentsOutputError { enum ListDocumentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25277,7 +25287,7 @@ enum ListDocumentVersionsOutputError { enum ListInventoryEntriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25295,7 +25305,7 @@ enum ListInventoryEntriesOutputError { enum ListOpsItemEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25312,7 +25322,7 @@ enum ListOpsItemEventsOutputError { enum ListOpsItemRelatedItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25327,7 +25337,7 @@ enum ListOpsItemRelatedItemsOutputError { enum ListOpsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25342,7 +25352,7 @@ enum ListOpsMetadataOutputError { enum ListResourceComplianceSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25358,7 +25368,7 @@ enum ListResourceComplianceSummariesOutputError { enum ListResourceDataSyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25374,7 +25384,7 @@ enum ListResourceDataSyncOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25390,7 +25400,7 @@ enum ListTagsForResourceOutputError { enum ModifyDocumentPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25408,7 +25418,7 @@ enum ModifyDocumentPermissionOutputError { enum PutComplianceItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25428,7 +25438,7 @@ enum PutComplianceItemsOutputError { enum PutInventoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25453,7 +25463,7 @@ enum PutInventoryOutputError { enum PutParameterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25481,7 +25491,7 @@ enum PutParameterOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25501,7 +25511,7 @@ enum PutResourcePolicyOutputError { enum RegisterDefaultPatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25517,7 +25527,7 @@ enum RegisterDefaultPatchBaselineOutputError { enum RegisterPatchBaselineForPatchGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25535,7 +25545,7 @@ enum RegisterPatchBaselineForPatchGroupOutputError { enum RegisterTargetWithMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25552,7 +25562,7 @@ enum RegisterTargetWithMaintenanceWindowOutputError { enum RegisterTaskWithMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25570,7 +25580,7 @@ enum RegisterTaskWithMaintenanceWindowOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25587,7 +25597,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetServiceSettingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25603,7 +25613,7 @@ enum ResetServiceSettingOutputError { enum ResumeSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25618,7 +25628,7 @@ enum ResumeSessionOutputError { enum SendAutomationSignalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25635,7 +25645,7 @@ enum SendAutomationSignalOutputError { enum SendCommandOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25659,7 +25669,7 @@ enum SendCommandOutputError { enum StartAssociationsOnceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25674,7 +25684,7 @@ enum StartAssociationsOnceOutputError { enum StartAutomationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25694,7 +25704,7 @@ enum StartAutomationExecutionOutputError { enum StartChangeRequestExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25714,7 +25724,7 @@ enum StartChangeRequestExecutionOutputError { enum StartSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25730,7 +25740,7 @@ enum StartSessionOutputError { enum StopAutomationExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25746,7 +25756,7 @@ enum StopAutomationExecutionOutputError { enum TerminateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25760,7 +25770,7 @@ enum TerminateSessionOutputError { enum UnlabelParameterVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25777,7 +25787,7 @@ enum UnlabelParameterVersionOutputError { enum UpdateAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25803,7 +25813,7 @@ enum UpdateAssociationOutputError { enum UpdateAssociationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25822,7 +25832,7 @@ enum UpdateAssociationStatusOutputError { enum UpdateDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25845,7 +25855,7 @@ enum UpdateDocumentOutputError { enum UpdateDocumentDefaultVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25862,7 +25872,7 @@ enum UpdateDocumentDefaultVersionOutputError { enum UpdateDocumentMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25879,7 +25889,7 @@ enum UpdateDocumentMetadataOutputError { enum UpdateMaintenanceWindowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25894,7 +25904,7 @@ enum UpdateMaintenanceWindowOutputError { enum UpdateMaintenanceWindowTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25909,7 +25919,7 @@ enum UpdateMaintenanceWindowTargetOutputError { enum UpdateMaintenanceWindowTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25924,7 +25934,7 @@ enum UpdateMaintenanceWindowTaskOutputError { enum UpdateManagedInstanceRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25939,7 +25949,7 @@ enum UpdateManagedInstanceRoleOutputError { enum UpdateOpsItemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25959,7 +25969,7 @@ enum UpdateOpsItemOutputError { enum UpdateOpsMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25977,7 +25987,7 @@ enum UpdateOpsMetadataOutputError { enum UpdatePatchBaselineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -25992,7 +26002,7 @@ enum UpdatePatchBaselineOutputError { enum UpdateResourceDataSyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -26009,7 +26019,7 @@ enum UpdateResourceDataSyncOutputError { enum UpdateServiceSettingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/Models.swift b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/Models.swift index 65b2d1f2200..11ebc3c6877 100644 --- a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/Models.swift +++ b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -65,7 +65,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -92,7 +92,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -252,7 +252,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -485,7 +485,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -711,7 +711,7 @@ public struct DataEncryptionException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -746,7 +746,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3427,21 +3427,21 @@ extension UpdateRotationInput { extension AcceptPageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptPageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptPageOutput { return AcceptPageOutput() } } extension ActivateContactChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateContactChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateContactChannelOutput { return ActivateContactChannelOutput() } } extension CreateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3453,7 +3453,7 @@ extension CreateContactOutput { extension CreateContactChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContactChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContactChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3465,7 +3465,7 @@ extension CreateContactChannelOutput { extension CreateRotationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRotationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRotationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3477,7 +3477,7 @@ extension CreateRotationOutput { extension CreateRotationOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRotationOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRotationOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3489,42 +3489,42 @@ extension CreateRotationOverrideOutput { extension DeactivateContactChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateContactChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateContactChannelOutput { return DeactivateContactChannelOutput() } } extension DeleteContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactOutput { return DeleteContactOutput() } } extension DeleteContactChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContactChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContactChannelOutput { return DeleteContactChannelOutput() } } extension DeleteRotationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRotationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRotationOutput { return DeleteRotationOutput() } } extension DeleteRotationOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRotationOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRotationOverrideOutput { return DeleteRotationOverrideOutput() } } extension DescribeEngagementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEngagementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEngagementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3545,7 +3545,7 @@ extension DescribeEngagementOutput { extension DescribePageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3568,7 +3568,7 @@ extension DescribePageOutput { extension GetContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3584,7 +3584,7 @@ extension GetContactOutput { extension GetContactChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactChannelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3601,7 +3601,7 @@ extension GetContactChannelOutput { extension GetContactPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContactPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContactPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3614,7 +3614,7 @@ extension GetContactPolicyOutput { extension GetRotationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRotationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRotationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3631,7 +3631,7 @@ extension GetRotationOutput { extension GetRotationOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRotationOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRotationOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3648,7 +3648,7 @@ extension GetRotationOverrideOutput { extension ListContactChannelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactChannelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactChannelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3661,7 +3661,7 @@ extension ListContactChannelsOutput { extension ListContactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3674,7 +3674,7 @@ extension ListContactsOutput { extension ListEngagementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEngagementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEngagementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3687,7 +3687,7 @@ extension ListEngagementsOutput { extension ListPageReceiptsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPageReceiptsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPageReceiptsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3700,7 +3700,7 @@ extension ListPageReceiptsOutput { extension ListPageResolutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPageResolutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPageResolutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3713,7 +3713,7 @@ extension ListPageResolutionsOutput { extension ListPagesByContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPagesByContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPagesByContactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3726,7 +3726,7 @@ extension ListPagesByContactOutput { extension ListPagesByEngagementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPagesByEngagementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPagesByEngagementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3739,7 +3739,7 @@ extension ListPagesByEngagementOutput { extension ListPreviewRotationShiftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPreviewRotationShiftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPreviewRotationShiftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3752,7 +3752,7 @@ extension ListPreviewRotationShiftsOutput { extension ListRotationOverridesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRotationOverridesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRotationOverridesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3765,7 +3765,7 @@ extension ListRotationOverridesOutput { extension ListRotationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRotationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRotationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3778,7 +3778,7 @@ extension ListRotationsOutput { extension ListRotationShiftsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRotationShiftsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRotationShiftsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3791,7 +3791,7 @@ extension ListRotationShiftsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3803,21 +3803,21 @@ extension ListTagsForResourceOutput { extension PutContactPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutContactPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutContactPolicyOutput { return PutContactPolicyOutput() } } extension SendActivationCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendActivationCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendActivationCodeOutput { return SendActivationCodeOutput() } } extension StartEngagementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEngagementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEngagementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3829,49 +3829,49 @@ extension StartEngagementOutput { extension StopEngagementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEngagementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEngagementOutput { return StopEngagementOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateContactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactOutput { return UpdateContactOutput() } } extension UpdateContactChannelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContactChannelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContactChannelOutput { return UpdateContactChannelOutput() } } extension UpdateRotationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRotationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRotationOutput { return UpdateRotationOutput() } } enum AcceptPageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3889,7 +3889,7 @@ enum AcceptPageOutputError { enum ActivateContactChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3907,7 +3907,7 @@ enum ActivateContactChannelOutputError { enum CreateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3927,7 +3927,7 @@ enum CreateContactOutputError { enum CreateContactChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3946,7 +3946,7 @@ enum CreateContactChannelOutputError { enum CreateRotationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3965,7 +3965,7 @@ enum CreateRotationOutputError { enum CreateRotationOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3984,7 +3984,7 @@ enum CreateRotationOverrideOutputError { enum DeactivateContactChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4002,7 +4002,7 @@ enum DeactivateContactChannelOutputError { enum DeleteContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4021,7 +4021,7 @@ enum DeleteContactOutputError { enum DeleteContactChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4039,7 +4039,7 @@ enum DeleteContactChannelOutputError { enum DeleteRotationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4058,7 +4058,7 @@ enum DeleteRotationOutputError { enum DeleteRotationOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4076,7 +4076,7 @@ enum DeleteRotationOverrideOutputError { enum DescribeEngagementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4095,7 +4095,7 @@ enum DescribeEngagementOutputError { enum DescribePageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4114,7 +4114,7 @@ enum DescribePageOutputError { enum GetContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4133,7 +4133,7 @@ enum GetContactOutputError { enum GetContactChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4152,7 +4152,7 @@ enum GetContactChannelOutputError { enum GetContactPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4170,7 +4170,7 @@ enum GetContactPolicyOutputError { enum GetRotationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4188,7 +4188,7 @@ enum GetRotationOutputError { enum GetRotationOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4206,7 +4206,7 @@ enum GetRotationOverrideOutputError { enum ListContactChannelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4225,7 +4225,7 @@ enum ListContactChannelsOutputError { enum ListContactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4242,7 +4242,7 @@ enum ListContactsOutputError { enum ListEngagementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4259,7 +4259,7 @@ enum ListEngagementsOutputError { enum ListPageReceiptsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4277,7 +4277,7 @@ enum ListPageReceiptsOutputError { enum ListPageResolutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4295,7 +4295,7 @@ enum ListPageResolutionsOutputError { enum ListPagesByContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4313,7 +4313,7 @@ enum ListPagesByContactOutputError { enum ListPagesByEngagementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4331,7 +4331,7 @@ enum ListPagesByEngagementOutputError { enum ListPreviewRotationShiftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4348,7 +4348,7 @@ enum ListPreviewRotationShiftsOutputError { enum ListRotationOverridesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4366,7 +4366,7 @@ enum ListRotationOverridesOutputError { enum ListRotationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4384,7 +4384,7 @@ enum ListRotationsOutputError { enum ListRotationShiftsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4403,7 +4403,7 @@ enum ListRotationShiftsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4421,7 +4421,7 @@ enum ListTagsForResourceOutputError { enum PutContactPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4440,7 +4440,7 @@ enum PutContactPolicyOutputError { enum SendActivationCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4460,7 +4460,7 @@ enum SendActivationCodeOutputError { enum StartEngagementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4479,7 +4479,7 @@ enum StartEngagementOutputError { enum StopEngagementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4497,7 +4497,7 @@ enum StopEngagementOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4516,7 +4516,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4534,7 +4534,7 @@ enum UntagResourceOutputError { enum UpdateContactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4554,7 +4554,7 @@ enum UpdateContactOutputError { enum UpdateContactChannelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4574,7 +4574,7 @@ enum UpdateContactChannelOutputError { enum UpdateRotationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/Models.swift b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/Models.swift index 50c96078ba2..19fd9f57356 100644 --- a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/Models.swift +++ b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -289,7 +289,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -350,7 +350,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -379,7 +379,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -608,7 +608,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -649,7 +649,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3307,7 +3307,7 @@ extension UpdateTimelineEventInput { extension BatchGetIncidentFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetIncidentFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetIncidentFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3320,7 +3320,7 @@ extension BatchGetIncidentFindingsOutput { extension CreateReplicationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReplicationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReplicationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3332,7 +3332,7 @@ extension CreateReplicationSetOutput { extension CreateResponsePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResponsePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResponsePlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3344,7 +3344,7 @@ extension CreateResponsePlanOutput { extension CreateTimelineEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTimelineEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTimelineEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3357,42 +3357,42 @@ extension CreateTimelineEventOutput { extension DeleteIncidentRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIncidentRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIncidentRecordOutput { return DeleteIncidentRecordOutput() } } extension DeleteReplicationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReplicationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReplicationSetOutput { return DeleteReplicationSetOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteResponsePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResponsePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResponsePlanOutput { return DeleteResponsePlanOutput() } } extension DeleteTimelineEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTimelineEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTimelineEventOutput { return DeleteTimelineEventOutput() } } extension GetIncidentRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIncidentRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIncidentRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3404,7 +3404,7 @@ extension GetIncidentRecordOutput { extension GetReplicationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReplicationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReplicationSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3416,7 +3416,7 @@ extension GetReplicationSetOutput { extension GetResourcePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3429,7 +3429,7 @@ extension GetResourcePoliciesOutput { extension GetResponsePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResponsePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResponsePlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3448,7 +3448,7 @@ extension GetResponsePlanOutput { extension GetTimelineEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTimelineEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTimelineEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3460,7 +3460,7 @@ extension GetTimelineEventOutput { extension ListIncidentFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIncidentFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIncidentFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3473,7 +3473,7 @@ extension ListIncidentFindingsOutput { extension ListIncidentRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIncidentRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIncidentRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3486,7 +3486,7 @@ extension ListIncidentRecordsOutput { extension ListRelatedItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRelatedItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRelatedItemsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3499,7 +3499,7 @@ extension ListRelatedItemsOutput { extension ListReplicationSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReplicationSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReplicationSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3512,7 +3512,7 @@ extension ListReplicationSetsOutput { extension ListResponsePlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResponsePlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResponsePlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3525,7 +3525,7 @@ extension ListResponsePlansOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3537,7 +3537,7 @@ extension ListTagsForResourceOutput { extension ListTimelineEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTimelineEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTimelineEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3550,7 +3550,7 @@ extension ListTimelineEventsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3562,7 +3562,7 @@ extension PutResourcePolicyOutput { extension StartIncidentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartIncidentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartIncidentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3574,63 +3574,63 @@ extension StartIncidentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDeletionProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeletionProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeletionProtectionOutput { return UpdateDeletionProtectionOutput() } } extension UpdateIncidentRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIncidentRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIncidentRecordOutput { return UpdateIncidentRecordOutput() } } extension UpdateRelatedItemsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRelatedItemsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRelatedItemsOutput { return UpdateRelatedItemsOutput() } } extension UpdateReplicationSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReplicationSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReplicationSetOutput { return UpdateReplicationSetOutput() } } extension UpdateResponsePlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResponsePlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResponsePlanOutput { return UpdateResponsePlanOutput() } } extension UpdateTimelineEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTimelineEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTimelineEventOutput { return UpdateTimelineEventOutput() } } enum BatchGetIncidentFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3648,7 +3648,7 @@ enum BatchGetIncidentFindingsOutputError { enum CreateReplicationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3667,7 +3667,7 @@ enum CreateReplicationSetOutputError { enum CreateResponsePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3686,7 +3686,7 @@ enum CreateResponsePlanOutputError { enum CreateTimelineEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3705,7 +3705,7 @@ enum CreateTimelineEventOutputError { enum DeleteIncidentRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3722,7 +3722,7 @@ enum DeleteIncidentRecordOutputError { enum DeleteReplicationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3740,7 +3740,7 @@ enum DeleteReplicationSetOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3758,7 +3758,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteResponsePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3775,7 +3775,7 @@ enum DeleteResponsePlanOutputError { enum DeleteTimelineEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3792,7 +3792,7 @@ enum DeleteTimelineEventOutputError { enum GetIncidentRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3810,7 +3810,7 @@ enum GetIncidentRecordOutputError { enum GetReplicationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3828,7 +3828,7 @@ enum GetReplicationSetOutputError { enum GetResourcePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3846,7 +3846,7 @@ enum GetResourcePoliciesOutputError { enum GetResponsePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3864,7 +3864,7 @@ enum GetResponsePlanOutputError { enum GetTimelineEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3882,7 +3882,7 @@ enum GetTimelineEventOutputError { enum ListIncidentFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3900,7 +3900,7 @@ enum ListIncidentFindingsOutputError { enum ListIncidentRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3917,7 +3917,7 @@ enum ListIncidentRecordsOutputError { enum ListRelatedItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3934,7 +3934,7 @@ enum ListRelatedItemsOutputError { enum ListReplicationSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3951,7 +3951,7 @@ enum ListReplicationSetsOutputError { enum ListResponsePlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3968,7 +3968,7 @@ enum ListResponsePlansOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3986,7 +3986,7 @@ enum ListTagsForResourceOutputError { enum ListTimelineEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4003,7 +4003,7 @@ enum ListTimelineEventsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4021,7 +4021,7 @@ enum PutResourcePolicyOutputError { enum StartIncidentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4040,7 +4040,7 @@ enum StartIncidentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4060,7 +4060,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4079,7 +4079,7 @@ enum UntagResourceOutputError { enum UpdateDeletionProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4097,7 +4097,7 @@ enum UpdateDeletionProtectionOutputError { enum UpdateIncidentRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4116,7 +4116,7 @@ enum UpdateIncidentRecordOutputError { enum UpdateRelatedItemsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4135,7 +4135,7 @@ enum UpdateRelatedItemsOutputError { enum UpdateReplicationSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4154,7 +4154,7 @@ enum UpdateReplicationSetOutputError { enum UpdateResponsePlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4173,7 +4173,7 @@ enum UpdateResponsePlanOutputError { enum UpdateTimelineEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSSO/Sources/AWSSSO/Models.swift b/Sources/Services/AWSSSO/Sources/AWSSSO/Models.swift index a602e964b2b..a7bf43c0ed9 100644 --- a/Sources/Services/AWSSSO/Sources/AWSSSO/Models.swift +++ b/Sources/Services/AWSSSO/Sources/AWSSSO/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import enum ClientRuntime.ErrorFault import enum Smithy.ClientError @@ -62,7 +62,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -478,7 +478,7 @@ extension LogoutInput { extension GetRoleCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRoleCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRoleCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -490,7 +490,7 @@ extension GetRoleCredentialsOutput { extension ListAccountRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountRolesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -503,7 +503,7 @@ extension ListAccountRolesOutput { extension ListAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -516,14 +516,14 @@ extension ListAccountsOutput { extension LogoutOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> LogoutOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> LogoutOutput { return LogoutOutput() } } enum GetRoleCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -540,7 +540,7 @@ enum GetRoleCredentialsOutputError { enum ListAccountRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -557,7 +557,7 @@ enum ListAccountRolesOutputError { enum ListAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -574,7 +574,7 @@ enum ListAccountsOutputError { enum LogoutOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/Models.swift b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/Models.swift index 7eb033f4f17..02731e56595 100644 --- a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/Models.swift +++ b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -103,7 +103,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -522,7 +522,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -546,7 +546,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -570,7 +570,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -594,7 +594,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -618,7 +618,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1371,7 +1371,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5299,21 +5299,21 @@ extension UpdateTrustedTokenIssuerInput { extension AttachCustomerManagedPolicyReferenceToPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachCustomerManagedPolicyReferenceToPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachCustomerManagedPolicyReferenceToPermissionSetOutput { return AttachCustomerManagedPolicyReferenceToPermissionSetOutput() } } extension AttachManagedPolicyToPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachManagedPolicyToPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachManagedPolicyToPermissionSetOutput { return AttachManagedPolicyToPermissionSetOutput() } } extension CreateAccountAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5325,7 +5325,7 @@ extension CreateAccountAssignmentOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5337,14 +5337,14 @@ extension CreateApplicationOutput { extension CreateApplicationAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationAssignmentOutput { return CreateApplicationAssignmentOutput() } } extension CreateInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5356,14 +5356,14 @@ extension CreateInstanceOutput { extension CreateInstanceAccessControlAttributeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInstanceAccessControlAttributeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInstanceAccessControlAttributeConfigurationOutput { return CreateInstanceAccessControlAttributeConfigurationOutput() } } extension CreatePermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5375,7 +5375,7 @@ extension CreatePermissionSetOutput { extension CreateTrustedTokenIssuerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrustedTokenIssuerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrustedTokenIssuerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5387,7 +5387,7 @@ extension CreateTrustedTokenIssuerOutput { extension DeleteAccountAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5399,84 +5399,84 @@ extension DeleteAccountAssignmentOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension DeleteApplicationAccessScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationAccessScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationAccessScopeOutput { return DeleteApplicationAccessScopeOutput() } } extension DeleteApplicationAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationAssignmentOutput { return DeleteApplicationAssignmentOutput() } } extension DeleteApplicationAuthenticationMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationAuthenticationMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationAuthenticationMethodOutput { return DeleteApplicationAuthenticationMethodOutput() } } extension DeleteApplicationGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationGrantOutput { return DeleteApplicationGrantOutput() } } extension DeleteInlinePolicyFromPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInlinePolicyFromPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInlinePolicyFromPermissionSetOutput { return DeleteInlinePolicyFromPermissionSetOutput() } } extension DeleteInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOutput { return DeleteInstanceOutput() } } extension DeleteInstanceAccessControlAttributeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInstanceAccessControlAttributeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceAccessControlAttributeConfigurationOutput { return DeleteInstanceAccessControlAttributeConfigurationOutput() } } extension DeletePermissionsBoundaryFromPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionsBoundaryFromPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionsBoundaryFromPermissionSetOutput { return DeletePermissionsBoundaryFromPermissionSetOutput() } } extension DeletePermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionSetOutput { return DeletePermissionSetOutput() } } extension DeleteTrustedTokenIssuerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrustedTokenIssuerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrustedTokenIssuerOutput { return DeleteTrustedTokenIssuerOutput() } } extension DescribeAccountAssignmentCreationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAssignmentCreationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAssignmentCreationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5488,7 +5488,7 @@ extension DescribeAccountAssignmentCreationStatusOutput { extension DescribeAccountAssignmentDeletionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountAssignmentDeletionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountAssignmentDeletionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5500,7 +5500,7 @@ extension DescribeAccountAssignmentDeletionStatusOutput { extension DescribeApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5520,7 +5520,7 @@ extension DescribeApplicationOutput { extension DescribeApplicationAssignmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationAssignmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationAssignmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5534,7 +5534,7 @@ extension DescribeApplicationAssignmentOutput { extension DescribeApplicationProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5549,7 +5549,7 @@ extension DescribeApplicationProviderOutput { extension DescribeInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5566,7 +5566,7 @@ extension DescribeInstanceOutput { extension DescribeInstanceAccessControlAttributeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInstanceAccessControlAttributeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInstanceAccessControlAttributeConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5580,7 +5580,7 @@ extension DescribeInstanceAccessControlAttributeConfigurationOutput { extension DescribePermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5592,7 +5592,7 @@ extension DescribePermissionSetOutput { extension DescribePermissionSetProvisioningStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePermissionSetProvisioningStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePermissionSetProvisioningStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5604,7 +5604,7 @@ extension DescribePermissionSetProvisioningStatusOutput { extension DescribeTrustedTokenIssuerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustedTokenIssuerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustedTokenIssuerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5619,21 +5619,21 @@ extension DescribeTrustedTokenIssuerOutput { extension DetachCustomerManagedPolicyReferenceFromPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachCustomerManagedPolicyReferenceFromPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachCustomerManagedPolicyReferenceFromPermissionSetOutput { return DetachCustomerManagedPolicyReferenceFromPermissionSetOutput() } } extension DetachManagedPolicyFromPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachManagedPolicyFromPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachManagedPolicyFromPermissionSetOutput { return DetachManagedPolicyFromPermissionSetOutput() } } extension GetApplicationAccessScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationAccessScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationAccessScopeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5646,7 +5646,7 @@ extension GetApplicationAccessScopeOutput { extension GetApplicationAssignmentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationAssignmentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationAssignmentConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5658,7 +5658,7 @@ extension GetApplicationAssignmentConfigurationOutput { extension GetApplicationAuthenticationMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationAuthenticationMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationAuthenticationMethodOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5670,7 +5670,7 @@ extension GetApplicationAuthenticationMethodOutput { extension GetApplicationGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationGrantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5682,7 +5682,7 @@ extension GetApplicationGrantOutput { extension GetInlinePolicyForPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInlinePolicyForPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInlinePolicyForPermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5694,7 +5694,7 @@ extension GetInlinePolicyForPermissionSetOutput { extension GetPermissionsBoundaryForPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPermissionsBoundaryForPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPermissionsBoundaryForPermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5706,7 +5706,7 @@ extension GetPermissionsBoundaryForPermissionSetOutput { extension ListAccountAssignmentCreationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountAssignmentCreationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountAssignmentCreationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5719,7 +5719,7 @@ extension ListAccountAssignmentCreationStatusOutput { extension ListAccountAssignmentDeletionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountAssignmentDeletionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountAssignmentDeletionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5732,7 +5732,7 @@ extension ListAccountAssignmentDeletionStatusOutput { extension ListAccountAssignmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountAssignmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountAssignmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5745,7 +5745,7 @@ extension ListAccountAssignmentsOutput { extension ListAccountAssignmentsForPrincipalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountAssignmentsForPrincipalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountAssignmentsForPrincipalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5758,7 +5758,7 @@ extension ListAccountAssignmentsForPrincipalOutput { extension ListAccountsForProvisionedPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountsForProvisionedPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountsForProvisionedPermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5771,7 +5771,7 @@ extension ListAccountsForProvisionedPermissionSetOutput { extension ListApplicationAccessScopesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationAccessScopesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationAccessScopesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5784,7 +5784,7 @@ extension ListApplicationAccessScopesOutput { extension ListApplicationAssignmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationAssignmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationAssignmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5797,7 +5797,7 @@ extension ListApplicationAssignmentsOutput { extension ListApplicationAssignmentsForPrincipalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationAssignmentsForPrincipalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationAssignmentsForPrincipalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5810,7 +5810,7 @@ extension ListApplicationAssignmentsForPrincipalOutput { extension ListApplicationAuthenticationMethodsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationAuthenticationMethodsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationAuthenticationMethodsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5823,7 +5823,7 @@ extension ListApplicationAuthenticationMethodsOutput { extension ListApplicationGrantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationGrantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationGrantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5836,7 +5836,7 @@ extension ListApplicationGrantsOutput { extension ListApplicationProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5849,7 +5849,7 @@ extension ListApplicationProvidersOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5862,7 +5862,7 @@ extension ListApplicationsOutput { extension ListCustomerManagedPolicyReferencesInPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCustomerManagedPolicyReferencesInPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCustomerManagedPolicyReferencesInPermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5875,7 +5875,7 @@ extension ListCustomerManagedPolicyReferencesInPermissionSetOutput { extension ListInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5888,7 +5888,7 @@ extension ListInstancesOutput { extension ListManagedPoliciesInPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedPoliciesInPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedPoliciesInPermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5901,7 +5901,7 @@ extension ListManagedPoliciesInPermissionSetOutput { extension ListPermissionSetProvisioningStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionSetProvisioningStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionSetProvisioningStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5914,7 +5914,7 @@ extension ListPermissionSetProvisioningStatusOutput { extension ListPermissionSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5927,7 +5927,7 @@ extension ListPermissionSetsOutput { extension ListPermissionSetsProvisionedToAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPermissionSetsProvisionedToAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPermissionSetsProvisionedToAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5940,7 +5940,7 @@ extension ListPermissionSetsProvisionedToAccountOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5953,7 +5953,7 @@ extension ListTagsForResourceOutput { extension ListTrustedTokenIssuersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrustedTokenIssuersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrustedTokenIssuersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5966,7 +5966,7 @@ extension ListTrustedTokenIssuersOutput { extension ProvisionPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionPermissionSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5978,98 +5978,98 @@ extension ProvisionPermissionSetOutput { extension PutApplicationAccessScopeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutApplicationAccessScopeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutApplicationAccessScopeOutput { return PutApplicationAccessScopeOutput() } } extension PutApplicationAssignmentConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutApplicationAssignmentConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutApplicationAssignmentConfigurationOutput { return PutApplicationAssignmentConfigurationOutput() } } extension PutApplicationAuthenticationMethodOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutApplicationAuthenticationMethodOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutApplicationAuthenticationMethodOutput { return PutApplicationAuthenticationMethodOutput() } } extension PutApplicationGrantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutApplicationGrantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutApplicationGrantOutput { return PutApplicationGrantOutput() } } extension PutInlinePolicyToPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutInlinePolicyToPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutInlinePolicyToPermissionSetOutput { return PutInlinePolicyToPermissionSetOutput() } } extension PutPermissionsBoundaryToPermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionsBoundaryToPermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionsBoundaryToPermissionSetOutput { return PutPermissionsBoundaryToPermissionSetOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { return UpdateApplicationOutput() } } extension UpdateInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceOutput { return UpdateInstanceOutput() } } extension UpdateInstanceAccessControlAttributeConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceAccessControlAttributeConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceAccessControlAttributeConfigurationOutput { return UpdateInstanceAccessControlAttributeConfigurationOutput() } } extension UpdatePermissionSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePermissionSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePermissionSetOutput { return UpdatePermissionSetOutput() } } extension UpdateTrustedTokenIssuerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrustedTokenIssuerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrustedTokenIssuerOutput { return UpdateTrustedTokenIssuerOutput() } } enum AttachCustomerManagedPolicyReferenceToPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6089,7 +6089,7 @@ enum AttachCustomerManagedPolicyReferenceToPermissionSetOutputError { enum AttachManagedPolicyToPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6109,7 +6109,7 @@ enum AttachManagedPolicyToPermissionSetOutputError { enum CreateAccountAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6129,7 +6129,7 @@ enum CreateAccountAssignmentOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6149,7 +6149,7 @@ enum CreateApplicationOutputError { enum CreateApplicationAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6169,7 +6169,7 @@ enum CreateApplicationAssignmentOutputError { enum CreateInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6188,7 +6188,7 @@ enum CreateInstanceOutputError { enum CreateInstanceAccessControlAttributeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6207,7 +6207,7 @@ enum CreateInstanceAccessControlAttributeConfigurationOutputError { enum CreatePermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6227,7 +6227,7 @@ enum CreatePermissionSetOutputError { enum CreateTrustedTokenIssuerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6246,7 +6246,7 @@ enum CreateTrustedTokenIssuerOutputError { enum DeleteAccountAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6265,7 +6265,7 @@ enum DeleteAccountAssignmentOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6284,7 +6284,7 @@ enum DeleteApplicationOutputError { enum DeleteApplicationAccessScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6303,7 +6303,7 @@ enum DeleteApplicationAccessScopeOutputError { enum DeleteApplicationAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6322,7 +6322,7 @@ enum DeleteApplicationAssignmentOutputError { enum DeleteApplicationAuthenticationMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6341,7 +6341,7 @@ enum DeleteApplicationAuthenticationMethodOutputError { enum DeleteApplicationGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6360,7 +6360,7 @@ enum DeleteApplicationGrantOutputError { enum DeleteInlinePolicyFromPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6379,7 +6379,7 @@ enum DeleteInlinePolicyFromPermissionSetOutputError { enum DeleteInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6397,7 +6397,7 @@ enum DeleteInstanceOutputError { enum DeleteInstanceAccessControlAttributeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6416,7 +6416,7 @@ enum DeleteInstanceAccessControlAttributeConfigurationOutputError { enum DeletePermissionsBoundaryFromPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6435,7 +6435,7 @@ enum DeletePermissionsBoundaryFromPermissionSetOutputError { enum DeletePermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6454,7 +6454,7 @@ enum DeletePermissionSetOutputError { enum DeleteTrustedTokenIssuerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6473,7 +6473,7 @@ enum DeleteTrustedTokenIssuerOutputError { enum DescribeAccountAssignmentCreationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6491,7 +6491,7 @@ enum DescribeAccountAssignmentCreationStatusOutputError { enum DescribeAccountAssignmentDeletionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6509,7 +6509,7 @@ enum DescribeAccountAssignmentDeletionStatusOutputError { enum DescribeApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6527,7 +6527,7 @@ enum DescribeApplicationOutputError { enum DescribeApplicationAssignmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6545,7 +6545,7 @@ enum DescribeApplicationAssignmentOutputError { enum DescribeApplicationProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6563,7 +6563,7 @@ enum DescribeApplicationProviderOutputError { enum DescribeInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6580,7 +6580,7 @@ enum DescribeInstanceOutputError { enum DescribeInstanceAccessControlAttributeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6598,7 +6598,7 @@ enum DescribeInstanceAccessControlAttributeConfigurationOutputError { enum DescribePermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6616,7 +6616,7 @@ enum DescribePermissionSetOutputError { enum DescribePermissionSetProvisioningStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6634,7 +6634,7 @@ enum DescribePermissionSetProvisioningStatusOutputError { enum DescribeTrustedTokenIssuerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6652,7 +6652,7 @@ enum DescribeTrustedTokenIssuerOutputError { enum DetachCustomerManagedPolicyReferenceFromPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6671,7 +6671,7 @@ enum DetachCustomerManagedPolicyReferenceFromPermissionSetOutputError { enum DetachManagedPolicyFromPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6690,7 +6690,7 @@ enum DetachManagedPolicyFromPermissionSetOutputError { enum GetApplicationAccessScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6708,7 +6708,7 @@ enum GetApplicationAccessScopeOutputError { enum GetApplicationAssignmentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6726,7 +6726,7 @@ enum GetApplicationAssignmentConfigurationOutputError { enum GetApplicationAuthenticationMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6744,7 +6744,7 @@ enum GetApplicationAuthenticationMethodOutputError { enum GetApplicationGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6762,7 +6762,7 @@ enum GetApplicationGrantOutputError { enum GetInlinePolicyForPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6780,7 +6780,7 @@ enum GetInlinePolicyForPermissionSetOutputError { enum GetPermissionsBoundaryForPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6798,7 +6798,7 @@ enum GetPermissionsBoundaryForPermissionSetOutputError { enum ListAccountAssignmentCreationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6816,7 +6816,7 @@ enum ListAccountAssignmentCreationStatusOutputError { enum ListAccountAssignmentDeletionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6834,7 +6834,7 @@ enum ListAccountAssignmentDeletionStatusOutputError { enum ListAccountAssignmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6852,7 +6852,7 @@ enum ListAccountAssignmentsOutputError { enum ListAccountAssignmentsForPrincipalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6870,7 +6870,7 @@ enum ListAccountAssignmentsForPrincipalOutputError { enum ListAccountsForProvisionedPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6888,7 +6888,7 @@ enum ListAccountsForProvisionedPermissionSetOutputError { enum ListApplicationAccessScopesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6906,7 +6906,7 @@ enum ListApplicationAccessScopesOutputError { enum ListApplicationAssignmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6924,7 +6924,7 @@ enum ListApplicationAssignmentsOutputError { enum ListApplicationAssignmentsForPrincipalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6942,7 +6942,7 @@ enum ListApplicationAssignmentsForPrincipalOutputError { enum ListApplicationAuthenticationMethodsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6960,7 +6960,7 @@ enum ListApplicationAuthenticationMethodsOutputError { enum ListApplicationGrantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6978,7 +6978,7 @@ enum ListApplicationGrantsOutputError { enum ListApplicationProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6995,7 +6995,7 @@ enum ListApplicationProvidersOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7012,7 +7012,7 @@ enum ListApplicationsOutputError { enum ListCustomerManagedPolicyReferencesInPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7030,7 +7030,7 @@ enum ListCustomerManagedPolicyReferencesInPermissionSetOutputError { enum ListInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7047,7 +7047,7 @@ enum ListInstancesOutputError { enum ListManagedPoliciesInPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7065,7 +7065,7 @@ enum ListManagedPoliciesInPermissionSetOutputError { enum ListPermissionSetProvisioningStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7083,7 +7083,7 @@ enum ListPermissionSetProvisioningStatusOutputError { enum ListPermissionSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7101,7 +7101,7 @@ enum ListPermissionSetsOutputError { enum ListPermissionSetsProvisionedToAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7119,7 +7119,7 @@ enum ListPermissionSetsProvisionedToAccountOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7137,7 +7137,7 @@ enum ListTagsForResourceOutputError { enum ListTrustedTokenIssuersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7154,7 +7154,7 @@ enum ListTrustedTokenIssuersOutputError { enum ProvisionPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7173,7 +7173,7 @@ enum ProvisionPermissionSetOutputError { enum PutApplicationAccessScopeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7192,7 +7192,7 @@ enum PutApplicationAccessScopeOutputError { enum PutApplicationAssignmentConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7211,7 +7211,7 @@ enum PutApplicationAssignmentConfigurationOutputError { enum PutApplicationAuthenticationMethodOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7230,7 +7230,7 @@ enum PutApplicationAuthenticationMethodOutputError { enum PutApplicationGrantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7249,7 +7249,7 @@ enum PutApplicationGrantOutputError { enum PutInlinePolicyToPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7269,7 +7269,7 @@ enum PutInlinePolicyToPermissionSetOutputError { enum PutPermissionsBoundaryToPermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7288,7 +7288,7 @@ enum PutPermissionsBoundaryToPermissionSetOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7308,7 +7308,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7327,7 +7327,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7346,7 +7346,7 @@ enum UpdateApplicationOutputError { enum UpdateInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7364,7 +7364,7 @@ enum UpdateInstanceOutputError { enum UpdateInstanceAccessControlAttributeConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7383,7 +7383,7 @@ enum UpdateInstanceAccessControlAttributeConfigurationOutputError { enum UpdatePermissionSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7402,7 +7402,7 @@ enum UpdatePermissionSetOutputError { enum UpdateTrustedTokenIssuerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/Models.swift b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/Models.swift index 33384d76abd..f3076fcec45 100644 --- a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/Models.swift +++ b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -64,7 +64,7 @@ public struct AuthorizationPendingException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct ExpiredTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -122,7 +122,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct InvalidClientException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -180,7 +180,7 @@ public struct InvalidGrantException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -209,7 +209,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -238,7 +238,7 @@ public struct InvalidScopeException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -267,7 +267,7 @@ public struct SlowDownException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -296,7 +296,7 @@ public struct UnauthorizedClientException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -325,7 +325,7 @@ public struct UnsupportedGrantTypeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -443,7 +443,7 @@ public struct InvalidRequestRegionException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -576,7 +576,7 @@ public struct InvalidClientMetadataException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -605,7 +605,7 @@ public struct InvalidRedirectUriException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -851,7 +851,7 @@ extension StartDeviceAuthorizationInput { extension CreateTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -867,7 +867,7 @@ extension CreateTokenOutput { extension CreateTokenWithIAMOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTokenWithIAMOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTokenWithIAMOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -885,7 +885,7 @@ extension CreateTokenWithIAMOutput { extension RegisterClientOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterClientOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterClientOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -902,7 +902,7 @@ extension RegisterClientOutput { extension StartDeviceAuthorizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDeviceAuthorizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDeviceAuthorizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -919,7 +919,7 @@ extension StartDeviceAuthorizationOutput { enum CreateTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -943,7 +943,7 @@ enum CreateTokenOutputError { enum CreateTokenWithIAMOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -968,7 +968,7 @@ enum CreateTokenWithIAMOutputError { enum RegisterClientOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -987,7 +987,7 @@ enum RegisterClientOutputError { enum StartDeviceAuthorizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift index 348125acdec..5990167d3c3 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift @@ -10,8 +10,8 @@ import Foundation import class Smithy.ContextBuilder import class SmithyFormURL.Writer -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import class SmithyXML.Reader import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum ClientRuntime.ErrorFault @@ -73,7 +73,7 @@ public struct ExpiredTokenException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -97,7 +97,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +121,7 @@ public struct PackedPolicyTooLargeException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +145,7 @@ public struct RegionDisabledException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -347,7 +347,7 @@ public struct IDPRejectedClaimException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -371,7 +371,7 @@ public struct InvalidIdentityTokenException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -489,7 +489,7 @@ public struct IDPCommunicationErrorException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -594,7 +594,7 @@ public struct InvalidAuthorizationMessageException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -954,7 +954,7 @@ extension GetSessionTokenInput { extension AssumeRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AssumeRoleResult"] @@ -969,7 +969,7 @@ extension AssumeRoleOutput { extension AssumeRoleWithSAMLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeRoleWithSAMLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeRoleWithSAMLOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AssumeRoleWithSAMLResult"] @@ -989,7 +989,7 @@ extension AssumeRoleWithSAMLOutput { extension AssumeRoleWithWebIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeRoleWithWebIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeRoleWithWebIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["AssumeRoleWithWebIdentityResult"] @@ -1007,7 +1007,7 @@ extension AssumeRoleWithWebIdentityOutput { extension DecodeAuthorizationMessageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DecodeAuthorizationMessageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DecodeAuthorizationMessageOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["DecodeAuthorizationMessageResult"] @@ -1019,7 +1019,7 @@ extension DecodeAuthorizationMessageOutput { extension GetAccessKeyInfoOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessKeyInfoOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessKeyInfoOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetAccessKeyInfoResult"] @@ -1031,7 +1031,7 @@ extension GetAccessKeyInfoOutput { extension GetCallerIdentityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCallerIdentityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCallerIdentityOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetCallerIdentityResult"] @@ -1045,7 +1045,7 @@ extension GetCallerIdentityOutput { extension GetFederationTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFederationTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFederationTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetFederationTokenResult"] @@ -1059,7 +1059,7 @@ extension GetFederationTokenOutput { extension GetSessionTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader["GetSessionTokenResult"] @@ -1071,7 +1071,7 @@ extension GetSessionTokenOutput { enum AssumeRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1088,7 +1088,7 @@ enum AssumeRoleOutputError { enum AssumeRoleWithSAMLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1107,7 +1107,7 @@ enum AssumeRoleWithSAMLOutputError { enum AssumeRoleWithWebIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1127,7 +1127,7 @@ enum AssumeRoleWithWebIdentityOutputError { enum DecodeAuthorizationMessageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1141,7 +1141,7 @@ enum DecodeAuthorizationMessageOutputError { enum GetAccessKeyInfoOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1154,7 +1154,7 @@ enum GetAccessKeyInfoOutputError { enum GetCallerIdentityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1167,7 +1167,7 @@ enum GetCallerIdentityOutputError { enum GetFederationTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1183,7 +1183,7 @@ enum GetFederationTokenOutputError { enum GetSessionTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1361,7 +1361,7 @@ extension STSClientTypes.ProvidedContext { } extension GetCallerIdentityInput { - public func presign(config: STSClient.STSClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.SdkHttpRequest? { + public func presign(config: STSClient.STSClientConfiguration, expiration: Foundation.TimeInterval) async throws -> SmithyHTTPAPI.HTTPRequest? { let serviceName = "STS" let input = self let context = Smithy.ContextBuilder() diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift index 391429f1e6b..2dd67db912e 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift @@ -19,7 +19,7 @@ import class ClientRuntime.HttpClientConfiguration import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder import class SmithyFormURL.Writer -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode import enum ClientRuntime.ClientLogMode @@ -637,6 +637,6 @@ extension STSClient { guard let presignedRequest else { throw Smithy.ClientError.unknownError("Could not presign the request for the operation GetCallerIdentity.") } - return try await SmithyHTTPAPI.SdkHttpRequest.makeURLRequest(from: presignedRequest) + return try await SmithyHTTPAPI.HTTPRequest.makeURLRequest(from: presignedRequest) } } diff --git a/Sources/Services/AWSSWF/Sources/AWSSWF/Models.swift b/Sources/Services/AWSSWF/Sources/AWSSWF/Models.swift index 270ded30f16..c03803cb826 100644 --- a/Sources/Services/AWSSWF/Sources/AWSSWF/Models.swift +++ b/Sources/Services/AWSSWF/Sources/AWSSWF/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1277,7 +1277,7 @@ public struct OperationNotPermittedFault: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1302,7 +1302,7 @@ public struct UnknownResourceFault: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4346,7 +4346,7 @@ public struct DefaultUndefinedFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4370,7 +4370,7 @@ public struct TypeNotDeprecatedFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4431,7 +4431,7 @@ public struct TypeDeprecatedFault: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4474,7 +4474,7 @@ public struct DomainDeprecatedFault: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4997,7 +4997,7 @@ public struct DomainAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5070,7 +5070,7 @@ public struct LimitExceededFault: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5586,7 +5586,7 @@ public struct TypeAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5661,7 +5661,7 @@ public struct TooManyTagsFault: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5907,7 +5907,7 @@ public struct WorkflowExecutionAlreadyStartedFault: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6826,7 +6826,7 @@ extension UntagResourceInput { extension CountClosedWorkflowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CountClosedWorkflowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CountClosedWorkflowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6839,7 +6839,7 @@ extension CountClosedWorkflowExecutionsOutput { extension CountOpenWorkflowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CountOpenWorkflowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CountOpenWorkflowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6852,7 +6852,7 @@ extension CountOpenWorkflowExecutionsOutput { extension CountPendingActivityTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CountPendingActivityTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CountPendingActivityTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6865,7 +6865,7 @@ extension CountPendingActivityTasksOutput { extension CountPendingDecisionTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CountPendingDecisionTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CountPendingDecisionTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6878,42 +6878,42 @@ extension CountPendingDecisionTasksOutput { extension DeleteActivityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteActivityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteActivityTypeOutput { return DeleteActivityTypeOutput() } } extension DeleteWorkflowTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowTypeOutput { return DeleteWorkflowTypeOutput() } } extension DeprecateActivityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprecateActivityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprecateActivityTypeOutput { return DeprecateActivityTypeOutput() } } extension DeprecateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprecateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprecateDomainOutput { return DeprecateDomainOutput() } } extension DeprecateWorkflowTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeprecateWorkflowTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeprecateWorkflowTypeOutput { return DeprecateWorkflowTypeOutput() } } extension DescribeActivityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActivityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActivityTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6926,7 +6926,7 @@ extension DescribeActivityTypeOutput { extension DescribeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6939,7 +6939,7 @@ extension DescribeDomainOutput { extension DescribeWorkflowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkflowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkflowExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6955,7 +6955,7 @@ extension DescribeWorkflowExecutionOutput { extension DescribeWorkflowTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkflowTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkflowTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6968,7 +6968,7 @@ extension DescribeWorkflowTypeOutput { extension GetWorkflowExecutionHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkflowExecutionHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkflowExecutionHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6981,7 +6981,7 @@ extension GetWorkflowExecutionHistoryOutput { extension ListActivityTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActivityTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActivityTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6994,7 +6994,7 @@ extension ListActivityTypesOutput { extension ListClosedWorkflowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClosedWorkflowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClosedWorkflowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7007,7 +7007,7 @@ extension ListClosedWorkflowExecutionsOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7020,7 +7020,7 @@ extension ListDomainsOutput { extension ListOpenWorkflowExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOpenWorkflowExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOpenWorkflowExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7033,7 +7033,7 @@ extension ListOpenWorkflowExecutionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7045,7 +7045,7 @@ extension ListTagsForResourceOutput { extension ListWorkflowTypesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowTypesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowTypesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7058,7 +7058,7 @@ extension ListWorkflowTypesOutput { extension PollForActivityTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PollForActivityTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PollForActivityTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7075,7 +7075,7 @@ extension PollForActivityTaskOutput { extension PollForDecisionTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PollForDecisionTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PollForDecisionTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7093,7 +7093,7 @@ extension PollForDecisionTaskOutput { extension RecordActivityTaskHeartbeatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RecordActivityTaskHeartbeatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RecordActivityTaskHeartbeatOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7105,70 +7105,70 @@ extension RecordActivityTaskHeartbeatOutput { extension RegisterActivityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterActivityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterActivityTypeOutput { return RegisterActivityTypeOutput() } } extension RegisterDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDomainOutput { return RegisterDomainOutput() } } extension RegisterWorkflowTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterWorkflowTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterWorkflowTypeOutput { return RegisterWorkflowTypeOutput() } } extension RequestCancelWorkflowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestCancelWorkflowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestCancelWorkflowExecutionOutput { return RequestCancelWorkflowExecutionOutput() } } extension RespondActivityTaskCanceledOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RespondActivityTaskCanceledOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RespondActivityTaskCanceledOutput { return RespondActivityTaskCanceledOutput() } } extension RespondActivityTaskCompletedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RespondActivityTaskCompletedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RespondActivityTaskCompletedOutput { return RespondActivityTaskCompletedOutput() } } extension RespondActivityTaskFailedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RespondActivityTaskFailedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RespondActivityTaskFailedOutput { return RespondActivityTaskFailedOutput() } } extension RespondDecisionTaskCompletedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RespondDecisionTaskCompletedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RespondDecisionTaskCompletedOutput { return RespondDecisionTaskCompletedOutput() } } extension SignalWorkflowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignalWorkflowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignalWorkflowExecutionOutput { return SignalWorkflowExecutionOutput() } } extension StartWorkflowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWorkflowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWorkflowExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7180,49 +7180,49 @@ extension StartWorkflowExecutionOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TerminateWorkflowExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateWorkflowExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateWorkflowExecutionOutput { return TerminateWorkflowExecutionOutput() } } extension UndeprecateActivityTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UndeprecateActivityTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UndeprecateActivityTypeOutput { return UndeprecateActivityTypeOutput() } } extension UndeprecateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UndeprecateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UndeprecateDomainOutput { return UndeprecateDomainOutput() } } extension UndeprecateWorkflowTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UndeprecateWorkflowTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UndeprecateWorkflowTypeOutput { return UndeprecateWorkflowTypeOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CountClosedWorkflowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7237,7 +7237,7 @@ enum CountClosedWorkflowExecutionsOutputError { enum CountOpenWorkflowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7252,7 +7252,7 @@ enum CountOpenWorkflowExecutionsOutputError { enum CountPendingActivityTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7267,7 +7267,7 @@ enum CountPendingActivityTasksOutputError { enum CountPendingDecisionTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7282,7 +7282,7 @@ enum CountPendingDecisionTasksOutputError { enum DeleteActivityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7298,7 +7298,7 @@ enum DeleteActivityTypeOutputError { enum DeleteWorkflowTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7314,7 +7314,7 @@ enum DeleteWorkflowTypeOutputError { enum DeprecateActivityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7330,7 +7330,7 @@ enum DeprecateActivityTypeOutputError { enum DeprecateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7346,7 +7346,7 @@ enum DeprecateDomainOutputError { enum DeprecateWorkflowTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7362,7 +7362,7 @@ enum DeprecateWorkflowTypeOutputError { enum DescribeActivityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7377,7 +7377,7 @@ enum DescribeActivityTypeOutputError { enum DescribeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7392,7 +7392,7 @@ enum DescribeDomainOutputError { enum DescribeWorkflowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7407,7 +7407,7 @@ enum DescribeWorkflowExecutionOutputError { enum DescribeWorkflowTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7422,7 +7422,7 @@ enum DescribeWorkflowTypeOutputError { enum GetWorkflowExecutionHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7437,7 +7437,7 @@ enum GetWorkflowExecutionHistoryOutputError { enum ListActivityTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7452,7 +7452,7 @@ enum ListActivityTypesOutputError { enum ListClosedWorkflowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7467,7 +7467,7 @@ enum ListClosedWorkflowExecutionsOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7481,7 +7481,7 @@ enum ListDomainsOutputError { enum ListOpenWorkflowExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7496,7 +7496,7 @@ enum ListOpenWorkflowExecutionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7512,7 +7512,7 @@ enum ListTagsForResourceOutputError { enum ListWorkflowTypesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7527,7 +7527,7 @@ enum ListWorkflowTypesOutputError { enum PollForActivityTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7543,7 +7543,7 @@ enum PollForActivityTaskOutputError { enum PollForDecisionTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7559,7 +7559,7 @@ enum PollForDecisionTaskOutputError { enum RecordActivityTaskHeartbeatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7574,7 +7574,7 @@ enum RecordActivityTaskHeartbeatOutputError { enum RegisterActivityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7591,7 +7591,7 @@ enum RegisterActivityTypeOutputError { enum RegisterDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7608,7 +7608,7 @@ enum RegisterDomainOutputError { enum RegisterWorkflowTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7625,7 +7625,7 @@ enum RegisterWorkflowTypeOutputError { enum RequestCancelWorkflowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7640,7 +7640,7 @@ enum RequestCancelWorkflowExecutionOutputError { enum RespondActivityTaskCanceledOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7655,7 +7655,7 @@ enum RespondActivityTaskCanceledOutputError { enum RespondActivityTaskCompletedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7670,7 +7670,7 @@ enum RespondActivityTaskCompletedOutputError { enum RespondActivityTaskFailedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7685,7 +7685,7 @@ enum RespondActivityTaskFailedOutputError { enum RespondDecisionTaskCompletedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7700,7 +7700,7 @@ enum RespondDecisionTaskCompletedOutputError { enum SignalWorkflowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7715,7 +7715,7 @@ enum SignalWorkflowExecutionOutputError { enum StartWorkflowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7734,7 +7734,7 @@ enum StartWorkflowExecutionOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7751,7 +7751,7 @@ enum TagResourceOutputError { enum TerminateWorkflowExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7766,7 +7766,7 @@ enum TerminateWorkflowExecutionOutputError { enum UndeprecateActivityTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7782,7 +7782,7 @@ enum UndeprecateActivityTypeOutputError { enum UndeprecateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7798,7 +7798,7 @@ enum UndeprecateDomainOutputError { enum UndeprecateWorkflowTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7814,7 +7814,7 @@ enum UndeprecateWorkflowTypeOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift index ea9a2fc67ac..10f1f398d95 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -186,6 +186,11 @@ public struct DeleteNotebookInstanceOutput { public init() { } } +public struct DeleteOptimizationJobOutput { + + public init() { } +} + public struct DeleteProjectOutput { public init() { } @@ -276,6 +281,11 @@ public struct StopNotebookInstanceOutput { public init() { } } +public struct StopOptimizationJobOutput { + + public init() { } +} + public struct StopProcessingJobOutput { public init() { } @@ -424,7 +434,7 @@ public struct ResourceLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -448,7 +458,7 @@ public struct ResourceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1801,6 +1811,28 @@ extension SageMakerClientTypes { } +extension SageMakerClientTypes { + /// Data sources that are available to your model in addition to the one that you specify for ModelDataSource when you use the CreateModel action. + public struct AdditionalModelDataSource { + /// A custom name for this AdditionalModelDataSource object. + /// This member is required. + public var channelName: Swift.String? + /// Specifies the S3 location of ML model data to deploy. + /// This member is required. + public var s3DataSource: SageMakerClientTypes.S3ModelDataSource? + + public init( + channelName: Swift.String? = nil, + s3DataSource: SageMakerClientTypes.S3ModelDataSource? = nil + ) + { + self.channelName = channelName + self.s3DataSource = s3DataSource + } + } + +} + extension SageMakerClientTypes { /// A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see [AddTags](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html). For more information on adding metadata to your Amazon Web Services resources with tagging, see [Tagging Amazon Web Services resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). For advice on best practices for managing Amazon Web Services resources with tagging, see [Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy](https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf). public struct Tag { @@ -2966,7 +2998,7 @@ extension SageMakerClientTypes { } extension SageMakerClientTypes { - /// Specifies a limit to how long a model training job or model compilation job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, SageMaker ends the training or compilation job. Use this API to cap model training costs. To stop a training job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. The training algorithms provided by SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with CreateModel. The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete. + /// Specifies a limit to how long a job can run. When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs. To stop a training job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. The training algorithms provided by SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with CreateModel. The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete. public struct StoppingCondition { /// The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped. public var maxPendingTimeInSeconds: Swift.Int? @@ -3367,6 +3399,55 @@ extension SageMakerClientTypes { } +extension SageMakerClientTypes { + + public enum FeatureStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [FeatureStatus] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension SageMakerClientTypes { + /// A collection of settings that configure the Amazon Q experience within the domain. + public struct AmazonQSettings { + /// The ARN of the Amazon Q profile used within the domain. + public var qProfileArn: Swift.String? + /// Whether Amazon Q has been enabled within the domain. + public var status: SageMakerClientTypes.FeatureStatus? + + public init( + qProfileArn: Swift.String? = nil, + status: SageMakerClientTypes.FeatureStatus? = nil + ) + { + self.qProfileArn = qProfileArn + self.status = status + } + } + +} + extension SageMakerClientTypes { /// Configures how labels are consolidated across human workers and processes output data. public struct AnnotationConsolidationConfig { @@ -8295,35 +8376,6 @@ extension SageMakerClientTypes { } } -extension SageMakerClientTypes { - - public enum FeatureStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case disabled - case enabled - case sdkUnknown(Swift.String) - - public static var allCases: [FeatureStatus] { - return [ - .disabled, - .enabled - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .disabled: return "DISABLED" - case .enabled: return "ENABLED" - case let .sdkUnknown(s): return s - } - } - } -} - extension SageMakerClientTypes { /// The model deployment settings for the SageMaker Canvas application. In order to enable model deployment for Canvas, the SageMaker Domain's or user profile's Amazon Web Services IAM execution role must have the AmazonSageMakerCanvasDirectDeployAccess policy attached. You can also turn on model deployment permissions through the SageMaker Domain's or user profile's settings in the SageMaker console. public struct DirectDeploySettings { @@ -9220,7 +9272,7 @@ extension SageMakerClientTypes { } extension SageMakerClientTypes { - /// Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. + /// Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see [SageMaker HyperPod release notes: June 20, 2024](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620). public struct ClusterEbsVolumeConfig { /// The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker. /// This member is required. @@ -9237,7 +9289,7 @@ extension SageMakerClientTypes { } extension SageMakerClientTypes { - /// Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. + /// Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see [SageMaker HyperPod release notes: June 20, 2024](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620). public enum ClusterInstanceStorageConfig { /// Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker. case ebsvolumeconfig(SageMakerClientTypes.ClusterEbsVolumeConfig) @@ -10513,7 +10565,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -10673,6 +10725,8 @@ extension SageMakerClientTypes { extension SageMakerClientTypes { /// Describes the container, as part of model definition. public struct ContainerDefinition { + /// Data sources that are available to your model in addition to the one that you specify for ModelDataSource when you use the CreateModel action. + public var additionalModelDataSources: [SageMakerClientTypes.AdditionalModelDataSource]? /// This parameter is ignored for models that contain only a PrimaryContainer. When a ContainerDefinition is part of an inference pipeline, the value of the parameter uniquely identifies the container for the purposes of logging and metrics. For information, see [Use Logs and Metrics to Monitor an Inference Pipeline](https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html). If you don't specify a value for this parameter for a ContainerDefinition that is part of an inference pipeline, a unique name is automatically assigned based on the position of the ContainerDefinition in the pipeline. If you specify a value for the ContainerHostName for any ContainerDefinition that is part of an inference pipeline, you must specify a value for the ContainerHostName parameter of every ContainerDefinition in that pipeline. public var containerHostname: Swift.String? /// The environment variables to set in the Docker container. The maximum length of each key and value in the Environment map is 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If you pass multiple containers to a CreateModel request, then the maximum length of all of their maps, combined, is also 32 KB. @@ -10695,6 +10749,7 @@ extension SageMakerClientTypes { public var multiModelConfig: SageMakerClientTypes.MultiModelConfig? public init( + additionalModelDataSources: [SageMakerClientTypes.AdditionalModelDataSource]? = nil, containerHostname: Swift.String? = nil, environment: [Swift.String: Swift.String]? = nil, image: Swift.String? = nil, @@ -10707,6 +10762,7 @@ extension SageMakerClientTypes { multiModelConfig: SageMakerClientTypes.MultiModelConfig? = nil ) { + self.additionalModelDataSources = additionalModelDataSources self.containerHostname = containerHostname self.environment = environment self.image = image @@ -11307,7 +11363,7 @@ public struct ResourceInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -13315,6 +13371,88 @@ extension SageMakerClientTypes { } } +extension SageMakerClientTypes { + + public enum MlTools: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case autoMl + case dataWrangler + case emrClusters + case endpoints + case experiments + case featureStore + case inferenceRecommender + case jumpStart + case models + case modelEvaluation + case pipelines + case projects + case training + case sdkUnknown(Swift.String) + + public static var allCases: [MlTools] { + return [ + .autoMl, + .dataWrangler, + .emrClusters, + .endpoints, + .experiments, + .featureStore, + .inferenceRecommender, + .jumpStart, + .models, + .modelEvaluation, + .pipelines, + .projects, + .training + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .autoMl: return "AutoMl" + case .dataWrangler: return "DataWrangler" + case .emrClusters: return "EmrClusters" + case .endpoints: return "Endpoints" + case .experiments: return "Experiments" + case .featureStore: return "FeatureStore" + case .inferenceRecommender: return "InferenceRecommender" + case .jumpStart: return "JumpStart" + case .models: return "Models" + case .modelEvaluation: return "ModelEvaluation" + case .pipelines: return "Pipelines" + case .projects: return "Projects" + case .training: return "Training" + case let .sdkUnknown(s): return s + } + } + } +} + +extension SageMakerClientTypes { + /// Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level. + public struct StudioWebPortalSettings { + /// The [Applications supported in Studio](https://docs.aws.amazon.com/sagemaker/latest/dg/studio-updated-apps.html) that are hidden from the Studio left navigation pane. + public var hiddenAppTypes: [SageMakerClientTypes.AppType]? + /// The machine learning tools that are hidden from the Studio left navigation pane. + public var hiddenMlTools: [SageMakerClientTypes.MlTools]? + + public init( + hiddenAppTypes: [SageMakerClientTypes.AppType]? = nil, + hiddenMlTools: [SageMakerClientTypes.MlTools]? = nil + ) + { + self.hiddenAppTypes = hiddenAppTypes + self.hiddenMlTools = hiddenMlTools + } + } + +} + extension SageMakerClientTypes { /// The TensorBoard app settings. public struct TensorBoardAppSettings { @@ -13368,6 +13506,8 @@ extension SageMakerClientTypes { public var spaceStorageSettings: SageMakerClientTypes.DefaultSpaceStorageSettings? /// Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain. public var studioWebPortal: SageMakerClientTypes.StudioWebPortal? + /// Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level. + public var studioWebPortalSettings: SageMakerClientTypes.StudioWebPortalSettings? /// The TensorBoard app settings. public var tensorBoardAppSettings: SageMakerClientTypes.TensorBoardAppSettings? @@ -13387,6 +13527,7 @@ extension SageMakerClientTypes { sharingSettings: SageMakerClientTypes.SharingSettings? = nil, spaceStorageSettings: SageMakerClientTypes.DefaultSpaceStorageSettings? = nil, studioWebPortal: SageMakerClientTypes.StudioWebPortal? = nil, + studioWebPortalSettings: SageMakerClientTypes.StudioWebPortalSettings? = nil, tensorBoardAppSettings: SageMakerClientTypes.TensorBoardAppSettings? = nil ) { @@ -13405,6 +13546,7 @@ extension SageMakerClientTypes { self.sharingSettings = sharingSettings self.spaceStorageSettings = spaceStorageSettings self.studioWebPortal = studioWebPortal + self.studioWebPortalSettings = studioWebPortalSettings self.tensorBoardAppSettings = tensorBoardAppSettings } } @@ -13492,6 +13634,8 @@ extension SageMakerClientTypes { extension SageMakerClientTypes { /// A collection of settings that apply to the SageMaker Domain. These settings are specified through the CreateDomain API call. public struct DomainSettings { + /// A collection of settings that configure the Amazon Q experience within the domain. The AuthMode that you use to create the domain must be SSO. + public var amazonQSettings: SageMakerClientTypes.AmazonQSettings? /// A collection of settings that configure the domain's Docker interaction. public var dockerSettings: SageMakerClientTypes.DockerSettings? /// The configuration for attaching a SageMaker user profile name to the execution role as a [sts:SourceIdentity key](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). @@ -13502,12 +13646,14 @@ extension SageMakerClientTypes { public var securityGroupIds: [Swift.String]? public init( + amazonQSettings: SageMakerClientTypes.AmazonQSettings? = nil, dockerSettings: SageMakerClientTypes.DockerSettings? = nil, executionRoleIdentityConfig: SageMakerClientTypes.ExecutionRoleIdentityConfig? = nil, rStudioServerProDomainSettings: SageMakerClientTypes.RStudioServerProDomainSettings? = nil, securityGroupIds: [Swift.String]? = nil ) { + self.amazonQSettings = amazonQSettings self.dockerSettings = dockerSettings self.executionRoleIdentityConfig = executionRoleIdentityConfig self.rStudioServerProDomainSettings = rStudioServerProDomainSettings @@ -21048,6 +21194,334 @@ public struct CreateNotebookInstanceLifecycleConfigOutput { } } +extension SageMakerClientTypes { + + public enum OptimizationJobDeploymentInstanceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case mlG512xlarge + case mlG516xlarge + case mlG524xlarge + case mlG52xlarge + case mlG548xlarge + case mlG54xlarge + case mlG58xlarge + case mlG5Xlarge + case mlG612xlarge + case mlG616xlarge + case mlG624xlarge + case mlG62xlarge + case mlG648xlarge + case mlG64xlarge + case mlG68xlarge + case mlG6Xlarge + case mlInf224xlarge + case mlInf248xlarge + case mlInf28xlarge + case mlInf2Xlarge + case mlP4de24xlarge + case mlP4d24xlarge + case mlP548xlarge + case mlTrn1n32xlarge + case mlTrn12xlarge + case mlTrn132xlarge + case sdkUnknown(Swift.String) + + public static var allCases: [OptimizationJobDeploymentInstanceType] { + return [ + .mlG512xlarge, + .mlG516xlarge, + .mlG524xlarge, + .mlG52xlarge, + .mlG548xlarge, + .mlG54xlarge, + .mlG58xlarge, + .mlG5Xlarge, + .mlG612xlarge, + .mlG616xlarge, + .mlG624xlarge, + .mlG62xlarge, + .mlG648xlarge, + .mlG64xlarge, + .mlG68xlarge, + .mlG6Xlarge, + .mlInf224xlarge, + .mlInf248xlarge, + .mlInf28xlarge, + .mlInf2Xlarge, + .mlP4de24xlarge, + .mlP4d24xlarge, + .mlP548xlarge, + .mlTrn1n32xlarge, + .mlTrn12xlarge, + .mlTrn132xlarge + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .mlG512xlarge: return "ml.g5.12xlarge" + case .mlG516xlarge: return "ml.g5.16xlarge" + case .mlG524xlarge: return "ml.g5.24xlarge" + case .mlG52xlarge: return "ml.g5.2xlarge" + case .mlG548xlarge: return "ml.g5.48xlarge" + case .mlG54xlarge: return "ml.g5.4xlarge" + case .mlG58xlarge: return "ml.g5.8xlarge" + case .mlG5Xlarge: return "ml.g5.xlarge" + case .mlG612xlarge: return "ml.g6.12xlarge" + case .mlG616xlarge: return "ml.g6.16xlarge" + case .mlG624xlarge: return "ml.g6.24xlarge" + case .mlG62xlarge: return "ml.g6.2xlarge" + case .mlG648xlarge: return "ml.g6.48xlarge" + case .mlG64xlarge: return "ml.g6.4xlarge" + case .mlG68xlarge: return "ml.g6.8xlarge" + case .mlG6Xlarge: return "ml.g6.xlarge" + case .mlInf224xlarge: return "ml.inf2.24xlarge" + case .mlInf248xlarge: return "ml.inf2.48xlarge" + case .mlInf28xlarge: return "ml.inf2.8xlarge" + case .mlInf2Xlarge: return "ml.inf2.xlarge" + case .mlP4de24xlarge: return "ml.p4de.24xlarge" + case .mlP4d24xlarge: return "ml.p4d.24xlarge" + case .mlP548xlarge: return "ml.p5.48xlarge" + case .mlTrn1n32xlarge: return "ml.trn1n.32xlarge" + case .mlTrn12xlarge: return "ml.trn1.2xlarge" + case .mlTrn132xlarge: return "ml.trn1.32xlarge" + case let .sdkUnknown(s): return s + } + } + } +} + +extension SageMakerClientTypes { + /// The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA). + public struct OptimizationModelAccessConfig { + /// Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model. + /// This member is required. + public var acceptEula: Swift.Bool? + + public init( + acceptEula: Swift.Bool? = nil + ) + { + self.acceptEula = acceptEula + } + } + +} + +extension SageMakerClientTypes { + /// The Amazon S3 location of a source model to optimize with an optimization job. + public struct OptimizationJobModelSourceS3 { + /// The access configuration settings for the source ML model for an optimization job, where you can accept the model end-user license agreement (EULA). + public var modelAccessConfig: SageMakerClientTypes.OptimizationModelAccessConfig? + /// An Amazon S3 URI that locates a source model to optimize with an optimization job. + public var s3Uri: Swift.String? + + public init( + modelAccessConfig: SageMakerClientTypes.OptimizationModelAccessConfig? = nil, + s3Uri: Swift.String? = nil + ) + { + self.modelAccessConfig = modelAccessConfig + self.s3Uri = s3Uri + } + } + +} + +extension SageMakerClientTypes { + /// The location of the source model to optimize with an optimization job. + public struct OptimizationJobModelSource { + /// The Amazon S3 location of a source model to optimize with an optimization job. + public var s3: SageMakerClientTypes.OptimizationJobModelSourceS3? + + public init( + s3: SageMakerClientTypes.OptimizationJobModelSourceS3? = nil + ) + { + self.s3 = s3 + } + } + +} + +extension SageMakerClientTypes { + /// Settings for the model compilation technique that's applied by a model optimization job. + public struct ModelCompilationConfig { + /// The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization. + public var image: Swift.String? + /// Environment variables that override the default ones in the model container. + public var overrideEnvironment: [Swift.String: Swift.String]? + + public init( + image: Swift.String? = nil, + overrideEnvironment: [Swift.String: Swift.String]? = nil + ) + { + self.image = image + self.overrideEnvironment = overrideEnvironment + } + } + +} + +extension SageMakerClientTypes { + /// Settings for the model quantization technique that's applied by a model optimization job. + public struct ModelQuantizationConfig { + /// The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization. + public var image: Swift.String? + /// Environment variables that override the default ones in the model container. + public var overrideEnvironment: [Swift.String: Swift.String]? + + public init( + image: Swift.String? = nil, + overrideEnvironment: [Swift.String: Swift.String]? = nil + ) + { + self.image = image + self.overrideEnvironment = overrideEnvironment + } + } + +} + +extension SageMakerClientTypes { + /// Settings for an optimization technique that you apply with a model optimization job. + public enum OptimizationConfig { + /// Settings for the model quantization technique that's applied by a model optimization job. + case modelquantizationconfig(SageMakerClientTypes.ModelQuantizationConfig) + /// Settings for the model compilation technique that's applied by a model optimization job. + case modelcompilationconfig(SageMakerClientTypes.ModelCompilationConfig) + case sdkUnknown(Swift.String) + } + +} + +extension SageMakerClientTypes { + /// Details for where to store the optimized model that you create with the optimization job. + public struct OptimizationJobOutputConfig { + /// The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3. + public var kmsKeyId: Swift.String? + /// The Amazon S3 URI for where to store the optimized model that you create with an optimization job. + /// This member is required. + public var s3OutputLocation: Swift.String? + + public init( + kmsKeyId: Swift.String? = nil, + s3OutputLocation: Swift.String? = nil + ) + { + self.kmsKeyId = kmsKeyId + self.s3OutputLocation = s3OutputLocation + } + } + +} + +extension SageMakerClientTypes { + /// A VPC in Amazon VPC that's accessible to an optimized that you create with an optimization job. You can control access to and from your resources by configuring a VPC. For more information, see [Give SageMaker Access to Resources in your Amazon VPC](https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html). + public struct OptimizationVpcConfig { + /// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + /// This member is required. + public var securityGroupIds: [Swift.String]? + /// The ID of the subnets in the VPC to which you want to connect your optimized model. + /// This member is required. + public var subnets: [Swift.String]? + + public init( + securityGroupIds: [Swift.String]? = nil, + subnets: [Swift.String]? = nil + ) + { + self.securityGroupIds = securityGroupIds + self.subnets = subnets + } + } + +} + +public struct CreateOptimizationJobInput { + /// The type of instance that hosts the optimized model that you create with the optimization job. + /// This member is required. + public var deploymentInstanceType: SageMakerClientTypes.OptimizationJobDeploymentInstanceType? + /// The location of the source model to optimize with an optimization job. + /// This member is required. + public var modelSource: SageMakerClientTypes.OptimizationJobModelSource? + /// Settings for each of the optimization techniques that the job applies. + /// This member is required. + public var optimizationConfigs: [SageMakerClientTypes.OptimizationConfig]? + /// The environment variables to set in the model container. + public var optimizationEnvironment: [Swift.String: Swift.String]? + /// A custom name for the new optimization job. + /// This member is required. + public var optimizationJobName: Swift.String? + /// Details for where to store the optimized model that you create with the optimization job. + /// This member is required. + public var outputConfig: SageMakerClientTypes.OptimizationJobOutputConfig? + /// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. During model optimization, Amazon SageMaker needs your permission to: + /// + /// * Read input data from an S3 bucket + /// + /// * Write model artifacts to an S3 bucket + /// + /// * Write logs to Amazon CloudWatch Logs + /// + /// * Publish metrics to Amazon CloudWatch + /// + /// + /// You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For more information, see [Amazon SageMaker Roles.](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html) + /// This member is required. + public var roleArn: Swift.String? + /// Specifies a limit to how long a job can run. When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs. To stop a training job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. The training algorithms provided by SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with CreateModel. The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete. + /// This member is required. + public var stoppingCondition: SageMakerClientTypes.StoppingCondition? + /// A list of key-value pairs associated with the optimization job. For more information, see [Tagging Amazon Web Services resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference Guide. + public var tags: [SageMakerClientTypes.Tag]? + /// A VPC in Amazon VPC that your optimized model has access to. + public var vpcConfig: SageMakerClientTypes.OptimizationVpcConfig? + + public init( + deploymentInstanceType: SageMakerClientTypes.OptimizationJobDeploymentInstanceType? = nil, + modelSource: SageMakerClientTypes.OptimizationJobModelSource? = nil, + optimizationConfigs: [SageMakerClientTypes.OptimizationConfig]? = nil, + optimizationEnvironment: [Swift.String: Swift.String]? = nil, + optimizationJobName: Swift.String? = nil, + outputConfig: SageMakerClientTypes.OptimizationJobOutputConfig? = nil, + roleArn: Swift.String? = nil, + stoppingCondition: SageMakerClientTypes.StoppingCondition? = nil, + tags: [SageMakerClientTypes.Tag]? = nil, + vpcConfig: SageMakerClientTypes.OptimizationVpcConfig? = nil + ) + { + self.deploymentInstanceType = deploymentInstanceType + self.modelSource = modelSource + self.optimizationConfigs = optimizationConfigs + self.optimizationEnvironment = optimizationEnvironment + self.optimizationJobName = optimizationJobName + self.outputConfig = outputConfig + self.roleArn = roleArn + self.stoppingCondition = stoppingCondition + self.tags = tags + self.vpcConfig = vpcConfig + } +} + +public struct CreateOptimizationJobOutput { + /// The Amazon Resource Name (ARN) of the optimization job. + /// This member is required. + public var optimizationJobArn: Swift.String? + + public init( + optimizationJobArn: Swift.String? = nil + ) + { + self.optimizationJobArn = optimizationJobArn + } +} + extension SageMakerClientTypes { /// Configuration that controls the parallelism of the pipeline. By default, the parallelism configuration specified applies to all executions of the pipeline unless overridden. public struct ParallelismConfiguration { @@ -24079,7 +24553,7 @@ public struct DeleteHubContentReferenceInput { /// The name of the hub content to delete. /// This member is required. public var hubContentName: Swift.String? - /// The type of hub content to delete. + /// The type of hub content reference to delete. The only supported type of hub content reference to delete is ModelReference. /// This member is required. public var hubContentType: SageMakerClientTypes.HubContentType? /// The name of the hub to delete the hub content reference from. @@ -24380,6 +24854,19 @@ public struct DeleteNotebookInstanceLifecycleConfigInput { } } +public struct DeleteOptimizationJobInput { + /// The name that you assigned to the optimization job. + /// This member is required. + public var optimizationJobName: Swift.String? + + public init( + optimizationJobName: Swift.String? = nil + ) + { + self.optimizationJobName = optimizationJobName + } +} + public struct DeletePipelineInput { /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. /// This member is required. @@ -31027,6 +31514,163 @@ public struct DescribeNotebookInstanceLifecycleConfigOutput { } } +public struct DescribeOptimizationJobInput { + /// The name that you assigned to the optimization job. + /// This member is required. + public var optimizationJobName: Swift.String? + + public init( + optimizationJobName: Swift.String? = nil + ) + { + self.optimizationJobName = optimizationJobName + } +} + +extension SageMakerClientTypes { + + public enum OptimizationJobStatus: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case completed + case failed + case inprogress + case starting + case stopped + case stopping + case sdkUnknown(Swift.String) + + public static var allCases: [OptimizationJobStatus] { + return [ + .completed, + .failed, + .inprogress, + .starting, + .stopped, + .stopping + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .completed: return "COMPLETED" + case .failed: return "FAILED" + case .inprogress: return "INPROGRESS" + case .starting: return "STARTING" + case .stopped: return "STOPPED" + case .stopping: return "STOPPING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension SageMakerClientTypes { + /// Output values produced by an optimization job. + public struct OptimizationOutput { + /// The image that SageMaker recommends that you use to host the optimized model that you created with an optimization job. + public var recommendedInferenceImage: Swift.String? + + public init( + recommendedInferenceImage: Swift.String? = nil + ) + { + self.recommendedInferenceImage = recommendedInferenceImage + } + } + +} + +public struct DescribeOptimizationJobOutput { + /// The time when you created the optimization job. + /// This member is required. + public var creationTime: Foundation.Date? + /// The type of instance that hosts the optimized model that you create with the optimization job. + /// This member is required. + public var deploymentInstanceType: SageMakerClientTypes.OptimizationJobDeploymentInstanceType? + /// If the optimization job status is FAILED, the reason for the failure. + public var failureReason: Swift.String? + /// The time when the optimization job was last updated. + /// This member is required. + public var lastModifiedTime: Foundation.Date? + /// The location of the source model to optimize with an optimization job. + /// This member is required. + public var modelSource: SageMakerClientTypes.OptimizationJobModelSource? + /// Settings for each of the optimization techniques that the job applies. + /// This member is required. + public var optimizationConfigs: [SageMakerClientTypes.OptimizationConfig]? + /// The time when the optimization job finished processing. + public var optimizationEndTime: Foundation.Date? + /// The environment variables to set in the model container. + public var optimizationEnvironment: [Swift.String: Swift.String]? + /// The Amazon Resource Name (ARN) of the optimization job. + /// This member is required. + public var optimizationJobArn: Swift.String? + /// The name that you assigned to the optimization job. + /// This member is required. + public var optimizationJobName: Swift.String? + /// The current status of the optimization job. + /// This member is required. + public var optimizationJobStatus: SageMakerClientTypes.OptimizationJobStatus? + /// Output values produced by an optimization job. + public var optimizationOutput: SageMakerClientTypes.OptimizationOutput? + /// The time when the optimization job started. + public var optimizationStartTime: Foundation.Date? + /// Details for where to store the optimized model that you create with the optimization job. + /// This member is required. + public var outputConfig: SageMakerClientTypes.OptimizationJobOutputConfig? + /// The ARN of the IAM role that you assigned to the optimization job. + /// This member is required. + public var roleArn: Swift.String? + /// Specifies a limit to how long a job can run. When the job reaches the time limit, SageMaker ends the job. Use this API to cap costs. To stop a training job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost. The training algorithms provided by SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with CreateModel. The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete. + /// This member is required. + public var stoppingCondition: SageMakerClientTypes.StoppingCondition? + /// A VPC in Amazon VPC that your optimized model has access to. + public var vpcConfig: SageMakerClientTypes.OptimizationVpcConfig? + + public init( + creationTime: Foundation.Date? = nil, + deploymentInstanceType: SageMakerClientTypes.OptimizationJobDeploymentInstanceType? = nil, + failureReason: Swift.String? = nil, + lastModifiedTime: Foundation.Date? = nil, + modelSource: SageMakerClientTypes.OptimizationJobModelSource? = nil, + optimizationConfigs: [SageMakerClientTypes.OptimizationConfig]? = nil, + optimizationEndTime: Foundation.Date? = nil, + optimizationEnvironment: [Swift.String: Swift.String]? = nil, + optimizationJobArn: Swift.String? = nil, + optimizationJobName: Swift.String? = nil, + optimizationJobStatus: SageMakerClientTypes.OptimizationJobStatus? = nil, + optimizationOutput: SageMakerClientTypes.OptimizationOutput? = nil, + optimizationStartTime: Foundation.Date? = nil, + outputConfig: SageMakerClientTypes.OptimizationJobOutputConfig? = nil, + roleArn: Swift.String? = nil, + stoppingCondition: SageMakerClientTypes.StoppingCondition? = nil, + vpcConfig: SageMakerClientTypes.OptimizationVpcConfig? = nil + ) + { + self.creationTime = creationTime + self.deploymentInstanceType = deploymentInstanceType + self.failureReason = failureReason + self.lastModifiedTime = lastModifiedTime + self.modelSource = modelSource + self.optimizationConfigs = optimizationConfigs + self.optimizationEndTime = optimizationEndTime + self.optimizationEnvironment = optimizationEnvironment + self.optimizationJobArn = optimizationJobArn + self.optimizationJobName = optimizationJobName + self.optimizationJobStatus = optimizationJobStatus + self.optimizationOutput = optimizationOutput + self.optimizationStartTime = optimizationStartTime + self.outputConfig = outputConfig + self.roleArn = roleArn + self.stoppingCondition = stoppingCondition + self.vpcConfig = vpcConfig + } +} + public struct DescribePipelineInput { /// The name or Amazon Resource Name (ARN) of the pipeline to describe. /// This member is required. @@ -33701,6 +34345,8 @@ extension SageMakerClientTypes { extension SageMakerClientTypes { /// A collection of Domain configuration settings to update. public struct DomainSettingsForUpdate { + /// A collection of settings that configure the Amazon Q experience within the domain. + public var amazonQSettings: SageMakerClientTypes.AmazonQSettings? /// A collection of settings that configure the domain's Docker interaction. public var dockerSettings: SageMakerClientTypes.DockerSettings? /// The configuration for attaching a SageMaker user profile name to the execution role as a [sts:SourceIdentity key](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). This configuration can only be modified if there are no apps in the InService or Pending state. @@ -33711,12 +34357,14 @@ extension SageMakerClientTypes { public var securityGroupIds: [Swift.String]? public init( + amazonQSettings: SageMakerClientTypes.AmazonQSettings? = nil, dockerSettings: SageMakerClientTypes.DockerSettings? = nil, executionRoleIdentityConfig: SageMakerClientTypes.ExecutionRoleIdentityConfig? = nil, rStudioServerProDomainSettingsForUpdate: SageMakerClientTypes.RStudioServerProDomainSettingsForUpdate? = nil, securityGroupIds: [Swift.String]? = nil ) { + self.amazonQSettings = amazonQSettings self.dockerSettings = dockerSettings self.executionRoleIdentityConfig = executionRoleIdentityConfig self.rStudioServerProDomainSettingsForUpdate = rStudioServerProDomainSettingsForUpdate @@ -41224,105 +41872,296 @@ extension SageMakerClientTypes { } } -public struct ListNotebookInstanceLifecycleConfigsInput { - /// A filter that returns only lifecycle configurations that were created after the specified time (timestamp). +public struct ListNotebookInstanceLifecycleConfigsInput { + /// A filter that returns only lifecycle configurations that were created after the specified time (timestamp). + public var creationTimeAfter: Foundation.Date? + /// A filter that returns only lifecycle configurations that were created before the specified time (timestamp). + public var creationTimeBefore: Foundation.Date? + /// A filter that returns only lifecycle configurations that were modified after the specified time (timestamp). + public var lastModifiedTimeAfter: Foundation.Date? + /// A filter that returns only lifecycle configurations that were modified before the specified time (timestamp). + public var lastModifiedTimeBefore: Foundation.Date? + /// The maximum number of lifecycle configurations to return in the response. + public var maxResults: Swift.Int? + /// A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string. + public var nameContains: Swift.String? + /// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated, the response includes a NextToken. To get the next set of lifecycle configurations, use the token in the next request. + public var nextToken: Swift.String? + /// Sorts the list of results. The default is CreationTime. + public var sortBy: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortKey? + /// The sort order for results. + public var sortOrder: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortOrder? + + public init( + creationTimeAfter: Foundation.Date? = nil, + creationTimeBefore: Foundation.Date? = nil, + lastModifiedTimeAfter: Foundation.Date? = nil, + lastModifiedTimeBefore: Foundation.Date? = nil, + maxResults: Swift.Int? = nil, + nameContains: Swift.String? = nil, + nextToken: Swift.String? = nil, + sortBy: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortKey? = nil, + sortOrder: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortOrder? = nil + ) + { + self.creationTimeAfter = creationTimeAfter + self.creationTimeBefore = creationTimeBefore + self.lastModifiedTimeAfter = lastModifiedTimeAfter + self.lastModifiedTimeBefore = lastModifiedTimeBefore + self.maxResults = maxResults + self.nameContains = nameContains + self.nextToken = nextToken + self.sortBy = sortBy + self.sortOrder = sortOrder + } +} + +extension SageMakerClientTypes { + /// Provides a summary of a notebook instance lifecycle configuration. + public struct NotebookInstanceLifecycleConfigSummary { + /// A timestamp that tells when the lifecycle configuration was created. + public var creationTime: Foundation.Date? + /// A timestamp that tells when the lifecycle configuration was last modified. + public var lastModifiedTime: Foundation.Date? + /// The Amazon Resource Name (ARN) of the lifecycle configuration. + /// This member is required. + public var notebookInstanceLifecycleConfigArn: Swift.String? + /// The name of the lifecycle configuration. + /// This member is required. + public var notebookInstanceLifecycleConfigName: Swift.String? + + public init( + creationTime: Foundation.Date? = nil, + lastModifiedTime: Foundation.Date? = nil, + notebookInstanceLifecycleConfigArn: Swift.String? = nil, + notebookInstanceLifecycleConfigName: Swift.String? = nil + ) + { + self.creationTime = creationTime + self.lastModifiedTime = lastModifiedTime + self.notebookInstanceLifecycleConfigArn = notebookInstanceLifecycleConfigArn + self.notebookInstanceLifecycleConfigName = notebookInstanceLifecycleConfigName + } + } + +} + +public struct ListNotebookInstanceLifecycleConfigsOutput { + /// If the response is truncated, SageMaker returns this token. To get the next set of lifecycle configurations, use it in the next request. + public var nextToken: Swift.String? + /// An array of NotebookInstanceLifecycleConfiguration objects, each listing a lifecycle configuration. + public var notebookInstanceLifecycleConfigs: [SageMakerClientTypes.NotebookInstanceLifecycleConfigSummary]? + + public init( + nextToken: Swift.String? = nil, + notebookInstanceLifecycleConfigs: [SageMakerClientTypes.NotebookInstanceLifecycleConfigSummary]? = nil + ) + { + self.nextToken = nextToken + self.notebookInstanceLifecycleConfigs = notebookInstanceLifecycleConfigs + } +} + +extension SageMakerClientTypes { + + public enum NotebookInstanceSortKey: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case creationTime + case name + case status + case sdkUnknown(Swift.String) + + public static var allCases: [NotebookInstanceSortKey] { + return [ + .creationTime, + .name, + .status + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .creationTime: return "CreationTime" + case .name: return "Name" + case .status: return "Status" + case let .sdkUnknown(s): return s + } + } + } +} + +extension SageMakerClientTypes { + + public enum NotebookInstanceSortOrder: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case ascending + case descending + case sdkUnknown(Swift.String) + + public static var allCases: [NotebookInstanceSortOrder] { + return [ + .ascending, + .descending + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .ascending: return "Ascending" + case .descending: return "Descending" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct ListNotebookInstancesInput { + /// A filter that returns only notebook instances with associated with the specified git repository. + public var additionalCodeRepositoryEquals: Swift.String? + /// A filter that returns only notebook instances that were created after the specified time (timestamp). public var creationTimeAfter: Foundation.Date? - /// A filter that returns only lifecycle configurations that were created before the specified time (timestamp). + /// A filter that returns only notebook instances that were created before the specified time (timestamp). public var creationTimeBefore: Foundation.Date? - /// A filter that returns only lifecycle configurations that were modified after the specified time (timestamp). + /// A string in the name or URL of a Git repository associated with this notebook instance. This filter returns only notebook instances associated with a git repository with a name that contains the specified string. + public var defaultCodeRepositoryContains: Swift.String? + /// A filter that returns only notebook instances that were modified after the specified time (timestamp). public var lastModifiedTimeAfter: Foundation.Date? - /// A filter that returns only lifecycle configurations that were modified before the specified time (timestamp). + /// A filter that returns only notebook instances that were modified before the specified time (timestamp). public var lastModifiedTimeBefore: Foundation.Date? - /// The maximum number of lifecycle configurations to return in the response. + /// The maximum number of notebook instances to return. public var maxResults: Swift.Int? - /// A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string. + /// A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string. public var nameContains: Swift.String? - /// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated, the response includes a NextToken. To get the next set of lifecycle configurations, use the token in the next request. + /// If the previous call to the ListNotebookInstances is truncated, the response includes a NextToken. You can use this token in your subsequent ListNotebookInstances request to fetch the next set of notebook instances. You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request. public var nextToken: Swift.String? - /// Sorts the list of results. The default is CreationTime. - public var sortBy: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortKey? + /// A string in the name of a notebook instances lifecycle configuration associated with this notebook instance. This filter returns only notebook instances associated with a lifecycle configuration with a name that contains the specified string. + public var notebookInstanceLifecycleConfigNameContains: Swift.String? + /// The field to sort results by. The default is Name. + public var sortBy: SageMakerClientTypes.NotebookInstanceSortKey? /// The sort order for results. - public var sortOrder: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortOrder? + public var sortOrder: SageMakerClientTypes.NotebookInstanceSortOrder? + /// A filter that returns only notebook instances with the specified status. + public var statusEquals: SageMakerClientTypes.NotebookInstanceStatus? public init( + additionalCodeRepositoryEquals: Swift.String? = nil, creationTimeAfter: Foundation.Date? = nil, creationTimeBefore: Foundation.Date? = nil, + defaultCodeRepositoryContains: Swift.String? = nil, lastModifiedTimeAfter: Foundation.Date? = nil, lastModifiedTimeBefore: Foundation.Date? = nil, maxResults: Swift.Int? = nil, nameContains: Swift.String? = nil, nextToken: Swift.String? = nil, - sortBy: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortKey? = nil, - sortOrder: SageMakerClientTypes.NotebookInstanceLifecycleConfigSortOrder? = nil + notebookInstanceLifecycleConfigNameContains: Swift.String? = nil, + sortBy: SageMakerClientTypes.NotebookInstanceSortKey? = nil, + sortOrder: SageMakerClientTypes.NotebookInstanceSortOrder? = nil, + statusEquals: SageMakerClientTypes.NotebookInstanceStatus? = nil ) { + self.additionalCodeRepositoryEquals = additionalCodeRepositoryEquals self.creationTimeAfter = creationTimeAfter self.creationTimeBefore = creationTimeBefore + self.defaultCodeRepositoryContains = defaultCodeRepositoryContains self.lastModifiedTimeAfter = lastModifiedTimeAfter self.lastModifiedTimeBefore = lastModifiedTimeBefore self.maxResults = maxResults self.nameContains = nameContains self.nextToken = nextToken + self.notebookInstanceLifecycleConfigNameContains = notebookInstanceLifecycleConfigNameContains self.sortBy = sortBy self.sortOrder = sortOrder + self.statusEquals = statusEquals } } extension SageMakerClientTypes { - /// Provides a summary of a notebook instance lifecycle configuration. - public struct NotebookInstanceLifecycleConfigSummary { - /// A timestamp that tells when the lifecycle configuration was created. + /// Provides summary information for an SageMaker notebook instance. + public struct NotebookInstanceSummary { + /// An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in [Amazon Web Services CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see [Associating Git Repositories with SageMaker Notebook Instances](https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). + public var additionalCodeRepositories: [Swift.String]? + /// A timestamp that shows when the notebook instance was created. public var creationTime: Foundation.Date? - /// A timestamp that tells when the lifecycle configuration was last modified. + /// The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in [Amazon Web Services CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see [Associating Git Repositories with SageMaker Notebook Instances](https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). + public var defaultCodeRepository: Swift.String? + /// The type of ML compute instance that the notebook instance is running on. + public var instanceType: SageMakerClientTypes.InstanceType? + /// A timestamp that shows when the notebook instance was last modified. public var lastModifiedTime: Foundation.Date? - /// The Amazon Resource Name (ARN) of the lifecycle configuration. - /// This member is required. - public var notebookInstanceLifecycleConfigArn: Swift.String? - /// The name of the lifecycle configuration. + /// The Amazon Resource Name (ARN) of the notebook instance. /// This member is required. + public var notebookInstanceArn: Swift.String? + /// The name of a notebook instance lifecycle configuration associated with this notebook instance. For information about notebook instance lifestyle configurations, see [Step 2.1: (Optional) Customize a Notebook Instance](https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). public var notebookInstanceLifecycleConfigName: Swift.String? + /// The name of the notebook instance that you want a summary for. + /// This member is required. + public var notebookInstanceName: Swift.String? + /// The status of the notebook instance. + public var notebookInstanceStatus: SageMakerClientTypes.NotebookInstanceStatus? + /// The URL that you use to connect to the Jupyter notebook running in your notebook instance. + public var url: Swift.String? public init( + additionalCodeRepositories: [Swift.String]? = nil, creationTime: Foundation.Date? = nil, + defaultCodeRepository: Swift.String? = nil, + instanceType: SageMakerClientTypes.InstanceType? = nil, lastModifiedTime: Foundation.Date? = nil, - notebookInstanceLifecycleConfigArn: Swift.String? = nil, - notebookInstanceLifecycleConfigName: Swift.String? = nil + notebookInstanceArn: Swift.String? = nil, + notebookInstanceLifecycleConfigName: Swift.String? = nil, + notebookInstanceName: Swift.String? = nil, + notebookInstanceStatus: SageMakerClientTypes.NotebookInstanceStatus? = nil, + url: Swift.String? = nil ) { + self.additionalCodeRepositories = additionalCodeRepositories self.creationTime = creationTime + self.defaultCodeRepository = defaultCodeRepository + self.instanceType = instanceType self.lastModifiedTime = lastModifiedTime - self.notebookInstanceLifecycleConfigArn = notebookInstanceLifecycleConfigArn + self.notebookInstanceArn = notebookInstanceArn self.notebookInstanceLifecycleConfigName = notebookInstanceLifecycleConfigName + self.notebookInstanceName = notebookInstanceName + self.notebookInstanceStatus = notebookInstanceStatus + self.url = url } } } -public struct ListNotebookInstanceLifecycleConfigsOutput { - /// If the response is truncated, SageMaker returns this token. To get the next set of lifecycle configurations, use it in the next request. +public struct ListNotebookInstancesOutput { + /// If the response to the previous ListNotebookInstances request was truncated, SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next request. public var nextToken: Swift.String? - /// An array of NotebookInstanceLifecycleConfiguration objects, each listing a lifecycle configuration. - public var notebookInstanceLifecycleConfigs: [SageMakerClientTypes.NotebookInstanceLifecycleConfigSummary]? + /// An array of NotebookInstanceSummary objects, one for each notebook instance. + public var notebookInstances: [SageMakerClientTypes.NotebookInstanceSummary]? public init( nextToken: Swift.String? = nil, - notebookInstanceLifecycleConfigs: [SageMakerClientTypes.NotebookInstanceLifecycleConfigSummary]? = nil + notebookInstances: [SageMakerClientTypes.NotebookInstanceSummary]? = nil ) { self.nextToken = nextToken - self.notebookInstanceLifecycleConfigs = notebookInstanceLifecycleConfigs + self.notebookInstances = notebookInstances } } extension SageMakerClientTypes { - public enum NotebookInstanceSortKey: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + public enum ListOptimizationJobsSortBy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case creationTime case name case status case sdkUnknown(Swift.String) - public static var allCases: [NotebookInstanceSortKey] { + public static var allCases: [ListOptimizationJobsSortBy] { return [ .creationTime, .name, @@ -41346,89 +42185,52 @@ extension SageMakerClientTypes { } } -extension SageMakerClientTypes { - - public enum NotebookInstanceSortOrder: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case ascending - case descending - case sdkUnknown(Swift.String) - - public static var allCases: [NotebookInstanceSortOrder] { - return [ - .ascending, - .descending - ] - } - - public init?(rawValue: Swift.String) { - let value = Self.allCases.first(where: { $0.rawValue == rawValue }) - self = value ?? Self.sdkUnknown(rawValue) - } - - public var rawValue: Swift.String { - switch self { - case .ascending: return "Ascending" - case .descending: return "Descending" - case let .sdkUnknown(s): return s - } - } - } -} - -public struct ListNotebookInstancesInput { - /// A filter that returns only notebook instances with associated with the specified git repository. - public var additionalCodeRepositoryEquals: Swift.String? - /// A filter that returns only notebook instances that were created after the specified time (timestamp). +public struct ListOptimizationJobsInput { + /// Filters the results to only those optimization jobs that were created after the specified time. public var creationTimeAfter: Foundation.Date? - /// A filter that returns only notebook instances that were created before the specified time (timestamp). + /// Filters the results to only those optimization jobs that were created before the specified time. public var creationTimeBefore: Foundation.Date? - /// A string in the name or URL of a Git repository associated with this notebook instance. This filter returns only notebook instances associated with a git repository with a name that contains the specified string. - public var defaultCodeRepositoryContains: Swift.String? - /// A filter that returns only notebook instances that were modified after the specified time (timestamp). + /// Filters the results to only those optimization jobs that were updated after the specified time. public var lastModifiedTimeAfter: Foundation.Date? - /// A filter that returns only notebook instances that were modified before the specified time (timestamp). + /// Filters the results to only those optimization jobs that were updated before the specified time. public var lastModifiedTimeBefore: Foundation.Date? - /// The maximum number of notebook instances to return. + /// The maximum number of optimization jobs to return in the response. The default is 50. public var maxResults: Swift.Int? - /// A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string. + /// Filters the results to only those optimization jobs with a name that contains the specified string. public var nameContains: Swift.String? - /// If the previous call to the ListNotebookInstances is truncated, the response includes a NextToken. You can use this token in your subsequent ListNotebookInstances request to fetch the next set of notebook instances. You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request. + /// A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token. public var nextToken: Swift.String? - /// A string in the name of a notebook instances lifecycle configuration associated with this notebook instance. This filter returns only notebook instances associated with a lifecycle configuration with a name that contains the specified string. - public var notebookInstanceLifecycleConfigNameContains: Swift.String? - /// The field to sort results by. The default is Name. - public var sortBy: SageMakerClientTypes.NotebookInstanceSortKey? - /// The sort order for results. - public var sortOrder: SageMakerClientTypes.NotebookInstanceSortOrder? - /// A filter that returns only notebook instances with the specified status. - public var statusEquals: SageMakerClientTypes.NotebookInstanceStatus? + /// Filters the results to only those optimization jobs that apply the specified optimization techniques. You can specify either Quantization or Compilation. + public var optimizationContains: Swift.String? + /// The field by which to sort the optimization jobs in the response. The default is CreationTime + public var sortBy: SageMakerClientTypes.ListOptimizationJobsSortBy? + /// The sort order for results. The default is Ascending + public var sortOrder: SageMakerClientTypes.SortOrder? + /// Filters the results to only those optimization jobs with the specified status. + public var statusEquals: SageMakerClientTypes.OptimizationJobStatus? public init( - additionalCodeRepositoryEquals: Swift.String? = nil, creationTimeAfter: Foundation.Date? = nil, creationTimeBefore: Foundation.Date? = nil, - defaultCodeRepositoryContains: Swift.String? = nil, lastModifiedTimeAfter: Foundation.Date? = nil, lastModifiedTimeBefore: Foundation.Date? = nil, maxResults: Swift.Int? = nil, nameContains: Swift.String? = nil, nextToken: Swift.String? = nil, - notebookInstanceLifecycleConfigNameContains: Swift.String? = nil, - sortBy: SageMakerClientTypes.NotebookInstanceSortKey? = nil, - sortOrder: SageMakerClientTypes.NotebookInstanceSortOrder? = nil, - statusEquals: SageMakerClientTypes.NotebookInstanceStatus? = nil + optimizationContains: Swift.String? = nil, + sortBy: SageMakerClientTypes.ListOptimizationJobsSortBy? = nil, + sortOrder: SageMakerClientTypes.SortOrder? = nil, + statusEquals: SageMakerClientTypes.OptimizationJobStatus? = nil ) { - self.additionalCodeRepositoryEquals = additionalCodeRepositoryEquals self.creationTimeAfter = creationTimeAfter self.creationTimeBefore = creationTimeBefore - self.defaultCodeRepositoryContains = defaultCodeRepositoryContains self.lastModifiedTimeAfter = lastModifiedTimeAfter self.lastModifiedTimeBefore = lastModifiedTimeBefore self.maxResults = maxResults self.nameContains = nameContains self.nextToken = nextToken - self.notebookInstanceLifecycleConfigNameContains = notebookInstanceLifecycleConfigNameContains + self.optimizationContains = optimizationContains self.sortBy = sortBy self.sortOrder = sortOrder self.statusEquals = statusEquals @@ -41436,72 +42238,73 @@ public struct ListNotebookInstancesInput { } extension SageMakerClientTypes { - /// Provides summary information for an SageMaker notebook instance. - public struct NotebookInstanceSummary { - /// An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in [Amazon Web Services CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see [Associating Git Repositories with SageMaker Notebook Instances](https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). - public var additionalCodeRepositories: [Swift.String]? - /// A timestamp that shows when the notebook instance was created. + /// Summarizes an optimization job by providing some of its key properties. + public struct OptimizationJobSummary { + /// The time when you created the optimization job. + /// This member is required. public var creationTime: Foundation.Date? - /// The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in [Amazon Web Services CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see [Associating Git Repositories with SageMaker Notebook Instances](https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). - public var defaultCodeRepository: Swift.String? - /// The type of ML compute instance that the notebook instance is running on. - public var instanceType: SageMakerClientTypes.InstanceType? - /// A timestamp that shows when the notebook instance was last modified. + /// The type of instance that hosts the optimized model that you create with the optimization job. + /// This member is required. + public var deploymentInstanceType: SageMakerClientTypes.OptimizationJobDeploymentInstanceType? + /// The time when the optimization job was last updated. public var lastModifiedTime: Foundation.Date? - /// The Amazon Resource Name (ARN) of the notebook instance. + /// The time when the optimization job finished processing. + public var optimizationEndTime: Foundation.Date? + /// The Amazon Resource Name (ARN) of the optimization job. /// This member is required. - public var notebookInstanceArn: Swift.String? - /// The name of a notebook instance lifecycle configuration associated with this notebook instance. For information about notebook instance lifestyle configurations, see [Step 2.1: (Optional) Customize a Notebook Instance](https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). - public var notebookInstanceLifecycleConfigName: Swift.String? - /// The name of the notebook instance that you want a summary for. + public var optimizationJobArn: Swift.String? + /// The name that you assigned to the optimization job. /// This member is required. - public var notebookInstanceName: Swift.String? - /// The status of the notebook instance. - public var notebookInstanceStatus: SageMakerClientTypes.NotebookInstanceStatus? - /// The URL that you use to connect to the Jupyter notebook running in your notebook instance. - public var url: Swift.String? + public var optimizationJobName: Swift.String? + /// The current status of the optimization job. + /// This member is required. + public var optimizationJobStatus: SageMakerClientTypes.OptimizationJobStatus? + /// The time when the optimization job started. + public var optimizationStartTime: Foundation.Date? + /// The optimization techniques that are applied by the optimization job. + /// This member is required. + public var optimizationTypes: [Swift.String]? public init( - additionalCodeRepositories: [Swift.String]? = nil, creationTime: Foundation.Date? = nil, - defaultCodeRepository: Swift.String? = nil, - instanceType: SageMakerClientTypes.InstanceType? = nil, + deploymentInstanceType: SageMakerClientTypes.OptimizationJobDeploymentInstanceType? = nil, lastModifiedTime: Foundation.Date? = nil, - notebookInstanceArn: Swift.String? = nil, - notebookInstanceLifecycleConfigName: Swift.String? = nil, - notebookInstanceName: Swift.String? = nil, - notebookInstanceStatus: SageMakerClientTypes.NotebookInstanceStatus? = nil, - url: Swift.String? = nil + optimizationEndTime: Foundation.Date? = nil, + optimizationJobArn: Swift.String? = nil, + optimizationJobName: Swift.String? = nil, + optimizationJobStatus: SageMakerClientTypes.OptimizationJobStatus? = nil, + optimizationStartTime: Foundation.Date? = nil, + optimizationTypes: [Swift.String]? = nil ) { - self.additionalCodeRepositories = additionalCodeRepositories self.creationTime = creationTime - self.defaultCodeRepository = defaultCodeRepository - self.instanceType = instanceType + self.deploymentInstanceType = deploymentInstanceType self.lastModifiedTime = lastModifiedTime - self.notebookInstanceArn = notebookInstanceArn - self.notebookInstanceLifecycleConfigName = notebookInstanceLifecycleConfigName - self.notebookInstanceName = notebookInstanceName - self.notebookInstanceStatus = notebookInstanceStatus - self.url = url + self.optimizationEndTime = optimizationEndTime + self.optimizationJobArn = optimizationJobArn + self.optimizationJobName = optimizationJobName + self.optimizationJobStatus = optimizationJobStatus + self.optimizationStartTime = optimizationStartTime + self.optimizationTypes = optimizationTypes } } } -public struct ListNotebookInstancesOutput { - /// If the response to the previous ListNotebookInstances request was truncated, SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next request. +public struct ListOptimizationJobsOutput { + /// The token to use in a subsequent request to get the next set of results following a truncated response. public var nextToken: Swift.String? - /// An array of NotebookInstanceSummary objects, one for each notebook instance. - public var notebookInstances: [SageMakerClientTypes.NotebookInstanceSummary]? + /// A list of optimization jobs and their properties that matches any of the filters you specified in the request. + /// This member is required. + public var optimizationJobSummaries: [SageMakerClientTypes.OptimizationJobSummary]? public init( nextToken: Swift.String? = nil, - notebookInstances: [SageMakerClientTypes.NotebookInstanceSummary]? = nil + optimizationJobSummaries: [SageMakerClientTypes.OptimizationJobSummary]? = nil ) { self.nextToken = nextToken - self.notebookInstances = notebookInstances + self.optimizationJobSummaries = optimizationJobSummaries } } @@ -46255,6 +47058,19 @@ public struct StopNotebookInstanceInput { } } +public struct StopOptimizationJobInput { + /// The name that you assigned to the optimization job. + /// This member is required. + public var optimizationJobName: Swift.String? + + public init( + optimizationJobName: Swift.String? = nil + ) + { + self.optimizationJobName = optimizationJobName + } +} + public struct StopPipelineExecutionInput { /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. /// This member is required. @@ -48371,6 +49187,13 @@ extension CreateNotebookInstanceLifecycleConfigInput { } } +extension CreateOptimizationJobInput { + + static func urlPathProvider(_ value: CreateOptimizationJobInput) -> Swift.String? { + return "/" + } +} + extension CreatePipelineInput { static func urlPathProvider(_ value: CreatePipelineInput) -> Swift.String? { @@ -48763,6 +49586,13 @@ extension DeleteNotebookInstanceLifecycleConfigInput { } } +extension DeleteOptimizationJobInput { + + static func urlPathProvider(_ value: DeleteOptimizationJobInput) -> Swift.String? { + return "/" + } +} + extension DeletePipelineInput { static func urlPathProvider(_ value: DeletePipelineInput) -> Swift.String? { @@ -49169,6 +49999,13 @@ extension DescribeNotebookInstanceLifecycleConfigInput { } } +extension DescribeOptimizationJobInput { + + static func urlPathProvider(_ value: DescribeOptimizationJobInput) -> Swift.String? { + return "/" + } +} + extension DescribePipelineInput { static func urlPathProvider(_ value: DescribePipelineInput) -> Swift.String? { @@ -49736,6 +50573,13 @@ extension ListNotebookInstancesInput { } } +extension ListOptimizationJobsInput { + + static func urlPathProvider(_ value: ListOptimizationJobsInput) -> Swift.String? { + return "/" + } +} + extension ListPipelineExecutionsInput { static func urlPathProvider(_ value: ListPipelineExecutionsInput) -> Swift.String? { @@ -50051,6 +50895,13 @@ extension StopNotebookInstanceInput { } } +extension StopOptimizationJobInput { + + static func urlPathProvider(_ value: StopOptimizationJobInput) -> Swift.String? { + return "/" + } +} + extension StopPipelineExecutionInput { static func urlPathProvider(_ value: StopPipelineExecutionInput) -> Swift.String? { @@ -51016,6 +51867,23 @@ extension CreateNotebookInstanceLifecycleConfigInput { } } +extension CreateOptimizationJobInput { + + static func write(value: CreateOptimizationJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DeploymentInstanceType"].write(value.deploymentInstanceType) + try writer["ModelSource"].write(value.modelSource, with: SageMakerClientTypes.OptimizationJobModelSource.write(value:to:)) + try writer["OptimizationConfigs"].writeList(value.optimizationConfigs, memberWritingClosure: SageMakerClientTypes.OptimizationConfig.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["OptimizationEnvironment"].writeMap(value.optimizationEnvironment, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["OptimizationJobName"].write(value.optimizationJobName) + try writer["OutputConfig"].write(value.outputConfig, with: SageMakerClientTypes.OptimizationJobOutputConfig.write(value:to:)) + try writer["RoleArn"].write(value.roleArn) + try writer["StoppingCondition"].write(value.stoppingCondition, with: SageMakerClientTypes.StoppingCondition.write(value:to:)) + try writer["Tags"].writeList(value.tags, memberWritingClosure: SageMakerClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["VpcConfig"].write(value.vpcConfig, with: SageMakerClientTypes.OptimizationVpcConfig.write(value:to:)) + } +} + extension CreatePipelineInput { static func write(value: CreatePipelineInput?, to writer: SmithyJSON.Writer) throws { @@ -51583,6 +52451,14 @@ extension DeleteNotebookInstanceLifecycleConfigInput { } } +extension DeleteOptimizationJobInput { + + static func write(value: DeleteOptimizationJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["OptimizationJobName"].write(value.optimizationJobName) + } +} + extension DeletePipelineInput { static func write(value: DeletePipelineInput?, to writer: SmithyJSON.Writer) throws { @@ -52069,6 +52945,14 @@ extension DescribeNotebookInstanceLifecycleConfigInput { } } +extension DescribeOptimizationJobInput { + + static func write(value: DescribeOptimizationJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["OptimizationJobName"].write(value.optimizationJobName) + } +} + extension DescribePipelineInput { static func write(value: DescribePipelineInput?, to writer: SmithyJSON.Writer) throws { @@ -53150,6 +54034,24 @@ extension ListNotebookInstancesInput { } } +extension ListOptimizationJobsInput { + + static func write(value: ListOptimizationJobsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["CreationTimeAfter"].writeTimestamp(value.creationTimeAfter, format: .epochSeconds) + try writer["CreationTimeBefore"].writeTimestamp(value.creationTimeBefore, format: .epochSeconds) + try writer["LastModifiedTimeAfter"].writeTimestamp(value.lastModifiedTimeAfter, format: .epochSeconds) + try writer["LastModifiedTimeBefore"].writeTimestamp(value.lastModifiedTimeBefore, format: .epochSeconds) + try writer["MaxResults"].write(value.maxResults) + try writer["NameContains"].write(value.nameContains) + try writer["NextToken"].write(value.nextToken) + try writer["OptimizationContains"].write(value.optimizationContains) + try writer["SortBy"].write(value.sortBy) + try writer["SortOrder"].write(value.sortOrder) + try writer["StatusEquals"].write(value.statusEquals) + } +} + extension ListPipelineExecutionsInput { static func write(value: ListPipelineExecutionsInput?, to writer: SmithyJSON.Writer) throws { @@ -53659,6 +54561,14 @@ extension StopNotebookInstanceInput { } } +extension StopOptimizationJobInput { + + static func write(value: StopOptimizationJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["OptimizationJobName"].write(value.optimizationJobName) + } +} + extension StopPipelineExecutionInput { static func write(value: StopPipelineExecutionInput?, to writer: SmithyJSON.Writer) throws { @@ -54137,7 +55047,7 @@ extension UpdateWorkteamInput { extension AddAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54150,7 +55060,7 @@ extension AddAssociationOutput { extension AddTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54162,7 +55072,7 @@ extension AddTagsOutput { extension AssociateTrialComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTrialComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTrialComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54175,7 +55085,7 @@ extension AssociateTrialComponentOutput { extension BatchDescribeModelPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDescribeModelPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDescribeModelPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54188,7 +55098,7 @@ extension BatchDescribeModelPackageOutput { extension CreateActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54200,7 +55110,7 @@ extension CreateActionOutput { extension CreateAlgorithmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAlgorithmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAlgorithmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54212,7 +55122,7 @@ extension CreateAlgorithmOutput { extension CreateAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54224,7 +55134,7 @@ extension CreateAppOutput { extension CreateAppImageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAppImageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAppImageConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54236,7 +55146,7 @@ extension CreateAppImageConfigOutput { extension CreateArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54248,7 +55158,7 @@ extension CreateArtifactOutput { extension CreateAutoMLJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAutoMLJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAutoMLJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54260,7 +55170,7 @@ extension CreateAutoMLJobOutput { extension CreateAutoMLJobV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAutoMLJobV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAutoMLJobV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54272,7 +55182,7 @@ extension CreateAutoMLJobV2Output { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54284,7 +55194,7 @@ extension CreateClusterOutput { extension CreateCodeRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCodeRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCodeRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54296,7 +55206,7 @@ extension CreateCodeRepositoryOutput { extension CreateCompilationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCompilationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCompilationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54308,7 +55218,7 @@ extension CreateCompilationJobOutput { extension CreateContextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54320,7 +55230,7 @@ extension CreateContextOutput { extension CreateDataQualityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataQualityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataQualityJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54332,14 +55242,14 @@ extension CreateDataQualityJobDefinitionOutput { extension CreateDeviceFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDeviceFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDeviceFleetOutput { return CreateDeviceFleetOutput() } } extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54352,7 +55262,7 @@ extension CreateDomainOutput { extension CreateEdgeDeploymentPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEdgeDeploymentPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEdgeDeploymentPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54364,21 +55274,21 @@ extension CreateEdgeDeploymentPlanOutput { extension CreateEdgeDeploymentStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEdgeDeploymentStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEdgeDeploymentStageOutput { return CreateEdgeDeploymentStageOutput() } } extension CreateEdgePackagingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEdgePackagingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEdgePackagingJobOutput { return CreateEdgePackagingJobOutput() } } extension CreateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54390,7 +55300,7 @@ extension CreateEndpointOutput { extension CreateEndpointConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEndpointConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEndpointConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54402,7 +55312,7 @@ extension CreateEndpointConfigOutput { extension CreateExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54414,7 +55324,7 @@ extension CreateExperimentOutput { extension CreateFeatureGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFeatureGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFeatureGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54426,7 +55336,7 @@ extension CreateFeatureGroupOutput { extension CreateFlowDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFlowDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFlowDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54438,7 +55348,7 @@ extension CreateFlowDefinitionOutput { extension CreateHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHubOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54450,7 +55360,7 @@ extension CreateHubOutput { extension CreateHubContentReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHubContentReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHubContentReferenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54463,7 +55373,7 @@ extension CreateHubContentReferenceOutput { extension CreateHumanTaskUiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHumanTaskUiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHumanTaskUiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54475,7 +55385,7 @@ extension CreateHumanTaskUiOutput { extension CreateHyperParameterTuningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHyperParameterTuningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHyperParameterTuningJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54487,7 +55397,7 @@ extension CreateHyperParameterTuningJobOutput { extension CreateImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54499,7 +55409,7 @@ extension CreateImageOutput { extension CreateImageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54511,7 +55421,7 @@ extension CreateImageVersionOutput { extension CreateInferenceComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInferenceComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInferenceComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54523,7 +55433,7 @@ extension CreateInferenceComponentOutput { extension CreateInferenceExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInferenceExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInferenceExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54535,7 +55445,7 @@ extension CreateInferenceExperimentOutput { extension CreateInferenceRecommendationsJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInferenceRecommendationsJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInferenceRecommendationsJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54547,7 +55457,7 @@ extension CreateInferenceRecommendationsJobOutput { extension CreateLabelingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLabelingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLabelingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54559,7 +55469,7 @@ extension CreateLabelingJobOutput { extension CreateMlflowTrackingServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMlflowTrackingServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMlflowTrackingServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54571,7 +55481,7 @@ extension CreateMlflowTrackingServerOutput { extension CreateModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54583,7 +55493,7 @@ extension CreateModelOutput { extension CreateModelBiasJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelBiasJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelBiasJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54595,7 +55505,7 @@ extension CreateModelBiasJobDefinitionOutput { extension CreateModelCardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelCardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelCardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54607,7 +55517,7 @@ extension CreateModelCardOutput { extension CreateModelCardExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelCardExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelCardExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54619,7 +55529,7 @@ extension CreateModelCardExportJobOutput { extension CreateModelExplainabilityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelExplainabilityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelExplainabilityJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54631,7 +55541,7 @@ extension CreateModelExplainabilityJobDefinitionOutput { extension CreateModelPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54643,7 +55553,7 @@ extension CreateModelPackageOutput { extension CreateModelPackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelPackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelPackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54655,7 +55565,7 @@ extension CreateModelPackageGroupOutput { extension CreateModelQualityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateModelQualityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateModelQualityJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54667,7 +55577,7 @@ extension CreateModelQualityJobDefinitionOutput { extension CreateMonitoringScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMonitoringScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMonitoringScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54679,7 +55589,7 @@ extension CreateMonitoringScheduleOutput { extension CreateNotebookInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNotebookInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNotebookInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54691,7 +55601,7 @@ extension CreateNotebookInstanceOutput { extension CreateNotebookInstanceLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNotebookInstanceLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNotebookInstanceLifecycleConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54701,9 +55611,21 @@ extension CreateNotebookInstanceLifecycleConfigOutput { } } +extension CreateOptimizationJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOptimizationJobOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateOptimizationJobOutput() + value.optimizationJobArn = try reader["OptimizationJobArn"].readIfPresent() + return value + } +} + extension CreatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54715,7 +55637,7 @@ extension CreatePipelineOutput { extension CreatePresignedDomainUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePresignedDomainUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePresignedDomainUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54727,7 +55649,7 @@ extension CreatePresignedDomainUrlOutput { extension CreatePresignedMlflowTrackingServerUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePresignedMlflowTrackingServerUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePresignedMlflowTrackingServerUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54739,7 +55661,7 @@ extension CreatePresignedMlflowTrackingServerUrlOutput { extension CreatePresignedNotebookInstanceUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePresignedNotebookInstanceUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePresignedNotebookInstanceUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54751,7 +55673,7 @@ extension CreatePresignedNotebookInstanceUrlOutput { extension CreateProcessingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProcessingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProcessingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54763,7 +55685,7 @@ extension CreateProcessingJobOutput { extension CreateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54776,7 +55698,7 @@ extension CreateProjectOutput { extension CreateSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54788,7 +55710,7 @@ extension CreateSpaceOutput { extension CreateStudioLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStudioLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStudioLifecycleConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54800,7 +55722,7 @@ extension CreateStudioLifecycleConfigOutput { extension CreateTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrainingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54812,7 +55734,7 @@ extension CreateTrainingJobOutput { extension CreateTransformJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTransformJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTransformJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54824,7 +55746,7 @@ extension CreateTransformJobOutput { extension CreateTrialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrialOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54836,7 +55758,7 @@ extension CreateTrialOutput { extension CreateTrialComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrialComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrialComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54848,7 +55770,7 @@ extension CreateTrialComponentOutput { extension CreateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54860,7 +55782,7 @@ extension CreateUserProfileOutput { extension CreateWorkforceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkforceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkforceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54872,7 +55794,7 @@ extension CreateWorkforceOutput { extension CreateWorkteamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkteamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkteamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54884,7 +55806,7 @@ extension CreateWorkteamOutput { extension DeleteActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54896,28 +55818,28 @@ extension DeleteActionOutput { extension DeleteAlgorithmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAlgorithmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAlgorithmOutput { return DeleteAlgorithmOutput() } } extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { return DeleteAppOutput() } } extension DeleteAppImageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppImageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppImageConfigOutput { return DeleteAppImageConfigOutput() } } extension DeleteArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54929,7 +55851,7 @@ extension DeleteArtifactOutput { extension DeleteAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54942,7 +55864,7 @@ extension DeleteAssociationOutput { extension DeleteClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54954,21 +55876,21 @@ extension DeleteClusterOutput { extension DeleteCodeRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCodeRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCodeRepositoryOutput { return DeleteCodeRepositoryOutput() } } extension DeleteCompilationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCompilationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCompilationJobOutput { return DeleteCompilationJobOutput() } } extension DeleteContextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -54980,56 +55902,56 @@ extension DeleteContextOutput { extension DeleteDataQualityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataQualityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataQualityJobDefinitionOutput { return DeleteDataQualityJobDefinitionOutput() } } extension DeleteDeviceFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeviceFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeviceFleetOutput { return DeleteDeviceFleetOutput() } } extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { return DeleteDomainOutput() } } extension DeleteEdgeDeploymentPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEdgeDeploymentPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEdgeDeploymentPlanOutput { return DeleteEdgeDeploymentPlanOutput() } } extension DeleteEdgeDeploymentStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEdgeDeploymentStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEdgeDeploymentStageOutput { return DeleteEdgeDeploymentStageOutput() } } extension DeleteEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointOutput { return DeleteEndpointOutput() } } extension DeleteEndpointConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEndpointConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEndpointConfigOutput { return DeleteEndpointConfigOutput() } } extension DeleteExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55041,77 +55963,77 @@ extension DeleteExperimentOutput { extension DeleteFeatureGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFeatureGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFeatureGroupOutput { return DeleteFeatureGroupOutput() } } extension DeleteFlowDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFlowDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFlowDefinitionOutput { return DeleteFlowDefinitionOutput() } } extension DeleteHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHubOutput { return DeleteHubOutput() } } extension DeleteHubContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHubContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHubContentOutput { return DeleteHubContentOutput() } } extension DeleteHubContentReferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHubContentReferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHubContentReferenceOutput { return DeleteHubContentReferenceOutput() } } extension DeleteHumanTaskUiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHumanTaskUiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHumanTaskUiOutput { return DeleteHumanTaskUiOutput() } } extension DeleteHyperParameterTuningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHyperParameterTuningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHyperParameterTuningJobOutput { return DeleteHyperParameterTuningJobOutput() } } extension DeleteImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageOutput { return DeleteImageOutput() } } extension DeleteImageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImageVersionOutput { return DeleteImageVersionOutput() } } extension DeleteInferenceComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInferenceComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInferenceComponentOutput { return DeleteInferenceComponentOutput() } } extension DeleteInferenceExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInferenceExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInferenceExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55123,7 +56045,7 @@ extension DeleteInferenceExperimentOutput { extension DeleteMlflowTrackingServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMlflowTrackingServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMlflowTrackingServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55135,84 +56057,91 @@ extension DeleteMlflowTrackingServerOutput { extension DeleteModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelOutput { return DeleteModelOutput() } } extension DeleteModelBiasJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelBiasJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelBiasJobDefinitionOutput { return DeleteModelBiasJobDefinitionOutput() } } extension DeleteModelCardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelCardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelCardOutput { return DeleteModelCardOutput() } } extension DeleteModelExplainabilityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelExplainabilityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelExplainabilityJobDefinitionOutput { return DeleteModelExplainabilityJobDefinitionOutput() } } extension DeleteModelPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelPackageOutput { return DeleteModelPackageOutput() } } extension DeleteModelPackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelPackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelPackageGroupOutput { return DeleteModelPackageGroupOutput() } } extension DeleteModelPackageGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelPackageGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelPackageGroupPolicyOutput { return DeleteModelPackageGroupPolicyOutput() } } extension DeleteModelQualityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteModelQualityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteModelQualityJobDefinitionOutput { return DeleteModelQualityJobDefinitionOutput() } } extension DeleteMonitoringScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMonitoringScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMonitoringScheduleOutput { return DeleteMonitoringScheduleOutput() } } extension DeleteNotebookInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotebookInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotebookInstanceOutput { return DeleteNotebookInstanceOutput() } } extension DeleteNotebookInstanceLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotebookInstanceLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotebookInstanceLifecycleConfigOutput { return DeleteNotebookInstanceLifecycleConfigOutput() } } +extension DeleteOptimizationJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOptimizationJobOutput { + return DeleteOptimizationJobOutput() + } +} + extension DeletePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55224,35 +56153,35 @@ extension DeletePipelineOutput { extension DeleteProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProjectOutput { return DeleteProjectOutput() } } extension DeleteSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSpaceOutput { return DeleteSpaceOutput() } } extension DeleteStudioLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteStudioLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteStudioLifecycleConfigOutput { return DeleteStudioLifecycleConfigOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DeleteTrialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrialOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55264,7 +56193,7 @@ extension DeleteTrialOutput { extension DeleteTrialComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrialComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrialComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55276,21 +56205,21 @@ extension DeleteTrialComponentOutput { extension DeleteUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserProfileOutput { return DeleteUserProfileOutput() } } extension DeleteWorkforceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkforceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkforceOutput { return DeleteWorkforceOutput() } } extension DeleteWorkteamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkteamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkteamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55302,14 +56231,14 @@ extension DeleteWorkteamOutput { extension DeregisterDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterDevicesOutput { return DeregisterDevicesOutput() } } extension DescribeActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55333,7 +56262,7 @@ extension DescribeActionOutput { extension DescribeAlgorithmOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAlgorithmOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAlgorithmOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55355,7 +56284,7 @@ extension DescribeAlgorithmOutput { extension DescribeAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55378,7 +56307,7 @@ extension DescribeAppOutput { extension DescribeAppImageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppImageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppImageConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55396,7 +56325,7 @@ extension DescribeAppImageConfigOutput { extension DescribeArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55418,7 +56347,7 @@ extension DescribeArtifactOutput { extension DescribeAutoMLJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoMLJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoMLJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55450,7 +56379,7 @@ extension DescribeAutoMLJobOutput { extension DescribeAutoMLJobV2Output { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAutoMLJobV2Output { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAutoMLJobV2Output { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55483,7 +56412,7 @@ extension DescribeAutoMLJobV2Output { extension DescribeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55501,7 +56430,7 @@ extension DescribeClusterOutput { extension DescribeClusterNodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterNodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterNodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55513,7 +56442,7 @@ extension DescribeClusterNodeOutput { extension DescribeCodeRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCodeRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCodeRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55529,7 +56458,7 @@ extension DescribeCodeRepositoryOutput { extension DescribeCompilationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCompilationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCompilationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55558,7 +56487,7 @@ extension DescribeCompilationJobOutput { extension DescribeContextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeContextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeContextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55580,7 +56509,7 @@ extension DescribeContextOutput { extension DescribeDataQualityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDataQualityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDataQualityJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55602,7 +56531,7 @@ extension DescribeDataQualityJobDefinitionOutput { extension DescribeDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55624,7 +56553,7 @@ extension DescribeDeviceOutput { extension DescribeDeviceFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55643,7 +56572,7 @@ extension DescribeDeviceFleetOutput { extension DescribeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55676,7 +56605,7 @@ extension DescribeDomainOutput { extension DescribeEdgeDeploymentPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEdgeDeploymentPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEdgeDeploymentPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55698,7 +56627,7 @@ extension DescribeEdgeDeploymentPlanOutput { extension DescribeEdgePackagingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEdgePackagingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEdgePackagingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55724,7 +56653,7 @@ extension DescribeEdgePackagingJobOutput { extension DescribeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55749,7 +56678,7 @@ extension DescribeEndpointOutput { extension DescribeEndpointConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55772,7 +56701,7 @@ extension DescribeEndpointConfigOutput { extension DescribeExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55792,7 +56721,7 @@ extension DescribeExperimentOutput { extension DescribeFeatureGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFeatureGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFeatureGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55821,7 +56750,7 @@ extension DescribeFeatureGroupOutput { extension DescribeFeatureMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFeatureMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFeatureMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55840,7 +56769,7 @@ extension DescribeFeatureMetadataOutput { extension DescribeFlowDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFlowDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFlowDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55861,7 +56790,7 @@ extension DescribeFlowDefinitionOutput { extension DescribeHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHubOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55882,7 +56811,7 @@ extension DescribeHubOutput { extension DescribeHubContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHubContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHubContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55912,7 +56841,7 @@ extension DescribeHubContentOutput { extension DescribeHumanTaskUiOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHumanTaskUiOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHumanTaskUiOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55928,7 +56857,7 @@ extension DescribeHumanTaskUiOutput { extension DescribeHyperParameterTuningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHyperParameterTuningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHyperParameterTuningJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55957,7 +56886,7 @@ extension DescribeHyperParameterTuningJobOutput { extension DescribeImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -55977,7 +56906,7 @@ extension DescribeImageOutput { extension DescribeImageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56004,7 +56933,7 @@ extension DescribeImageVersionOutput { extension DescribeInferenceComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInferenceComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInferenceComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56026,7 +56955,7 @@ extension DescribeInferenceComponentOutput { extension DescribeInferenceExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInferenceExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInferenceExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56053,7 +56982,7 @@ extension DescribeInferenceExperimentOutput { extension DescribeInferenceRecommendationsJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInferenceRecommendationsJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInferenceRecommendationsJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56078,7 +57007,7 @@ extension DescribeInferenceRecommendationsJobOutput { extension DescribeLabelingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLabelingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLabelingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56107,7 +57036,7 @@ extension DescribeLabelingJobOutput { extension DescribeLineageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLineageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLineageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56126,7 +57055,7 @@ extension DescribeLineageGroupOutput { extension DescribeMlflowTrackingServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMlflowTrackingServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMlflowTrackingServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56152,7 +57081,7 @@ extension DescribeMlflowTrackingServerOutput { extension DescribeModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56173,7 +57102,7 @@ extension DescribeModelOutput { extension DescribeModelBiasJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelBiasJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelBiasJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56195,7 +57124,7 @@ extension DescribeModelBiasJobDefinitionOutput { extension DescribeModelCardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelCardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelCardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56217,7 +57146,7 @@ extension DescribeModelCardOutput { extension DescribeModelCardExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelCardExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelCardExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56238,7 +57167,7 @@ extension DescribeModelCardExportJobOutput { extension DescribeModelExplainabilityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelExplainabilityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelExplainabilityJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56260,7 +57189,7 @@ extension DescribeModelExplainabilityJobDefinitionOutput { extension DescribeModelPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56300,7 +57229,7 @@ extension DescribeModelPackageOutput { extension DescribeModelPackageGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelPackageGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelPackageGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56317,7 +57246,7 @@ extension DescribeModelPackageGroupOutput { extension DescribeModelQualityJobDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeModelQualityJobDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeModelQualityJobDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56339,7 +57268,7 @@ extension DescribeModelQualityJobDefinitionOutput { extension DescribeMonitoringScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMonitoringScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMonitoringScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56360,7 +57289,7 @@ extension DescribeMonitoringScheduleOutput { extension DescribeNotebookInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotebookInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotebookInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56393,7 +57322,7 @@ extension DescribeNotebookInstanceOutput { extension DescribeNotebookInstanceLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotebookInstanceLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotebookInstanceLifecycleConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56408,9 +57337,37 @@ extension DescribeNotebookInstanceLifecycleConfigOutput { } } +extension DescribeOptimizationJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOptimizationJobOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeOptimizationJobOutput() + value.creationTime = try reader["CreationTime"].readTimestampIfPresent(format: .epochSeconds) + value.deploymentInstanceType = try reader["DeploymentInstanceType"].readIfPresent() + value.failureReason = try reader["FailureReason"].readIfPresent() + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: .epochSeconds) + value.modelSource = try reader["ModelSource"].readIfPresent(with: SageMakerClientTypes.OptimizationJobModelSource.read(from:)) + value.optimizationConfigs = try reader["OptimizationConfigs"].readListIfPresent(memberReadingClosure: SageMakerClientTypes.OptimizationConfig.read(from:), memberNodeInfo: "member", isFlattened: false) + value.optimizationEndTime = try reader["OptimizationEndTime"].readTimestampIfPresent(format: .epochSeconds) + value.optimizationEnvironment = try reader["OptimizationEnvironment"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.optimizationJobArn = try reader["OptimizationJobArn"].readIfPresent() + value.optimizationJobName = try reader["OptimizationJobName"].readIfPresent() + value.optimizationJobStatus = try reader["OptimizationJobStatus"].readIfPresent() + value.optimizationOutput = try reader["OptimizationOutput"].readIfPresent(with: SageMakerClientTypes.OptimizationOutput.read(from:)) + value.optimizationStartTime = try reader["OptimizationStartTime"].readTimestampIfPresent(format: .epochSeconds) + value.outputConfig = try reader["OutputConfig"].readIfPresent(with: SageMakerClientTypes.OptimizationJobOutputConfig.read(from:)) + value.roleArn = try reader["RoleArn"].readIfPresent() + value.stoppingCondition = try reader["StoppingCondition"].readIfPresent(with: SageMakerClientTypes.StoppingCondition.read(from:)) + value.vpcConfig = try reader["VpcConfig"].readIfPresent(with: SageMakerClientTypes.OptimizationVpcConfig.read(from:)) + return value + } +} + extension DescribePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56434,7 +57391,7 @@ extension DescribePipelineOutput { extension DescribePipelineDefinitionForExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePipelineDefinitionForExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePipelineDefinitionForExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56447,7 +57404,7 @@ extension DescribePipelineDefinitionForExecutionOutput { extension DescribePipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56471,7 +57428,7 @@ extension DescribePipelineExecutionOutput { extension DescribeProcessingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProcessingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProcessingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56503,7 +57460,7 @@ extension DescribeProcessingJobOutput { extension DescribeProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56525,7 +57482,7 @@ extension DescribeProjectOutput { extension DescribeSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56549,7 +57506,7 @@ extension DescribeSpaceOutput { extension DescribeStudioLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStudioLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStudioLifecycleConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56566,7 +57523,7 @@ extension DescribeStudioLifecycleConfigOutput { extension DescribeSubscribedWorkteamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubscribedWorkteamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubscribedWorkteamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56578,7 +57535,7 @@ extension DescribeSubscribedWorkteamOutput { extension DescribeTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrainingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56632,7 +57589,7 @@ extension DescribeTrainingJobOutput { extension DescribeTransformJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTransformJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTransformJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56664,7 +57621,7 @@ extension DescribeTransformJobOutput { extension DescribeTrialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrialOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56685,7 +57642,7 @@ extension DescribeTrialOutput { extension DescribeTrialComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrialComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrialComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56714,7 +57671,7 @@ extension DescribeTrialComponentOutput { extension DescribeUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56736,7 +57693,7 @@ extension DescribeUserProfileOutput { extension DescribeWorkforceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkforceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkforceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56748,7 +57705,7 @@ extension DescribeWorkforceOutput { extension DescribeWorkteamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkteamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkteamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56760,14 +57717,14 @@ extension DescribeWorkteamOutput { extension DisableSagemakerServicecatalogPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableSagemakerServicecatalogPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableSagemakerServicecatalogPortfolioOutput { return DisableSagemakerServicecatalogPortfolioOutput() } } extension DisassociateTrialComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTrialComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTrialComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56780,14 +57737,14 @@ extension DisassociateTrialComponentOutput { extension EnableSagemakerServicecatalogPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSagemakerServicecatalogPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSagemakerServicecatalogPortfolioOutput { return EnableSagemakerServicecatalogPortfolioOutput() } } extension GetDeviceFleetReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceFleetReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceFleetReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56806,7 +57763,7 @@ extension GetDeviceFleetReportOutput { extension GetLineageGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLineageGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLineageGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56819,7 +57776,7 @@ extension GetLineageGroupPolicyOutput { extension GetModelPackageGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetModelPackageGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetModelPackageGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56831,7 +57788,7 @@ extension GetModelPackageGroupPolicyOutput { extension GetSagemakerServicecatalogPortfolioStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSagemakerServicecatalogPortfolioStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSagemakerServicecatalogPortfolioStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56843,7 +57800,7 @@ extension GetSagemakerServicecatalogPortfolioStatusOutput { extension GetScalingConfigurationRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetScalingConfigurationRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetScalingConfigurationRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56861,7 +57818,7 @@ extension GetScalingConfigurationRecommendationOutput { extension GetSearchSuggestionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSearchSuggestionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSearchSuggestionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56873,7 +57830,7 @@ extension GetSearchSuggestionsOutput { extension ImportHubContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportHubContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportHubContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56886,7 +57843,7 @@ extension ImportHubContentOutput { extension ListActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56899,7 +57856,7 @@ extension ListActionsOutput { extension ListAlgorithmsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAlgorithmsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAlgorithmsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56912,7 +57869,7 @@ extension ListAlgorithmsOutput { extension ListAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56925,7 +57882,7 @@ extension ListAliasesOutput { extension ListAppImageConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppImageConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppImageConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56938,7 +57895,7 @@ extension ListAppImageConfigsOutput { extension ListAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56951,7 +57908,7 @@ extension ListAppsOutput { extension ListArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56964,7 +57921,7 @@ extension ListArtifactsOutput { extension ListAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56977,7 +57934,7 @@ extension ListAssociationsOutput { extension ListAutoMLJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAutoMLJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAutoMLJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -56990,7 +57947,7 @@ extension ListAutoMLJobsOutput { extension ListCandidatesForAutoMLJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCandidatesForAutoMLJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCandidatesForAutoMLJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57003,7 +57960,7 @@ extension ListCandidatesForAutoMLJobOutput { extension ListClusterNodesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClusterNodesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClusterNodesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57016,7 +57973,7 @@ extension ListClusterNodesOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57029,7 +57986,7 @@ extension ListClustersOutput { extension ListCodeRepositoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCodeRepositoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCodeRepositoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57042,7 +57999,7 @@ extension ListCodeRepositoriesOutput { extension ListCompilationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCompilationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCompilationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57055,7 +58012,7 @@ extension ListCompilationJobsOutput { extension ListContextsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContextsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContextsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57068,7 +58025,7 @@ extension ListContextsOutput { extension ListDataQualityJobDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataQualityJobDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataQualityJobDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57081,7 +58038,7 @@ extension ListDataQualityJobDefinitionsOutput { extension ListDeviceFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57094,7 +58051,7 @@ extension ListDeviceFleetsOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57107,7 +58064,7 @@ extension ListDevicesOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57120,7 +58077,7 @@ extension ListDomainsOutput { extension ListEdgeDeploymentPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEdgeDeploymentPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEdgeDeploymentPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57133,7 +58090,7 @@ extension ListEdgeDeploymentPlansOutput { extension ListEdgePackagingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEdgePackagingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEdgePackagingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57146,7 +58103,7 @@ extension ListEdgePackagingJobsOutput { extension ListEndpointConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57159,7 +58116,7 @@ extension ListEndpointConfigsOutput { extension ListEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57172,7 +58129,7 @@ extension ListEndpointsOutput { extension ListExperimentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExperimentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExperimentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57185,7 +58142,7 @@ extension ListExperimentsOutput { extension ListFeatureGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFeatureGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFeatureGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57198,7 +58155,7 @@ extension ListFeatureGroupsOutput { extension ListFlowDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFlowDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFlowDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57211,7 +58168,7 @@ extension ListFlowDefinitionsOutput { extension ListHubContentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHubContentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHubContentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57224,7 +58181,7 @@ extension ListHubContentsOutput { extension ListHubContentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHubContentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHubContentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57237,7 +58194,7 @@ extension ListHubContentVersionsOutput { extension ListHubsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHubsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHubsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57250,7 +58207,7 @@ extension ListHubsOutput { extension ListHumanTaskUisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHumanTaskUisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHumanTaskUisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57263,7 +58220,7 @@ extension ListHumanTaskUisOutput { extension ListHyperParameterTuningJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHyperParameterTuningJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHyperParameterTuningJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57276,7 +58233,7 @@ extension ListHyperParameterTuningJobsOutput { extension ListImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57289,7 +58246,7 @@ extension ListImagesOutput { extension ListImageVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImageVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImageVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57302,7 +58259,7 @@ extension ListImageVersionsOutput { extension ListInferenceComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57315,7 +58272,7 @@ extension ListInferenceComponentsOutput { extension ListInferenceExperimentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceExperimentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceExperimentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57328,7 +58285,7 @@ extension ListInferenceExperimentsOutput { extension ListInferenceRecommendationsJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceRecommendationsJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceRecommendationsJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57341,7 +58298,7 @@ extension ListInferenceRecommendationsJobsOutput { extension ListInferenceRecommendationsJobStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInferenceRecommendationsJobStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInferenceRecommendationsJobStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57354,7 +58311,7 @@ extension ListInferenceRecommendationsJobStepsOutput { extension ListLabelingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLabelingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLabelingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57367,7 +58324,7 @@ extension ListLabelingJobsOutput { extension ListLabelingJobsForWorkteamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLabelingJobsForWorkteamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLabelingJobsForWorkteamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57380,7 +58337,7 @@ extension ListLabelingJobsForWorkteamOutput { extension ListLineageGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLineageGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLineageGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57393,7 +58350,7 @@ extension ListLineageGroupsOutput { extension ListMlflowTrackingServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMlflowTrackingServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMlflowTrackingServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57406,7 +58363,7 @@ extension ListMlflowTrackingServersOutput { extension ListModelBiasJobDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelBiasJobDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelBiasJobDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57419,7 +58376,7 @@ extension ListModelBiasJobDefinitionsOutput { extension ListModelCardExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelCardExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelCardExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57432,7 +58389,7 @@ extension ListModelCardExportJobsOutput { extension ListModelCardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelCardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelCardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57445,7 +58402,7 @@ extension ListModelCardsOutput { extension ListModelCardVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelCardVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelCardVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57458,7 +58415,7 @@ extension ListModelCardVersionsOutput { extension ListModelExplainabilityJobDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelExplainabilityJobDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelExplainabilityJobDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57471,7 +58428,7 @@ extension ListModelExplainabilityJobDefinitionsOutput { extension ListModelMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57484,7 +58441,7 @@ extension ListModelMetadataOutput { extension ListModelPackageGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelPackageGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelPackageGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57497,7 +58454,7 @@ extension ListModelPackageGroupsOutput { extension ListModelPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57510,7 +58467,7 @@ extension ListModelPackagesOutput { extension ListModelQualityJobDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelQualityJobDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelQualityJobDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57523,7 +58480,7 @@ extension ListModelQualityJobDefinitionsOutput { extension ListModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57536,7 +58493,7 @@ extension ListModelsOutput { extension ListMonitoringAlertHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitoringAlertHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitoringAlertHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57549,7 +58506,7 @@ extension ListMonitoringAlertHistoryOutput { extension ListMonitoringAlertsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitoringAlertsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitoringAlertsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57562,7 +58519,7 @@ extension ListMonitoringAlertsOutput { extension ListMonitoringExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitoringExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitoringExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57575,7 +58532,7 @@ extension ListMonitoringExecutionsOutput { extension ListMonitoringSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMonitoringSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMonitoringSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57588,7 +58545,7 @@ extension ListMonitoringSchedulesOutput { extension ListNotebookInstanceLifecycleConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotebookInstanceLifecycleConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotebookInstanceLifecycleConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57601,7 +58558,7 @@ extension ListNotebookInstanceLifecycleConfigsOutput { extension ListNotebookInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotebookInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotebookInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57612,9 +58569,22 @@ extension ListNotebookInstancesOutput { } } +extension ListOptimizationJobsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOptimizationJobsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListOptimizationJobsOutput() + value.nextToken = try reader["NextToken"].readIfPresent() + value.optimizationJobSummaries = try reader["OptimizationJobSummaries"].readListIfPresent(memberReadingClosure: SageMakerClientTypes.OptimizationJobSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListPipelineExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelineExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelineExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57627,7 +58597,7 @@ extension ListPipelineExecutionsOutput { extension ListPipelineExecutionStepsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelineExecutionStepsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelineExecutionStepsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57640,7 +58610,7 @@ extension ListPipelineExecutionStepsOutput { extension ListPipelineParametersForExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelineParametersForExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelineParametersForExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57653,7 +58623,7 @@ extension ListPipelineParametersForExecutionOutput { extension ListPipelinesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPipelinesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPipelinesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57666,7 +58636,7 @@ extension ListPipelinesOutput { extension ListProcessingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProcessingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProcessingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57679,7 +58649,7 @@ extension ListProcessingJobsOutput { extension ListProjectsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProjectsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProjectsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57692,7 +58662,7 @@ extension ListProjectsOutput { extension ListResourceCatalogsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceCatalogsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceCatalogsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57705,7 +58675,7 @@ extension ListResourceCatalogsOutput { extension ListSpacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSpacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSpacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57718,7 +58688,7 @@ extension ListSpacesOutput { extension ListStageDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStageDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStageDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57731,7 +58701,7 @@ extension ListStageDevicesOutput { extension ListStudioLifecycleConfigsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStudioLifecycleConfigsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStudioLifecycleConfigsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57744,7 +58714,7 @@ extension ListStudioLifecycleConfigsOutput { extension ListSubscribedWorkteamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscribedWorkteamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscribedWorkteamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57757,7 +58727,7 @@ extension ListSubscribedWorkteamsOutput { extension ListTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57770,7 +58740,7 @@ extension ListTagsOutput { extension ListTrainingJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrainingJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrainingJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57783,7 +58753,7 @@ extension ListTrainingJobsOutput { extension ListTrainingJobsForHyperParameterTuningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrainingJobsForHyperParameterTuningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrainingJobsForHyperParameterTuningJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57796,7 +58766,7 @@ extension ListTrainingJobsForHyperParameterTuningJobOutput { extension ListTransformJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTransformJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTransformJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57809,7 +58779,7 @@ extension ListTransformJobsOutput { extension ListTrialComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrialComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrialComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57822,7 +58792,7 @@ extension ListTrialComponentsOutput { extension ListTrialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57835,7 +58805,7 @@ extension ListTrialsOutput { extension ListUserProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57848,7 +58818,7 @@ extension ListUserProfilesOutput { extension ListWorkforcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkforcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkforcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57861,7 +58831,7 @@ extension ListWorkforcesOutput { extension ListWorkteamsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkteamsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkteamsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57874,7 +58844,7 @@ extension ListWorkteamsOutput { extension PutModelPackageGroupPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutModelPackageGroupPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutModelPackageGroupPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57886,7 +58856,7 @@ extension PutModelPackageGroupPolicyOutput { extension QueryLineageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryLineageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryLineageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57900,14 +58870,14 @@ extension QueryLineageOutput { extension RegisterDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDevicesOutput { return RegisterDevicesOutput() } } extension RenderUiTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RenderUiTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RenderUiTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57920,7 +58890,7 @@ extension RenderUiTemplateOutput { extension RetryPipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetryPipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetryPipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57932,7 +58902,7 @@ extension RetryPipelineExecutionOutput { extension SearchOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57945,7 +58915,7 @@ extension SearchOutput { extension SendPipelineExecutionStepFailureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendPipelineExecutionStepFailureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendPipelineExecutionStepFailureOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57957,7 +58927,7 @@ extension SendPipelineExecutionStepFailureOutput { extension SendPipelineExecutionStepSuccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendPipelineExecutionStepSuccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendPipelineExecutionStepSuccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57969,14 +58939,14 @@ extension SendPipelineExecutionStepSuccessOutput { extension StartEdgeDeploymentStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEdgeDeploymentStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEdgeDeploymentStageOutput { return StartEdgeDeploymentStageOutput() } } extension StartInferenceExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartInferenceExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInferenceExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -57988,7 +58958,7 @@ extension StartInferenceExperimentOutput { extension StartMlflowTrackingServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMlflowTrackingServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMlflowTrackingServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58000,21 +58970,21 @@ extension StartMlflowTrackingServerOutput { extension StartMonitoringScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMonitoringScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMonitoringScheduleOutput { return StartMonitoringScheduleOutput() } } extension StartNotebookInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartNotebookInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartNotebookInstanceOutput { return StartNotebookInstanceOutput() } } extension StartPipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartPipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartPipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58026,42 +58996,42 @@ extension StartPipelineExecutionOutput { extension StopAutoMLJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAutoMLJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAutoMLJobOutput { return StopAutoMLJobOutput() } } extension StopCompilationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCompilationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCompilationJobOutput { return StopCompilationJobOutput() } } extension StopEdgeDeploymentStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEdgeDeploymentStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEdgeDeploymentStageOutput { return StopEdgeDeploymentStageOutput() } } extension StopEdgePackagingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEdgePackagingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEdgePackagingJobOutput { return StopEdgePackagingJobOutput() } } extension StopHyperParameterTuningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopHyperParameterTuningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopHyperParameterTuningJobOutput { return StopHyperParameterTuningJobOutput() } } extension StopInferenceExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInferenceExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInferenceExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58073,21 +59043,21 @@ extension StopInferenceExperimentOutput { extension StopInferenceRecommendationsJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopInferenceRecommendationsJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopInferenceRecommendationsJobOutput { return StopInferenceRecommendationsJobOutput() } } extension StopLabelingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopLabelingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopLabelingJobOutput { return StopLabelingJobOutput() } } extension StopMlflowTrackingServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMlflowTrackingServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMlflowTrackingServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58099,21 +59069,28 @@ extension StopMlflowTrackingServerOutput { extension StopMonitoringScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopMonitoringScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopMonitoringScheduleOutput { return StopMonitoringScheduleOutput() } } extension StopNotebookInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopNotebookInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopNotebookInstanceOutput { return StopNotebookInstanceOutput() } } +extension StopOptimizationJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopOptimizationJobOutput { + return StopOptimizationJobOutput() + } +} + extension StopPipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopPipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopPipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58125,28 +59102,28 @@ extension StopPipelineExecutionOutput { extension StopProcessingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopProcessingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopProcessingJobOutput { return StopProcessingJobOutput() } } extension StopTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTrainingJobOutput { return StopTrainingJobOutput() } } extension StopTransformJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTransformJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTransformJobOutput { return StopTransformJobOutput() } } extension UpdateActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58158,7 +59135,7 @@ extension UpdateActionOutput { extension UpdateAppImageConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAppImageConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAppImageConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58170,7 +59147,7 @@ extension UpdateAppImageConfigOutput { extension UpdateArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58182,7 +59159,7 @@ extension UpdateArtifactOutput { extension UpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58194,7 +59171,7 @@ extension UpdateClusterOutput { extension UpdateClusterSoftwareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterSoftwareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterSoftwareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58206,7 +59183,7 @@ extension UpdateClusterSoftwareOutput { extension UpdateCodeRepositoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCodeRepositoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCodeRepositoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58218,7 +59195,7 @@ extension UpdateCodeRepositoryOutput { extension UpdateContextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58230,21 +59207,21 @@ extension UpdateContextOutput { extension UpdateDeviceFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceFleetOutput { return UpdateDeviceFleetOutput() } } extension UpdateDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDevicesOutput { return UpdateDevicesOutput() } } extension UpdateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58256,7 +59233,7 @@ extension UpdateDomainOutput { extension UpdateEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58268,7 +59245,7 @@ extension UpdateEndpointOutput { extension UpdateEndpointWeightsAndCapacitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEndpointWeightsAndCapacitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEndpointWeightsAndCapacitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58280,7 +59257,7 @@ extension UpdateEndpointWeightsAndCapacitiesOutput { extension UpdateExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58292,7 +59269,7 @@ extension UpdateExperimentOutput { extension UpdateFeatureGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFeatureGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFeatureGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58304,14 +59281,14 @@ extension UpdateFeatureGroupOutput { extension UpdateFeatureMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFeatureMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFeatureMetadataOutput { return UpdateFeatureMetadataOutput() } } extension UpdateHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHubOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58323,7 +59300,7 @@ extension UpdateHubOutput { extension UpdateImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58335,7 +59312,7 @@ extension UpdateImageOutput { extension UpdateImageVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImageVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImageVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58347,7 +59324,7 @@ extension UpdateImageVersionOutput { extension UpdateInferenceComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInferenceComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInferenceComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58359,7 +59336,7 @@ extension UpdateInferenceComponentOutput { extension UpdateInferenceComponentRuntimeConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInferenceComponentRuntimeConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInferenceComponentRuntimeConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58371,7 +59348,7 @@ extension UpdateInferenceComponentRuntimeConfigOutput { extension UpdateInferenceExperimentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInferenceExperimentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInferenceExperimentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58383,7 +59360,7 @@ extension UpdateInferenceExperimentOutput { extension UpdateMlflowTrackingServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMlflowTrackingServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMlflowTrackingServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58395,7 +59372,7 @@ extension UpdateMlflowTrackingServerOutput { extension UpdateModelCardOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelCardOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelCardOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58407,7 +59384,7 @@ extension UpdateModelCardOutput { extension UpdateModelPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateModelPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateModelPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58419,7 +59396,7 @@ extension UpdateModelPackageOutput { extension UpdateMonitoringAlertOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMonitoringAlertOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMonitoringAlertOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58432,7 +59409,7 @@ extension UpdateMonitoringAlertOutput { extension UpdateMonitoringScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMonitoringScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMonitoringScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58444,21 +59421,21 @@ extension UpdateMonitoringScheduleOutput { extension UpdateNotebookInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotebookInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotebookInstanceOutput { return UpdateNotebookInstanceOutput() } } extension UpdateNotebookInstanceLifecycleConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNotebookInstanceLifecycleConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNotebookInstanceLifecycleConfigOutput { return UpdateNotebookInstanceLifecycleConfigOutput() } } extension UpdatePipelineOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58470,7 +59447,7 @@ extension UpdatePipelineOutput { extension UpdatePipelineExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePipelineExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePipelineExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58482,7 +59459,7 @@ extension UpdatePipelineExecutionOutput { extension UpdateProjectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProjectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProjectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58494,7 +59471,7 @@ extension UpdateProjectOutput { extension UpdateSpaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSpaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSpaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58506,7 +59483,7 @@ extension UpdateSpaceOutput { extension UpdateTrainingJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrainingJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrainingJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58518,7 +59495,7 @@ extension UpdateTrainingJobOutput { extension UpdateTrialOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrialOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrialOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58530,7 +59507,7 @@ extension UpdateTrialOutput { extension UpdateTrialComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrialComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrialComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58542,7 +59519,7 @@ extension UpdateTrialComponentOutput { extension UpdateUserProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58554,7 +59531,7 @@ extension UpdateUserProfileOutput { extension UpdateWorkforceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkforceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkforceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58566,7 +59543,7 @@ extension UpdateWorkforceOutput { extension UpdateWorkteamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkteamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkteamOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -58578,7 +59555,7 @@ extension UpdateWorkteamOutput { enum AddAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58593,7 +59570,7 @@ enum AddAssociationOutputError { enum AddTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58606,7 +59583,7 @@ enum AddTagsOutputError { enum AssociateTrialComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58621,7 +59598,7 @@ enum AssociateTrialComponentOutputError { enum BatchDescribeModelPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58634,7 +59611,7 @@ enum BatchDescribeModelPackageOutputError { enum CreateActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58648,7 +59625,7 @@ enum CreateActionOutputError { enum CreateAlgorithmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58661,7 +59638,7 @@ enum CreateAlgorithmOutputError { enum CreateAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58676,7 +59653,7 @@ enum CreateAppOutputError { enum CreateAppImageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58690,7 +59667,7 @@ enum CreateAppImageConfigOutputError { enum CreateArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58704,7 +59681,7 @@ enum CreateArtifactOutputError { enum CreateAutoMLJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58719,7 +59696,7 @@ enum CreateAutoMLJobOutputError { enum CreateAutoMLJobV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58734,7 +59711,7 @@ enum CreateAutoMLJobV2OutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58749,7 +59726,7 @@ enum CreateClusterOutputError { enum CreateCodeRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58762,7 +59739,7 @@ enum CreateCodeRepositoryOutputError { enum CreateCompilationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58777,7 +59754,7 @@ enum CreateCompilationJobOutputError { enum CreateContextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58791,7 +59768,7 @@ enum CreateContextOutputError { enum CreateDataQualityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58806,7 +59783,7 @@ enum CreateDataQualityJobDefinitionOutputError { enum CreateDeviceFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58821,7 +59798,7 @@ enum CreateDeviceFleetOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58836,7 +59813,7 @@ enum CreateDomainOutputError { enum CreateEdgeDeploymentPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58850,7 +59827,7 @@ enum CreateEdgeDeploymentPlanOutputError { enum CreateEdgeDeploymentStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58864,7 +59841,7 @@ enum CreateEdgeDeploymentStageOutputError { enum CreateEdgePackagingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58878,7 +59855,7 @@ enum CreateEdgePackagingJobOutputError { enum CreateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58892,7 +59869,7 @@ enum CreateEndpointOutputError { enum CreateEndpointConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58906,7 +59883,7 @@ enum CreateEndpointConfigOutputError { enum CreateExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58920,7 +59897,7 @@ enum CreateExperimentOutputError { enum CreateFeatureGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58935,7 +59912,7 @@ enum CreateFeatureGroupOutputError { enum CreateFlowDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58950,7 +59927,7 @@ enum CreateFlowDefinitionOutputError { enum CreateHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58965,7 +59942,7 @@ enum CreateHubOutputError { enum CreateHubContentReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58981,7 +59958,7 @@ enum CreateHubContentReferenceOutputError { enum CreateHumanTaskUiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -58996,7 +59973,7 @@ enum CreateHumanTaskUiOutputError { enum CreateHyperParameterTuningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59011,7 +59988,7 @@ enum CreateHyperParameterTuningJobOutputError { enum CreateImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59026,7 +60003,7 @@ enum CreateImageOutputError { enum CreateImageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59042,7 +60019,7 @@ enum CreateImageVersionOutputError { enum CreateInferenceComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59056,7 +60033,7 @@ enum CreateInferenceComponentOutputError { enum CreateInferenceExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59071,7 +60048,7 @@ enum CreateInferenceExperimentOutputError { enum CreateInferenceRecommendationsJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59086,7 +60063,7 @@ enum CreateInferenceRecommendationsJobOutputError { enum CreateLabelingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59101,7 +60078,7 @@ enum CreateLabelingJobOutputError { enum CreateMlflowTrackingServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59115,7 +60092,7 @@ enum CreateMlflowTrackingServerOutputError { enum CreateModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59129,7 +60106,7 @@ enum CreateModelOutputError { enum CreateModelBiasJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59144,7 +60121,7 @@ enum CreateModelBiasJobDefinitionOutputError { enum CreateModelCardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59159,7 +60136,7 @@ enum CreateModelCardOutputError { enum CreateModelCardExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59175,7 +60152,7 @@ enum CreateModelCardExportJobOutputError { enum CreateModelExplainabilityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59190,7 +60167,7 @@ enum CreateModelExplainabilityJobDefinitionOutputError { enum CreateModelPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59205,7 +60182,7 @@ enum CreateModelPackageOutputError { enum CreateModelPackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59219,7 +60196,7 @@ enum CreateModelPackageGroupOutputError { enum CreateModelQualityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59234,7 +60211,7 @@ enum CreateModelQualityJobDefinitionOutputError { enum CreateMonitoringScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59249,7 +60226,7 @@ enum CreateMonitoringScheduleOutputError { enum CreateNotebookInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59263,7 +60240,7 @@ enum CreateNotebookInstanceOutputError { enum CreateNotebookInstanceLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59275,9 +60252,24 @@ enum CreateNotebookInstanceLifecycleConfigOutputError { } } +enum CreateOptimizationJobOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "ResourceInUse": return try ResourceInUse.makeError(baseError: baseError) + case "ResourceLimitExceeded": return try ResourceLimitExceeded.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum CreatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59293,7 +60285,7 @@ enum CreatePipelineOutputError { enum CreatePresignedDomainUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59307,7 +60299,7 @@ enum CreatePresignedDomainUrlOutputError { enum CreatePresignedMlflowTrackingServerUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59321,7 +60313,7 @@ enum CreatePresignedMlflowTrackingServerUrlOutputError { enum CreatePresignedNotebookInstanceUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59334,7 +60326,7 @@ enum CreatePresignedNotebookInstanceUrlOutputError { enum CreateProcessingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59350,7 +60342,7 @@ enum CreateProcessingJobOutputError { enum CreateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59364,7 +60356,7 @@ enum CreateProjectOutputError { enum CreateSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59379,7 +60371,7 @@ enum CreateSpaceOutputError { enum CreateStudioLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59393,7 +60385,7 @@ enum CreateStudioLifecycleConfigOutputError { enum CreateTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59409,7 +60401,7 @@ enum CreateTrainingJobOutputError { enum CreateTransformJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59425,7 +60417,7 @@ enum CreateTransformJobOutputError { enum CreateTrialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59440,7 +60432,7 @@ enum CreateTrialOutputError { enum CreateTrialComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59454,7 +60446,7 @@ enum CreateTrialComponentOutputError { enum CreateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59469,7 +60461,7 @@ enum CreateUserProfileOutputError { enum CreateWorkforceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59482,7 +60474,7 @@ enum CreateWorkforceOutputError { enum CreateWorkteamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59497,7 +60489,7 @@ enum CreateWorkteamOutputError { enum DeleteActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59511,7 +60503,7 @@ enum DeleteActionOutputError { enum DeleteAlgorithmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59525,7 +60517,7 @@ enum DeleteAlgorithmOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59540,7 +60532,7 @@ enum DeleteAppOutputError { enum DeleteAppImageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59554,7 +60546,7 @@ enum DeleteAppImageConfigOutputError { enum DeleteArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59568,7 +60560,7 @@ enum DeleteArtifactOutputError { enum DeleteAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59582,7 +60574,7 @@ enum DeleteAssociationOutputError { enum DeleteClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59597,7 +60589,7 @@ enum DeleteClusterOutputError { enum DeleteCodeRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59610,7 +60602,7 @@ enum DeleteCodeRepositoryOutputError { enum DeleteCompilationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59624,7 +60616,7 @@ enum DeleteCompilationJobOutputError { enum DeleteContextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59638,7 +60630,7 @@ enum DeleteContextOutputError { enum DeleteDataQualityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59652,7 +60644,7 @@ enum DeleteDataQualityJobDefinitionOutputError { enum DeleteDeviceFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59666,7 +60658,7 @@ enum DeleteDeviceFleetOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59681,7 +60673,7 @@ enum DeleteDomainOutputError { enum DeleteEdgeDeploymentPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59695,7 +60687,7 @@ enum DeleteEdgeDeploymentPlanOutputError { enum DeleteEdgeDeploymentStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59709,7 +60701,7 @@ enum DeleteEdgeDeploymentStageOutputError { enum DeleteEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59722,7 +60714,7 @@ enum DeleteEndpointOutputError { enum DeleteEndpointConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59735,7 +60727,7 @@ enum DeleteEndpointConfigOutputError { enum DeleteExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59749,7 +60741,7 @@ enum DeleteExperimentOutputError { enum DeleteFeatureGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59763,7 +60755,7 @@ enum DeleteFeatureGroupOutputError { enum DeleteFlowDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59778,7 +60770,7 @@ enum DeleteFlowDefinitionOutputError { enum DeleteHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59793,7 +60785,7 @@ enum DeleteHubOutputError { enum DeleteHubContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59808,7 +60800,7 @@ enum DeleteHubContentOutputError { enum DeleteHubContentReferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59822,7 +60814,7 @@ enum DeleteHubContentReferenceOutputError { enum DeleteHumanTaskUiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59836,7 +60828,7 @@ enum DeleteHumanTaskUiOutputError { enum DeleteHyperParameterTuningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59849,7 +60841,7 @@ enum DeleteHyperParameterTuningJobOutputError { enum DeleteImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59864,7 +60856,7 @@ enum DeleteImageOutputError { enum DeleteImageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59879,7 +60871,7 @@ enum DeleteImageVersionOutputError { enum DeleteInferenceComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59892,7 +60884,7 @@ enum DeleteInferenceComponentOutputError { enum DeleteInferenceExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59907,7 +60899,7 @@ enum DeleteInferenceExperimentOutputError { enum DeleteMlflowTrackingServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59921,7 +60913,7 @@ enum DeleteMlflowTrackingServerOutputError { enum DeleteModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59934,7 +60926,7 @@ enum DeleteModelOutputError { enum DeleteModelBiasJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59948,7 +60940,7 @@ enum DeleteModelBiasJobDefinitionOutputError { enum DeleteModelCardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59963,7 +60955,7 @@ enum DeleteModelCardOutputError { enum DeleteModelExplainabilityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59977,7 +60969,7 @@ enum DeleteModelExplainabilityJobDefinitionOutputError { enum DeleteModelPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -59991,7 +60983,7 @@ enum DeleteModelPackageOutputError { enum DeleteModelPackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60005,7 +60997,7 @@ enum DeleteModelPackageGroupOutputError { enum DeleteModelPackageGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60018,7 +61010,7 @@ enum DeleteModelPackageGroupPolicyOutputError { enum DeleteModelQualityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60032,7 +61024,7 @@ enum DeleteModelQualityJobDefinitionOutputError { enum DeleteMonitoringScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60046,7 +61038,7 @@ enum DeleteMonitoringScheduleOutputError { enum DeleteNotebookInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60059,7 +61051,7 @@ enum DeleteNotebookInstanceOutputError { enum DeleteNotebookInstanceLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60070,9 +61062,23 @@ enum DeleteNotebookInstanceLifecycleConfigOutputError { } } +enum DeleteOptimizationJobOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "ResourceNotFound": return try ResourceNotFound.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeletePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60087,7 +61093,7 @@ enum DeletePipelineOutputError { enum DeleteProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60101,7 +61107,7 @@ enum DeleteProjectOutputError { enum DeleteSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60116,7 +61122,7 @@ enum DeleteSpaceOutputError { enum DeleteStudioLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60131,7 +61137,7 @@ enum DeleteStudioLifecycleConfigOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60144,7 +61150,7 @@ enum DeleteTagsOutputError { enum DeleteTrialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60158,7 +61164,7 @@ enum DeleteTrialOutputError { enum DeleteTrialComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60172,7 +61178,7 @@ enum DeleteTrialComponentOutputError { enum DeleteUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60187,7 +61193,7 @@ enum DeleteUserProfileOutputError { enum DeleteWorkforceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60200,7 +61206,7 @@ enum DeleteWorkforceOutputError { enum DeleteWorkteamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60214,7 +61220,7 @@ enum DeleteWorkteamOutputError { enum DeregisterDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60227,7 +61233,7 @@ enum DeregisterDevicesOutputError { enum DescribeActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60241,7 +61247,7 @@ enum DescribeActionOutputError { enum DescribeAlgorithmOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60254,7 +61260,7 @@ enum DescribeAlgorithmOutputError { enum DescribeAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60268,7 +61274,7 @@ enum DescribeAppOutputError { enum DescribeAppImageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60282,7 +61288,7 @@ enum DescribeAppImageConfigOutputError { enum DescribeArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60296,7 +61302,7 @@ enum DescribeArtifactOutputError { enum DescribeAutoMLJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60310,7 +61316,7 @@ enum DescribeAutoMLJobOutputError { enum DescribeAutoMLJobV2OutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60324,7 +61330,7 @@ enum DescribeAutoMLJobV2OutputError { enum DescribeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60338,7 +61344,7 @@ enum DescribeClusterOutputError { enum DescribeClusterNodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60352,7 +61358,7 @@ enum DescribeClusterNodeOutputError { enum DescribeCodeRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60365,7 +61371,7 @@ enum DescribeCodeRepositoryOutputError { enum DescribeCompilationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60379,7 +61385,7 @@ enum DescribeCompilationJobOutputError { enum DescribeContextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60393,7 +61399,7 @@ enum DescribeContextOutputError { enum DescribeDataQualityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60407,7 +61413,7 @@ enum DescribeDataQualityJobDefinitionOutputError { enum DescribeDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60421,7 +61427,7 @@ enum DescribeDeviceOutputError { enum DescribeDeviceFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60435,7 +61441,7 @@ enum DescribeDeviceFleetOutputError { enum DescribeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60449,7 +61455,7 @@ enum DescribeDomainOutputError { enum DescribeEdgeDeploymentPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60463,7 +61469,7 @@ enum DescribeEdgeDeploymentPlanOutputError { enum DescribeEdgePackagingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60477,7 +61483,7 @@ enum DescribeEdgePackagingJobOutputError { enum DescribeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60490,7 +61496,7 @@ enum DescribeEndpointOutputError { enum DescribeEndpointConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60503,7 +61509,7 @@ enum DescribeEndpointConfigOutputError { enum DescribeExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60517,7 +61523,7 @@ enum DescribeExperimentOutputError { enum DescribeFeatureGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60531,7 +61537,7 @@ enum DescribeFeatureGroupOutputError { enum DescribeFeatureMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60545,7 +61551,7 @@ enum DescribeFeatureMetadataOutputError { enum DescribeFlowDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60559,7 +61565,7 @@ enum DescribeFlowDefinitionOutputError { enum DescribeHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60573,7 +61579,7 @@ enum DescribeHubOutputError { enum DescribeHubContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60587,7 +61593,7 @@ enum DescribeHubContentOutputError { enum DescribeHumanTaskUiOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60601,7 +61607,7 @@ enum DescribeHumanTaskUiOutputError { enum DescribeHyperParameterTuningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60615,7 +61621,7 @@ enum DescribeHyperParameterTuningJobOutputError { enum DescribeImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60629,7 +61635,7 @@ enum DescribeImageOutputError { enum DescribeImageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60643,7 +61649,7 @@ enum DescribeImageVersionOutputError { enum DescribeInferenceComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60656,7 +61662,7 @@ enum DescribeInferenceComponentOutputError { enum DescribeInferenceExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60670,7 +61676,7 @@ enum DescribeInferenceExperimentOutputError { enum DescribeInferenceRecommendationsJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60684,7 +61690,7 @@ enum DescribeInferenceRecommendationsJobOutputError { enum DescribeLabelingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60698,7 +61704,7 @@ enum DescribeLabelingJobOutputError { enum DescribeLineageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60712,7 +61718,7 @@ enum DescribeLineageGroupOutputError { enum DescribeMlflowTrackingServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60726,7 +61732,7 @@ enum DescribeMlflowTrackingServerOutputError { enum DescribeModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60739,7 +61745,7 @@ enum DescribeModelOutputError { enum DescribeModelBiasJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60753,7 +61759,7 @@ enum DescribeModelBiasJobDefinitionOutputError { enum DescribeModelCardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60767,7 +61773,7 @@ enum DescribeModelCardOutputError { enum DescribeModelCardExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60781,7 +61787,7 @@ enum DescribeModelCardExportJobOutputError { enum DescribeModelExplainabilityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60795,7 +61801,7 @@ enum DescribeModelExplainabilityJobDefinitionOutputError { enum DescribeModelPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60808,7 +61814,7 @@ enum DescribeModelPackageOutputError { enum DescribeModelPackageGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60821,7 +61827,7 @@ enum DescribeModelPackageGroupOutputError { enum DescribeModelQualityJobDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60835,7 +61841,7 @@ enum DescribeModelQualityJobDefinitionOutputError { enum DescribeMonitoringScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60849,7 +61855,7 @@ enum DescribeMonitoringScheduleOutputError { enum DescribeNotebookInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60862,7 +61868,7 @@ enum DescribeNotebookInstanceOutputError { enum DescribeNotebookInstanceLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60873,9 +61879,23 @@ enum DescribeNotebookInstanceLifecycleConfigOutputError { } } +enum DescribeOptimizationJobOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "ResourceNotFound": return try ResourceNotFound.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DescribePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60889,7 +61909,7 @@ enum DescribePipelineOutputError { enum DescribePipelineDefinitionForExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60903,7 +61923,7 @@ enum DescribePipelineDefinitionForExecutionOutputError { enum DescribePipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60917,7 +61937,7 @@ enum DescribePipelineExecutionOutputError { enum DescribeProcessingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60931,7 +61951,7 @@ enum DescribeProcessingJobOutputError { enum DescribeProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60944,7 +61964,7 @@ enum DescribeProjectOutputError { enum DescribeSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60958,7 +61978,7 @@ enum DescribeSpaceOutputError { enum DescribeStudioLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60972,7 +61992,7 @@ enum DescribeStudioLifecycleConfigOutputError { enum DescribeSubscribedWorkteamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60985,7 +62005,7 @@ enum DescribeSubscribedWorkteamOutputError { enum DescribeTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -60999,7 +62019,7 @@ enum DescribeTrainingJobOutputError { enum DescribeTransformJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61013,7 +62033,7 @@ enum DescribeTransformJobOutputError { enum DescribeTrialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61027,7 +62047,7 @@ enum DescribeTrialOutputError { enum DescribeTrialComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61041,7 +62061,7 @@ enum DescribeTrialComponentOutputError { enum DescribeUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61056,7 +62076,7 @@ enum DescribeUserProfileOutputError { enum DescribeWorkforceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61069,7 +62089,7 @@ enum DescribeWorkforceOutputError { enum DescribeWorkteamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61082,7 +62102,7 @@ enum DescribeWorkteamOutputError { enum DisableSagemakerServicecatalogPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61095,7 +62115,7 @@ enum DisableSagemakerServicecatalogPortfolioOutputError { enum DisassociateTrialComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61109,7 +62129,7 @@ enum DisassociateTrialComponentOutputError { enum EnableSagemakerServicecatalogPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61122,7 +62142,7 @@ enum EnableSagemakerServicecatalogPortfolioOutputError { enum GetDeviceFleetReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61135,7 +62155,7 @@ enum GetDeviceFleetReportOutputError { enum GetLineageGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61149,7 +62169,7 @@ enum GetLineageGroupPolicyOutputError { enum GetModelPackageGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61162,7 +62182,7 @@ enum GetModelPackageGroupPolicyOutputError { enum GetSagemakerServicecatalogPortfolioStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61175,7 +62195,7 @@ enum GetSagemakerServicecatalogPortfolioStatusOutputError { enum GetScalingConfigurationRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61189,7 +62209,7 @@ enum GetScalingConfigurationRecommendationOutputError { enum GetSearchSuggestionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61202,7 +62222,7 @@ enum GetSearchSuggestionsOutputError { enum ImportHubContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61218,7 +62238,7 @@ enum ImportHubContentOutputError { enum ListActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61232,7 +62252,7 @@ enum ListActionsOutputError { enum ListAlgorithmsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61245,7 +62265,7 @@ enum ListAlgorithmsOutputError { enum ListAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61259,7 +62279,7 @@ enum ListAliasesOutputError { enum ListAppImageConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61272,7 +62292,7 @@ enum ListAppImageConfigsOutputError { enum ListAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61285,7 +62305,7 @@ enum ListAppsOutputError { enum ListArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61299,7 +62319,7 @@ enum ListArtifactsOutputError { enum ListAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61313,7 +62333,7 @@ enum ListAssociationsOutputError { enum ListAutoMLJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61326,7 +62346,7 @@ enum ListAutoMLJobsOutputError { enum ListCandidatesForAutoMLJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61340,7 +62360,7 @@ enum ListCandidatesForAutoMLJobOutputError { enum ListClusterNodesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61354,7 +62374,7 @@ enum ListClusterNodesOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61367,7 +62387,7 @@ enum ListClustersOutputError { enum ListCodeRepositoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61380,7 +62400,7 @@ enum ListCodeRepositoriesOutputError { enum ListCompilationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61393,7 +62413,7 @@ enum ListCompilationJobsOutputError { enum ListContextsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61407,7 +62427,7 @@ enum ListContextsOutputError { enum ListDataQualityJobDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61420,7 +62440,7 @@ enum ListDataQualityJobDefinitionsOutputError { enum ListDeviceFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61433,7 +62453,7 @@ enum ListDeviceFleetsOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61446,7 +62466,7 @@ enum ListDevicesOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61459,7 +62479,7 @@ enum ListDomainsOutputError { enum ListEdgeDeploymentPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61472,7 +62492,7 @@ enum ListEdgeDeploymentPlansOutputError { enum ListEdgePackagingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61485,7 +62505,7 @@ enum ListEdgePackagingJobsOutputError { enum ListEndpointConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61498,7 +62518,7 @@ enum ListEndpointConfigsOutputError { enum ListEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61511,7 +62531,7 @@ enum ListEndpointsOutputError { enum ListExperimentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61524,7 +62544,7 @@ enum ListExperimentsOutputError { enum ListFeatureGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61537,7 +62557,7 @@ enum ListFeatureGroupsOutputError { enum ListFlowDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61550,7 +62570,7 @@ enum ListFlowDefinitionsOutputError { enum ListHubContentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61564,7 +62584,7 @@ enum ListHubContentsOutputError { enum ListHubContentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61578,7 +62598,7 @@ enum ListHubContentVersionsOutputError { enum ListHubsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61591,7 +62611,7 @@ enum ListHubsOutputError { enum ListHumanTaskUisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61604,7 +62624,7 @@ enum ListHumanTaskUisOutputError { enum ListHyperParameterTuningJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61617,7 +62637,7 @@ enum ListHyperParameterTuningJobsOutputError { enum ListImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61630,7 +62650,7 @@ enum ListImagesOutputError { enum ListImageVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61644,7 +62664,7 @@ enum ListImageVersionsOutputError { enum ListInferenceComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61657,7 +62677,7 @@ enum ListInferenceComponentsOutputError { enum ListInferenceExperimentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61670,7 +62690,7 @@ enum ListInferenceExperimentsOutputError { enum ListInferenceRecommendationsJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61683,7 +62703,7 @@ enum ListInferenceRecommendationsJobsOutputError { enum ListInferenceRecommendationsJobStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61697,7 +62717,7 @@ enum ListInferenceRecommendationsJobStepsOutputError { enum ListLabelingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61710,7 +62730,7 @@ enum ListLabelingJobsOutputError { enum ListLabelingJobsForWorkteamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61724,7 +62744,7 @@ enum ListLabelingJobsForWorkteamOutputError { enum ListLineageGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61737,7 +62757,7 @@ enum ListLineageGroupsOutputError { enum ListMlflowTrackingServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61750,7 +62770,7 @@ enum ListMlflowTrackingServersOutputError { enum ListModelBiasJobDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61763,7 +62783,7 @@ enum ListModelBiasJobDefinitionsOutputError { enum ListModelCardExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61776,7 +62796,7 @@ enum ListModelCardExportJobsOutputError { enum ListModelCardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61789,7 +62809,7 @@ enum ListModelCardsOutputError { enum ListModelCardVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61803,7 +62823,7 @@ enum ListModelCardVersionsOutputError { enum ListModelExplainabilityJobDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61816,7 +62836,7 @@ enum ListModelExplainabilityJobDefinitionsOutputError { enum ListModelMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61829,7 +62849,7 @@ enum ListModelMetadataOutputError { enum ListModelPackageGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61842,7 +62862,7 @@ enum ListModelPackageGroupsOutputError { enum ListModelPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61855,7 +62875,7 @@ enum ListModelPackagesOutputError { enum ListModelQualityJobDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61868,7 +62888,7 @@ enum ListModelQualityJobDefinitionsOutputError { enum ListModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61881,7 +62901,7 @@ enum ListModelsOutputError { enum ListMonitoringAlertHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61895,7 +62915,7 @@ enum ListMonitoringAlertHistoryOutputError { enum ListMonitoringAlertsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61909,7 +62929,7 @@ enum ListMonitoringAlertsOutputError { enum ListMonitoringExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61922,7 +62942,7 @@ enum ListMonitoringExecutionsOutputError { enum ListMonitoringSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61935,7 +62955,7 @@ enum ListMonitoringSchedulesOutputError { enum ListNotebookInstanceLifecycleConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61948,7 +62968,20 @@ enum ListNotebookInstanceLifecycleConfigsOutputError { enum ListNotebookInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListOptimizationJobsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61961,7 +62994,7 @@ enum ListNotebookInstancesOutputError { enum ListPipelineExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61975,7 +63008,7 @@ enum ListPipelineExecutionsOutputError { enum ListPipelineExecutionStepsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -61989,7 +63022,7 @@ enum ListPipelineExecutionStepsOutputError { enum ListPipelineParametersForExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62003,7 +63036,7 @@ enum ListPipelineParametersForExecutionOutputError { enum ListPipelinesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62016,7 +63049,7 @@ enum ListPipelinesOutputError { enum ListProcessingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62029,7 +63062,7 @@ enum ListProcessingJobsOutputError { enum ListProjectsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62042,7 +63075,7 @@ enum ListProjectsOutputError { enum ListResourceCatalogsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62055,7 +63088,7 @@ enum ListResourceCatalogsOutputError { enum ListSpacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62068,7 +63101,7 @@ enum ListSpacesOutputError { enum ListStageDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62081,7 +63114,7 @@ enum ListStageDevicesOutputError { enum ListStudioLifecycleConfigsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62095,7 +63128,7 @@ enum ListStudioLifecycleConfigsOutputError { enum ListSubscribedWorkteamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62108,7 +63141,7 @@ enum ListSubscribedWorkteamsOutputError { enum ListTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62121,7 +63154,7 @@ enum ListTagsOutputError { enum ListTrainingJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62134,7 +63167,7 @@ enum ListTrainingJobsOutputError { enum ListTrainingJobsForHyperParameterTuningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62148,7 +63181,7 @@ enum ListTrainingJobsForHyperParameterTuningJobOutputError { enum ListTransformJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62161,7 +63194,7 @@ enum ListTransformJobsOutputError { enum ListTrialComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62175,7 +63208,7 @@ enum ListTrialComponentsOutputError { enum ListTrialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62189,7 +63222,7 @@ enum ListTrialsOutputError { enum ListUserProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62202,7 +63235,7 @@ enum ListUserProfilesOutputError { enum ListWorkforcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62215,7 +63248,7 @@ enum ListWorkforcesOutputError { enum ListWorkteamsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62228,7 +63261,7 @@ enum ListWorkteamsOutputError { enum PutModelPackageGroupPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62242,7 +63275,7 @@ enum PutModelPackageGroupPolicyOutputError { enum QueryLineageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62256,7 +63289,7 @@ enum QueryLineageOutputError { enum RegisterDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62270,7 +63303,7 @@ enum RegisterDevicesOutputError { enum RenderUiTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62284,7 +63317,7 @@ enum RenderUiTemplateOutputError { enum RetryPipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62300,7 +63333,7 @@ enum RetryPipelineExecutionOutputError { enum SearchOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62313,7 +63346,7 @@ enum SearchOutputError { enum SendPipelineExecutionStepFailureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62329,7 +63362,7 @@ enum SendPipelineExecutionStepFailureOutputError { enum SendPipelineExecutionStepSuccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62345,7 +63378,7 @@ enum SendPipelineExecutionStepSuccessOutputError { enum StartEdgeDeploymentStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62358,7 +63391,7 @@ enum StartEdgeDeploymentStageOutputError { enum StartInferenceExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62373,7 +63406,7 @@ enum StartInferenceExperimentOutputError { enum StartMlflowTrackingServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62388,7 +63421,7 @@ enum StartMlflowTrackingServerOutputError { enum StartMonitoringScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62402,7 +63435,7 @@ enum StartMonitoringScheduleOutputError { enum StartNotebookInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62416,7 +63449,7 @@ enum StartNotebookInstanceOutputError { enum StartPipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62432,7 +63465,7 @@ enum StartPipelineExecutionOutputError { enum StopAutoMLJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62446,7 +63479,7 @@ enum StopAutoMLJobOutputError { enum StopCompilationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62460,7 +63493,7 @@ enum StopCompilationJobOutputError { enum StopEdgeDeploymentStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62473,7 +63506,7 @@ enum StopEdgeDeploymentStageOutputError { enum StopEdgePackagingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62486,7 +63519,7 @@ enum StopEdgePackagingJobOutputError { enum StopHyperParameterTuningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62500,7 +63533,7 @@ enum StopHyperParameterTuningJobOutputError { enum StopInferenceExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62515,7 +63548,7 @@ enum StopInferenceExperimentOutputError { enum StopInferenceRecommendationsJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62529,7 +63562,7 @@ enum StopInferenceRecommendationsJobOutputError { enum StopLabelingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62543,7 +63576,7 @@ enum StopLabelingJobOutputError { enum StopMlflowTrackingServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62558,7 +63591,7 @@ enum StopMlflowTrackingServerOutputError { enum StopMonitoringScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62572,12 +63605,26 @@ enum StopMonitoringScheduleOutputError { enum StopNotebookInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StopOptimizationJobOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "ResourceNotFound": return try ResourceNotFound.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -62585,7 +63632,7 @@ enum StopNotebookInstanceOutputError { enum StopPipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62600,7 +63647,7 @@ enum StopPipelineExecutionOutputError { enum StopProcessingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62614,7 +63661,7 @@ enum StopProcessingJobOutputError { enum StopTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62628,7 +63675,7 @@ enum StopTrainingJobOutputError { enum StopTransformJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62642,7 +63689,7 @@ enum StopTransformJobOutputError { enum UpdateActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62657,7 +63704,7 @@ enum UpdateActionOutputError { enum UpdateAppImageConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62671,7 +63718,7 @@ enum UpdateAppImageConfigOutputError { enum UpdateArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62686,7 +63733,7 @@ enum UpdateArtifactOutputError { enum UpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62702,7 +63749,7 @@ enum UpdateClusterOutputError { enum UpdateClusterSoftwareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62717,7 +63764,7 @@ enum UpdateClusterSoftwareOutputError { enum UpdateCodeRepositoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62731,7 +63778,7 @@ enum UpdateCodeRepositoryOutputError { enum UpdateContextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62746,7 +63793,7 @@ enum UpdateContextOutputError { enum UpdateDeviceFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62760,7 +63807,7 @@ enum UpdateDeviceFleetOutputError { enum UpdateDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62773,7 +63820,7 @@ enum UpdateDevicesOutputError { enum UpdateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62789,7 +63836,7 @@ enum UpdateDomainOutputError { enum UpdateEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62803,7 +63850,7 @@ enum UpdateEndpointOutputError { enum UpdateEndpointWeightsAndCapacitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62817,7 +63864,7 @@ enum UpdateEndpointWeightsAndCapacitiesOutputError { enum UpdateExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62832,7 +63879,7 @@ enum UpdateExperimentOutputError { enum UpdateFeatureGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62847,7 +63894,7 @@ enum UpdateFeatureGroupOutputError { enum UpdateFeatureMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62861,7 +63908,7 @@ enum UpdateFeatureMetadataOutputError { enum UpdateHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62875,7 +63922,7 @@ enum UpdateHubOutputError { enum UpdateImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62890,7 +63937,7 @@ enum UpdateImageOutputError { enum UpdateImageVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62905,7 +63952,7 @@ enum UpdateImageVersionOutputError { enum UpdateInferenceComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62919,7 +63966,7 @@ enum UpdateInferenceComponentOutputError { enum UpdateInferenceComponentRuntimeConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62933,7 +63980,7 @@ enum UpdateInferenceComponentRuntimeConfigOutputError { enum UpdateInferenceExperimentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62948,7 +63995,7 @@ enum UpdateInferenceExperimentOutputError { enum UpdateMlflowTrackingServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62964,7 +64011,7 @@ enum UpdateMlflowTrackingServerOutputError { enum UpdateModelCardOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62980,7 +64027,7 @@ enum UpdateModelCardOutputError { enum UpdateModelPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -62994,7 +64041,7 @@ enum UpdateModelPackageOutputError { enum UpdateMonitoringAlertOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63009,7 +64056,7 @@ enum UpdateMonitoringAlertOutputError { enum UpdateMonitoringScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63024,7 +64071,7 @@ enum UpdateMonitoringScheduleOutputError { enum UpdateNotebookInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63038,7 +64085,7 @@ enum UpdateNotebookInstanceOutputError { enum UpdateNotebookInstanceLifecycleConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63052,7 +64099,7 @@ enum UpdateNotebookInstanceLifecycleConfigOutputError { enum UpdatePipelineOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63067,7 +64114,7 @@ enum UpdatePipelineOutputError { enum UpdatePipelineExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63082,7 +64129,7 @@ enum UpdatePipelineExecutionOutputError { enum UpdateProjectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63096,7 +64143,7 @@ enum UpdateProjectOutputError { enum UpdateSpaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63112,7 +64159,7 @@ enum UpdateSpaceOutputError { enum UpdateTrainingJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63127,7 +64174,7 @@ enum UpdateTrainingJobOutputError { enum UpdateTrialOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63142,7 +64189,7 @@ enum UpdateTrialOutputError { enum UpdateTrialComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63157,7 +64204,7 @@ enum UpdateTrialComponentOutputError { enum UpdateUserProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63173,7 +64220,7 @@ enum UpdateUserProfileOutputError { enum UpdateWorkforceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -63187,7 +64234,7 @@ enum UpdateWorkforceOutputError { enum UpdateWorkteamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -65582,6 +66629,7 @@ extension SageMakerClientTypes.UserSettings { try writer["SharingSettings"].write(value.sharingSettings, with: SageMakerClientTypes.SharingSettings.write(value:to:)) try writer["SpaceStorageSettings"].write(value.spaceStorageSettings, with: SageMakerClientTypes.DefaultSpaceStorageSettings.write(value:to:)) try writer["StudioWebPortal"].write(value.studioWebPortal) + try writer["StudioWebPortalSettings"].write(value.studioWebPortalSettings, with: SageMakerClientTypes.StudioWebPortalSettings.write(value:to:)) try writer["TensorBoardAppSettings"].write(value.tensorBoardAppSettings, with: SageMakerClientTypes.TensorBoardAppSettings.write(value:to:)) } @@ -65604,6 +66652,24 @@ extension SageMakerClientTypes.UserSettings { value.studioWebPortal = try reader["StudioWebPortal"].readIfPresent() value.customPosixUserConfig = try reader["CustomPosixUserConfig"].readIfPresent(with: SageMakerClientTypes.CustomPosixUserConfig.read(from:)) value.customFileSystemConfigs = try reader["CustomFileSystemConfigs"].readListIfPresent(memberReadingClosure: SageMakerClientTypes.CustomFileSystemConfig.read(from:), memberNodeInfo: "member", isFlattened: false) + value.studioWebPortalSettings = try reader["StudioWebPortalSettings"].readIfPresent(with: SageMakerClientTypes.StudioWebPortalSettings.read(from:)) + return value + } +} + +extension SageMakerClientTypes.StudioWebPortalSettings { + + static func write(value: SageMakerClientTypes.StudioWebPortalSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["HiddenAppTypes"].writeList(value.hiddenAppTypes, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["HiddenMlTools"].writeList(value.hiddenMlTools, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.StudioWebPortalSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.StudioWebPortalSettings() + value.hiddenMlTools = try reader["HiddenMlTools"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + value.hiddenAppTypes = try reader["HiddenAppTypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) return value } } @@ -66024,6 +67090,7 @@ extension SageMakerClientTypes.DomainSettings { static func write(value: SageMakerClientTypes.DomainSettings?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["AmazonQSettings"].write(value.amazonQSettings, with: SageMakerClientTypes.AmazonQSettings.write(value:to:)) try writer["DockerSettings"].write(value.dockerSettings, with: SageMakerClientTypes.DockerSettings.write(value:to:)) try writer["ExecutionRoleIdentityConfig"].write(value.executionRoleIdentityConfig) try writer["RStudioServerProDomainSettings"].write(value.rStudioServerProDomainSettings, with: SageMakerClientTypes.RStudioServerProDomainSettings.write(value:to:)) @@ -66037,6 +67104,24 @@ extension SageMakerClientTypes.DomainSettings { value.rStudioServerProDomainSettings = try reader["RStudioServerProDomainSettings"].readIfPresent(with: SageMakerClientTypes.RStudioServerProDomainSettings.read(from:)) value.executionRoleIdentityConfig = try reader["ExecutionRoleIdentityConfig"].readIfPresent() value.dockerSettings = try reader["DockerSettings"].readIfPresent(with: SageMakerClientTypes.DockerSettings.read(from:)) + value.amazonQSettings = try reader["AmazonQSettings"].readIfPresent(with: SageMakerClientTypes.AmazonQSettings.read(from:)) + return value + } +} + +extension SageMakerClientTypes.AmazonQSettings { + + static func write(value: SageMakerClientTypes.AmazonQSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["QProfileArn"].write(value.qProfileArn) + try writer["Status"].write(value.status) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.AmazonQSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.AmazonQSettings() + value.status = try reader["Status"].readIfPresent() + value.qProfileArn = try reader["QProfileArn"].readIfPresent() return value } } @@ -68511,6 +69596,7 @@ extension SageMakerClientTypes.ContainerDefinition { static func write(value: SageMakerClientTypes.ContainerDefinition?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["AdditionalModelDataSources"].writeList(value.additionalModelDataSources, memberWritingClosure: SageMakerClientTypes.AdditionalModelDataSource.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["ContainerHostname"].write(value.containerHostname) try writer["Environment"].writeMap(value.environment, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["Image"].write(value.image) @@ -68532,6 +69618,7 @@ extension SageMakerClientTypes.ContainerDefinition { value.mode = try reader["Mode"].readIfPresent() value.modelDataUrl = try reader["ModelDataUrl"].readIfPresent() value.modelDataSource = try reader["ModelDataSource"].readIfPresent(with: SageMakerClientTypes.ModelDataSource.read(from:)) + value.additionalModelDataSources = try reader["AdditionalModelDataSources"].readListIfPresent(memberReadingClosure: SageMakerClientTypes.AdditionalModelDataSource.read(from:), memberNodeInfo: "member", isFlattened: false) value.environment = try reader["Environment"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) value.modelPackageName = try reader["ModelPackageName"].readIfPresent() value.inferenceSpecificationName = try reader["InferenceSpecificationName"].readIfPresent() @@ -68555,6 +69642,23 @@ extension SageMakerClientTypes.MultiModelConfig { } } +extension SageMakerClientTypes.AdditionalModelDataSource { + + static func write(value: SageMakerClientTypes.AdditionalModelDataSource?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ChannelName"].write(value.channelName) + try writer["S3DataSource"].write(value.s3DataSource, with: SageMakerClientTypes.S3ModelDataSource.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.AdditionalModelDataSource { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.AdditionalModelDataSource() + value.channelName = try reader["ChannelName"].readIfPresent() + value.s3DataSource = try reader["S3DataSource"].readIfPresent(with: SageMakerClientTypes.S3ModelDataSource.read(from:)) + return value + } +} + extension SageMakerClientTypes.ImageConfig { static func write(value: SageMakerClientTypes.ImageConfig?, to writer: SmithyJSON.Writer) throws { @@ -69417,6 +70521,159 @@ extension SageMakerClientTypes.NotebookInstanceLifecycleHook { } } +extension SageMakerClientTypes.OptimizationJobModelSource { + + static func write(value: SageMakerClientTypes.OptimizationJobModelSource?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["S3"].write(value.s3, with: SageMakerClientTypes.OptimizationJobModelSourceS3.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationJobModelSource { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationJobModelSource() + value.s3 = try reader["S3"].readIfPresent(with: SageMakerClientTypes.OptimizationJobModelSourceS3.read(from:)) + return value + } +} + +extension SageMakerClientTypes.OptimizationJobModelSourceS3 { + + static func write(value: SageMakerClientTypes.OptimizationJobModelSourceS3?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ModelAccessConfig"].write(value.modelAccessConfig, with: SageMakerClientTypes.OptimizationModelAccessConfig.write(value:to:)) + try writer["S3Uri"].write(value.s3Uri) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationJobModelSourceS3 { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationJobModelSourceS3() + value.s3Uri = try reader["S3Uri"].readIfPresent() + value.modelAccessConfig = try reader["ModelAccessConfig"].readIfPresent(with: SageMakerClientTypes.OptimizationModelAccessConfig.read(from:)) + return value + } +} + +extension SageMakerClientTypes.OptimizationModelAccessConfig { + + static func write(value: SageMakerClientTypes.OptimizationModelAccessConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["AcceptEula"].write(value.acceptEula) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationModelAccessConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationModelAccessConfig() + value.acceptEula = try reader["AcceptEula"].readIfPresent() + return value + } +} + +extension SageMakerClientTypes.OptimizationConfig { + + static func write(value: SageMakerClientTypes.OptimizationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .modelcompilationconfig(modelcompilationconfig): + try writer["ModelCompilationConfig"].write(modelcompilationconfig, with: SageMakerClientTypes.ModelCompilationConfig.write(value:to:)) + case let .modelquantizationconfig(modelquantizationconfig): + try writer["ModelQuantizationConfig"].write(modelquantizationconfig, with: SageMakerClientTypes.ModelQuantizationConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "ModelQuantizationConfig": + return .modelquantizationconfig(try reader["ModelQuantizationConfig"].read(with: SageMakerClientTypes.ModelQuantizationConfig.read(from:))) + case "ModelCompilationConfig": + return .modelcompilationconfig(try reader["ModelCompilationConfig"].read(with: SageMakerClientTypes.ModelCompilationConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension SageMakerClientTypes.ModelCompilationConfig { + + static func write(value: SageMakerClientTypes.ModelCompilationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Image"].write(value.image) + try writer["OverrideEnvironment"].writeMap(value.overrideEnvironment, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.ModelCompilationConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.ModelCompilationConfig() + value.image = try reader["Image"].readIfPresent() + value.overrideEnvironment = try reader["OverrideEnvironment"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension SageMakerClientTypes.ModelQuantizationConfig { + + static func write(value: SageMakerClientTypes.ModelQuantizationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Image"].write(value.image) + try writer["OverrideEnvironment"].writeMap(value.overrideEnvironment, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.ModelQuantizationConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.ModelQuantizationConfig() + value.image = try reader["Image"].readIfPresent() + value.overrideEnvironment = try reader["OverrideEnvironment"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension SageMakerClientTypes.OptimizationJobOutputConfig { + + static func write(value: SageMakerClientTypes.OptimizationJobOutputConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["KmsKeyId"].write(value.kmsKeyId) + try writer["S3OutputLocation"].write(value.s3OutputLocation) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationJobOutputConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationJobOutputConfig() + value.kmsKeyId = try reader["KmsKeyId"].readIfPresent() + value.s3OutputLocation = try reader["S3OutputLocation"].readIfPresent() + return value + } +} + +extension SageMakerClientTypes.OptimizationOutput { + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationOutput { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationOutput() + value.recommendedInferenceImage = try reader["RecommendedInferenceImage"].readIfPresent() + return value + } +} + +extension SageMakerClientTypes.OptimizationVpcConfig { + + static func write(value: SageMakerClientTypes.OptimizationVpcConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SecurityGroupIds"].writeList(value.securityGroupIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Subnets"].writeList(value.subnets, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationVpcConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationVpcConfig() + value.securityGroupIds = try reader["SecurityGroupIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.subnets = try reader["Subnets"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension SageMakerClientTypes.ParallelismConfiguration { static func write(value: SageMakerClientTypes.ParallelismConfiguration?, to writer: SmithyJSON.Writer) throws { @@ -71631,6 +72888,24 @@ extension SageMakerClientTypes.NotebookInstanceSummary { } } +extension SageMakerClientTypes.OptimizationJobSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.OptimizationJobSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = SageMakerClientTypes.OptimizationJobSummary() + value.optimizationJobName = try reader["OptimizationJobName"].readIfPresent() + value.optimizationJobArn = try reader["OptimizationJobArn"].readIfPresent() + value.creationTime = try reader["CreationTime"].readTimestampIfPresent(format: .epochSeconds) + value.optimizationJobStatus = try reader["OptimizationJobStatus"].readIfPresent() + value.optimizationStartTime = try reader["OptimizationStartTime"].readTimestampIfPresent(format: .epochSeconds) + value.optimizationEndTime = try reader["OptimizationEndTime"].readTimestampIfPresent(format: .epochSeconds) + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: .epochSeconds) + value.deploymentInstanceType = try reader["DeploymentInstanceType"].readIfPresent() + value.optimizationTypes = try reader["OptimizationTypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension SageMakerClientTypes.PipelineExecutionSummary { static func read(from reader: SmithyJSON.Reader) throws -> SageMakerClientTypes.PipelineExecutionSummary { @@ -73018,6 +74293,7 @@ extension SageMakerClientTypes.DomainSettingsForUpdate { static func write(value: SageMakerClientTypes.DomainSettingsForUpdate?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["AmazonQSettings"].write(value.amazonQSettings, with: SageMakerClientTypes.AmazonQSettings.write(value:to:)) try writer["DockerSettings"].write(value.dockerSettings, with: SageMakerClientTypes.DockerSettings.write(value:to:)) try writer["ExecutionRoleIdentityConfig"].write(value.executionRoleIdentityConfig) try writer["RStudioServerProDomainSettingsForUpdate"].write(value.rStudioServerProDomainSettingsForUpdate, with: SageMakerClientTypes.RStudioServerProDomainSettingsForUpdate.write(value:to:)) diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Paginators.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Paginators.swift index 7e2b48f1357..0e351aea97d 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Paginators.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Paginators.swift @@ -1865,6 +1865,45 @@ extension PaginatorSequence where OperationStackInput == ListNotebookInstancesIn return try await self.asyncCompactMap { item in item.notebookInstances } } } +extension SageMakerClient { + /// Paginate over `[ListOptimizationJobsOutput]` results. + /// + /// When this operation is called, an `AsyncSequence` is created. AsyncSequences are lazy so no service + /// calls are made until the sequence is iterated over. This also means there is no guarantee that the request is valid + /// until then. If there are errors in your request, you will see the failures only after you start iterating. + /// - Parameters: + /// - input: A `[ListOptimizationJobsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListOptimizationJobsOutput` + public func listOptimizationJobsPaginated(input: ListOptimizationJobsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listOptimizationJobs(input:)) + } +} + +extension ListOptimizationJobsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListOptimizationJobsInput { + return ListOptimizationJobsInput( + creationTimeAfter: self.creationTimeAfter, + creationTimeBefore: self.creationTimeBefore, + lastModifiedTimeAfter: self.lastModifiedTimeAfter, + lastModifiedTimeBefore: self.lastModifiedTimeBefore, + maxResults: self.maxResults, + nameContains: self.nameContains, + nextToken: token, + optimizationContains: self.optimizationContains, + sortBy: self.sortBy, + sortOrder: self.sortOrder, + statusEquals: self.statusEquals + )} +} + +extension PaginatorSequence where OperationStackInput == ListOptimizationJobsInput, OperationStackOutput == ListOptimizationJobsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listOptimizationJobsPaginated` + /// to access the nested member `[SageMakerClientTypes.OptimizationJobSummary]` + /// - Returns: `[SageMakerClientTypes.OptimizationJobSummary]` + public func optimizationJobSummaries() async throws -> [SageMakerClientTypes.OptimizationJobSummary] { + return try await self.asyncCompactMap { item in item.optimizationJobSummaries } + } +} extension SageMakerClient { /// Paginate over `[ListPipelineExecutionsOutput]` results. /// diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift index 84f38c14872..edceff84e1d 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift @@ -2589,6 +2589,56 @@ extension SageMakerClient { return result } + /// Performs the `CreateOptimizationJob` operation on the `SageMaker` service. + /// + /// Creates a job that optimizes a model for inference performance. To create the job, you provide the location of a source model, and you provide the settings for the optimization techniques that you want the job to apply. When the job completes successfully, SageMaker uploads the new optimized model to the output destination that you specify. For more information about how to use this action, and about the supported optimization techniques, see [Optimize model inference with Amazon SageMaker](https://docs.aws.amazon.com/sagemaker/latest/dg/model-optimize.html). + /// + /// - Parameter CreateOptimizationJobInput : [no documentation found] + /// + /// - Returns: `CreateOptimizationJobOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `ResourceInUse` : Resource being accessed is in use. + /// - `ResourceLimitExceeded` : You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created. + public func createOptimizationJob(input: CreateOptimizationJobInput) async throws -> CreateOptimizationJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createOptimizationJob") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sagemaker") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createOptimizationJob") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateOptimizationJobInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "SageMaker.CreateOptimizationJob")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateOptimizationJobInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateOptimizationJobOutput.httpOutput(from:), CreateOptimizationJobOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `CreatePipeline` operation on the `SageMaker` service. /// /// Creates a pipeline using a JSON pipeline definition. @@ -5337,6 +5387,55 @@ extension SageMakerClient { return result } + /// Performs the `DeleteOptimizationJob` operation on the `SageMaker` service. + /// + /// Deletes an optimization job. + /// + /// - Parameter DeleteOptimizationJobInput : [no documentation found] + /// + /// - Returns: `DeleteOptimizationJobOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `ResourceNotFound` : Resource being access is not found. + public func deleteOptimizationJob(input: DeleteOptimizationJobInput) async throws -> DeleteOptimizationJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteOptimizationJob") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sagemaker") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "deleteOptimizationJob") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DeleteOptimizationJobInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "SageMaker.DeleteOptimizationJob")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteOptimizationJobInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DeleteOptimizationJobOutput.httpOutput(from:), DeleteOptimizationJobOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DeletePipeline` operation on the `SageMaker` service. /// /// Deletes a pipeline if there are no running instances of the pipeline. To delete a pipeline, you must stop all running instances of the pipeline using the StopPipelineExecution API. When you delete a pipeline, all instances of the pipeline are deleted. @@ -8119,6 +8218,55 @@ extension SageMakerClient { return result } + /// Performs the `DescribeOptimizationJob` operation on the `SageMaker` service. + /// + /// Provides the properties of the specified optimization job. + /// + /// - Parameter DescribeOptimizationJobInput : [no documentation found] + /// + /// - Returns: `DescribeOptimizationJobOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `ResourceNotFound` : Resource being access is not found. + public func describeOptimizationJob(input: DescribeOptimizationJobInput) async throws -> DescribeOptimizationJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "describeOptimizationJob") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sagemaker") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "describeOptimizationJob") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DescribeOptimizationJobInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "SageMaker.DescribeOptimizationJob")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DescribeOptimizationJobInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DescribeOptimizationJobOutput.httpOutput(from:), DescribeOptimizationJobOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DescribePipeline` operation on the `SageMaker` service. /// /// Describes the details of a pipeline. @@ -11836,6 +11984,50 @@ extension SageMakerClient { return result } + /// Performs the `ListOptimizationJobs` operation on the `SageMaker` service. + /// + /// Lists the optimization jobs in your account and their properties. + /// + /// - Parameter ListOptimizationJobsInput : [no documentation found] + /// + /// - Returns: `ListOptimizationJobsOutput` : [no documentation found] + public func listOptimizationJobs(input: ListOptimizationJobsInput) async throws -> ListOptimizationJobsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listOptimizationJobs") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sagemaker") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "listOptimizationJobs") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ListOptimizationJobsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "SageMaker.ListOptimizationJobs")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListOptimizationJobsInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ListOptimizationJobsOutput.httpOutput(from:), ListOptimizationJobsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ListPipelineExecutionSteps` operation on the `SageMaker` service. /// /// Gets a list of PipeLineExecutionStep objects. @@ -13973,6 +14165,55 @@ extension SageMakerClient { return result } + /// Performs the `StopOptimizationJob` operation on the `SageMaker` service. + /// + /// Ends a running inference optimization job. + /// + /// - Parameter StopOptimizationJobInput : [no documentation found] + /// + /// - Returns: `StopOptimizationJobOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `ResourceNotFound` : Resource being access is not found. + public func stopOptimizationJob(input: StopOptimizationJobInput) async throws -> StopOptimizationJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "stopOptimizationJob") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "sagemaker") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "stopOptimizationJob") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(StopOptimizationJobInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "SageMaker.StopOptimizationJob")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StopOptimizationJobInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(StopOptimizationJobOutput.httpOutput(from:), StopOptimizationJobOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `StopPipelineExecution` operation on the `SageMaker` service. /// /// Stops a pipeline execution. Callback Step A pipeline execution won't stop while a callback step is running. When you call StopPipelineExecution on a pipeline execution with a running callback step, SageMaker Pipelines sends an additional Amazon SQS message to the specified SQS queue. The body of the SQS message contains a "Status" field which is set to "Stopping". You should add logic to your Amazon SQS message consumer to take any needed action (for example, resource cleanup) upon receipt of the message followed by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure. Only when SageMaker Pipelines receives one of these calls will it stop the pipeline execution. Lambda Step A pipeline execution can't be stopped while a lambda step is running because the Lambda function invoked by the lambda step can't be stopped. If you attempt to stop the execution while the Lambda function is running, the pipeline waits for the Lambda function to finish or until the timeout is hit, whichever occurs first, and then stops. If the Lambda function finishes, the pipeline execution status is Stopped. If the timeout is hit the pipeline execution status is Failed. diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/Models.swift b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/Models.swift index df6c8660ac9..3dcd59ea25f 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/Models.swift +++ b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -373,7 +373,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -397,7 +397,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -625,14 +625,14 @@ extension StopHumanLoopInput { extension DeleteHumanLoopOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHumanLoopOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHumanLoopOutput { return DeleteHumanLoopOutput() } } extension DescribeHumanLoopOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHumanLoopOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHumanLoopOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -651,7 +651,7 @@ extension DescribeHumanLoopOutput { extension ListHumanLoopsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHumanLoopsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHumanLoopsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -664,7 +664,7 @@ extension ListHumanLoopsOutput { extension StartHumanLoopOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartHumanLoopOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartHumanLoopOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -676,14 +676,14 @@ extension StartHumanLoopOutput { extension StopHumanLoopOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopHumanLoopOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopHumanLoopOutput { return StopHumanLoopOutput() } } enum DeleteHumanLoopOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -700,7 +700,7 @@ enum DeleteHumanLoopOutputError { enum DescribeHumanLoopOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -717,7 +717,7 @@ enum DescribeHumanLoopOutputError { enum ListHumanLoopsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -734,7 +734,7 @@ enum ListHumanLoopsOutputError { enum StartHumanLoopOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -752,7 +752,7 @@ enum StartHumanLoopOutputError { enum StopHumanLoopOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/Models.swift b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/Models.swift index 71441c26cc3..242b1829136 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/Models.swift +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -45,7 +45,7 @@ public struct AccessForbidden: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -69,7 +69,7 @@ public struct InternalFailure: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct ServiceUnavailable: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -117,7 +117,7 @@ public struct ValidationError: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -413,7 +413,7 @@ public struct ResourceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -671,7 +671,7 @@ extension PutRecordInput { extension BatchGetRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -685,14 +685,14 @@ extension BatchGetRecordOutput { extension DeleteRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRecordOutput { return DeleteRecordOutput() } } extension GetRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -705,14 +705,14 @@ extension GetRecordOutput { extension PutRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRecordOutput { return PutRecordOutput() } } enum BatchGetRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -729,7 +729,7 @@ enum BatchGetRecordOutputError { enum DeleteRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -746,7 +746,7 @@ enum DeleteRecordOutputError { enum GetRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -764,7 +764,7 @@ enum GetRecordOutputError { enum PutRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/Models.swift b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/Models.swift index d8df825d41a..e746078dcb3 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/Models.swift +++ b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -41,7 +41,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -255,6 +255,11 @@ extension SageMakerGeospatialClientTypes { } +extension SageMakerGeospatialClientTypes.MultiPolygonGeometryInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "MultiPolygonGeometryInput(coordinates: \"CONTENT_REDACTED\")"} +} + extension SageMakerGeospatialClientTypes { /// The structure representing Polygon Geometry based on the [GeoJson spec](https://www.rfc-editor.org/rfc/rfc7946#section-3.1.6). public struct PolygonGeometryInput { @@ -272,6 +277,11 @@ extension SageMakerGeospatialClientTypes { } +extension SageMakerGeospatialClientTypes.PolygonGeometryInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PolygonGeometryInput(coordinates: \"CONTENT_REDACTED\")"} +} + extension SageMakerGeospatialClientTypes { /// A GeoJSON object representing the geographic extent in the coordinate space. public enum AreaOfInterestGeometry { @@ -498,7 +508,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -637,7 +647,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -666,7 +676,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -695,7 +705,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -724,7 +734,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -789,7 +799,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2511,6 +2521,11 @@ extension SageMakerGeospatialClientTypes { } +extension SageMakerGeospatialClientTypes.Geometry: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "Geometry(type: \(Swift.String(describing: type)), coordinates: \"CONTENT_REDACTED\")"} +} + public struct GetRasterDataCollectionInput { /// The Amazon Resource Name (ARN) of the raster data collection. /// This member is required. @@ -3810,21 +3825,21 @@ extension TagResourceInput { extension DeleteEarthObservationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEarthObservationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEarthObservationJobOutput { return DeleteEarthObservationJobOutput() } } extension DeleteVectorEnrichmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVectorEnrichmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVectorEnrichmentJobOutput { return DeleteVectorEnrichmentJobOutput() } } extension ExportEarthObservationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportEarthObservationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportEarthObservationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3841,7 +3856,7 @@ extension ExportEarthObservationJobOutput { extension ExportVectorEnrichmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportVectorEnrichmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportVectorEnrichmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3857,7 +3872,7 @@ extension ExportVectorEnrichmentJobOutput { extension GetEarthObservationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEarthObservationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEarthObservationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3882,7 +3897,7 @@ extension GetEarthObservationJobOutput { extension GetRasterDataCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRasterDataCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRasterDataCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3901,7 +3916,7 @@ extension GetRasterDataCollectionOutput { extension GetTileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTileOutput { var value = GetTileOutput() switch httpResponse.body { case .data(let data): @@ -3917,7 +3932,7 @@ extension GetTileOutput { extension GetVectorEnrichmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVectorEnrichmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVectorEnrichmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3942,7 +3957,7 @@ extension GetVectorEnrichmentJobOutput { extension ListEarthObservationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEarthObservationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEarthObservationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3955,7 +3970,7 @@ extension ListEarthObservationJobsOutput { extension ListRasterDataCollectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRasterDataCollectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRasterDataCollectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3968,7 +3983,7 @@ extension ListRasterDataCollectionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3980,7 +3995,7 @@ extension ListTagsForResourceOutput { extension ListVectorEnrichmentJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVectorEnrichmentJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVectorEnrichmentJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3993,7 +4008,7 @@ extension ListVectorEnrichmentJobsOutput { extension SearchRasterDataCollectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchRasterDataCollectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchRasterDataCollectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4007,7 +4022,7 @@ extension SearchRasterDataCollectionOutput { extension StartEarthObservationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartEarthObservationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartEarthObservationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4028,7 +4043,7 @@ extension StartEarthObservationJobOutput { extension StartVectorEnrichmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartVectorEnrichmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartVectorEnrichmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4050,35 +4065,35 @@ extension StartVectorEnrichmentJobOutput { extension StopEarthObservationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopEarthObservationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopEarthObservationJobOutput { return StopEarthObservationJobOutput() } } extension StopVectorEnrichmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopVectorEnrichmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopVectorEnrichmentJobOutput { return StopVectorEnrichmentJobOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum DeleteEarthObservationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4097,7 +4112,7 @@ enum DeleteEarthObservationJobOutputError { enum DeleteVectorEnrichmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4116,7 +4131,7 @@ enum DeleteVectorEnrichmentJobOutputError { enum ExportEarthObservationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4136,7 +4151,7 @@ enum ExportEarthObservationJobOutputError { enum ExportVectorEnrichmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4156,7 +4171,7 @@ enum ExportVectorEnrichmentJobOutputError { enum GetEarthObservationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4174,7 +4189,7 @@ enum GetEarthObservationJobOutputError { enum GetRasterDataCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4192,7 +4207,7 @@ enum GetRasterDataCollectionOutputError { enum GetTileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4210,7 +4225,7 @@ enum GetTileOutputError { enum GetVectorEnrichmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4228,7 +4243,7 @@ enum GetVectorEnrichmentJobOutputError { enum ListEarthObservationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4246,7 +4261,7 @@ enum ListEarthObservationJobsOutputError { enum ListRasterDataCollectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4264,7 +4279,7 @@ enum ListRasterDataCollectionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4282,7 +4297,7 @@ enum ListTagsForResourceOutputError { enum ListVectorEnrichmentJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4300,7 +4315,7 @@ enum ListVectorEnrichmentJobsOutputError { enum SearchRasterDataCollectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4318,7 +4333,7 @@ enum SearchRasterDataCollectionOutputError { enum StartEarthObservationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4338,7 +4353,7 @@ enum StartEarthObservationJobOutputError { enum StartVectorEnrichmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4358,7 +4373,7 @@ enum StartVectorEnrichmentJobOutputError { enum StopEarthObservationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4377,7 +4392,7 @@ enum StopEarthObservationJobOutputError { enum StopVectorEnrichmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4396,7 +4411,7 @@ enum StopVectorEnrichmentJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4414,7 +4429,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/Models.swift b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/Models.swift index 91b27aa43b8..26895edd189 100644 --- a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/Models.swift +++ b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum SmithyReadWrite.ReaderError @@ -157,7 +157,7 @@ extension BatchPutMetricsInput { extension BatchPutMetricsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutMetricsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutMetricsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -169,7 +169,7 @@ extension BatchPutMetricsOutput { enum BatchPutMetricsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/Models.swift b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/Models.swift index 6cb90f2b47a..e91454e3e86 100644 --- a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/Models.swift +++ b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct InternalDependencyException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct InternalFailure: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct ModelError: ClientRuntime.ModeledError, AWSClientRuntime.AWSServic public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -123,7 +123,7 @@ public struct ModelNotReadyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -147,7 +147,7 @@ public struct ServiceUnavailable: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct ValidationError: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -351,7 +351,7 @@ public struct InternalStreamFailure: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -377,7 +377,7 @@ public struct ModelStreamError: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -644,7 +644,7 @@ extension InvokeEndpointWithResponseStreamInput { extension InvokeEndpointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeEndpointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeEndpointOutput { var value = InvokeEndpointOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = contentTypeHeaderValue @@ -669,7 +669,7 @@ extension InvokeEndpointOutput { extension InvokeEndpointAsyncOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeEndpointAsyncOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeEndpointAsyncOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -687,7 +687,7 @@ extension InvokeEndpointAsyncOutput { extension InvokeEndpointWithResponseStreamOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InvokeEndpointWithResponseStreamOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InvokeEndpointWithResponseStreamOutput { var value = InvokeEndpointWithResponseStreamOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "X-Amzn-SageMaker-Content-Type") { value.contentType = contentTypeHeaderValue @@ -709,7 +709,7 @@ extension InvokeEndpointWithResponseStreamOutput { enum InvokeEndpointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -728,7 +728,7 @@ enum InvokeEndpointOutputError { enum InvokeEndpointAsyncOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -744,7 +744,7 @@ enum InvokeEndpointAsyncOutputError { enum InvokeEndpointWithResponseStreamOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -892,14 +892,14 @@ extension SageMakerRuntimeClientTypes.ResponseStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalStreamFailure.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") diff --git a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/Models.swift b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/Models.swift index 1b2fa815f66..105eac6ea9c 100644 --- a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/Models.swift +++ b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct InternalServiceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -556,7 +556,7 @@ extension SendHeartbeatInput { extension GetDeploymentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeploymentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeploymentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -568,7 +568,7 @@ extension GetDeploymentsOutput { extension GetDeviceRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -581,14 +581,14 @@ extension GetDeviceRegistrationOutput { extension SendHeartbeatOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendHeartbeatOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendHeartbeatOutput { return SendHeartbeatOutput() } } enum GetDeploymentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -602,7 +602,7 @@ enum GetDeploymentsOutputError { enum GetDeviceRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -616,7 +616,7 @@ enum GetDeviceRegistrationOutputError { enum SendHeartbeatOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/Models.swift b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/Models.swift index a1e5c21186f..18a272ce9e1 100644 --- a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/Models.swift +++ b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1596,7 +1596,7 @@ extension UntagResourceInput { extension CreateSavingsPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSavingsPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSavingsPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1608,14 +1608,14 @@ extension CreateSavingsPlanOutput { extension DeleteQueuedSavingsPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQueuedSavingsPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQueuedSavingsPlanOutput { return DeleteQueuedSavingsPlanOutput() } } extension DescribeSavingsPlanRatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSavingsPlanRatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSavingsPlanRatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1629,7 +1629,7 @@ extension DescribeSavingsPlanRatesOutput { extension DescribeSavingsPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSavingsPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSavingsPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1642,7 +1642,7 @@ extension DescribeSavingsPlansOutput { extension DescribeSavingsPlansOfferingRatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSavingsPlansOfferingRatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSavingsPlansOfferingRatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1655,7 +1655,7 @@ extension DescribeSavingsPlansOfferingRatesOutput { extension DescribeSavingsPlansOfferingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSavingsPlansOfferingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSavingsPlansOfferingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1668,7 +1668,7 @@ extension DescribeSavingsPlansOfferingsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1680,7 +1680,7 @@ extension ListTagsForResourceOutput { extension ReturnSavingsPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReturnSavingsPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReturnSavingsPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1692,21 +1692,21 @@ extension ReturnSavingsPlanOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateSavingsPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1723,7 +1723,7 @@ enum CreateSavingsPlanOutputError { enum DeleteQueuedSavingsPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1740,7 +1740,7 @@ enum DeleteQueuedSavingsPlanOutputError { enum DescribeSavingsPlanRatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1755,7 +1755,7 @@ enum DescribeSavingsPlanRatesOutputError { enum DescribeSavingsPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1770,7 +1770,7 @@ enum DescribeSavingsPlansOutputError { enum DescribeSavingsPlansOfferingRatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1785,7 +1785,7 @@ enum DescribeSavingsPlansOfferingRatesOutputError { enum DescribeSavingsPlansOfferingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1800,7 +1800,7 @@ enum DescribeSavingsPlansOfferingsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1816,7 +1816,7 @@ enum ListTagsForResourceOutputError { enum ReturnSavingsPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1833,7 +1833,7 @@ enum ReturnSavingsPlanOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1850,7 +1850,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSScheduler/Sources/AWSScheduler/Models.swift b/Sources/Services/AWSScheduler/Sources/AWSScheduler/Models.swift index 9df6a3d25bb..4bc59dafdd9 100644 --- a/Sources/Services/AWSScheduler/Sources/AWSScheduler/Models.swift +++ b/Sources/Services/AWSScheduler/Sources/AWSScheduler/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -96,7 +96,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -121,7 +121,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -146,7 +146,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -243,7 +243,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -268,7 +268,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1746,7 +1746,7 @@ extension UpdateScheduleInput { extension CreateScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1758,7 +1758,7 @@ extension CreateScheduleOutput { extension CreateScheduleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1770,21 +1770,21 @@ extension CreateScheduleGroupOutput { extension DeleteScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduleOutput { return DeleteScheduleOutput() } } extension DeleteScheduleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduleGroupOutput { return DeleteScheduleGroupOutput() } } extension GetScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1810,7 +1810,7 @@ extension GetScheduleOutput { extension GetScheduleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetScheduleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetScheduleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1826,7 +1826,7 @@ extension GetScheduleGroupOutput { extension ListScheduleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScheduleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScheduleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1839,7 +1839,7 @@ extension ListScheduleGroupsOutput { extension ListSchedulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchedulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchedulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1852,7 +1852,7 @@ extension ListSchedulesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1864,21 +1864,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1890,7 +1890,7 @@ extension UpdateScheduleOutput { enum CreateScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1909,7 +1909,7 @@ enum CreateScheduleOutputError { enum CreateScheduleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1927,7 +1927,7 @@ enum CreateScheduleGroupOutputError { enum DeleteScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1945,7 +1945,7 @@ enum DeleteScheduleOutputError { enum DeleteScheduleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1963,7 +1963,7 @@ enum DeleteScheduleGroupOutputError { enum GetScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1980,7 +1980,7 @@ enum GetScheduleOutputError { enum GetScheduleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1997,7 +1997,7 @@ enum GetScheduleGroupOutputError { enum ListScheduleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2013,7 +2013,7 @@ enum ListScheduleGroupsOutputError { enum ListSchedulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2030,7 +2030,7 @@ enum ListSchedulesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2047,7 +2047,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2065,7 +2065,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2083,7 +2083,7 @@ enum UntagResourceOutputError { enum UpdateScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSchemas/Sources/AWSSchemas/Models.swift b/Sources/Services/AWSSchemas/Sources/AWSSchemas/Models.swift index 498685fa669..ef68298ab65 100644 --- a/Sources/Services/AWSSchemas/Sources/AWSSchemas/Models.swift +++ b/Sources/Services/AWSSchemas/Sources/AWSSchemas/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -299,7 +299,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -361,7 +361,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -391,7 +391,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -421,7 +421,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -451,7 +451,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -481,7 +481,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -693,7 +693,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -802,7 +802,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1180,7 +1180,7 @@ public struct GoneException: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1394,7 +1394,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2448,7 +2448,7 @@ extension UpdateSchemaInput { extension CreateDiscovererOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDiscovererOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDiscovererOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2466,7 +2466,7 @@ extension CreateDiscovererOutput { extension CreateRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2481,7 +2481,7 @@ extension CreateRegistryOutput { extension CreateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2500,42 +2500,42 @@ extension CreateSchemaOutput { extension DeleteDiscovererOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDiscovererOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDiscovererOutput { return DeleteDiscovererOutput() } } extension DeleteRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistryOutput { return DeleteRegistryOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaOutput { return DeleteSchemaOutput() } } extension DeleteSchemaVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSchemaVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSchemaVersionOutput { return DeleteSchemaVersionOutput() } } extension DescribeCodeBindingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCodeBindingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCodeBindingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2550,7 +2550,7 @@ extension DescribeCodeBindingOutput { extension DescribeDiscovererOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDiscovererOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDiscovererOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2568,7 +2568,7 @@ extension DescribeDiscovererOutput { extension DescribeRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2583,7 +2583,7 @@ extension DescribeRegistryOutput { extension DescribeSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2603,7 +2603,7 @@ extension DescribeSchemaOutput { extension ExportSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2619,7 +2619,7 @@ extension ExportSchemaOutput { extension GetCodeBindingSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCodeBindingSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCodeBindingSourceOutput { var value = GetCodeBindingSourceOutput() switch httpResponse.body { case .data(let data): @@ -2635,7 +2635,7 @@ extension GetCodeBindingSourceOutput { extension GetDiscoveredSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDiscoveredSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDiscoveredSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2647,7 +2647,7 @@ extension GetDiscoveredSchemaOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2660,7 +2660,7 @@ extension GetResourcePolicyOutput { extension ListDiscoverersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDiscoverersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDiscoverersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2673,7 +2673,7 @@ extension ListDiscoverersOutput { extension ListRegistriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegistriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegistriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2686,7 +2686,7 @@ extension ListRegistriesOutput { extension ListSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2699,7 +2699,7 @@ extension ListSchemasOutput { extension ListSchemaVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSchemaVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSchemaVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2712,7 +2712,7 @@ extension ListSchemaVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2724,7 +2724,7 @@ extension ListTagsForResourceOutput { extension PutCodeBindingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutCodeBindingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutCodeBindingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2739,7 +2739,7 @@ extension PutCodeBindingOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2752,7 +2752,7 @@ extension PutResourcePolicyOutput { extension SearchSchemasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchSchemasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchSchemasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2765,7 +2765,7 @@ extension SearchSchemasOutput { extension StartDiscovererOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDiscovererOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDiscovererOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2778,7 +2778,7 @@ extension StartDiscovererOutput { extension StopDiscovererOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopDiscovererOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopDiscovererOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2791,21 +2791,21 @@ extension StopDiscovererOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDiscovererOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDiscovererOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDiscovererOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2823,7 +2823,7 @@ extension UpdateDiscovererOutput { extension UpdateRegistryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegistryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegistryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2838,7 +2838,7 @@ extension UpdateRegistryOutput { extension UpdateSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2857,7 +2857,7 @@ extension UpdateSchemaOutput { enum CreateDiscovererOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2876,7 +2876,7 @@ enum CreateDiscovererOutputError { enum CreateRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2895,7 +2895,7 @@ enum CreateRegistryOutputError { enum CreateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2912,7 +2912,7 @@ enum CreateSchemaOutputError { enum DeleteDiscovererOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2931,7 +2931,7 @@ enum DeleteDiscovererOutputError { enum DeleteRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2950,7 +2950,7 @@ enum DeleteRegistryOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2969,7 +2969,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2988,7 +2988,7 @@ enum DeleteSchemaOutputError { enum DeleteSchemaVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3007,7 +3007,7 @@ enum DeleteSchemaVersionOutputError { enum DescribeCodeBindingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3026,7 +3026,7 @@ enum DescribeCodeBindingOutputError { enum DescribeDiscovererOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3045,7 +3045,7 @@ enum DescribeDiscovererOutputError { enum DescribeRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3064,7 +3064,7 @@ enum DescribeRegistryOutputError { enum DescribeSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3083,7 +3083,7 @@ enum DescribeSchemaOutputError { enum ExportSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3103,7 +3103,7 @@ enum ExportSchemaOutputError { enum GetCodeBindingSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3122,7 +3122,7 @@ enum GetCodeBindingSourceOutputError { enum GetDiscoveredSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3140,7 +3140,7 @@ enum GetDiscoveredSchemaOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3159,7 +3159,7 @@ enum GetResourcePolicyOutputError { enum ListDiscoverersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3177,7 +3177,7 @@ enum ListDiscoverersOutputError { enum ListRegistriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3195,7 +3195,7 @@ enum ListRegistriesOutputError { enum ListSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3213,7 +3213,7 @@ enum ListSchemasOutputError { enum ListSchemaVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3232,7 +3232,7 @@ enum ListSchemaVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3249,7 +3249,7 @@ enum ListTagsForResourceOutputError { enum PutCodeBindingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3269,7 +3269,7 @@ enum PutCodeBindingOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3289,7 +3289,7 @@ enum PutResourcePolicyOutputError { enum SearchSchemasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3307,7 +3307,7 @@ enum SearchSchemasOutputError { enum StartDiscovererOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3326,7 +3326,7 @@ enum StartDiscovererOutputError { enum StopDiscovererOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3345,7 +3345,7 @@ enum StopDiscovererOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3362,7 +3362,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3379,7 +3379,7 @@ enum UntagResourceOutputError { enum UpdateDiscovererOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3398,7 +3398,7 @@ enum UpdateDiscovererOutputError { enum UpdateRegistryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3417,7 +3417,7 @@ enum UpdateRegistryOutputError { enum UpdateSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/Models.swift b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/Models.swift index f4791f97481..1feb6eb725c 100644 --- a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/Models.swift +++ b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -88,7 +88,7 @@ public struct DecryptionFailure: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -112,7 +112,7 @@ public struct InternalServiceError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -160,7 +160,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -190,7 +190,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -214,7 +214,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -438,7 +438,7 @@ public struct EncryptionFailure: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -462,7 +462,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -486,7 +486,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -510,7 +510,7 @@ public struct PreconditionNotMetException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -534,7 +534,7 @@ public struct ResourceExistsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1319,7 +1319,7 @@ public struct PublicPolicyException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2212,7 +2212,7 @@ extension ValidateResourcePolicyInput { extension BatchGetSecretValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetSecretValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetSecretValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2226,7 +2226,7 @@ extension BatchGetSecretValueOutput { extension CancelRotateSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelRotateSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelRotateSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2240,7 +2240,7 @@ extension CancelRotateSecretOutput { extension CreateSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2255,7 +2255,7 @@ extension CreateSecretOutput { extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2268,7 +2268,7 @@ extension DeleteResourcePolicyOutput { extension DeleteSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2282,7 +2282,7 @@ extension DeleteSecretOutput { extension DescribeSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2311,7 +2311,7 @@ extension DescribeSecretOutput { extension GetRandomPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRandomPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRandomPasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2323,7 +2323,7 @@ extension GetRandomPasswordOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2337,7 +2337,7 @@ extension GetResourcePolicyOutput { extension GetSecretValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecretValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecretValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2355,7 +2355,7 @@ extension GetSecretValueOutput { extension ListSecretsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecretsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecretsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2368,7 +2368,7 @@ extension ListSecretsOutput { extension ListSecretVersionIdsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecretVersionIdsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecretVersionIdsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2383,7 +2383,7 @@ extension ListSecretVersionIdsOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2396,7 +2396,7 @@ extension PutResourcePolicyOutput { extension PutSecretValueOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSecretValueOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSecretValueOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2411,7 +2411,7 @@ extension PutSecretValueOutput { extension RemoveRegionsFromReplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveRegionsFromReplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveRegionsFromReplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2424,7 +2424,7 @@ extension RemoveRegionsFromReplicationOutput { extension ReplicateSecretToRegionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ReplicateSecretToRegionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ReplicateSecretToRegionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2437,7 +2437,7 @@ extension ReplicateSecretToRegionsOutput { extension RestoreSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2450,7 +2450,7 @@ extension RestoreSecretOutput { extension RotateSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RotateSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RotateSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2464,7 +2464,7 @@ extension RotateSecretOutput { extension StopReplicationToReplicaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopReplicationToReplicaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopReplicationToReplicaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2476,21 +2476,21 @@ extension StopReplicationToReplicaOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateSecretOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecretOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecretOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2504,7 +2504,7 @@ extension UpdateSecretOutput { extension UpdateSecretVersionStageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecretVersionStageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecretVersionStageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2517,7 +2517,7 @@ extension UpdateSecretVersionStageOutput { extension ValidateResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2530,7 +2530,7 @@ extension ValidateResourcePolicyOutput { enum BatchGetSecretValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2549,7 +2549,7 @@ enum BatchGetSecretValueOutputError { enum CancelRotateSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2566,7 +2566,7 @@ enum CancelRotateSecretOutputError { enum CreateSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2589,7 +2589,7 @@ enum CreateSecretOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2606,7 +2606,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2623,7 +2623,7 @@ enum DeleteSecretOutputError { enum DescribeSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2639,7 +2639,7 @@ enum DescribeSecretOutputError { enum GetRandomPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2655,7 +2655,7 @@ enum GetRandomPasswordOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2672,7 +2672,7 @@ enum GetResourcePolicyOutputError { enum GetSecretValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2690,7 +2690,7 @@ enum GetSecretValueOutputError { enum ListSecretsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2707,7 +2707,7 @@ enum ListSecretsOutputError { enum ListSecretVersionIdsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2724,7 +2724,7 @@ enum ListSecretVersionIdsOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2743,7 +2743,7 @@ enum PutResourcePolicyOutputError { enum PutSecretValueOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2764,7 +2764,7 @@ enum PutSecretValueOutputError { enum RemoveRegionsFromReplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2781,7 +2781,7 @@ enum RemoveRegionsFromReplicationOutputError { enum ReplicateSecretToRegionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2798,7 +2798,7 @@ enum ReplicateSecretToRegionsOutputError { enum RestoreSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2815,7 +2815,7 @@ enum RestoreSecretOutputError { enum RotateSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2832,7 +2832,7 @@ enum RotateSecretOutputError { enum StopReplicationToReplicaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2849,7 +2849,7 @@ enum StopReplicationToReplicaOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2866,7 +2866,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2883,7 +2883,7 @@ enum UntagResourceOutputError { enum UpdateSecretOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2906,7 +2906,7 @@ enum UpdateSecretOutputError { enum UpdateSecretVersionStageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2924,7 +2924,7 @@ enum UpdateSecretVersionStageOutputError { enum ValidateResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/Models.swift b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/Models.swift index 1e3fe87e383..2a7f58b5363 100644 --- a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/Models.swift +++ b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct InternalException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -64,7 +64,7 @@ public struct InvalidAccessException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -91,7 +91,7 @@ public struct InvalidInputException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -118,7 +118,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +145,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -218,7 +218,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -23669,7 +23669,7 @@ public struct ResourceConflictException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -26218,7 +26218,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -27953,21 +27953,21 @@ extension UpdateStandardsControlInput { extension AcceptAdministratorInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptAdministratorInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptAdministratorInvitationOutput { return AcceptAdministratorInvitationOutput() } } extension AcceptInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptInvitationOutput { return AcceptInvitationOutput() } } extension BatchDeleteAutomationRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteAutomationRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteAutomationRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27980,7 +27980,7 @@ extension BatchDeleteAutomationRulesOutput { extension BatchDisableStandardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisableStandardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisableStandardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -27992,7 +27992,7 @@ extension BatchDisableStandardsOutput { extension BatchEnableStandardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchEnableStandardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchEnableStandardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28004,7 +28004,7 @@ extension BatchEnableStandardsOutput { extension BatchGetAutomationRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetAutomationRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetAutomationRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28017,7 +28017,7 @@ extension BatchGetAutomationRulesOutput { extension BatchGetConfigurationPolicyAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetConfigurationPolicyAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetConfigurationPolicyAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28030,7 +28030,7 @@ extension BatchGetConfigurationPolicyAssociationsOutput { extension BatchGetSecurityControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetSecurityControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetSecurityControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28043,7 +28043,7 @@ extension BatchGetSecurityControlsOutput { extension BatchGetStandardsControlAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetStandardsControlAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetStandardsControlAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28056,7 +28056,7 @@ extension BatchGetStandardsControlAssociationsOutput { extension BatchImportFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchImportFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchImportFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28070,7 +28070,7 @@ extension BatchImportFindingsOutput { extension BatchUpdateAutomationRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateAutomationRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateAutomationRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28083,7 +28083,7 @@ extension BatchUpdateAutomationRulesOutput { extension BatchUpdateFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28096,7 +28096,7 @@ extension BatchUpdateFindingsOutput { extension BatchUpdateStandardsControlAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateStandardsControlAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateStandardsControlAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28108,7 +28108,7 @@ extension BatchUpdateStandardsControlAssociationsOutput { extension CreateActionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateActionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateActionTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28120,7 +28120,7 @@ extension CreateActionTargetOutput { extension CreateAutomationRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAutomationRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAutomationRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28132,7 +28132,7 @@ extension CreateAutomationRuleOutput { extension CreateConfigurationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConfigurationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConfigurationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28150,7 +28150,7 @@ extension CreateConfigurationPolicyOutput { extension CreateFindingAggregatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFindingAggregatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFindingAggregatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28165,7 +28165,7 @@ extension CreateFindingAggregatorOutput { extension CreateInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateInsightOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28177,7 +28177,7 @@ extension CreateInsightOutput { extension CreateMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28189,7 +28189,7 @@ extension CreateMembersOutput { extension DeclineInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeclineInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeclineInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28201,7 +28201,7 @@ extension DeclineInvitationsOutput { extension DeleteActionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteActionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteActionTargetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28213,21 +28213,21 @@ extension DeleteActionTargetOutput { extension DeleteConfigurationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConfigurationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConfigurationPolicyOutput { return DeleteConfigurationPolicyOutput() } } extension DeleteFindingAggregatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFindingAggregatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFindingAggregatorOutput { return DeleteFindingAggregatorOutput() } } extension DeleteInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInsightOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28239,7 +28239,7 @@ extension DeleteInsightOutput { extension DeleteInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28251,7 +28251,7 @@ extension DeleteInvitationsOutput { extension DeleteMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28263,7 +28263,7 @@ extension DeleteMembersOutput { extension DescribeActionTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActionTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActionTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28276,7 +28276,7 @@ extension DescribeActionTargetsOutput { extension DescribeHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHubOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28291,7 +28291,7 @@ extension DescribeHubOutput { extension DescribeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28306,7 +28306,7 @@ extension DescribeOrganizationConfigurationOutput { extension DescribeProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28319,7 +28319,7 @@ extension DescribeProductsOutput { extension DescribeStandardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStandardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStandardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28332,7 +28332,7 @@ extension DescribeStandardsOutput { extension DescribeStandardsControlsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStandardsControlsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStandardsControlsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28345,49 +28345,49 @@ extension DescribeStandardsControlsOutput { extension DisableImportFindingsForProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableImportFindingsForProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableImportFindingsForProductOutput { return DisableImportFindingsForProductOutput() } } extension DisableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableOrganizationAdminAccountOutput { return DisableOrganizationAdminAccountOutput() } } extension DisableSecurityHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableSecurityHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableSecurityHubOutput { return DisableSecurityHubOutput() } } extension DisassociateFromAdministratorAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFromAdministratorAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFromAdministratorAccountOutput { return DisassociateFromAdministratorAccountOutput() } } extension DisassociateFromMasterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFromMasterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFromMasterAccountOutput { return DisassociateFromMasterAccountOutput() } } extension DisassociateMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMembersOutput { return DisassociateMembersOutput() } } extension EnableImportFindingsForProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableImportFindingsForProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableImportFindingsForProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28399,21 +28399,21 @@ extension EnableImportFindingsForProductOutput { extension EnableOrganizationAdminAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableOrganizationAdminAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableOrganizationAdminAccountOutput { return EnableOrganizationAdminAccountOutput() } } extension EnableSecurityHubOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableSecurityHubOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableSecurityHubOutput { return EnableSecurityHubOutput() } } extension GetAdministratorAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdministratorAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdministratorAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28425,7 +28425,7 @@ extension GetAdministratorAccountOutput { extension GetConfigurationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28443,7 +28443,7 @@ extension GetConfigurationPolicyOutput { extension GetConfigurationPolicyAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationPolicyAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationPolicyAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28461,7 +28461,7 @@ extension GetConfigurationPolicyAssociationOutput { extension GetEnabledStandardsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnabledStandardsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnabledStandardsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28474,7 +28474,7 @@ extension GetEnabledStandardsOutput { extension GetFindingAggregatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingAggregatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingAggregatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28489,7 +28489,7 @@ extension GetFindingAggregatorOutput { extension GetFindingHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28502,7 +28502,7 @@ extension GetFindingHistoryOutput { extension GetFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFindingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28515,7 +28515,7 @@ extension GetFindingsOutput { extension GetInsightResultsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightResultsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightResultsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28527,7 +28527,7 @@ extension GetInsightResultsOutput { extension GetInsightsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28540,7 +28540,7 @@ extension GetInsightsOutput { extension GetInvitationsCountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInvitationsCountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInvitationsCountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28552,7 +28552,7 @@ extension GetInvitationsCountOutput { extension GetMasterAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMasterAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMasterAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28564,7 +28564,7 @@ extension GetMasterAccountOutput { extension GetMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28577,7 +28577,7 @@ extension GetMembersOutput { extension GetSecurityControlDefinitionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSecurityControlDefinitionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSecurityControlDefinitionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28589,7 +28589,7 @@ extension GetSecurityControlDefinitionOutput { extension InviteMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InviteMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InviteMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28601,7 +28601,7 @@ extension InviteMembersOutput { extension ListAutomationRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAutomationRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAutomationRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28614,7 +28614,7 @@ extension ListAutomationRulesOutput { extension ListConfigurationPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28627,7 +28627,7 @@ extension ListConfigurationPoliciesOutput { extension ListConfigurationPolicyAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConfigurationPolicyAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConfigurationPolicyAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28640,7 +28640,7 @@ extension ListConfigurationPolicyAssociationsOutput { extension ListEnabledProductsForImportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnabledProductsForImportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnabledProductsForImportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28653,7 +28653,7 @@ extension ListEnabledProductsForImportOutput { extension ListFindingAggregatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFindingAggregatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFindingAggregatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28666,7 +28666,7 @@ extension ListFindingAggregatorsOutput { extension ListInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28679,7 +28679,7 @@ extension ListInvitationsOutput { extension ListMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28692,7 +28692,7 @@ extension ListMembersOutput { extension ListOrganizationAdminAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationAdminAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationAdminAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28705,7 +28705,7 @@ extension ListOrganizationAdminAccountsOutput { extension ListSecurityControlDefinitionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityControlDefinitionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityControlDefinitionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28718,7 +28718,7 @@ extension ListSecurityControlDefinitionsOutput { extension ListStandardsControlAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStandardsControlAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStandardsControlAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28731,7 +28731,7 @@ extension ListStandardsControlAssociationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28743,7 +28743,7 @@ extension ListTagsForResourceOutput { extension StartConfigurationPolicyAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConfigurationPolicyAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConfigurationPolicyAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28761,35 +28761,35 @@ extension StartConfigurationPolicyAssociationOutput { extension StartConfigurationPolicyDisassociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartConfigurationPolicyDisassociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartConfigurationPolicyDisassociationOutput { return StartConfigurationPolicyDisassociationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateActionTargetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateActionTargetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateActionTargetOutput { return UpdateActionTargetOutput() } } extension UpdateConfigurationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConfigurationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConfigurationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28807,7 +28807,7 @@ extension UpdateConfigurationPolicyOutput { extension UpdateFindingAggregatorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFindingAggregatorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFindingAggregatorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -28822,49 +28822,49 @@ extension UpdateFindingAggregatorOutput { extension UpdateFindingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFindingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFindingsOutput { return UpdateFindingsOutput() } } extension UpdateInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInsightOutput { return UpdateInsightOutput() } } extension UpdateOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationConfigurationOutput { return UpdateOrganizationConfigurationOutput() } } extension UpdateSecurityControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityControlOutput { return UpdateSecurityControlOutput() } } extension UpdateSecurityHubConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSecurityHubConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSecurityHubConfigurationOutput { return UpdateSecurityHubConfigurationOutput() } } extension UpdateStandardsControlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateStandardsControlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateStandardsControlOutput { return UpdateStandardsControlOutput() } } enum AcceptAdministratorInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28882,7 +28882,7 @@ enum AcceptAdministratorInvitationOutputError { enum AcceptInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28900,7 +28900,7 @@ enum AcceptInvitationOutputError { enum BatchDeleteAutomationRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28918,7 +28918,7 @@ enum BatchDeleteAutomationRulesOutputError { enum BatchDisableStandardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28936,7 +28936,7 @@ enum BatchDisableStandardsOutputError { enum BatchEnableStandardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28954,7 +28954,7 @@ enum BatchEnableStandardsOutputError { enum BatchGetAutomationRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28973,7 +28973,7 @@ enum BatchGetAutomationRulesOutputError { enum BatchGetConfigurationPolicyAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -28992,7 +28992,7 @@ enum BatchGetConfigurationPolicyAssociationsOutputError { enum BatchGetSecurityControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29009,7 +29009,7 @@ enum BatchGetSecurityControlsOutputError { enum BatchGetStandardsControlAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29026,7 +29026,7 @@ enum BatchGetStandardsControlAssociationsOutputError { enum BatchImportFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29043,7 +29043,7 @@ enum BatchImportFindingsOutputError { enum BatchUpdateAutomationRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29061,7 +29061,7 @@ enum BatchUpdateAutomationRulesOutputError { enum BatchUpdateFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29078,7 +29078,7 @@ enum BatchUpdateFindingsOutputError { enum BatchUpdateStandardsControlAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29096,7 +29096,7 @@ enum BatchUpdateStandardsControlAssociationsOutputError { enum CreateActionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29114,7 +29114,7 @@ enum CreateActionTargetOutputError { enum CreateAutomationRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29132,7 +29132,7 @@ enum CreateAutomationRuleOutputError { enum CreateConfigurationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29151,7 +29151,7 @@ enum CreateConfigurationPolicyOutputError { enum CreateFindingAggregatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29169,7 +29169,7 @@ enum CreateFindingAggregatorOutputError { enum CreateInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29187,7 +29187,7 @@ enum CreateInsightOutputError { enum CreateMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29206,7 +29206,7 @@ enum CreateMembersOutputError { enum DeclineInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29223,7 +29223,7 @@ enum DeclineInvitationsOutputError { enum DeleteActionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29240,7 +29240,7 @@ enum DeleteActionTargetOutputError { enum DeleteConfigurationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29260,7 +29260,7 @@ enum DeleteConfigurationPolicyOutputError { enum DeleteFindingAggregatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29279,7 +29279,7 @@ enum DeleteFindingAggregatorOutputError { enum DeleteInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29297,7 +29297,7 @@ enum DeleteInsightOutputError { enum DeleteInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29315,7 +29315,7 @@ enum DeleteInvitationsOutputError { enum DeleteMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29333,7 +29333,7 @@ enum DeleteMembersOutputError { enum DescribeActionTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29350,7 +29350,7 @@ enum DescribeActionTargetsOutputError { enum DescribeHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29368,7 +29368,7 @@ enum DescribeHubOutputError { enum DescribeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29385,7 +29385,7 @@ enum DescribeOrganizationConfigurationOutputError { enum DescribeProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29402,7 +29402,7 @@ enum DescribeProductsOutputError { enum DescribeStandardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29418,7 +29418,7 @@ enum DescribeStandardsOutputError { enum DescribeStandardsControlsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29435,7 +29435,7 @@ enum DescribeStandardsControlsOutputError { enum DisableImportFindingsForProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29453,7 +29453,7 @@ enum DisableImportFindingsForProductOutputError { enum DisableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29471,7 +29471,7 @@ enum DisableOrganizationAdminAccountOutputError { enum DisableSecurityHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29489,7 +29489,7 @@ enum DisableSecurityHubOutputError { enum DisassociateFromAdministratorAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29507,7 +29507,7 @@ enum DisassociateFromAdministratorAccountOutputError { enum DisassociateFromMasterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29525,7 +29525,7 @@ enum DisassociateFromMasterAccountOutputError { enum DisassociateMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29544,7 +29544,7 @@ enum DisassociateMembersOutputError { enum EnableImportFindingsForProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29562,7 +29562,7 @@ enum EnableImportFindingsForProductOutputError { enum EnableOrganizationAdminAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29580,7 +29580,7 @@ enum EnableOrganizationAdminAccountOutputError { enum EnableSecurityHubOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29598,7 +29598,7 @@ enum EnableSecurityHubOutputError { enum GetAdministratorAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29616,7 +29616,7 @@ enum GetAdministratorAccountOutputError { enum GetConfigurationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29635,7 +29635,7 @@ enum GetConfigurationPolicyOutputError { enum GetConfigurationPolicyAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29654,7 +29654,7 @@ enum GetConfigurationPolicyAssociationOutputError { enum GetEnabledStandardsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29671,7 +29671,7 @@ enum GetEnabledStandardsOutputError { enum GetFindingAggregatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29690,7 +29690,7 @@ enum GetFindingAggregatorOutputError { enum GetFindingHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29707,7 +29707,7 @@ enum GetFindingHistoryOutputError { enum GetFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29724,7 +29724,7 @@ enum GetFindingsOutputError { enum GetInsightResultsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29742,7 +29742,7 @@ enum GetInsightResultsOutputError { enum GetInsightsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29760,7 +29760,7 @@ enum GetInsightsOutputError { enum GetInvitationsCountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29777,7 +29777,7 @@ enum GetInvitationsCountOutputError { enum GetMasterAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29795,7 +29795,7 @@ enum GetMasterAccountOutputError { enum GetMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29813,7 +29813,7 @@ enum GetMembersOutputError { enum GetSecurityControlDefinitionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29831,7 +29831,7 @@ enum GetSecurityControlDefinitionOutputError { enum InviteMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29849,7 +29849,7 @@ enum InviteMembersOutputError { enum ListAutomationRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29867,7 +29867,7 @@ enum ListAutomationRulesOutputError { enum ListConfigurationPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29885,7 +29885,7 @@ enum ListConfigurationPoliciesOutputError { enum ListConfigurationPolicyAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29903,7 +29903,7 @@ enum ListConfigurationPolicyAssociationsOutputError { enum ListEnabledProductsForImportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29919,7 +29919,7 @@ enum ListEnabledProductsForImportOutputError { enum ListFindingAggregatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29937,7 +29937,7 @@ enum ListFindingAggregatorsOutputError { enum ListInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29954,7 +29954,7 @@ enum ListInvitationsOutputError { enum ListMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29971,7 +29971,7 @@ enum ListMembersOutputError { enum ListOrganizationAdminAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -29988,7 +29988,7 @@ enum ListOrganizationAdminAccountsOutputError { enum ListSecurityControlDefinitionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30005,7 +30005,7 @@ enum ListSecurityControlDefinitionsOutputError { enum ListStandardsControlAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30022,7 +30022,7 @@ enum ListStandardsControlAssociationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30038,7 +30038,7 @@ enum ListTagsForResourceOutputError { enum StartConfigurationPolicyAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30057,7 +30057,7 @@ enum StartConfigurationPolicyAssociationOutputError { enum StartConfigurationPolicyDisassociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30076,7 +30076,7 @@ enum StartConfigurationPolicyDisassociationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30092,7 +30092,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30108,7 +30108,7 @@ enum UntagResourceOutputError { enum UpdateActionTargetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30125,7 +30125,7 @@ enum UpdateActionTargetOutputError { enum UpdateConfigurationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30145,7 +30145,7 @@ enum UpdateConfigurationPolicyOutputError { enum UpdateFindingAggregatorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30164,7 +30164,7 @@ enum UpdateFindingAggregatorOutputError { enum UpdateFindingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30182,7 +30182,7 @@ enum UpdateFindingsOutputError { enum UpdateInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30200,7 +30200,7 @@ enum UpdateInsightOutputError { enum UpdateOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30220,7 +30220,7 @@ enum UpdateOrganizationConfigurationOutputError { enum UpdateSecurityControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30240,7 +30240,7 @@ enum UpdateSecurityControlOutputError { enum UpdateSecurityHubConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -30259,7 +30259,7 @@ enum UpdateSecurityHubConfigurationOutputError { enum UpdateStandardsControlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/Models.swift b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/Models.swift index 2bb1a7405b8..add429d0a95 100644 --- a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/Models.swift +++ b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -39,7 +39,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -213,7 +213,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -241,7 +241,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +269,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -297,7 +297,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -331,7 +331,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2510,7 +2510,7 @@ extension UpdateSubscriberNotificationInput { extension CreateAwsLogSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAwsLogSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAwsLogSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2522,7 +2522,7 @@ extension CreateAwsLogSourceOutput { extension CreateCustomLogSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomLogSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomLogSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2534,7 +2534,7 @@ extension CreateCustomLogSourceOutput { extension CreateDataLakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataLakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataLakeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2546,21 +2546,21 @@ extension CreateDataLakeOutput { extension CreateDataLakeExceptionSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataLakeExceptionSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataLakeExceptionSubscriptionOutput { return CreateDataLakeExceptionSubscriptionOutput() } } extension CreateDataLakeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDataLakeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataLakeOrganizationConfigurationOutput { return CreateDataLakeOrganizationConfigurationOutput() } } extension CreateSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2572,7 +2572,7 @@ extension CreateSubscriberOutput { extension CreateSubscriberNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriberNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriberNotificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2584,7 +2584,7 @@ extension CreateSubscriberNotificationOutput { extension DeleteAwsLogSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAwsLogSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAwsLogSourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2596,56 +2596,56 @@ extension DeleteAwsLogSourceOutput { extension DeleteCustomLogSourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomLogSourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomLogSourceOutput { return DeleteCustomLogSourceOutput() } } extension DeleteDataLakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataLakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataLakeOutput { return DeleteDataLakeOutput() } } extension DeleteDataLakeExceptionSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataLakeExceptionSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataLakeExceptionSubscriptionOutput { return DeleteDataLakeExceptionSubscriptionOutput() } } extension DeleteDataLakeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDataLakeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataLakeOrganizationConfigurationOutput { return DeleteDataLakeOrganizationConfigurationOutput() } } extension DeleteSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriberOutput { return DeleteSubscriberOutput() } } extension DeleteSubscriberNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriberNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriberNotificationOutput { return DeleteSubscriberNotificationOutput() } } extension DeregisterDataLakeDelegatedAdministratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterDataLakeDelegatedAdministratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterDataLakeDelegatedAdministratorOutput { return DeregisterDataLakeDelegatedAdministratorOutput() } } extension GetDataLakeExceptionSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataLakeExceptionSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataLakeExceptionSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2659,7 +2659,7 @@ extension GetDataLakeExceptionSubscriptionOutput { extension GetDataLakeOrganizationConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataLakeOrganizationConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataLakeOrganizationConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2671,7 +2671,7 @@ extension GetDataLakeOrganizationConfigurationOutput { extension GetDataLakeSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDataLakeSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataLakeSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2685,7 +2685,7 @@ extension GetDataLakeSourcesOutput { extension GetSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2697,7 +2697,7 @@ extension GetSubscriberOutput { extension ListDataLakeExceptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataLakeExceptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataLakeExceptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2710,7 +2710,7 @@ extension ListDataLakeExceptionsOutput { extension ListDataLakesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDataLakesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataLakesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2722,7 +2722,7 @@ extension ListDataLakesOutput { extension ListLogSourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLogSourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLogSourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2735,7 +2735,7 @@ extension ListLogSourcesOutput { extension ListSubscribersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscribersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscribersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2748,7 +2748,7 @@ extension ListSubscribersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2760,28 +2760,28 @@ extension ListTagsForResourceOutput { extension RegisterDataLakeDelegatedAdministratorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterDataLakeDelegatedAdministratorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterDataLakeDelegatedAdministratorOutput { return RegisterDataLakeDelegatedAdministratorOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDataLakeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataLakeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataLakeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2793,14 +2793,14 @@ extension UpdateDataLakeOutput { extension UpdateDataLakeExceptionSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDataLakeExceptionSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataLakeExceptionSubscriptionOutput { return UpdateDataLakeExceptionSubscriptionOutput() } } extension UpdateSubscriberOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriberOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriberOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2812,7 +2812,7 @@ extension UpdateSubscriberOutput { extension UpdateSubscriberNotificationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriberNotificationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriberNotificationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2824,7 +2824,7 @@ extension UpdateSubscriberNotificationOutput { enum CreateAwsLogSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2843,7 +2843,7 @@ enum CreateAwsLogSourceOutputError { enum CreateCustomLogSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2862,7 +2862,7 @@ enum CreateCustomLogSourceOutputError { enum CreateDataLakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2881,7 +2881,7 @@ enum CreateDataLakeOutputError { enum CreateDataLakeExceptionSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2900,7 +2900,7 @@ enum CreateDataLakeExceptionSubscriptionOutputError { enum CreateDataLakeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2919,7 +2919,7 @@ enum CreateDataLakeOrganizationConfigurationOutputError { enum CreateSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2938,7 +2938,7 @@ enum CreateSubscriberOutputError { enum CreateSubscriberNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2957,7 +2957,7 @@ enum CreateSubscriberNotificationOutputError { enum DeleteAwsLogSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2976,7 +2976,7 @@ enum DeleteAwsLogSourceOutputError { enum DeleteCustomLogSourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2995,7 +2995,7 @@ enum DeleteCustomLogSourceOutputError { enum DeleteDataLakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3014,7 +3014,7 @@ enum DeleteDataLakeOutputError { enum DeleteDataLakeExceptionSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3033,7 +3033,7 @@ enum DeleteDataLakeExceptionSubscriptionOutputError { enum DeleteDataLakeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3052,7 +3052,7 @@ enum DeleteDataLakeOrganizationConfigurationOutputError { enum DeleteSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3071,7 +3071,7 @@ enum DeleteSubscriberOutputError { enum DeleteSubscriberNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3090,7 +3090,7 @@ enum DeleteSubscriberNotificationOutputError { enum DeregisterDataLakeDelegatedAdministratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3109,7 +3109,7 @@ enum DeregisterDataLakeDelegatedAdministratorOutputError { enum GetDataLakeExceptionSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3128,7 +3128,7 @@ enum GetDataLakeExceptionSubscriptionOutputError { enum GetDataLakeOrganizationConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3147,7 +3147,7 @@ enum GetDataLakeOrganizationConfigurationOutputError { enum GetDataLakeSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3166,7 +3166,7 @@ enum GetDataLakeSourcesOutputError { enum GetSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3185,7 +3185,7 @@ enum GetSubscriberOutputError { enum ListDataLakeExceptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3204,7 +3204,7 @@ enum ListDataLakeExceptionsOutputError { enum ListDataLakesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3223,7 +3223,7 @@ enum ListDataLakesOutputError { enum ListLogSourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3242,7 +3242,7 @@ enum ListLogSourcesOutputError { enum ListSubscribersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3261,7 +3261,7 @@ enum ListSubscribersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3280,7 +3280,7 @@ enum ListTagsForResourceOutputError { enum RegisterDataLakeDelegatedAdministratorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3299,7 +3299,7 @@ enum RegisterDataLakeDelegatedAdministratorOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3318,7 +3318,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3337,7 +3337,7 @@ enum UntagResourceOutputError { enum UpdateDataLakeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3356,7 +3356,7 @@ enum UpdateDataLakeOutputError { enum UpdateDataLakeExceptionSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3375,7 +3375,7 @@ enum UpdateDataLakeExceptionSubscriptionOutputError { enum UpdateSubscriberOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3394,7 +3394,7 @@ enum UpdateSubscriberOutputError { enum UpdateSubscriberNotificationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/Models.swift b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/Models.swift index 203546b0d62..588ef378c12 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/Models.swift +++ b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -346,7 +346,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -375,7 +375,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -404,7 +404,7 @@ public struct ForbiddenException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -433,7 +433,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -462,7 +462,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -861,7 +861,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1679,7 +1679,7 @@ extension UpdateApplicationInput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1703,7 +1703,7 @@ extension CreateApplicationOutput { extension CreateApplicationVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1723,7 +1723,7 @@ extension CreateApplicationVersionOutput { extension CreateCloudFormationChangeSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCloudFormationChangeSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudFormationChangeSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1738,7 +1738,7 @@ extension CreateCloudFormationChangeSetOutput { extension CreateCloudFormationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCloudFormationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCloudFormationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1756,14 +1756,14 @@ extension CreateCloudFormationTemplateOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { return DeleteApplicationOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1787,7 +1787,7 @@ extension GetApplicationOutput { extension GetApplicationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1799,7 +1799,7 @@ extension GetApplicationPolicyOutput { extension GetCloudFormationTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCloudFormationTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCloudFormationTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1817,7 +1817,7 @@ extension GetCloudFormationTemplateOutput { extension ListApplicationDependenciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationDependenciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationDependenciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1830,7 +1830,7 @@ extension ListApplicationDependenciesOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1843,7 +1843,7 @@ extension ListApplicationsOutput { extension ListApplicationVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1856,7 +1856,7 @@ extension ListApplicationVersionsOutput { extension PutApplicationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutApplicationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutApplicationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1868,14 +1868,14 @@ extension PutApplicationPolicyOutput { extension UnshareApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UnshareApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UnshareApplicationOutput { return UnshareApplicationOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1899,7 +1899,7 @@ extension UpdateApplicationOutput { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1917,7 +1917,7 @@ enum CreateApplicationOutputError { enum CreateApplicationVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1935,7 +1935,7 @@ enum CreateApplicationVersionOutputError { enum CreateCloudFormationChangeSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1952,7 +1952,7 @@ enum CreateCloudFormationChangeSetOutputError { enum CreateCloudFormationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1970,7 +1970,7 @@ enum CreateCloudFormationTemplateOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1989,7 +1989,7 @@ enum DeleteApplicationOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2007,7 +2007,7 @@ enum GetApplicationOutputError { enum GetApplicationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2025,7 +2025,7 @@ enum GetApplicationPolicyOutputError { enum GetCloudFormationTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2043,7 +2043,7 @@ enum GetCloudFormationTemplateOutputError { enum ListApplicationDependenciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2061,7 +2061,7 @@ enum ListApplicationDependenciesOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2078,7 +2078,7 @@ enum ListApplicationsOutputError { enum ListApplicationVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2096,7 +2096,7 @@ enum ListApplicationVersionsOutputError { enum PutApplicationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2114,7 +2114,7 @@ enum PutApplicationPolicyOutputError { enum UnshareApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2132,7 +2132,7 @@ enum UnshareApplicationOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/Models.swift b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/Models.swift index 3cc82510e9d..dd863036b7b 100644 --- a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/Models.swift +++ b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -38,7 +38,7 @@ public struct InvalidParametersException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -62,7 +62,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -293,7 +293,7 @@ public struct DuplicateResourceException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -499,7 +499,7 @@ public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -523,7 +523,7 @@ public struct TagOptionNotMigratedException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1084,7 +1084,7 @@ public struct OperationNotSupportedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2235,7 +2235,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8987,49 +8987,49 @@ extension UpdateTagOptionInput { extension AcceptPortfolioShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptPortfolioShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptPortfolioShareOutput { return AcceptPortfolioShareOutput() } } extension AssociateBudgetWithResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateBudgetWithResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateBudgetWithResourceOutput { return AssociateBudgetWithResourceOutput() } } extension AssociatePrincipalWithPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociatePrincipalWithPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociatePrincipalWithPortfolioOutput { return AssociatePrincipalWithPortfolioOutput() } } extension AssociateProductWithPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateProductWithPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateProductWithPortfolioOutput { return AssociateProductWithPortfolioOutput() } } extension AssociateServiceActionWithProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateServiceActionWithProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateServiceActionWithProvisioningArtifactOutput { return AssociateServiceActionWithProvisioningArtifactOutput() } } extension AssociateTagOptionWithResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTagOptionWithResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTagOptionWithResourceOutput { return AssociateTagOptionWithResourceOutput() } } extension BatchAssociateServiceActionWithProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchAssociateServiceActionWithProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchAssociateServiceActionWithProvisioningArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9041,7 +9041,7 @@ extension BatchAssociateServiceActionWithProvisioningArtifactOutput { extension BatchDisassociateServiceActionFromProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDisassociateServiceActionFromProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDisassociateServiceActionFromProvisioningArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9053,7 +9053,7 @@ extension BatchDisassociateServiceActionFromProvisioningArtifactOutput { extension CopyProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9065,7 +9065,7 @@ extension CopyProductOutput { extension CreateConstraintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConstraintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConstraintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9079,7 +9079,7 @@ extension CreateConstraintOutput { extension CreatePortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePortfolioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9092,7 +9092,7 @@ extension CreatePortfolioOutput { extension CreatePortfolioShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePortfolioShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePortfolioShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9104,7 +9104,7 @@ extension CreatePortfolioShareOutput { extension CreateProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9118,7 +9118,7 @@ extension CreateProductOutput { extension CreateProvisionedProductPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProvisionedProductPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProvisionedProductPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9134,7 +9134,7 @@ extension CreateProvisionedProductPlanOutput { extension CreateProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProvisioningArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9148,7 +9148,7 @@ extension CreateProvisioningArtifactOutput { extension CreateServiceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9160,7 +9160,7 @@ extension CreateServiceActionOutput { extension CreateTagOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagOptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9172,21 +9172,21 @@ extension CreateTagOptionOutput { extension DeleteConstraintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConstraintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConstraintOutput { return DeleteConstraintOutput() } } extension DeletePortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePortfolioOutput { return DeletePortfolioOutput() } } extension DeletePortfolioShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePortfolioShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePortfolioShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9198,42 +9198,42 @@ extension DeletePortfolioShareOutput { extension DeleteProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProductOutput { return DeleteProductOutput() } } extension DeleteProvisionedProductPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProvisionedProductPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProvisionedProductPlanOutput { return DeleteProvisionedProductPlanOutput() } } extension DeleteProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProvisioningArtifactOutput { return DeleteProvisioningArtifactOutput() } } extension DeleteServiceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceActionOutput { return DeleteServiceActionOutput() } } extension DeleteTagOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagOptionOutput { return DeleteTagOptionOutput() } } extension DescribeConstraintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConstraintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConstraintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9247,7 +9247,7 @@ extension DescribeConstraintOutput { extension DescribeCopyProductStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCopyProductStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCopyProductStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9261,7 +9261,7 @@ extension DescribeCopyProductStatusOutput { extension DescribePortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePortfolioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9276,7 +9276,7 @@ extension DescribePortfolioOutput { extension DescribePortfolioSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePortfolioSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePortfolioSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9289,7 +9289,7 @@ extension DescribePortfolioSharesOutput { extension DescribePortfolioShareStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribePortfolioShareStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribePortfolioShareStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9305,7 +9305,7 @@ extension DescribePortfolioShareStatusOutput { extension DescribeProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9320,7 +9320,7 @@ extension DescribeProductOutput { extension DescribeProductAsAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProductAsAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProductAsAdminOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9336,7 +9336,7 @@ extension DescribeProductAsAdminOutput { extension DescribeProductViewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProductViewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProductViewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9349,7 +9349,7 @@ extension DescribeProductViewOutput { extension DescribeProvisionedProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProvisionedProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProvisionedProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9362,7 +9362,7 @@ extension DescribeProvisionedProductOutput { extension DescribeProvisionedProductPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProvisionedProductPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProvisionedProductPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9376,7 +9376,7 @@ extension DescribeProvisionedProductPlanOutput { extension DescribeProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProvisioningArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9391,7 +9391,7 @@ extension DescribeProvisioningArtifactOutput { extension DescribeProvisioningParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProvisioningParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProvisioningParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9409,7 +9409,7 @@ extension DescribeProvisioningParametersOutput { extension DescribeRecordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRecordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRecordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9423,7 +9423,7 @@ extension DescribeRecordOutput { extension DescribeServiceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9435,7 +9435,7 @@ extension DescribeServiceActionOutput { extension DescribeServiceActionExecutionParametersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServiceActionExecutionParametersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServiceActionExecutionParametersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9447,7 +9447,7 @@ extension DescribeServiceActionExecutionParametersOutput { extension DescribeTagOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagOptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9459,56 +9459,56 @@ extension DescribeTagOptionOutput { extension DisableAWSOrganizationsAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableAWSOrganizationsAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableAWSOrganizationsAccessOutput { return DisableAWSOrganizationsAccessOutput() } } extension DisassociateBudgetFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateBudgetFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateBudgetFromResourceOutput { return DisassociateBudgetFromResourceOutput() } } extension DisassociatePrincipalFromPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociatePrincipalFromPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociatePrincipalFromPortfolioOutput { return DisassociatePrincipalFromPortfolioOutput() } } extension DisassociateProductFromPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateProductFromPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateProductFromPortfolioOutput { return DisassociateProductFromPortfolioOutput() } } extension DisassociateServiceActionFromProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateServiceActionFromProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateServiceActionFromProvisioningArtifactOutput { return DisassociateServiceActionFromProvisioningArtifactOutput() } } extension DisassociateTagOptionFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTagOptionFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTagOptionFromResourceOutput { return DisassociateTagOptionFromResourceOutput() } } extension EnableAWSOrganizationsAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableAWSOrganizationsAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableAWSOrganizationsAccessOutput { return EnableAWSOrganizationsAccessOutput() } } extension ExecuteProvisionedProductPlanOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteProvisionedProductPlanOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteProvisionedProductPlanOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9520,7 +9520,7 @@ extension ExecuteProvisionedProductPlanOutput { extension ExecuteProvisionedProductServiceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteProvisionedProductServiceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteProvisionedProductServiceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9532,7 +9532,7 @@ extension ExecuteProvisionedProductServiceActionOutput { extension GetAWSOrganizationsAccessStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAWSOrganizationsAccessStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAWSOrganizationsAccessStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9544,7 +9544,7 @@ extension GetAWSOrganizationsAccessStatusOutput { extension GetProvisionedProductOutputsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProvisionedProductOutputsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProvisionedProductOutputsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9557,7 +9557,7 @@ extension GetProvisionedProductOutputsOutput { extension ImportAsProvisionedProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportAsProvisionedProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportAsProvisionedProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9569,7 +9569,7 @@ extension ImportAsProvisionedProductOutput { extension ListAcceptedPortfolioSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAcceptedPortfolioSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAcceptedPortfolioSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9582,7 +9582,7 @@ extension ListAcceptedPortfolioSharesOutput { extension ListBudgetsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBudgetsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBudgetsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9595,7 +9595,7 @@ extension ListBudgetsForResourceOutput { extension ListConstraintsForPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConstraintsForPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConstraintsForPortfolioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9608,7 +9608,7 @@ extension ListConstraintsForPortfolioOutput { extension ListLaunchPathsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLaunchPathsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLaunchPathsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9621,7 +9621,7 @@ extension ListLaunchPathsOutput { extension ListOrganizationPortfolioAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationPortfolioAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationPortfolioAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9634,7 +9634,7 @@ extension ListOrganizationPortfolioAccessOutput { extension ListPortfolioAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPortfolioAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPortfolioAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9647,7 +9647,7 @@ extension ListPortfolioAccessOutput { extension ListPortfoliosOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPortfoliosOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPortfoliosOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9660,7 +9660,7 @@ extension ListPortfoliosOutput { extension ListPortfoliosForProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPortfoliosForProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPortfoliosForProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9673,7 +9673,7 @@ extension ListPortfoliosForProductOutput { extension ListPrincipalsForPortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPrincipalsForPortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrincipalsForPortfolioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9686,7 +9686,7 @@ extension ListPrincipalsForPortfolioOutput { extension ListProvisionedProductPlansOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisionedProductPlansOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisionedProductPlansOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9699,7 +9699,7 @@ extension ListProvisionedProductPlansOutput { extension ListProvisioningArtifactsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisioningArtifactsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisioningArtifactsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9712,7 +9712,7 @@ extension ListProvisioningArtifactsOutput { extension ListProvisioningArtifactsForServiceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProvisioningArtifactsForServiceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisioningArtifactsForServiceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9725,7 +9725,7 @@ extension ListProvisioningArtifactsForServiceActionOutput { extension ListRecordHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecordHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecordHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9738,7 +9738,7 @@ extension ListRecordHistoryOutput { extension ListResourcesForTagOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesForTagOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesForTagOptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9751,7 +9751,7 @@ extension ListResourcesForTagOptionOutput { extension ListServiceActionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceActionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceActionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9764,7 +9764,7 @@ extension ListServiceActionsOutput { extension ListServiceActionsForProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceActionsForProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceActionsForProvisioningArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9777,7 +9777,7 @@ extension ListServiceActionsForProvisioningArtifactOutput { extension ListStackInstancesForProvisionedProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListStackInstancesForProvisionedProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListStackInstancesForProvisionedProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9790,7 +9790,7 @@ extension ListStackInstancesForProvisionedProductOutput { extension ListTagOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9803,28 +9803,28 @@ extension ListTagOptionsOutput { extension NotifyProvisionProductEngineWorkflowResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyProvisionProductEngineWorkflowResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyProvisionProductEngineWorkflowResultOutput { return NotifyProvisionProductEngineWorkflowResultOutput() } } extension NotifyTerminateProvisionedProductEngineWorkflowResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyTerminateProvisionedProductEngineWorkflowResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyTerminateProvisionedProductEngineWorkflowResultOutput { return NotifyTerminateProvisionedProductEngineWorkflowResultOutput() } } extension NotifyUpdateProvisionedProductEngineWorkflowResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyUpdateProvisionedProductEngineWorkflowResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyUpdateProvisionedProductEngineWorkflowResultOutput { return NotifyUpdateProvisionedProductEngineWorkflowResultOutput() } } extension ProvisionProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ProvisionProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ProvisionProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9836,14 +9836,14 @@ extension ProvisionProductOutput { extension RejectPortfolioShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectPortfolioShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectPortfolioShareOutput { return RejectPortfolioShareOutput() } } extension ScanProvisionedProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ScanProvisionedProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ScanProvisionedProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9856,7 +9856,7 @@ extension ScanProvisionedProductsOutput { extension SearchProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9870,7 +9870,7 @@ extension SearchProductsOutput { extension SearchProductsAsAdminOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchProductsAsAdminOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchProductsAsAdminOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9883,7 +9883,7 @@ extension SearchProductsAsAdminOutput { extension SearchProvisionedProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchProvisionedProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchProvisionedProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9897,7 +9897,7 @@ extension SearchProvisionedProductsOutput { extension TerminateProvisionedProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateProvisionedProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateProvisionedProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9909,7 +9909,7 @@ extension TerminateProvisionedProductOutput { extension UpdateConstraintOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConstraintOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConstraintOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9923,7 +9923,7 @@ extension UpdateConstraintOutput { extension UpdatePortfolioOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePortfolioOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePortfolioOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9936,7 +9936,7 @@ extension UpdatePortfolioOutput { extension UpdatePortfolioShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePortfolioShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePortfolioShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9949,7 +9949,7 @@ extension UpdatePortfolioShareOutput { extension UpdateProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9962,7 +9962,7 @@ extension UpdateProductOutput { extension UpdateProvisionedProductOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProvisionedProductOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProvisionedProductOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9974,7 +9974,7 @@ extension UpdateProvisionedProductOutput { extension UpdateProvisionedProductPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProvisionedProductPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProvisionedProductPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9989,7 +9989,7 @@ extension UpdateProvisionedProductPropertiesOutput { extension UpdateProvisioningArtifactOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProvisioningArtifactOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProvisioningArtifactOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10003,7 +10003,7 @@ extension UpdateProvisioningArtifactOutput { extension UpdateServiceActionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceActionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceActionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10015,7 +10015,7 @@ extension UpdateServiceActionOutput { extension UpdateTagOptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTagOptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTagOptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -10027,7 +10027,7 @@ extension UpdateTagOptionOutput { enum AcceptPortfolioShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10043,7 +10043,7 @@ enum AcceptPortfolioShareOutputError { enum AssociateBudgetWithResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10060,7 +10060,7 @@ enum AssociateBudgetWithResourceOutputError { enum AssociatePrincipalWithPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10076,7 +10076,7 @@ enum AssociatePrincipalWithPortfolioOutputError { enum AssociateProductWithPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10092,7 +10092,7 @@ enum AssociateProductWithPortfolioOutputError { enum AssociateServiceActionWithProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10109,7 +10109,7 @@ enum AssociateServiceActionWithProvisioningArtifactOutputError { enum AssociateTagOptionWithResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10128,7 +10128,7 @@ enum AssociateTagOptionWithResourceOutputError { enum BatchAssociateServiceActionWithProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10142,7 +10142,7 @@ enum BatchAssociateServiceActionWithProvisioningArtifactOutputError { enum BatchDisassociateServiceActionFromProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10156,7 +10156,7 @@ enum BatchDisassociateServiceActionFromProvisioningArtifactOutputError { enum CopyProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10171,7 +10171,7 @@ enum CopyProductOutputError { enum CreateConstraintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10188,7 +10188,7 @@ enum CreateConstraintOutputError { enum CreatePortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10204,7 +10204,7 @@ enum CreatePortfolioOutputError { enum CreatePortfolioShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10222,7 +10222,7 @@ enum CreatePortfolioShareOutputError { enum CreateProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10238,7 +10238,7 @@ enum CreateProductOutputError { enum CreateProvisionedProductPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10254,7 +10254,7 @@ enum CreateProvisionedProductPlanOutputError { enum CreateProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10270,7 +10270,7 @@ enum CreateProvisioningArtifactOutputError { enum CreateServiceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10285,7 +10285,7 @@ enum CreateServiceActionOutputError { enum CreateTagOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10301,7 +10301,7 @@ enum CreateTagOptionOutputError { enum DeleteConstraintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10316,7 +10316,7 @@ enum DeleteConstraintOutputError { enum DeletePortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10333,7 +10333,7 @@ enum DeletePortfolioOutputError { enum DeletePortfolioShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10350,7 +10350,7 @@ enum DeletePortfolioShareOutputError { enum DeleteProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10367,7 +10367,7 @@ enum DeleteProductOutputError { enum DeleteProvisionedProductPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10382,7 +10382,7 @@ enum DeleteProvisionedProductPlanOutputError { enum DeleteProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10398,7 +10398,7 @@ enum DeleteProvisioningArtifactOutputError { enum DeleteServiceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10413,7 +10413,7 @@ enum DeleteServiceActionOutputError { enum DeleteTagOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10429,7 +10429,7 @@ enum DeleteTagOptionOutputError { enum DescribeConstraintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10443,7 +10443,7 @@ enum DescribeConstraintOutputError { enum DescribeCopyProductStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10457,7 +10457,7 @@ enum DescribeCopyProductStatusOutputError { enum DescribePortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10471,7 +10471,7 @@ enum DescribePortfolioOutputError { enum DescribePortfolioSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10486,7 +10486,7 @@ enum DescribePortfolioSharesOutputError { enum DescribePortfolioShareStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10502,7 +10502,7 @@ enum DescribePortfolioShareStatusOutputError { enum DescribeProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10517,7 +10517,7 @@ enum DescribeProductOutputError { enum DescribeProductAsAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10532,7 +10532,7 @@ enum DescribeProductAsAdminOutputError { enum DescribeProductViewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10547,7 +10547,7 @@ enum DescribeProductViewOutputError { enum DescribeProvisionedProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10562,7 +10562,7 @@ enum DescribeProvisionedProductOutputError { enum DescribeProvisionedProductPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10577,7 +10577,7 @@ enum DescribeProvisionedProductPlanOutputError { enum DescribeProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10592,7 +10592,7 @@ enum DescribeProvisioningArtifactOutputError { enum DescribeProvisioningParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10607,7 +10607,7 @@ enum DescribeProvisioningParametersOutputError { enum DescribeRecordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10621,7 +10621,7 @@ enum DescribeRecordOutputError { enum DescribeServiceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10635,7 +10635,7 @@ enum DescribeServiceActionOutputError { enum DescribeServiceActionExecutionParametersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10650,7 +10650,7 @@ enum DescribeServiceActionExecutionParametersOutputError { enum DescribeTagOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10665,7 +10665,7 @@ enum DescribeTagOptionOutputError { enum DisableAWSOrganizationsAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10681,7 +10681,7 @@ enum DisableAWSOrganizationsAccessOutputError { enum DisassociateBudgetFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10695,7 +10695,7 @@ enum DisassociateBudgetFromResourceOutputError { enum DisassociatePrincipalFromPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10710,7 +10710,7 @@ enum DisassociatePrincipalFromPortfolioOutputError { enum DisassociateProductFromPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10726,7 +10726,7 @@ enum DisassociateProductFromPortfolioOutputError { enum DisassociateServiceActionFromProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10740,7 +10740,7 @@ enum DisassociateServiceActionFromProvisioningArtifactOutputError { enum DisassociateTagOptionFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10755,7 +10755,7 @@ enum DisassociateTagOptionFromResourceOutputError { enum EnableAWSOrganizationsAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10771,7 +10771,7 @@ enum EnableAWSOrganizationsAccessOutputError { enum ExecuteProvisionedProductPlanOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10787,7 +10787,7 @@ enum ExecuteProvisionedProductPlanOutputError { enum ExecuteProvisionedProductServiceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10803,7 +10803,7 @@ enum ExecuteProvisionedProductServiceActionOutputError { enum GetAWSOrganizationsAccessStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10818,7 +10818,7 @@ enum GetAWSOrganizationsAccessStatusOutputError { enum GetProvisionedProductOutputsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10833,7 +10833,7 @@ enum GetProvisionedProductOutputsOutputError { enum ImportAsProvisionedProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10850,7 +10850,7 @@ enum ImportAsProvisionedProductOutputError { enum ListAcceptedPortfolioSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10865,7 +10865,7 @@ enum ListAcceptedPortfolioSharesOutputError { enum ListBudgetsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10880,7 +10880,7 @@ enum ListBudgetsForResourceOutputError { enum ListConstraintsForPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10895,7 +10895,7 @@ enum ListConstraintsForPortfolioOutputError { enum ListLaunchPathsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10910,7 +10910,7 @@ enum ListLaunchPathsOutputError { enum ListOrganizationPortfolioAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10926,7 +10926,7 @@ enum ListOrganizationPortfolioAccessOutputError { enum ListPortfolioAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10941,7 +10941,7 @@ enum ListPortfolioAccessOutputError { enum ListPortfoliosOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10955,7 +10955,7 @@ enum ListPortfoliosOutputError { enum ListPortfoliosForProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10970,7 +10970,7 @@ enum ListPortfoliosForProductOutputError { enum ListPrincipalsForPortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10985,7 +10985,7 @@ enum ListPrincipalsForPortfolioOutputError { enum ListProvisionedProductPlansOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11000,7 +11000,7 @@ enum ListProvisionedProductPlansOutputError { enum ListProvisioningArtifactsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11015,7 +11015,7 @@ enum ListProvisioningArtifactsOutputError { enum ListProvisioningArtifactsForServiceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11030,7 +11030,7 @@ enum ListProvisioningArtifactsForServiceActionOutputError { enum ListRecordHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11044,7 +11044,7 @@ enum ListRecordHistoryOutputError { enum ListResourcesForTagOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11060,7 +11060,7 @@ enum ListResourcesForTagOptionOutputError { enum ListServiceActionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11074,7 +11074,7 @@ enum ListServiceActionsOutputError { enum ListServiceActionsForProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11089,7 +11089,7 @@ enum ListServiceActionsForProvisioningArtifactOutputError { enum ListStackInstancesForProvisionedProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11104,7 +11104,7 @@ enum ListStackInstancesForProvisionedProductOutputError { enum ListTagOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11119,7 +11119,7 @@ enum ListTagOptionsOutputError { enum NotifyProvisionProductEngineWorkflowResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11134,7 +11134,7 @@ enum NotifyProvisionProductEngineWorkflowResultOutputError { enum NotifyTerminateProvisionedProductEngineWorkflowResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11149,7 +11149,7 @@ enum NotifyTerminateProvisionedProductEngineWorkflowResultOutputError { enum NotifyUpdateProvisionedProductEngineWorkflowResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11164,7 +11164,7 @@ enum NotifyUpdateProvisionedProductEngineWorkflowResultOutputError { enum ProvisionProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11180,7 +11180,7 @@ enum ProvisionProductOutputError { enum RejectPortfolioShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11194,7 +11194,7 @@ enum RejectPortfolioShareOutputError { enum ScanProvisionedProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11208,7 +11208,7 @@ enum ScanProvisionedProductsOutputError { enum SearchProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11222,7 +11222,7 @@ enum SearchProductsOutputError { enum SearchProductsAsAdminOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11237,7 +11237,7 @@ enum SearchProductsAsAdminOutputError { enum SearchProvisionedProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11251,7 +11251,7 @@ enum SearchProvisionedProductsOutputError { enum TerminateProvisionedProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11265,7 +11265,7 @@ enum TerminateProvisionedProductOutputError { enum UpdateConstraintOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11280,7 +11280,7 @@ enum UpdateConstraintOutputError { enum UpdatePortfolioOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11297,7 +11297,7 @@ enum UpdatePortfolioOutputError { enum UpdatePortfolioShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11314,7 +11314,7 @@ enum UpdatePortfolioShareOutputError { enum UpdateProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11330,7 +11330,7 @@ enum UpdateProductOutputError { enum UpdateProvisionedProductOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11345,7 +11345,7 @@ enum UpdateProvisionedProductOutputError { enum UpdateProvisionedProductPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11361,7 +11361,7 @@ enum UpdateProvisionedProductPropertiesOutputError { enum UpdateProvisioningArtifactOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11376,7 +11376,7 @@ enum UpdateProvisioningArtifactOutputError { enum UpdateServiceActionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -11391,7 +11391,7 @@ enum UpdateServiceActionOutputError { enum UpdateTagOptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/Models.swift b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/Models.swift index 42376b53eac..7b40284aabc 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/Models.swift +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -247,7 +247,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -271,7 +271,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -295,7 +295,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -319,7 +319,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -343,7 +343,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -405,7 +405,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2066,7 +2066,7 @@ extension UpdateAttributeGroupInput { extension AssociateAttributeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateAttributeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAttributeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2079,7 +2079,7 @@ extension AssociateAttributeGroupOutput { extension AssociateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2093,7 +2093,7 @@ extension AssociateResourceOutput { extension CreateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2105,7 +2105,7 @@ extension CreateApplicationOutput { extension CreateAttributeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAttributeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAttributeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2117,7 +2117,7 @@ extension CreateAttributeGroupOutput { extension DeleteApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2129,7 +2129,7 @@ extension DeleteApplicationOutput { extension DeleteAttributeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAttributeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAttributeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2141,7 +2141,7 @@ extension DeleteAttributeGroupOutput { extension DisassociateAttributeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateAttributeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateAttributeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2154,7 +2154,7 @@ extension DisassociateAttributeGroupOutput { extension DisassociateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2167,7 +2167,7 @@ extension DisassociateResourceOutput { extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2188,7 +2188,7 @@ extension GetApplicationOutput { extension GetAssociatedResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssociatedResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssociatedResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2202,7 +2202,7 @@ extension GetAssociatedResourceOutput { extension GetAttributeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAttributeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAttributeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2222,7 +2222,7 @@ extension GetAttributeGroupOutput { extension GetConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2234,7 +2234,7 @@ extension GetConfigurationOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2247,7 +2247,7 @@ extension ListApplicationsOutput { extension ListAssociatedAttributeGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedAttributeGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedAttributeGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2260,7 +2260,7 @@ extension ListAssociatedAttributeGroupsOutput { extension ListAssociatedResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2273,7 +2273,7 @@ extension ListAssociatedResourcesOutput { extension ListAttributeGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttributeGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttributeGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2286,7 +2286,7 @@ extension ListAttributeGroupsOutput { extension ListAttributeGroupsForApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttributeGroupsForApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttributeGroupsForApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2299,7 +2299,7 @@ extension ListAttributeGroupsForApplicationOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2311,14 +2311,14 @@ extension ListTagsForResourceOutput { extension PutConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConfigurationOutput { return PutConfigurationOutput() } } extension SyncResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SyncResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SyncResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2332,21 +2332,21 @@ extension SyncResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2358,7 +2358,7 @@ extension UpdateApplicationOutput { extension UpdateAttributeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAttributeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAttributeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2370,7 +2370,7 @@ extension UpdateAttributeGroupOutput { enum AssociateAttributeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2388,7 +2388,7 @@ enum AssociateAttributeGroupOutputError { enum AssociateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2407,7 +2407,7 @@ enum AssociateResourceOutputError { enum CreateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2425,7 +2425,7 @@ enum CreateApplicationOutputError { enum CreateAttributeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2442,7 +2442,7 @@ enum CreateAttributeGroupOutputError { enum DeleteApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2458,7 +2458,7 @@ enum DeleteApplicationOutputError { enum DeleteAttributeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2474,7 +2474,7 @@ enum DeleteAttributeGroupOutputError { enum DisassociateAttributeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2490,7 +2490,7 @@ enum DisassociateAttributeGroupOutputError { enum DisassociateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2507,7 +2507,7 @@ enum DisassociateResourceOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2524,7 +2524,7 @@ enum GetApplicationOutputError { enum GetAssociatedResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2540,7 +2540,7 @@ enum GetAssociatedResourceOutputError { enum GetAttributeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2557,7 +2557,7 @@ enum GetAttributeGroupOutputError { enum GetConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2571,7 +2571,7 @@ enum GetConfigurationOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2586,7 +2586,7 @@ enum ListApplicationsOutputError { enum ListAssociatedAttributeGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2602,7 +2602,7 @@ enum ListAssociatedAttributeGroupsOutputError { enum ListAssociatedResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2618,7 +2618,7 @@ enum ListAssociatedResourcesOutputError { enum ListAttributeGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2633,7 +2633,7 @@ enum ListAttributeGroupsOutputError { enum ListAttributeGroupsForApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2649,7 +2649,7 @@ enum ListAttributeGroupsForApplicationOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2665,7 +2665,7 @@ enum ListTagsForResourceOutputError { enum PutConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2681,7 +2681,7 @@ enum PutConfigurationOutputError { enum SyncResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2699,7 +2699,7 @@ enum SyncResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2715,7 +2715,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2731,7 +2731,7 @@ enum UntagResourceOutputError { enum UpdateApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2749,7 +2749,7 @@ enum UpdateApplicationOutputError { enum UpdateAttributeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/Models.swift b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/Models.swift index b2741ffda3b..454eed86c3f 100644 --- a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/Models.swift +++ b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -41,7 +41,7 @@ public struct DuplicateRequest: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -67,7 +67,7 @@ public struct InvalidInput: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct NamespaceAlreadyExists: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -123,7 +123,7 @@ public struct ResourceLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -149,7 +149,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -406,7 +406,7 @@ public struct NamespaceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -434,7 +434,7 @@ public struct ServiceAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -911,7 +911,7 @@ public struct CustomHealthNotFound: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -964,7 +964,7 @@ public struct ResourceInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1013,7 +1013,7 @@ public struct ServiceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1055,7 +1055,7 @@ public struct InstanceNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1109,7 +1109,7 @@ public struct RequestLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1649,7 +1649,7 @@ public struct OperationNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2427,7 +2427,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3346,7 +3346,7 @@ extension UpdateServiceInput { extension CreateHttpNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateHttpNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateHttpNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3358,7 +3358,7 @@ extension CreateHttpNamespaceOutput { extension CreatePrivateDnsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePrivateDnsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePrivateDnsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3370,7 +3370,7 @@ extension CreatePrivateDnsNamespaceOutput { extension CreatePublicDnsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePublicDnsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePublicDnsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3382,7 +3382,7 @@ extension CreatePublicDnsNamespaceOutput { extension CreateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3394,7 +3394,7 @@ extension CreateServiceOutput { extension DeleteNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3406,14 +3406,14 @@ extension DeleteNamespaceOutput { extension DeleteServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceOutput { return DeleteServiceOutput() } } extension DeregisterInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3425,7 +3425,7 @@ extension DeregisterInstanceOutput { extension DiscoverInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DiscoverInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DiscoverInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3438,7 +3438,7 @@ extension DiscoverInstancesOutput { extension DiscoverInstancesRevisionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DiscoverInstancesRevisionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DiscoverInstancesRevisionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3450,7 +3450,7 @@ extension DiscoverInstancesRevisionOutput { extension GetInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3462,7 +3462,7 @@ extension GetInstanceOutput { extension GetInstancesHealthStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInstancesHealthStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstancesHealthStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3475,7 +3475,7 @@ extension GetInstancesHealthStatusOutput { extension GetNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3487,7 +3487,7 @@ extension GetNamespaceOutput { extension GetOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3499,7 +3499,7 @@ extension GetOperationOutput { extension GetServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3511,7 +3511,7 @@ extension GetServiceOutput { extension ListInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3524,7 +3524,7 @@ extension ListInstancesOutput { extension ListNamespacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNamespacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNamespacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3537,7 +3537,7 @@ extension ListNamespacesOutput { extension ListOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3550,7 +3550,7 @@ extension ListOperationsOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3563,7 +3563,7 @@ extension ListServicesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3575,7 +3575,7 @@ extension ListTagsForResourceOutput { extension RegisterInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3587,21 +3587,21 @@ extension RegisterInstanceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateHttpNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHttpNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHttpNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3613,14 +3613,14 @@ extension UpdateHttpNamespaceOutput { extension UpdateInstanceCustomHealthStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateInstanceCustomHealthStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateInstanceCustomHealthStatusOutput { return UpdateInstanceCustomHealthStatusOutput() } } extension UpdatePrivateDnsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePrivateDnsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePrivateDnsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3632,7 +3632,7 @@ extension UpdatePrivateDnsNamespaceOutput { extension UpdatePublicDnsNamespaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePublicDnsNamespaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePublicDnsNamespaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3644,7 +3644,7 @@ extension UpdatePublicDnsNamespaceOutput { extension UpdateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3656,7 +3656,7 @@ extension UpdateServiceOutput { enum CreateHttpNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3674,7 +3674,7 @@ enum CreateHttpNamespaceOutputError { enum CreatePrivateDnsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3692,7 +3692,7 @@ enum CreatePrivateDnsNamespaceOutputError { enum CreatePublicDnsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3710,7 +3710,7 @@ enum CreatePublicDnsNamespaceOutputError { enum CreateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3728,7 +3728,7 @@ enum CreateServiceOutputError { enum DeleteNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3745,7 +3745,7 @@ enum DeleteNamespaceOutputError { enum DeleteServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3761,7 +3761,7 @@ enum DeleteServiceOutputError { enum DeregisterInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3779,7 +3779,7 @@ enum DeregisterInstanceOutputError { enum DiscoverInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3796,7 +3796,7 @@ enum DiscoverInstancesOutputError { enum DiscoverInstancesRevisionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3813,7 +3813,7 @@ enum DiscoverInstancesRevisionOutputError { enum GetInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3829,7 +3829,7 @@ enum GetInstanceOutputError { enum GetInstancesHealthStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3845,7 +3845,7 @@ enum GetInstancesHealthStatusOutputError { enum GetNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3860,7 +3860,7 @@ enum GetNamespaceOutputError { enum GetOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3875,7 +3875,7 @@ enum GetOperationOutputError { enum GetServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3890,7 +3890,7 @@ enum GetServiceOutputError { enum ListInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3905,7 +3905,7 @@ enum ListInstancesOutputError { enum ListNamespacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3919,7 +3919,7 @@ enum ListNamespacesOutputError { enum ListOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3933,7 +3933,7 @@ enum ListOperationsOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3947,7 +3947,7 @@ enum ListServicesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3962,7 +3962,7 @@ enum ListTagsForResourceOutputError { enum RegisterInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3980,7 +3980,7 @@ enum RegisterInstanceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3996,7 +3996,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4011,7 +4011,7 @@ enum UntagResourceOutputError { enum UpdateHttpNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4028,7 +4028,7 @@ enum UpdateHttpNamespaceOutputError { enum UpdateInstanceCustomHealthStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4045,7 +4045,7 @@ enum UpdateInstanceCustomHealthStatusOutputError { enum UpdatePrivateDnsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4062,7 +4062,7 @@ enum UpdatePrivateDnsNamespaceOutputError { enum UpdatePublicDnsNamespaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4079,7 +4079,7 @@ enum UpdatePublicDnsNamespaceOutputError { enum UpdateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/Models.swift b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/Models.swift index b8b1f290555..5319e9456c6 100644 --- a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/Models.swift +++ b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -33,7 +33,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -89,7 +89,7 @@ public struct AWSServiceAccessNotEnabledException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -113,7 +113,7 @@ public struct DependencyAccessDeniedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -137,7 +137,7 @@ public struct NoAvailableOrganizationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct OrganizationNotInAllFeaturesModeException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -185,7 +185,7 @@ public struct ServiceException: ClientRuntime.ModeledError, AWSClientRuntime.AWS public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -209,7 +209,7 @@ public struct TemplatesNotAvailableInRegionException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -233,7 +233,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -267,7 +267,7 @@ public struct IllegalArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -291,7 +291,7 @@ public struct NoSuchResourceException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -343,7 +343,7 @@ public struct ServiceQuotaTemplateNotInUseException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1009,7 +1009,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1033,7 +1033,7 @@ public struct InvalidResourceStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1350,7 +1350,7 @@ public struct QuotaExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1414,7 +1414,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1477,7 +1477,7 @@ public struct TagPolicyViolationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1501,7 +1501,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1880,28 +1880,28 @@ extension UntagResourceInput { extension AssociateServiceQuotaTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateServiceQuotaTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateServiceQuotaTemplateOutput { return AssociateServiceQuotaTemplateOutput() } } extension DeleteServiceQuotaIncreaseRequestFromTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceQuotaIncreaseRequestFromTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceQuotaIncreaseRequestFromTemplateOutput { return DeleteServiceQuotaIncreaseRequestFromTemplateOutput() } } extension DisassociateServiceQuotaTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateServiceQuotaTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateServiceQuotaTemplateOutput { return DisassociateServiceQuotaTemplateOutput() } } extension GetAssociationForServiceQuotaTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssociationForServiceQuotaTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssociationForServiceQuotaTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1913,7 +1913,7 @@ extension GetAssociationForServiceQuotaTemplateOutput { extension GetAWSDefaultServiceQuotaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAWSDefaultServiceQuotaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAWSDefaultServiceQuotaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1925,7 +1925,7 @@ extension GetAWSDefaultServiceQuotaOutput { extension GetRequestedServiceQuotaChangeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRequestedServiceQuotaChangeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRequestedServiceQuotaChangeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1937,7 +1937,7 @@ extension GetRequestedServiceQuotaChangeOutput { extension GetServiceQuotaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceQuotaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceQuotaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1949,7 +1949,7 @@ extension GetServiceQuotaOutput { extension GetServiceQuotaIncreaseRequestFromTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceQuotaIncreaseRequestFromTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceQuotaIncreaseRequestFromTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1961,7 +1961,7 @@ extension GetServiceQuotaIncreaseRequestFromTemplateOutput { extension ListAWSDefaultServiceQuotasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAWSDefaultServiceQuotasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAWSDefaultServiceQuotasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1974,7 +1974,7 @@ extension ListAWSDefaultServiceQuotasOutput { extension ListRequestedServiceQuotaChangeHistoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRequestedServiceQuotaChangeHistoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRequestedServiceQuotaChangeHistoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1987,7 +1987,7 @@ extension ListRequestedServiceQuotaChangeHistoryOutput { extension ListRequestedServiceQuotaChangeHistoryByQuotaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRequestedServiceQuotaChangeHistoryByQuotaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRequestedServiceQuotaChangeHistoryByQuotaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2000,7 +2000,7 @@ extension ListRequestedServiceQuotaChangeHistoryByQuotaOutput { extension ListServiceQuotaIncreaseRequestsInTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceQuotaIncreaseRequestsInTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceQuotaIncreaseRequestsInTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2013,7 +2013,7 @@ extension ListServiceQuotaIncreaseRequestsInTemplateOutput { extension ListServiceQuotasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceQuotasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceQuotasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2026,7 +2026,7 @@ extension ListServiceQuotasOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2039,7 +2039,7 @@ extension ListServicesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2051,7 +2051,7 @@ extension ListTagsForResourceOutput { extension PutServiceQuotaIncreaseRequestIntoTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutServiceQuotaIncreaseRequestIntoTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutServiceQuotaIncreaseRequestIntoTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2063,7 +2063,7 @@ extension PutServiceQuotaIncreaseRequestIntoTemplateOutput { extension RequestServiceQuotaIncreaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RequestServiceQuotaIncreaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RequestServiceQuotaIncreaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2075,21 +2075,21 @@ extension RequestServiceQuotaIncreaseOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum AssociateServiceQuotaTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2110,7 +2110,7 @@ enum AssociateServiceQuotaTemplateOutputError { enum DeleteServiceQuotaIncreaseRequestFromTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2132,7 +2132,7 @@ enum DeleteServiceQuotaIncreaseRequestFromTemplateOutputError { enum DisassociateServiceQuotaTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2153,7 +2153,7 @@ enum DisassociateServiceQuotaTemplateOutputError { enum GetAssociationForServiceQuotaTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2174,7 +2174,7 @@ enum GetAssociationForServiceQuotaTemplateOutputError { enum GetAWSDefaultServiceQuotaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2192,7 +2192,7 @@ enum GetAWSDefaultServiceQuotaOutputError { enum GetRequestedServiceQuotaChangeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2210,7 +2210,7 @@ enum GetRequestedServiceQuotaChangeOutputError { enum GetServiceQuotaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2228,7 +2228,7 @@ enum GetServiceQuotaOutputError { enum GetServiceQuotaIncreaseRequestFromTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2250,7 +2250,7 @@ enum GetServiceQuotaIncreaseRequestFromTemplateOutputError { enum ListAWSDefaultServiceQuotasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2269,7 +2269,7 @@ enum ListAWSDefaultServiceQuotasOutputError { enum ListRequestedServiceQuotaChangeHistoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2288,7 +2288,7 @@ enum ListRequestedServiceQuotaChangeHistoryOutputError { enum ListRequestedServiceQuotaChangeHistoryByQuotaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2307,7 +2307,7 @@ enum ListRequestedServiceQuotaChangeHistoryByQuotaOutputError { enum ListServiceQuotaIncreaseRequestsInTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2328,7 +2328,7 @@ enum ListServiceQuotaIncreaseRequestsInTemplateOutputError { enum ListServiceQuotasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2347,7 +2347,7 @@ enum ListServiceQuotasOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2365,7 +2365,7 @@ enum ListServicesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2383,7 +2383,7 @@ enum ListTagsForResourceOutputError { enum PutServiceQuotaIncreaseRequestIntoTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2406,7 +2406,7 @@ enum PutServiceQuotaIncreaseRequestIntoTemplateOutputError { enum RequestServiceQuotaIncreaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2428,7 +2428,7 @@ enum RequestServiceQuotaIncreaseOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2448,7 +2448,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSShield/Sources/AWSShield/Models.swift b/Sources/Services/AWSShield/Sources/AWSShield/Models.swift index 92d9d5d45ca..8d87d231a25 100644 --- a/Sources/Services/AWSShield/Sources/AWSShield/Models.swift +++ b/Sources/Services/AWSShield/Sources/AWSShield/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -58,7 +58,7 @@ public struct AccessDeniedForDependencyException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct InternalErrorException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -195,7 +195,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -306,7 +306,7 @@ public struct LimitsExceededException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -334,7 +334,7 @@ public struct NoAssociatedRoleException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -358,7 +358,7 @@ public struct OptimisticLockException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -384,7 +384,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -446,7 +446,7 @@ public struct InvalidResourceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1051,7 +1051,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1340,7 +1340,7 @@ public struct LockedSubscriptionException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2030,7 +2030,7 @@ public struct InvalidPaginationTokenException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2945,35 +2945,35 @@ extension UpdateSubscriptionInput { extension AssociateDRTLogBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDRTLogBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDRTLogBucketOutput { return AssociateDRTLogBucketOutput() } } extension AssociateDRTRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDRTRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDRTRoleOutput { return AssociateDRTRoleOutput() } } extension AssociateHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateHealthCheckOutput { return AssociateHealthCheckOutput() } } extension AssociateProactiveEngagementDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateProactiveEngagementDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateProactiveEngagementDetailsOutput { return AssociateProactiveEngagementDetailsOutput() } } extension CreateProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2985,42 +2985,42 @@ extension CreateProtectionOutput { extension CreateProtectionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProtectionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProtectionGroupOutput { return CreateProtectionGroupOutput() } } extension CreateSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionOutput { return CreateSubscriptionOutput() } } extension DeleteProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProtectionOutput { return DeleteProtectionOutput() } } extension DeleteProtectionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProtectionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProtectionGroupOutput { return DeleteProtectionGroupOutput() } } extension DeleteSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionOutput { return DeleteSubscriptionOutput() } } extension DescribeAttackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAttackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAttackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3032,7 +3032,7 @@ extension DescribeAttackOutput { extension DescribeAttackStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAttackStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAttackStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3045,7 +3045,7 @@ extension DescribeAttackStatisticsOutput { extension DescribeDRTAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDRTAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDRTAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3058,7 +3058,7 @@ extension DescribeDRTAccessOutput { extension DescribeEmergencyContactSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEmergencyContactSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEmergencyContactSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3070,7 +3070,7 @@ extension DescribeEmergencyContactSettingsOutput { extension DescribeProtectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProtectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProtectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3082,7 +3082,7 @@ extension DescribeProtectionOutput { extension DescribeProtectionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProtectionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProtectionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3094,7 +3094,7 @@ extension DescribeProtectionGroupOutput { extension DescribeSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3106,56 +3106,56 @@ extension DescribeSubscriptionOutput { extension DisableApplicationLayerAutomaticResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableApplicationLayerAutomaticResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableApplicationLayerAutomaticResponseOutput { return DisableApplicationLayerAutomaticResponseOutput() } } extension DisableProactiveEngagementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableProactiveEngagementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableProactiveEngagementOutput { return DisableProactiveEngagementOutput() } } extension DisassociateDRTLogBucketOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDRTLogBucketOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDRTLogBucketOutput { return DisassociateDRTLogBucketOutput() } } extension DisassociateDRTRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDRTRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDRTRoleOutput { return DisassociateDRTRoleOutput() } } extension DisassociateHealthCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateHealthCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateHealthCheckOutput { return DisassociateHealthCheckOutput() } } extension EnableApplicationLayerAutomaticResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableApplicationLayerAutomaticResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableApplicationLayerAutomaticResponseOutput { return EnableApplicationLayerAutomaticResponseOutput() } } extension EnableProactiveEngagementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EnableProactiveEngagementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EnableProactiveEngagementOutput { return EnableProactiveEngagementOutput() } } extension GetSubscriptionStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSubscriptionStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionStateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3167,7 +3167,7 @@ extension GetSubscriptionStateOutput { extension ListAttacksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAttacksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAttacksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3180,7 +3180,7 @@ extension ListAttacksOutput { extension ListProtectionGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProtectionGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectionGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3193,7 +3193,7 @@ extension ListProtectionGroupsOutput { extension ListProtectionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProtectionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3206,7 +3206,7 @@ extension ListProtectionsOutput { extension ListResourcesInProtectionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesInProtectionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesInProtectionGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3219,7 +3219,7 @@ extension ListResourcesInProtectionGroupOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3231,49 +3231,49 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationLayerAutomaticResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationLayerAutomaticResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationLayerAutomaticResponseOutput { return UpdateApplicationLayerAutomaticResponseOutput() } } extension UpdateEmergencyContactSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEmergencyContactSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEmergencyContactSettingsOutput { return UpdateEmergencyContactSettingsOutput() } } extension UpdateProtectionGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProtectionGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProtectionGroupOutput { return UpdateProtectionGroupOutput() } } extension UpdateSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionOutput { return UpdateSubscriptionOutput() } } enum AssociateDRTLogBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3294,7 +3294,7 @@ enum AssociateDRTLogBucketOutputError { enum AssociateDRTRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3313,7 +3313,7 @@ enum AssociateDRTRoleOutputError { enum AssociateHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3332,7 +3332,7 @@ enum AssociateHealthCheckOutputError { enum AssociateProactiveEngagementDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3350,7 +3350,7 @@ enum AssociateProactiveEngagementDetailsOutputError { enum CreateProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3371,7 +3371,7 @@ enum CreateProtectionOutputError { enum CreateProtectionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3390,7 +3390,7 @@ enum CreateProtectionGroupOutputError { enum CreateSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3405,7 +3405,7 @@ enum CreateSubscriptionOutputError { enum DeleteProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3421,7 +3421,7 @@ enum DeleteProtectionOutputError { enum DeleteProtectionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3437,7 +3437,7 @@ enum DeleteProtectionGroupOutputError { enum DeleteSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3453,7 +3453,7 @@ enum DeleteSubscriptionOutputError { enum DescribeAttackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3468,7 +3468,7 @@ enum DescribeAttackOutputError { enum DescribeAttackStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3482,7 +3482,7 @@ enum DescribeAttackStatisticsOutputError { enum DescribeDRTAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3497,7 +3497,7 @@ enum DescribeDRTAccessOutputError { enum DescribeEmergencyContactSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3512,7 +3512,7 @@ enum DescribeEmergencyContactSettingsOutputError { enum DescribeProtectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3528,7 +3528,7 @@ enum DescribeProtectionOutputError { enum DescribeProtectionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3543,7 +3543,7 @@ enum DescribeProtectionGroupOutputError { enum DescribeSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3558,7 +3558,7 @@ enum DescribeSubscriptionOutputError { enum DisableApplicationLayerAutomaticResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3576,7 +3576,7 @@ enum DisableApplicationLayerAutomaticResponseOutputError { enum DisableProactiveEngagementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3594,7 +3594,7 @@ enum DisableProactiveEngagementOutputError { enum DisassociateDRTLogBucketOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3613,7 +3613,7 @@ enum DisassociateDRTLogBucketOutputError { enum DisassociateDRTRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3630,7 +3630,7 @@ enum DisassociateDRTRoleOutputError { enum DisassociateHealthCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3648,7 +3648,7 @@ enum DisassociateHealthCheckOutputError { enum EnableApplicationLayerAutomaticResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3667,7 +3667,7 @@ enum EnableApplicationLayerAutomaticResponseOutputError { enum EnableProactiveEngagementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3685,7 +3685,7 @@ enum EnableProactiveEngagementOutputError { enum GetSubscriptionStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3699,7 +3699,7 @@ enum GetSubscriptionStateOutputError { enum ListAttacksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3715,7 +3715,7 @@ enum ListAttacksOutputError { enum ListProtectionGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3731,7 +3731,7 @@ enum ListProtectionGroupsOutputError { enum ListProtectionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3747,7 +3747,7 @@ enum ListProtectionsOutputError { enum ListResourcesInProtectionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3763,7 +3763,7 @@ enum ListResourcesInProtectionGroupOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3779,7 +3779,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3796,7 +3796,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3813,7 +3813,7 @@ enum UntagResourceOutputError { enum UpdateApplicationLayerAutomaticResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3831,7 +3831,7 @@ enum UpdateApplicationLayerAutomaticResponseOutputError { enum UpdateEmergencyContactSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3848,7 +3848,7 @@ enum UpdateEmergencyContactSettingsOutputError { enum UpdateProtectionGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3865,7 +3865,7 @@ enum UpdateProtectionGroupOutputError { enum UpdateSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSigner/Sources/AWSSigner/Models.swift b/Sources/Services/AWSSigner/Sources/AWSSigner/Models.swift index 607af7305f9..8ec362ce439 100644 --- a/Sources/Services/AWSSigner/Sources/AWSSigner/Models.swift +++ b/Sources/Services/AWSSigner/Sources/AWSSigner/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -53,7 +53,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -80,7 +80,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct InternalServiceErrorException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -161,7 +161,7 @@ public struct ServiceLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -188,7 +188,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -215,7 +215,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -298,7 +298,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1557,7 +1557,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1804,7 +1804,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2360,7 +2360,7 @@ extension TagResourceInput { extension AddProfilePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddProfilePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddProfilePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2372,14 +2372,14 @@ extension AddProfilePermissionOutput { extension CancelSigningProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSigningProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSigningProfileOutput { return CancelSigningProfileOutput() } } extension DescribeSigningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSigningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSigningJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2409,7 +2409,7 @@ extension DescribeSigningJobOutput { extension GetRevocationStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRevocationStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRevocationStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2421,7 +2421,7 @@ extension GetRevocationStatusOutput { extension GetSigningPlatformOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSigningPlatformOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSigningPlatformOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2441,7 +2441,7 @@ extension GetSigningPlatformOutput { extension GetSigningProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSigningProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSigningProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2466,7 +2466,7 @@ extension GetSigningProfileOutput { extension ListProfilePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2481,7 +2481,7 @@ extension ListProfilePermissionsOutput { extension ListSigningJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSigningJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSigningJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2494,7 +2494,7 @@ extension ListSigningJobsOutput { extension ListSigningPlatformsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSigningPlatformsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSigningPlatformsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2507,7 +2507,7 @@ extension ListSigningPlatformsOutput { extension ListSigningProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSigningProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSigningProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2520,7 +2520,7 @@ extension ListSigningProfilesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2532,7 +2532,7 @@ extension ListTagsForResourceOutput { extension PutSigningProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSigningProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSigningProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2546,7 +2546,7 @@ extension PutSigningProfileOutput { extension RemoveProfilePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveProfilePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveProfilePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2558,21 +2558,21 @@ extension RemoveProfilePermissionOutput { extension RevokeSignatureOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeSignatureOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeSignatureOutput { return RevokeSignatureOutput() } } extension RevokeSigningProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeSigningProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeSigningProfileOutput { return RevokeSigningProfileOutput() } } extension SignPayloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignPayloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignPayloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2587,7 +2587,7 @@ extension SignPayloadOutput { extension StartSigningJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSigningJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSigningJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2600,21 +2600,21 @@ extension StartSigningJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum AddProfilePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2634,7 +2634,7 @@ enum AddProfilePermissionOutputError { enum CancelSigningProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2651,7 +2651,7 @@ enum CancelSigningProfileOutputError { enum DescribeSigningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2668,7 +2668,7 @@ enum DescribeSigningJobOutputError { enum GetRevocationStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2685,7 +2685,7 @@ enum GetRevocationStatusOutputError { enum GetSigningPlatformOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2702,7 +2702,7 @@ enum GetSigningPlatformOutputError { enum GetSigningProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2719,7 +2719,7 @@ enum GetSigningProfileOutputError { enum ListProfilePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2737,7 +2737,7 @@ enum ListProfilePermissionsOutputError { enum ListSigningJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2754,7 +2754,7 @@ enum ListSigningJobsOutputError { enum ListSigningPlatformsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2771,7 +2771,7 @@ enum ListSigningPlatformsOutputError { enum ListSigningProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2787,7 +2787,7 @@ enum ListSigningProfilesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2804,7 +2804,7 @@ enum ListTagsForResourceOutputError { enum PutSigningProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2822,7 +2822,7 @@ enum PutSigningProfileOutputError { enum RemoveProfilePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2841,7 +2841,7 @@ enum RemoveProfilePermissionOutputError { enum RevokeSignatureOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2859,7 +2859,7 @@ enum RevokeSignatureOutputError { enum RevokeSigningProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2877,7 +2877,7 @@ enum RevokeSigningProfileOutputError { enum SignPayloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2895,7 +2895,7 @@ enum SignPayloadOutputError { enum StartSigningJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2914,7 +2914,7 @@ enum StartSigningJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2931,7 +2931,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/Models.swift b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/Models.swift index 56bbc74846c..ad8f9439e2d 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/Models.swift +++ b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -165,7 +165,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -189,7 +189,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -213,7 +213,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -237,7 +237,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1007,7 +1007,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1240,7 +1240,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1638,28 +1638,28 @@ extension TagResourceInput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { return CreateSnapshotOutput() } } extension DeleteAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAppOutput { return DeleteAppOutput() } } extension DeleteSimulationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSimulationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSimulationOutput { return DeleteSimulationOutput() } } extension DescribeAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1678,7 +1678,7 @@ extension DescribeAppOutput { extension DescribeSimulationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSimulationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSimulationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1704,7 +1704,7 @@ extension DescribeSimulationOutput { extension ListAppsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAppsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAppsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1717,7 +1717,7 @@ extension ListAppsOutput { extension ListSimulationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSimulationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSimulationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1730,7 +1730,7 @@ extension ListSimulationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1742,7 +1742,7 @@ extension ListTagsForResourceOutput { extension StartAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAppOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1756,14 +1756,14 @@ extension StartAppOutput { extension StartClockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartClockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartClockOutput { return StartClockOutput() } } extension StartSimulationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSimulationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSimulationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1777,42 +1777,42 @@ extension StartSimulationOutput { extension StopAppOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopAppOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopAppOutput { return StopAppOutput() } } extension StopClockOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopClockOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopClockOutput { return StopClockOutput() } } extension StopSimulationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopSimulationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopSimulationOutput { return StopSimulationOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1830,7 +1830,7 @@ enum CreateSnapshotOutputError { enum DeleteAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1848,7 +1848,7 @@ enum DeleteAppOutputError { enum DeleteSimulationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1866,7 +1866,7 @@ enum DeleteSimulationOutputError { enum DescribeAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1883,7 +1883,7 @@ enum DescribeAppOutputError { enum DescribeSimulationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1900,7 +1900,7 @@ enum DescribeSimulationOutputError { enum ListAppsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1917,7 +1917,7 @@ enum ListAppsOutputError { enum ListSimulationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1933,7 +1933,7 @@ enum ListSimulationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1948,7 +1948,7 @@ enum ListTagsForResourceOutputError { enum StartAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1966,7 +1966,7 @@ enum StartAppOutputError { enum StartClockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1984,7 +1984,7 @@ enum StartClockOutputError { enum StartSimulationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2002,7 +2002,7 @@ enum StartSimulationOutputError { enum StopAppOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2020,7 +2020,7 @@ enum StopAppOutputError { enum StopClockOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2038,7 +2038,7 @@ enum StopClockOutputError { enum StopSimulationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2056,7 +2056,7 @@ enum StopSimulationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2072,7 +2072,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/Models.swift b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/Models.swift index 5ab38f3c313..409201ba356 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/Models.swift +++ b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -46,7 +46,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -106,7 +106,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -156,7 +156,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -313,7 +313,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1618,7 +1618,7 @@ extension TagResourceInput { extension CancelTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1630,7 +1630,7 @@ extension CancelTaskOutput { extension CreateTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1643,7 +1643,7 @@ extension CreateTaskOutput { extension DescribeDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1665,7 +1665,7 @@ extension DescribeDeviceOutput { extension DescribeDeviceEc2InstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceEc2InstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceEc2InstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1677,7 +1677,7 @@ extension DescribeDeviceEc2InstancesOutput { extension DescribeExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1694,7 +1694,7 @@ extension DescribeExecutionOutput { extension DescribeTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1714,7 +1714,7 @@ extension DescribeTaskOutput { extension ListDeviceResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDeviceResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDeviceResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1727,7 +1727,7 @@ extension ListDeviceResourcesOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1740,7 +1740,7 @@ extension ListDevicesOutput { extension ListExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1753,7 +1753,7 @@ extension ListExecutionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1765,7 +1765,7 @@ extension ListTagsForResourceOutput { extension ListTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1778,21 +1778,21 @@ extension ListTasksOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } enum CancelTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1810,7 +1810,7 @@ enum CancelTaskOutputError { enum CreateTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1829,7 +1829,7 @@ enum CreateTaskOutputError { enum DescribeDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1847,7 +1847,7 @@ enum DescribeDeviceOutputError { enum DescribeDeviceEc2InstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1865,7 +1865,7 @@ enum DescribeDeviceEc2InstancesOutputError { enum DescribeExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1883,7 +1883,7 @@ enum DescribeExecutionOutputError { enum DescribeTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1901,7 +1901,7 @@ enum DescribeTaskOutputError { enum ListDeviceResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1919,7 +1919,7 @@ enum ListDeviceResourcesOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1936,7 +1936,7 @@ enum ListDevicesOutputError { enum ListExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1954,7 +1954,7 @@ enum ListExecutionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1970,7 +1970,7 @@ enum ListTagsForResourceOutputError { enum ListTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1987,7 +1987,7 @@ enum ListTasksOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2003,7 +2003,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSnowball/Sources/AWSSnowball/Models.swift b/Sources/Services/AWSSnowball/Sources/AWSSnowball/Models.swift index 498f0004f5c..89d943b2dce 100644 --- a/Sources/Services/AWSSnowball/Sources/AWSSnowball/Models.swift +++ b/Sources/Services/AWSSnowball/Sources/AWSSnowball/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -136,7 +136,7 @@ public struct InvalidJobStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -162,7 +162,7 @@ public struct InvalidResourceException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -188,7 +188,7 @@ public struct KMSRequestFailedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -248,7 +248,7 @@ public struct InvalidAddressException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -272,7 +272,7 @@ public struct UnsupportedAddressException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -321,7 +321,7 @@ public struct Ec2RequestFailedException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -345,7 +345,7 @@ public struct InvalidInputCombinationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1202,7 +1202,7 @@ public struct ClusterLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1529,7 +1529,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1555,7 +1555,7 @@ public struct ReturnShippingLabelAlreadyExistsException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1668,7 +1668,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3304,21 +3304,21 @@ extension UpdateLongTermPricingInput { extension CancelClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelClusterOutput { return CancelClusterOutput() } } extension CancelJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelJobOutput { return CancelJobOutput() } } extension CreateAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3330,7 +3330,7 @@ extension CreateAddressOutput { extension CreateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3343,7 +3343,7 @@ extension CreateClusterOutput { extension CreateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3355,7 +3355,7 @@ extension CreateJobOutput { extension CreateLongTermPricingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLongTermPricingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLongTermPricingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3367,7 +3367,7 @@ extension CreateLongTermPricingOutput { extension CreateReturnShippingLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReturnShippingLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReturnShippingLabelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3379,7 +3379,7 @@ extension CreateReturnShippingLabelOutput { extension DescribeAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddressOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3391,7 +3391,7 @@ extension DescribeAddressOutput { extension DescribeAddressesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAddressesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAddressesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3404,7 +3404,7 @@ extension DescribeAddressesOutput { extension DescribeClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClusterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3416,7 +3416,7 @@ extension DescribeClusterOutput { extension DescribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3429,7 +3429,7 @@ extension DescribeJobOutput { extension DescribeReturnShippingLabelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeReturnShippingLabelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeReturnShippingLabelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3443,7 +3443,7 @@ extension DescribeReturnShippingLabelOutput { extension GetJobManifestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobManifestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobManifestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3455,7 +3455,7 @@ extension GetJobManifestOutput { extension GetJobUnlockCodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetJobUnlockCodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetJobUnlockCodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3467,7 +3467,7 @@ extension GetJobUnlockCodeOutput { extension GetSnowballUsageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSnowballUsageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSnowballUsageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3480,7 +3480,7 @@ extension GetSnowballUsageOutput { extension GetSoftwareUpdatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSoftwareUpdatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSoftwareUpdatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3492,7 +3492,7 @@ extension GetSoftwareUpdatesOutput { extension ListClusterJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClusterJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClusterJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3505,7 +3505,7 @@ extension ListClusterJobsOutput { extension ListClustersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListClustersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListClustersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3518,7 +3518,7 @@ extension ListClustersOutput { extension ListCompatibleImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCompatibleImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCompatibleImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3531,7 +3531,7 @@ extension ListCompatibleImagesOutput { extension ListJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3544,7 +3544,7 @@ extension ListJobsOutput { extension ListLongTermPricingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLongTermPricingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLongTermPricingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3557,7 +3557,7 @@ extension ListLongTermPricingOutput { extension ListPickupLocationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPickupLocationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPickupLocationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3570,7 +3570,7 @@ extension ListPickupLocationsOutput { extension ListServiceVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3585,35 +3585,35 @@ extension ListServiceVersionsOutput { extension UpdateClusterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateClusterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateClusterOutput { return UpdateClusterOutput() } } extension UpdateJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobOutput { return UpdateJobOutput() } } extension UpdateJobShipmentStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateJobShipmentStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateJobShipmentStateOutput { return UpdateJobShipmentStateOutput() } } extension UpdateLongTermPricingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLongTermPricingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLongTermPricingOutput { return UpdateLongTermPricingOutput() } } enum CancelClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3629,7 +3629,7 @@ enum CancelClusterOutputError { enum CancelJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3645,7 +3645,7 @@ enum CancelJobOutputError { enum CreateAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3660,7 +3660,7 @@ enum CreateAddressOutputError { enum CreateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3677,7 +3677,7 @@ enum CreateClusterOutputError { enum CreateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3695,7 +3695,7 @@ enum CreateJobOutputError { enum CreateLongTermPricingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3709,7 +3709,7 @@ enum CreateLongTermPricingOutputError { enum CreateReturnShippingLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3727,7 +3727,7 @@ enum CreateReturnShippingLabelOutputError { enum DescribeAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3741,7 +3741,7 @@ enum DescribeAddressOutputError { enum DescribeAddressesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3756,7 +3756,7 @@ enum DescribeAddressesOutputError { enum DescribeClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3770,7 +3770,7 @@ enum DescribeClusterOutputError { enum DescribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3784,7 +3784,7 @@ enum DescribeJobOutputError { enum DescribeReturnShippingLabelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3800,7 +3800,7 @@ enum DescribeReturnShippingLabelOutputError { enum GetJobManifestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3815,7 +3815,7 @@ enum GetJobManifestOutputError { enum GetJobUnlockCodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3830,7 +3830,7 @@ enum GetJobUnlockCodeOutputError { enum GetSnowballUsageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3843,7 +3843,7 @@ enum GetSnowballUsageOutputError { enum GetSoftwareUpdatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3858,7 +3858,7 @@ enum GetSoftwareUpdatesOutputError { enum ListClusterJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3873,7 +3873,7 @@ enum ListClusterJobsOutputError { enum ListClustersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3887,7 +3887,7 @@ enum ListClustersOutputError { enum ListCompatibleImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3902,7 +3902,7 @@ enum ListCompatibleImagesOutputError { enum ListJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3916,7 +3916,7 @@ enum ListJobsOutputError { enum ListLongTermPricingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3931,7 +3931,7 @@ enum ListLongTermPricingOutputError { enum ListPickupLocationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3945,7 +3945,7 @@ enum ListPickupLocationsOutputError { enum ListServiceVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3960,7 +3960,7 @@ enum ListServiceVersionsOutputError { enum UpdateClusterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3978,7 +3978,7 @@ enum UpdateClusterOutputError { enum UpdateJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3997,7 +3997,7 @@ enum UpdateJobOutputError { enum UpdateJobShipmentStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4012,7 +4012,7 @@ enum UpdateJobShipmentStateOutputError { enum UpdateLongTermPricingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/Models.swift b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/Models.swift index 3a3f16dffa2..c96363d9224 100644 --- a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/Models.swift +++ b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -924,7 +924,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1136,7 +1136,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1160,7 +1160,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1184,7 +1184,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1267,7 +1267,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2555,7 +2555,7 @@ extension UpdateApplicationSettingsInput { extension DeleteResourcePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2567,14 +2567,14 @@ extension DeleteResourcePermissionOutput { extension DeregisterApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterApplicationOutput { return DeregisterApplicationOutput() } } extension GetApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2587,7 +2587,7 @@ extension GetApplicationOutput { extension GetComponentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetComponentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetComponentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2600,7 +2600,7 @@ extension GetComponentOutput { extension GetDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2613,7 +2613,7 @@ extension GetDatabaseOutput { extension GetOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2625,7 +2625,7 @@ extension GetOperationOutput { extension GetResourcePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2637,7 +2637,7 @@ extension GetResourcePermissionOutput { extension ListApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2650,7 +2650,7 @@ extension ListApplicationsOutput { extension ListComponentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListComponentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListComponentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2663,7 +2663,7 @@ extension ListComponentsOutput { extension ListDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2676,7 +2676,7 @@ extension ListDatabasesOutput { extension ListOperationEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOperationEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOperationEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2689,7 +2689,7 @@ extension ListOperationEventsOutput { extension ListOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2702,7 +2702,7 @@ extension ListOperationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2714,7 +2714,7 @@ extension ListTagsForResourceOutput { extension PutResourcePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePermissionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2726,7 +2726,7 @@ extension PutResourcePermissionOutput { extension RegisterApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2739,7 +2739,7 @@ extension RegisterApplicationOutput { extension StartApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2751,7 +2751,7 @@ extension StartApplicationOutput { extension StartApplicationRefreshOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartApplicationRefreshOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartApplicationRefreshOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2763,7 +2763,7 @@ extension StartApplicationRefreshOutput { extension StopApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2775,21 +2775,21 @@ extension StopApplicationOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateApplicationSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateApplicationSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateApplicationSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2802,7 +2802,7 @@ extension UpdateApplicationSettingsOutput { enum DeleteResourcePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2818,7 +2818,7 @@ enum DeleteResourcePermissionOutputError { enum DeregisterApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2834,7 +2834,7 @@ enum DeregisterApplicationOutputError { enum GetApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2849,7 +2849,7 @@ enum GetApplicationOutputError { enum GetComponentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2865,7 +2865,7 @@ enum GetComponentOutputError { enum GetDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2880,7 +2880,7 @@ enum GetDatabaseOutputError { enum GetOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2895,7 +2895,7 @@ enum GetOperationOutputError { enum GetResourcePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2911,7 +2911,7 @@ enum GetResourcePermissionOutputError { enum ListApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2927,7 +2927,7 @@ enum ListApplicationsOutputError { enum ListComponentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2944,7 +2944,7 @@ enum ListComponentsOutputError { enum ListDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2960,7 +2960,7 @@ enum ListDatabasesOutputError { enum ListOperationEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2975,7 +2975,7 @@ enum ListOperationEventsOutputError { enum ListOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2990,7 +2990,7 @@ enum ListOperationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3006,7 +3006,7 @@ enum ListTagsForResourceOutputError { enum PutResourcePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3022,7 +3022,7 @@ enum PutResourcePermissionOutputError { enum RegisterApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3039,7 +3039,7 @@ enum RegisterApplicationOutputError { enum StartApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3056,7 +3056,7 @@ enum StartApplicationOutputError { enum StartApplicationRefreshOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3074,7 +3074,7 @@ enum StartApplicationRefreshOutputError { enum StopApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3091,7 +3091,7 @@ enum StopApplicationOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3107,7 +3107,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3123,7 +3123,7 @@ enum UntagResourceOutputError { enum UpdateApplicationSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/Models.swift b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/Models.swift index d07093ab192..8316739b881 100644 --- a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/Models.swift +++ b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -266,7 +266,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -295,7 +295,7 @@ public struct InvalidGatewayRequestException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1541,7 +1541,7 @@ public struct ServiceUnavailableError: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2760,6 +2760,11 @@ public struct DescribeGatewayInformationOutput { } } +extension DescribeGatewayInformationOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DescribeGatewayInformationOutput(cloudWatchLogGroupARN: \(Swift.String(describing: cloudWatchLogGroupARN)), deprecationDate: \(Swift.String(describing: deprecationDate)), ec2InstanceId: \(Swift.String(describing: ec2InstanceId)), ec2InstanceRegion: \(Swift.String(describing: ec2InstanceRegion)), endpointType: \(Swift.String(describing: endpointType)), gatewayARN: \(Swift.String(describing: gatewayARN)), gatewayCapacity: \(Swift.String(describing: gatewayCapacity)), gatewayId: \(Swift.String(describing: gatewayId)), gatewayName: \(Swift.String(describing: gatewayName)), gatewayState: \(Swift.String(describing: gatewayState)), gatewayTimezone: \(Swift.String(describing: gatewayTimezone)), gatewayType: \(Swift.String(describing: gatewayType)), hostEnvironment: \(Swift.String(describing: hostEnvironment)), hostEnvironmentId: \(Swift.String(describing: hostEnvironmentId)), lastSoftwareUpdate: \(Swift.String(describing: lastSoftwareUpdate)), nextUpdateAvailabilityDate: \(Swift.String(describing: nextUpdateAvailabilityDate)), softwareUpdatesEndDate: \(Swift.String(describing: softwareUpdatesEndDate)), softwareVersion: \(Swift.String(describing: softwareVersion)), supportedGatewayCapacities: \(Swift.String(describing: supportedGatewayCapacities)), tags: \(Swift.String(describing: tags)), vpcEndpoint: \(Swift.String(describing: vpcEndpoint)), gatewayNetworkInterfaces: \"CONTENT_REDACTED\")"} +} + /// A JSON object containing the Amazon Resource Name (ARN) of the gateway. public struct DescribeMaintenanceStartTimeInput { /// The Amazon Resource Name (ARN) of the gateway. Use the [ListGateways] operation to return a list of gateways for your account and Amazon Web Services Region. @@ -7439,7 +7444,7 @@ extension UpdateVTLDeviceTypeInput { extension ActivateGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7451,7 +7456,7 @@ extension ActivateGatewayOutput { extension AddCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7463,7 +7468,7 @@ extension AddCacheOutput { extension AddTagsToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddTagsToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddTagsToResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7475,7 +7480,7 @@ extension AddTagsToResourceOutput { extension AddUploadBufferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddUploadBufferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddUploadBufferOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7487,7 +7492,7 @@ extension AddUploadBufferOutput { extension AddWorkingStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddWorkingStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddWorkingStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7499,7 +7504,7 @@ extension AddWorkingStorageOutput { extension AssignTapePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssignTapePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssignTapePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7511,7 +7516,7 @@ extension AssignTapePoolOutput { extension AssociateFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7523,7 +7528,7 @@ extension AssociateFileSystemOutput { extension AttachVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AttachVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AttachVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7536,7 +7541,7 @@ extension AttachVolumeOutput { extension CancelArchivalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelArchivalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelArchivalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7548,7 +7553,7 @@ extension CancelArchivalOutput { extension CancelRetrievalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelRetrievalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelRetrievalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7560,7 +7565,7 @@ extension CancelRetrievalOutput { extension CreateCachediSCSIVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCachediSCSIVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCachediSCSIVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7573,7 +7578,7 @@ extension CreateCachediSCSIVolumeOutput { extension CreateNFSFileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNFSFileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNFSFileShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7585,7 +7590,7 @@ extension CreateNFSFileShareOutput { extension CreateSMBFileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSMBFileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSMBFileShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7597,7 +7602,7 @@ extension CreateSMBFileShareOutput { extension CreateSnapshotOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7610,7 +7615,7 @@ extension CreateSnapshotOutput { extension CreateSnapshotFromVolumeRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSnapshotFromVolumeRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSnapshotFromVolumeRecoveryPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7624,7 +7629,7 @@ extension CreateSnapshotFromVolumeRecoveryPointOutput { extension CreateStorediSCSIVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStorediSCSIVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStorediSCSIVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7638,7 +7643,7 @@ extension CreateStorediSCSIVolumeOutput { extension CreateTapePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTapePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTapePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7650,7 +7655,7 @@ extension CreateTapePoolOutput { extension CreateTapesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTapesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTapesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7662,7 +7667,7 @@ extension CreateTapesOutput { extension CreateTapeWithBarcodeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTapeWithBarcodeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTapeWithBarcodeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7674,7 +7679,7 @@ extension CreateTapeWithBarcodeOutput { extension DeleteAutomaticTapeCreationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAutomaticTapeCreationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAutomaticTapeCreationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7686,7 +7691,7 @@ extension DeleteAutomaticTapeCreationPolicyOutput { extension DeleteBandwidthRateLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBandwidthRateLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBandwidthRateLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7698,7 +7703,7 @@ extension DeleteBandwidthRateLimitOutput { extension DeleteChapCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteChapCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteChapCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7711,7 +7716,7 @@ extension DeleteChapCredentialsOutput { extension DeleteFileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFileShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7723,7 +7728,7 @@ extension DeleteFileShareOutput { extension DeleteGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7735,7 +7740,7 @@ extension DeleteGatewayOutput { extension DeleteSnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSnapshotScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7747,7 +7752,7 @@ extension DeleteSnapshotScheduleOutput { extension DeleteTapeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTapeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTapeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7759,7 +7764,7 @@ extension DeleteTapeOutput { extension DeleteTapeArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTapeArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTapeArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7771,7 +7776,7 @@ extension DeleteTapeArchiveOutput { extension DeleteTapePoolOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTapePoolOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTapePoolOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7783,7 +7788,7 @@ extension DeleteTapePoolOutput { extension DeleteVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7795,7 +7800,7 @@ extension DeleteVolumeOutput { extension DescribeAvailabilityMonitorTestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAvailabilityMonitorTestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAvailabilityMonitorTestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7809,7 +7814,7 @@ extension DescribeAvailabilityMonitorTestOutput { extension DescribeBandwidthRateLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBandwidthRateLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBandwidthRateLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7823,7 +7828,7 @@ extension DescribeBandwidthRateLimitOutput { extension DescribeBandwidthRateLimitScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBandwidthRateLimitScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBandwidthRateLimitScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7836,7 +7841,7 @@ extension DescribeBandwidthRateLimitScheduleOutput { extension DescribeCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7854,7 +7859,7 @@ extension DescribeCacheOutput { extension DescribeCachediSCSIVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCachediSCSIVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCachediSCSIVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7866,7 +7871,7 @@ extension DescribeCachediSCSIVolumesOutput { extension DescribeChapCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeChapCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeChapCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7878,7 +7883,7 @@ extension DescribeChapCredentialsOutput { extension DescribeFileSystemAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFileSystemAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFileSystemAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7890,7 +7895,7 @@ extension DescribeFileSystemAssociationsOutput { extension DescribeGatewayInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGatewayInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGatewayInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7923,7 +7928,7 @@ extension DescribeGatewayInformationOutput { extension DescribeMaintenanceStartTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMaintenanceStartTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMaintenanceStartTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7941,7 +7946,7 @@ extension DescribeMaintenanceStartTimeOutput { extension DescribeNFSFileSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNFSFileSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNFSFileSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7953,7 +7958,7 @@ extension DescribeNFSFileSharesOutput { extension DescribeSMBFileSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSMBFileSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSMBFileSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7965,7 +7970,7 @@ extension DescribeSMBFileSharesOutput { extension DescribeSMBSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSMBSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSMBSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7983,7 +7988,7 @@ extension DescribeSMBSettingsOutput { extension DescribeSnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSnapshotScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8000,7 +8005,7 @@ extension DescribeSnapshotScheduleOutput { extension DescribeStorediSCSIVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeStorediSCSIVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeStorediSCSIVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8012,7 +8017,7 @@ extension DescribeStorediSCSIVolumesOutput { extension DescribeTapeArchivesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTapeArchivesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTapeArchivesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8025,7 +8030,7 @@ extension DescribeTapeArchivesOutput { extension DescribeTapeRecoveryPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTapeRecoveryPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTapeRecoveryPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8039,7 +8044,7 @@ extension DescribeTapeRecoveryPointsOutput { extension DescribeTapesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTapesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTapesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8052,7 +8057,7 @@ extension DescribeTapesOutput { extension DescribeUploadBufferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUploadBufferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUploadBufferOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8067,7 +8072,7 @@ extension DescribeUploadBufferOutput { extension DescribeVTLDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeVTLDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeVTLDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8081,7 +8086,7 @@ extension DescribeVTLDevicesOutput { extension DescribeWorkingStorageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkingStorageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkingStorageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8096,7 +8101,7 @@ extension DescribeWorkingStorageOutput { extension DetachVolumeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetachVolumeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetachVolumeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8108,7 +8113,7 @@ extension DetachVolumeOutput { extension DisableGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisableGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisableGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8120,7 +8125,7 @@ extension DisableGatewayOutput { extension DisassociateFileSystemOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFileSystemOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFileSystemOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8132,7 +8137,7 @@ extension DisassociateFileSystemOutput { extension JoinDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> JoinDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> JoinDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8145,7 +8150,7 @@ extension JoinDomainOutput { extension ListAutomaticTapeCreationPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAutomaticTapeCreationPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAutomaticTapeCreationPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8157,7 +8162,7 @@ extension ListAutomaticTapeCreationPoliciesOutput { extension ListFileSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFileSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFileSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8171,7 +8176,7 @@ extension ListFileSharesOutput { extension ListFileSystemAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFileSystemAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFileSystemAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8185,7 +8190,7 @@ extension ListFileSystemAssociationsOutput { extension ListGatewaysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGatewaysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGatewaysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8198,7 +8203,7 @@ extension ListGatewaysOutput { extension ListLocalDisksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLocalDisksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLocalDisksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8211,7 +8216,7 @@ extension ListLocalDisksOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8225,7 +8230,7 @@ extension ListTagsForResourceOutput { extension ListTapePoolsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTapePoolsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTapePoolsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8238,7 +8243,7 @@ extension ListTapePoolsOutput { extension ListTapesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTapesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTapesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8251,7 +8256,7 @@ extension ListTapesOutput { extension ListVolumeInitiatorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVolumeInitiatorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVolumeInitiatorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8263,7 +8268,7 @@ extension ListVolumeInitiatorsOutput { extension ListVolumeRecoveryPointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVolumeRecoveryPointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVolumeRecoveryPointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8276,7 +8281,7 @@ extension ListVolumeRecoveryPointsOutput { extension ListVolumesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVolumesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVolumesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8290,7 +8295,7 @@ extension ListVolumesOutput { extension NotifyWhenUploadedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyWhenUploadedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyWhenUploadedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8303,7 +8308,7 @@ extension NotifyWhenUploadedOutput { extension RefreshCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RefreshCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RefreshCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8316,7 +8321,7 @@ extension RefreshCacheOutput { extension RemoveTagsFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveTagsFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveTagsFromResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8328,7 +8333,7 @@ extension RemoveTagsFromResourceOutput { extension ResetCacheOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetCacheOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetCacheOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8340,7 +8345,7 @@ extension ResetCacheOutput { extension RetrieveTapeArchiveOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveTapeArchiveOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveTapeArchiveOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8352,7 +8357,7 @@ extension RetrieveTapeArchiveOutput { extension RetrieveTapeRecoveryPointOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RetrieveTapeRecoveryPointOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveTapeRecoveryPointOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8364,7 +8369,7 @@ extension RetrieveTapeRecoveryPointOutput { extension SetLocalConsolePasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetLocalConsolePasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetLocalConsolePasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8376,7 +8381,7 @@ extension SetLocalConsolePasswordOutput { extension SetSMBGuestPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SetSMBGuestPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetSMBGuestPasswordOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8388,7 +8393,7 @@ extension SetSMBGuestPasswordOutput { extension ShutdownGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ShutdownGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ShutdownGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8400,7 +8405,7 @@ extension ShutdownGatewayOutput { extension StartAvailabilityMonitorTestOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartAvailabilityMonitorTestOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartAvailabilityMonitorTestOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8412,7 +8417,7 @@ extension StartAvailabilityMonitorTestOutput { extension StartGatewayOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartGatewayOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartGatewayOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8424,7 +8429,7 @@ extension StartGatewayOutput { extension UpdateAutomaticTapeCreationPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAutomaticTapeCreationPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAutomaticTapeCreationPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8436,7 +8441,7 @@ extension UpdateAutomaticTapeCreationPolicyOutput { extension UpdateBandwidthRateLimitOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBandwidthRateLimitOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBandwidthRateLimitOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8448,7 +8453,7 @@ extension UpdateBandwidthRateLimitOutput { extension UpdateBandwidthRateLimitScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBandwidthRateLimitScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBandwidthRateLimitScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8460,7 +8465,7 @@ extension UpdateBandwidthRateLimitScheduleOutput { extension UpdateChapCredentialsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateChapCredentialsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateChapCredentialsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8473,7 +8478,7 @@ extension UpdateChapCredentialsOutput { extension UpdateFileSystemAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFileSystemAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFileSystemAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8485,7 +8490,7 @@ extension UpdateFileSystemAssociationOutput { extension UpdateGatewayInformationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewayInformationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewayInformationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8498,7 +8503,7 @@ extension UpdateGatewayInformationOutput { extension UpdateGatewaySoftwareNowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGatewaySoftwareNowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGatewaySoftwareNowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8510,7 +8515,7 @@ extension UpdateGatewaySoftwareNowOutput { extension UpdateMaintenanceStartTimeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMaintenanceStartTimeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMaintenanceStartTimeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8522,7 +8527,7 @@ extension UpdateMaintenanceStartTimeOutput { extension UpdateNFSFileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNFSFileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNFSFileShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8534,7 +8539,7 @@ extension UpdateNFSFileShareOutput { extension UpdateSMBFileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSMBFileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSMBFileShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8546,7 +8551,7 @@ extension UpdateSMBFileShareOutput { extension UpdateSMBFileShareVisibilityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSMBFileShareVisibilityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSMBFileShareVisibilityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8558,7 +8563,7 @@ extension UpdateSMBFileShareVisibilityOutput { extension UpdateSMBLocalGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSMBLocalGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSMBLocalGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8570,7 +8575,7 @@ extension UpdateSMBLocalGroupsOutput { extension UpdateSMBSecurityStrategyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSMBSecurityStrategyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSMBSecurityStrategyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8582,7 +8587,7 @@ extension UpdateSMBSecurityStrategyOutput { extension UpdateSnapshotScheduleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSnapshotScheduleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSnapshotScheduleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8594,7 +8599,7 @@ extension UpdateSnapshotScheduleOutput { extension UpdateVTLDeviceTypeOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVTLDeviceTypeOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVTLDeviceTypeOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8606,7 +8611,7 @@ extension UpdateVTLDeviceTypeOutput { enum ActivateGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8621,7 +8626,7 @@ enum ActivateGatewayOutputError { enum AddCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8636,7 +8641,7 @@ enum AddCacheOutputError { enum AddTagsToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8651,7 +8656,7 @@ enum AddTagsToResourceOutputError { enum AddUploadBufferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8666,7 +8671,7 @@ enum AddUploadBufferOutputError { enum AddWorkingStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8681,7 +8686,7 @@ enum AddWorkingStorageOutputError { enum AssignTapePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8696,7 +8701,7 @@ enum AssignTapePoolOutputError { enum AssociateFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8711,7 +8716,7 @@ enum AssociateFileSystemOutputError { enum AttachVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8726,7 +8731,7 @@ enum AttachVolumeOutputError { enum CancelArchivalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8741,7 +8746,7 @@ enum CancelArchivalOutputError { enum CancelRetrievalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8756,7 +8761,7 @@ enum CancelRetrievalOutputError { enum CreateCachediSCSIVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8771,7 +8776,7 @@ enum CreateCachediSCSIVolumeOutputError { enum CreateNFSFileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8786,7 +8791,7 @@ enum CreateNFSFileShareOutputError { enum CreateSMBFileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8801,7 +8806,7 @@ enum CreateSMBFileShareOutputError { enum CreateSnapshotOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8817,7 +8822,7 @@ enum CreateSnapshotOutputError { enum CreateSnapshotFromVolumeRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8833,7 +8838,7 @@ enum CreateSnapshotFromVolumeRecoveryPointOutputError { enum CreateStorediSCSIVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8848,7 +8853,7 @@ enum CreateStorediSCSIVolumeOutputError { enum CreateTapePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8863,7 +8868,7 @@ enum CreateTapePoolOutputError { enum CreateTapesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8878,7 +8883,7 @@ enum CreateTapesOutputError { enum CreateTapeWithBarcodeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8893,7 +8898,7 @@ enum CreateTapeWithBarcodeOutputError { enum DeleteAutomaticTapeCreationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8908,7 +8913,7 @@ enum DeleteAutomaticTapeCreationPolicyOutputError { enum DeleteBandwidthRateLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8923,7 +8928,7 @@ enum DeleteBandwidthRateLimitOutputError { enum DeleteChapCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8938,7 +8943,7 @@ enum DeleteChapCredentialsOutputError { enum DeleteFileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8953,7 +8958,7 @@ enum DeleteFileShareOutputError { enum DeleteGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8968,7 +8973,7 @@ enum DeleteGatewayOutputError { enum DeleteSnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8983,7 +8988,7 @@ enum DeleteSnapshotScheduleOutputError { enum DeleteTapeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8998,7 +9003,7 @@ enum DeleteTapeOutputError { enum DeleteTapeArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9013,7 +9018,7 @@ enum DeleteTapeArchiveOutputError { enum DeleteTapePoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9028,7 +9033,7 @@ enum DeleteTapePoolOutputError { enum DeleteVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9043,7 +9048,7 @@ enum DeleteVolumeOutputError { enum DescribeAvailabilityMonitorTestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9058,7 +9063,7 @@ enum DescribeAvailabilityMonitorTestOutputError { enum DescribeBandwidthRateLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9073,7 +9078,7 @@ enum DescribeBandwidthRateLimitOutputError { enum DescribeBandwidthRateLimitScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9088,7 +9093,7 @@ enum DescribeBandwidthRateLimitScheduleOutputError { enum DescribeCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9103,7 +9108,7 @@ enum DescribeCacheOutputError { enum DescribeCachediSCSIVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9118,7 +9123,7 @@ enum DescribeCachediSCSIVolumesOutputError { enum DescribeChapCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9133,7 +9138,7 @@ enum DescribeChapCredentialsOutputError { enum DescribeFileSystemAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9148,7 +9153,7 @@ enum DescribeFileSystemAssociationsOutputError { enum DescribeGatewayInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9163,7 +9168,7 @@ enum DescribeGatewayInformationOutputError { enum DescribeMaintenanceStartTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9178,7 +9183,7 @@ enum DescribeMaintenanceStartTimeOutputError { enum DescribeNFSFileSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9193,7 +9198,7 @@ enum DescribeNFSFileSharesOutputError { enum DescribeSMBFileSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9208,7 +9213,7 @@ enum DescribeSMBFileSharesOutputError { enum DescribeSMBSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9223,7 +9228,7 @@ enum DescribeSMBSettingsOutputError { enum DescribeSnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9238,7 +9243,7 @@ enum DescribeSnapshotScheduleOutputError { enum DescribeStorediSCSIVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9253,7 +9258,7 @@ enum DescribeStorediSCSIVolumesOutputError { enum DescribeTapeArchivesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9268,7 +9273,7 @@ enum DescribeTapeArchivesOutputError { enum DescribeTapeRecoveryPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9283,7 +9288,7 @@ enum DescribeTapeRecoveryPointsOutputError { enum DescribeTapesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9298,7 +9303,7 @@ enum DescribeTapesOutputError { enum DescribeUploadBufferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9313,7 +9318,7 @@ enum DescribeUploadBufferOutputError { enum DescribeVTLDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9328,7 +9333,7 @@ enum DescribeVTLDevicesOutputError { enum DescribeWorkingStorageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9343,7 +9348,7 @@ enum DescribeWorkingStorageOutputError { enum DetachVolumeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9358,7 +9363,7 @@ enum DetachVolumeOutputError { enum DisableGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9373,7 +9378,7 @@ enum DisableGatewayOutputError { enum DisassociateFileSystemOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9388,7 +9393,7 @@ enum DisassociateFileSystemOutputError { enum JoinDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9403,7 +9408,7 @@ enum JoinDomainOutputError { enum ListAutomaticTapeCreationPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9418,7 +9423,7 @@ enum ListAutomaticTapeCreationPoliciesOutputError { enum ListFileSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9433,7 +9438,7 @@ enum ListFileSharesOutputError { enum ListFileSystemAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9448,7 +9453,7 @@ enum ListFileSystemAssociationsOutputError { enum ListGatewaysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9463,7 +9468,7 @@ enum ListGatewaysOutputError { enum ListLocalDisksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9478,7 +9483,7 @@ enum ListLocalDisksOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9493,7 +9498,7 @@ enum ListTagsForResourceOutputError { enum ListTapePoolsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9508,7 +9513,7 @@ enum ListTapePoolsOutputError { enum ListTapesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9523,7 +9528,7 @@ enum ListTapesOutputError { enum ListVolumeInitiatorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9538,7 +9543,7 @@ enum ListVolumeInitiatorsOutputError { enum ListVolumeRecoveryPointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9553,7 +9558,7 @@ enum ListVolumeRecoveryPointsOutputError { enum ListVolumesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9568,7 +9573,7 @@ enum ListVolumesOutputError { enum NotifyWhenUploadedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9583,7 +9588,7 @@ enum NotifyWhenUploadedOutputError { enum RefreshCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9598,7 +9603,7 @@ enum RefreshCacheOutputError { enum RemoveTagsFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9613,7 +9618,7 @@ enum RemoveTagsFromResourceOutputError { enum ResetCacheOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9628,7 +9633,7 @@ enum ResetCacheOutputError { enum RetrieveTapeArchiveOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9643,7 +9648,7 @@ enum RetrieveTapeArchiveOutputError { enum RetrieveTapeRecoveryPointOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9658,7 +9663,7 @@ enum RetrieveTapeRecoveryPointOutputError { enum SetLocalConsolePasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9673,7 +9678,7 @@ enum SetLocalConsolePasswordOutputError { enum SetSMBGuestPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9688,7 +9693,7 @@ enum SetSMBGuestPasswordOutputError { enum ShutdownGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9703,7 +9708,7 @@ enum ShutdownGatewayOutputError { enum StartAvailabilityMonitorTestOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9718,7 +9723,7 @@ enum StartAvailabilityMonitorTestOutputError { enum StartGatewayOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9733,7 +9738,7 @@ enum StartGatewayOutputError { enum UpdateAutomaticTapeCreationPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9748,7 +9753,7 @@ enum UpdateAutomaticTapeCreationPolicyOutputError { enum UpdateBandwidthRateLimitOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9763,7 +9768,7 @@ enum UpdateBandwidthRateLimitOutputError { enum UpdateBandwidthRateLimitScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9778,7 +9783,7 @@ enum UpdateBandwidthRateLimitScheduleOutputError { enum UpdateChapCredentialsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9793,7 +9798,7 @@ enum UpdateChapCredentialsOutputError { enum UpdateFileSystemAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9808,7 +9813,7 @@ enum UpdateFileSystemAssociationOutputError { enum UpdateGatewayInformationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9823,7 +9828,7 @@ enum UpdateGatewayInformationOutputError { enum UpdateGatewaySoftwareNowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9838,7 +9843,7 @@ enum UpdateGatewaySoftwareNowOutputError { enum UpdateMaintenanceStartTimeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9853,7 +9858,7 @@ enum UpdateMaintenanceStartTimeOutputError { enum UpdateNFSFileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9868,7 +9873,7 @@ enum UpdateNFSFileShareOutputError { enum UpdateSMBFileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9883,7 +9888,7 @@ enum UpdateSMBFileShareOutputError { enum UpdateSMBFileShareVisibilityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9898,7 +9903,7 @@ enum UpdateSMBFileShareVisibilityOutputError { enum UpdateSMBLocalGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9913,7 +9918,7 @@ enum UpdateSMBLocalGroupsOutputError { enum UpdateSMBSecurityStrategyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9928,7 +9933,7 @@ enum UpdateSMBSecurityStrategyOutputError { enum UpdateSnapshotScheduleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9943,7 +9948,7 @@ enum UpdateSnapshotScheduleOutputError { enum UpdateVTLDeviceTypeOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/Models.swift b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/Models.swift index 49f7ab2ecba..65da2620f88 100644 --- a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/Models.swift +++ b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -31,7 +31,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -130,7 +130,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -178,7 +178,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -202,7 +202,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -226,7 +226,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -287,7 +287,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -512,7 +512,7 @@ extension SendDataIntegrationEventInput { extension CreateBillOfMaterialsImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBillOfMaterialsImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBillOfMaterialsImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -524,7 +524,7 @@ extension CreateBillOfMaterialsImportJobOutput { extension GetBillOfMaterialsImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBillOfMaterialsImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBillOfMaterialsImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -536,7 +536,7 @@ extension GetBillOfMaterialsImportJobOutput { extension SendDataIntegrationEventOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendDataIntegrationEventOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendDataIntegrationEventOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -561,7 +561,7 @@ func httpServiceError(baseError: AWSClientRuntime.RestJSONError) throws -> Swift enum CreateBillOfMaterialsImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -581,7 +581,7 @@ enum CreateBillOfMaterialsImportJobOutputError { enum GetBillOfMaterialsImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -600,7 +600,7 @@ enum GetBillOfMaterialsImportJobOutputError { enum SendDataIntegrationEventOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSupport/Sources/AWSSupport/Models.swift b/Sources/Services/AWSSupport/Sources/AWSSupport/Models.swift index 81149a2bc0f..7d45d272a79 100644 --- a/Sources/Services/AWSSupport/Sources/AWSSupport/Models.swift +++ b/Sources/Services/AWSSupport/Sources/AWSSupport/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AttachmentLimitExceeded: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -61,7 +61,7 @@ public struct AttachmentSetExpired: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct AttachmentSetIdNotFound: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -111,7 +111,7 @@ public struct AttachmentSetSizeLimitExceeded: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -215,7 +215,7 @@ public struct CaseIdNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSSe public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -298,7 +298,7 @@ public struct AttachmentIdNotFound: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -323,7 +323,7 @@ public struct CaseCreationLimitExceeded: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -407,7 +407,7 @@ public struct DescribeAttachmentLimitExceeded: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -727,7 +727,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1797,7 +1797,7 @@ extension ResolveCaseInput { extension AddAttachmentsToSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddAttachmentsToSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddAttachmentsToSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1810,7 +1810,7 @@ extension AddAttachmentsToSetOutput { extension AddCommunicationToCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddCommunicationToCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddCommunicationToCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1822,7 +1822,7 @@ extension AddCommunicationToCaseOutput { extension CreateCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1834,7 +1834,7 @@ extension CreateCaseOutput { extension DescribeAttachmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAttachmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAttachmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1846,7 +1846,7 @@ extension DescribeAttachmentOutput { extension DescribeCasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1859,7 +1859,7 @@ extension DescribeCasesOutput { extension DescribeCommunicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCommunicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCommunicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1872,7 +1872,7 @@ extension DescribeCommunicationsOutput { extension DescribeCreateCaseOptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCreateCaseOptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCreateCaseOptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1885,7 +1885,7 @@ extension DescribeCreateCaseOptionsOutput { extension DescribeServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1897,7 +1897,7 @@ extension DescribeServicesOutput { extension DescribeSeverityLevelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSeverityLevelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSeverityLevelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1909,7 +1909,7 @@ extension DescribeSeverityLevelsOutput { extension DescribeSupportedLanguagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSupportedLanguagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSupportedLanguagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1921,7 +1921,7 @@ extension DescribeSupportedLanguagesOutput { extension DescribeTrustedAdvisorCheckRefreshStatusesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustedAdvisorCheckRefreshStatusesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustedAdvisorCheckRefreshStatusesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1933,7 +1933,7 @@ extension DescribeTrustedAdvisorCheckRefreshStatusesOutput { extension DescribeTrustedAdvisorCheckResultOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustedAdvisorCheckResultOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustedAdvisorCheckResultOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1945,7 +1945,7 @@ extension DescribeTrustedAdvisorCheckResultOutput { extension DescribeTrustedAdvisorChecksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustedAdvisorChecksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustedAdvisorChecksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1957,7 +1957,7 @@ extension DescribeTrustedAdvisorChecksOutput { extension DescribeTrustedAdvisorCheckSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTrustedAdvisorCheckSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTrustedAdvisorCheckSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1969,7 +1969,7 @@ extension DescribeTrustedAdvisorCheckSummariesOutput { extension RefreshTrustedAdvisorCheckOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RefreshTrustedAdvisorCheckOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RefreshTrustedAdvisorCheckOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1981,7 +1981,7 @@ extension RefreshTrustedAdvisorCheckOutput { extension ResolveCaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResolveCaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResolveCaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1994,7 +1994,7 @@ extension ResolveCaseOutput { enum AddAttachmentsToSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2012,7 +2012,7 @@ enum AddAttachmentsToSetOutputError { enum AddCommunicationToCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2029,7 +2029,7 @@ enum AddCommunicationToCaseOutputError { enum CreateCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2046,7 +2046,7 @@ enum CreateCaseOutputError { enum DescribeAttachmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2062,7 +2062,7 @@ enum DescribeAttachmentOutputError { enum DescribeCasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2077,7 +2077,7 @@ enum DescribeCasesOutputError { enum DescribeCommunicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2092,7 +2092,7 @@ enum DescribeCommunicationsOutputError { enum DescribeCreateCaseOptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2107,7 +2107,7 @@ enum DescribeCreateCaseOptionsOutputError { enum DescribeServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2121,7 +2121,7 @@ enum DescribeServicesOutputError { enum DescribeSeverityLevelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2135,7 +2135,7 @@ enum DescribeSeverityLevelsOutputError { enum DescribeSupportedLanguagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2150,7 +2150,7 @@ enum DescribeSupportedLanguagesOutputError { enum DescribeTrustedAdvisorCheckRefreshStatusesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2165,7 +2165,7 @@ enum DescribeTrustedAdvisorCheckRefreshStatusesOutputError { enum DescribeTrustedAdvisorCheckResultOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2180,7 +2180,7 @@ enum DescribeTrustedAdvisorCheckResultOutputError { enum DescribeTrustedAdvisorChecksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2195,7 +2195,7 @@ enum DescribeTrustedAdvisorChecksOutputError { enum DescribeTrustedAdvisorCheckSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2210,7 +2210,7 @@ enum DescribeTrustedAdvisorCheckSummariesOutputError { enum RefreshTrustedAdvisorCheckOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2224,7 +2224,7 @@ enum RefreshTrustedAdvisorCheckOutputError { enum ResolveCaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/Models.swift b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/Models.swift index 45c077d34e1..765f7746e17 100644 --- a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/Models.swift +++ b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -30,7 +30,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -95,7 +95,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -119,7 +119,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -143,7 +143,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -167,7 +167,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -290,7 +290,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -800,35 +800,35 @@ extension UpdateSlackChannelConfigurationInput { extension CreateSlackChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSlackChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSlackChannelConfigurationOutput { return CreateSlackChannelConfigurationOutput() } } extension DeleteAccountAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountAliasOutput { return DeleteAccountAliasOutput() } } extension DeleteSlackChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlackChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlackChannelConfigurationOutput { return DeleteSlackChannelConfigurationOutput() } } extension DeleteSlackWorkspaceConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSlackWorkspaceConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSlackWorkspaceConfigurationOutput { return DeleteSlackWorkspaceConfigurationOutput() } } extension GetAccountAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -840,7 +840,7 @@ extension GetAccountAliasOutput { extension ListSlackChannelConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSlackChannelConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSlackChannelConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -853,7 +853,7 @@ extension ListSlackChannelConfigurationsOutput { extension ListSlackWorkspaceConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSlackWorkspaceConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSlackWorkspaceConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -866,14 +866,14 @@ extension ListSlackWorkspaceConfigurationsOutput { extension PutAccountAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccountAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccountAliasOutput { return PutAccountAliasOutput() } } extension RegisterSlackWorkspaceForOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterSlackWorkspaceForOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterSlackWorkspaceForOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -887,7 +887,7 @@ extension RegisterSlackWorkspaceForOrganizationOutput { extension UpdateSlackChannelConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSlackChannelConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSlackChannelConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -906,7 +906,7 @@ extension UpdateSlackChannelConfigurationOutput { enum CreateSlackChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -924,7 +924,7 @@ enum CreateSlackChannelConfigurationOutputError { enum DeleteAccountAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -940,7 +940,7 @@ enum DeleteAccountAliasOutputError { enum DeleteSlackChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -958,7 +958,7 @@ enum DeleteSlackChannelConfigurationOutputError { enum DeleteSlackWorkspaceConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -976,7 +976,7 @@ enum DeleteSlackWorkspaceConfigurationOutputError { enum GetAccountAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -990,7 +990,7 @@ enum GetAccountAliasOutputError { enum ListSlackChannelConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1005,7 +1005,7 @@ enum ListSlackChannelConfigurationsOutputError { enum ListSlackWorkspaceConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1020,7 +1020,7 @@ enum ListSlackWorkspaceConfigurationsOutputError { enum PutAccountAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1036,7 +1036,7 @@ enum PutAccountAliasOutputError { enum RegisterSlackWorkspaceForOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1054,7 +1054,7 @@ enum RegisterSlackWorkspaceForOrganizationOutputError { enum UpdateSlackChannelConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/Models.swift b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/Models.swift index 75f8b6f2d62..d210d170888 100644 --- a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/Models.swift +++ b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -116,7 +116,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -140,7 +140,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -164,7 +164,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -188,7 +188,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -212,7 +212,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -892,7 +892,7 @@ public struct RequestEntityTooLargeException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1395,7 +1395,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1525,7 +1525,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1549,7 +1549,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2122,14 +2122,14 @@ extension UpdateCanaryInput { extension AssociateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateResourceOutput { return AssociateResourceOutput() } } extension CreateCanaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCanaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCanaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2141,7 +2141,7 @@ extension CreateCanaryOutput { extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2153,21 +2153,21 @@ extension CreateGroupOutput { extension DeleteCanaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCanaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCanaryOutput { return DeleteCanaryOutput() } } extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DescribeCanariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCanariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCanariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2180,7 +2180,7 @@ extension DescribeCanariesOutput { extension DescribeCanariesLastRunOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCanariesLastRunOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCanariesLastRunOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2193,7 +2193,7 @@ extension DescribeCanariesLastRunOutput { extension DescribeRuntimeVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRuntimeVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRuntimeVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2206,14 +2206,14 @@ extension DescribeRuntimeVersionsOutput { extension DisassociateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateResourceOutput { return DisassociateResourceOutput() } } extension GetCanaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCanaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCanaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2225,7 +2225,7 @@ extension GetCanaryOutput { extension GetCanaryRunsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCanaryRunsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCanaryRunsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2238,7 +2238,7 @@ extension GetCanaryRunsOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2250,7 +2250,7 @@ extension GetGroupOutput { extension ListAssociatedGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssociatedGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssociatedGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2263,7 +2263,7 @@ extension ListAssociatedGroupsOutput { extension ListGroupResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2276,7 +2276,7 @@ extension ListGroupResourcesOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2289,7 +2289,7 @@ extension ListGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2301,42 +2301,42 @@ extension ListTagsForResourceOutput { extension StartCanaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCanaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCanaryOutput { return StartCanaryOutput() } } extension StopCanaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopCanaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCanaryOutput { return StopCanaryOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCanaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCanaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCanaryOutput { return UpdateCanaryOutput() } } enum AssociateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2354,7 +2354,7 @@ enum AssociateResourceOutputError { enum CreateCanaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2370,7 +2370,7 @@ enum CreateCanaryOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2387,7 +2387,7 @@ enum CreateGroupOutputError { enum DeleteCanaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2404,7 +2404,7 @@ enum DeleteCanaryOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2421,7 +2421,7 @@ enum DeleteGroupOutputError { enum DescribeCanariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2436,7 +2436,7 @@ enum DescribeCanariesOutputError { enum DescribeCanariesLastRunOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2451,7 +2451,7 @@ enum DescribeCanariesLastRunOutputError { enum DescribeRuntimeVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2466,7 +2466,7 @@ enum DescribeRuntimeVersionsOutputError { enum DisassociateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2483,7 +2483,7 @@ enum DisassociateResourceOutputError { enum GetCanaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2498,7 +2498,7 @@ enum GetCanaryOutputError { enum GetCanaryRunsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2514,7 +2514,7 @@ enum GetCanaryRunsOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2531,7 +2531,7 @@ enum GetGroupOutputError { enum ListAssociatedGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2547,7 +2547,7 @@ enum ListAssociatedGroupsOutputError { enum ListGroupResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2564,7 +2564,7 @@ enum ListGroupResourcesOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2579,7 +2579,7 @@ enum ListGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2597,7 +2597,7 @@ enum ListTagsForResourceOutputError { enum StartCanaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2614,7 +2614,7 @@ enum StartCanaryOutputError { enum StopCanaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2631,7 +2631,7 @@ enum StopCanaryOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2649,7 +2649,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2667,7 +2667,7 @@ enum UntagResourceOutputError { enum UpdateCanaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/Models.swift b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/Models.swift index 6e987165168..9fbf5d1556c 100644 --- a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/Models.swift +++ b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -1178,7 +1178,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1213,7 +1213,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1305,7 +1305,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1581,7 +1581,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1789,6 +1789,11 @@ public struct ListTaxRegistrationsOutput { } } +extension ListTaxRegistrationsOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListTaxRegistrationsOutput(nextToken: \(Swift.String(describing: nextToken)), accountDetails: \"CONTENT_REDACTED\")"} +} + public struct PutTaxRegistrationInput { /// Your unique account identifier. public var accountId: Swift.String? @@ -1934,7 +1939,7 @@ extension PutTaxRegistrationInput { extension BatchDeleteTaxRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchDeleteTaxRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchDeleteTaxRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1946,7 +1951,7 @@ extension BatchDeleteTaxRegistrationOutput { extension BatchPutTaxRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchPutTaxRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchPutTaxRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1959,14 +1964,14 @@ extension BatchPutTaxRegistrationOutput { extension DeleteTaxRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTaxRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTaxRegistrationOutput { return DeleteTaxRegistrationOutput() } } extension GetTaxRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTaxRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTaxRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1978,7 +1983,7 @@ extension GetTaxRegistrationOutput { extension GetTaxRegistrationDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTaxRegistrationDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTaxRegistrationDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1990,7 +1995,7 @@ extension GetTaxRegistrationDocumentOutput { extension ListTaxRegistrationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTaxRegistrationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTaxRegistrationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2003,7 +2008,7 @@ extension ListTaxRegistrationsOutput { extension PutTaxRegistrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutTaxRegistrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutTaxRegistrationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2015,7 +2020,7 @@ extension PutTaxRegistrationOutput { enum BatchDeleteTaxRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2031,7 +2036,7 @@ enum BatchDeleteTaxRegistrationOutputError { enum BatchPutTaxRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2047,7 +2052,7 @@ enum BatchPutTaxRegistrationOutputError { enum DeleteTaxRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2064,7 +2069,7 @@ enum DeleteTaxRegistrationOutputError { enum GetTaxRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2080,7 +2085,7 @@ enum GetTaxRegistrationOutputError { enum GetTaxRegistrationDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2095,7 +2100,7 @@ enum GetTaxRegistrationDocumentOutputError { enum ListTaxRegistrationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2111,7 +2116,7 @@ enum ListTaxRegistrationsOutputError { enum PutTaxRegistrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTextract/Sources/AWSTextract/Models.swift b/Sources/Services/AWSTextract/Sources/AWSTextract/Models.swift index 31a512dcce6..48b9c6691ec 100644 --- a/Sources/Services/AWSTextract/Sources/AWSTextract/Models.swift +++ b/Sources/Services/AWSTextract/Sources/AWSTextract/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -344,7 +344,7 @@ public struct BadDocumentException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -371,7 +371,7 @@ public struct DocumentTooLargeException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -404,7 +404,7 @@ public struct HumanLoopQuotaExceededException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -437,7 +437,7 @@ public struct InternalServerError: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -464,7 +464,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -491,7 +491,7 @@ public struct InvalidS3ObjectException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -518,7 +518,7 @@ public struct ProvisionedThroughputExceededException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -545,7 +545,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -572,7 +572,7 @@ public struct UnsupportedDocumentException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1759,7 +1759,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1786,7 +1786,7 @@ public struct IdempotentParameterMismatchException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1813,7 +1813,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1840,7 +1840,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1867,7 +1867,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1940,7 +1940,7 @@ public struct InvalidKMSKeyException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1967,7 +1967,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2471,7 +2471,7 @@ public struct InvalidJobIdException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3762,7 +3762,7 @@ extension UpdateAdapterInput { extension AnalyzeDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AnalyzeDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AnalyzeDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3777,7 +3777,7 @@ extension AnalyzeDocumentOutput { extension AnalyzeExpenseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AnalyzeExpenseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AnalyzeExpenseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3790,7 +3790,7 @@ extension AnalyzeExpenseOutput { extension AnalyzeIDOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AnalyzeIDOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AnalyzeIDOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3804,7 +3804,7 @@ extension AnalyzeIDOutput { extension CreateAdapterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAdapterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAdapterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3816,7 +3816,7 @@ extension CreateAdapterOutput { extension CreateAdapterVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAdapterVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAdapterVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3829,21 +3829,21 @@ extension CreateAdapterVersionOutput { extension DeleteAdapterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAdapterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAdapterOutput { return DeleteAdapterOutput() } } extension DeleteAdapterVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAdapterVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAdapterVersionOutput { return DeleteAdapterVersionOutput() } } extension DetectDocumentTextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DetectDocumentTextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DetectDocumentTextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3857,7 +3857,7 @@ extension DetectDocumentTextOutput { extension GetAdapterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdapterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdapterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3875,7 +3875,7 @@ extension GetAdapterOutput { extension GetAdapterVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAdapterVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAdapterVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3897,7 +3897,7 @@ extension GetAdapterVersionOutput { extension GetDocumentAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3915,7 +3915,7 @@ extension GetDocumentAnalysisOutput { extension GetDocumentTextDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentTextDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentTextDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3933,7 +3933,7 @@ extension GetDocumentTextDetectionOutput { extension GetExpenseAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetExpenseAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetExpenseAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3951,7 +3951,7 @@ extension GetExpenseAnalysisOutput { extension GetLendingAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLendingAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLendingAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3969,7 +3969,7 @@ extension GetLendingAnalysisOutput { extension GetLendingAnalysisSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLendingAnalysisSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLendingAnalysisSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3986,7 +3986,7 @@ extension GetLendingAnalysisSummaryOutput { extension ListAdaptersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAdaptersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAdaptersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3999,7 +3999,7 @@ extension ListAdaptersOutput { extension ListAdapterVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAdapterVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAdapterVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4012,7 +4012,7 @@ extension ListAdapterVersionsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4024,7 +4024,7 @@ extension ListTagsForResourceOutput { extension StartDocumentAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDocumentAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDocumentAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4036,7 +4036,7 @@ extension StartDocumentAnalysisOutput { extension StartDocumentTextDetectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDocumentTextDetectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDocumentTextDetectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4048,7 +4048,7 @@ extension StartDocumentTextDetectionOutput { extension StartExpenseAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartExpenseAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartExpenseAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4060,7 +4060,7 @@ extension StartExpenseAnalysisOutput { extension StartLendingAnalysisOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartLendingAnalysisOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartLendingAnalysisOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4072,21 +4072,21 @@ extension StartLendingAnalysisOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAdapterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAdapterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAdapterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4103,7 +4103,7 @@ extension UpdateAdapterOutput { enum AnalyzeDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4126,7 +4126,7 @@ enum AnalyzeDocumentOutputError { enum AnalyzeExpenseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4148,7 +4148,7 @@ enum AnalyzeExpenseOutputError { enum AnalyzeIDOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4170,7 +4170,7 @@ enum AnalyzeIDOutputError { enum CreateAdapterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4193,7 +4193,7 @@ enum CreateAdapterOutputError { enum CreateAdapterVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4219,7 +4219,7 @@ enum CreateAdapterVersionOutputError { enum DeleteAdapterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4240,7 +4240,7 @@ enum DeleteAdapterOutputError { enum DeleteAdapterVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4261,7 +4261,7 @@ enum DeleteAdapterVersionOutputError { enum DetectDocumentTextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4283,7 +4283,7 @@ enum DetectDocumentTextOutputError { enum GetAdapterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4303,7 +4303,7 @@ enum GetAdapterOutputError { enum GetAdapterVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4323,7 +4323,7 @@ enum GetAdapterVersionOutputError { enum GetDocumentAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4344,7 +4344,7 @@ enum GetDocumentAnalysisOutputError { enum GetDocumentTextDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4365,7 +4365,7 @@ enum GetDocumentTextDetectionOutputError { enum GetExpenseAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4386,7 +4386,7 @@ enum GetExpenseAnalysisOutputError { enum GetLendingAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4407,7 +4407,7 @@ enum GetLendingAnalysisOutputError { enum GetLendingAnalysisSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4428,7 +4428,7 @@ enum GetLendingAnalysisSummaryOutputError { enum ListAdaptersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4447,7 +4447,7 @@ enum ListAdaptersOutputError { enum ListAdapterVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4467,7 +4467,7 @@ enum ListAdapterVersionsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4487,7 +4487,7 @@ enum ListTagsForResourceOutputError { enum StartDocumentAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4512,7 +4512,7 @@ enum StartDocumentAnalysisOutputError { enum StartDocumentTextDetectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4537,7 +4537,7 @@ enum StartDocumentTextDetectionOutputError { enum StartExpenseAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4562,7 +4562,7 @@ enum StartExpenseAnalysisOutputError { enum StartLendingAnalysisOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4587,7 +4587,7 @@ enum StartLendingAnalysisOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4608,7 +4608,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4628,7 +4628,7 @@ enum UntagResourceOutputError { enum UpdateAdapterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/Models.swift b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/Models.swift index ef9f949180d..ead0d3b3a16 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/Models.swift +++ b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -43,7 +43,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -74,7 +74,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -103,7 +103,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -163,7 +163,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -190,7 +190,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -249,7 +249,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1515,7 +1515,7 @@ extension UpdateDbInstanceInput { extension CreateDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDbInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1543,7 +1543,7 @@ extension CreateDbInstanceOutput { extension CreateDbParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDbParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDbParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1559,7 +1559,7 @@ extension CreateDbParameterGroupOutput { extension DeleteDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDbInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1587,7 +1587,7 @@ extension DeleteDbInstanceOutput { extension GetDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDbInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1615,7 +1615,7 @@ extension GetDbInstanceOutput { extension GetDbParameterGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDbParameterGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDbParameterGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1631,7 +1631,7 @@ extension GetDbParameterGroupOutput { extension ListDbInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDbInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDbInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1644,7 +1644,7 @@ extension ListDbInstancesOutput { extension ListDbParameterGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDbParameterGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDbParameterGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1657,7 +1657,7 @@ extension ListDbParameterGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1669,21 +1669,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDbInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDbInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDbInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -1711,7 +1711,7 @@ extension UpdateDbInstanceOutput { enum CreateDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1731,7 +1731,7 @@ enum CreateDbInstanceOutputError { enum CreateDbParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1751,7 +1751,7 @@ enum CreateDbParameterGroupOutputError { enum DeleteDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1770,7 +1770,7 @@ enum DeleteDbInstanceOutputError { enum GetDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1788,7 +1788,7 @@ enum GetDbInstanceOutputError { enum GetDbParameterGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1806,7 +1806,7 @@ enum GetDbParameterGroupOutputError { enum ListDbInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1824,7 +1824,7 @@ enum ListDbInstancesOutputError { enum ListDbParameterGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1842,7 +1842,7 @@ enum ListDbParameterGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1856,7 +1856,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1870,7 +1870,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -1884,7 +1884,7 @@ enum UntagResourceOutputError { enum UpdateDbInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift index 049bca6fa84..f7651560ac8 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift @@ -9,7 +9,7 @@ import Foundation import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -48,7 +48,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -72,7 +72,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -96,7 +96,7 @@ public struct InvalidEndpointException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -120,7 +120,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -144,7 +144,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -249,7 +249,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -273,7 +273,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -784,7 +784,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1401,7 +1401,7 @@ public struct QueryExecutionException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2072,7 +2072,7 @@ extension UpdateScheduledQueryInput { extension CancelQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2084,7 +2084,7 @@ extension CancelQueryOutput { extension CreateScheduledQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateScheduledQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateScheduledQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2096,14 +2096,14 @@ extension CreateScheduledQueryOutput { extension DeleteScheduledQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteScheduledQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteScheduledQueryOutput { return DeleteScheduledQueryOutput() } } extension DescribeAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2116,7 +2116,7 @@ extension DescribeAccountSettingsOutput { extension DescribeEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2128,7 +2128,7 @@ extension DescribeEndpointsOutput { extension DescribeScheduledQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeScheduledQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeScheduledQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2140,14 +2140,14 @@ extension DescribeScheduledQueryOutput { extension ExecuteScheduledQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExecuteScheduledQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExecuteScheduledQueryOutput { return ExecuteScheduledQueryOutput() } } extension ListScheduledQueriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListScheduledQueriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListScheduledQueriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2160,7 +2160,7 @@ extension ListScheduledQueriesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2173,7 +2173,7 @@ extension ListTagsForResourceOutput { extension PrepareQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PrepareQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PrepareQueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2187,7 +2187,7 @@ extension PrepareQueryOutput { extension QueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2203,21 +2203,21 @@ extension QueryOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccountSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccountSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccountSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2230,14 +2230,14 @@ extension UpdateAccountSettingsOutput { extension UpdateScheduledQueryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateScheduledQueryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateScheduledQueryOutput { return UpdateScheduledQueryOutput() } } enum CancelQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2255,7 +2255,7 @@ enum CancelQueryOutputError { enum CreateScheduledQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2275,7 +2275,7 @@ enum CreateScheduledQueryOutputError { enum DeleteScheduledQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2294,7 +2294,7 @@ enum DeleteScheduledQueryOutputError { enum DescribeAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2311,7 +2311,7 @@ enum DescribeAccountSettingsOutputError { enum DescribeEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2327,7 +2327,7 @@ enum DescribeEndpointsOutputError { enum DescribeScheduledQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2346,7 +2346,7 @@ enum DescribeScheduledQueryOutputError { enum ExecuteScheduledQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2365,7 +2365,7 @@ enum ExecuteScheduledQueryOutputError { enum ListScheduledQueriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2383,7 +2383,7 @@ enum ListScheduledQueriesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2400,7 +2400,7 @@ enum ListTagsForResourceOutputError { enum PrepareQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2418,7 +2418,7 @@ enum PrepareQueryOutputError { enum QueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2438,7 +2438,7 @@ enum QueryOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2456,7 +2456,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2473,7 +2473,7 @@ enum UntagResourceOutputError { enum UpdateAccountSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2491,7 +2491,7 @@ enum UpdateAccountSettingsOutputError { enum UpdateScheduledQueryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/Models.swift b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/Models.swift index 6217a9faef0..6b9744aafe0 100644 --- a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/Models.swift +++ b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -43,7 +43,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -718,7 +718,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -743,7 +743,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -767,7 +767,7 @@ public struct InvalidEndpointException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -791,7 +791,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -815,7 +815,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -840,7 +840,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -865,7 +865,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1840,7 +1840,7 @@ public struct RejectedRecordsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2354,7 +2354,7 @@ extension WriteRecordsInput { extension CreateBatchLoadTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBatchLoadTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBatchLoadTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2366,7 +2366,7 @@ extension CreateBatchLoadTaskOutput { extension CreateDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2378,7 +2378,7 @@ extension CreateDatabaseOutput { extension CreateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2390,21 +2390,21 @@ extension CreateTableOutput { extension DeleteDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDatabaseOutput { return DeleteDatabaseOutput() } } extension DeleteTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTableOutput { return DeleteTableOutput() } } extension DescribeBatchLoadTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBatchLoadTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBatchLoadTaskOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2416,7 +2416,7 @@ extension DescribeBatchLoadTaskOutput { extension DescribeDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2428,7 +2428,7 @@ extension DescribeDatabaseOutput { extension DescribeEndpointsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEndpointsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEndpointsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2440,7 +2440,7 @@ extension DescribeEndpointsOutput { extension DescribeTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2452,7 +2452,7 @@ extension DescribeTableOutput { extension ListBatchLoadTasksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBatchLoadTasksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBatchLoadTasksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2465,7 +2465,7 @@ extension ListBatchLoadTasksOutput { extension ListDatabasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDatabasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDatabasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2478,7 +2478,7 @@ extension ListDatabasesOutput { extension ListTablesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTablesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTablesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2491,7 +2491,7 @@ extension ListTablesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2503,28 +2503,28 @@ extension ListTagsForResourceOutput { extension ResumeBatchLoadTaskOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResumeBatchLoadTaskOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeBatchLoadTaskOutput { return ResumeBatchLoadTaskOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDatabaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDatabaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDatabaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2536,7 +2536,7 @@ extension UpdateDatabaseOutput { extension UpdateTableOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTableOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTableOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2548,7 +2548,7 @@ extension UpdateTableOutput { extension WriteRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> WriteRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> WriteRecordsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2560,7 +2560,7 @@ extension WriteRecordsOutput { enum CreateBatchLoadTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2581,7 +2581,7 @@ enum CreateBatchLoadTaskOutputError { enum CreateDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2601,7 +2601,7 @@ enum CreateDatabaseOutputError { enum CreateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2622,7 +2622,7 @@ enum CreateTableOutputError { enum DeleteDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2641,7 +2641,7 @@ enum DeleteDatabaseOutputError { enum DeleteTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2660,7 +2660,7 @@ enum DeleteTableOutputError { enum DescribeBatchLoadTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2678,7 +2678,7 @@ enum DescribeBatchLoadTaskOutputError { enum DescribeDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2697,7 +2697,7 @@ enum DescribeDatabaseOutputError { enum DescribeEndpointsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2713,7 +2713,7 @@ enum DescribeEndpointsOutputError { enum DescribeTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2732,7 +2732,7 @@ enum DescribeTableOutputError { enum ListBatchLoadTasksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2750,7 +2750,7 @@ enum ListBatchLoadTasksOutputError { enum ListDatabasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2768,7 +2768,7 @@ enum ListDatabasesOutputError { enum ListTablesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2787,7 +2787,7 @@ enum ListTablesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2804,7 +2804,7 @@ enum ListTagsForResourceOutputError { enum ResumeBatchLoadTaskOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2823,7 +2823,7 @@ enum ResumeBatchLoadTaskOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2841,7 +2841,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2859,7 +2859,7 @@ enum UntagResourceOutputError { enum UpdateDatabaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2879,7 +2879,7 @@ enum UpdateDatabaseOutputError { enum UpdateTableOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2898,7 +2898,7 @@ enum UpdateTableOutputError { enum WriteRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTnb/Sources/AWSTnb/Models.swift b/Sources/Services/AWSTnb/Sources/AWSTnb/Models.swift index 9646a068014..2b20c3f5ca6 100644 --- a/Sources/Services/AWSTnb/Sources/AWSTnb/Models.swift +++ b/Sources/Services/AWSTnb/Sources/AWSTnb/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -59,7 +59,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -84,7 +84,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -109,7 +109,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -159,7 +159,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -197,7 +197,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3526,14 +3526,14 @@ extension ValidateSolNetworkPackageContentInput { extension CancelSolNetworkOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelSolNetworkOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelSolNetworkOperationOutput { return CancelSolNetworkOperationOutput() } } extension CreateSolFunctionPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSolFunctionPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSolFunctionPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3550,7 +3550,7 @@ extension CreateSolFunctionPackageOutput { extension CreateSolNetworkInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSolNetworkInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSolNetworkInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3566,7 +3566,7 @@ extension CreateSolNetworkInstanceOutput { extension CreateSolNetworkPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSolNetworkPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSolNetworkPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3583,28 +3583,28 @@ extension CreateSolNetworkPackageOutput { extension DeleteSolFunctionPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSolFunctionPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSolFunctionPackageOutput { return DeleteSolFunctionPackageOutput() } } extension DeleteSolNetworkInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSolNetworkInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSolNetworkInstanceOutput { return DeleteSolNetworkInstanceOutput() } } extension DeleteSolNetworkPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSolNetworkPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSolNetworkPackageOutput { return DeleteSolNetworkPackageOutput() } } extension GetSolFunctionInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolFunctionInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolFunctionInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3627,7 +3627,7 @@ extension GetSolFunctionInstanceOutput { extension GetSolFunctionPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolFunctionPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolFunctionPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3649,7 +3649,7 @@ extension GetSolFunctionPackageOutput { extension GetSolFunctionPackageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolFunctionPackageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolFunctionPackageContentOutput { var value = GetSolFunctionPackageContentOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = TnbClientTypes.PackageContentType(rawValue: contentTypeHeaderValue) @@ -3668,7 +3668,7 @@ extension GetSolFunctionPackageContentOutput { extension GetSolFunctionPackageDescriptorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolFunctionPackageDescriptorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolFunctionPackageDescriptorOutput { var value = GetSolFunctionPackageDescriptorOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = TnbClientTypes.DescriptorContentType(rawValue: contentTypeHeaderValue) @@ -3687,7 +3687,7 @@ extension GetSolFunctionPackageDescriptorOutput { extension GetSolNetworkInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolNetworkInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolNetworkInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3708,7 +3708,7 @@ extension GetSolNetworkInstanceOutput { extension GetSolNetworkOperationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolNetworkOperationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolNetworkOperationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3728,7 +3728,7 @@ extension GetSolNetworkOperationOutput { extension GetSolNetworkPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolNetworkPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolNetworkPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3750,7 +3750,7 @@ extension GetSolNetworkPackageOutput { extension GetSolNetworkPackageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolNetworkPackageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolNetworkPackageContentOutput { var value = GetSolNetworkPackageContentOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = TnbClientTypes.PackageContentType(rawValue: contentTypeHeaderValue) @@ -3769,7 +3769,7 @@ extension GetSolNetworkPackageContentOutput { extension GetSolNetworkPackageDescriptorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSolNetworkPackageDescriptorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSolNetworkPackageDescriptorOutput { var value = GetSolNetworkPackageDescriptorOutput() if let contentTypeHeaderValue = httpResponse.headers.value(for: "Content-Type") { value.contentType = TnbClientTypes.DescriptorContentType(rawValue: contentTypeHeaderValue) @@ -3788,7 +3788,7 @@ extension GetSolNetworkPackageDescriptorOutput { extension InstantiateSolNetworkInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InstantiateSolNetworkInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InstantiateSolNetworkInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3801,7 +3801,7 @@ extension InstantiateSolNetworkInstanceOutput { extension ListSolFunctionInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolFunctionInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolFunctionInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3814,7 +3814,7 @@ extension ListSolFunctionInstancesOutput { extension ListSolFunctionPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolFunctionPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolFunctionPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3827,7 +3827,7 @@ extension ListSolFunctionPackagesOutput { extension ListSolNetworkInstancesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolNetworkInstancesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolNetworkInstancesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3840,7 +3840,7 @@ extension ListSolNetworkInstancesOutput { extension ListSolNetworkOperationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolNetworkOperationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolNetworkOperationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3853,7 +3853,7 @@ extension ListSolNetworkOperationsOutput { extension ListSolNetworkPackagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSolNetworkPackagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSolNetworkPackagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3866,7 +3866,7 @@ extension ListSolNetworkPackagesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3878,7 +3878,7 @@ extension ListTagsForResourceOutput { extension PutSolFunctionPackageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSolFunctionPackageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSolFunctionPackageContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3895,7 +3895,7 @@ extension PutSolFunctionPackageContentOutput { extension PutSolNetworkPackageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSolNetworkPackageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSolNetworkPackageContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3913,14 +3913,14 @@ extension PutSolNetworkPackageContentOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TerminateSolNetworkInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateSolNetworkInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateSolNetworkInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3933,14 +3933,14 @@ extension TerminateSolNetworkInstanceOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateSolFunctionPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSolFunctionPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSolFunctionPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3952,7 +3952,7 @@ extension UpdateSolFunctionPackageOutput { extension UpdateSolNetworkInstanceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSolNetworkInstanceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSolNetworkInstanceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3965,7 +3965,7 @@ extension UpdateSolNetworkInstanceOutput { extension UpdateSolNetworkPackageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSolNetworkPackageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSolNetworkPackageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3977,7 +3977,7 @@ extension UpdateSolNetworkPackageOutput { extension ValidateSolFunctionPackageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateSolFunctionPackageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateSolFunctionPackageContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3994,7 +3994,7 @@ extension ValidateSolFunctionPackageContentOutput { extension ValidateSolNetworkPackageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ValidateSolNetworkPackageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ValidateSolNetworkPackageContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4012,7 +4012,7 @@ extension ValidateSolNetworkPackageContentOutput { enum CancelSolNetworkOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4030,7 +4030,7 @@ enum CancelSolNetworkOperationOutputError { enum CreateSolFunctionPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4048,7 +4048,7 @@ enum CreateSolFunctionPackageOutputError { enum CreateSolNetworkInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4067,7 +4067,7 @@ enum CreateSolNetworkInstanceOutputError { enum CreateSolNetworkPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4085,7 +4085,7 @@ enum CreateSolNetworkPackageOutputError { enum DeleteSolFunctionPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4103,7 +4103,7 @@ enum DeleteSolFunctionPackageOutputError { enum DeleteSolNetworkInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4121,7 +4121,7 @@ enum DeleteSolNetworkInstanceOutputError { enum DeleteSolNetworkPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4139,7 +4139,7 @@ enum DeleteSolNetworkPackageOutputError { enum GetSolFunctionInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4157,7 +4157,7 @@ enum GetSolFunctionInstanceOutputError { enum GetSolFunctionPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4175,7 +4175,7 @@ enum GetSolFunctionPackageOutputError { enum GetSolFunctionPackageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4193,7 +4193,7 @@ enum GetSolFunctionPackageContentOutputError { enum GetSolFunctionPackageDescriptorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4211,7 +4211,7 @@ enum GetSolFunctionPackageDescriptorOutputError { enum GetSolNetworkInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4229,7 +4229,7 @@ enum GetSolNetworkInstanceOutputError { enum GetSolNetworkOperationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4247,7 +4247,7 @@ enum GetSolNetworkOperationOutputError { enum GetSolNetworkPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4265,7 +4265,7 @@ enum GetSolNetworkPackageOutputError { enum GetSolNetworkPackageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4283,7 +4283,7 @@ enum GetSolNetworkPackageContentOutputError { enum GetSolNetworkPackageDescriptorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4301,7 +4301,7 @@ enum GetSolNetworkPackageDescriptorOutputError { enum InstantiateSolNetworkInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4320,7 +4320,7 @@ enum InstantiateSolNetworkInstanceOutputError { enum ListSolFunctionInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4337,7 +4337,7 @@ enum ListSolFunctionInstancesOutputError { enum ListSolFunctionPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4354,7 +4354,7 @@ enum ListSolFunctionPackagesOutputError { enum ListSolNetworkInstancesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4371,7 +4371,7 @@ enum ListSolNetworkInstancesOutputError { enum ListSolNetworkOperationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4388,7 +4388,7 @@ enum ListSolNetworkOperationsOutputError { enum ListSolNetworkPackagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4405,7 +4405,7 @@ enum ListSolNetworkPackagesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4423,7 +4423,7 @@ enum ListTagsForResourceOutputError { enum PutSolFunctionPackageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4441,7 +4441,7 @@ enum PutSolFunctionPackageContentOutputError { enum PutSolNetworkPackageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4459,7 +4459,7 @@ enum PutSolNetworkPackageContentOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4477,7 +4477,7 @@ enum TagResourceOutputError { enum TerminateSolNetworkInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4496,7 +4496,7 @@ enum TerminateSolNetworkInstanceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4514,7 +4514,7 @@ enum UntagResourceOutputError { enum UpdateSolFunctionPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4532,7 +4532,7 @@ enum UpdateSolFunctionPackageOutputError { enum UpdateSolNetworkInstanceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4551,7 +4551,7 @@ enum UpdateSolNetworkInstanceOutputError { enum UpdateSolNetworkPackageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4569,7 +4569,7 @@ enum UpdateSolNetworkPackageOutputError { enum ValidateSolFunctionPackageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4587,7 +4587,7 @@ enum ValidateSolFunctionPackageContentOutputError { enum ValidateSolNetworkPackageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/Models.swift b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/Models.swift index f85deee5f27..0b55f66c40c 100644 --- a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/Models.swift +++ b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -99,7 +99,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1532,7 +1532,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1556,7 +1556,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1580,7 +1580,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1981,7 +1981,7 @@ public struct NotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5334,7 +5334,7 @@ extension UpdateVocabularyFilterInput { extension CreateCallAnalyticsCategoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCallAnalyticsCategoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCallAnalyticsCategoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5346,7 +5346,7 @@ extension CreateCallAnalyticsCategoryOutput { extension CreateLanguageModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLanguageModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLanguageModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5362,7 +5362,7 @@ extension CreateLanguageModelOutput { extension CreateMedicalVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMedicalVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMedicalVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5378,7 +5378,7 @@ extension CreateMedicalVocabularyOutput { extension CreateVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5394,7 +5394,7 @@ extension CreateVocabularyOutput { extension CreateVocabularyFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateVocabularyFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVocabularyFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5408,70 +5408,70 @@ extension CreateVocabularyFilterOutput { extension DeleteCallAnalyticsCategoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCallAnalyticsCategoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCallAnalyticsCategoryOutput { return DeleteCallAnalyticsCategoryOutput() } } extension DeleteCallAnalyticsJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCallAnalyticsJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCallAnalyticsJobOutput { return DeleteCallAnalyticsJobOutput() } } extension DeleteLanguageModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLanguageModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLanguageModelOutput { return DeleteLanguageModelOutput() } } extension DeleteMedicalScribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMedicalScribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMedicalScribeJobOutput { return DeleteMedicalScribeJobOutput() } } extension DeleteMedicalTranscriptionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMedicalTranscriptionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMedicalTranscriptionJobOutput { return DeleteMedicalTranscriptionJobOutput() } } extension DeleteMedicalVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMedicalVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMedicalVocabularyOutput { return DeleteMedicalVocabularyOutput() } } extension DeleteTranscriptionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTranscriptionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTranscriptionJobOutput { return DeleteTranscriptionJobOutput() } } extension DeleteVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVocabularyOutput { return DeleteVocabularyOutput() } } extension DeleteVocabularyFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteVocabularyFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVocabularyFilterOutput { return DeleteVocabularyFilterOutput() } } extension DescribeLanguageModelOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeLanguageModelOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeLanguageModelOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5483,7 +5483,7 @@ extension DescribeLanguageModelOutput { extension GetCallAnalyticsCategoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCallAnalyticsCategoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCallAnalyticsCategoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5495,7 +5495,7 @@ extension GetCallAnalyticsCategoryOutput { extension GetCallAnalyticsJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCallAnalyticsJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCallAnalyticsJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5507,7 +5507,7 @@ extension GetCallAnalyticsJobOutput { extension GetMedicalScribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMedicalScribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMedicalScribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5519,7 +5519,7 @@ extension GetMedicalScribeJobOutput { extension GetMedicalTranscriptionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMedicalTranscriptionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMedicalTranscriptionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5531,7 +5531,7 @@ extension GetMedicalTranscriptionJobOutput { extension GetMedicalVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMedicalVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMedicalVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5548,7 +5548,7 @@ extension GetMedicalVocabularyOutput { extension GetTranscriptionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTranscriptionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTranscriptionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5560,7 +5560,7 @@ extension GetTranscriptionJobOutput { extension GetVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5577,7 +5577,7 @@ extension GetVocabularyOutput { extension GetVocabularyFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetVocabularyFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVocabularyFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5592,7 +5592,7 @@ extension GetVocabularyFilterOutput { extension ListCallAnalyticsCategoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCallAnalyticsCategoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCallAnalyticsCategoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5605,7 +5605,7 @@ extension ListCallAnalyticsCategoriesOutput { extension ListCallAnalyticsJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCallAnalyticsJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCallAnalyticsJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5619,7 +5619,7 @@ extension ListCallAnalyticsJobsOutput { extension ListLanguageModelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLanguageModelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLanguageModelsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5632,7 +5632,7 @@ extension ListLanguageModelsOutput { extension ListMedicalScribeJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMedicalScribeJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMedicalScribeJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5646,7 +5646,7 @@ extension ListMedicalScribeJobsOutput { extension ListMedicalTranscriptionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMedicalTranscriptionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMedicalTranscriptionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5660,7 +5660,7 @@ extension ListMedicalTranscriptionJobsOutput { extension ListMedicalVocabulariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMedicalVocabulariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMedicalVocabulariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5674,7 +5674,7 @@ extension ListMedicalVocabulariesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5687,7 +5687,7 @@ extension ListTagsForResourceOutput { extension ListTranscriptionJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTranscriptionJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTranscriptionJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5701,7 +5701,7 @@ extension ListTranscriptionJobsOutput { extension ListVocabulariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVocabulariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVocabulariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5715,7 +5715,7 @@ extension ListVocabulariesOutput { extension ListVocabularyFiltersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListVocabularyFiltersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVocabularyFiltersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5728,7 +5728,7 @@ extension ListVocabularyFiltersOutput { extension StartCallAnalyticsJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCallAnalyticsJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCallAnalyticsJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5740,7 +5740,7 @@ extension StartCallAnalyticsJobOutput { extension StartMedicalScribeJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMedicalScribeJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMedicalScribeJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5752,7 +5752,7 @@ extension StartMedicalScribeJobOutput { extension StartMedicalTranscriptionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMedicalTranscriptionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMedicalTranscriptionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5764,7 +5764,7 @@ extension StartMedicalTranscriptionJobOutput { extension StartTranscriptionJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTranscriptionJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTranscriptionJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5776,21 +5776,21 @@ extension StartTranscriptionJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateCallAnalyticsCategoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCallAnalyticsCategoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCallAnalyticsCategoryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5802,7 +5802,7 @@ extension UpdateCallAnalyticsCategoryOutput { extension UpdateMedicalVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMedicalVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMedicalVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5817,7 +5817,7 @@ extension UpdateMedicalVocabularyOutput { extension UpdateVocabularyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVocabularyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVocabularyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5832,7 +5832,7 @@ extension UpdateVocabularyOutput { extension UpdateVocabularyFilterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateVocabularyFilterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVocabularyFilterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5846,7 +5846,7 @@ extension UpdateVocabularyFilterOutput { enum CreateCallAnalyticsCategoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5863,7 +5863,7 @@ enum CreateCallAnalyticsCategoryOutputError { enum CreateLanguageModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5880,7 +5880,7 @@ enum CreateLanguageModelOutputError { enum CreateMedicalVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5897,7 +5897,7 @@ enum CreateMedicalVocabularyOutputError { enum CreateVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5914,7 +5914,7 @@ enum CreateVocabularyOutputError { enum CreateVocabularyFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5931,7 +5931,7 @@ enum CreateVocabularyFilterOutputError { enum DeleteCallAnalyticsCategoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5948,7 +5948,7 @@ enum DeleteCallAnalyticsCategoryOutputError { enum DeleteCallAnalyticsJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5964,7 +5964,7 @@ enum DeleteCallAnalyticsJobOutputError { enum DeleteLanguageModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5980,7 +5980,7 @@ enum DeleteLanguageModelOutputError { enum DeleteMedicalScribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5996,7 +5996,7 @@ enum DeleteMedicalScribeJobOutputError { enum DeleteMedicalTranscriptionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6012,7 +6012,7 @@ enum DeleteMedicalTranscriptionJobOutputError { enum DeleteMedicalVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6029,7 +6029,7 @@ enum DeleteMedicalVocabularyOutputError { enum DeleteTranscriptionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6045,7 +6045,7 @@ enum DeleteTranscriptionJobOutputError { enum DeleteVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6062,7 +6062,7 @@ enum DeleteVocabularyOutputError { enum DeleteVocabularyFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6079,7 +6079,7 @@ enum DeleteVocabularyFilterOutputError { enum DescribeLanguageModelOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6096,7 +6096,7 @@ enum DescribeLanguageModelOutputError { enum GetCallAnalyticsCategoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6113,7 +6113,7 @@ enum GetCallAnalyticsCategoryOutputError { enum GetCallAnalyticsJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6130,7 +6130,7 @@ enum GetCallAnalyticsJobOutputError { enum GetMedicalScribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6147,7 +6147,7 @@ enum GetMedicalScribeJobOutputError { enum GetMedicalTranscriptionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6164,7 +6164,7 @@ enum GetMedicalTranscriptionJobOutputError { enum GetMedicalVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6181,7 +6181,7 @@ enum GetMedicalVocabularyOutputError { enum GetTranscriptionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6198,7 +6198,7 @@ enum GetTranscriptionJobOutputError { enum GetVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6215,7 +6215,7 @@ enum GetVocabularyOutputError { enum GetVocabularyFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6232,7 +6232,7 @@ enum GetVocabularyFilterOutputError { enum ListCallAnalyticsCategoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6248,7 +6248,7 @@ enum ListCallAnalyticsCategoriesOutputError { enum ListCallAnalyticsJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6264,7 +6264,7 @@ enum ListCallAnalyticsJobsOutputError { enum ListLanguageModelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6280,7 +6280,7 @@ enum ListLanguageModelsOutputError { enum ListMedicalScribeJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6296,7 +6296,7 @@ enum ListMedicalScribeJobsOutputError { enum ListMedicalTranscriptionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6312,7 +6312,7 @@ enum ListMedicalTranscriptionJobsOutputError { enum ListMedicalVocabulariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6328,7 +6328,7 @@ enum ListMedicalVocabulariesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6345,7 +6345,7 @@ enum ListTagsForResourceOutputError { enum ListTranscriptionJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6361,7 +6361,7 @@ enum ListTranscriptionJobsOutputError { enum ListVocabulariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6377,7 +6377,7 @@ enum ListVocabulariesOutputError { enum ListVocabularyFiltersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6393,7 +6393,7 @@ enum ListVocabularyFiltersOutputError { enum StartCallAnalyticsJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6410,7 +6410,7 @@ enum StartCallAnalyticsJobOutputError { enum StartMedicalScribeJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6427,7 +6427,7 @@ enum StartMedicalScribeJobOutputError { enum StartMedicalTranscriptionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6444,7 +6444,7 @@ enum StartMedicalTranscriptionJobOutputError { enum StartTranscriptionJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6461,7 +6461,7 @@ enum StartTranscriptionJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6479,7 +6479,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6497,7 +6497,7 @@ enum UntagResourceOutputError { enum UpdateCallAnalyticsCategoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6515,7 +6515,7 @@ enum UpdateCallAnalyticsCategoryOutputError { enum UpdateMedicalVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6533,7 +6533,7 @@ enum UpdateMedicalVocabularyOutputError { enum UpdateVocabularyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6551,7 +6551,7 @@ enum UpdateVocabularyOutputError { enum UpdateVocabularyFilterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/Models.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/Models.swift index 41b37eebfc1..bb3b822790a 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/Models.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/Models.swift @@ -9,7 +9,7 @@ import Foundation import class SmithyEventStreams.DefaultMessageDecoder -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -358,7 +358,7 @@ public struct BadRequestException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -564,7 +564,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -588,7 +588,7 @@ public struct InternalFailureException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -612,7 +612,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -636,7 +636,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2045,7 +2045,7 @@ extension StartStreamTranscriptionInput { extension StartCallAnalyticsStreamTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartCallAnalyticsStreamTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCallAnalyticsStreamTranscriptionOutput { var value = StartCallAnalyticsStreamTranscriptionOutput() if let contentIdentificationTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-transcribe-content-identification-type") { value.contentIdentificationType = TranscribeStreamingClientTypes.ContentIdentificationType(rawValue: contentIdentificationTypeHeaderValue) @@ -2100,7 +2100,7 @@ extension StartCallAnalyticsStreamTranscriptionOutput { extension StartMedicalStreamTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMedicalStreamTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMedicalStreamTranscriptionOutput { var value = StartMedicalStreamTranscriptionOutput() if let contentIdentificationTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-transcribe-content-identification-type") { value.contentIdentificationType = TranscribeStreamingClientTypes.MedicalContentIdentificationType(rawValue: contentIdentificationTypeHeaderValue) @@ -2149,7 +2149,7 @@ extension StartMedicalStreamTranscriptionOutput { extension StartStreamTranscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartStreamTranscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartStreamTranscriptionOutput { var value = StartStreamTranscriptionOutput() if let contentIdentificationTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-transcribe-content-identification-type") { value.contentIdentificationType = TranscribeStreamingClientTypes.ContentIdentificationType(rawValue: contentIdentificationTypeHeaderValue) @@ -2231,7 +2231,7 @@ extension StartStreamTranscriptionOutput { enum StartCallAnalyticsStreamTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2249,7 +2249,7 @@ enum StartCallAnalyticsStreamTranscriptionOutputError { enum StartMedicalStreamTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2267,7 +2267,7 @@ enum StartMedicalStreamTranscriptionOutputError { enum StartStreamTranscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2407,14 +2407,14 @@ extension TranscribeStreamingClientTypes.CallAnalyticsTranscriptResultStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: ServiceUnavailableException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") @@ -2454,14 +2454,14 @@ extension TranscribeStreamingClientTypes.MedicalTranscriptResultStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: ServiceUnavailableException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") @@ -2501,14 +2501,14 @@ extension TranscribeStreamingClientTypes.TranscriptResultStream { let value = try SmithyJSON.Reader.readFrom(message.payload, with: ServiceUnavailableException.read(from:)) return value default: - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) } } let error = try makeError(message, params) throw error case .error(let params): - let httpResponse = SmithyHTTPAPI.HttpResponse(body: .data(message.payload), statusCode: .ok) + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) case .unknown(messageType: let messageType): throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift index b27c9e059c3..6b6fae220c1 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift @@ -16,8 +16,8 @@ import class ClientRuntime.OrchestratorBuilder import class ClientRuntime.OrchestratorTelemetry import class ClientRuntime.SdkHttpClient import class Smithy.ContextBuilder -import class SmithyHTTPAPI.HttpResponse -import class SmithyHTTPAPI.SdkHttpRequest +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode import enum ClientRuntime.ClientLogMode @@ -227,7 +227,7 @@ extension TranscribeStreamingClient { .withSigningRegion(value: config.signingRegion) .build() AWSSDKEventStreamsAuth.setupBidirectionalStreaming(context: context) - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -307,7 +307,7 @@ extension TranscribeStreamingClient { .withSigningRegion(value: config.signingRegion) .build() AWSSDKEventStreamsAuth.setupBidirectionalStreaming(context: context) - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } @@ -387,7 +387,7 @@ extension TranscribeStreamingClient { .withSigningRegion(value: config.signingRegion) .build() AWSSDKEventStreamsAuth.setupBidirectionalStreaming(context: context) - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } diff --git a/Sources/Services/AWSTransfer/Sources/AWSTransfer/Models.swift b/Sources/Services/AWSTransfer/Sources/AWSTransfer/Models.swift index 0cdc03bd3df..d7f841ef814 100644 --- a/Sources/Services/AWSTransfer/Sources/AWSTransfer/Models.swift +++ b/Sources/Services/AWSTransfer/Sources/AWSTransfer/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -105,7 +105,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -130,7 +130,7 @@ public struct InternalServiceError: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -155,7 +155,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -184,7 +184,7 @@ public struct ResourceExistsException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -217,7 +217,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -245,7 +245,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -269,7 +269,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -505,7 +505,7 @@ public struct InvalidNextTokenException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1330,7 +1330,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6559,7 +6559,7 @@ extension UpdateUserInput { extension CreateAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6572,7 +6572,7 @@ extension CreateAccessOutput { extension CreateAgreementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAgreementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAgreementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6584,7 +6584,7 @@ extension CreateAgreementOutput { extension CreateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6596,7 +6596,7 @@ extension CreateConnectorOutput { extension CreateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6608,7 +6608,7 @@ extension CreateProfileOutput { extension CreateServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6620,7 +6620,7 @@ extension CreateServerOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6633,7 +6633,7 @@ extension CreateUserOutput { extension CreateWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6645,77 +6645,77 @@ extension CreateWorkflowOutput { extension DeleteAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessOutput { return DeleteAccessOutput() } } extension DeleteAgreementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAgreementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAgreementOutput { return DeleteAgreementOutput() } } extension DeleteCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCertificateOutput { return DeleteCertificateOutput() } } extension DeleteConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectorOutput { return DeleteConnectorOutput() } } extension DeleteHostKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteHostKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteHostKeyOutput { return DeleteHostKeyOutput() } } extension DeleteProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileOutput { return DeleteProfileOutput() } } extension DeleteServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServerOutput { return DeleteServerOutput() } } extension DeleteSshPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSshPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSshPublicKeyOutput { return DeleteSshPublicKeyOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DeleteWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkflowOutput { return DeleteWorkflowOutput() } } extension DescribeAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6728,7 +6728,7 @@ extension DescribeAccessOutput { extension DescribeAgreementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAgreementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAgreementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6740,7 +6740,7 @@ extension DescribeAgreementOutput { extension DescribeCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6752,7 +6752,7 @@ extension DescribeCertificateOutput { extension DescribeConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6764,7 +6764,7 @@ extension DescribeConnectorOutput { extension DescribeExecutionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeExecutionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeExecutionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6777,7 +6777,7 @@ extension DescribeExecutionOutput { extension DescribeHostKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeHostKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeHostKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6789,7 +6789,7 @@ extension DescribeHostKeyOutput { extension DescribeProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6801,7 +6801,7 @@ extension DescribeProfileOutput { extension DescribeSecurityPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSecurityPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSecurityPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6813,7 +6813,7 @@ extension DescribeSecurityPolicyOutput { extension DescribeServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6825,7 +6825,7 @@ extension DescribeServerOutput { extension DescribeUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6838,7 +6838,7 @@ extension DescribeUserOutput { extension DescribeWorkflowOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkflowOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkflowOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6850,7 +6850,7 @@ extension DescribeWorkflowOutput { extension ImportCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6862,7 +6862,7 @@ extension ImportCertificateOutput { extension ImportHostKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportHostKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportHostKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6875,7 +6875,7 @@ extension ImportHostKeyOutput { extension ImportSshPublicKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportSshPublicKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportSshPublicKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6889,7 +6889,7 @@ extension ImportSshPublicKeyOutput { extension ListAccessesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6903,7 +6903,7 @@ extension ListAccessesOutput { extension ListAgreementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAgreementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAgreementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6916,7 +6916,7 @@ extension ListAgreementsOutput { extension ListCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6929,7 +6929,7 @@ extension ListCertificatesOutput { extension ListConnectorsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListConnectorsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectorsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6942,7 +6942,7 @@ extension ListConnectorsOutput { extension ListExecutionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListExecutionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListExecutionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6956,7 +6956,7 @@ extension ListExecutionsOutput { extension ListHostKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListHostKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListHostKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6970,7 +6970,7 @@ extension ListHostKeysOutput { extension ListProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6983,7 +6983,7 @@ extension ListProfilesOutput { extension ListSecurityPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSecurityPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSecurityPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6996,7 +6996,7 @@ extension ListSecurityPoliciesOutput { extension ListServersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7009,7 +7009,7 @@ extension ListServersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7023,7 +7023,7 @@ extension ListTagsForResourceOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7037,7 +7037,7 @@ extension ListUsersOutput { extension ListWorkflowsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkflowsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkflowsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7050,14 +7050,14 @@ extension ListWorkflowsOutput { extension SendWorkflowStepStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SendWorkflowStepStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SendWorkflowStepStateOutput { return SendWorkflowStepStateOutput() } } extension StartDirectoryListingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartDirectoryListingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartDirectoryListingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7070,7 +7070,7 @@ extension StartDirectoryListingOutput { extension StartFileTransferOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFileTransferOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFileTransferOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7082,28 +7082,28 @@ extension StartFileTransferOutput { extension StartServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartServerOutput { return StartServerOutput() } } extension StopServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopServerOutput { return StopServerOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestConnectionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestConnectionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestConnectionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7117,7 +7117,7 @@ extension TestConnectionOutput { extension TestIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7132,14 +7132,14 @@ extension TestIdentityProviderOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7152,7 +7152,7 @@ extension UpdateAccessOutput { extension UpdateAgreementOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAgreementOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAgreementOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7164,7 +7164,7 @@ extension UpdateAgreementOutput { extension UpdateCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7176,7 +7176,7 @@ extension UpdateCertificateOutput { extension UpdateConnectorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7188,7 +7188,7 @@ extension UpdateConnectorOutput { extension UpdateHostKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateHostKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateHostKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7201,7 +7201,7 @@ extension UpdateHostKeyOutput { extension UpdateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7213,7 +7213,7 @@ extension UpdateProfileOutput { extension UpdateServerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7225,7 +7225,7 @@ extension UpdateServerOutput { extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7238,7 +7238,7 @@ extension UpdateUserOutput { enum CreateAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7256,7 +7256,7 @@ enum CreateAccessOutputError { enum CreateAgreementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7275,7 +7275,7 @@ enum CreateAgreementOutputError { enum CreateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7294,7 +7294,7 @@ enum CreateConnectorOutputError { enum CreateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7312,7 +7312,7 @@ enum CreateProfileOutputError { enum CreateServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7332,7 +7332,7 @@ enum CreateServerOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7350,7 +7350,7 @@ enum CreateUserOutputError { enum CreateWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7369,7 +7369,7 @@ enum CreateWorkflowOutputError { enum DeleteAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7386,7 +7386,7 @@ enum DeleteAccessOutputError { enum DeleteAgreementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7403,7 +7403,7 @@ enum DeleteAgreementOutputError { enum DeleteCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7420,7 +7420,7 @@ enum DeleteCertificateOutputError { enum DeleteConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7437,7 +7437,7 @@ enum DeleteConnectorOutputError { enum DeleteHostKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7455,7 +7455,7 @@ enum DeleteHostKeyOutputError { enum DeleteProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7472,7 +7472,7 @@ enum DeleteProfileOutputError { enum DeleteServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7490,7 +7490,7 @@ enum DeleteServerOutputError { enum DeleteSshPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7508,7 +7508,7 @@ enum DeleteSshPublicKeyOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7525,7 +7525,7 @@ enum DeleteUserOutputError { enum DeleteWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7543,7 +7543,7 @@ enum DeleteWorkflowOutputError { enum DescribeAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7560,7 +7560,7 @@ enum DescribeAccessOutputError { enum DescribeAgreementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7577,7 +7577,7 @@ enum DescribeAgreementOutputError { enum DescribeCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7594,7 +7594,7 @@ enum DescribeCertificateOutputError { enum DescribeConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7611,7 +7611,7 @@ enum DescribeConnectorOutputError { enum DescribeExecutionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7628,7 +7628,7 @@ enum DescribeExecutionOutputError { enum DescribeHostKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7645,7 +7645,7 @@ enum DescribeHostKeyOutputError { enum DescribeProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7662,7 +7662,7 @@ enum DescribeProfileOutputError { enum DescribeSecurityPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7679,7 +7679,7 @@ enum DescribeSecurityPolicyOutputError { enum DescribeServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7696,7 +7696,7 @@ enum DescribeServerOutputError { enum DescribeUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7713,7 +7713,7 @@ enum DescribeUserOutputError { enum DescribeWorkflowOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7730,7 +7730,7 @@ enum DescribeWorkflowOutputError { enum ImportCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7747,7 +7747,7 @@ enum ImportCertificateOutputError { enum ImportHostKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7766,7 +7766,7 @@ enum ImportHostKeyOutputError { enum ImportSshPublicKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7785,7 +7785,7 @@ enum ImportSshPublicKeyOutputError { enum ListAccessesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7803,7 +7803,7 @@ enum ListAccessesOutputError { enum ListAgreementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7821,7 +7821,7 @@ enum ListAgreementsOutputError { enum ListCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7839,7 +7839,7 @@ enum ListCertificatesOutputError { enum ListConnectorsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7857,7 +7857,7 @@ enum ListConnectorsOutputError { enum ListExecutionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7875,7 +7875,7 @@ enum ListExecutionsOutputError { enum ListHostKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7893,7 +7893,7 @@ enum ListHostKeysOutputError { enum ListProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7911,7 +7911,7 @@ enum ListProfilesOutputError { enum ListSecurityPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7928,7 +7928,7 @@ enum ListSecurityPoliciesOutputError { enum ListServersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7945,7 +7945,7 @@ enum ListServersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7962,7 +7962,7 @@ enum ListTagsForResourceOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7980,7 +7980,7 @@ enum ListUsersOutputError { enum ListWorkflowsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7997,7 +7997,7 @@ enum ListWorkflowsOutputError { enum SendWorkflowStepStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8016,7 +8016,7 @@ enum SendWorkflowStepStateOutputError { enum StartDirectoryListingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8034,7 +8034,7 @@ enum StartDirectoryListingOutputError { enum StartFileTransferOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8052,7 +8052,7 @@ enum StartFileTransferOutputError { enum StartServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8070,7 +8070,7 @@ enum StartServerOutputError { enum StopServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8088,7 +8088,7 @@ enum StopServerOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8105,7 +8105,7 @@ enum TagResourceOutputError { enum TestConnectionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8122,7 +8122,7 @@ enum TestConnectionOutputError { enum TestIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8139,7 +8139,7 @@ enum TestIdentityProviderOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8156,7 +8156,7 @@ enum UntagResourceOutputError { enum UpdateAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8175,7 +8175,7 @@ enum UpdateAccessOutputError { enum UpdateAgreementOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8194,7 +8194,7 @@ enum UpdateAgreementOutputError { enum UpdateCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8212,7 +8212,7 @@ enum UpdateCertificateOutputError { enum UpdateConnectorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8231,7 +8231,7 @@ enum UpdateConnectorOutputError { enum UpdateHostKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8249,7 +8249,7 @@ enum UpdateHostKeyOutputError { enum UpdateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8267,7 +8267,7 @@ enum UpdateProfileOutputError { enum UpdateServerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8288,7 +8288,7 @@ enum UpdateServerOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTranslate/Sources/AWSTranslate/Models.swift b/Sources/Services/AWSTranslate/Sources/AWSTranslate/Models.swift index 74172cc4593..61f32af13a7 100644 --- a/Sources/Services/AWSTranslate/Sources/AWSTranslate/Models.swift +++ b/Sources/Services/AWSTranslate/Sources/AWSTranslate/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -78,7 +78,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -102,7 +102,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -126,7 +126,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -150,7 +150,7 @@ public struct InvalidParameterValueException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -174,7 +174,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -198,7 +198,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -222,7 +222,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -247,7 +247,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -484,7 +484,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1321,7 +1321,7 @@ public struct UnsupportedDisplayLanguageCodeException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1551,7 +1551,7 @@ public struct InvalidFilterException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1643,7 +1643,7 @@ public struct UnsupportedLanguagePairException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1813,7 +1813,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1968,7 +1968,7 @@ public struct DetectedLanguageLowConfidenceException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1994,7 +1994,7 @@ public struct TextSizeLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2474,7 +2474,7 @@ extension UpdateParallelDataInput { extension CreateParallelDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateParallelDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateParallelDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2487,7 +2487,7 @@ extension CreateParallelDataOutput { extension DeleteParallelDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteParallelDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteParallelDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2500,14 +2500,14 @@ extension DeleteParallelDataOutput { extension DeleteTerminologyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTerminologyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTerminologyOutput { return DeleteTerminologyOutput() } } extension DescribeTextTranslationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTextTranslationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTextTranslationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2519,7 +2519,7 @@ extension DescribeTextTranslationJobOutput { extension GetParallelDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetParallelDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetParallelDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2534,7 +2534,7 @@ extension GetParallelDataOutput { extension GetTerminologyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTerminologyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTerminologyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2548,7 +2548,7 @@ extension GetTerminologyOutput { extension ImportTerminologyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportTerminologyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportTerminologyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2561,7 +2561,7 @@ extension ImportTerminologyOutput { extension ListLanguagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLanguagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLanguagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2575,7 +2575,7 @@ extension ListLanguagesOutput { extension ListParallelDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListParallelDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListParallelDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2588,7 +2588,7 @@ extension ListParallelDataOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2600,7 +2600,7 @@ extension ListTagsForResourceOutput { extension ListTerminologiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTerminologiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTerminologiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2613,7 +2613,7 @@ extension ListTerminologiesOutput { extension ListTextTranslationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTextTranslationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTextTranslationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2626,7 +2626,7 @@ extension ListTextTranslationJobsOutput { extension StartTextTranslationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartTextTranslationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartTextTranslationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2639,7 +2639,7 @@ extension StartTextTranslationJobOutput { extension StopTextTranslationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopTextTranslationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopTextTranslationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2652,14 +2652,14 @@ extension StopTextTranslationJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TranslateDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TranslateDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TranslateDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2675,7 +2675,7 @@ extension TranslateDocumentOutput { extension TranslateTextOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TranslateTextOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TranslateTextOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2691,14 +2691,14 @@ extension TranslateTextOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateParallelDataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateParallelDataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateParallelDataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2713,7 +2713,7 @@ extension UpdateParallelDataOutput { enum CreateParallelDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2734,7 +2734,7 @@ enum CreateParallelDataOutputError { enum DeleteParallelDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2751,7 +2751,7 @@ enum DeleteParallelDataOutputError { enum DeleteTerminologyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2768,7 +2768,7 @@ enum DeleteTerminologyOutputError { enum DescribeTextTranslationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2784,7 +2784,7 @@ enum DescribeTextTranslationJobOutputError { enum GetParallelDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2801,7 +2801,7 @@ enum GetParallelDataOutputError { enum GetTerminologyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2818,7 +2818,7 @@ enum GetTerminologyOutputError { enum ImportTerminologyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2837,7 +2837,7 @@ enum ImportTerminologyOutputError { enum ListLanguagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2854,7 +2854,7 @@ enum ListLanguagesOutputError { enum ListParallelDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2870,7 +2870,7 @@ enum ListParallelDataOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2886,7 +2886,7 @@ enum ListTagsForResourceOutputError { enum ListTerminologiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2902,7 +2902,7 @@ enum ListTerminologiesOutputError { enum ListTextTranslationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2919,7 +2919,7 @@ enum ListTextTranslationJobsOutputError { enum StartTextTranslationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2938,7 +2938,7 @@ enum StartTextTranslationJobOutputError { enum StopTextTranslationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2954,7 +2954,7 @@ enum StopTextTranslationJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2972,7 +2972,7 @@ enum TagResourceOutputError { enum TranslateDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2992,7 +2992,7 @@ enum TranslateDocumentOutputError { enum TranslateTextOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3013,7 +3013,7 @@ enum TranslateTextOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3030,7 +3030,7 @@ enum UntagResourceOutputError { enum UpdateParallelDataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/Models.swift b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/Models.swift index 7c4af8c985d..737c9408b62 100644 --- a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/Models.swift +++ b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -46,7 +46,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -199,7 +199,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -224,7 +224,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -249,7 +249,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -274,7 +274,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -555,7 +555,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2077,7 +2077,7 @@ extension UpdateRecommendationLifecycleInput { extension BatchUpdateRecommendationResourceExclusionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateRecommendationResourceExclusionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateRecommendationResourceExclusionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2089,7 +2089,7 @@ extension BatchUpdateRecommendationResourceExclusionOutput { extension GetOrganizationRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetOrganizationRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetOrganizationRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2101,7 +2101,7 @@ extension GetOrganizationRecommendationOutput { extension GetRecommendationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2113,7 +2113,7 @@ extension GetRecommendationOutput { extension ListChecksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListChecksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListChecksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2126,7 +2126,7 @@ extension ListChecksOutput { extension ListOrganizationRecommendationAccountsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationRecommendationAccountsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationRecommendationAccountsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2139,7 +2139,7 @@ extension ListOrganizationRecommendationAccountsOutput { extension ListOrganizationRecommendationResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationRecommendationResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationRecommendationResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2152,7 +2152,7 @@ extension ListOrganizationRecommendationResourcesOutput { extension ListOrganizationRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2165,7 +2165,7 @@ extension ListOrganizationRecommendationsOutput { extension ListRecommendationResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2178,7 +2178,7 @@ extension ListRecommendationResourcesOutput { extension ListRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2191,21 +2191,21 @@ extension ListRecommendationsOutput { extension UpdateOrganizationRecommendationLifecycleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateOrganizationRecommendationLifecycleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOrganizationRecommendationLifecycleOutput { return UpdateOrganizationRecommendationLifecycleOutput() } } extension UpdateRecommendationLifecycleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRecommendationLifecycleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRecommendationLifecycleOutput { return UpdateRecommendationLifecycleOutput() } } enum BatchUpdateRecommendationResourceExclusionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2223,7 +2223,7 @@ enum BatchUpdateRecommendationResourceExclusionOutputError { enum GetOrganizationRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2241,7 +2241,7 @@ enum GetOrganizationRecommendationOutputError { enum GetRecommendationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2259,7 +2259,7 @@ enum GetRecommendationOutputError { enum ListChecksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2276,7 +2276,7 @@ enum ListChecksOutputError { enum ListOrganizationRecommendationAccountsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2294,7 +2294,7 @@ enum ListOrganizationRecommendationAccountsOutputError { enum ListOrganizationRecommendationResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2312,7 +2312,7 @@ enum ListOrganizationRecommendationResourcesOutputError { enum ListOrganizationRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2329,7 +2329,7 @@ enum ListOrganizationRecommendationsOutputError { enum ListRecommendationResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2347,7 +2347,7 @@ enum ListRecommendationResourcesOutputError { enum ListRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2364,7 +2364,7 @@ enum ListRecommendationsOutputError { enum UpdateOrganizationRecommendationLifecycleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2383,7 +2383,7 @@ enum UpdateOrganizationRecommendationLifecycleOutputError { enum UpdateRecommendationLifecycleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/Models.swift b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/Models.swift index b88f5764050..5c7b7fbc10a 100644 --- a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/Models.swift +++ b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -36,7 +36,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -67,7 +67,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -98,7 +98,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -166,7 +166,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -259,7 +259,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -932,7 +932,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4976,7 +4976,7 @@ extension UpdateTargetGroupInput { extension BatchUpdateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchUpdateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchUpdateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4989,7 +4989,7 @@ extension BatchUpdateRuleOutput { extension CreateAccessLogSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccessLogSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccessLogSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5005,7 +5005,7 @@ extension CreateAccessLogSubscriptionOutput { extension CreateListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5024,7 +5024,7 @@ extension CreateListenerOutput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5041,7 +5041,7 @@ extension CreateRuleOutput { extension CreateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5060,7 +5060,7 @@ extension CreateServiceOutput { extension CreateServiceNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5075,7 +5075,7 @@ extension CreateServiceNetworkOutput { extension CreateServiceNetworkServiceAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceNetworkServiceAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceNetworkServiceAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5092,7 +5092,7 @@ extension CreateServiceNetworkServiceAssociationOutput { extension CreateServiceNetworkVpcAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateServiceNetworkVpcAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateServiceNetworkVpcAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5108,7 +5108,7 @@ extension CreateServiceNetworkVpcAssociationOutput { extension CreateTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5125,42 +5125,42 @@ extension CreateTargetGroupOutput { extension DeleteAccessLogSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessLogSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessLogSubscriptionOutput { return DeleteAccessLogSubscriptionOutput() } } extension DeleteAuthPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAuthPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAuthPolicyOutput { return DeleteAuthPolicyOutput() } } extension DeleteListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteListenerOutput { return DeleteListenerOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { return DeleteRuleOutput() } } extension DeleteServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5175,14 +5175,14 @@ extension DeleteServiceOutput { extension DeleteServiceNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceNetworkOutput { return DeleteServiceNetworkOutput() } } extension DeleteServiceNetworkServiceAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceNetworkServiceAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceNetworkServiceAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5196,7 +5196,7 @@ extension DeleteServiceNetworkServiceAssociationOutput { extension DeleteServiceNetworkVpcAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteServiceNetworkVpcAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteServiceNetworkVpcAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5210,7 +5210,7 @@ extension DeleteServiceNetworkVpcAssociationOutput { extension DeleteTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5224,7 +5224,7 @@ extension DeleteTargetGroupOutput { extension DeregisterTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5237,7 +5237,7 @@ extension DeregisterTargetsOutput { extension GetAccessLogSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessLogSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessLogSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5255,7 +5255,7 @@ extension GetAccessLogSubscriptionOutput { extension GetAuthPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAuthPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAuthPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5270,7 +5270,7 @@ extension GetAuthPolicyOutput { extension GetListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5291,7 +5291,7 @@ extension GetListenerOutput { extension GetResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5303,7 +5303,7 @@ extension GetResourcePolicyOutput { extension GetRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5323,7 +5323,7 @@ extension GetRuleOutput { extension GetServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5346,7 +5346,7 @@ extension GetServiceOutput { extension GetServiceNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5365,7 +5365,7 @@ extension GetServiceNetworkOutput { extension GetServiceNetworkServiceAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceNetworkServiceAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceNetworkServiceAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5391,7 +5391,7 @@ extension GetServiceNetworkServiceAssociationOutput { extension GetServiceNetworkVpcAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceNetworkVpcAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceNetworkVpcAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5415,7 +5415,7 @@ extension GetServiceNetworkVpcAssociationOutput { extension GetTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5437,7 +5437,7 @@ extension GetTargetGroupOutput { extension ListAccessLogSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessLogSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessLogSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5450,7 +5450,7 @@ extension ListAccessLogSubscriptionsOutput { extension ListListenersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListListenersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListListenersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5463,7 +5463,7 @@ extension ListListenersOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5476,7 +5476,7 @@ extension ListRulesOutput { extension ListServiceNetworksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceNetworksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceNetworksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5489,7 +5489,7 @@ extension ListServiceNetworksOutput { extension ListServiceNetworkServiceAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceNetworkServiceAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceNetworkServiceAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5502,7 +5502,7 @@ extension ListServiceNetworkServiceAssociationsOutput { extension ListServiceNetworkVpcAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServiceNetworkVpcAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServiceNetworkVpcAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5515,7 +5515,7 @@ extension ListServiceNetworkVpcAssociationsOutput { extension ListServicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListServicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListServicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5528,7 +5528,7 @@ extension ListServicesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5540,7 +5540,7 @@ extension ListTagsForResourceOutput { extension ListTargetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5553,7 +5553,7 @@ extension ListTargetGroupsOutput { extension ListTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5566,7 +5566,7 @@ extension ListTargetsOutput { extension PutAuthPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAuthPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAuthPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5579,14 +5579,14 @@ extension PutAuthPolicyOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { return PutResourcePolicyOutput() } } extension RegisterTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5599,21 +5599,21 @@ extension RegisterTargetsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAccessLogSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAccessLogSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAccessLogSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5629,7 +5629,7 @@ extension UpdateAccessLogSubscriptionOutput { extension UpdateListenerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateListenerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateListenerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5648,7 +5648,7 @@ extension UpdateListenerOutput { extension UpdateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5666,7 +5666,7 @@ extension UpdateRuleOutput { extension UpdateServiceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5683,7 +5683,7 @@ extension UpdateServiceOutput { extension UpdateServiceNetworkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceNetworkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceNetworkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5698,7 +5698,7 @@ extension UpdateServiceNetworkOutput { extension UpdateServiceNetworkVpcAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateServiceNetworkVpcAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateServiceNetworkVpcAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5714,7 +5714,7 @@ extension UpdateServiceNetworkVpcAssociationOutput { extension UpdateTargetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTargetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTargetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5731,7 +5731,7 @@ extension UpdateTargetGroupOutput { enum BatchUpdateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5750,7 +5750,7 @@ enum BatchUpdateRuleOutputError { enum CreateAccessLogSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5769,7 +5769,7 @@ enum CreateAccessLogSubscriptionOutputError { enum CreateListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5789,7 +5789,7 @@ enum CreateListenerOutputError { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5809,7 +5809,7 @@ enum CreateRuleOutputError { enum CreateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5829,7 +5829,7 @@ enum CreateServiceOutputError { enum CreateServiceNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5849,7 +5849,7 @@ enum CreateServiceNetworkOutputError { enum CreateServiceNetworkServiceAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5869,7 +5869,7 @@ enum CreateServiceNetworkServiceAssociationOutputError { enum CreateServiceNetworkVpcAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5889,7 +5889,7 @@ enum CreateServiceNetworkVpcAssociationOutputError { enum CreateTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5909,7 +5909,7 @@ enum CreateTargetGroupOutputError { enum DeleteAccessLogSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5927,7 +5927,7 @@ enum DeleteAccessLogSubscriptionOutputError { enum DeleteAuthPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5945,7 +5945,7 @@ enum DeleteAuthPolicyOutputError { enum DeleteListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5964,7 +5964,7 @@ enum DeleteListenerOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5982,7 +5982,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6001,7 +6001,7 @@ enum DeleteRuleOutputError { enum DeleteServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6020,7 +6020,7 @@ enum DeleteServiceOutputError { enum DeleteServiceNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6039,7 +6039,7 @@ enum DeleteServiceNetworkOutputError { enum DeleteServiceNetworkServiceAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6058,7 +6058,7 @@ enum DeleteServiceNetworkServiceAssociationOutputError { enum DeleteServiceNetworkVpcAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6077,7 +6077,7 @@ enum DeleteServiceNetworkVpcAssociationOutputError { enum DeleteTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6095,7 +6095,7 @@ enum DeleteTargetGroupOutputError { enum DeregisterTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6114,7 +6114,7 @@ enum DeregisterTargetsOutputError { enum GetAccessLogSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6132,7 +6132,7 @@ enum GetAccessLogSubscriptionOutputError { enum GetAuthPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6150,7 +6150,7 @@ enum GetAuthPolicyOutputError { enum GetListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6168,7 +6168,7 @@ enum GetListenerOutputError { enum GetResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6186,7 +6186,7 @@ enum GetResourcePolicyOutputError { enum GetRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6204,7 +6204,7 @@ enum GetRuleOutputError { enum GetServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6222,7 +6222,7 @@ enum GetServiceOutputError { enum GetServiceNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6240,7 +6240,7 @@ enum GetServiceNetworkOutputError { enum GetServiceNetworkServiceAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6258,7 +6258,7 @@ enum GetServiceNetworkServiceAssociationOutputError { enum GetServiceNetworkVpcAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6276,7 +6276,7 @@ enum GetServiceNetworkVpcAssociationOutputError { enum GetTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6294,7 +6294,7 @@ enum GetTargetGroupOutputError { enum ListAccessLogSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6311,7 +6311,7 @@ enum ListAccessLogSubscriptionsOutputError { enum ListListenersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6329,7 +6329,7 @@ enum ListListenersOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6347,7 +6347,7 @@ enum ListRulesOutputError { enum ListServiceNetworksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6364,7 +6364,7 @@ enum ListServiceNetworksOutputError { enum ListServiceNetworkServiceAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6381,7 +6381,7 @@ enum ListServiceNetworkServiceAssociationsOutputError { enum ListServiceNetworkVpcAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6398,7 +6398,7 @@ enum ListServiceNetworkVpcAssociationsOutputError { enum ListServicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6415,7 +6415,7 @@ enum ListServicesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6432,7 +6432,7 @@ enum ListTagsForResourceOutputError { enum ListTargetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6449,7 +6449,7 @@ enum ListTargetGroupsOutputError { enum ListTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6467,7 +6467,7 @@ enum ListTargetsOutputError { enum PutAuthPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6485,7 +6485,7 @@ enum PutAuthPolicyOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6503,7 +6503,7 @@ enum PutResourcePolicyOutputError { enum RegisterTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6523,7 +6523,7 @@ enum RegisterTargetsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6541,7 +6541,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6558,7 +6558,7 @@ enum UntagResourceOutputError { enum UpdateAccessLogSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6577,7 +6577,7 @@ enum UpdateAccessLogSubscriptionOutputError { enum UpdateListenerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6596,7 +6596,7 @@ enum UpdateListenerOutputError { enum UpdateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6615,7 +6615,7 @@ enum UpdateRuleOutputError { enum UpdateServiceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6634,7 +6634,7 @@ enum UpdateServiceOutputError { enum UpdateServiceNetworkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6653,7 +6653,7 @@ enum UpdateServiceNetworkOutputError { enum UpdateServiceNetworkVpcAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6672,7 +6672,7 @@ enum UpdateServiceNetworkVpcAssociationOutputError { enum UpdateTargetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/Models.swift b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/Models.swift index 6b233059102..bb49efc89c0 100644 --- a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/Models.swift +++ b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -34,7 +34,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -331,6 +331,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.CognitoUserPoolConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CognitoUserPoolConfiguration(groupConfiguration: \(Swift.String(describing: groupConfiguration)), userPoolArn: \(Swift.String(describing: userPoolArn)), clientIds: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions. This data type is used as a field that is part of an [ConfigurationDetail](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html) structure that is part of the response to [GetIdentitySource](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html). Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}} public struct CognitoUserPoolConfigurationDetail { @@ -362,6 +367,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.CognitoUserPoolConfigurationDetail: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CognitoUserPoolConfigurationDetail(groupConfiguration: \(Swift.String(describing: groupConfiguration)), issuer: \(Swift.String(describing: issuer)), userPoolArn: \(Swift.String(describing: userPoolArn)), clientIds: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions. This data type is used as a field that is part of the [ConfigurationItem](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html) structure that is part of the response to [ListIdentitySources](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html). Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}} public struct CognitoUserPoolConfigurationItem { @@ -393,6 +403,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.CognitoUserPoolConfigurationItem: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CognitoUserPoolConfigurationItem(groupConfiguration: \(Swift.String(describing: groupConfiguration)), issuer: \(Swift.String(describing: issuer)), userPoolArn: \(Swift.String(describing: userPoolArn)), clientIds: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup. This data type is part of a [OpenIdConnectConfiguration](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectConfiguration.html) structure, which is a parameter of [CreateIdentitySource](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html). public struct OpenIdConnectGroupConfiguration { @@ -467,7 +482,7 @@ extension VerifiedPermissionsClientTypes { extension VerifiedPermissionsClientTypes.OpenIdConnectIdentityTokenConfiguration: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "OpenIdConnectIdentityTokenConfiguration(clientIds: \(Swift.String(describing: clientIds)), principalIdClaim: \"CONTENT_REDACTED\")"} + "OpenIdConnectIdentityTokenConfiguration(clientIds: \"CONTENT_REDACTED\", principalIdClaim: \"CONTENT_REDACTED\")"} } extension VerifiedPermissionsClientTypes { @@ -603,7 +618,7 @@ extension VerifiedPermissionsClientTypes { extension VerifiedPermissionsClientTypes.OpenIdConnectIdentityTokenConfigurationDetail: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "OpenIdConnectIdentityTokenConfigurationDetail(clientIds: \(Swift.String(describing: clientIds)), principalIdClaim: \"CONTENT_REDACTED\")"} + "OpenIdConnectIdentityTokenConfigurationDetail(clientIds: \"CONTENT_REDACTED\", principalIdClaim: \"CONTENT_REDACTED\")"} } extension VerifiedPermissionsClientTypes { @@ -739,7 +754,7 @@ extension VerifiedPermissionsClientTypes { extension VerifiedPermissionsClientTypes.OpenIdConnectIdentityTokenConfigurationItem: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "OpenIdConnectIdentityTokenConfigurationItem(clientIds: \(Swift.String(describing: clientIds)), principalIdClaim: \"CONTENT_REDACTED\")"} + "OpenIdConnectIdentityTokenConfigurationItem(clientIds: \"CONTENT_REDACTED\", principalIdClaim: \"CONTENT_REDACTED\")"} } extension VerifiedPermissionsClientTypes { @@ -839,7 +854,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -875,7 +890,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1488,6 +1503,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.IdentitySourceDetails: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "IdentitySourceDetails(discoveryUrl: \(Swift.String(describing: discoveryUrl)), openIdIssuer: \(Swift.String(describing: openIdIssuer)), userPoolArn: \(Swift.String(describing: userPoolArn)), clientIds: \"CONTENT_REDACTED\")"} +} + public struct GetIdentitySourceOutput { /// Contains configuration information about an identity source. public var configuration: VerifiedPermissionsClientTypes.ConfigurationDetail? @@ -1832,7 +1852,7 @@ public struct GetSchemaOutput { extension GetSchemaOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetSchemaOutput(createdDate: \(Swift.String(describing: createdDate)), lastUpdatedDate: \(Swift.String(describing: lastUpdatedDate)), namespaces: \(Swift.String(describing: namespaces)), policyStoreId: \(Swift.String(describing: policyStoreId)), schema: \"CONTENT_REDACTED\")"} + "GetSchemaOutput(createdDate: \(Swift.String(describing: createdDate)), lastUpdatedDate: \(Swift.String(describing: lastUpdatedDate)), policyStoreId: \(Swift.String(describing: policyStoreId)), namespaces: \"CONTENT_REDACTED\", schema: \"CONTENT_REDACTED\")"} } extension VerifiedPermissionsClientTypes { @@ -1914,6 +1934,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.IdentitySourceItemDetails: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "IdentitySourceItemDetails(discoveryUrl: \(Swift.String(describing: discoveryUrl)), openIdIssuer: \(Swift.String(describing: openIdIssuer)), userPoolArn: \(Swift.String(describing: userPoolArn)), clientIds: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// A structure that defines an identity source. This data type is a response parameter to the [ListIdentitySources](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html) operation. public struct IdentitySourceItem { @@ -2029,6 +2054,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.UpdateCognitoUserPoolConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateCognitoUserPoolConfiguration(groupConfiguration: \(Swift.String(describing: groupConfiguration)), userPoolArn: \(Swift.String(describing: userPoolArn)), clientIds: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup. This data type is part of a [UpdateOpenIdConnectConfiguration](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateOpenIdConnectConfiguration.html) structure, which is a parameter to [UpdateIdentitySource](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateIdentitySource.html). public struct UpdateOpenIdConnectGroupConfiguration { @@ -2103,7 +2133,7 @@ extension VerifiedPermissionsClientTypes { extension VerifiedPermissionsClientTypes.UpdateOpenIdConnectIdentityTokenConfiguration: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateOpenIdConnectIdentityTokenConfiguration(clientIds: \(Swift.String(describing: clientIds)), principalIdClaim: \"CONTENT_REDACTED\")"} + "UpdateOpenIdConnectIdentityTokenConfiguration(clientIds: \"CONTENT_REDACTED\", principalIdClaim: \"CONTENT_REDACTED\")"} } extension VerifiedPermissionsClientTypes { @@ -2238,7 +2268,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2273,6 +2303,11 @@ public struct IsAuthorizedOutput { } } +extension IsAuthorizedOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "IsAuthorizedOutput(decision: \(Swift.String(describing: decision)), determiningPolicies: \(Swift.String(describing: determiningPolicies)), errors: \"CONTENT_REDACTED\")"} +} + public struct IsAuthorizedWithTokenOutput { /// An authorization decision that indicates if the authorization request should be allowed or denied. /// This member is required. @@ -2300,6 +2335,11 @@ public struct IsAuthorizedWithTokenOutput { } } +extension IsAuthorizedWithTokenOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "IsAuthorizedWithTokenOutput(decision: \(Swift.String(describing: decision)), determiningPolicies: \(Swift.String(describing: determiningPolicies)), principal: \(Swift.String(describing: principal)), errors: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// Contains information about a filter to refine policies returned in a query. This data type is used as a response parameter for the [ListPolicies](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicies.html) operation. public struct PolicyFilter { @@ -2909,6 +2949,11 @@ public struct PutSchemaOutput { } } +extension PutSchemaOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "PutSchemaOutput(createdDate: \(Swift.String(describing: createdDate)), lastUpdatedDate: \(Swift.String(describing: lastUpdatedDate)), policyStoreId: \(Swift.String(describing: policyStoreId)), namespaces: \"CONTENT_REDACTED\")"} +} + public struct UpdatePolicyStoreInput { /// Descriptive text that you can provide to help with identification of the current policy store. public var description: Swift.String? @@ -2981,7 +3026,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { true } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3054,7 +3099,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3207,6 +3252,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.BatchIsAuthorizedOutputItem: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "BatchIsAuthorizedOutputItem(decision: \(Swift.String(describing: decision)), determiningPolicies: \(Swift.String(describing: determiningPolicies)), request: \(Swift.String(describing: request)), errors: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// The decision, based on policy evaluation, from an individual authorization request in a BatchIsAuthorizedWithToken API request. public struct BatchIsAuthorizedWithTokenOutputItem { @@ -3239,6 +3289,11 @@ extension VerifiedPermissionsClientTypes { } +extension VerifiedPermissionsClientTypes.BatchIsAuthorizedWithTokenOutputItem: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "BatchIsAuthorizedWithTokenOutputItem(decision: \(Swift.String(describing: decision)), determiningPolicies: \(Swift.String(describing: determiningPolicies)), request: \(Swift.String(describing: request)), errors: \"CONTENT_REDACTED\")"} +} + extension VerifiedPermissionsClientTypes { /// Contains the list of entities to be considered during an authorization request. This includes all principals, resources, and actions required to successfully evaluate the request. This data type is used as a field in the response parameter for the [IsAuthorized](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html) and [IsAuthorizedWithToken](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html) operations. public indirect enum EntitiesDefinition { @@ -3864,7 +3919,7 @@ extension UpdatePolicyTemplateInput { extension BatchIsAuthorizedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchIsAuthorizedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchIsAuthorizedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3876,7 +3931,7 @@ extension BatchIsAuthorizedOutput { extension BatchIsAuthorizedWithTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchIsAuthorizedWithTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchIsAuthorizedWithTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3889,7 +3944,7 @@ extension BatchIsAuthorizedWithTokenOutput { extension CreateIdentitySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIdentitySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdentitySourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3904,7 +3959,7 @@ extension CreateIdentitySourceOutput { extension CreatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3924,7 +3979,7 @@ extension CreatePolicyOutput { extension CreatePolicyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3939,7 +3994,7 @@ extension CreatePolicyStoreOutput { extension CreatePolicyTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePolicyTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePolicyTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3954,35 +4009,35 @@ extension CreatePolicyTemplateOutput { extension DeleteIdentitySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentitySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentitySourceOutput { return DeleteIdentitySourceOutput() } } extension DeletePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyOutput { return DeletePolicyOutput() } } extension DeletePolicyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyStoreOutput { return DeletePolicyStoreOutput() } } extension DeletePolicyTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePolicyTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePolicyTemplateOutput { return DeletePolicyTemplateOutput() } } extension GetIdentitySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentitySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentitySourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4000,7 +4055,7 @@ extension GetIdentitySourceOutput { extension GetPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4021,7 +4076,7 @@ extension GetPolicyOutput { extension GetPolicyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4038,7 +4093,7 @@ extension GetPolicyStoreOutput { extension GetPolicyTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPolicyTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPolicyTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4055,7 +4110,7 @@ extension GetPolicyTemplateOutput { extension GetSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4071,7 +4126,7 @@ extension GetSchemaOutput { extension IsAuthorizedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IsAuthorizedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IsAuthorizedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4085,7 +4140,7 @@ extension IsAuthorizedOutput { extension IsAuthorizedWithTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> IsAuthorizedWithTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> IsAuthorizedWithTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4100,7 +4155,7 @@ extension IsAuthorizedWithTokenOutput { extension ListIdentitySourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentitySourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentitySourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4113,7 +4168,7 @@ extension ListIdentitySourcesOutput { extension ListPoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4126,7 +4181,7 @@ extension ListPoliciesOutput { extension ListPolicyStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4139,7 +4194,7 @@ extension ListPolicyStoresOutput { extension ListPolicyTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPolicyTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPolicyTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4152,7 +4207,7 @@ extension ListPolicyTemplatesOutput { extension PutSchemaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutSchemaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSchemaOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4167,7 +4222,7 @@ extension PutSchemaOutput { extension UpdateIdentitySourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentitySourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentitySourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4182,7 +4237,7 @@ extension UpdateIdentitySourceOutput { extension UpdatePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4202,7 +4257,7 @@ extension UpdatePolicyOutput { extension UpdatePolicyStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePolicyStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePolicyStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4217,7 +4272,7 @@ extension UpdatePolicyStoreOutput { extension UpdatePolicyTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePolicyTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePolicyTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4242,7 +4297,7 @@ func httpServiceError(baseError: AWSClientRuntime.AWSJSONError) throws -> Swift. enum BatchIsAuthorizedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4257,7 +4312,7 @@ enum BatchIsAuthorizedOutputError { enum BatchIsAuthorizedWithTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4272,7 +4327,7 @@ enum BatchIsAuthorizedWithTokenOutputError { enum CreateIdentitySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4289,7 +4344,7 @@ enum CreateIdentitySourceOutputError { enum CreatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4306,7 +4361,7 @@ enum CreatePolicyOutputError { enum CreatePolicyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4322,7 +4377,7 @@ enum CreatePolicyStoreOutputError { enum CreatePolicyTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4339,7 +4394,7 @@ enum CreatePolicyTemplateOutputError { enum DeleteIdentitySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4355,7 +4410,7 @@ enum DeleteIdentitySourceOutputError { enum DeletePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4371,7 +4426,7 @@ enum DeletePolicyOutputError { enum DeletePolicyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4385,7 +4440,7 @@ enum DeletePolicyStoreOutputError { enum DeletePolicyTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4401,7 +4456,7 @@ enum DeletePolicyTemplateOutputError { enum GetIdentitySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4416,7 +4471,7 @@ enum GetIdentitySourceOutputError { enum GetPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4431,7 +4486,7 @@ enum GetPolicyOutputError { enum GetPolicyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4446,7 +4501,7 @@ enum GetPolicyStoreOutputError { enum GetPolicyTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4461,7 +4516,7 @@ enum GetPolicyTemplateOutputError { enum GetSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4476,7 +4531,7 @@ enum GetSchemaOutputError { enum IsAuthorizedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4491,7 +4546,7 @@ enum IsAuthorizedOutputError { enum IsAuthorizedWithTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4506,7 +4561,7 @@ enum IsAuthorizedWithTokenOutputError { enum ListIdentitySourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4521,7 +4576,7 @@ enum ListIdentitySourcesOutputError { enum ListPoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4536,7 +4591,7 @@ enum ListPoliciesOutputError { enum ListPolicyStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4550,7 +4605,7 @@ enum ListPolicyStoresOutputError { enum ListPolicyTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4565,7 +4620,7 @@ enum ListPolicyTemplatesOutputError { enum PutSchemaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4582,7 +4637,7 @@ enum PutSchemaOutputError { enum UpdateIdentitySourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4598,7 +4653,7 @@ enum UpdateIdentitySourceOutputError { enum UpdatePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4615,7 +4670,7 @@ enum UpdatePolicyOutputError { enum UpdatePolicyStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4631,7 +4686,7 @@ enum UpdatePolicyStoreOutputError { enum UpdatePolicyTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/Models.swift b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/Models.swift index ad93de0c1e0..d171e36306a 100644 --- a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/Models.swift +++ b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -54,7 +54,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -145,7 +145,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -171,7 +171,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -241,7 +241,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -267,7 +267,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -291,7 +291,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -315,7 +315,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2687,6 +2687,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagResourceOutput { public init() { } @@ -3227,7 +3232,7 @@ extension UpdateWatchlistInput { extension AssociateFraudsterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateFraudsterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateFraudsterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3239,7 +3244,7 @@ extension AssociateFraudsterOutput { extension CreateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3251,7 +3256,7 @@ extension CreateDomainOutput { extension CreateWatchlistOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWatchlistOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWatchlistOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3263,35 +3268,35 @@ extension CreateWatchlistOutput { extension DeleteDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDomainOutput { return DeleteDomainOutput() } } extension DeleteFraudsterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFraudsterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFraudsterOutput { return DeleteFraudsterOutput() } } extension DeleteSpeakerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSpeakerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSpeakerOutput { return DeleteSpeakerOutput() } } extension DeleteWatchlistOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWatchlistOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWatchlistOutput { return DeleteWatchlistOutput() } } extension DescribeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3303,7 +3308,7 @@ extension DescribeDomainOutput { extension DescribeFraudsterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFraudsterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFraudsterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3315,7 +3320,7 @@ extension DescribeFraudsterOutput { extension DescribeFraudsterRegistrationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFraudsterRegistrationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFraudsterRegistrationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3327,7 +3332,7 @@ extension DescribeFraudsterRegistrationJobOutput { extension DescribeSpeakerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpeakerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpeakerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3339,7 +3344,7 @@ extension DescribeSpeakerOutput { extension DescribeSpeakerEnrollmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeSpeakerEnrollmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeSpeakerEnrollmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3351,7 +3356,7 @@ extension DescribeSpeakerEnrollmentJobOutput { extension DescribeWatchlistOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWatchlistOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWatchlistOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3363,7 +3368,7 @@ extension DescribeWatchlistOutput { extension DisassociateFraudsterOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateFraudsterOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateFraudsterOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3375,7 +3380,7 @@ extension DisassociateFraudsterOutput { extension EvaluateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> EvaluateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> EvaluateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3392,7 +3397,7 @@ extension EvaluateSessionOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3405,7 +3410,7 @@ extension ListDomainsOutput { extension ListFraudsterRegistrationJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFraudsterRegistrationJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFraudsterRegistrationJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3418,7 +3423,7 @@ extension ListFraudsterRegistrationJobsOutput { extension ListFraudstersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFraudstersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFraudstersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3431,7 +3436,7 @@ extension ListFraudstersOutput { extension ListSpeakerEnrollmentJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSpeakerEnrollmentJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSpeakerEnrollmentJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3444,7 +3449,7 @@ extension ListSpeakerEnrollmentJobsOutput { extension ListSpeakersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSpeakersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSpeakersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3457,7 +3462,7 @@ extension ListSpeakersOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3469,7 +3474,7 @@ extension ListTagsForResourceOutput { extension ListWatchlistsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWatchlistsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWatchlistsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3482,7 +3487,7 @@ extension ListWatchlistsOutput { extension OptOutSpeakerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> OptOutSpeakerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> OptOutSpeakerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3494,7 +3499,7 @@ extension OptOutSpeakerOutput { extension StartFraudsterRegistrationJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartFraudsterRegistrationJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartFraudsterRegistrationJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3506,7 +3511,7 @@ extension StartFraudsterRegistrationJobOutput { extension StartSpeakerEnrollmentJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartSpeakerEnrollmentJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartSpeakerEnrollmentJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3518,21 +3523,21 @@ extension StartSpeakerEnrollmentJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3544,7 +3549,7 @@ extension UpdateDomainOutput { extension UpdateWatchlistOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWatchlistOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWatchlistOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3556,7 +3561,7 @@ extension UpdateWatchlistOutput { enum AssociateFraudsterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3576,7 +3581,7 @@ enum AssociateFraudsterOutputError { enum CreateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3596,7 +3601,7 @@ enum CreateDomainOutputError { enum CreateWatchlistOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3616,7 +3621,7 @@ enum CreateWatchlistOutputError { enum DeleteDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3635,7 +3640,7 @@ enum DeleteDomainOutputError { enum DeleteFraudsterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3654,7 +3659,7 @@ enum DeleteFraudsterOutputError { enum DeleteSpeakerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3673,7 +3678,7 @@ enum DeleteSpeakerOutputError { enum DeleteWatchlistOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3692,7 +3697,7 @@ enum DeleteWatchlistOutputError { enum DescribeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3710,7 +3715,7 @@ enum DescribeDomainOutputError { enum DescribeFraudsterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3728,7 +3733,7 @@ enum DescribeFraudsterOutputError { enum DescribeFraudsterRegistrationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3746,7 +3751,7 @@ enum DescribeFraudsterRegistrationJobOutputError { enum DescribeSpeakerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3764,7 +3769,7 @@ enum DescribeSpeakerOutputError { enum DescribeSpeakerEnrollmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3782,7 +3787,7 @@ enum DescribeSpeakerEnrollmentJobOutputError { enum DescribeWatchlistOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3800,7 +3805,7 @@ enum DescribeWatchlistOutputError { enum DisassociateFraudsterOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3819,7 +3824,7 @@ enum DisassociateFraudsterOutputError { enum EvaluateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3838,7 +3843,7 @@ enum EvaluateSessionOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3855,7 +3860,7 @@ enum ListDomainsOutputError { enum ListFraudsterRegistrationJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3873,7 +3878,7 @@ enum ListFraudsterRegistrationJobsOutputError { enum ListFraudstersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3891,7 +3896,7 @@ enum ListFraudstersOutputError { enum ListSpeakerEnrollmentJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3909,7 +3914,7 @@ enum ListSpeakerEnrollmentJobsOutputError { enum ListSpeakersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3927,7 +3932,7 @@ enum ListSpeakersOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3945,7 +3950,7 @@ enum ListTagsForResourceOutputError { enum ListWatchlistsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3963,7 +3968,7 @@ enum ListWatchlistsOutputError { enum OptOutSpeakerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -3983,7 +3988,7 @@ enum OptOutSpeakerOutputError { enum StartFraudsterRegistrationJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4003,7 +4008,7 @@ enum StartFraudsterRegistrationJobOutputError { enum StartSpeakerEnrollmentJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4023,7 +4028,7 @@ enum StartSpeakerEnrollmentJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4042,7 +4047,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4061,7 +4066,7 @@ enum UntagResourceOutputError { enum UpdateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4080,7 +4085,7 @@ enum UpdateDomainOutputError { enum UpdateWatchlistOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWAF/Sources/AWSWAF/Models.swift b/Sources/Services/AWSWAF/Sources/AWSWAF/Models.swift index 69bfcd315e9..7e8b90ff24f 100644 --- a/Sources/Services/AWSWAF/Sources/AWSWAF/Models.swift +++ b/Sources/Services/AWSWAF/Sources/AWSWAF/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -238,7 +238,7 @@ public struct WAFDisallowedNameException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -262,7 +262,7 @@ public struct WAFInternalErrorException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -280,7 +280,7 @@ public struct WAFInvalidAccountException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -431,7 +431,7 @@ public struct WAFInvalidParameterException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -459,7 +459,7 @@ public struct WAFLimitsExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -483,7 +483,7 @@ public struct WAFStaleDataException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1828,7 +1828,7 @@ public struct WAFBadRequestException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1852,7 +1852,7 @@ public struct WAFTagOperationException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1876,7 +1876,7 @@ public struct WAFTagOperationInternalErrorException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2923,7 +2923,7 @@ public struct WAFEntityMigrationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2961,7 +2961,7 @@ public struct WAFInvalidOperationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2985,7 +2985,7 @@ public struct WAFNonexistentItemException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3186,7 +3186,7 @@ public struct WAFNonEmptyEntityException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3214,7 +3214,7 @@ public struct WAFReferencedItemException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5147,7 +5147,7 @@ public struct WAFServiceLinkedRoleErrorException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5212,7 +5212,7 @@ public struct WAFInvalidPermissionPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5313,7 +5313,7 @@ public struct WAFNonexistentContainerException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5673,7 +5673,7 @@ public struct WAFInvalidRegexPatternException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5980,7 +5980,7 @@ public struct WAFSubscriptionNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7368,7 +7368,7 @@ extension UpdateXssMatchSetInput { extension CreateByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7381,7 +7381,7 @@ extension CreateByteMatchSetOutput { extension CreateGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7394,7 +7394,7 @@ extension CreateGeoMatchSetOutput { extension CreateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7407,7 +7407,7 @@ extension CreateIPSetOutput { extension CreateRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7420,7 +7420,7 @@ extension CreateRateBasedRuleOutput { extension CreateRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7433,7 +7433,7 @@ extension CreateRegexMatchSetOutput { extension CreateRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7446,7 +7446,7 @@ extension CreateRegexPatternSetOutput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7459,7 +7459,7 @@ extension CreateRuleOutput { extension CreateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7472,7 +7472,7 @@ extension CreateRuleGroupOutput { extension CreateSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7485,7 +7485,7 @@ extension CreateSizeConstraintSetOutput { extension CreateSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7498,7 +7498,7 @@ extension CreateSqlInjectionMatchSetOutput { extension CreateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7511,7 +7511,7 @@ extension CreateWebACLOutput { extension CreateWebACLMigrationStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebACLMigrationStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebACLMigrationStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7523,7 +7523,7 @@ extension CreateWebACLMigrationStackOutput { extension CreateXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7536,7 +7536,7 @@ extension CreateXssMatchSetOutput { extension DeleteByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7548,7 +7548,7 @@ extension DeleteByteMatchSetOutput { extension DeleteGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7560,7 +7560,7 @@ extension DeleteGeoMatchSetOutput { extension DeleteIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7572,21 +7572,21 @@ extension DeleteIPSetOutput { extension DeleteLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoggingConfigurationOutput { return DeleteLoggingConfigurationOutput() } } extension DeletePermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionPolicyOutput { return DeletePermissionPolicyOutput() } } extension DeleteRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7598,7 +7598,7 @@ extension DeleteRateBasedRuleOutput { extension DeleteRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7610,7 +7610,7 @@ extension DeleteRegexMatchSetOutput { extension DeleteRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7622,7 +7622,7 @@ extension DeleteRegexPatternSetOutput { extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7634,7 +7634,7 @@ extension DeleteRuleOutput { extension DeleteRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7646,7 +7646,7 @@ extension DeleteRuleGroupOutput { extension DeleteSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7658,7 +7658,7 @@ extension DeleteSizeConstraintSetOutput { extension DeleteSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7670,7 +7670,7 @@ extension DeleteSqlInjectionMatchSetOutput { extension DeleteWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7682,7 +7682,7 @@ extension DeleteWebACLOutput { extension DeleteXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7694,7 +7694,7 @@ extension DeleteXssMatchSetOutput { extension GetByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7706,7 +7706,7 @@ extension GetByteMatchSetOutput { extension GetChangeTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangeTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangeTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7718,7 +7718,7 @@ extension GetChangeTokenOutput { extension GetChangeTokenStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangeTokenStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangeTokenStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7730,7 +7730,7 @@ extension GetChangeTokenStatusOutput { extension GetGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7742,7 +7742,7 @@ extension GetGeoMatchSetOutput { extension GetIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7754,7 +7754,7 @@ extension GetIPSetOutput { extension GetLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7766,7 +7766,7 @@ extension GetLoggingConfigurationOutput { extension GetPermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPermissionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7778,7 +7778,7 @@ extension GetPermissionPolicyOutput { extension GetRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7790,7 +7790,7 @@ extension GetRateBasedRuleOutput { extension GetRateBasedRuleManagedKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRateBasedRuleManagedKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRateBasedRuleManagedKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7803,7 +7803,7 @@ extension GetRateBasedRuleManagedKeysOutput { extension GetRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7815,7 +7815,7 @@ extension GetRegexMatchSetOutput { extension GetRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7827,7 +7827,7 @@ extension GetRegexPatternSetOutput { extension GetRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7839,7 +7839,7 @@ extension GetRuleOutput { extension GetRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7851,7 +7851,7 @@ extension GetRuleGroupOutput { extension GetSampledRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSampledRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSampledRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7865,7 +7865,7 @@ extension GetSampledRequestsOutput { extension GetSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7877,7 +7877,7 @@ extension GetSizeConstraintSetOutput { extension GetSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7889,7 +7889,7 @@ extension GetSqlInjectionMatchSetOutput { extension GetWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7901,7 +7901,7 @@ extension GetWebACLOutput { extension GetXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7913,7 +7913,7 @@ extension GetXssMatchSetOutput { extension ListActivatedRulesInRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActivatedRulesInRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActivatedRulesInRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7926,7 +7926,7 @@ extension ListActivatedRulesInRuleGroupOutput { extension ListByteMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListByteMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListByteMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7939,7 +7939,7 @@ extension ListByteMatchSetsOutput { extension ListGeoMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGeoMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGeoMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7952,7 +7952,7 @@ extension ListGeoMatchSetsOutput { extension ListIPSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIPSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIPSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7965,7 +7965,7 @@ extension ListIPSetsOutput { extension ListLoggingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoggingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoggingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7978,7 +7978,7 @@ extension ListLoggingConfigurationsOutput { extension ListRateBasedRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRateBasedRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRateBasedRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7991,7 +7991,7 @@ extension ListRateBasedRulesOutput { extension ListRegexMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegexMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegexMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8004,7 +8004,7 @@ extension ListRegexMatchSetsOutput { extension ListRegexPatternSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegexPatternSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegexPatternSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8017,7 +8017,7 @@ extension ListRegexPatternSetsOutput { extension ListRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8030,7 +8030,7 @@ extension ListRuleGroupsOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8043,7 +8043,7 @@ extension ListRulesOutput { extension ListSizeConstraintSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSizeConstraintSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSizeConstraintSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8056,7 +8056,7 @@ extension ListSizeConstraintSetsOutput { extension ListSqlInjectionMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSqlInjectionMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSqlInjectionMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8069,7 +8069,7 @@ extension ListSqlInjectionMatchSetsOutput { extension ListSubscribedRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscribedRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscribedRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8082,7 +8082,7 @@ extension ListSubscribedRuleGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8095,7 +8095,7 @@ extension ListTagsForResourceOutput { extension ListWebACLsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebACLsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebACLsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8108,7 +8108,7 @@ extension ListWebACLsOutput { extension ListXssMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListXssMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListXssMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8121,7 +8121,7 @@ extension ListXssMatchSetsOutput { extension PutLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8133,28 +8133,28 @@ extension PutLoggingConfigurationOutput { extension PutPermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionPolicyOutput { return PutPermissionPolicyOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8166,7 +8166,7 @@ extension UpdateByteMatchSetOutput { extension UpdateGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8178,7 +8178,7 @@ extension UpdateGeoMatchSetOutput { extension UpdateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8190,7 +8190,7 @@ extension UpdateIPSetOutput { extension UpdateRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8202,7 +8202,7 @@ extension UpdateRateBasedRuleOutput { extension UpdateRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8214,7 +8214,7 @@ extension UpdateRegexMatchSetOutput { extension UpdateRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8226,7 +8226,7 @@ extension UpdateRegexPatternSetOutput { extension UpdateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8238,7 +8238,7 @@ extension UpdateRuleOutput { extension UpdateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8250,7 +8250,7 @@ extension UpdateRuleGroupOutput { extension UpdateSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8262,7 +8262,7 @@ extension UpdateSizeConstraintSetOutput { extension UpdateSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8274,7 +8274,7 @@ extension UpdateSqlInjectionMatchSetOutput { extension UpdateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8286,7 +8286,7 @@ extension UpdateWebACLOutput { extension UpdateXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8298,7 +8298,7 @@ extension UpdateXssMatchSetOutput { enum CreateByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8317,7 +8317,7 @@ enum CreateByteMatchSetOutputError { enum CreateGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8336,7 +8336,7 @@ enum CreateGeoMatchSetOutputError { enum CreateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8355,7 +8355,7 @@ enum CreateIPSetOutputError { enum CreateRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8376,7 +8376,7 @@ enum CreateRateBasedRuleOutputError { enum CreateRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8393,7 +8393,7 @@ enum CreateRegexMatchSetOutputError { enum CreateRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8410,7 +8410,7 @@ enum CreateRegexPatternSetOutputError { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8431,7 +8431,7 @@ enum CreateRuleOutputError { enum CreateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8451,7 +8451,7 @@ enum CreateRuleGroupOutputError { enum CreateSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8470,7 +8470,7 @@ enum CreateSizeConstraintSetOutputError { enum CreateSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8489,7 +8489,7 @@ enum CreateSqlInjectionMatchSetOutputError { enum CreateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8511,7 +8511,7 @@ enum CreateWebACLOutputError { enum CreateWebACLMigrationStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8529,7 +8529,7 @@ enum CreateWebACLMigrationStackOutputError { enum CreateXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8548,7 +8548,7 @@ enum CreateXssMatchSetOutputError { enum DeleteByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8567,7 +8567,7 @@ enum DeleteByteMatchSetOutputError { enum DeleteGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8586,7 +8586,7 @@ enum DeleteGeoMatchSetOutputError { enum DeleteIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8605,7 +8605,7 @@ enum DeleteIPSetOutputError { enum DeleteLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8621,7 +8621,7 @@ enum DeleteLoggingConfigurationOutputError { enum DeletePermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8637,7 +8637,7 @@ enum DeletePermissionPolicyOutputError { enum DeleteRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8658,7 +8658,7 @@ enum DeleteRateBasedRuleOutputError { enum DeleteRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8677,7 +8677,7 @@ enum DeleteRegexMatchSetOutputError { enum DeleteRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8696,7 +8696,7 @@ enum DeleteRegexPatternSetOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8717,7 +8717,7 @@ enum DeleteRuleOutputError { enum DeleteRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8738,7 +8738,7 @@ enum DeleteRuleGroupOutputError { enum DeleteSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8757,7 +8757,7 @@ enum DeleteSizeConstraintSetOutputError { enum DeleteSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8776,7 +8776,7 @@ enum DeleteSqlInjectionMatchSetOutputError { enum DeleteWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8797,7 +8797,7 @@ enum DeleteWebACLOutputError { enum DeleteXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8816,7 +8816,7 @@ enum DeleteXssMatchSetOutputError { enum GetByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8832,7 +8832,7 @@ enum GetByteMatchSetOutputError { enum GetChangeTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8846,7 +8846,7 @@ enum GetChangeTokenOutputError { enum GetChangeTokenStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8861,7 +8861,7 @@ enum GetChangeTokenStatusOutputError { enum GetGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8877,7 +8877,7 @@ enum GetGeoMatchSetOutputError { enum GetIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8893,7 +8893,7 @@ enum GetIPSetOutputError { enum GetLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8908,7 +8908,7 @@ enum GetLoggingConfigurationOutputError { enum GetPermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8923,7 +8923,7 @@ enum GetPermissionPolicyOutputError { enum GetRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8939,7 +8939,7 @@ enum GetRateBasedRuleOutputError { enum GetRateBasedRuleManagedKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8956,7 +8956,7 @@ enum GetRateBasedRuleManagedKeysOutputError { enum GetRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8972,7 +8972,7 @@ enum GetRegexMatchSetOutputError { enum GetRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8988,7 +8988,7 @@ enum GetRegexPatternSetOutputError { enum GetRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9004,7 +9004,7 @@ enum GetRuleOutputError { enum GetRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9019,7 +9019,7 @@ enum GetRuleGroupOutputError { enum GetSampledRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9034,7 +9034,7 @@ enum GetSampledRequestsOutputError { enum GetSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9050,7 +9050,7 @@ enum GetSizeConstraintSetOutputError { enum GetSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9066,7 +9066,7 @@ enum GetSqlInjectionMatchSetOutputError { enum GetWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9082,7 +9082,7 @@ enum GetWebACLOutputError { enum GetXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9098,7 +9098,7 @@ enum GetXssMatchSetOutputError { enum ListActivatedRulesInRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9114,7 +9114,7 @@ enum ListActivatedRulesInRuleGroupOutputError { enum ListByteMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9129,7 +9129,7 @@ enum ListByteMatchSetsOutputError { enum ListGeoMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9144,7 +9144,7 @@ enum ListGeoMatchSetsOutputError { enum ListIPSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9159,7 +9159,7 @@ enum ListIPSetsOutputError { enum ListLoggingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9175,7 +9175,7 @@ enum ListLoggingConfigurationsOutputError { enum ListRateBasedRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9190,7 +9190,7 @@ enum ListRateBasedRulesOutputError { enum ListRegexMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9205,7 +9205,7 @@ enum ListRegexMatchSetsOutputError { enum ListRegexPatternSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9220,7 +9220,7 @@ enum ListRegexPatternSetsOutputError { enum ListRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9234,7 +9234,7 @@ enum ListRuleGroupsOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9249,7 +9249,7 @@ enum ListRulesOutputError { enum ListSizeConstraintSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9264,7 +9264,7 @@ enum ListSizeConstraintSetsOutputError { enum ListSqlInjectionMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9279,7 +9279,7 @@ enum ListSqlInjectionMatchSetsOutputError { enum ListSubscribedRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9294,7 +9294,7 @@ enum ListSubscribedRuleGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9313,7 +9313,7 @@ enum ListTagsForResourceOutputError { enum ListWebACLsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9328,7 +9328,7 @@ enum ListWebACLsOutputError { enum ListXssMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9343,7 +9343,7 @@ enum ListXssMatchSetsOutputError { enum PutLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9360,7 +9360,7 @@ enum PutLoggingConfigurationOutputError { enum PutPermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9377,7 +9377,7 @@ enum PutPermissionPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9397,7 +9397,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9416,7 +9416,7 @@ enum UntagResourceOutputError { enum UpdateByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9437,7 +9437,7 @@ enum UpdateByteMatchSetOutputError { enum UpdateGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9459,7 +9459,7 @@ enum UpdateGeoMatchSetOutputError { enum UpdateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9481,7 +9481,7 @@ enum UpdateIPSetOutputError { enum UpdateRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9503,7 +9503,7 @@ enum UpdateRateBasedRuleOutputError { enum UpdateRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9524,7 +9524,7 @@ enum UpdateRegexMatchSetOutputError { enum UpdateRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9545,7 +9545,7 @@ enum UpdateRegexPatternSetOutputError { enum UpdateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9567,7 +9567,7 @@ enum UpdateRuleOutputError { enum UpdateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9587,7 +9587,7 @@ enum UpdateRuleGroupOutputError { enum UpdateSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9609,7 +9609,7 @@ enum UpdateSizeConstraintSetOutputError { enum UpdateSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9630,7 +9630,7 @@ enum UpdateSqlInjectionMatchSetOutputError { enum UpdateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9653,7 +9653,7 @@ enum UpdateWebACLOutputError { enum UpdateXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/Models.swift b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/Models.swift index c657e40cd0e..3fa96d52c64 100644 --- a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/Models.swift +++ b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -238,7 +238,7 @@ public struct WAFInternalErrorException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -256,7 +256,7 @@ public struct WAFInvalidAccountException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -407,7 +407,7 @@ public struct WAFInvalidParameterException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -435,7 +435,7 @@ public struct WAFNonexistentItemException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -459,7 +459,7 @@ public struct WAFUnavailableEntityException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -510,7 +510,7 @@ public struct WAFDisallowedNameException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -534,7 +534,7 @@ public struct WAFLimitsExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -558,7 +558,7 @@ public struct WAFStaleDataException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1903,7 +1903,7 @@ public struct WAFBadRequestException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1927,7 +1927,7 @@ public struct WAFTagOperationException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1951,7 +1951,7 @@ public struct WAFTagOperationInternalErrorException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2998,7 +2998,7 @@ public struct WAFEntityMigrationException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3036,7 +3036,7 @@ public struct WAFInvalidOperationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3237,7 +3237,7 @@ public struct WAFNonEmptyEntityException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3265,7 +3265,7 @@ public struct WAFReferencedItemException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5307,7 +5307,7 @@ public struct WAFServiceLinkedRoleErrorException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5372,7 +5372,7 @@ public struct WAFInvalidPermissionPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5473,7 +5473,7 @@ public struct WAFNonexistentContainerException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5833,7 +5833,7 @@ public struct WAFInvalidRegexPatternException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6140,7 +6140,7 @@ public struct WAFSubscriptionNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7590,14 +7590,14 @@ extension UpdateXssMatchSetInput { extension AssociateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWebACLOutput { return AssociateWebACLOutput() } } extension CreateByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7610,7 +7610,7 @@ extension CreateByteMatchSetOutput { extension CreateGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7623,7 +7623,7 @@ extension CreateGeoMatchSetOutput { extension CreateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7636,7 +7636,7 @@ extension CreateIPSetOutput { extension CreateRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7649,7 +7649,7 @@ extension CreateRateBasedRuleOutput { extension CreateRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7662,7 +7662,7 @@ extension CreateRegexMatchSetOutput { extension CreateRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7675,7 +7675,7 @@ extension CreateRegexPatternSetOutput { extension CreateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7688,7 +7688,7 @@ extension CreateRuleOutput { extension CreateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7701,7 +7701,7 @@ extension CreateRuleGroupOutput { extension CreateSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7714,7 +7714,7 @@ extension CreateSizeConstraintSetOutput { extension CreateSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7727,7 +7727,7 @@ extension CreateSqlInjectionMatchSetOutput { extension CreateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7740,7 +7740,7 @@ extension CreateWebACLOutput { extension CreateWebACLMigrationStackOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebACLMigrationStackOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebACLMigrationStackOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7752,7 +7752,7 @@ extension CreateWebACLMigrationStackOutput { extension CreateXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7765,7 +7765,7 @@ extension CreateXssMatchSetOutput { extension DeleteByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7777,7 +7777,7 @@ extension DeleteByteMatchSetOutput { extension DeleteGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7789,7 +7789,7 @@ extension DeleteGeoMatchSetOutput { extension DeleteIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7801,21 +7801,21 @@ extension DeleteIPSetOutput { extension DeleteLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoggingConfigurationOutput { return DeleteLoggingConfigurationOutput() } } extension DeletePermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionPolicyOutput { return DeletePermissionPolicyOutput() } } extension DeleteRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7827,7 +7827,7 @@ extension DeleteRateBasedRuleOutput { extension DeleteRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7839,7 +7839,7 @@ extension DeleteRegexMatchSetOutput { extension DeleteRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7851,7 +7851,7 @@ extension DeleteRegexPatternSetOutput { extension DeleteRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7863,7 +7863,7 @@ extension DeleteRuleOutput { extension DeleteRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7875,7 +7875,7 @@ extension DeleteRuleGroupOutput { extension DeleteSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7887,7 +7887,7 @@ extension DeleteSizeConstraintSetOutput { extension DeleteSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7899,7 +7899,7 @@ extension DeleteSqlInjectionMatchSetOutput { extension DeleteWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7911,7 +7911,7 @@ extension DeleteWebACLOutput { extension DeleteXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7923,14 +7923,14 @@ extension DeleteXssMatchSetOutput { extension DisassociateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWebACLOutput { return DisassociateWebACLOutput() } } extension GetByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7942,7 +7942,7 @@ extension GetByteMatchSetOutput { extension GetChangeTokenOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangeTokenOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangeTokenOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7954,7 +7954,7 @@ extension GetChangeTokenOutput { extension GetChangeTokenStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetChangeTokenStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetChangeTokenStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7966,7 +7966,7 @@ extension GetChangeTokenStatusOutput { extension GetGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7978,7 +7978,7 @@ extension GetGeoMatchSetOutput { extension GetIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7990,7 +7990,7 @@ extension GetIPSetOutput { extension GetLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8002,7 +8002,7 @@ extension GetLoggingConfigurationOutput { extension GetPermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPermissionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8014,7 +8014,7 @@ extension GetPermissionPolicyOutput { extension GetRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8026,7 +8026,7 @@ extension GetRateBasedRuleOutput { extension GetRateBasedRuleManagedKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRateBasedRuleManagedKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRateBasedRuleManagedKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8039,7 +8039,7 @@ extension GetRateBasedRuleManagedKeysOutput { extension GetRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8051,7 +8051,7 @@ extension GetRegexMatchSetOutput { extension GetRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8063,7 +8063,7 @@ extension GetRegexPatternSetOutput { extension GetRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8075,7 +8075,7 @@ extension GetRuleOutput { extension GetRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8087,7 +8087,7 @@ extension GetRuleGroupOutput { extension GetSampledRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSampledRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSampledRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8101,7 +8101,7 @@ extension GetSampledRequestsOutput { extension GetSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8113,7 +8113,7 @@ extension GetSizeConstraintSetOutput { extension GetSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8125,7 +8125,7 @@ extension GetSqlInjectionMatchSetOutput { extension GetWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8137,7 +8137,7 @@ extension GetWebACLOutput { extension GetWebACLForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebACLForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebACLForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8149,7 +8149,7 @@ extension GetWebACLForResourceOutput { extension GetXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8161,7 +8161,7 @@ extension GetXssMatchSetOutput { extension ListActivatedRulesInRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListActivatedRulesInRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListActivatedRulesInRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8174,7 +8174,7 @@ extension ListActivatedRulesInRuleGroupOutput { extension ListByteMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListByteMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListByteMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8187,7 +8187,7 @@ extension ListByteMatchSetsOutput { extension ListGeoMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGeoMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGeoMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8200,7 +8200,7 @@ extension ListGeoMatchSetsOutput { extension ListIPSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIPSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIPSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8213,7 +8213,7 @@ extension ListIPSetsOutput { extension ListLoggingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoggingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoggingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8226,7 +8226,7 @@ extension ListLoggingConfigurationsOutput { extension ListRateBasedRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRateBasedRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRateBasedRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8239,7 +8239,7 @@ extension ListRateBasedRulesOutput { extension ListRegexMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegexMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegexMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8252,7 +8252,7 @@ extension ListRegexMatchSetsOutput { extension ListRegexPatternSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegexPatternSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegexPatternSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8265,7 +8265,7 @@ extension ListRegexPatternSetsOutput { extension ListResourcesForWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesForWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesForWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8277,7 +8277,7 @@ extension ListResourcesForWebACLOutput { extension ListRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8290,7 +8290,7 @@ extension ListRuleGroupsOutput { extension ListRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8303,7 +8303,7 @@ extension ListRulesOutput { extension ListSizeConstraintSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSizeConstraintSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSizeConstraintSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8316,7 +8316,7 @@ extension ListSizeConstraintSetsOutput { extension ListSqlInjectionMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSqlInjectionMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSqlInjectionMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8329,7 +8329,7 @@ extension ListSqlInjectionMatchSetsOutput { extension ListSubscribedRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSubscribedRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscribedRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8342,7 +8342,7 @@ extension ListSubscribedRuleGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8355,7 +8355,7 @@ extension ListTagsForResourceOutput { extension ListWebACLsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebACLsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebACLsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8368,7 +8368,7 @@ extension ListWebACLsOutput { extension ListXssMatchSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListXssMatchSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListXssMatchSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8381,7 +8381,7 @@ extension ListXssMatchSetsOutput { extension PutLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8393,28 +8393,28 @@ extension PutLoggingConfigurationOutput { extension PutPermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionPolicyOutput { return PutPermissionPolicyOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateByteMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateByteMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateByteMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8426,7 +8426,7 @@ extension UpdateByteMatchSetOutput { extension UpdateGeoMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGeoMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGeoMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8438,7 +8438,7 @@ extension UpdateGeoMatchSetOutput { extension UpdateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8450,7 +8450,7 @@ extension UpdateIPSetOutput { extension UpdateRateBasedRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRateBasedRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRateBasedRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8462,7 +8462,7 @@ extension UpdateRateBasedRuleOutput { extension UpdateRegexMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegexMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegexMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8474,7 +8474,7 @@ extension UpdateRegexMatchSetOutput { extension UpdateRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8486,7 +8486,7 @@ extension UpdateRegexPatternSetOutput { extension UpdateRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8498,7 +8498,7 @@ extension UpdateRuleOutput { extension UpdateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8510,7 +8510,7 @@ extension UpdateRuleGroupOutput { extension UpdateSizeConstraintSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSizeConstraintSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSizeConstraintSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8522,7 +8522,7 @@ extension UpdateSizeConstraintSetOutput { extension UpdateSqlInjectionMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSqlInjectionMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSqlInjectionMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8534,7 +8534,7 @@ extension UpdateSqlInjectionMatchSetOutput { extension UpdateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8546,7 +8546,7 @@ extension UpdateWebACLOutput { extension UpdateXssMatchSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateXssMatchSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateXssMatchSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8558,7 +8558,7 @@ extension UpdateXssMatchSetOutput { enum AssociateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8576,7 +8576,7 @@ enum AssociateWebACLOutputError { enum CreateByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8595,7 +8595,7 @@ enum CreateByteMatchSetOutputError { enum CreateGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8614,7 +8614,7 @@ enum CreateGeoMatchSetOutputError { enum CreateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8633,7 +8633,7 @@ enum CreateIPSetOutputError { enum CreateRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8654,7 +8654,7 @@ enum CreateRateBasedRuleOutputError { enum CreateRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8671,7 +8671,7 @@ enum CreateRegexMatchSetOutputError { enum CreateRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8688,7 +8688,7 @@ enum CreateRegexPatternSetOutputError { enum CreateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8709,7 +8709,7 @@ enum CreateRuleOutputError { enum CreateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8729,7 +8729,7 @@ enum CreateRuleGroupOutputError { enum CreateSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8748,7 +8748,7 @@ enum CreateSizeConstraintSetOutputError { enum CreateSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8767,7 +8767,7 @@ enum CreateSqlInjectionMatchSetOutputError { enum CreateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8789,7 +8789,7 @@ enum CreateWebACLOutputError { enum CreateWebACLMigrationStackOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8807,7 +8807,7 @@ enum CreateWebACLMigrationStackOutputError { enum CreateXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8826,7 +8826,7 @@ enum CreateXssMatchSetOutputError { enum DeleteByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8845,7 +8845,7 @@ enum DeleteByteMatchSetOutputError { enum DeleteGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8864,7 +8864,7 @@ enum DeleteGeoMatchSetOutputError { enum DeleteIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8883,7 +8883,7 @@ enum DeleteIPSetOutputError { enum DeleteLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8899,7 +8899,7 @@ enum DeleteLoggingConfigurationOutputError { enum DeletePermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8915,7 +8915,7 @@ enum DeletePermissionPolicyOutputError { enum DeleteRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8936,7 +8936,7 @@ enum DeleteRateBasedRuleOutputError { enum DeleteRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8955,7 +8955,7 @@ enum DeleteRegexMatchSetOutputError { enum DeleteRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8974,7 +8974,7 @@ enum DeleteRegexPatternSetOutputError { enum DeleteRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8995,7 +8995,7 @@ enum DeleteRuleOutputError { enum DeleteRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9016,7 +9016,7 @@ enum DeleteRuleGroupOutputError { enum DeleteSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9035,7 +9035,7 @@ enum DeleteSizeConstraintSetOutputError { enum DeleteSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9054,7 +9054,7 @@ enum DeleteSqlInjectionMatchSetOutputError { enum DeleteWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9075,7 +9075,7 @@ enum DeleteWebACLOutputError { enum DeleteXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9094,7 +9094,7 @@ enum DeleteXssMatchSetOutputError { enum DisassociateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9111,7 +9111,7 @@ enum DisassociateWebACLOutputError { enum GetByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9127,7 +9127,7 @@ enum GetByteMatchSetOutputError { enum GetChangeTokenOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9141,7 +9141,7 @@ enum GetChangeTokenOutputError { enum GetChangeTokenStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9156,7 +9156,7 @@ enum GetChangeTokenStatusOutputError { enum GetGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9172,7 +9172,7 @@ enum GetGeoMatchSetOutputError { enum GetIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9188,7 +9188,7 @@ enum GetIPSetOutputError { enum GetLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9203,7 +9203,7 @@ enum GetLoggingConfigurationOutputError { enum GetPermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9218,7 +9218,7 @@ enum GetPermissionPolicyOutputError { enum GetRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9234,7 +9234,7 @@ enum GetRateBasedRuleOutputError { enum GetRateBasedRuleManagedKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9251,7 +9251,7 @@ enum GetRateBasedRuleManagedKeysOutputError { enum GetRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9267,7 +9267,7 @@ enum GetRegexMatchSetOutputError { enum GetRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9283,7 +9283,7 @@ enum GetRegexPatternSetOutputError { enum GetRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9299,7 +9299,7 @@ enum GetRuleOutputError { enum GetRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9314,7 +9314,7 @@ enum GetRuleGroupOutputError { enum GetSampledRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9329,7 +9329,7 @@ enum GetSampledRequestsOutputError { enum GetSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9345,7 +9345,7 @@ enum GetSizeConstraintSetOutputError { enum GetSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9361,7 +9361,7 @@ enum GetSqlInjectionMatchSetOutputError { enum GetWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9377,7 +9377,7 @@ enum GetWebACLOutputError { enum GetWebACLForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9395,7 +9395,7 @@ enum GetWebACLForResourceOutputError { enum GetXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9411,7 +9411,7 @@ enum GetXssMatchSetOutputError { enum ListActivatedRulesInRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9427,7 +9427,7 @@ enum ListActivatedRulesInRuleGroupOutputError { enum ListByteMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9442,7 +9442,7 @@ enum ListByteMatchSetsOutputError { enum ListGeoMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9457,7 +9457,7 @@ enum ListGeoMatchSetsOutputError { enum ListIPSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9472,7 +9472,7 @@ enum ListIPSetsOutputError { enum ListLoggingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9488,7 +9488,7 @@ enum ListLoggingConfigurationsOutputError { enum ListRateBasedRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9503,7 +9503,7 @@ enum ListRateBasedRulesOutputError { enum ListRegexMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9518,7 +9518,7 @@ enum ListRegexMatchSetsOutputError { enum ListRegexPatternSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9533,7 +9533,7 @@ enum ListRegexPatternSetsOutputError { enum ListResourcesForWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9550,7 +9550,7 @@ enum ListResourcesForWebACLOutputError { enum ListRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9564,7 +9564,7 @@ enum ListRuleGroupsOutputError { enum ListRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9579,7 +9579,7 @@ enum ListRulesOutputError { enum ListSizeConstraintSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9594,7 +9594,7 @@ enum ListSizeConstraintSetsOutputError { enum ListSqlInjectionMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9609,7 +9609,7 @@ enum ListSqlInjectionMatchSetsOutputError { enum ListSubscribedRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9624,7 +9624,7 @@ enum ListSubscribedRuleGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9643,7 +9643,7 @@ enum ListTagsForResourceOutputError { enum ListWebACLsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9658,7 +9658,7 @@ enum ListWebACLsOutputError { enum ListXssMatchSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9673,7 +9673,7 @@ enum ListXssMatchSetsOutputError { enum PutLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9690,7 +9690,7 @@ enum PutLoggingConfigurationOutputError { enum PutPermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9707,7 +9707,7 @@ enum PutPermissionPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9727,7 +9727,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9746,7 +9746,7 @@ enum UntagResourceOutputError { enum UpdateByteMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9767,7 +9767,7 @@ enum UpdateByteMatchSetOutputError { enum UpdateGeoMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9789,7 +9789,7 @@ enum UpdateGeoMatchSetOutputError { enum UpdateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9811,7 +9811,7 @@ enum UpdateIPSetOutputError { enum UpdateRateBasedRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9833,7 +9833,7 @@ enum UpdateRateBasedRuleOutputError { enum UpdateRegexMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9854,7 +9854,7 @@ enum UpdateRegexMatchSetOutputError { enum UpdateRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9875,7 +9875,7 @@ enum UpdateRegexPatternSetOutputError { enum UpdateRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9897,7 +9897,7 @@ enum UpdateRuleOutputError { enum UpdateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9917,7 +9917,7 @@ enum UpdateRuleGroupOutputError { enum UpdateSizeConstraintSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9939,7 +9939,7 @@ enum UpdateSizeConstraintSetOutputError { enum UpdateSqlInjectionMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9960,7 +9960,7 @@ enum UpdateSqlInjectionMatchSetOutputError { enum UpdateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9983,7 +9983,7 @@ enum UpdateWebACLOutputError { enum UpdateXssMatchSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/Models.swift b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/Models.swift index 64f2b8f4146..5f5497124e5 100644 --- a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/Models.swift +++ b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/Models.swift @@ -9,7 +9,7 @@ import Foundation import class ClientRuntime.Indirect -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -544,7 +544,7 @@ extension WAFV2ClientTypes { } extension WAFV2ClientTypes { - /// Inspect the body of the web request as JSON. The body immediately follows the request headers. This is used to indicate the web request component to inspect, in the [FieldToMatch] specification. Use the specifications in this object to indicate which parts of the JSON body to inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON that result from the matches that you indicate. Example JSON: "JsonBody": { "MatchPattern": { "All": {} }, "MatchScope": "ALL" } + /// Inspect the body of the web request as JSON. The body immediately follows the request headers. This is used to indicate the web request component to inspect, in the [FieldToMatch] specification. Use the specifications in this object to indicate which parts of the JSON body to inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON that result from the matches that you indicate. Example JSON: "JsonBody": { "MatchPattern": { "All": {} }, "MatchScope": "ALL" } For additional information about this request component option, see [JSON body](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body) in the WAF Developer Guide. public struct JsonBody { /// What WAF should do if it fails to completely parse the JSON body. The options are the following: /// @@ -555,13 +555,7 @@ extension WAFV2ClientTypes { /// * NO_MATCH - Treat the web request as not matching the rule statement. /// /// - /// If you don't provide this setting, WAF parses and evaluates the content only up to the first parsing failure that it encounters. WAF does its best to parse the entire JSON body, but might be forced to stop for reasons such as invalid characters, duplicate keys, truncation, and any content whose root node isn't an object or an array. WAF parses the JSON in the following examples as two valid key, value pairs: - /// - /// * Missing comma: {"key1":"value1""key2":"value2"} - /// - /// * Missing colon: {"key1":"value1","key2""value2"} - /// - /// * Extra colons: {"key1"::"value1","key2""value2"} + /// If you don't provide this setting, WAF parses and evaluates the content only up to the first parsing failure that it encounters. WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, WAF doesn't apply the fallback behavior. For more information, see [JSON body](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body) in the WAF Developer Guide. public var invalidFallbackBehavior: WAFV2ClientTypes.BodyParsingFallbackBehavior? /// The patterns to look for in the JSON body. WAF inspects the results of these pattern matches against the rule inspection criteria. /// This member is required. @@ -3143,7 +3137,7 @@ public struct WAFInternalErrorException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3167,7 +3161,7 @@ public struct WAFInvalidOperationException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3438,7 +3432,7 @@ public struct WAFInvalidParameterException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3468,7 +3462,7 @@ public struct WAFNonexistentItemException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3492,7 +3486,7 @@ public struct WAFUnavailableEntityException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3619,7 +3613,7 @@ public struct WAFExpiredManagedRuleGroupVersionException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3643,7 +3637,7 @@ public struct WAFInvalidResourceException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3669,7 +3663,7 @@ public struct WAFLimitsExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3695,7 +3689,7 @@ public struct WAFSubscriptionNotFoundException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3916,7 +3910,7 @@ public struct WAFDuplicateItemException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3940,7 +3934,7 @@ public struct WAFOptimisticLockException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3964,7 +3958,7 @@ public struct WAFTagOperationException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3988,7 +3982,7 @@ public struct WAFTagOperationInternalErrorException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4359,7 +4353,7 @@ public struct WAFConfigurationWarningException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4504,7 +4498,7 @@ public struct WAFAssociatedItemException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5662,7 +5656,7 @@ public struct WAFUnsupportedAggregateKeyTypeException: ClientRuntime.ModeledErro public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6856,7 +6850,7 @@ public struct WAFLogDestinationPermissionIssueException: ClientRuntime.ModeledEr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6880,7 +6874,7 @@ public struct WAFServiceLinkedRoleErrorException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -7014,7 +7008,7 @@ public struct WAFInvalidPermissionPolicyException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -9166,14 +9160,14 @@ extension UpdateWebACLInput { extension AssociateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWebACLOutput { return AssociateWebACLOutput() } } extension CheckCapacityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CheckCapacityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CheckCapacityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9185,7 +9179,7 @@ extension CheckCapacityOutput { extension CreateAPIKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAPIKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAPIKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9197,7 +9191,7 @@ extension CreateAPIKeyOutput { extension CreateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9209,7 +9203,7 @@ extension CreateIPSetOutput { extension CreateRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9221,7 +9215,7 @@ extension CreateRegexPatternSetOutput { extension CreateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9233,7 +9227,7 @@ extension CreateRuleGroupOutput { extension CreateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9245,14 +9239,14 @@ extension CreateWebACLOutput { extension DeleteAPIKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAPIKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAPIKeyOutput { return DeleteAPIKeyOutput() } } extension DeleteFirewallManagerRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFirewallManagerRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFirewallManagerRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9264,49 +9258,49 @@ extension DeleteFirewallManagerRuleGroupsOutput { extension DeleteIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIPSetOutput { return DeleteIPSetOutput() } } extension DeleteLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLoggingConfigurationOutput { return DeleteLoggingConfigurationOutput() } } extension DeletePermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePermissionPolicyOutput { return DeletePermissionPolicyOutput() } } extension DeleteRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegexPatternSetOutput { return DeleteRegexPatternSetOutput() } } extension DeleteRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleGroupOutput { return DeleteRuleGroupOutput() } } extension DeleteWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWebACLOutput { return DeleteWebACLOutput() } } extension DescribeAllManagedProductsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAllManagedProductsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAllManagedProductsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9318,7 +9312,7 @@ extension DescribeAllManagedProductsOutput { extension DescribeManagedProductsByVendorOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeManagedProductsByVendorOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeManagedProductsByVendorOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9330,7 +9324,7 @@ extension DescribeManagedProductsByVendorOutput { extension DescribeManagedRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeManagedRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeManagedRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9348,14 +9342,14 @@ extension DescribeManagedRuleGroupOutput { extension DisassociateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWebACLOutput { return DisassociateWebACLOutput() } } extension GenerateMobileSdkReleaseUrlOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GenerateMobileSdkReleaseUrlOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GenerateMobileSdkReleaseUrlOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9367,7 +9361,7 @@ extension GenerateMobileSdkReleaseUrlOutput { extension GetDecryptedAPIKeyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDecryptedAPIKeyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDecryptedAPIKeyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9380,7 +9374,7 @@ extension GetDecryptedAPIKeyOutput { extension GetIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9393,7 +9387,7 @@ extension GetIPSetOutput { extension GetLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9405,7 +9399,7 @@ extension GetLoggingConfigurationOutput { extension GetManagedRuleSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetManagedRuleSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetManagedRuleSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9418,7 +9412,7 @@ extension GetManagedRuleSetOutput { extension GetMobileSdkReleaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMobileSdkReleaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMobileSdkReleaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9430,7 +9424,7 @@ extension GetMobileSdkReleaseOutput { extension GetPermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPermissionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9442,7 +9436,7 @@ extension GetPermissionPolicyOutput { extension GetRateBasedStatementManagedKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRateBasedStatementManagedKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRateBasedStatementManagedKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9455,7 +9449,7 @@ extension GetRateBasedStatementManagedKeysOutput { extension GetRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9468,7 +9462,7 @@ extension GetRegexPatternSetOutput { extension GetRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9481,7 +9475,7 @@ extension GetRuleGroupOutput { extension GetSampledRequestsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSampledRequestsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSampledRequestsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9495,7 +9489,7 @@ extension GetSampledRequestsOutput { extension GetWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9509,7 +9503,7 @@ extension GetWebACLOutput { extension GetWebACLForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWebACLForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWebACLForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9521,7 +9515,7 @@ extension GetWebACLForResourceOutput { extension ListAPIKeysOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAPIKeysOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAPIKeysOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9535,7 +9529,7 @@ extension ListAPIKeysOutput { extension ListAvailableManagedRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableManagedRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableManagedRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9548,7 +9542,7 @@ extension ListAvailableManagedRuleGroupsOutput { extension ListAvailableManagedRuleGroupVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableManagedRuleGroupVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableManagedRuleGroupVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9562,7 +9556,7 @@ extension ListAvailableManagedRuleGroupVersionsOutput { extension ListIPSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIPSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIPSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9575,7 +9569,7 @@ extension ListIPSetsOutput { extension ListLoggingConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLoggingConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLoggingConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9588,7 +9582,7 @@ extension ListLoggingConfigurationsOutput { extension ListManagedRuleSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListManagedRuleSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListManagedRuleSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9601,7 +9595,7 @@ extension ListManagedRuleSetsOutput { extension ListMobileSdkReleasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMobileSdkReleasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMobileSdkReleasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9614,7 +9608,7 @@ extension ListMobileSdkReleasesOutput { extension ListRegexPatternSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRegexPatternSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegexPatternSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9627,7 +9621,7 @@ extension ListRegexPatternSetsOutput { extension ListResourcesForWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesForWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesForWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9639,7 +9633,7 @@ extension ListResourcesForWebACLOutput { extension ListRuleGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListRuleGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRuleGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9652,7 +9646,7 @@ extension ListRuleGroupsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9665,7 +9659,7 @@ extension ListTagsForResourceOutput { extension ListWebACLsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebACLsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebACLsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9678,7 +9672,7 @@ extension ListWebACLsOutput { extension PutLoggingConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutLoggingConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutLoggingConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9690,7 +9684,7 @@ extension PutLoggingConfigurationOutput { extension PutManagedRuleSetVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutManagedRuleSetVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutManagedRuleSetVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9702,28 +9696,28 @@ extension PutManagedRuleSetVersionsOutput { extension PutPermissionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutPermissionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutPermissionPolicyOutput { return PutPermissionPolicyOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateIPSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIPSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIPSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9735,7 +9729,7 @@ extension UpdateIPSetOutput { extension UpdateManagedRuleSetVersionExpiryDateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateManagedRuleSetVersionExpiryDateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateManagedRuleSetVersionExpiryDateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9749,7 +9743,7 @@ extension UpdateManagedRuleSetVersionExpiryDateOutput { extension UpdateRegexPatternSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRegexPatternSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRegexPatternSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9761,7 +9755,7 @@ extension UpdateRegexPatternSetOutput { extension UpdateRuleGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRuleGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9773,7 +9767,7 @@ extension UpdateRuleGroupOutput { extension UpdateWebACLOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWebACLOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWebACLOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9785,7 +9779,7 @@ extension UpdateWebACLOutput { enum AssociateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9803,7 +9797,7 @@ enum AssociateWebACLOutputError { enum CheckCapacityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9825,7 +9819,7 @@ enum CheckCapacityOutputError { enum CreateAPIKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9842,7 +9836,7 @@ enum CreateAPIKeyOutputError { enum CreateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9863,7 +9857,7 @@ enum CreateIPSetOutputError { enum CreateRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9884,7 +9878,7 @@ enum CreateRegexPatternSetOutputError { enum CreateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9908,7 +9902,7 @@ enum CreateRuleGroupOutputError { enum CreateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9935,7 +9929,7 @@ enum CreateWebACLOutputError { enum DeleteAPIKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9953,7 +9947,7 @@ enum DeleteAPIKeyOutputError { enum DeleteFirewallManagerRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9971,7 +9965,7 @@ enum DeleteFirewallManagerRuleGroupsOutputError { enum DeleteIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9992,7 +9986,7 @@ enum DeleteIPSetOutputError { enum DeleteLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10010,7 +10004,7 @@ enum DeleteLoggingConfigurationOutputError { enum DeletePermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10026,7 +10020,7 @@ enum DeletePermissionPolicyOutputError { enum DeleteRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10047,7 +10041,7 @@ enum DeleteRegexPatternSetOutputError { enum DeleteRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10068,7 +10062,7 @@ enum DeleteRuleGroupOutputError { enum DeleteWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10089,7 +10083,7 @@ enum DeleteWebACLOutputError { enum DescribeAllManagedProductsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10105,7 +10099,7 @@ enum DescribeAllManagedProductsOutputError { enum DescribeManagedProductsByVendorOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10121,7 +10115,7 @@ enum DescribeManagedProductsByVendorOutputError { enum DescribeManagedRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10140,7 +10134,7 @@ enum DescribeManagedRuleGroupOutputError { enum DisassociateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10157,7 +10151,7 @@ enum DisassociateWebACLOutputError { enum GenerateMobileSdkReleaseUrlOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10174,7 +10168,7 @@ enum GenerateMobileSdkReleaseUrlOutputError { enum GetDecryptedAPIKeyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10192,7 +10186,7 @@ enum GetDecryptedAPIKeyOutputError { enum GetIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10209,7 +10203,7 @@ enum GetIPSetOutputError { enum GetLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10226,7 +10220,7 @@ enum GetLoggingConfigurationOutputError { enum GetManagedRuleSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10243,7 +10237,7 @@ enum GetManagedRuleSetOutputError { enum GetMobileSdkReleaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10260,7 +10254,7 @@ enum GetMobileSdkReleaseOutputError { enum GetPermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10276,7 +10270,7 @@ enum GetPermissionPolicyOutputError { enum GetRateBasedStatementManagedKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10294,7 +10288,7 @@ enum GetRateBasedStatementManagedKeysOutputError { enum GetRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10311,7 +10305,7 @@ enum GetRegexPatternSetOutputError { enum GetRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10328,7 +10322,7 @@ enum GetRuleGroupOutputError { enum GetSampledRequestsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10344,7 +10338,7 @@ enum GetSampledRequestsOutputError { enum GetWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10361,7 +10355,7 @@ enum GetWebACLOutputError { enum GetWebACLForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10379,7 +10373,7 @@ enum GetWebACLForResourceOutputError { enum ListAPIKeysOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10396,7 +10390,7 @@ enum ListAPIKeysOutputError { enum ListAvailableManagedRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10412,7 +10406,7 @@ enum ListAvailableManagedRuleGroupsOutputError { enum ListAvailableManagedRuleGroupVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10429,7 +10423,7 @@ enum ListAvailableManagedRuleGroupVersionsOutputError { enum ListIPSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10445,7 +10439,7 @@ enum ListIPSetsOutputError { enum ListLoggingConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10461,7 +10455,7 @@ enum ListLoggingConfigurationsOutputError { enum ListManagedRuleSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10477,7 +10471,7 @@ enum ListManagedRuleSetsOutputError { enum ListMobileSdkReleasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10493,7 +10487,7 @@ enum ListMobileSdkReleasesOutputError { enum ListRegexPatternSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10509,7 +10503,7 @@ enum ListRegexPatternSetsOutputError { enum ListResourcesForWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10526,7 +10520,7 @@ enum ListResourcesForWebACLOutputError { enum ListRuleGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10542,7 +10536,7 @@ enum ListRuleGroupsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10561,7 +10555,7 @@ enum ListTagsForResourceOutputError { enum ListWebACLsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10577,7 +10571,7 @@ enum ListWebACLsOutputError { enum PutLoggingConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10598,7 +10592,7 @@ enum PutLoggingConfigurationOutputError { enum PutManagedRuleSetVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10616,7 +10610,7 @@ enum PutManagedRuleSetVersionsOutputError { enum PutPermissionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10633,7 +10627,7 @@ enum PutPermissionPolicyOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10653,7 +10647,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10672,7 +10666,7 @@ enum UntagResourceOutputError { enum UpdateIPSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10692,7 +10686,7 @@ enum UpdateIPSetOutputError { enum UpdateManagedRuleSetVersionExpiryDateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10710,7 +10704,7 @@ enum UpdateManagedRuleSetVersionExpiryDateOutputError { enum UpdateRegexPatternSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10730,7 +10724,7 @@ enum UpdateRegexPatternSetOutputError { enum UpdateRuleGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10753,7 +10747,7 @@ enum UpdateRuleGroupOutputError { enum UpdateWebACLOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/Models.swift b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/Models.swift index 90796d09223..aeed3d3fcb8 100644 --- a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/Models.swift +++ b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -129,7 +129,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -857,7 +857,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -887,7 +887,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -919,7 +919,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -953,7 +953,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1045,7 +1045,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1514,7 +1514,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -8582,21 +8582,21 @@ extension UpgradeReviewTemplateLensReviewInput { extension AssociateLensesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateLensesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateLensesOutput { return AssociateLensesOutput() } } extension AssociateProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateProfilesOutput { return AssociateProfilesOutput() } } extension CreateLensShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLensShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLensShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8608,7 +8608,7 @@ extension CreateLensShareOutput { extension CreateLensVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLensVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLensVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8621,7 +8621,7 @@ extension CreateLensVersionOutput { extension CreateMilestoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMilestoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMilestoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8634,7 +8634,7 @@ extension CreateMilestoneOutput { extension CreateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8647,7 +8647,7 @@ extension CreateProfileOutput { extension CreateProfileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateProfileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateProfileShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8660,7 +8660,7 @@ extension CreateProfileShareOutput { extension CreateReviewTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateReviewTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateReviewTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8672,7 +8672,7 @@ extension CreateReviewTemplateOutput { extension CreateTemplateShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTemplateShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTemplateShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8685,7 +8685,7 @@ extension CreateTemplateShareOutput { extension CreateWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8698,7 +8698,7 @@ extension CreateWorkloadOutput { extension CreateWorkloadShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkloadShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkloadShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8711,77 +8711,77 @@ extension CreateWorkloadShareOutput { extension DeleteLensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLensOutput { return DeleteLensOutput() } } extension DeleteLensShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLensShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLensShareOutput { return DeleteLensShareOutput() } } extension DeleteProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileOutput { return DeleteProfileOutput() } } extension DeleteProfileShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteProfileShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProfileShareOutput { return DeleteProfileShareOutput() } } extension DeleteReviewTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteReviewTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteReviewTemplateOutput { return DeleteReviewTemplateOutput() } } extension DeleteTemplateShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTemplateShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTemplateShareOutput { return DeleteTemplateShareOutput() } } extension DeleteWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkloadOutput { return DeleteWorkloadOutput() } } extension DeleteWorkloadShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkloadShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkloadShareOutput { return DeleteWorkloadShareOutput() } } extension DisassociateLensesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateLensesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateLensesOutput { return DisassociateLensesOutput() } } extension DisassociateProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateProfilesOutput { return DisassociateProfilesOutput() } } extension ExportLensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ExportLensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportLensOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8793,7 +8793,7 @@ extension ExportLensOutput { extension GetAnswerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAnswerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnswerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8809,7 +8809,7 @@ extension GetAnswerOutput { extension GetConsolidatedReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetConsolidatedReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConsolidatedReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8823,7 +8823,7 @@ extension GetConsolidatedReportOutput { extension GetGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGlobalSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8837,7 +8837,7 @@ extension GetGlobalSettingsOutput { extension GetLensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLensOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8849,7 +8849,7 @@ extension GetLensOutput { extension GetLensReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLensReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLensReviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8863,7 +8863,7 @@ extension GetLensReviewOutput { extension GetLensReviewReportOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLensReviewReportOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLensReviewReportOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8877,7 +8877,7 @@ extension GetLensReviewReportOutput { extension GetLensVersionDifferenceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetLensVersionDifferenceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLensVersionDifferenceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8894,7 +8894,7 @@ extension GetLensVersionDifferenceOutput { extension GetMilestoneOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMilestoneOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMilestoneOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8907,7 +8907,7 @@ extension GetMilestoneOutput { extension GetProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8919,7 +8919,7 @@ extension GetProfileOutput { extension GetProfileTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetProfileTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetProfileTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8931,7 +8931,7 @@ extension GetProfileTemplateOutput { extension GetReviewTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReviewTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReviewTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8943,7 +8943,7 @@ extension GetReviewTemplateOutput { extension GetReviewTemplateAnswerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReviewTemplateAnswerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReviewTemplateAnswerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8957,7 +8957,7 @@ extension GetReviewTemplateAnswerOutput { extension GetReviewTemplateLensReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetReviewTemplateLensReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetReviewTemplateLensReviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8970,7 +8970,7 @@ extension GetReviewTemplateLensReviewOutput { extension GetWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8982,7 +8982,7 @@ extension GetWorkloadOutput { extension ImportLensOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportLensOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportLensOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8995,7 +8995,7 @@ extension ImportLensOutput { extension ListAnswersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAnswersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnswersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9012,7 +9012,7 @@ extension ListAnswersOutput { extension ListCheckDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCheckDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCheckDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9025,7 +9025,7 @@ extension ListCheckDetailsOutput { extension ListCheckSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListCheckSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCheckSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9038,7 +9038,7 @@ extension ListCheckSummariesOutput { extension ListLensesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLensesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLensesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9051,7 +9051,7 @@ extension ListLensesOutput { extension ListLensReviewImprovementsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLensReviewImprovementsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLensReviewImprovementsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9068,7 +9068,7 @@ extension ListLensReviewImprovementsOutput { extension ListLensReviewsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLensReviewsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLensReviewsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9083,7 +9083,7 @@ extension ListLensReviewsOutput { extension ListLensSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListLensSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListLensSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9096,7 +9096,7 @@ extension ListLensSharesOutput { extension ListMilestonesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMilestonesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMilestonesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9110,7 +9110,7 @@ extension ListMilestonesOutput { extension ListNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9123,7 +9123,7 @@ extension ListNotificationsOutput { extension ListProfileNotificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileNotificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileNotificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9136,7 +9136,7 @@ extension ListProfileNotificationsOutput { extension ListProfilesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfilesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfilesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9149,7 +9149,7 @@ extension ListProfilesOutput { extension ListProfileSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListProfileSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProfileSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9162,7 +9162,7 @@ extension ListProfileSharesOutput { extension ListReviewTemplateAnswersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReviewTemplateAnswersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReviewTemplateAnswersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9177,7 +9177,7 @@ extension ListReviewTemplateAnswersOutput { extension ListReviewTemplatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListReviewTemplatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListReviewTemplatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9190,7 +9190,7 @@ extension ListReviewTemplatesOutput { extension ListShareInvitationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListShareInvitationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListShareInvitationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9203,7 +9203,7 @@ extension ListShareInvitationsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9215,7 +9215,7 @@ extension ListTagsForResourceOutput { extension ListTemplateSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTemplateSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTemplateSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9229,7 +9229,7 @@ extension ListTemplateSharesOutput { extension ListWorkloadsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkloadsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkloadsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9242,7 +9242,7 @@ extension ListWorkloadsOutput { extension ListWorkloadSharesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWorkloadSharesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWorkloadSharesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9256,21 +9256,21 @@ extension ListWorkloadSharesOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAnswerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAnswerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAnswerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9285,21 +9285,21 @@ extension UpdateAnswerOutput { extension UpdateGlobalSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGlobalSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGlobalSettingsOutput { return UpdateGlobalSettingsOutput() } } extension UpdateIntegrationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIntegrationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIntegrationOutput { return UpdateIntegrationOutput() } } extension UpdateLensReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateLensReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateLensReviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9312,7 +9312,7 @@ extension UpdateLensReviewOutput { extension UpdateProfileOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateProfileOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateProfileOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9324,7 +9324,7 @@ extension UpdateProfileOutput { extension UpdateReviewTemplateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReviewTemplateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReviewTemplateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9336,7 +9336,7 @@ extension UpdateReviewTemplateOutput { extension UpdateReviewTemplateAnswerOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReviewTemplateAnswerOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReviewTemplateAnswerOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9350,7 +9350,7 @@ extension UpdateReviewTemplateAnswerOutput { extension UpdateReviewTemplateLensReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateReviewTemplateLensReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateReviewTemplateLensReviewOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9363,7 +9363,7 @@ extension UpdateReviewTemplateLensReviewOutput { extension UpdateShareInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateShareInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateShareInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9375,7 +9375,7 @@ extension UpdateShareInvitationOutput { extension UpdateWorkloadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkloadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkloadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9387,7 +9387,7 @@ extension UpdateWorkloadOutput { extension UpdateWorkloadShareOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkloadShareOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkloadShareOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -9400,28 +9400,28 @@ extension UpdateWorkloadShareOutput { extension UpgradeLensReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradeLensReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradeLensReviewOutput { return UpgradeLensReviewOutput() } } extension UpgradeProfileVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradeProfileVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradeProfileVersionOutput { return UpgradeProfileVersionOutput() } } extension UpgradeReviewTemplateLensReviewOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpgradeReviewTemplateLensReviewOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpgradeReviewTemplateLensReviewOutput { return UpgradeReviewTemplateLensReviewOutput() } } enum AssociateLensesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9440,7 +9440,7 @@ enum AssociateLensesOutputError { enum AssociateProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9459,7 +9459,7 @@ enum AssociateProfilesOutputError { enum CreateLensShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9479,7 +9479,7 @@ enum CreateLensShareOutputError { enum CreateLensVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9499,7 +9499,7 @@ enum CreateLensVersionOutputError { enum CreateMilestoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9519,7 +9519,7 @@ enum CreateMilestoneOutputError { enum CreateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9538,7 +9538,7 @@ enum CreateProfileOutputError { enum CreateProfileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9558,7 +9558,7 @@ enum CreateProfileShareOutputError { enum CreateReviewTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9578,7 +9578,7 @@ enum CreateReviewTemplateOutputError { enum CreateTemplateShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9598,7 +9598,7 @@ enum CreateTemplateShareOutputError { enum CreateWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9618,7 +9618,7 @@ enum CreateWorkloadOutputError { enum CreateWorkloadShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9638,7 +9638,7 @@ enum CreateWorkloadShareOutputError { enum DeleteLensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9657,7 +9657,7 @@ enum DeleteLensOutputError { enum DeleteLensShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9676,7 +9676,7 @@ enum DeleteLensShareOutputError { enum DeleteProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9695,7 +9695,7 @@ enum DeleteProfileOutputError { enum DeleteProfileShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9714,7 +9714,7 @@ enum DeleteProfileShareOutputError { enum DeleteReviewTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9733,7 +9733,7 @@ enum DeleteReviewTemplateOutputError { enum DeleteTemplateShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9752,7 +9752,7 @@ enum DeleteTemplateShareOutputError { enum DeleteWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9771,7 +9771,7 @@ enum DeleteWorkloadOutputError { enum DeleteWorkloadShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9790,7 +9790,7 @@ enum DeleteWorkloadShareOutputError { enum DisassociateLensesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9809,7 +9809,7 @@ enum DisassociateLensesOutputError { enum DisassociateProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9828,7 +9828,7 @@ enum DisassociateProfilesOutputError { enum ExportLensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9846,7 +9846,7 @@ enum ExportLensOutputError { enum GetAnswerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9864,7 +9864,7 @@ enum GetAnswerOutputError { enum GetConsolidatedReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9882,7 +9882,7 @@ enum GetConsolidatedReportOutputError { enum GetGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9899,7 +9899,7 @@ enum GetGlobalSettingsOutputError { enum GetLensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9917,7 +9917,7 @@ enum GetLensOutputError { enum GetLensReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9935,7 +9935,7 @@ enum GetLensReviewOutputError { enum GetLensReviewReportOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9953,7 +9953,7 @@ enum GetLensReviewReportOutputError { enum GetLensVersionDifferenceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9971,7 +9971,7 @@ enum GetLensVersionDifferenceOutputError { enum GetMilestoneOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9989,7 +9989,7 @@ enum GetMilestoneOutputError { enum GetProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10007,7 +10007,7 @@ enum GetProfileOutputError { enum GetProfileTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10025,7 +10025,7 @@ enum GetProfileTemplateOutputError { enum GetReviewTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10043,7 +10043,7 @@ enum GetReviewTemplateOutputError { enum GetReviewTemplateAnswerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10061,7 +10061,7 @@ enum GetReviewTemplateAnswerOutputError { enum GetReviewTemplateLensReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10079,7 +10079,7 @@ enum GetReviewTemplateLensReviewOutputError { enum GetWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10097,7 +10097,7 @@ enum GetWorkloadOutputError { enum ImportLensOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10117,7 +10117,7 @@ enum ImportLensOutputError { enum ListAnswersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10135,7 +10135,7 @@ enum ListAnswersOutputError { enum ListCheckDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10153,7 +10153,7 @@ enum ListCheckDetailsOutputError { enum ListCheckSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10171,7 +10171,7 @@ enum ListCheckSummariesOutputError { enum ListLensesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10188,7 +10188,7 @@ enum ListLensesOutputError { enum ListLensReviewImprovementsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10206,7 +10206,7 @@ enum ListLensReviewImprovementsOutputError { enum ListLensReviewsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10224,7 +10224,7 @@ enum ListLensReviewsOutputError { enum ListLensSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10242,7 +10242,7 @@ enum ListLensSharesOutputError { enum ListMilestonesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10260,7 +10260,7 @@ enum ListMilestonesOutputError { enum ListNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10277,7 +10277,7 @@ enum ListNotificationsOutputError { enum ListProfileNotificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10294,7 +10294,7 @@ enum ListProfileNotificationsOutputError { enum ListProfilesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10311,7 +10311,7 @@ enum ListProfilesOutputError { enum ListProfileSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10329,7 +10329,7 @@ enum ListProfileSharesOutputError { enum ListReviewTemplateAnswersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10347,7 +10347,7 @@ enum ListReviewTemplateAnswersOutputError { enum ListReviewTemplatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10364,7 +10364,7 @@ enum ListReviewTemplatesOutputError { enum ListShareInvitationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10381,7 +10381,7 @@ enum ListShareInvitationsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10396,7 +10396,7 @@ enum ListTagsForResourceOutputError { enum ListTemplateSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10414,7 +10414,7 @@ enum ListTemplateSharesOutputError { enum ListWorkloadsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10431,7 +10431,7 @@ enum ListWorkloadsOutputError { enum ListWorkloadSharesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10449,7 +10449,7 @@ enum ListWorkloadSharesOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10464,7 +10464,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10479,7 +10479,7 @@ enum UntagResourceOutputError { enum UpdateAnswerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10498,7 +10498,7 @@ enum UpdateAnswerOutputError { enum UpdateGlobalSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10516,7 +10516,7 @@ enum UpdateGlobalSettingsOutputError { enum UpdateIntegrationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10535,7 +10535,7 @@ enum UpdateIntegrationOutputError { enum UpdateLensReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10554,7 +10554,7 @@ enum UpdateLensReviewOutputError { enum UpdateProfileOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10573,7 +10573,7 @@ enum UpdateProfileOutputError { enum UpdateReviewTemplateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10592,7 +10592,7 @@ enum UpdateReviewTemplateOutputError { enum UpdateReviewTemplateAnswerOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10611,7 +10611,7 @@ enum UpdateReviewTemplateAnswerOutputError { enum UpdateReviewTemplateLensReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10630,7 +10630,7 @@ enum UpdateReviewTemplateLensReviewOutputError { enum UpdateShareInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10649,7 +10649,7 @@ enum UpdateShareInvitationOutputError { enum UpdateWorkloadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10668,7 +10668,7 @@ enum UpdateWorkloadOutputError { enum UpdateWorkloadShareOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10687,7 +10687,7 @@ enum UpdateWorkloadShareOutputError { enum UpgradeLensReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10707,7 +10707,7 @@ enum UpgradeLensReviewOutputError { enum UpgradeProfileVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -10727,7 +10727,7 @@ enum UpgradeProfileVersionOutputError { enum UpgradeReviewTemplateLensReviewOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWisdom/Sources/AWSWisdom/Models.swift b/Sources/Services/AWSWisdom/Sources/AWSWisdom/Models.swift index 03d7963f1a4..fd3362ad324 100644 --- a/Sources/Services/AWSWisdom/Sources/AWSWisdom/Models.swift +++ b/Sources/Services/AWSWisdom/Sources/AWSWisdom/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -99,7 +99,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -125,7 +125,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -151,7 +151,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -175,7 +175,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1240,7 +1240,7 @@ public struct RequestTimeoutException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { true } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2033,7 +2033,7 @@ public struct PreconditionFailedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2358,7 +2358,7 @@ extension WisdomClientTypes { extension WisdomClientTypes.GroupingConfiguration: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GroupingConfiguration(values: \(Swift.String(describing: values)), criteria: \"CONTENT_REDACTED\")"} + "GroupingConfiguration(criteria: \"CONTENT_REDACTED\", values: \"CONTENT_REDACTED\")"} } public struct CreateQuickResponseInput { @@ -2424,6 +2424,11 @@ public struct CreateQuickResponseInput { } } +extension CreateQuickResponseInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateQuickResponseInput(clientToken: \(Swift.String(describing: clientToken)), content: \(Swift.String(describing: content)), contentType: \(Swift.String(describing: contentType)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), name: \(Swift.String(describing: name)), shortcutKey: \(Swift.String(describing: shortcutKey)), tags: \(Swift.String(describing: tags)), channels: \"CONTENT_REDACTED\")"} +} + extension WisdomClientTypes { /// The container quick response content. public enum QuickResponseContentProvider { @@ -2598,6 +2603,11 @@ extension WisdomClientTypes { } +extension WisdomClientTypes.QuickResponseData: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "QuickResponseData(contentType: \(Swift.String(describing: contentType)), contents: \(Swift.String(describing: contents)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), shortcutKey: \(Swift.String(describing: shortcutKey)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), channels: \"CONTENT_REDACTED\")"} +} + public struct CreateQuickResponseOutput { /// The quick response. public var quickResponse: WisdomClientTypes.QuickResponseData? @@ -3243,6 +3253,11 @@ extension WisdomClientTypes { } +extension WisdomClientTypes.QuickResponseSummary: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "QuickResponseSummary(contentType: \(Swift.String(describing: contentType)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), channels: \"CONTENT_REDACTED\")"} +} + public struct ListQuickResponsesOutput { /// The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. public var nextToken: Swift.String? @@ -3330,6 +3345,11 @@ public struct UpdateQuickResponseInput { } } +extension UpdateQuickResponseInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateQuickResponseInput(content: \(Swift.String(describing: content)), contentType: \(Swift.String(describing: contentType)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), name: \(Swift.String(describing: name)), quickResponseId: \(Swift.String(describing: quickResponseId)), removeDescription: \(Swift.String(describing: removeDescription)), removeGroupingConfiguration: \(Swift.String(describing: removeGroupingConfiguration)), removeShortcutKey: \(Swift.String(describing: removeShortcutKey)), shortcutKey: \(Swift.String(describing: shortcutKey)), channels: \"CONTENT_REDACTED\")"} +} + public struct UpdateQuickResponseOutput { /// The quick response. public var quickResponse: WisdomClientTypes.QuickResponseData? @@ -3832,7 +3852,7 @@ extension WisdomClientTypes { extension WisdomClientTypes.QuickResponseSearchResultData: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "QuickResponseSearchResultData(channels: \(Swift.String(describing: channels)), contentType: \(Swift.String(describing: contentType)), contents: \(Swift.String(describing: contents)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), shortcutKey: \(Swift.String(describing: shortcutKey)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), attributesInterpolated: \"CONTENT_REDACTED\", attributesNotInterpolated: \"CONTENT_REDACTED\")"} + "QuickResponseSearchResultData(contentType: \(Swift.String(describing: contentType)), contents: \(Swift.String(describing: contents)), createdTime: \(Swift.String(describing: createdTime)), description: \(Swift.String(describing: description)), groupingConfiguration: \(Swift.String(describing: groupingConfiguration)), isActive: \(Swift.String(describing: isActive)), knowledgeBaseArn: \(Swift.String(describing: knowledgeBaseArn)), knowledgeBaseId: \(Swift.String(describing: knowledgeBaseId)), language: \(Swift.String(describing: language)), lastModifiedBy: \(Swift.String(describing: lastModifiedBy)), lastModifiedTime: \(Swift.String(describing: lastModifiedTime)), name: \(Swift.String(describing: name)), quickResponseArn: \(Swift.String(describing: quickResponseArn)), quickResponseId: \(Swift.String(describing: quickResponseId)), shortcutKey: \(Swift.String(describing: shortcutKey)), status: \(Swift.String(describing: status)), tags: \(Swift.String(describing: tags)), attributesInterpolated: \"CONTENT_REDACTED\", attributesNotInterpolated: \"CONTENT_REDACTED\", channels: \"CONTENT_REDACTED\")"} } public struct SearchQuickResponsesOutput { @@ -4027,7 +4047,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4899,7 +4919,7 @@ extension UpdateQuickResponseInput { extension CreateAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssistantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4911,7 +4931,7 @@ extension CreateAssistantOutput { extension CreateAssistantAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAssistantAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAssistantAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4923,7 +4943,7 @@ extension CreateAssistantAssociationOutput { extension CreateContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4935,7 +4955,7 @@ extension CreateContentOutput { extension CreateKnowledgeBaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateKnowledgeBaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateKnowledgeBaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4947,7 +4967,7 @@ extension CreateKnowledgeBaseOutput { extension CreateQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateQuickResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4959,7 +4979,7 @@ extension CreateQuickResponseOutput { extension CreateSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4971,49 +4991,49 @@ extension CreateSessionOutput { extension DeleteAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssistantOutput { return DeleteAssistantOutput() } } extension DeleteAssistantAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAssistantAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAssistantAssociationOutput { return DeleteAssistantAssociationOutput() } } extension DeleteContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteContentOutput { return DeleteContentOutput() } } extension DeleteImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImportJobOutput { return DeleteImportJobOutput() } } extension DeleteKnowledgeBaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteKnowledgeBaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteKnowledgeBaseOutput { return DeleteKnowledgeBaseOutput() } } extension DeleteQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteQuickResponseOutput { return DeleteQuickResponseOutput() } } extension GetAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssistantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5025,7 +5045,7 @@ extension GetAssistantOutput { extension GetAssistantAssociationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAssistantAssociationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAssistantAssociationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5037,7 +5057,7 @@ extension GetAssistantAssociationOutput { extension GetContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5049,7 +5069,7 @@ extension GetContentOutput { extension GetContentSummaryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetContentSummaryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetContentSummaryOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5061,7 +5081,7 @@ extension GetContentSummaryOutput { extension GetImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5073,7 +5093,7 @@ extension GetImportJobOutput { extension GetKnowledgeBaseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetKnowledgeBaseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetKnowledgeBaseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5085,7 +5105,7 @@ extension GetKnowledgeBaseOutput { extension GetQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetQuickResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5097,7 +5117,7 @@ extension GetQuickResponseOutput { extension GetRecommendationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRecommendationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRecommendationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5110,7 +5130,7 @@ extension GetRecommendationsOutput { extension GetSessionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSessionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSessionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5122,7 +5142,7 @@ extension GetSessionOutput { extension ListAssistantAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssistantAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssistantAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5135,7 +5155,7 @@ extension ListAssistantAssociationsOutput { extension ListAssistantsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAssistantsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAssistantsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5148,7 +5168,7 @@ extension ListAssistantsOutput { extension ListContentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListContentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListContentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5161,7 +5181,7 @@ extension ListContentsOutput { extension ListImportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5174,7 +5194,7 @@ extension ListImportJobsOutput { extension ListKnowledgeBasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListKnowledgeBasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListKnowledgeBasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5187,7 +5207,7 @@ extension ListKnowledgeBasesOutput { extension ListQuickResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListQuickResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListQuickResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5200,7 +5220,7 @@ extension ListQuickResponsesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5212,7 +5232,7 @@ extension ListTagsForResourceOutput { extension NotifyRecommendationsReceivedOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> NotifyRecommendationsReceivedOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> NotifyRecommendationsReceivedOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5225,7 +5245,7 @@ extension NotifyRecommendationsReceivedOutput { extension QueryAssistantOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> QueryAssistantOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> QueryAssistantOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5238,14 +5258,14 @@ extension QueryAssistantOutput { extension RemoveKnowledgeBaseTemplateUriOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveKnowledgeBaseTemplateUriOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveKnowledgeBaseTemplateUriOutput { return RemoveKnowledgeBaseTemplateUriOutput() } } extension SearchContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5258,7 +5278,7 @@ extension SearchContentOutput { extension SearchQuickResponsesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchQuickResponsesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchQuickResponsesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5271,7 +5291,7 @@ extension SearchQuickResponsesOutput { extension SearchSessionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchSessionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchSessionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5284,7 +5304,7 @@ extension SearchSessionsOutput { extension StartContentUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartContentUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartContentUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5299,7 +5319,7 @@ extension StartContentUploadOutput { extension StartImportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartImportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartImportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5311,21 +5331,21 @@ extension StartImportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateContentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5337,7 +5357,7 @@ extension UpdateContentOutput { extension UpdateKnowledgeBaseTemplateUriOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateKnowledgeBaseTemplateUriOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateKnowledgeBaseTemplateUriOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5349,7 +5369,7 @@ extension UpdateKnowledgeBaseTemplateUriOutput { extension UpdateQuickResponseOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateQuickResponseOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateQuickResponseOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5361,7 +5381,7 @@ extension UpdateQuickResponseOutput { enum CreateAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5378,7 +5398,7 @@ enum CreateAssistantOutputError { enum CreateAssistantAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5396,7 +5416,7 @@ enum CreateAssistantAssociationOutputError { enum CreateContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5414,7 +5434,7 @@ enum CreateContentOutputError { enum CreateKnowledgeBaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5431,7 +5451,7 @@ enum CreateKnowledgeBaseOutputError { enum CreateQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5449,7 +5469,7 @@ enum CreateQuickResponseOutputError { enum CreateSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5465,7 +5485,7 @@ enum CreateSessionOutputError { enum DeleteAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5481,7 +5501,7 @@ enum DeleteAssistantOutputError { enum DeleteAssistantAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5497,7 +5517,7 @@ enum DeleteAssistantAssociationOutputError { enum DeleteContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5513,7 +5533,7 @@ enum DeleteContentOutputError { enum DeleteImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5530,7 +5550,7 @@ enum DeleteImportJobOutputError { enum DeleteKnowledgeBaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5547,7 +5567,7 @@ enum DeleteKnowledgeBaseOutputError { enum DeleteQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5563,7 +5583,7 @@ enum DeleteQuickResponseOutputError { enum GetAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5579,7 +5599,7 @@ enum GetAssistantOutputError { enum GetAssistantAssociationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5595,7 +5615,7 @@ enum GetAssistantAssociationOutputError { enum GetContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5611,7 +5631,7 @@ enum GetContentOutputError { enum GetContentSummaryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5627,7 +5647,7 @@ enum GetContentSummaryOutputError { enum GetImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5643,7 +5663,7 @@ enum GetImportJobOutputError { enum GetKnowledgeBaseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5659,7 +5679,7 @@ enum GetKnowledgeBaseOutputError { enum GetQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5675,7 +5695,7 @@ enum GetQuickResponseOutputError { enum GetRecommendationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5691,7 +5711,7 @@ enum GetRecommendationsOutputError { enum GetSessionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5707,7 +5727,7 @@ enum GetSessionOutputError { enum ListAssistantAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5723,7 +5743,7 @@ enum ListAssistantAssociationsOutputError { enum ListAssistantsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5738,7 +5758,7 @@ enum ListAssistantsOutputError { enum ListContentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5754,7 +5774,7 @@ enum ListContentsOutputError { enum ListImportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5769,7 +5789,7 @@ enum ListImportJobsOutputError { enum ListKnowledgeBasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5784,7 +5804,7 @@ enum ListKnowledgeBasesOutputError { enum ListQuickResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5800,7 +5820,7 @@ enum ListQuickResponsesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5814,7 +5834,7 @@ enum ListTagsForResourceOutputError { enum NotifyRecommendationsReceivedOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5830,7 +5850,7 @@ enum NotifyRecommendationsReceivedOutputError { enum QueryAssistantOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5847,7 +5867,7 @@ enum QueryAssistantOutputError { enum RemoveKnowledgeBaseTemplateUriOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5863,7 +5883,7 @@ enum RemoveKnowledgeBaseTemplateUriOutputError { enum SearchContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5879,7 +5899,7 @@ enum SearchContentOutputError { enum SearchQuickResponsesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5896,7 +5916,7 @@ enum SearchQuickResponsesOutputError { enum SearchSessionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5912,7 +5932,7 @@ enum SearchSessionsOutputError { enum StartContentUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5928,7 +5948,7 @@ enum StartContentUploadOutputError { enum StartImportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5946,7 +5966,7 @@ enum StartImportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5961,7 +5981,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5975,7 +5995,7 @@ enum UntagResourceOutputError { enum UpdateContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5992,7 +6012,7 @@ enum UpdateContentOutputError { enum UpdateKnowledgeBaseTemplateUriOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6008,7 +6028,7 @@ enum UpdateKnowledgeBaseTemplateUriOutputError { enum UpdateQuickResponseOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/Models.swift b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/Models.swift index 02f837de563..f1a30e888c4 100644 --- a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/Models.swift +++ b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -114,7 +114,7 @@ public struct ConcurrentModificationException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -140,7 +140,7 @@ public struct EntityNotExistsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -166,7 +166,7 @@ public struct FailedDependencyException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -190,7 +190,7 @@ public struct ProhibitedStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -214,7 +214,7 @@ public struct ServiceUnavailableException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -239,7 +239,7 @@ public struct UnauthorizedOperationException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -265,7 +265,7 @@ public struct UnauthorizedResourceAccessException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1275,7 +1275,7 @@ public struct DocumentLockedForCommentsException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1299,7 +1299,7 @@ public struct InvalidCommentOperationException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1466,7 +1466,7 @@ public struct CustomMetadataLimitExceededException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1526,7 +1526,7 @@ public struct ConflictingOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1550,7 +1550,7 @@ public struct EntityAlreadyExistsException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1574,7 +1574,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1732,7 +1732,7 @@ public struct TooManyLabelsException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1788,7 +1788,7 @@ public struct InvalidArgumentException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1812,7 +1812,7 @@ public struct TooManySubscriptionsException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2135,7 +2135,7 @@ public struct InvalidOperationException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2430,7 +2430,7 @@ public struct InvalidPasswordException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2636,7 +2636,7 @@ extension WorkDocsClientTypes { extension WorkDocsClientTypes.DocumentVersionMetadata: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "DocumentVersionMetadata(contentCreatedTimestamp: \(Swift.String(describing: contentCreatedTimestamp)), contentModifiedTimestamp: \(Swift.String(describing: contentModifiedTimestamp)), contentType: \(Swift.String(describing: contentType)), createdTimestamp: \(Swift.String(describing: createdTimestamp)), creatorId: \(Swift.String(describing: creatorId)), id: \(Swift.String(describing: id)), modifiedTimestamp: \(Swift.String(describing: modifiedTimestamp)), signature: \(Swift.String(describing: signature)), size: \(Swift.String(describing: size)), source: \(Swift.String(describing: source)), status: \(Swift.String(describing: status)), thumbnail: \(Swift.String(describing: thumbnail)), name: \"CONTENT_REDACTED\")"} + "DocumentVersionMetadata(contentCreatedTimestamp: \(Swift.String(describing: contentCreatedTimestamp)), contentModifiedTimestamp: \(Swift.String(describing: contentModifiedTimestamp)), contentType: \(Swift.String(describing: contentType)), createdTimestamp: \(Swift.String(describing: createdTimestamp)), creatorId: \(Swift.String(describing: creatorId)), id: \(Swift.String(describing: id)), modifiedTimestamp: \(Swift.String(describing: modifiedTimestamp)), signature: \(Swift.String(describing: signature)), size: \(Swift.String(describing: size)), status: \(Swift.String(describing: status)), name: \"CONTENT_REDACTED\", source: [keys: \(Swift.String(describing: source?.keys)), values: \"CONTENT_REDACTED\"], thumbnail: [keys: \(Swift.String(describing: thumbnail?.keys)), values: \"CONTENT_REDACTED\"])"} } public struct DescribeDocumentVersionsOutput { @@ -3119,7 +3119,7 @@ public struct RequestedEntityTooLargeException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3669,7 +3669,7 @@ public struct DraftUploadOutOfSyncException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3693,7 +3693,7 @@ public struct ResourceAlreadyCheckedOutException: ClientRuntime.ModeledError, AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3717,7 +3717,7 @@ public struct StorageLimitExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3741,7 +3741,7 @@ public struct StorageLimitWillExceedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4687,7 +4687,7 @@ public struct DeactivatingLastSystemUserException: ClientRuntime.ModeledError, A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4713,7 +4713,7 @@ public struct IllegalUserStateException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6271,14 +6271,14 @@ extension UpdateUserInput { extension AbortDocumentVersionUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AbortDocumentVersionUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AbortDocumentVersionUploadOutput { return AbortDocumentVersionUploadOutput() } } extension ActivateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ActivateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ActivateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6290,7 +6290,7 @@ extension ActivateUserOutput { extension AddResourcePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AddResourcePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AddResourcePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6302,7 +6302,7 @@ extension AddResourcePermissionsOutput { extension CreateCommentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCommentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCommentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6314,14 +6314,14 @@ extension CreateCommentOutput { extension CreateCustomMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateCustomMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCustomMetadataOutput { return CreateCustomMetadataOutput() } } extension CreateFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6333,14 +6333,14 @@ extension CreateFolderOutput { extension CreateLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateLabelsOutput { return CreateLabelsOutput() } } extension CreateNotificationSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNotificationSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNotificationSubscriptionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6352,7 +6352,7 @@ extension CreateNotificationSubscriptionOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6364,77 +6364,77 @@ extension CreateUserOutput { extension DeactivateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeactivateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeactivateUserOutput { return DeactivateUserOutput() } } extension DeleteCommentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCommentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCommentOutput { return DeleteCommentOutput() } } extension DeleteCustomMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteCustomMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCustomMetadataOutput { return DeleteCustomMetadataOutput() } } extension DeleteDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDocumentOutput { return DeleteDocumentOutput() } } extension DeleteDocumentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDocumentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDocumentVersionOutput { return DeleteDocumentVersionOutput() } } extension DeleteFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFolderOutput { return DeleteFolderOutput() } } extension DeleteFolderContentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFolderContentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFolderContentsOutput { return DeleteFolderContentsOutput() } } extension DeleteLabelsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteLabelsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteLabelsOutput { return DeleteLabelsOutput() } } extension DeleteNotificationSubscriptionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNotificationSubscriptionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNotificationSubscriptionOutput { return DeleteNotificationSubscriptionOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DescribeActivitiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeActivitiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeActivitiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6447,7 +6447,7 @@ extension DescribeActivitiesOutput { extension DescribeCommentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCommentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCommentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6460,7 +6460,7 @@ extension DescribeCommentsOutput { extension DescribeDocumentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDocumentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDocumentVersionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6473,7 +6473,7 @@ extension DescribeDocumentVersionsOutput { extension DescribeFolderContentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFolderContentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFolderContentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6487,7 +6487,7 @@ extension DescribeFolderContentsOutput { extension DescribeGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6500,7 +6500,7 @@ extension DescribeGroupsOutput { extension DescribeNotificationSubscriptionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeNotificationSubscriptionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeNotificationSubscriptionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6513,7 +6513,7 @@ extension DescribeNotificationSubscriptionsOutput { extension DescribeResourcePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourcePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourcePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6526,7 +6526,7 @@ extension DescribeResourcePermissionsOutput { extension DescribeRootFoldersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeRootFoldersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeRootFoldersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6539,7 +6539,7 @@ extension DescribeRootFoldersOutput { extension DescribeUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6553,7 +6553,7 @@ extension DescribeUsersOutput { extension GetCurrentUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetCurrentUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCurrentUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6565,7 +6565,7 @@ extension GetCurrentUserOutput { extension GetDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6578,7 +6578,7 @@ extension GetDocumentOutput { extension GetDocumentPathOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentPathOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentPathOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6590,7 +6590,7 @@ extension GetDocumentPathOutput { extension GetDocumentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDocumentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDocumentVersionOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6603,7 +6603,7 @@ extension GetDocumentVersionOutput { extension GetFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFolderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6616,7 +6616,7 @@ extension GetFolderOutput { extension GetFolderPathOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetFolderPathOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetFolderPathOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6628,7 +6628,7 @@ extension GetFolderPathOutput { extension GetResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6642,7 +6642,7 @@ extension GetResourcesOutput { extension InitiateDocumentVersionUploadOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> InitiateDocumentVersionUploadOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> InitiateDocumentVersionUploadOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6655,28 +6655,28 @@ extension InitiateDocumentVersionUploadOutput { extension RemoveAllResourcePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveAllResourcePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveAllResourcePermissionsOutput { return RemoveAllResourcePermissionsOutput() } } extension RemoveResourcePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RemoveResourcePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RemoveResourcePermissionOutput { return RemoveResourcePermissionOutput() } } extension RestoreDocumentVersionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDocumentVersionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDocumentVersionsOutput { return RestoreDocumentVersionsOutput() } } extension SearchResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SearchResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SearchResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6689,28 +6689,28 @@ extension SearchResourcesOutput { extension UpdateDocumentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentOutput { return UpdateDocumentOutput() } } extension UpdateDocumentVersionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDocumentVersionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDocumentVersionOutput { return UpdateDocumentVersionOutput() } } extension UpdateFolderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFolderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFolderOutput { return UpdateFolderOutput() } } extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6722,7 +6722,7 @@ extension UpdateUserOutput { enum AbortDocumentVersionUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6742,7 +6742,7 @@ enum AbortDocumentVersionUploadOutputError { enum ActivateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6760,7 +6760,7 @@ enum ActivateUserOutputError { enum AddResourcePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6778,7 +6778,7 @@ enum AddResourcePermissionsOutputError { enum CreateCommentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6799,7 +6799,7 @@ enum CreateCommentOutputError { enum CreateCustomMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6819,7 +6819,7 @@ enum CreateCustomMetadataOutputError { enum CreateFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6842,7 +6842,7 @@ enum CreateFolderOutputError { enum CreateLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6861,7 +6861,7 @@ enum CreateLabelsOutputError { enum CreateNotificationSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6878,7 +6878,7 @@ enum CreateNotificationSubscriptionOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6896,7 +6896,7 @@ enum CreateUserOutputError { enum DeactivateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6914,7 +6914,7 @@ enum DeactivateUserOutputError { enum DeleteCommentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6934,7 +6934,7 @@ enum DeleteCommentOutputError { enum DeleteCustomMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6953,7 +6953,7 @@ enum DeleteCustomMetadataOutputError { enum DeleteDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6975,7 +6975,7 @@ enum DeleteDocumentOutputError { enum DeleteDocumentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6996,7 +6996,7 @@ enum DeleteDocumentVersionOutputError { enum DeleteFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7018,7 +7018,7 @@ enum DeleteFolderOutputError { enum DeleteFolderContentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7038,7 +7038,7 @@ enum DeleteFolderContentsOutputError { enum DeleteLabelsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7057,7 +7057,7 @@ enum DeleteLabelsOutputError { enum DeleteNotificationSubscriptionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7074,7 +7074,7 @@ enum DeleteNotificationSubscriptionOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7092,7 +7092,7 @@ enum DeleteUserOutputError { enum DescribeActivitiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7110,7 +7110,7 @@ enum DescribeActivitiesOutputError { enum DescribeCommentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7129,7 +7129,7 @@ enum DescribeCommentsOutputError { enum DescribeDocumentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7150,7 +7150,7 @@ enum DescribeDocumentVersionsOutputError { enum DescribeFolderContentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7169,7 +7169,7 @@ enum DescribeFolderContentsOutputError { enum DescribeGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7186,7 +7186,7 @@ enum DescribeGroupsOutputError { enum DescribeNotificationSubscriptionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7202,7 +7202,7 @@ enum DescribeNotificationSubscriptionsOutputError { enum DescribeResourcePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7220,7 +7220,7 @@ enum DescribeResourcePermissionsOutputError { enum DescribeRootFoldersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7238,7 +7238,7 @@ enum DescribeRootFoldersOutputError { enum DescribeUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7258,7 +7258,7 @@ enum DescribeUsersOutputError { enum GetCurrentUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7276,7 +7276,7 @@ enum GetCurrentUserOutputError { enum GetDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7296,7 +7296,7 @@ enum GetDocumentOutputError { enum GetDocumentPathOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7314,7 +7314,7 @@ enum GetDocumentPathOutputError { enum GetDocumentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7334,7 +7334,7 @@ enum GetDocumentVersionOutputError { enum GetFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7354,7 +7354,7 @@ enum GetFolderOutputError { enum GetFolderPathOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7372,7 +7372,7 @@ enum GetFolderPathOutputError { enum GetResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7390,7 +7390,7 @@ enum GetResourcesOutputError { enum InitiateDocumentVersionUploadOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7417,7 +7417,7 @@ enum InitiateDocumentVersionUploadOutputError { enum RemoveAllResourcePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7434,7 +7434,7 @@ enum RemoveAllResourcePermissionsOutputError { enum RemoveResourcePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7451,7 +7451,7 @@ enum RemoveResourcePermissionOutputError { enum RestoreDocumentVersionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7472,7 +7472,7 @@ enum RestoreDocumentVersionsOutputError { enum SearchResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7489,7 +7489,7 @@ enum SearchResourcesOutputError { enum UpdateDocumentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7512,7 +7512,7 @@ enum UpdateDocumentOutputError { enum UpdateDocumentVersionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7533,7 +7533,7 @@ enum UpdateDocumentVersionOutputError { enum UpdateFolderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7556,7 +7556,7 @@ enum UpdateFolderOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/Models.swift b/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/Models.swift index c5bd84c91bb..38022dd77c1 100644 --- a/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/Models.swift +++ b/Sources/Services/AWSWorkLink/Sources/AWSWorkLink/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct InternalServerErrorException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -107,7 +107,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -131,7 +131,7 @@ public struct TooManyRequestsException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -155,7 +155,7 @@ public struct UnauthorizedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2045,14 +2045,14 @@ extension UpdateIdentityProviderConfigurationInput { extension AssociateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDomainOutput { return AssociateDomainOutput() } } extension AssociateWebsiteAuthorizationProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWebsiteAuthorizationProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWebsiteAuthorizationProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2064,7 +2064,7 @@ extension AssociateWebsiteAuthorizationProviderOutput { extension AssociateWebsiteCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWebsiteCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWebsiteCertificateAuthorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2076,7 +2076,7 @@ extension AssociateWebsiteCertificateAuthorityOutput { extension CreateFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateFleetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2088,14 +2088,14 @@ extension CreateFleetOutput { extension DeleteFleetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteFleetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteFleetOutput { return DeleteFleetOutput() } } extension DescribeAuditStreamConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAuditStreamConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAuditStreamConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2107,7 +2107,7 @@ extension DescribeAuditStreamConfigurationOutput { extension DescribeCompanyNetworkConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeCompanyNetworkConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCompanyNetworkConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2121,7 +2121,7 @@ extension DescribeCompanyNetworkConfigurationOutput { extension DescribeDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2141,7 +2141,7 @@ extension DescribeDeviceOutput { extension DescribeDevicePolicyConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDevicePolicyConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDevicePolicyConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2153,7 +2153,7 @@ extension DescribeDevicePolicyConfigurationOutput { extension DescribeDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2169,7 +2169,7 @@ extension DescribeDomainOutput { extension DescribeFleetMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeFleetMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFleetMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2188,7 +2188,7 @@ extension DescribeFleetMetadataOutput { extension DescribeIdentityProviderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIdentityProviderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIdentityProviderConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2202,7 +2202,7 @@ extension DescribeIdentityProviderConfigurationOutput { extension DescribeWebsiteCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWebsiteCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWebsiteCertificateAuthorityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2216,28 +2216,28 @@ extension DescribeWebsiteCertificateAuthorityOutput { extension DisassociateDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDomainOutput { return DisassociateDomainOutput() } } extension DisassociateWebsiteAuthorizationProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWebsiteAuthorizationProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWebsiteAuthorizationProviderOutput { return DisassociateWebsiteAuthorizationProviderOutput() } } extension DisassociateWebsiteCertificateAuthorityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWebsiteCertificateAuthorityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWebsiteCertificateAuthorityOutput { return DisassociateWebsiteCertificateAuthorityOutput() } } extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2250,7 +2250,7 @@ extension ListDevicesOutput { extension ListDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2263,7 +2263,7 @@ extension ListDomainsOutput { extension ListFleetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListFleetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListFleetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2276,7 +2276,7 @@ extension ListFleetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2288,7 +2288,7 @@ extension ListTagsForResourceOutput { extension ListWebsiteAuthorizationProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebsiteAuthorizationProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebsiteAuthorizationProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2301,7 +2301,7 @@ extension ListWebsiteAuthorizationProvidersOutput { extension ListWebsiteCertificateAuthoritiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListWebsiteCertificateAuthoritiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListWebsiteCertificateAuthoritiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2314,84 +2314,84 @@ extension ListWebsiteCertificateAuthoritiesOutput { extension RestoreDomainAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreDomainAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreDomainAccessOutput { return RestoreDomainAccessOutput() } } extension RevokeDomainAccessOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeDomainAccessOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeDomainAccessOutput { return RevokeDomainAccessOutput() } } extension SignOutUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> SignOutUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SignOutUserOutput { return SignOutUserOutput() } } extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAuditStreamConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAuditStreamConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAuditStreamConfigurationOutput { return UpdateAuditStreamConfigurationOutput() } } extension UpdateCompanyNetworkConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateCompanyNetworkConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCompanyNetworkConfigurationOutput { return UpdateCompanyNetworkConfigurationOutput() } } extension UpdateDevicePolicyConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDevicePolicyConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDevicePolicyConfigurationOutput { return UpdateDevicePolicyConfigurationOutput() } } extension UpdateDomainMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDomainMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDomainMetadataOutput { return UpdateDomainMetadataOutput() } } extension UpdateFleetMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateFleetMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateFleetMetadataOutput { return UpdateFleetMetadataOutput() } } extension UpdateIdentityProviderConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentityProviderConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityProviderConfigurationOutput { return UpdateIdentityProviderConfigurationOutput() } } enum AssociateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2410,7 +2410,7 @@ enum AssociateDomainOutputError { enum AssociateWebsiteAuthorizationProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2429,7 +2429,7 @@ enum AssociateWebsiteAuthorizationProviderOutputError { enum AssociateWebsiteCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2448,7 +2448,7 @@ enum AssociateWebsiteCertificateAuthorityOutputError { enum CreateFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2467,7 +2467,7 @@ enum CreateFleetOutputError { enum DeleteFleetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2485,7 +2485,7 @@ enum DeleteFleetOutputError { enum DescribeAuditStreamConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2503,7 +2503,7 @@ enum DescribeAuditStreamConfigurationOutputError { enum DescribeCompanyNetworkConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2521,7 +2521,7 @@ enum DescribeCompanyNetworkConfigurationOutputError { enum DescribeDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2539,7 +2539,7 @@ enum DescribeDeviceOutputError { enum DescribeDevicePolicyConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2557,7 +2557,7 @@ enum DescribeDevicePolicyConfigurationOutputError { enum DescribeDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2575,7 +2575,7 @@ enum DescribeDomainOutputError { enum DescribeFleetMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2593,7 +2593,7 @@ enum DescribeFleetMetadataOutputError { enum DescribeIdentityProviderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2611,7 +2611,7 @@ enum DescribeIdentityProviderConfigurationOutputError { enum DescribeWebsiteCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2629,7 +2629,7 @@ enum DescribeWebsiteCertificateAuthorityOutputError { enum DisassociateDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2647,7 +2647,7 @@ enum DisassociateDomainOutputError { enum DisassociateWebsiteAuthorizationProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2666,7 +2666,7 @@ enum DisassociateWebsiteAuthorizationProviderOutputError { enum DisassociateWebsiteCertificateAuthorityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2684,7 +2684,7 @@ enum DisassociateWebsiteCertificateAuthorityOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2702,7 +2702,7 @@ enum ListDevicesOutputError { enum ListDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2720,7 +2720,7 @@ enum ListDomainsOutputError { enum ListFleetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2737,7 +2737,7 @@ enum ListFleetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2751,7 +2751,7 @@ enum ListTagsForResourceOutputError { enum ListWebsiteAuthorizationProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2769,7 +2769,7 @@ enum ListWebsiteAuthorizationProvidersOutputError { enum ListWebsiteCertificateAuthoritiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2786,7 +2786,7 @@ enum ListWebsiteCertificateAuthoritiesOutputError { enum RestoreDomainAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2804,7 +2804,7 @@ enum RestoreDomainAccessOutputError { enum RevokeDomainAccessOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2822,7 +2822,7 @@ enum RevokeDomainAccessOutputError { enum SignOutUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2840,7 +2840,7 @@ enum SignOutUserOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2854,7 +2854,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2868,7 +2868,7 @@ enum UntagResourceOutputError { enum UpdateAuditStreamConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2886,7 +2886,7 @@ enum UpdateAuditStreamConfigurationOutputError { enum UpdateCompanyNetworkConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2904,7 +2904,7 @@ enum UpdateCompanyNetworkConfigurationOutputError { enum UpdateDevicePolicyConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2922,7 +2922,7 @@ enum UpdateDevicePolicyConfigurationOutputError { enum UpdateDomainMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2940,7 +2940,7 @@ enum UpdateDomainMetadataOutputError { enum UpdateFleetMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2958,7 +2958,7 @@ enum UpdateFleetMetadataOutputError { enum UpdateIdentityProviderConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/Models.swift b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/Models.swift index 35c3484fe85..9bd62260e39 100644 --- a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/Models.swift +++ b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -157,7 +157,7 @@ public struct EntityNotFoundException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -181,7 +181,7 @@ public struct EntityStateException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -205,7 +205,7 @@ public struct InvalidParameterException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -229,7 +229,7 @@ public struct OrganizationNotFoundException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -253,7 +253,7 @@ public struct OrganizationStateException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -277,7 +277,7 @@ public struct UnsupportedOperationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -341,7 +341,7 @@ public struct DirectoryServiceAuthenticationFailedException: ClientRuntime.Model public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -365,7 +365,7 @@ public struct DirectoryUnavailableException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -429,7 +429,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -641,7 +641,7 @@ public struct EmailAddressInUseException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -665,7 +665,7 @@ public struct LimitExceededException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -689,7 +689,7 @@ public struct MailDomainNotFoundException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -713,7 +713,7 @@ public struct MailDomainStateException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -765,7 +765,7 @@ public struct NameAvailabilityException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -856,7 +856,7 @@ public struct ReservedNameException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1133,7 +1133,7 @@ public struct DirectoryInUseException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1295,7 +1295,7 @@ public struct InvalidPasswordException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1852,7 +1852,7 @@ public struct InvalidCustomSesConfigurationException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1876,7 +1876,7 @@ public struct MailDomainInUseException: ClientRuntime.ModeledError, AWSClientRun public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2650,7 +2650,7 @@ public struct EntityAlreadyRegisteredException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3277,7 +3277,7 @@ public struct InvalidConfigurationException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -4876,7 +4876,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6867,21 +6867,21 @@ extension UpdateUserInput { extension AssociateDelegateToResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateDelegateToResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDelegateToResourceOutput { return AssociateDelegateToResourceOutput() } } extension AssociateMemberToGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateMemberToGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateMemberToGroupOutput { return AssociateMemberToGroupOutput() } } extension AssumeImpersonationRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssumeImpersonationRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssumeImpersonationRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6894,28 +6894,28 @@ extension AssumeImpersonationRoleOutput { extension CancelMailboxExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CancelMailboxExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CancelMailboxExportJobOutput { return CancelMailboxExportJobOutput() } } extension CreateAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAliasOutput { return CreateAliasOutput() } } extension CreateAvailabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAvailabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAvailabilityConfigurationOutput { return CreateAvailabilityConfigurationOutput() } } extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6927,7 +6927,7 @@ extension CreateGroupOutput { extension CreateImpersonationRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateImpersonationRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateImpersonationRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6939,7 +6939,7 @@ extension CreateImpersonationRoleOutput { extension CreateMobileDeviceAccessRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateMobileDeviceAccessRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateMobileDeviceAccessRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6951,7 +6951,7 @@ extension CreateMobileDeviceAccessRuleOutput { extension CreateOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6963,7 +6963,7 @@ extension CreateOrganizationOutput { extension CreateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6975,7 +6975,7 @@ extension CreateResourceOutput { extension CreateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -6987,70 +6987,70 @@ extension CreateUserOutput { extension DeleteAccessControlRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccessControlRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccessControlRuleOutput { return DeleteAccessControlRuleOutput() } } extension DeleteAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAliasOutput { return DeleteAliasOutput() } } extension DeleteAvailabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAvailabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAvailabilityConfigurationOutput { return DeleteAvailabilityConfigurationOutput() } } extension DeleteEmailMonitoringConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEmailMonitoringConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEmailMonitoringConfigurationOutput { return DeleteEmailMonitoringConfigurationOutput() } } extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteImpersonationRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteImpersonationRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteImpersonationRoleOutput { return DeleteImpersonationRoleOutput() } } extension DeleteMailboxPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMailboxPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMailboxPermissionsOutput { return DeleteMailboxPermissionsOutput() } } extension DeleteMobileDeviceAccessOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMobileDeviceAccessOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMobileDeviceAccessOverrideOutput { return DeleteMobileDeviceAccessOverrideOutput() } } extension DeleteMobileDeviceAccessRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteMobileDeviceAccessRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteMobileDeviceAccessRuleOutput { return DeleteMobileDeviceAccessRuleOutput() } } extension DeleteOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7063,42 +7063,42 @@ extension DeleteOrganizationOutput { extension DeleteResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourceOutput { return DeleteResourceOutput() } } extension DeleteRetentionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteRetentionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRetentionPolicyOutput { return DeleteRetentionPolicyOutput() } } extension DeleteUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserOutput { return DeleteUserOutput() } } extension DeregisterFromWorkMailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterFromWorkMailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterFromWorkMailOutput { return DeregisterFromWorkMailOutput() } } extension DeregisterMailDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterMailDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterMailDomainOutput { return DeregisterMailDomainOutput() } } extension DescribeEmailMonitoringConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEmailMonitoringConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEmailMonitoringConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7111,7 +7111,7 @@ extension DescribeEmailMonitoringConfigurationOutput { extension DescribeEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7125,7 +7125,7 @@ extension DescribeEntityOutput { extension DescribeGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7143,7 +7143,7 @@ extension DescribeGroupOutput { extension DescribeInboundDmarcSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeInboundDmarcSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeInboundDmarcSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7155,7 +7155,7 @@ extension DescribeInboundDmarcSettingsOutput { extension DescribeMailboxExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeMailboxExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeMailboxExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7178,7 +7178,7 @@ extension DescribeMailboxExportJobOutput { extension DescribeOrganizationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeOrganizationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeOrganizationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7200,7 +7200,7 @@ extension DescribeOrganizationOutput { extension DescribeResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7221,7 +7221,7 @@ extension DescribeResourceOutput { extension DescribeUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeUserOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7255,21 +7255,21 @@ extension DescribeUserOutput { extension DisassociateDelegateFromResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateDelegateFromResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDelegateFromResourceOutput { return DisassociateDelegateFromResourceOutput() } } extension DisassociateMemberFromGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateMemberFromGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateMemberFromGroupOutput { return DisassociateMemberFromGroupOutput() } } extension GetAccessControlEffectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccessControlEffectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccessControlEffectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7282,7 +7282,7 @@ extension GetAccessControlEffectOutput { extension GetDefaultRetentionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDefaultRetentionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDefaultRetentionPolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7297,7 +7297,7 @@ extension GetDefaultRetentionPolicyOutput { extension GetImpersonationRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImpersonationRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImpersonationRoleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7315,7 +7315,7 @@ extension GetImpersonationRoleOutput { extension GetImpersonationRoleEffectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetImpersonationRoleEffectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetImpersonationRoleEffectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7329,7 +7329,7 @@ extension GetImpersonationRoleEffectOutput { extension GetMailboxDetailsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMailboxDetailsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMailboxDetailsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7342,7 +7342,7 @@ extension GetMailboxDetailsOutput { extension GetMailDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMailDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMailDomainOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7358,7 +7358,7 @@ extension GetMailDomainOutput { extension GetMobileDeviceAccessEffectOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMobileDeviceAccessEffectOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMobileDeviceAccessEffectOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7371,7 +7371,7 @@ extension GetMobileDeviceAccessEffectOutput { extension GetMobileDeviceAccessOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetMobileDeviceAccessOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetMobileDeviceAccessOverrideOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7388,7 +7388,7 @@ extension GetMobileDeviceAccessOverrideOutput { extension ListAccessControlRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccessControlRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccessControlRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7400,7 +7400,7 @@ extension ListAccessControlRulesOutput { extension ListAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7413,7 +7413,7 @@ extension ListAliasesOutput { extension ListAvailabilityConfigurationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailabilityConfigurationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailabilityConfigurationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7426,7 +7426,7 @@ extension ListAvailabilityConfigurationsOutput { extension ListGroupMembersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupMembersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupMembersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7439,7 +7439,7 @@ extension ListGroupMembersOutput { extension ListGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7452,7 +7452,7 @@ extension ListGroupsOutput { extension ListGroupsForEntityOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListGroupsForEntityOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListGroupsForEntityOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7465,7 +7465,7 @@ extension ListGroupsForEntityOutput { extension ListImpersonationRolesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListImpersonationRolesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListImpersonationRolesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7478,7 +7478,7 @@ extension ListImpersonationRolesOutput { extension ListMailboxExportJobsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMailboxExportJobsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMailboxExportJobsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7491,7 +7491,7 @@ extension ListMailboxExportJobsOutput { extension ListMailboxPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMailboxPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMailboxPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7504,7 +7504,7 @@ extension ListMailboxPermissionsOutput { extension ListMailDomainsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMailDomainsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMailDomainsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7517,7 +7517,7 @@ extension ListMailDomainsOutput { extension ListMobileDeviceAccessOverridesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMobileDeviceAccessOverridesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMobileDeviceAccessOverridesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7530,7 +7530,7 @@ extension ListMobileDeviceAccessOverridesOutput { extension ListMobileDeviceAccessRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListMobileDeviceAccessRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListMobileDeviceAccessRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7542,7 +7542,7 @@ extension ListMobileDeviceAccessRulesOutput { extension ListOrganizationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListOrganizationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListOrganizationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7555,7 +7555,7 @@ extension ListOrganizationsOutput { extension ListResourceDelegatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourceDelegatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourceDelegatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7568,7 +7568,7 @@ extension ListResourceDelegatesOutput { extension ListResourcesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7581,7 +7581,7 @@ extension ListResourcesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7593,7 +7593,7 @@ extension ListTagsForResourceOutput { extension ListUsersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUsersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUsersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7606,70 +7606,70 @@ extension ListUsersOutput { extension PutAccessControlRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutAccessControlRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutAccessControlRuleOutput { return PutAccessControlRuleOutput() } } extension PutEmailMonitoringConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEmailMonitoringConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEmailMonitoringConfigurationOutput { return PutEmailMonitoringConfigurationOutput() } } extension PutInboundDmarcSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutInboundDmarcSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutInboundDmarcSettingsOutput { return PutInboundDmarcSettingsOutput() } } extension PutMailboxPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMailboxPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMailboxPermissionsOutput { return PutMailboxPermissionsOutput() } } extension PutMobileDeviceAccessOverrideOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutMobileDeviceAccessOverrideOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMobileDeviceAccessOverrideOutput { return PutMobileDeviceAccessOverrideOutput() } } extension PutRetentionPolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRetentionPolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRetentionPolicyOutput { return PutRetentionPolicyOutput() } } extension RegisterMailDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterMailDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterMailDomainOutput { return RegisterMailDomainOutput() } } extension RegisterToWorkMailOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterToWorkMailOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterToWorkMailOutput { return RegisterToWorkMailOutput() } } extension ResetPasswordOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ResetPasswordOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResetPasswordOutput { return ResetPasswordOutput() } } extension StartMailboxExportJobOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartMailboxExportJobOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartMailboxExportJobOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7681,14 +7681,14 @@ extension StartMailboxExportJobOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension TestAvailabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TestAvailabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TestAvailabilityConfigurationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7701,77 +7701,77 @@ extension TestAvailabilityConfigurationOutput { extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateAvailabilityConfigurationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateAvailabilityConfigurationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateAvailabilityConfigurationOutput { return UpdateAvailabilityConfigurationOutput() } } extension UpdateDefaultMailDomainOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDefaultMailDomainOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDefaultMailDomainOutput { return UpdateDefaultMailDomainOutput() } } extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { return UpdateGroupOutput() } } extension UpdateImpersonationRoleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateImpersonationRoleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateImpersonationRoleOutput { return UpdateImpersonationRoleOutput() } } extension UpdateMailboxQuotaOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMailboxQuotaOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMailboxQuotaOutput { return UpdateMailboxQuotaOutput() } } extension UpdateMobileDeviceAccessRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateMobileDeviceAccessRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateMobileDeviceAccessRuleOutput { return UpdateMobileDeviceAccessRuleOutput() } } extension UpdatePrimaryEmailAddressOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePrimaryEmailAddressOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePrimaryEmailAddressOutput { return UpdatePrimaryEmailAddressOutput() } } extension UpdateResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateResourceOutput { return UpdateResourceOutput() } } extension UpdateUserOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserOutput { return UpdateUserOutput() } } enum AssociateDelegateToResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7790,7 +7790,7 @@ enum AssociateDelegateToResourceOutputError { enum AssociateMemberToGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7811,7 +7811,7 @@ enum AssociateMemberToGroupOutputError { enum AssumeImpersonationRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7828,7 +7828,7 @@ enum AssumeImpersonationRoleOutputError { enum CancelMailboxExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7845,7 +7845,7 @@ enum CancelMailboxExportJobOutputError { enum CreateAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7867,7 +7867,7 @@ enum CreateAliasOutputError { enum CreateAvailabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7885,7 +7885,7 @@ enum CreateAvailabilityConfigurationOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7906,7 +7906,7 @@ enum CreateGroupOutputError { enum CreateImpersonationRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7925,7 +7925,7 @@ enum CreateImpersonationRoleOutputError { enum CreateMobileDeviceAccessRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7942,7 +7942,7 @@ enum CreateMobileDeviceAccessRuleOutputError { enum CreateOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7960,7 +7960,7 @@ enum CreateOrganizationOutputError { enum CreateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -7981,7 +7981,7 @@ enum CreateResourceOutputError { enum CreateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8003,7 +8003,7 @@ enum CreateUserOutputError { enum DeleteAccessControlRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8018,7 +8018,7 @@ enum DeleteAccessControlRuleOutputError { enum DeleteAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8036,7 +8036,7 @@ enum DeleteAliasOutputError { enum DeleteAvailabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8051,7 +8051,7 @@ enum DeleteAvailabilityConfigurationOutputError { enum DeleteEmailMonitoringConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8067,7 +8067,7 @@ enum DeleteEmailMonitoringConfigurationOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8087,7 +8087,7 @@ enum DeleteGroupOutputError { enum DeleteImpersonationRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8103,7 +8103,7 @@ enum DeleteImpersonationRoleOutputError { enum DeleteMailboxPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8121,7 +8121,7 @@ enum DeleteMailboxPermissionsOutputError { enum DeleteMobileDeviceAccessOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8138,7 +8138,7 @@ enum DeleteMobileDeviceAccessOverrideOutputError { enum DeleteMobileDeviceAccessRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8154,7 +8154,7 @@ enum DeleteMobileDeviceAccessRuleOutputError { enum DeleteOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8170,7 +8170,7 @@ enum DeleteOrganizationOutputError { enum DeleteResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8188,7 +8188,7 @@ enum DeleteResourceOutputError { enum DeleteRetentionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8204,7 +8204,7 @@ enum DeleteRetentionPolicyOutputError { enum DeleteUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8224,7 +8224,7 @@ enum DeleteUserOutputError { enum DeregisterFromWorkMailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8242,7 +8242,7 @@ enum DeregisterFromWorkMailOutputError { enum DeregisterMailDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8260,7 +8260,7 @@ enum DeregisterMailDomainOutputError { enum DescribeEmailMonitoringConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8277,7 +8277,7 @@ enum DescribeEmailMonitoringConfigurationOutputError { enum DescribeEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8294,7 +8294,7 @@ enum DescribeEntityOutputError { enum DescribeGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8311,7 +8311,7 @@ enum DescribeGroupOutputError { enum DescribeInboundDmarcSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8326,7 +8326,7 @@ enum DescribeInboundDmarcSettingsOutputError { enum DescribeMailboxExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8343,7 +8343,7 @@ enum DescribeMailboxExportJobOutputError { enum DescribeOrganizationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8358,7 +8358,7 @@ enum DescribeOrganizationOutputError { enum DescribeResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8376,7 +8376,7 @@ enum DescribeResourceOutputError { enum DescribeUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8393,7 +8393,7 @@ enum DescribeUserOutputError { enum DisassociateDelegateFromResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8412,7 +8412,7 @@ enum DisassociateDelegateFromResourceOutputError { enum DisassociateMemberFromGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8433,7 +8433,7 @@ enum DisassociateMemberFromGroupOutputError { enum GetAccessControlEffectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8451,7 +8451,7 @@ enum GetAccessControlEffectOutputError { enum GetDefaultRetentionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8468,7 +8468,7 @@ enum GetDefaultRetentionPolicyOutputError { enum GetImpersonationRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8485,7 +8485,7 @@ enum GetImpersonationRoleOutputError { enum GetImpersonationRoleEffectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8504,7 +8504,7 @@ enum GetImpersonationRoleEffectOutputError { enum GetMailboxDetailsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8521,7 +8521,7 @@ enum GetMailboxDetailsOutputError { enum GetMailDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8538,7 +8538,7 @@ enum GetMailDomainOutputError { enum GetMobileDeviceAccessEffectOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8554,7 +8554,7 @@ enum GetMobileDeviceAccessEffectOutputError { enum GetMobileDeviceAccessOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8572,7 +8572,7 @@ enum GetMobileDeviceAccessOverrideOutputError { enum ListAccessControlRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8587,7 +8587,7 @@ enum ListAccessControlRulesOutputError { enum ListAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8605,7 +8605,7 @@ enum ListAliasesOutputError { enum ListAvailabilityConfigurationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8620,7 +8620,7 @@ enum ListAvailabilityConfigurationsOutputError { enum ListGroupMembersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8638,7 +8638,7 @@ enum ListGroupMembersOutputError { enum ListGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8655,7 +8655,7 @@ enum ListGroupsOutputError { enum ListGroupsForEntityOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8673,7 +8673,7 @@ enum ListGroupsForEntityOutputError { enum ListImpersonationRolesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8689,7 +8689,7 @@ enum ListImpersonationRolesOutputError { enum ListMailboxExportJobsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8705,7 +8705,7 @@ enum ListMailboxExportJobsOutputError { enum ListMailboxPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8722,7 +8722,7 @@ enum ListMailboxPermissionsOutputError { enum ListMailDomainsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8738,7 +8738,7 @@ enum ListMailDomainsOutputError { enum ListMobileDeviceAccessOverridesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8755,7 +8755,7 @@ enum ListMobileDeviceAccessOverridesOutputError { enum ListMobileDeviceAccessRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8771,7 +8771,7 @@ enum ListMobileDeviceAccessRulesOutputError { enum ListOrganizationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8785,7 +8785,7 @@ enum ListOrganizationsOutputError { enum ListResourceDelegatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8804,7 +8804,7 @@ enum ListResourceDelegatesOutputError { enum ListResourcesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8821,7 +8821,7 @@ enum ListResourcesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8835,7 +8835,7 @@ enum ListTagsForResourceOutputError { enum ListUsersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8851,7 +8851,7 @@ enum ListUsersOutputError { enum PutAccessControlRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8870,7 +8870,7 @@ enum PutAccessControlRuleOutputError { enum PutEmailMonitoringConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8887,7 +8887,7 @@ enum PutEmailMonitoringConfigurationOutputError { enum PutInboundDmarcSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8902,7 +8902,7 @@ enum PutInboundDmarcSettingsOutputError { enum PutMailboxPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8920,7 +8920,7 @@ enum PutMailboxPermissionsOutputError { enum PutMobileDeviceAccessOverrideOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8938,7 +8938,7 @@ enum PutMobileDeviceAccessOverrideOutputError { enum PutRetentionPolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8955,7 +8955,7 @@ enum PutRetentionPolicyOutputError { enum RegisterMailDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8973,7 +8973,7 @@ enum RegisterMailDomainOutputError { enum RegisterToWorkMailOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8997,7 +8997,7 @@ enum RegisterToWorkMailOutputError { enum ResetPasswordOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9019,7 +9019,7 @@ enum ResetPasswordOutputError { enum StartMailboxExportJobOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9037,7 +9037,7 @@ enum StartMailboxExportJobOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9054,7 +9054,7 @@ enum TagResourceOutputError { enum TestAvailabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9071,7 +9071,7 @@ enum TestAvailabilityConfigurationOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9085,7 +9085,7 @@ enum UntagResourceOutputError { enum UpdateAvailabilityConfigurationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9102,7 +9102,7 @@ enum UpdateAvailabilityConfigurationOutputError { enum UpdateDefaultMailDomainOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9120,7 +9120,7 @@ enum UpdateDefaultMailDomainOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9139,7 +9139,7 @@ enum UpdateGroupOutputError { enum UpdateImpersonationRoleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9159,7 +9159,7 @@ enum UpdateImpersonationRoleOutputError { enum UpdateMailboxQuotaOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9177,7 +9177,7 @@ enum UpdateMailboxQuotaOutputError { enum UpdateMobileDeviceAccessRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9194,7 +9194,7 @@ enum UpdateMobileDeviceAccessRuleOutputError { enum UpdatePrimaryEmailAddressOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9218,7 +9218,7 @@ enum UpdatePrimaryEmailAddressOutputError { enum UpdateResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9243,7 +9243,7 @@ enum UpdateResourceOutputError { enum UpdateUserOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/Models.swift b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/Models.swift index 14a4435007a..61d9e1dc487 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/Models.swift +++ b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/Models.swift @@ -7,7 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -30,7 +30,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -86,7 +86,7 @@ public struct InvalidContentLocation: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct MessageFrozen: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -134,7 +134,7 @@ public struct MessageRejected: ClientRuntime.ModeledError, AWSClientRuntime.AWSS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -256,7 +256,7 @@ extension PutRawMessageContentInput { extension GetRawMessageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetRawMessageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRawMessageContentOutput { var value = GetRawMessageContentOutput() switch httpResponse.body { case .data(let data): @@ -272,14 +272,14 @@ extension GetRawMessageContentOutput { extension PutRawMessageContentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutRawMessageContentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRawMessageContentOutput { return PutRawMessageContentOutput() } } enum GetRawMessageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -293,7 +293,7 @@ enum GetRawMessageContentOutputError { enum PutRawMessageContentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift index 0808787a573..3119b26cd9d 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -59,7 +59,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -83,7 +83,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -110,7 +110,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -136,7 +136,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -369,6 +369,28 @@ extension WorkSpacesClientTypes { } +extension WorkSpacesClientTypes { + /// Information about the Active Directory config. + public struct ActiveDirectoryConfig { + /// The name of the domain. + /// This member is required. + public var domainName: Swift.String? + /// Indicates the secret ARN on the service account. + /// This member is required. + public var serviceAccountSecretArn: Swift.String? + + public init( + domainName: Swift.String? = nil, + serviceAccountSecretArn: Swift.String? = nil + ) + { + self.domainName = domainName + self.serviceAccountSecretArn = serviceAccountSecretArn + } + } + +} + extension WorkSpacesClientTypes { public enum Application: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -436,7 +458,7 @@ public struct ApplicationNotSupportedException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -591,6 +613,81 @@ extension WorkSpacesClientTypes { } +extension WorkSpacesClientTypes { + + public enum ApplicationSettingsStatusEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [ApplicationSettingsStatusEnum] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// The persistent application settings for WorkSpaces Pools users. + public struct ApplicationSettingsRequest { + /// The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple pools by specifying the same settings group for each pool. + public var settingsGroup: Swift.String? + /// Enables or disables persistent application settings for users during their pool sessions. + /// This member is required. + public var status: WorkSpacesClientTypes.ApplicationSettingsStatusEnum? + + public init( + settingsGroup: Swift.String? = nil, + status: WorkSpacesClientTypes.ApplicationSettingsStatusEnum? = nil + ) + { + self.settingsGroup = settingsGroup + self.status = status + } + } + +} + +extension WorkSpacesClientTypes { + /// Describes the persistent application settings for WorkSpaces Pools users. + public struct ApplicationSettingsResponse { + /// The S3 bucket where users’ persistent application settings are stored. When persistent application settings are enabled for the first time for an account in an Amazon Web Services Region, an S3 bucket is created. The bucket is unique to the Amazon Web Services account and the Region. + public var s3BucketName: Swift.String? + /// The path prefix for the S3 bucket where users’ persistent application settings are stored. + public var settingsGroup: Swift.String? + /// Specifies whether persistent application settings are enabled for users during their pool sessions. + /// This member is required. + public var status: WorkSpacesClientTypes.ApplicationSettingsStatusEnum? + + public init( + s3BucketName: Swift.String? = nil, + settingsGroup: Swift.String? = nil, + status: WorkSpacesClientTypes.ApplicationSettingsStatusEnum? = nil + ) + { + self.s3BucketName = s3BucketName + self.settingsGroup = settingsGroup + self.status = status + } + } + +} + /// One or more parameter values are not valid. public struct InvalidParameterValuesException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -604,7 +701,7 @@ public struct InvalidParameterValuesException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -628,7 +725,7 @@ public struct InvalidResourceStateException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -655,7 +752,7 @@ public struct OperationNotSupportedException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -681,7 +778,7 @@ public struct ResourceAssociatedException: ClientRuntime.ModeledError, AWSClient public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -736,7 +833,7 @@ public struct ResourceLimitExceededException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -777,7 +874,7 @@ public struct ComputeNotCompatibleException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -790,7 +887,7 @@ public struct IncompatibleApplicationsException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -803,7 +900,7 @@ public struct OperatingSystemNotCompatibleException: ClientRuntime.ModeledError, public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -822,7 +919,7 @@ public struct ResourceAlreadyExistsException: ClientRuntime.ModeledError, AWSCli public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -848,7 +945,7 @@ public struct ResourceInUseException: ClientRuntime.ModeledError, AWSClientRunti public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -996,6 +1093,32 @@ extension WorkSpacesClientTypes { } } +extension WorkSpacesClientTypes { + + public enum AuthenticationType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case saml + case sdkUnknown(Swift.String) + + public static var allCases: [AuthenticationType] { + return [ + .saml + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .saml: return "SAML" + case let .sdkUnknown(s): return s + } + } + } +} + extension WorkSpacesClientTypes { /// Describes a rule for an IP access control group. public struct IpRuleItem { @@ -1164,6 +1287,7 @@ extension WorkSpacesClientTypes { /// Describes the root volume for a WorkSpace bundle. public struct RootStorage { /// The size of the root volume. + /// This member is required. public var capacity: Swift.String? public init( @@ -1212,6 +1336,7 @@ extension WorkSpacesClientTypes { /// Describes the user volume for a WorkSpace bundle. public struct UserStorage { /// The size of the user volume. + /// This member is required. public var capacity: Swift.String? public init( @@ -1324,6 +1449,55 @@ extension WorkSpacesClientTypes { } +extension WorkSpacesClientTypes { + /// Describes the user capacity for a pool of WorkSpaces. + public struct Capacity { + /// The desired number of user sessions for a multi-session pool. This is not allowed for single-session pools. + /// This member is required. + public var desiredUserSessions: Swift.Int? + + public init( + desiredUserSessions: Swift.Int? = nil + ) + { + self.desiredUserSessions = desiredUserSessions + } + } + +} + +extension WorkSpacesClientTypes { + /// Describes the capacity status for a pool of WorkSpaces. + public struct CapacityStatus { + /// The number of user sessions currently being used for pool sessions. This only applies to multi-session pools. + /// This member is required. + public var activeUserSessions: Swift.Int? + /// The total number of session slots that are available for a pool of WorkSpaces. + /// This member is required. + public var actualUserSessions: Swift.Int? + /// The number of user sessions currently being used for pool sessions. This only applies to multi-session pools. + /// This member is required. + public var availableUserSessions: Swift.Int? + /// The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state. + /// This member is required. + public var desiredUserSessions: Swift.Int? + + public init( + activeUserSessions: Swift.Int? = nil, + actualUserSessions: Swift.Int? = nil, + availableUserSessions: Swift.Int? = nil, + desiredUserSessions: Swift.Int? = nil + ) + { + self.activeUserSessions = activeUserSessions + self.actualUserSessions = actualUserSessions + self.availableUserSessions = availableUserSessions + self.desiredUserSessions = desiredUserSessions + } + } + +} + extension WorkSpacesClientTypes { public enum CertificateBasedAuthStatusEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1701,7 +1875,7 @@ public struct ResourceUnavailableException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -1820,7 +1994,7 @@ public struct ResourceCreationFailedException: ClientRuntime.ModeledError, AWSCl public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2448,6 +2622,7 @@ extension WorkSpacesClientTypes { public enum OperatingSystemName: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case amazonLinux2 + case rhel8 case ubuntu1804 case ubuntu2004 case ubuntu2204 @@ -2463,6 +2638,7 @@ extension WorkSpacesClientTypes { public static var allCases: [OperatingSystemName] { return [ .amazonLinux2, + .rhel8, .ubuntu1804, .ubuntu2004, .ubuntu2204, @@ -2484,6 +2660,7 @@ extension WorkSpacesClientTypes { public var rawValue: Swift.String { switch self { case .amazonLinux2: return "AMAZON_LINUX_2" + case .rhel8: return "RHEL_8" case .ubuntu1804: return "UBUNTU_18_04" case .ubuntu2004: return "UBUNTU_20_04" case .ubuntu2204: return "UBUNTU_22_04" @@ -3018,6 +3195,362 @@ public struct CreateWorkspacesOutput { } } +extension WorkSpacesClientTypes { + /// Describes the timeout settings for a pool of WorkSpaces. + public struct TimeoutSettings { + /// Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance. + public var disconnectTimeoutInSeconds: Swift.Int? + /// The amount of time in seconds a connection will stay active while idle. + public var idleDisconnectTimeoutInSeconds: Swift.Int? + /// Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. + public var maxUserDurationInSeconds: Swift.Int? + + public init( + disconnectTimeoutInSeconds: Swift.Int? = nil, + idleDisconnectTimeoutInSeconds: Swift.Int? = nil, + maxUserDurationInSeconds: Swift.Int? = nil + ) + { + self.disconnectTimeoutInSeconds = disconnectTimeoutInSeconds + self.idleDisconnectTimeoutInSeconds = idleDisconnectTimeoutInSeconds + self.maxUserDurationInSeconds = maxUserDurationInSeconds + } + } + +} + +public struct CreateWorkspacesPoolInput { + /// Indicates the application settings of the pool. + public var applicationSettings: WorkSpacesClientTypes.ApplicationSettingsRequest? + /// The identifier of the bundle for the pool. + /// This member is required. + public var bundleId: Swift.String? + /// The user capacity of the pool. + /// This member is required. + public var capacity: WorkSpacesClientTypes.Capacity? + /// The pool description. + /// This member is required. + public var description: Swift.String? + /// The identifier of the directory for the pool. + /// This member is required. + public var directoryId: Swift.String? + /// The name of the pool. + /// This member is required. + public var poolName: Swift.String? + /// The tags for the pool. + public var tags: [WorkSpacesClientTypes.Tag]? + /// Indicates the timeout settings of the pool. + public var timeoutSettings: WorkSpacesClientTypes.TimeoutSettings? + + public init( + applicationSettings: WorkSpacesClientTypes.ApplicationSettingsRequest? = nil, + bundleId: Swift.String? = nil, + capacity: WorkSpacesClientTypes.Capacity? = nil, + description: Swift.String? = nil, + directoryId: Swift.String? = nil, + poolName: Swift.String? = nil, + tags: [WorkSpacesClientTypes.Tag]? = nil, + timeoutSettings: WorkSpacesClientTypes.TimeoutSettings? = nil + ) + { + self.applicationSettings = applicationSettings + self.bundleId = bundleId + self.capacity = capacity + self.description = description + self.directoryId = directoryId + self.poolName = poolName + self.tags = tags + self.timeoutSettings = timeoutSettings + } +} + +extension WorkSpacesClientTypes { + + public enum WorkspacesPoolErrorCode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case bundleNotFound + case defaultOuIsMissing + case directoryNotFound + case domainJoinErrorAccessDenied + case domainJoinErrorDsMachineAccountQuotaExceeded + case domainJoinErrorFileNotFound + case domainJoinErrorInvalidParameter + case domainJoinErrorLogonFailure + case domainJoinErrorMoreData + case domainJoinErrorNotSupported + case domainJoinErrorNoSuchDomain + case domainJoinErrorSecretActionPermissionIsMissing + case domainJoinErrorSecretDecryptionFailure + case domainJoinErrorSecretInvalid + case domainJoinErrorSecretNotFound + case domainJoinErrorSecretStateInvalid + case domainJoinErrorSecretValueKeyNotFound + case domainJoinInternalServiceError + case domainJoinNerrInvalidWorkgroupName + case domainJoinNerrPasswordExpired + case domainJoinNerrWorkstationNotStarted + case iamServiceRoleIsMissing + case iamServiceRoleMissingDescribeSecurityGroupsAction + case iamServiceRoleMissingDescribeSubnetAction + case iamServiceRoleMissingEniCreateAction + case iamServiceRoleMissingEniDeleteAction + case iamServiceRoleMissingEniDescribeAction + case igwNotAttached + case imageNotFound + case insufficientPermissionsError + case internalServiceError + case invalidSubnetConfiguration + case machineRoleIsMissing + case networkInterfaceLimitExceeded + case securityGroupsNotFound + case stsDisabledInRegion + case subnetHasInsufficientIpAddresses + case subnetNotFound + case workspacesPoolInstanceProvisioningFailure + case workspacesPoolStopped + case sdkUnknown(Swift.String) + + public static var allCases: [WorkspacesPoolErrorCode] { + return [ + .bundleNotFound, + .defaultOuIsMissing, + .directoryNotFound, + .domainJoinErrorAccessDenied, + .domainJoinErrorDsMachineAccountQuotaExceeded, + .domainJoinErrorFileNotFound, + .domainJoinErrorInvalidParameter, + .domainJoinErrorLogonFailure, + .domainJoinErrorMoreData, + .domainJoinErrorNotSupported, + .domainJoinErrorNoSuchDomain, + .domainJoinErrorSecretActionPermissionIsMissing, + .domainJoinErrorSecretDecryptionFailure, + .domainJoinErrorSecretInvalid, + .domainJoinErrorSecretNotFound, + .domainJoinErrorSecretStateInvalid, + .domainJoinErrorSecretValueKeyNotFound, + .domainJoinInternalServiceError, + .domainJoinNerrInvalidWorkgroupName, + .domainJoinNerrPasswordExpired, + .domainJoinNerrWorkstationNotStarted, + .iamServiceRoleIsMissing, + .iamServiceRoleMissingDescribeSecurityGroupsAction, + .iamServiceRoleMissingDescribeSubnetAction, + .iamServiceRoleMissingEniCreateAction, + .iamServiceRoleMissingEniDeleteAction, + .iamServiceRoleMissingEniDescribeAction, + .igwNotAttached, + .imageNotFound, + .insufficientPermissionsError, + .internalServiceError, + .invalidSubnetConfiguration, + .machineRoleIsMissing, + .networkInterfaceLimitExceeded, + .securityGroupsNotFound, + .stsDisabledInRegion, + .subnetHasInsufficientIpAddresses, + .subnetNotFound, + .workspacesPoolInstanceProvisioningFailure, + .workspacesPoolStopped + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .bundleNotFound: return "BUNDLE_NOT_FOUND" + case .defaultOuIsMissing: return "DEFAULT_OU_IS_MISSING" + case .directoryNotFound: return "DIRECTORY_NOT_FOUND" + case .domainJoinErrorAccessDenied: return "DOMAIN_JOIN_ERROR_ACCESS_DENIED" + case .domainJoinErrorDsMachineAccountQuotaExceeded: return "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" + case .domainJoinErrorFileNotFound: return "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" + case .domainJoinErrorInvalidParameter: return "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" + case .domainJoinErrorLogonFailure: return "DOMAIN_JOIN_ERROR_LOGON_FAILURE" + case .domainJoinErrorMoreData: return "DOMAIN_JOIN_ERROR_MORE_DATA" + case .domainJoinErrorNotSupported: return "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" + case .domainJoinErrorNoSuchDomain: return "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" + case .domainJoinErrorSecretActionPermissionIsMissing: return "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING" + case .domainJoinErrorSecretDecryptionFailure: return "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE" + case .domainJoinErrorSecretInvalid: return "DOMAIN_JOIN_ERROR_SECRET_INVALID" + case .domainJoinErrorSecretNotFound: return "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND" + case .domainJoinErrorSecretStateInvalid: return "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID" + case .domainJoinErrorSecretValueKeyNotFound: return "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND" + case .domainJoinInternalServiceError: return "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" + case .domainJoinNerrInvalidWorkgroupName: return "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" + case .domainJoinNerrPasswordExpired: return "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" + case .domainJoinNerrWorkstationNotStarted: return "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" + case .iamServiceRoleIsMissing: return "IAM_SERVICE_ROLE_IS_MISSING" + case .iamServiceRoleMissingDescribeSecurityGroupsAction: return "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" + case .iamServiceRoleMissingDescribeSubnetAction: return "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" + case .iamServiceRoleMissingEniCreateAction: return "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" + case .iamServiceRoleMissingEniDeleteAction: return "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" + case .iamServiceRoleMissingEniDescribeAction: return "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" + case .igwNotAttached: return "IGW_NOT_ATTACHED" + case .imageNotFound: return "IMAGE_NOT_FOUND" + case .insufficientPermissionsError: return "INSUFFICIENT_PERMISSIONS_ERROR" + case .internalServiceError: return "INTERNAL_SERVICE_ERROR" + case .invalidSubnetConfiguration: return "INVALID_SUBNET_CONFIGURATION" + case .machineRoleIsMissing: return "MACHINE_ROLE_IS_MISSING" + case .networkInterfaceLimitExceeded: return "NETWORK_INTERFACE_LIMIT_EXCEEDED" + case .securityGroupsNotFound: return "SECURITY_GROUPS_NOT_FOUND" + case .stsDisabledInRegion: return "STS_DISABLED_IN_REGION" + case .subnetHasInsufficientIpAddresses: return "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" + case .subnetNotFound: return "SUBNET_NOT_FOUND" + case .workspacesPoolInstanceProvisioningFailure: return "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE" + case .workspacesPoolStopped: return "WORKSPACES_POOL_STOPPED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// Describes a pool error. + public struct WorkspacesPoolError { + /// The error code. + public var errorCode: WorkSpacesClientTypes.WorkspacesPoolErrorCode? + /// The error message. + public var errorMessage: Swift.String? + + public init( + errorCode: WorkSpacesClientTypes.WorkspacesPoolErrorCode? = nil, + errorMessage: Swift.String? = nil + ) + { + self.errorCode = errorCode + self.errorMessage = errorMessage + } + } + +} + +extension WorkSpacesClientTypes { + + public enum WorkspacesPoolState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case creating + case deleting + case running + case starting + case stopped + case stopping + case updating + case sdkUnknown(Swift.String) + + public static var allCases: [WorkspacesPoolState] { + return [ + .creating, + .deleting, + .running, + .starting, + .stopped, + .stopping, + .updating + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .creating: return "CREATING" + case .deleting: return "DELETING" + case .running: return "RUNNING" + case .starting: return "STARTING" + case .stopped: return "STOPPED" + case .stopping: return "STOPPING" + case .updating: return "UPDATING" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// Describes a pool of WorkSpaces. + public struct WorkspacesPool { + /// The persistent application settings for users of the pool. + public var applicationSettings: WorkSpacesClientTypes.ApplicationSettingsResponse? + /// The identifier of the bundle used by the pool. + /// This member is required. + public var bundleId: Swift.String? + /// The capacity status for the pool + /// This member is required. + public var capacityStatus: WorkSpacesClientTypes.CapacityStatus? + /// The time the pool was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The description of the pool. + public var description: Swift.String? + /// The identifier of the directory used by the pool. + /// This member is required. + public var directoryId: Swift.String? + /// The pool errors. + public var errors: [WorkSpacesClientTypes.WorkspacesPoolError]? + /// The Amazon Resource Name (ARN) for the pool. + /// This member is required. + public var poolArn: Swift.String? + /// The identifier of a pool. + /// This member is required. + public var poolId: Swift.String? + /// The name of the pool, + /// This member is required. + public var poolName: Swift.String? + /// The current state of the pool. + /// This member is required. + public var state: WorkSpacesClientTypes.WorkspacesPoolState? + /// The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance. + public var timeoutSettings: WorkSpacesClientTypes.TimeoutSettings? + + public init( + applicationSettings: WorkSpacesClientTypes.ApplicationSettingsResponse? = nil, + bundleId: Swift.String? = nil, + capacityStatus: WorkSpacesClientTypes.CapacityStatus? = nil, + createdAt: Foundation.Date? = nil, + description: Swift.String? = nil, + directoryId: Swift.String? = nil, + errors: [WorkSpacesClientTypes.WorkspacesPoolError]? = nil, + poolArn: Swift.String? = nil, + poolId: Swift.String? = nil, + poolName: Swift.String? = nil, + state: WorkSpacesClientTypes.WorkspacesPoolState? = nil, + timeoutSettings: WorkSpacesClientTypes.TimeoutSettings? = nil + ) + { + self.applicationSettings = applicationSettings + self.bundleId = bundleId + self.capacityStatus = capacityStatus + self.createdAt = createdAt + self.description = description + self.directoryId = directoryId + self.errors = errors + self.poolArn = poolArn + self.poolId = poolId + self.poolName = poolName + self.state = state + self.timeoutSettings = timeoutSettings + } + } + +} + +public struct CreateWorkspacesPoolOutput { + /// Indicates the pool to create. + public var workspacesPool: WorkSpacesClientTypes.WorkspacesPool? + + public init( + workspacesPool: WorkSpacesClientTypes.WorkspacesPool? = nil + ) + { + self.workspacesPool = workspacesPool + } +} + extension WorkSpacesClientTypes { public enum DedicatedTenancyAccountType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -3166,6 +3699,8 @@ extension WorkSpacesClientTypes { public var enableMaintenanceMode: Swift.Bool? /// Specifies whether the directory is enabled for Amazon WorkDocs. public var enableWorkDocs: Swift.Bool? + /// Indicates the IAM role ARN of the instance. + public var instanceIamRoleArn: Swift.String? /// Specifies whether WorkSpace users are local administrators on their WorkSpaces. public var userEnabledAsLocalAdministrator: Swift.Bool? @@ -3175,6 +3710,7 @@ extension WorkSpacesClientTypes { enableInternetAccess: Swift.Bool? = nil, enableMaintenanceMode: Swift.Bool? = nil, enableWorkDocs: Swift.Bool? = nil, + instanceIamRoleArn: Swift.String? = nil, userEnabledAsLocalAdministrator: Swift.Bool? = nil ) { @@ -3183,6 +3719,7 @@ extension WorkSpacesClientTypes { self.enableInternetAccess = enableInternetAccess self.enableMaintenanceMode = enableMaintenanceMode self.enableWorkDocs = enableWorkDocs + self.instanceIamRoleArn = instanceIamRoleArn self.userEnabledAsLocalAdministrator = userEnabledAsLocalAdministrator } } @@ -4259,16 +4796,20 @@ public struct DescribeWorkspaceDirectoriesInput { public var limit: Swift.Int? /// If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. public var nextToken: Swift.String? + /// The names of the WorkSpace directories. + public var workspaceDirectoryNames: [Swift.String]? public init( directoryIds: [Swift.String]? = nil, limit: Swift.Int? = nil, - nextToken: Swift.String? = nil + nextToken: Swift.String? = nil, + workspaceDirectoryNames: [Swift.String]? = nil ) { self.directoryIds = directoryIds self.limit = limit self.nextToken = nextToken + self.workspaceDirectoryNames = workspaceDirectoryNames } } @@ -4276,12 +4817,14 @@ extension WorkSpacesClientTypes { public enum WorkspaceDirectoryType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case adConnector + case customerManaged case simpleAd case sdkUnknown(Swift.String) public static var allCases: [WorkspaceDirectoryType] { return [ .adConnector, + .customerManaged, .simpleAd ] } @@ -4294,6 +4837,7 @@ extension WorkSpacesClientTypes { public var rawValue: Swift.String { switch self { case .adConnector: return "AD_CONNECTOR" + case .customerManaged: return "CUSTOMER_MANAGED" case .simpleAd: return "SIMPLE_AD" case let .sdkUnknown(s): return s } @@ -4435,7 +4979,227 @@ extension WorkSpacesClientTypes { extension WorkSpacesClientTypes { - public enum Tenancy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + public enum StorageConnectorTypeEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case homeFolder + case sdkUnknown(Swift.String) + + public static var allCases: [StorageConnectorTypeEnum] { + return [ + .homeFolder + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .homeFolder: return "HOME_FOLDER" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + + public enum StorageConnectorStatusEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [StorageConnectorStatusEnum] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// Describes the storage connector. + public struct StorageConnector { + /// The type of connector used to save user files. + /// This member is required. + public var connectorType: WorkSpacesClientTypes.StorageConnectorTypeEnum? + /// Indicates if the storage connetor is enabled or disabled. + /// This member is required. + public var status: WorkSpacesClientTypes.StorageConnectorStatusEnum? + + public init( + connectorType: WorkSpacesClientTypes.StorageConnectorTypeEnum? = nil, + status: WorkSpacesClientTypes.StorageConnectorStatusEnum? = nil + ) + { + self.connectorType = connectorType + self.status = status + } + } + +} + +extension WorkSpacesClientTypes { + + public enum StreamingExperiencePreferredProtocolEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case tcp + case udp + case sdkUnknown(Swift.String) + + public static var allCases: [StreamingExperiencePreferredProtocolEnum] { + return [ + .tcp, + .udp + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .tcp: return "TCP" + case .udp: return "UDP" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + + public enum UserSettingActionEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case clipboardCopyFromLocalDevice + case clipboardCopyToLocalDevice + case printingToLocalDevice + case smartCard + case sdkUnknown(Swift.String) + + public static var allCases: [UserSettingActionEnum] { + return [ + .clipboardCopyFromLocalDevice, + .clipboardCopyToLocalDevice, + .printingToLocalDevice, + .smartCard + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .clipboardCopyFromLocalDevice: return "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" + case .clipboardCopyToLocalDevice: return "CLIPBOARD_COPY_TO_LOCAL_DEVICE" + case .printingToLocalDevice: return "PRINTING_TO_LOCAL_DEVICE" + case .smartCard: return "SMART_CARD" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + + public enum UserSettingPermissionEnum: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [UserSettingPermissionEnum] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// Information about the user's permission settings. + public struct UserSetting { + /// Indicates the type of action. + /// This member is required. + public var action: WorkSpacesClientTypes.UserSettingActionEnum? + /// Indicates the maximum character length for the specified user setting. + public var maximumLength: Swift.Int? + /// Indicates if the setting is enabled or disabled. + /// This member is required. + public var permission: WorkSpacesClientTypes.UserSettingPermissionEnum? + + public init( + action: WorkSpacesClientTypes.UserSettingActionEnum? = nil, + maximumLength: Swift.Int? = nil, + permission: WorkSpacesClientTypes.UserSettingPermissionEnum? = nil + ) + { + self.action = action + self.maximumLength = maximumLength + self.permission = permission + } + } + +} + +extension WorkSpacesClientTypes { + /// Describes the streaming properties. + public struct StreamingProperties { + /// Indicates the storage connector used + public var storageConnectors: [WorkSpacesClientTypes.StorageConnector]? + /// Indicates the type of preferred protocol for the streaming experience. + public var streamingExperiencePreferredProtocol: WorkSpacesClientTypes.StreamingExperiencePreferredProtocolEnum? + /// Indicates the permission settings asscoiated with the user. + public var userSettings: [WorkSpacesClientTypes.UserSetting]? + + public init( + storageConnectors: [WorkSpacesClientTypes.StorageConnector]? = nil, + streamingExperiencePreferredProtocol: WorkSpacesClientTypes.StreamingExperiencePreferredProtocolEnum? = nil, + userSettings: [WorkSpacesClientTypes.UserSetting]? = nil + ) + { + self.storageConnectors = storageConnectors + self.streamingExperiencePreferredProtocol = streamingExperiencePreferredProtocol + self.userSettings = userSettings + } + } + +} + +extension WorkSpacesClientTypes { + + public enum Tenancy: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case dedicated case shared case sdkUnknown(Swift.String) @@ -4462,6 +5226,35 @@ extension WorkSpacesClientTypes { } } +extension WorkSpacesClientTypes { + + public enum UserIdentityType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case awsDirectoryService + case customerManaged + case sdkUnknown(Swift.String) + + public static var allCases: [UserIdentityType] { + return [ + .awsDirectoryService, + .customerManaged + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .awsDirectoryService: return "AWS_DIRECTORY_SERVICE" + case .customerManaged: return "CUSTOMER_MANAGED" + case let .sdkUnknown(s): return s + } + } + } +} + extension WorkSpacesClientTypes { /// The device types and operating systems that can be used to access a WorkSpace. For more information, see [Amazon WorkSpaces Client Network Requirements](https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-network-requirements.html). public struct WorkspaceAccessProperties { @@ -4506,9 +5299,40 @@ extension WorkSpacesClientTypes { } +extension WorkSpacesClientTypes { + + public enum WorkspaceType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case personal + case pools + case sdkUnknown(Swift.String) + + public static var allCases: [WorkspaceType] { + return [ + .personal, + .pools + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .personal: return "PERSONAL" + case .pools: return "POOLS" + case let .sdkUnknown(s): return s + } + } + } +} + extension WorkSpacesClientTypes { /// Describes a directory that is used with Amazon WorkSpaces. public struct WorkspaceDirectory { + /// Information about the Active Directory config. + public var activeDirectoryConfig: WorkSpacesClientTypes.ActiveDirectoryConfig? /// The directory alias. public var alias: Swift.String? /// The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login. @@ -4523,6 +5347,8 @@ extension WorkSpacesClientTypes { public var directoryType: WorkSpacesClientTypes.WorkspaceDirectoryType? /// The IP addresses of the DNS servers for the directory. public var dnsIpAddresses: [Swift.String]? + /// The error message returned. + public var errorMessage: Swift.String? /// The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf. public var iamRoleId: Swift.String? /// The identifiers of the IP access control groups associated with the directory. @@ -4535,18 +5361,29 @@ extension WorkSpacesClientTypes { public var selfservicePermissions: WorkSpacesClientTypes.SelfservicePermissions? /// The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using [ DescribeWorkspaceDirectories](https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceDirectories.html). If the directory ID isn't returned, then the directory has been successfully deregistered. public var state: WorkSpacesClientTypes.WorkspaceDirectoryState? + /// The streaming properties to configure. + public var streamingProperties: WorkSpacesClientTypes.StreamingProperties? /// The identifiers of the subnets used with the directory. public var subnetIds: [Swift.String]? /// Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see [Bring Your Own Windows Desktop Images](https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). public var tenancy: WorkSpacesClientTypes.Tenancy? + /// Indicates the identity type of the specifired user. + public var userIdentityType: WorkSpacesClientTypes.UserIdentityType? /// The devices and operating systems that users can use to access WorkSpaces. public var workspaceAccessProperties: WorkSpacesClientTypes.WorkspaceAccessProperties? /// The default creation properties for all WorkSpaces in the directory. public var workspaceCreationProperties: WorkSpacesClientTypes.DefaultWorkspaceCreationProperties? + /// The description of the WorkSpace directory + public var workspaceDirectoryDescription: Swift.String? + /// The name fo the WorkSpace directory. + public var workspaceDirectoryName: Swift.String? /// The identifier of the security group that is assigned to new WorkSpaces. public var workspaceSecurityGroupId: Swift.String? + /// Indicates whether the directory's WorkSpace type is personal or pools. + public var workspaceType: WorkSpacesClientTypes.WorkspaceType? public init( + activeDirectoryConfig: WorkSpacesClientTypes.ActiveDirectoryConfig? = nil, alias: Swift.String? = nil, certificateBasedAuthProperties: WorkSpacesClientTypes.CertificateBasedAuthProperties? = nil, customerUserName: Swift.String? = nil, @@ -4554,19 +5391,26 @@ extension WorkSpacesClientTypes { directoryName: Swift.String? = nil, directoryType: WorkSpacesClientTypes.WorkspaceDirectoryType? = nil, dnsIpAddresses: [Swift.String]? = nil, + errorMessage: Swift.String? = nil, iamRoleId: Swift.String? = nil, ipGroupIds: [Swift.String]? = nil, registrationCode: Swift.String? = nil, samlProperties: WorkSpacesClientTypes.SamlProperties? = nil, selfservicePermissions: WorkSpacesClientTypes.SelfservicePermissions? = nil, state: WorkSpacesClientTypes.WorkspaceDirectoryState? = nil, + streamingProperties: WorkSpacesClientTypes.StreamingProperties? = nil, subnetIds: [Swift.String]? = nil, tenancy: WorkSpacesClientTypes.Tenancy? = nil, + userIdentityType: WorkSpacesClientTypes.UserIdentityType? = nil, workspaceAccessProperties: WorkSpacesClientTypes.WorkspaceAccessProperties? = nil, workspaceCreationProperties: WorkSpacesClientTypes.DefaultWorkspaceCreationProperties? = nil, - workspaceSecurityGroupId: Swift.String? = nil + workspaceDirectoryDescription: Swift.String? = nil, + workspaceDirectoryName: Swift.String? = nil, + workspaceSecurityGroupId: Swift.String? = nil, + workspaceType: WorkSpacesClientTypes.WorkspaceType? = nil ) { + self.activeDirectoryConfig = activeDirectoryConfig self.alias = alias self.certificateBasedAuthProperties = certificateBasedAuthProperties self.customerUserName = customerUserName @@ -4574,17 +5418,23 @@ extension WorkSpacesClientTypes { self.directoryName = directoryName self.directoryType = directoryType self.dnsIpAddresses = dnsIpAddresses + self.errorMessage = errorMessage self.iamRoleId = iamRoleId self.ipGroupIds = ipGroupIds self.registrationCode = registrationCode self.samlProperties = samlProperties self.selfservicePermissions = selfservicePermissions self.state = state + self.streamingProperties = streamingProperties self.subnetIds = subnetIds self.tenancy = tenancy + self.userIdentityType = userIdentityType self.workspaceAccessProperties = workspaceAccessProperties self.workspaceCreationProperties = workspaceCreationProperties + self.workspaceDirectoryDescription = workspaceDirectoryDescription + self.workspaceDirectoryName = workspaceDirectoryName self.workspaceSecurityGroupId = workspaceSecurityGroupId + self.workspaceType = workspaceType } } @@ -5090,6 +5940,275 @@ public struct DescribeWorkspaceSnapshotsOutput { } } +extension WorkSpacesClientTypes { + + public enum DescribeWorkspacesPoolsFilterName: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case poolname + case sdkUnknown(Swift.String) + + public static var allCases: [DescribeWorkspacesPoolsFilterName] { + return [ + .poolname + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .poolname: return "PoolName" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + + public enum DescribeWorkspacesPoolsFilterOperator: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case contains + case equals + case notcontains + case notequals + case sdkUnknown(Swift.String) + + public static var allCases: [DescribeWorkspacesPoolsFilterOperator] { + return [ + .contains, + .equals, + .notcontains, + .notequals + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .contains: return "CONTAINS" + case .equals: return "EQUALS" + case .notcontains: return "NOTCONTAINS" + case .notequals: return "NOTEQUALS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// Describes the filter conditions for WorkSpaces Pools to return. + public struct DescribeWorkspacesPoolsFilter { + /// The name of the pool to filter. + /// This member is required. + public var name: WorkSpacesClientTypes.DescribeWorkspacesPoolsFilterName? + /// The operator values for filtering WorkSpaces Pools. + /// This member is required. + public var `operator`: WorkSpacesClientTypes.DescribeWorkspacesPoolsFilterOperator? + /// The values for filtering WorkSpaces Pools. + /// This member is required. + public var values: [Swift.String]? + + public init( + name: WorkSpacesClientTypes.DescribeWorkspacesPoolsFilterName? = nil, + `operator`: WorkSpacesClientTypes.DescribeWorkspacesPoolsFilterOperator? = nil, + values: [Swift.String]? = nil + ) + { + self.name = name + self.`operator` = `operator` + self.values = values + } + } + +} + +public struct DescribeWorkspacesPoolsInput { + /// The filter conditions for the WorkSpaces Pool to return. + public var filters: [WorkSpacesClientTypes.DescribeWorkspacesPoolsFilter]? + /// The maximum number of items to return. + public var limit: Swift.Int? + /// If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. + public var nextToken: Swift.String? + /// The identifier of the WorkSpaces Pools. + public var poolIds: [Swift.String]? + + public init( + filters: [WorkSpacesClientTypes.DescribeWorkspacesPoolsFilter]? = nil, + limit: Swift.Int? = nil, + nextToken: Swift.String? = nil, + poolIds: [Swift.String]? = nil + ) + { + self.filters = filters + self.limit = limit + self.nextToken = nextToken + self.poolIds = poolIds + } +} + +public struct DescribeWorkspacesPoolsOutput { + /// If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. + public var nextToken: Swift.String? + /// Information about the WorkSpaces Pools. + public var workspacesPools: [WorkSpacesClientTypes.WorkspacesPool]? + + public init( + nextToken: Swift.String? = nil, + workspacesPools: [WorkSpacesClientTypes.WorkspacesPool]? = nil + ) + { + self.nextToken = nextToken + self.workspacesPools = workspacesPools + } +} + +public struct DescribeWorkspacesPoolSessionsInput { + /// The maximum number of items to return. + public var limit: Swift.Int? + /// If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. + public var nextToken: Swift.String? + /// The identifier of the pool. + /// This member is required. + public var poolId: Swift.String? + /// The identifier of the user. + public var userId: Swift.String? + + public init( + limit: Swift.Int? = nil, + nextToken: Swift.String? = nil, + poolId: Swift.String? = nil, + userId: Swift.String? = nil + ) + { + self.limit = limit + self.nextToken = nextToken + self.poolId = poolId + self.userId = userId + } +} + +extension WorkSpacesClientTypes { + + public enum SessionConnectionState: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case connected + case notConnected + case sdkUnknown(Swift.String) + + public static var allCases: [SessionConnectionState] { + return [ + .connected, + .notConnected + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .connected: return "CONNECTED" + case .notConnected: return "NOT_CONNECTED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesClientTypes { + /// Describes the network details of a WorkSpaces Pool. + public struct NetworkAccessConfiguration { + /// The resource identifier of the elastic network interface that is attached to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource identifier. + public var eniId: Swift.String? + /// The private IP address of the elastic network interface that is attached to instances in your VPC. + public var eniPrivateIpAddress: Swift.String? + + public init( + eniId: Swift.String? = nil, + eniPrivateIpAddress: Swift.String? = nil + ) + { + self.eniId = eniId + self.eniPrivateIpAddress = eniPrivateIpAddress + } + } + +} + +extension WorkSpacesClientTypes { + /// Describes a pool session. + public struct WorkspacesPoolSession { + /// The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML). + public var authenticationType: WorkSpacesClientTypes.AuthenticationType? + /// Specifies whether a user is connected to the pool session. + public var connectionState: WorkSpacesClientTypes.SessionConnectionState? + /// The time that the pool session ended. + public var expirationTime: Foundation.Date? + /// The identifier for the instance hosting the session. + public var instanceId: Swift.String? + /// Describes the network details of the pool. + public var networkAccessConfiguration: WorkSpacesClientTypes.NetworkAccessConfiguration? + /// The identifier of the pool. + /// This member is required. + public var poolId: Swift.String? + /// The identifier of the session. + /// This member is required. + public var sessionId: Swift.String? + /// The time that the pool sission started. + public var startTime: Foundation.Date? + /// The identifier of the user. + /// This member is required. + public var userId: Swift.String? + + public init( + authenticationType: WorkSpacesClientTypes.AuthenticationType? = nil, + connectionState: WorkSpacesClientTypes.SessionConnectionState? = nil, + expirationTime: Foundation.Date? = nil, + instanceId: Swift.String? = nil, + networkAccessConfiguration: WorkSpacesClientTypes.NetworkAccessConfiguration? = nil, + poolId: Swift.String? = nil, + sessionId: Swift.String? = nil, + startTime: Foundation.Date? = nil, + userId: Swift.String? = nil + ) + { + self.authenticationType = authenticationType + self.connectionState = connectionState + self.expirationTime = expirationTime + self.instanceId = instanceId + self.networkAccessConfiguration = networkAccessConfiguration + self.poolId = poolId + self.sessionId = sessionId + self.startTime = startTime + self.userId = userId + } + } + +} + +public struct DescribeWorkspacesPoolSessionsOutput { + /// If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. + public var nextToken: Swift.String? + /// Describes the pool sessions. + public var sessions: [WorkSpacesClientTypes.WorkspacesPoolSession]? + + public init( + nextToken: Swift.String? = nil, + sessions: [WorkSpacesClientTypes.WorkspacesPoolSession]? = nil + ) + { + self.nextToken = nextToken + self.sessions = sessions + } +} + public struct DisassociateConnectionAliasInput { /// The identifier of the connection alias to disassociate. /// This member is required. @@ -5511,7 +6630,7 @@ public struct OperationInProgressException: ClientRuntime.ModeledError, AWSClien public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5680,6 +6799,28 @@ public struct ModifySelfservicePermissionsOutput { public init() { } } +public struct ModifyStreamingPropertiesInput { + /// The identifier of the resource. + /// This member is required. + public var resourceId: Swift.String? + /// The streaming properties to configure. + public var streamingProperties: WorkSpacesClientTypes.StreamingProperties? + + public init( + resourceId: Swift.String? = nil, + streamingProperties: WorkSpacesClientTypes.StreamingProperties? = nil + ) + { + self.resourceId = resourceId + self.streamingProperties = streamingProperties + } +} + +public struct ModifyStreamingPropertiesOutput { + + public init() { } +} + public struct ModifyWorkspaceAccessPropertiesInput { /// The identifier of the directory. /// This member is required. @@ -5720,6 +6861,8 @@ extension WorkSpacesClientTypes { public var enableMaintenanceMode: Swift.Bool? /// Indicates whether Amazon WorkDocs is enabled for your WorkSpaces. If WorkDocs is already enabled for a WorkSpaces directory and you disable it, new WorkSpaces launched in the directory will not have WorkDocs enabled. However, WorkDocs remains enabled for any existing WorkSpaces, unless you either disable users' access to WorkDocs or you delete the WorkDocs site. To disable users' access to WorkDocs, see [Disabling Users](https://docs.aws.amazon.com/workdocs/latest/adminguide/inactive-user.html) in the Amazon WorkDocs Administration Guide. To delete a WorkDocs site, see [Deleting a Site](https://docs.aws.amazon.com/workdocs/latest/adminguide/manage-sites.html) in the Amazon WorkDocs Administration Guide. If you enable WorkDocs on a directory that already has existing WorkSpaces, the existing WorkSpaces and any new WorkSpaces that are launched in the directory will have WorkDocs enabled. public var enableWorkDocs: Swift.Bool? + /// Indicates the IAM role ARN of the instance. + public var instanceIamRoleArn: Swift.String? /// Indicates whether users are local administrators of their WorkSpaces. public var userEnabledAsLocalAdministrator: Swift.Bool? @@ -5729,6 +6872,7 @@ extension WorkSpacesClientTypes { enableInternetAccess: Swift.Bool? = nil, enableMaintenanceMode: Swift.Bool? = nil, enableWorkDocs: Swift.Bool? = nil, + instanceIamRoleArn: Swift.String? = nil, userEnabledAsLocalAdministrator: Swift.Bool? = nil ) { @@ -5737,6 +6881,7 @@ extension WorkSpacesClientTypes { self.enableInternetAccess = enableInternetAccess self.enableMaintenanceMode = enableMaintenanceMode self.enableWorkDocs = enableWorkDocs + self.instanceIamRoleArn = instanceIamRoleArn self.userEnabledAsLocalAdministrator = userEnabledAsLocalAdministrator } } @@ -5778,7 +6923,7 @@ public struct UnsupportedWorkspaceConfigurationException: ClientRuntime.ModeledE public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5964,7 +7109,7 @@ public struct UnsupportedNetworkConfigurationException: ClientRuntime.ModeledErr public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -5988,7 +7133,7 @@ public struct WorkspacesDefaultRoleNotFoundException: ClientRuntime.ModeledError public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -6001,13 +7146,13 @@ public struct WorkspacesDefaultRoleNotFoundException: ClientRuntime.ModeledError } public struct RegisterWorkspaceDirectoryInput { + /// The active directory config of the directory. + public var activeDirectoryConfig: WorkSpacesClientTypes.ActiveDirectoryConfig? /// The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again. - /// This member is required. public var directoryId: Swift.String? /// Indicates whether self-service capabilities are enabled or disabled. public var enableSelfService: Swift.Bool? /// Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled this parameter and WorkDocs is not available in the Region, you will receive an OperationNotSupportedException error. Set EnableWorkDocs to disabled, and try again. - /// This member is required. public var enableWorkDocs: Swift.Bool? /// The identifiers of the subnets for your virtual private cloud (VPC). Make sure that the subnets are in supported Availability Zones. The subnets must also be in separate Availability Zones. If these conditions are not met, you will receive an OperationNotSupportedException error. public var subnetIds: [Swift.String]? @@ -6015,28 +7160,57 @@ public struct RegisterWorkspaceDirectoryInput { public var tags: [WorkSpacesClientTypes.Tag]? /// Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own License (BYOL) images, this value must be set to DEDICATED and your Amazon Web Services account must be enabled for BYOL. If your account has not been enabled for BYOL, you will receive an InvalidParameterValuesException error. For more information about BYOL images, see [Bring Your Own Windows Desktop Images](https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). public var tenancy: WorkSpacesClientTypes.Tenancy? + /// The type of identity management the user is using. + public var userIdentityType: WorkSpacesClientTypes.UserIdentityType? + /// Description of the directory to register. + public var workspaceDirectoryDescription: Swift.String? + /// The name of the directory to register. + public var workspaceDirectoryName: Swift.String? + /// Indicates whether the directory's WorkSpace type is personal or pools. + public var workspaceType: WorkSpacesClientTypes.WorkspaceType? public init( + activeDirectoryConfig: WorkSpacesClientTypes.ActiveDirectoryConfig? = nil, directoryId: Swift.String? = nil, enableSelfService: Swift.Bool? = nil, enableWorkDocs: Swift.Bool? = nil, subnetIds: [Swift.String]? = nil, tags: [WorkSpacesClientTypes.Tag]? = nil, - tenancy: WorkSpacesClientTypes.Tenancy? = nil + tenancy: WorkSpacesClientTypes.Tenancy? = nil, + userIdentityType: WorkSpacesClientTypes.UserIdentityType? = nil, + workspaceDirectoryDescription: Swift.String? = nil, + workspaceDirectoryName: Swift.String? = nil, + workspaceType: WorkSpacesClientTypes.WorkspaceType? = nil ) { + self.activeDirectoryConfig = activeDirectoryConfig self.directoryId = directoryId self.enableSelfService = enableSelfService self.enableWorkDocs = enableWorkDocs self.subnetIds = subnetIds self.tags = tags self.tenancy = tenancy + self.userIdentityType = userIdentityType + self.workspaceDirectoryDescription = workspaceDirectoryDescription + self.workspaceDirectoryName = workspaceDirectoryName + self.workspaceType = workspaceType } } public struct RegisterWorkspaceDirectoryOutput { + /// The identifier of the directory. + public var directoryId: Swift.String? + /// The registration status of the WorkSpace directory. + public var state: WorkSpacesClientTypes.WorkspaceDirectoryState? - public init() { } + public init( + directoryId: Swift.String? = nil, + state: WorkSpacesClientTypes.WorkspaceDirectoryState? = nil + ) + { + self.directoryId = directoryId + self.state = state + } } public struct RejectAccountLinkInvitationInput { @@ -6150,6 +7324,24 @@ public struct StartWorkspacesOutput { } } +public struct StartWorkspacesPoolInput { + /// The identifier of the pool. + /// This member is required. + public var poolId: Swift.String? + + public init( + poolId: Swift.String? = nil + ) + { + self.poolId = poolId + } +} + +public struct StartWorkspacesPoolOutput { + + public init() { } +} + extension WorkSpacesClientTypes { /// Describes the information used to stop a WorkSpace. public struct StopRequest { @@ -6191,6 +7383,24 @@ public struct StopWorkspacesOutput { } } +public struct StopWorkspacesPoolInput { + /// The identifier of the pool. + /// This member is required. + public var poolId: Swift.String? + + public init( + poolId: Swift.String? = nil + ) + { + self.poolId = poolId + } +} + +public struct StopWorkspacesPoolOutput { + + public init() { } +} + extension WorkSpacesClientTypes { /// Describes the information used to terminate a WorkSpace. public struct TerminateRequest { @@ -6233,6 +7443,42 @@ public struct TerminateWorkspacesOutput { } } +public struct TerminateWorkspacesPoolInput { + /// The identifier of the pool. + /// This member is required. + public var poolId: Swift.String? + + public init( + poolId: Swift.String? = nil + ) + { + self.poolId = poolId + } +} + +public struct TerminateWorkspacesPoolOutput { + + public init() { } +} + +public struct TerminateWorkspacesPoolSessionInput { + /// The identifier of the pool session. + /// This member is required. + public var sessionId: Swift.String? + + public init( + sessionId: Swift.String? = nil + ) + { + self.sessionId = sessionId + } +} + +public struct TerminateWorkspacesPoolSessionOutput { + + public init() { } +} + public struct UpdateConnectClientAddInInput { /// The identifier of the client add-in to update. /// This member is required. @@ -6359,6 +7605,55 @@ public struct UpdateWorkspaceImagePermissionOutput { public init() { } } +public struct UpdateWorkspacesPoolInput { + /// The persistent application settings for users in the pool. + public var applicationSettings: WorkSpacesClientTypes.ApplicationSettingsRequest? + /// The identifier of the bundle. + public var bundleId: Swift.String? + /// The desired capacity for the pool. + public var capacity: WorkSpacesClientTypes.Capacity? + /// Describes the specified pool to update. + public var description: Swift.String? + /// The identifier of the directory. + public var directoryId: Swift.String? + /// The identifier of the specified pool to update. + /// This member is required. + public var poolId: Swift.String? + /// Indicates the timeout settings of the specified pool. + public var timeoutSettings: WorkSpacesClientTypes.TimeoutSettings? + + public init( + applicationSettings: WorkSpacesClientTypes.ApplicationSettingsRequest? = nil, + bundleId: Swift.String? = nil, + capacity: WorkSpacesClientTypes.Capacity? = nil, + description: Swift.String? = nil, + directoryId: Swift.String? = nil, + poolId: Swift.String? = nil, + timeoutSettings: WorkSpacesClientTypes.TimeoutSettings? = nil + ) + { + self.applicationSettings = applicationSettings + self.bundleId = bundleId + self.capacity = capacity + self.description = description + self.directoryId = directoryId + self.poolId = poolId + self.timeoutSettings = timeoutSettings + } +} + +public struct UpdateWorkspacesPoolOutput { + /// Describes the specified pool. + public var workspacesPool: WorkSpacesClientTypes.WorkspacesPool? + + public init( + workspacesPool: WorkSpacesClientTypes.WorkspacesPool? = nil + ) + { + self.workspacesPool = workspacesPool + } +} + extension AcceptAccountLinkInvitationInput { static func urlPathProvider(_ value: AcceptAccountLinkInvitationInput) -> Swift.String? { @@ -6471,6 +7766,13 @@ extension CreateWorkspacesInput { } } +extension CreateWorkspacesPoolInput { + + static func urlPathProvider(_ value: CreateWorkspacesPoolInput) -> Swift.String? { + return "/" + } +} + extension DeleteAccountLinkInvitationInput { static func urlPathProvider(_ value: DeleteAccountLinkInvitationInput) -> Swift.String? { @@ -6688,6 +7990,20 @@ extension DescribeWorkspaceSnapshotsInput { } } +extension DescribeWorkspacesPoolsInput { + + static func urlPathProvider(_ value: DescribeWorkspacesPoolsInput) -> Swift.String? { + return "/" + } +} + +extension DescribeWorkspacesPoolSessionsInput { + + static func urlPathProvider(_ value: DescribeWorkspacesPoolSessionsInput) -> Swift.String? { + return "/" + } +} + extension DisassociateConnectionAliasInput { static func urlPathProvider(_ value: DisassociateConnectionAliasInput) -> Swift.String? { @@ -6786,6 +8102,13 @@ extension ModifySelfservicePermissionsInput { } } +extension ModifyStreamingPropertiesInput { + + static func urlPathProvider(_ value: ModifyStreamingPropertiesInput) -> Swift.String? { + return "/" + } +} + extension ModifyWorkspaceAccessPropertiesInput { static func urlPathProvider(_ value: ModifyWorkspaceAccessPropertiesInput) -> Swift.String? { @@ -6863,6 +8186,13 @@ extension StartWorkspacesInput { } } +extension StartWorkspacesPoolInput { + + static func urlPathProvider(_ value: StartWorkspacesPoolInput) -> Swift.String? { + return "/" + } +} + extension StopWorkspacesInput { static func urlPathProvider(_ value: StopWorkspacesInput) -> Swift.String? { @@ -6870,6 +8200,13 @@ extension StopWorkspacesInput { } } +extension StopWorkspacesPoolInput { + + static func urlPathProvider(_ value: StopWorkspacesPoolInput) -> Swift.String? { + return "/" + } +} + extension TerminateWorkspacesInput { static func urlPathProvider(_ value: TerminateWorkspacesInput) -> Swift.String? { @@ -6877,6 +8214,20 @@ extension TerminateWorkspacesInput { } } +extension TerminateWorkspacesPoolInput { + + static func urlPathProvider(_ value: TerminateWorkspacesPoolInput) -> Swift.String? { + return "/" + } +} + +extension TerminateWorkspacesPoolSessionInput { + + static func urlPathProvider(_ value: TerminateWorkspacesPoolSessionInput) -> Swift.String? { + return "/" + } +} + extension UpdateConnectClientAddInInput { static func urlPathProvider(_ value: UpdateConnectClientAddInInput) -> Swift.String? { @@ -6912,6 +8263,13 @@ extension UpdateWorkspaceImagePermissionInput { } } +extension UpdateWorkspacesPoolInput { + + static func urlPathProvider(_ value: UpdateWorkspacesPoolInput) -> Swift.String? { + return "/" + } +} + extension AcceptAccountLinkInvitationInput { static func write(value: AcceptAccountLinkInvitationInput?, to writer: SmithyJSON.Writer) throws { @@ -7070,6 +8428,21 @@ extension CreateWorkspacesInput { } } +extension CreateWorkspacesPoolInput { + + static func write(value: CreateWorkspacesPoolInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ApplicationSettings"].write(value.applicationSettings, with: WorkSpacesClientTypes.ApplicationSettingsRequest.write(value:to:)) + try writer["BundleId"].write(value.bundleId) + try writer["Capacity"].write(value.capacity, with: WorkSpacesClientTypes.Capacity.write(value:to:)) + try writer["Description"].write(value.description) + try writer["DirectoryId"].write(value.directoryId) + try writer["PoolName"].write(value.poolName) + try writer["Tags"].writeList(value.tags, memberWritingClosure: WorkSpacesClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["TimeoutSettings"].write(value.timeoutSettings, with: WorkSpacesClientTypes.TimeoutSettings.write(value:to:)) + } +} + extension DeleteAccountLinkInvitationInput { static func write(value: DeleteAccountLinkInvitationInput?, to writer: SmithyJSON.Writer) throws { @@ -7305,6 +8678,7 @@ extension DescribeWorkspaceDirectoriesInput { try writer["DirectoryIds"].writeList(value.directoryIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Limit"].write(value.limit) try writer["NextToken"].write(value.nextToken) + try writer["WorkspaceDirectoryNames"].writeList(value.workspaceDirectoryNames, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) } } @@ -7360,6 +8734,28 @@ extension DescribeWorkspaceSnapshotsInput { } } +extension DescribeWorkspacesPoolsInput { + + static func write(value: DescribeWorkspacesPoolsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Filters"].writeList(value.filters, memberWritingClosure: WorkSpacesClientTypes.DescribeWorkspacesPoolsFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["Limit"].write(value.limit) + try writer["NextToken"].write(value.nextToken) + try writer["PoolIds"].writeList(value.poolIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension DescribeWorkspacesPoolSessionsInput { + + static func write(value: DescribeWorkspacesPoolSessionsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Limit"].write(value.limit) + try writer["NextToken"].write(value.nextToken) + try writer["PoolId"].write(value.poolId) + try writer["UserId"].write(value.userId) + } +} + extension DisassociateConnectionAliasInput { static func write(value: DisassociateConnectionAliasInput?, to writer: SmithyJSON.Writer) throws { @@ -7498,6 +8894,15 @@ extension ModifySelfservicePermissionsInput { } } +extension ModifyStreamingPropertiesInput { + + static func write(value: ModifyStreamingPropertiesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ResourceId"].write(value.resourceId) + try writer["StreamingProperties"].write(value.streamingProperties, with: WorkSpacesClientTypes.StreamingProperties.write(value:to:)) + } +} + extension ModifyWorkspaceAccessPropertiesInput { static func write(value: ModifyWorkspaceAccessPropertiesInput?, to writer: SmithyJSON.Writer) throws { @@ -7555,12 +8960,17 @@ extension RegisterWorkspaceDirectoryInput { static func write(value: RegisterWorkspaceDirectoryInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["ActiveDirectoryConfig"].write(value.activeDirectoryConfig, with: WorkSpacesClientTypes.ActiveDirectoryConfig.write(value:to:)) try writer["DirectoryId"].write(value.directoryId) try writer["EnableSelfService"].write(value.enableSelfService) try writer["EnableWorkDocs"].write(value.enableWorkDocs) try writer["SubnetIds"].writeList(value.subnetIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Tags"].writeList(value.tags, memberWritingClosure: WorkSpacesClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Tenancy"].write(value.tenancy) + try writer["UserIdentityType"].write(value.userIdentityType) + try writer["WorkspaceDirectoryDescription"].write(value.workspaceDirectoryDescription) + try writer["WorkspaceDirectoryName"].write(value.workspaceDirectoryName) + try writer["WorkspaceType"].write(value.workspaceType) } } @@ -7598,6 +9008,14 @@ extension StartWorkspacesInput { } } +extension StartWorkspacesPoolInput { + + static func write(value: StartWorkspacesPoolInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["PoolId"].write(value.poolId) + } +} + extension StopWorkspacesInput { static func write(value: StopWorkspacesInput?, to writer: SmithyJSON.Writer) throws { @@ -7606,6 +9024,14 @@ extension StopWorkspacesInput { } } +extension StopWorkspacesPoolInput { + + static func write(value: StopWorkspacesPoolInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["PoolId"].write(value.poolId) + } +} + extension TerminateWorkspacesInput { static func write(value: TerminateWorkspacesInput?, to writer: SmithyJSON.Writer) throws { @@ -7614,6 +9040,22 @@ extension TerminateWorkspacesInput { } } +extension TerminateWorkspacesPoolInput { + + static func write(value: TerminateWorkspacesPoolInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["PoolId"].write(value.poolId) + } +} + +extension TerminateWorkspacesPoolSessionInput { + + static func write(value: TerminateWorkspacesPoolSessionInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SessionId"].write(value.sessionId) + } +} + extension UpdateConnectClientAddInInput { static func write(value: UpdateConnectClientAddInInput?, to writer: SmithyJSON.Writer) throws { @@ -7662,9 +9104,23 @@ extension UpdateWorkspaceImagePermissionInput { } } +extension UpdateWorkspacesPoolInput { + + static func write(value: UpdateWorkspacesPoolInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ApplicationSettings"].write(value.applicationSettings, with: WorkSpacesClientTypes.ApplicationSettingsRequest.write(value:to:)) + try writer["BundleId"].write(value.bundleId) + try writer["Capacity"].write(value.capacity, with: WorkSpacesClientTypes.Capacity.write(value:to:)) + try writer["Description"].write(value.description) + try writer["DirectoryId"].write(value.directoryId) + try writer["PoolId"].write(value.poolId) + try writer["TimeoutSettings"].write(value.timeoutSettings, with: WorkSpacesClientTypes.TimeoutSettings.write(value:to:)) + } +} + extension AcceptAccountLinkInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AcceptAccountLinkInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AcceptAccountLinkInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7676,7 +9132,7 @@ extension AcceptAccountLinkInvitationOutput { extension AssociateConnectionAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateConnectionAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateConnectionAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7688,14 +9144,14 @@ extension AssociateConnectionAliasOutput { extension AssociateIpGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateIpGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIpGroupsOutput { return AssociateIpGroupsOutput() } } extension AssociateWorkspaceApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateWorkspaceApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateWorkspaceApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7707,14 +9163,14 @@ extension AssociateWorkspaceApplicationOutput { extension AuthorizeIpRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AuthorizeIpRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AuthorizeIpRulesOutput { return AuthorizeIpRulesOutput() } } extension CopyWorkspaceImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CopyWorkspaceImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CopyWorkspaceImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7726,7 +9182,7 @@ extension CopyWorkspaceImageOutput { extension CreateAccountLinkInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateAccountLinkInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAccountLinkInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7738,7 +9194,7 @@ extension CreateAccountLinkInvitationOutput { extension CreateConnectClientAddInOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectClientAddInOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectClientAddInOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7750,7 +9206,7 @@ extension CreateConnectClientAddInOutput { extension CreateConnectionAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateConnectionAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateConnectionAliasOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7762,7 +9218,7 @@ extension CreateConnectionAliasOutput { extension CreateIpGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIpGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIpGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7774,7 +9230,7 @@ extension CreateIpGroupOutput { extension CreateStandbyWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateStandbyWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateStandbyWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7787,14 +9243,14 @@ extension CreateStandbyWorkspacesOutput { extension CreateTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTagsOutput { return CreateTagsOutput() } } extension CreateUpdatedWorkspaceImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUpdatedWorkspaceImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUpdatedWorkspaceImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7806,7 +9262,7 @@ extension CreateUpdatedWorkspaceImageOutput { extension CreateWorkspaceBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceBundleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7818,7 +9274,7 @@ extension CreateWorkspaceBundleOutput { extension CreateWorkspaceImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspaceImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspaceImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7837,7 +9293,7 @@ extension CreateWorkspaceImageOutput { extension CreateWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7848,9 +9304,21 @@ extension CreateWorkspacesOutput { } } +extension CreateWorkspacesPoolOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateWorkspacesPoolOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateWorkspacesPoolOutput() + value.workspacesPool = try reader["WorkspacesPool"].readIfPresent(with: WorkSpacesClientTypes.WorkspacesPool.read(from:)) + return value + } +} + extension DeleteAccountLinkInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteAccountLinkInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAccountLinkInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7862,56 +9330,56 @@ extension DeleteAccountLinkInvitationOutput { extension DeleteClientBrandingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteClientBrandingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteClientBrandingOutput { return DeleteClientBrandingOutput() } } extension DeleteConnectClientAddInOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectClientAddInOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectClientAddInOutput { return DeleteConnectClientAddInOutput() } } extension DeleteConnectionAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteConnectionAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectionAliasOutput { return DeleteConnectionAliasOutput() } } extension DeleteIpGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIpGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIpGroupOutput { return DeleteIpGroupOutput() } } extension DeleteTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTagsOutput { return DeleteTagsOutput() } } extension DeleteWorkspaceBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceBundleOutput { return DeleteWorkspaceBundleOutput() } } extension DeleteWorkspaceImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteWorkspaceImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteWorkspaceImageOutput { return DeleteWorkspaceImageOutput() } } extension DeployWorkspaceApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeployWorkspaceApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeployWorkspaceApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7923,14 +9391,14 @@ extension DeployWorkspaceApplicationsOutput { extension DeregisterWorkspaceDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterWorkspaceDirectoryOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterWorkspaceDirectoryOutput { return DeregisterWorkspaceDirectoryOutput() } } extension DescribeAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7944,7 +9412,7 @@ extension DescribeAccountOutput { extension DescribeAccountModificationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeAccountModificationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeAccountModificationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7957,7 +9425,7 @@ extension DescribeAccountModificationsOutput { extension DescribeApplicationAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7970,7 +9438,7 @@ extension DescribeApplicationAssociationsOutput { extension DescribeApplicationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeApplicationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeApplicationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7983,7 +9451,7 @@ extension DescribeApplicationsOutput { extension DescribeBundleAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeBundleAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeBundleAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -7995,7 +9463,7 @@ extension DescribeBundleAssociationsOutput { extension DescribeClientBrandingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientBrandingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientBrandingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8012,7 +9480,7 @@ extension DescribeClientBrandingOutput { extension DescribeClientPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeClientPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeClientPropertiesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8024,7 +9492,7 @@ extension DescribeClientPropertiesOutput { extension DescribeConnectClientAddInsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectClientAddInsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectClientAddInsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8037,7 +9505,7 @@ extension DescribeConnectClientAddInsOutput { extension DescribeConnectionAliasesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionAliasesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionAliasesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8050,7 +9518,7 @@ extension DescribeConnectionAliasesOutput { extension DescribeConnectionAliasPermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeConnectionAliasPermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeConnectionAliasPermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8064,7 +9532,7 @@ extension DescribeConnectionAliasPermissionsOutput { extension DescribeImageAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeImageAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeImageAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8076,7 +9544,7 @@ extension DescribeImageAssociationsOutput { extension DescribeIpGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeIpGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeIpGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8089,7 +9557,7 @@ extension DescribeIpGroupsOutput { extension DescribeTagsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeTagsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeTagsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8101,7 +9569,7 @@ extension DescribeTagsOutput { extension DescribeWorkspaceAssociationsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceAssociationsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceAssociationsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8113,7 +9581,7 @@ extension DescribeWorkspaceAssociationsOutput { extension DescribeWorkspaceBundlesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceBundlesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceBundlesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8126,7 +9594,7 @@ extension DescribeWorkspaceBundlesOutput { extension DescribeWorkspaceDirectoriesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceDirectoriesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceDirectoriesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8139,7 +9607,7 @@ extension DescribeWorkspaceDirectoriesOutput { extension DescribeWorkspaceImagePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceImagePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceImagePermissionsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8153,7 +9621,7 @@ extension DescribeWorkspaceImagePermissionsOutput { extension DescribeWorkspaceImagesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceImagesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceImagesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8166,7 +9634,7 @@ extension DescribeWorkspaceImagesOutput { extension DescribeWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8179,7 +9647,7 @@ extension DescribeWorkspacesOutput { extension DescribeWorkspacesConnectionStatusOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspacesConnectionStatusOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspacesConnectionStatusOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8192,7 +9660,7 @@ extension DescribeWorkspacesConnectionStatusOutput { extension DescribeWorkspaceSnapshotsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DescribeWorkspaceSnapshotsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspaceSnapshotsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8203,23 +9671,49 @@ extension DescribeWorkspaceSnapshotsOutput { } } +extension DescribeWorkspacesPoolsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspacesPoolsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeWorkspacesPoolsOutput() + value.nextToken = try reader["NextToken"].readIfPresent() + value.workspacesPools = try reader["WorkspacesPools"].readListIfPresent(memberReadingClosure: WorkSpacesClientTypes.WorkspacesPool.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension DescribeWorkspacesPoolSessionsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeWorkspacesPoolSessionsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeWorkspacesPoolSessionsOutput() + value.nextToken = try reader["NextToken"].readIfPresent() + value.sessions = try reader["Sessions"].readListIfPresent(memberReadingClosure: WorkSpacesClientTypes.WorkspacesPoolSession.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension DisassociateConnectionAliasOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateConnectionAliasOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateConnectionAliasOutput { return DisassociateConnectionAliasOutput() } } extension DisassociateIpGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateIpGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIpGroupsOutput { return DisassociateIpGroupsOutput() } } extension DisassociateWorkspaceApplicationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateWorkspaceApplicationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateWorkspaceApplicationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8231,7 +9725,7 @@ extension DisassociateWorkspaceApplicationOutput { extension GetAccountLinkOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetAccountLinkOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAccountLinkOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8243,7 +9737,7 @@ extension GetAccountLinkOutput { extension ImportClientBrandingOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportClientBrandingOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportClientBrandingOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8260,7 +9754,7 @@ extension ImportClientBrandingOutput { extension ImportWorkspaceImageOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ImportWorkspaceImageOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ImportWorkspaceImageOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8272,7 +9766,7 @@ extension ImportWorkspaceImageOutput { extension ListAccountLinksOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAccountLinksOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAccountLinksOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8285,7 +9779,7 @@ extension ListAccountLinksOutput { extension ListAvailableManagementCidrRangesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListAvailableManagementCidrRangesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAvailableManagementCidrRangesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8298,7 +9792,7 @@ extension ListAvailableManagementCidrRangesOutput { extension MigrateWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> MigrateWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> MigrateWorkspaceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8311,70 +9805,77 @@ extension MigrateWorkspaceOutput { extension ModifyAccountOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyAccountOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyAccountOutput { return ModifyAccountOutput() } } extension ModifyCertificateBasedAuthPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyCertificateBasedAuthPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCertificateBasedAuthPropertiesOutput { return ModifyCertificateBasedAuthPropertiesOutput() } } extension ModifyClientPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyClientPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyClientPropertiesOutput { return ModifyClientPropertiesOutput() } } extension ModifySamlPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySamlPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySamlPropertiesOutput { return ModifySamlPropertiesOutput() } } extension ModifySelfservicePermissionsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifySelfservicePermissionsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifySelfservicePermissionsOutput { return ModifySelfservicePermissionsOutput() } } +extension ModifyStreamingPropertiesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyStreamingPropertiesOutput { + return ModifyStreamingPropertiesOutput() + } +} + extension ModifyWorkspaceAccessPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyWorkspaceAccessPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyWorkspaceAccessPropertiesOutput { return ModifyWorkspaceAccessPropertiesOutput() } } extension ModifyWorkspaceCreationPropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyWorkspaceCreationPropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyWorkspaceCreationPropertiesOutput { return ModifyWorkspaceCreationPropertiesOutput() } } extension ModifyWorkspacePropertiesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyWorkspacePropertiesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyWorkspacePropertiesOutput { return ModifyWorkspacePropertiesOutput() } } extension ModifyWorkspaceStateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ModifyWorkspaceStateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyWorkspaceStateOutput { return ModifyWorkspaceStateOutput() } } extension RebootWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebootWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebootWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8386,7 +9887,7 @@ extension RebootWorkspacesOutput { extension RebuildWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RebuildWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RebuildWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8398,14 +9899,20 @@ extension RebuildWorkspacesOutput { extension RegisterWorkspaceDirectoryOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RegisterWorkspaceDirectoryOutput { - return RegisterWorkspaceDirectoryOutput() + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RegisterWorkspaceDirectoryOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = RegisterWorkspaceDirectoryOutput() + value.directoryId = try reader["DirectoryId"].readIfPresent() + value.state = try reader["State"].readIfPresent() + return value } } extension RejectAccountLinkInvitationOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RejectAccountLinkInvitationOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RejectAccountLinkInvitationOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8417,21 +9924,21 @@ extension RejectAccountLinkInvitationOutput { extension RestoreWorkspaceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RestoreWorkspaceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RestoreWorkspaceOutput { return RestoreWorkspaceOutput() } } extension RevokeIpRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> RevokeIpRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RevokeIpRulesOutput { return RevokeIpRulesOutput() } } extension StartWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StartWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8441,9 +9948,16 @@ extension StartWorkspacesOutput { } } +extension StartWorkspacesPoolOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartWorkspacesPoolOutput { + return StartWorkspacesPoolOutput() + } +} + extension StopWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> StopWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8453,9 +9967,16 @@ extension StopWorkspacesOutput { } } +extension StopWorkspacesPoolOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopWorkspacesPoolOutput { + return StopWorkspacesPoolOutput() + } +} + extension TerminateWorkspacesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TerminateWorkspacesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateWorkspacesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -8465,44 +9986,70 @@ extension TerminateWorkspacesOutput { } } +extension TerminateWorkspacesPoolOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateWorkspacesPoolOutput { + return TerminateWorkspacesPoolOutput() + } +} + +extension TerminateWorkspacesPoolSessionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TerminateWorkspacesPoolSessionOutput { + return TerminateWorkspacesPoolSessionOutput() + } +} + extension UpdateConnectClientAddInOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectClientAddInOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectClientAddInOutput { return UpdateConnectClientAddInOutput() } } extension UpdateConnectionAliasPermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateConnectionAliasPermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateConnectionAliasPermissionOutput { return UpdateConnectionAliasPermissionOutput() } } extension UpdateRulesOfIpGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateRulesOfIpGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRulesOfIpGroupOutput { return UpdateRulesOfIpGroupOutput() } } extension UpdateWorkspaceBundleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceBundleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceBundleOutput { return UpdateWorkspaceBundleOutput() } } extension UpdateWorkspaceImagePermissionOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateWorkspaceImagePermissionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspaceImagePermissionOutput { return UpdateWorkspaceImagePermissionOutput() } } +extension UpdateWorkspacesPoolOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateWorkspacesPoolOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateWorkspacesPoolOutput() + value.workspacesPool = try reader["WorkspacesPool"].readIfPresent(with: WorkSpacesClientTypes.WorkspacesPool.read(from:)) + return value + } +} + enum AcceptAccountLinkInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8520,7 +10067,7 @@ enum AcceptAccountLinkInvitationOutputError { enum AssociateConnectionAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8539,7 +10086,7 @@ enum AssociateConnectionAliasOutputError { enum AssociateIpGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8558,7 +10105,7 @@ enum AssociateIpGroupsOutputError { enum AssociateWorkspaceApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8581,7 +10128,7 @@ enum AssociateWorkspaceApplicationOutputError { enum AuthorizeIpRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8599,7 +10146,7 @@ enum AuthorizeIpRulesOutputError { enum CopyWorkspaceImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8619,7 +10166,7 @@ enum CopyWorkspaceImageOutputError { enum CreateAccountLinkInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8636,7 +10183,7 @@ enum CreateAccountLinkInvitationOutputError { enum CreateConnectClientAddInOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8654,7 +10201,7 @@ enum CreateConnectClientAddInOutputError { enum CreateConnectionAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8673,7 +10220,7 @@ enum CreateConnectionAliasOutputError { enum CreateIpGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8691,7 +10238,7 @@ enum CreateIpGroupOutputError { enum CreateStandbyWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8709,7 +10256,7 @@ enum CreateStandbyWorkspacesOutputError { enum CreateTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8725,7 +10272,7 @@ enum CreateTagsOutputError { enum CreateUpdatedWorkspaceImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8745,7 +10292,26 @@ enum CreateUpdatedWorkspaceImageOutputError { enum CreateWorkspaceBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "ResourceAlreadyExistsException": return try ResourceAlreadyExistsException.makeError(baseError: baseError) + case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ResourceUnavailableException": return try ResourceUnavailableException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum CreateWorkspaceImageOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8753,45 +10319,45 @@ enum CreateWorkspaceBundleOutputError { switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) case "ResourceAlreadyExistsException": return try ResourceAlreadyExistsException.makeError(baseError: baseError) case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) - case "ResourceUnavailableException": return try ResourceUnavailableException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateWorkspaceImageOutputError { +enum CreateWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { - case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) - case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) - case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) - case "ResourceAlreadyExistsException": return try ResourceAlreadyExistsException.makeError(baseError: baseError) case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) - case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } } -enum CreateWorkspacesOutputError { +enum CreateWorkspacesPoolOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) + case "ResourceAlreadyExistsException": return try ResourceAlreadyExistsException.makeError(baseError: baseError) case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -8799,7 +10365,7 @@ enum CreateWorkspacesOutputError { enum DeleteAccountLinkInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8817,7 +10383,7 @@ enum DeleteAccountLinkInvitationOutputError { enum DeleteClientBrandingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8833,7 +10399,7 @@ enum DeleteClientBrandingOutputError { enum DeleteConnectClientAddInOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8849,7 +10415,7 @@ enum DeleteConnectClientAddInOutputError { enum DeleteConnectionAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8868,7 +10434,7 @@ enum DeleteConnectionAliasOutputError { enum DeleteIpGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8885,7 +10451,7 @@ enum DeleteIpGroupOutputError { enum DeleteTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8900,7 +10466,7 @@ enum DeleteTagsOutputError { enum DeleteWorkspaceBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8917,7 +10483,7 @@ enum DeleteWorkspaceBundleOutputError { enum DeleteWorkspaceImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8933,7 +10499,7 @@ enum DeleteWorkspaceImageOutputError { enum DeployWorkspaceApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8952,7 +10518,7 @@ enum DeployWorkspaceApplicationsOutputError { enum DeregisterWorkspaceDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8970,7 +10536,7 @@ enum DeregisterWorkspaceDirectoryOutputError { enum DescribeAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8984,7 +10550,7 @@ enum DescribeAccountOutputError { enum DescribeAccountModificationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -8998,7 +10564,7 @@ enum DescribeAccountModificationsOutputError { enum DescribeApplicationAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9015,7 +10581,7 @@ enum DescribeApplicationAssociationsOutputError { enum DescribeApplicationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9032,7 +10598,7 @@ enum DescribeApplicationsOutputError { enum DescribeBundleAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9049,7 +10615,7 @@ enum DescribeBundleAssociationsOutputError { enum DescribeClientBrandingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9065,7 +10631,7 @@ enum DescribeClientBrandingOutputError { enum DescribeClientPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9081,7 +10647,7 @@ enum DescribeClientPropertiesOutputError { enum DescribeConnectClientAddInsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9097,7 +10663,7 @@ enum DescribeConnectClientAddInsOutputError { enum DescribeConnectionAliasesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9113,7 +10679,7 @@ enum DescribeConnectionAliasesOutputError { enum DescribeConnectionAliasPermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9130,7 +10696,7 @@ enum DescribeConnectionAliasPermissionsOutputError { enum DescribeImageAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9147,7 +10713,7 @@ enum DescribeImageAssociationsOutputError { enum DescribeIpGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9162,7 +10728,7 @@ enum DescribeIpGroupsOutputError { enum DescribeTagsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9176,7 +10742,7 @@ enum DescribeTagsOutputError { enum DescribeWorkspaceAssociationsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9193,7 +10759,7 @@ enum DescribeWorkspaceAssociationsOutputError { enum DescribeWorkspaceBundlesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9207,7 +10773,7 @@ enum DescribeWorkspaceBundlesOutputError { enum DescribeWorkspaceDirectoriesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9221,7 +10787,7 @@ enum DescribeWorkspaceDirectoriesOutputError { enum DescribeWorkspaceImagePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9237,7 +10803,7 @@ enum DescribeWorkspaceImagePermissionsOutputError { enum DescribeWorkspaceImagesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9251,7 +10817,7 @@ enum DescribeWorkspaceImagesOutputError { enum DescribeWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9266,7 +10832,7 @@ enum DescribeWorkspacesOutputError { enum DescribeWorkspacesConnectionStatusOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9280,7 +10846,39 @@ enum DescribeWorkspacesConnectionStatusOutputError { enum DescribeWorkspaceSnapshotsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeWorkspacesPoolsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeWorkspacesPoolSessionsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9296,7 +10894,7 @@ enum DescribeWorkspaceSnapshotsOutputError { enum DisassociateConnectionAliasOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9314,7 +10912,7 @@ enum DisassociateConnectionAliasOutputError { enum DisassociateIpGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9323,6 +10921,7 @@ enum DisassociateIpGroupsOutputError { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } @@ -9331,7 +10930,7 @@ enum DisassociateIpGroupsOutputError { enum DisassociateWorkspaceApplicationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9349,7 +10948,7 @@ enum DisassociateWorkspaceApplicationOutputError { enum GetAccountLinkOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9366,7 +10965,7 @@ enum GetAccountLinkOutputError { enum ImportClientBrandingOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9383,7 +10982,7 @@ enum ImportClientBrandingOutputError { enum ImportWorkspaceImageOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9402,7 +11001,7 @@ enum ImportWorkspaceImageOutputError { enum ListAccountLinksOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9418,7 +11017,7 @@ enum ListAccountLinksOutputError { enum ListAvailableManagementCidrRangesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9433,7 +11032,7 @@ enum ListAvailableManagementCidrRangesOutputError { enum MigrateWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9452,7 +11051,7 @@ enum MigrateWorkspaceOutputError { enum ModifyAccountOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9470,7 +11069,7 @@ enum ModifyAccountOutputError { enum ModifyCertificateBasedAuthPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9487,7 +11086,7 @@ enum ModifyCertificateBasedAuthPropertiesOutputError { enum ModifyClientPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9495,6 +11094,7 @@ enum ModifyClientPropertiesOutputError { switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } @@ -9503,7 +11103,7 @@ enum ModifyClientPropertiesOutputError { enum ModifySamlPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9520,7 +11120,24 @@ enum ModifySamlPropertiesOutputError { enum ModifySelfservicePermissionsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ModifyStreamingPropertiesOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9528,6 +11145,7 @@ enum ModifySelfservicePermissionsOutputError { switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } @@ -9536,7 +11154,7 @@ enum ModifySelfservicePermissionsOutputError { enum ModifyWorkspaceAccessPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9551,7 +11169,7 @@ enum ModifyWorkspaceAccessPropertiesOutputError { enum ModifyWorkspaceCreationPropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9568,7 +11186,7 @@ enum ModifyWorkspaceCreationPropertiesOutputError { enum ModifyWorkspacePropertiesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9588,7 +11206,7 @@ enum ModifyWorkspacePropertiesOutputError { enum ModifyWorkspaceStateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9605,7 +11223,7 @@ enum ModifyWorkspaceStateOutputError { enum RebootWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9619,7 +11237,7 @@ enum RebootWorkspacesOutputError { enum RebuildWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9633,7 +11251,7 @@ enum RebuildWorkspacesOutputError { enum RegisterWorkspaceDirectoryOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9643,6 +11261,7 @@ enum RegisterWorkspaceDirectoryOutputError { case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) + case "ResourceAlreadyExistsException": return try ResourceAlreadyExistsException.makeError(baseError: baseError) case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "UnsupportedNetworkConfigurationException": return try UnsupportedNetworkConfigurationException.makeError(baseError: baseError) @@ -9654,7 +11273,7 @@ enum RegisterWorkspaceDirectoryOutputError { enum RejectAccountLinkInvitationOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9672,7 +11291,7 @@ enum RejectAccountLinkInvitationOutputError { enum RestoreWorkspaceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9689,7 +11308,7 @@ enum RestoreWorkspaceOutputError { enum RevokeIpRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9706,12 +11325,32 @@ enum RevokeIpRulesOutputError { enum StartWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StartWorkspacesPoolOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) + case "OperationInProgressException": return try OperationInProgressException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) + case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -9719,7 +11358,7 @@ enum StartWorkspacesOutputError { enum StopWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9730,9 +11369,27 @@ enum StopWorkspacesOutputError { } } +enum StopWorkspacesPoolOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) + case "OperationInProgressException": return try OperationInProgressException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum TerminateWorkspacesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9743,9 +11400,45 @@ enum TerminateWorkspacesOutputError { } } +enum TerminateWorkspacesPoolOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) + case "OperationInProgressException": return try OperationInProgressException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum TerminateWorkspacesPoolSessionOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "OperationInProgressException": return try OperationInProgressException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateConnectClientAddInOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9761,7 +11454,7 @@ enum UpdateConnectClientAddInOutputError { enum UpdateConnectionAliasPermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9781,7 +11474,7 @@ enum UpdateConnectionAliasPermissionOutputError { enum UpdateRulesOfIpGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9799,7 +11492,7 @@ enum UpdateRulesOfIpGroupOutputError { enum UpdateWorkspaceBundleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9817,7 +11510,7 @@ enum UpdateWorkspaceBundleOutputError { enum UpdateWorkspaceImagePermissionOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -9833,6 +11526,26 @@ enum UpdateWorkspaceImagePermissionOutputError { } } +enum UpdateWorkspacesPoolOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InvalidParameterValuesException": return try InvalidParameterValuesException.makeError(baseError: baseError) + case "InvalidResourceStateException": return try InvalidResourceStateException.makeError(baseError: baseError) + case "OperationInProgressException": return try OperationInProgressException.makeError(baseError: baseError) + case "OperationNotSupportedException": return try OperationNotSupportedException.makeError(baseError: baseError) + case "ResourceLimitExceededException": return try ResourceLimitExceededException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + extension ResourceNotFoundException { static func makeError(baseError: AWSClientRuntime.AWSJSONError) throws -> ResourceNotFoundException { @@ -10441,6 +12154,82 @@ extension WorkSpacesClientTypes.ModificationState { } } +extension WorkSpacesClientTypes.WorkspacesPool { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.WorkspacesPool { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.WorkspacesPool() + value.poolId = try reader["PoolId"].readIfPresent() + value.poolArn = try reader["PoolArn"].readIfPresent() + value.capacityStatus = try reader["CapacityStatus"].readIfPresent(with: WorkSpacesClientTypes.CapacityStatus.read(from:)) + value.poolName = try reader["PoolName"].readIfPresent() + value.description = try reader["Description"].readIfPresent() + value.state = try reader["State"].readIfPresent() + value.createdAt = try reader["CreatedAt"].readTimestampIfPresent(format: .epochSeconds) + value.bundleId = try reader["BundleId"].readIfPresent() + value.directoryId = try reader["DirectoryId"].readIfPresent() + value.errors = try reader["Errors"].readListIfPresent(memberReadingClosure: WorkSpacesClientTypes.WorkspacesPoolError.read(from:), memberNodeInfo: "member", isFlattened: false) + value.applicationSettings = try reader["ApplicationSettings"].readIfPresent(with: WorkSpacesClientTypes.ApplicationSettingsResponse.read(from:)) + value.timeoutSettings = try reader["TimeoutSettings"].readIfPresent(with: WorkSpacesClientTypes.TimeoutSettings.read(from:)) + return value + } +} + +extension WorkSpacesClientTypes.TimeoutSettings { + + static func write(value: WorkSpacesClientTypes.TimeoutSettings?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DisconnectTimeoutInSeconds"].write(value.disconnectTimeoutInSeconds) + try writer["IdleDisconnectTimeoutInSeconds"].write(value.idleDisconnectTimeoutInSeconds) + try writer["MaxUserDurationInSeconds"].write(value.maxUserDurationInSeconds) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.TimeoutSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.TimeoutSettings() + value.disconnectTimeoutInSeconds = try reader["DisconnectTimeoutInSeconds"].readIfPresent() + value.idleDisconnectTimeoutInSeconds = try reader["IdleDisconnectTimeoutInSeconds"].readIfPresent() + value.maxUserDurationInSeconds = try reader["MaxUserDurationInSeconds"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.ApplicationSettingsResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.ApplicationSettingsResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.ApplicationSettingsResponse() + value.status = try reader["Status"].readIfPresent() + value.settingsGroup = try reader["SettingsGroup"].readIfPresent() + value.s3BucketName = try reader["S3BucketName"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.WorkspacesPoolError { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.WorkspacesPoolError { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.WorkspacesPoolError() + value.errorCode = try reader["ErrorCode"].readIfPresent() + value.errorMessage = try reader["ErrorMessage"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.CapacityStatus { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.CapacityStatus { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.CapacityStatus() + value.availableUserSessions = try reader["AvailableUserSessions"].readIfPresent() + value.desiredUserSessions = try reader["DesiredUserSessions"].readIfPresent() + value.actualUserSessions = try reader["ActualUserSessions"].readIfPresent() + value.activeUserSessions = try reader["ActiveUserSessions"].readIfPresent() + return value + } +} + extension WorkSpacesClientTypes.WorkSpaceApplicationDeployment { static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.WorkSpaceApplicationDeployment { @@ -10700,6 +12489,85 @@ extension WorkSpacesClientTypes.WorkspaceDirectory { value.selfservicePermissions = try reader["SelfservicePermissions"].readIfPresent(with: WorkSpacesClientTypes.SelfservicePermissions.read(from:)) value.samlProperties = try reader["SamlProperties"].readIfPresent(with: WorkSpacesClientTypes.SamlProperties.read(from:)) value.certificateBasedAuthProperties = try reader["CertificateBasedAuthProperties"].readIfPresent(with: WorkSpacesClientTypes.CertificateBasedAuthProperties.read(from:)) + value.workspaceDirectoryName = try reader["WorkspaceDirectoryName"].readIfPresent() + value.workspaceDirectoryDescription = try reader["WorkspaceDirectoryDescription"].readIfPresent() + value.userIdentityType = try reader["UserIdentityType"].readIfPresent() + value.workspaceType = try reader["WorkspaceType"].readIfPresent() + value.activeDirectoryConfig = try reader["ActiveDirectoryConfig"].readIfPresent(with: WorkSpacesClientTypes.ActiveDirectoryConfig.read(from:)) + value.streamingProperties = try reader["StreamingProperties"].readIfPresent(with: WorkSpacesClientTypes.StreamingProperties.read(from:)) + value.errorMessage = try reader["ErrorMessage"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.StreamingProperties { + + static func write(value: WorkSpacesClientTypes.StreamingProperties?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["StorageConnectors"].writeList(value.storageConnectors, memberWritingClosure: WorkSpacesClientTypes.StorageConnector.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["StreamingExperiencePreferredProtocol"].write(value.streamingExperiencePreferredProtocol) + try writer["UserSettings"].writeList(value.userSettings, memberWritingClosure: WorkSpacesClientTypes.UserSetting.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.StreamingProperties { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.StreamingProperties() + value.streamingExperiencePreferredProtocol = try reader["StreamingExperiencePreferredProtocol"].readIfPresent() + value.userSettings = try reader["UserSettings"].readListIfPresent(memberReadingClosure: WorkSpacesClientTypes.UserSetting.read(from:), memberNodeInfo: "member", isFlattened: false) + value.storageConnectors = try reader["StorageConnectors"].readListIfPresent(memberReadingClosure: WorkSpacesClientTypes.StorageConnector.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension WorkSpacesClientTypes.StorageConnector { + + static func write(value: WorkSpacesClientTypes.StorageConnector?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ConnectorType"].write(value.connectorType) + try writer["Status"].write(value.status) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.StorageConnector { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.StorageConnector() + value.connectorType = try reader["ConnectorType"].readIfPresent() + value.status = try reader["Status"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.UserSetting { + + static func write(value: WorkSpacesClientTypes.UserSetting?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Action"].write(value.action) + try writer["MaximumLength"].write(value.maximumLength) + try writer["Permission"].write(value.permission) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.UserSetting { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.UserSetting() + value.action = try reader["Action"].readIfPresent() + value.permission = try reader["Permission"].readIfPresent() + value.maximumLength = try reader["MaximumLength"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.ActiveDirectoryConfig { + + static func write(value: WorkSpacesClientTypes.ActiveDirectoryConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DomainName"].write(value.domainName) + try writer["ServiceAccountSecretArn"].write(value.serviceAccountSecretArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.ActiveDirectoryConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.ActiveDirectoryConfig() + value.domainName = try reader["DomainName"].readIfPresent() + value.serviceAccountSecretArn = try reader["ServiceAccountSecretArn"].readIfPresent() return value } } @@ -10803,6 +12671,7 @@ extension WorkSpacesClientTypes.DefaultWorkspaceCreationProperties { value.customSecurityGroupId = try reader["CustomSecurityGroupId"].readIfPresent() value.userEnabledAsLocalAdministrator = try reader["UserEnabledAsLocalAdministrator"].readIfPresent() value.enableMaintenanceMode = try reader["EnableMaintenanceMode"].readIfPresent() + value.instanceIamRoleArn = try reader["InstanceIamRoleArn"].readIfPresent() return value } } @@ -10883,6 +12752,35 @@ extension WorkSpacesClientTypes.Snapshot { } } +extension WorkSpacesClientTypes.WorkspacesPoolSession { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.WorkspacesPoolSession { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.WorkspacesPoolSession() + value.authenticationType = try reader["AuthenticationType"].readIfPresent() + value.connectionState = try reader["ConnectionState"].readIfPresent() + value.sessionId = try reader["SessionId"].readIfPresent() + value.instanceId = try reader["InstanceId"].readIfPresent() + value.poolId = try reader["PoolId"].readIfPresent() + value.expirationTime = try reader["ExpirationTime"].readTimestampIfPresent(format: .epochSeconds) + value.networkAccessConfiguration = try reader["NetworkAccessConfiguration"].readIfPresent(with: WorkSpacesClientTypes.NetworkAccessConfiguration.read(from:)) + value.startTime = try reader["StartTime"].readTimestampIfPresent(format: .epochSeconds) + value.userId = try reader["UserId"].readIfPresent() + return value + } +} + +extension WorkSpacesClientTypes.NetworkAccessConfiguration { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.NetworkAccessConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesClientTypes.NetworkAccessConfiguration() + value.eniPrivateIpAddress = try reader["EniPrivateIpAddress"].readIfPresent() + value.eniId = try reader["EniId"].readIfPresent() + return value + } +} + extension WorkSpacesClientTypes.FailedWorkspaceChangeRequest { static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesClientTypes.FailedWorkspaceChangeRequest { @@ -10895,6 +12793,33 @@ extension WorkSpacesClientTypes.FailedWorkspaceChangeRequest { } } +extension WorkSpacesClientTypes.Capacity { + + static func write(value: WorkSpacesClientTypes.Capacity?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DesiredUserSessions"].write(value.desiredUserSessions) + } +} + +extension WorkSpacesClientTypes.ApplicationSettingsRequest { + + static func write(value: WorkSpacesClientTypes.ApplicationSettingsRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["SettingsGroup"].write(value.settingsGroup) + try writer["Status"].write(value.status) + } +} + +extension WorkSpacesClientTypes.DescribeWorkspacesPoolsFilter { + + static func write(value: WorkSpacesClientTypes.DescribeWorkspacesPoolsFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Name"].write(value.name) + try writer["Operator"].write(value.`operator`) + try writer["Values"].writeList(value.values, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension WorkSpacesClientTypes.DefaultImportClientBrandingAttributes { static func write(value: WorkSpacesClientTypes.DefaultImportClientBrandingAttributes?, to writer: SmithyJSON.Writer) throws { @@ -10930,6 +12855,7 @@ extension WorkSpacesClientTypes.WorkspaceCreationProperties { try writer["EnableInternetAccess"].write(value.enableInternetAccess) try writer["EnableMaintenanceMode"].write(value.enableMaintenanceMode) try writer["EnableWorkDocs"].write(value.enableWorkDocs) + try writer["InstanceIamRoleArn"].write(value.instanceIamRoleArn) try writer["UserEnabledAsLocalAdministrator"].write(value.userEnabledAsLocalAdministrator) } } diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Paginators.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Paginators.swift index 3ab468dd9b9..cfa92bfb2b5 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Paginators.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Paginators.swift @@ -109,7 +109,8 @@ extension DescribeWorkspaceDirectoriesInput: ClientRuntime.PaginateToken { return DescribeWorkspaceDirectoriesInput( directoryIds: self.directoryIds, limit: self.limit, - nextToken: token + nextToken: token, + workspaceDirectoryNames: self.workspaceDirectoryNames )} } diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift index ad6d52bef5a..cfd02ca0e33 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift @@ -1048,6 +1048,60 @@ extension WorkSpacesClient { return result } + /// Performs the `CreateWorkspacesPool` operation on the `WorkspacesService` service. + /// + /// Creates a pool of WorkSpaces. + /// + /// - Parameter CreateWorkspacesPoolInput : [no documentation found] + /// + /// - Returns: `CreateWorkspacesPoolOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `OperationNotSupportedException` : This operation is not supported. + /// - `ResourceAlreadyExistsException` : The specified resource already exists. + /// - `ResourceLimitExceededException` : Your resource limits have been exceeded. + /// - `ResourceNotFoundException` : The resource could not be found. + public func createWorkspacesPool(input: CreateWorkspacesPoolInput) async throws -> CreateWorkspacesPoolOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createWorkspacesPool") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "createWorkspacesPool") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(CreateWorkspacesPoolInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.CreateWorkspacesPool")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateWorkspacesPoolInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(CreateWorkspacesPoolOutput.httpOutput(from:), CreateWorkspacesPoolOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DeleteAccountLinkInvitation` operation on the `WorkspacesService` service. /// /// Deletes the account link invitation. @@ -2630,6 +2684,108 @@ extension WorkSpacesClient { return result } + /// Performs the `DescribeWorkspacesPoolSessions` operation on the `WorkspacesService` service. + /// + /// Retrieves a list that describes the streaming sessions for a specified pool. + /// + /// - Parameter DescribeWorkspacesPoolSessionsInput : [no documentation found] + /// + /// - Returns: `DescribeWorkspacesPoolSessionsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `ResourceNotFoundException` : The resource could not be found. + public func describeWorkspacesPoolSessions(input: DescribeWorkspacesPoolSessionsInput) async throws -> DescribeWorkspacesPoolSessionsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "describeWorkspacesPoolSessions") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "describeWorkspacesPoolSessions") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DescribeWorkspacesPoolSessionsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.DescribeWorkspacesPoolSessions")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DescribeWorkspacesPoolSessionsInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DescribeWorkspacesPoolSessionsOutput.httpOutput(from:), DescribeWorkspacesPoolSessionsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `DescribeWorkspacesPools` operation on the `WorkspacesService` service. + /// + /// Describes the specified WorkSpaces Pools. + /// + /// - Parameter DescribeWorkspacesPoolsInput : [no documentation found] + /// + /// - Returns: `DescribeWorkspacesPoolsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `ResourceNotFoundException` : The resource could not be found. + public func describeWorkspacesPools(input: DescribeWorkspacesPoolsInput) async throws -> DescribeWorkspacesPoolsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "describeWorkspacesPools") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "describeWorkspacesPools") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(DescribeWorkspacesPoolsInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.DescribeWorkspacesPools")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DescribeWorkspacesPoolsInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(DescribeWorkspacesPoolsOutput.httpOutput(from:), DescribeWorkspacesPoolsOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `DisassociateConnectionAlias` operation on the `WorkspacesService` service. /// /// Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see [ Cross-Region Redirection for Amazon WorkSpaces](https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html). Before performing this operation, call [ DescribeConnectionAliases](https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html) to make sure that the current state of the connection alias is CREATED. @@ -2697,6 +2853,7 @@ extension WorkSpacesClient { /// - `AccessDeniedException` : The user is not authorized to access a resource. /// - `InvalidParameterValuesException` : One or more parameter values are not valid. /// - `InvalidResourceStateException` : The state of the resource is not valid for this operation. + /// - `OperationNotSupportedException` : This operation is not supported. /// - `ResourceNotFoundException` : The resource could not be found. public func disassociateIpGroups(input: DisassociateIpGroupsInput) async throws -> DisassociateIpGroupsOutput { let context = Smithy.ContextBuilder() @@ -3227,6 +3384,7 @@ extension WorkSpacesClient { /// __Possible Exceptions:__ /// - `AccessDeniedException` : The user is not authorized to access a resource. /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `OperationNotSupportedException` : This operation is not supported. /// - `ResourceNotFoundException` : The resource could not be found. public func modifyClientProperties(input: ModifyClientPropertiesInput) async throws -> ModifyClientPropertiesOutput { let context = Smithy.ContextBuilder() @@ -3330,6 +3488,7 @@ extension WorkSpacesClient { /// __Possible Exceptions:__ /// - `AccessDeniedException` : The user is not authorized to access a resource. /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `OperationNotSupportedException` : This operation is not supported. /// - `ResourceNotFoundException` : The resource could not be found. public func modifySelfservicePermissions(input: ModifySelfservicePermissionsInput) async throws -> ModifySelfservicePermissionsOutput { let context = Smithy.ContextBuilder() @@ -3368,6 +3527,58 @@ extension WorkSpacesClient { return result } + /// Performs the `ModifyStreamingProperties` operation on the `WorkspacesService` service. + /// + /// Modifies the specified streaming properties. + /// + /// - Parameter ModifyStreamingPropertiesInput : [no documentation found] + /// + /// - Returns: `ModifyStreamingPropertiesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `OperationNotSupportedException` : This operation is not supported. + /// - `ResourceNotFoundException` : The resource could not be found. + public func modifyStreamingProperties(input: ModifyStreamingPropertiesInput) async throws -> ModifyStreamingPropertiesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "modifyStreamingProperties") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "modifyStreamingProperties") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(ModifyStreamingPropertiesInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.ModifyStreamingProperties")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ModifyStreamingPropertiesInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(ModifyStreamingPropertiesOutput.httpOutput(from:), ModifyStreamingPropertiesOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `ModifyWorkspaceAccessProperties` operation on the `WorkspacesService` service. /// /// Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see [ Control Device Access](https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access). @@ -3693,6 +3904,7 @@ extension WorkSpacesClient { /// - `InvalidParameterValuesException` : One or more parameter values are not valid. /// - `InvalidResourceStateException` : The state of the resource is not valid for this operation. /// - `OperationNotSupportedException` : This operation is not supported. + /// - `ResourceAlreadyExistsException` : The specified resource already exists. /// - `ResourceLimitExceededException` : Your resource limits have been exceeded. /// - `ResourceNotFoundException` : The resource could not be found. /// - `UnsupportedNetworkConfigurationException` : The configuration of this network is not supported for this operation, or your network configuration conflicts with the Amazon WorkSpaces management network IP range. For more information, see [ Configure a VPC for Amazon WorkSpaces](https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html). @@ -3935,6 +4147,61 @@ extension WorkSpacesClient { return result } + /// Performs the `StartWorkspacesPool` operation on the `WorkspacesService` service. + /// + /// Starts the specified pool. You cannot start a pool unless it has a running mode of AutoStop and a state of STOPPED. + /// + /// - Parameter StartWorkspacesPoolInput : [no documentation found] + /// + /// - Returns: `StartWorkspacesPoolOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `InvalidResourceStateException` : The state of the resource is not valid for this operation. + /// - `OperationInProgressException` : The properties of this WorkSpace are currently being modified. Try again in a moment. + /// - `OperationNotSupportedException` : This operation is not supported. + /// - `ResourceLimitExceededException` : Your resource limits have been exceeded. + /// - `ResourceNotFoundException` : The resource could not be found. + public func startWorkspacesPool(input: StartWorkspacesPoolInput) async throws -> StartWorkspacesPoolOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "startWorkspacesPool") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "startWorkspacesPool") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(StartWorkspacesPoolInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.StartWorkspacesPool")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StartWorkspacesPoolInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(StartWorkspacesPoolOutput.httpOutput(from:), StartWorkspacesPoolOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `StopWorkspaces` operation on the `WorkspacesService` service. /// /// Stops the specified WorkSpaces. You cannot stop a WorkSpace unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR. @@ -3979,6 +4246,59 @@ extension WorkSpacesClient { return result } + /// Performs the `StopWorkspacesPool` operation on the `WorkspacesService` service. + /// + /// Stops the specified pool. You cannot stop a WorkSpace pool unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR. + /// + /// - Parameter StopWorkspacesPoolInput : [no documentation found] + /// + /// - Returns: `StopWorkspacesPoolOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `InvalidResourceStateException` : The state of the resource is not valid for this operation. + /// - `OperationInProgressException` : The properties of this WorkSpace are currently being modified. Try again in a moment. + /// - `ResourceNotFoundException` : The resource could not be found. + public func stopWorkspacesPool(input: StopWorkspacesPoolInput) async throws -> StopWorkspacesPoolOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "stopWorkspacesPool") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "stopWorkspacesPool") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(StopWorkspacesPoolInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.StopWorkspacesPool")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StopWorkspacesPoolInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(StopWorkspacesPoolOutput.httpOutput(from:), StopWorkspacesPoolOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `TerminateWorkspaces` operation on the `WorkspacesService` service. /// /// Terminates the specified WorkSpaces. Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace. You can terminate a WorkSpace that is in any state except SUSPENDED. This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using [ DescribeWorkSpaces](https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html). If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated. Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the [Directory Service pricing terms](http://aws.amazon.com/directoryservice/pricing/). To delete empty directories, see [ Delete the Directory for Your WorkSpaces](https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html). If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again. @@ -4023,6 +4343,112 @@ extension WorkSpacesClient { return result } + /// Performs the `TerminateWorkspacesPool` operation on the `WorkspacesService` service. + /// + /// Terminates the specified pool. + /// + /// - Parameter TerminateWorkspacesPoolInput : [no documentation found] + /// + /// - Returns: `TerminateWorkspacesPoolOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `InvalidResourceStateException` : The state of the resource is not valid for this operation. + /// - `OperationInProgressException` : The properties of this WorkSpace are currently being modified. Try again in a moment. + /// - `ResourceNotFoundException` : The resource could not be found. + public func terminateWorkspacesPool(input: TerminateWorkspacesPoolInput) async throws -> TerminateWorkspacesPoolOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "terminateWorkspacesPool") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "terminateWorkspacesPool") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(TerminateWorkspacesPoolInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.TerminateWorkspacesPool")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TerminateWorkspacesPoolInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(TerminateWorkspacesPoolOutput.httpOutput(from:), TerminateWorkspacesPoolOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + + /// Performs the `TerminateWorkspacesPoolSession` operation on the `WorkspacesService` service. + /// + /// Terminates the pool session. + /// + /// - Parameter TerminateWorkspacesPoolSessionInput : [no documentation found] + /// + /// - Returns: `TerminateWorkspacesPoolSessionOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `OperationInProgressException` : The properties of this WorkSpace are currently being modified. Try again in a moment. + /// - `OperationNotSupportedException` : This operation is not supported. + /// - `ResourceNotFoundException` : The resource could not be found. + public func terminateWorkspacesPoolSession(input: TerminateWorkspacesPoolSessionInput) async throws -> TerminateWorkspacesPoolSessionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "terminateWorkspacesPoolSession") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "terminateWorkspacesPoolSession") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(TerminateWorkspacesPoolSessionInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.TerminateWorkspacesPoolSession")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TerminateWorkspacesPoolSessionInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(TerminateWorkspacesPoolSessionOutput.httpOutput(from:), TerminateWorkspacesPoolSessionOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + /// Performs the `UpdateConnectClientAddIn` operation on the `WorkspacesService` service. /// /// Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in. @@ -4296,4 +4722,59 @@ extension WorkSpacesClient { return result } + /// Performs the `UpdateWorkspacesPool` operation on the `WorkspacesService` service. + /// + /// Updates the specified pool. + /// + /// - Parameter UpdateWorkspacesPoolInput : [no documentation found] + /// + /// - Returns: `UpdateWorkspacesPoolOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The user is not authorized to access a resource. + /// - `InvalidParameterValuesException` : One or more parameter values are not valid. + /// - `InvalidResourceStateException` : The state of the resource is not valid for this operation. + /// - `OperationInProgressException` : The properties of this WorkSpace are currently being modified. Try again in a moment. + /// - `OperationNotSupportedException` : This operation is not supported. + /// - `ResourceLimitExceededException` : Your resource limits have been exceeded. + /// - `ResourceNotFoundException` : The resource could not be found. + public func updateWorkspacesPool(input: UpdateWorkspacesPoolInput) async throws -> UpdateWorkspacesPoolOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateWorkspacesPool") + .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) + .withLogger(value: config.logger) + .withPartitionID(value: config.partitionID) + .withAuthSchemes(value: config.authSchemes ?? []) + .withAuthSchemeResolver(value: config.authSchemeResolver) + .withUnsignedPayloadTrait(value: false) + .withSocketTimeout(value: config.httpClientConfiguration.socketTimeout) + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withSigningName(value: "workspaces") + .withSigningRegion(value: config.signingRegion) + .build() + var operation = ClientRuntime.OperationStack(id: "updateWorkspacesPool") + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware(UpdateWorkspacesPoolInput.urlPathProvider(_:))) + operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config))) + operation.buildStep.intercept(position: .before, middleware: ClientRuntime.AuthSchemeMiddleware()) + operation.serializeStep.intercept(position: .before, middleware: AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "WorkspacesService.UpdateWorkspacesPool")) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateWorkspacesPoolInput.write(value:to:))) + operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.1")) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware()) + operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryMiddleware(options: config.retryStrategyOptions)) + operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.SignerMiddleware()) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware(UpdateWorkspacesPoolOutput.httpOutput(from:), UpdateWorkspacesPoolOutputError.httpError(from:))) + operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler()) + return result + } + } diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift index 1b419c2e3d2..a343f586b5a 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -37,7 +37,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -94,7 +94,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -124,7 +124,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -154,7 +154,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -190,7 +190,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -228,7 +228,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -319,7 +319,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -516,6 +516,8 @@ public struct CreateEnvironmentInput { public var desktopArn: Swift.String? /// The URL for the identity provider login (only for environments that use AppStream 2.0). public var desktopEndpoint: Swift.String? + /// A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment. + public var deviceCreationTags: [Swift.String: Swift.String]? /// The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment. public var kmsKeyArn: Swift.String? /// A specification for a time window to apply software updates. @@ -534,6 +536,7 @@ public struct CreateEnvironmentInput { desiredSoftwareSetId: Swift.String? = nil, desktopArn: Swift.String? = nil, desktopEndpoint: Swift.String? = nil, + deviceCreationTags: [Swift.String: Swift.String]? = nil, kmsKeyArn: Swift.String? = nil, maintenanceWindow: WorkSpacesThinClientClientTypes.MaintenanceWindow? = nil, name: Swift.String? = nil, @@ -546,6 +549,7 @@ public struct CreateEnvironmentInput { self.desiredSoftwareSetId = desiredSoftwareSetId self.desktopArn = desktopArn self.desktopEndpoint = desktopEndpoint + self.deviceCreationTags = deviceCreationTags self.kmsKeyArn = kmsKeyArn self.maintenanceWindow = maintenanceWindow self.name = name @@ -557,7 +561,7 @@ public struct CreateEnvironmentInput { extension CreateEnvironmentInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateEnvironmentInput(clientToken: \(Swift.String(describing: clientToken)), desiredSoftwareSetId: \(Swift.String(describing: desiredSoftwareSetId)), desktopArn: \(Swift.String(describing: desktopArn)), kmsKeyArn: \(Swift.String(describing: kmsKeyArn)), maintenanceWindow: \(Swift.String(describing: maintenanceWindow)), softwareSetUpdateMode: \(Swift.String(describing: softwareSetUpdateMode)), softwareSetUpdateSchedule: \(Swift.String(describing: softwareSetUpdateSchedule)), desktopEndpoint: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} + "CreateEnvironmentInput(clientToken: \(Swift.String(describing: clientToken)), desiredSoftwareSetId: \(Swift.String(describing: desiredSoftwareSetId)), desktopArn: \(Swift.String(describing: desktopArn)), kmsKeyArn: \(Swift.String(describing: kmsKeyArn)), maintenanceWindow: \(Swift.String(describing: maintenanceWindow)), softwareSetUpdateMode: \(Swift.String(describing: softwareSetUpdateMode)), softwareSetUpdateSchedule: \(Swift.String(describing: softwareSetUpdateSchedule)), desktopEndpoint: \"CONTENT_REDACTED\", deviceCreationTags: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } extension WorkSpacesThinClientClientTypes { @@ -1102,6 +1106,8 @@ extension WorkSpacesThinClientClientTypes { public var desktopEndpoint: Swift.String? /// The type of streaming desktop for the environment. public var desktopType: WorkSpacesThinClientClientTypes.DesktopType? + /// "The tag keys and optional values for the newly created devices for this environment." + public var deviceCreationTags: [Swift.String: Swift.String]? /// The ID of the environment. public var id: Swift.String? /// The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment. @@ -1135,6 +1141,7 @@ extension WorkSpacesThinClientClientTypes { desktopArn: Swift.String? = nil, desktopEndpoint: Swift.String? = nil, desktopType: WorkSpacesThinClientClientTypes.DesktopType? = nil, + deviceCreationTags: [Swift.String: Swift.String]? = nil, id: Swift.String? = nil, kmsKeyArn: Swift.String? = nil, maintenanceWindow: WorkSpacesThinClientClientTypes.MaintenanceWindow? = nil, @@ -1156,6 +1163,7 @@ extension WorkSpacesThinClientClientTypes { self.desktopArn = desktopArn self.desktopEndpoint = desktopEndpoint self.desktopType = desktopType + self.deviceCreationTags = deviceCreationTags self.id = id self.kmsKeyArn = kmsKeyArn self.maintenanceWindow = maintenanceWindow @@ -1175,7 +1183,7 @@ extension WorkSpacesThinClientClientTypes { extension WorkSpacesThinClientClientTypes.Environment: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "Environment(activationCode: \(Swift.String(describing: activationCode)), arn: \(Swift.String(describing: arn)), createdAt: \(Swift.String(describing: createdAt)), desiredSoftwareSetId: \(Swift.String(describing: desiredSoftwareSetId)), desktopArn: \(Swift.String(describing: desktopArn)), desktopType: \(Swift.String(describing: desktopType)), id: \(Swift.String(describing: id)), kmsKeyArn: \(Swift.String(describing: kmsKeyArn)), maintenanceWindow: \(Swift.String(describing: maintenanceWindow)), pendingSoftwareSetId: \(Swift.String(describing: pendingSoftwareSetId)), pendingSoftwareSetVersion: \(Swift.String(describing: pendingSoftwareSetVersion)), registeredDevicesCount: \(Swift.String(describing: registeredDevicesCount)), softwareSetComplianceStatus: \(Swift.String(describing: softwareSetComplianceStatus)), softwareSetUpdateMode: \(Swift.String(describing: softwareSetUpdateMode)), softwareSetUpdateSchedule: \(Swift.String(describing: softwareSetUpdateSchedule)), updatedAt: \(Swift.String(describing: updatedAt)), desktopEndpoint: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} + "Environment(activationCode: \(Swift.String(describing: activationCode)), arn: \(Swift.String(describing: arn)), createdAt: \(Swift.String(describing: createdAt)), desiredSoftwareSetId: \(Swift.String(describing: desiredSoftwareSetId)), desktopArn: \(Swift.String(describing: desktopArn)), desktopType: \(Swift.String(describing: desktopType)), id: \(Swift.String(describing: id)), kmsKeyArn: \(Swift.String(describing: kmsKeyArn)), maintenanceWindow: \(Swift.String(describing: maintenanceWindow)), pendingSoftwareSetId: \(Swift.String(describing: pendingSoftwareSetId)), pendingSoftwareSetVersion: \(Swift.String(describing: pendingSoftwareSetVersion)), registeredDevicesCount: \(Swift.String(describing: registeredDevicesCount)), softwareSetComplianceStatus: \(Swift.String(describing: softwareSetComplianceStatus)), softwareSetUpdateMode: \(Swift.String(describing: softwareSetUpdateMode)), softwareSetUpdateSchedule: \(Swift.String(describing: softwareSetUpdateSchedule)), updatedAt: \(Swift.String(describing: updatedAt)), desktopEndpoint: \"CONTENT_REDACTED\", deviceCreationTags: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } public struct GetDeviceInput { @@ -1618,6 +1626,8 @@ public struct UpdateEnvironmentInput { public var desktopArn: Swift.String? /// The URL for the identity provider login (only for environments that use AppStream 2.0). public var desktopEndpoint: Swift.String? + /// A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment. + public var deviceCreationTags: [Swift.String: Swift.String]? /// The ID of the environment to update. /// This member is required. public var id: Swift.String? @@ -1634,6 +1644,7 @@ public struct UpdateEnvironmentInput { desiredSoftwareSetId: Swift.String? = nil, desktopArn: Swift.String? = nil, desktopEndpoint: Swift.String? = nil, + deviceCreationTags: [Swift.String: Swift.String]? = nil, id: Swift.String? = nil, maintenanceWindow: WorkSpacesThinClientClientTypes.MaintenanceWindow? = nil, name: Swift.String? = nil, @@ -1644,6 +1655,7 @@ public struct UpdateEnvironmentInput { self.desiredSoftwareSetId = desiredSoftwareSetId self.desktopArn = desktopArn self.desktopEndpoint = desktopEndpoint + self.deviceCreationTags = deviceCreationTags self.id = id self.maintenanceWindow = maintenanceWindow self.name = name @@ -1654,7 +1666,7 @@ public struct UpdateEnvironmentInput { extension UpdateEnvironmentInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateEnvironmentInput(desiredSoftwareSetId: \(Swift.String(describing: desiredSoftwareSetId)), desktopArn: \(Swift.String(describing: desktopArn)), id: \(Swift.String(describing: id)), maintenanceWindow: \(Swift.String(describing: maintenanceWindow)), softwareSetUpdateMode: \(Swift.String(describing: softwareSetUpdateMode)), softwareSetUpdateSchedule: \(Swift.String(describing: softwareSetUpdateSchedule)), desktopEndpoint: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} + "UpdateEnvironmentInput(desiredSoftwareSetId: \(Swift.String(describing: desiredSoftwareSetId)), desktopArn: \(Swift.String(describing: desktopArn)), id: \(Swift.String(describing: id)), maintenanceWindow: \(Swift.String(describing: maintenanceWindow)), softwareSetUpdateMode: \(Swift.String(describing: softwareSetUpdateMode)), softwareSetUpdateSchedule: \(Swift.String(describing: softwareSetUpdateSchedule)), desktopEndpoint: \"CONTENT_REDACTED\", deviceCreationTags: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } public struct UpdateEnvironmentOutput { @@ -1936,6 +1948,7 @@ extension CreateEnvironmentInput { try writer["desiredSoftwareSetId"].write(value.desiredSoftwareSetId) try writer["desktopArn"].write(value.desktopArn) try writer["desktopEndpoint"].write(value.desktopEndpoint) + try writer["deviceCreationTags"].writeMap(value.deviceCreationTags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["kmsKeyArn"].write(value.kmsKeyArn) try writer["maintenanceWindow"].write(value.maintenanceWindow, with: WorkSpacesThinClientClientTypes.MaintenanceWindow.write(value:to:)) try writer["name"].write(value.name) @@ -1979,6 +1992,7 @@ extension UpdateEnvironmentInput { try writer["desiredSoftwareSetId"].write(value.desiredSoftwareSetId) try writer["desktopArn"].write(value.desktopArn) try writer["desktopEndpoint"].write(value.desktopEndpoint) + try writer["deviceCreationTags"].writeMap(value.deviceCreationTags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) try writer["maintenanceWindow"].write(value.maintenanceWindow, with: WorkSpacesThinClientClientTypes.MaintenanceWindow.write(value:to:)) try writer["name"].write(value.name) try writer["softwareSetUpdateMode"].write(value.softwareSetUpdateMode) @@ -1996,7 +2010,7 @@ extension UpdateSoftwareSetInput { extension CreateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2008,28 +2022,28 @@ extension CreateEnvironmentOutput { extension DeleteDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDeviceOutput { return DeleteDeviceOutput() } } extension DeleteEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteEnvironmentOutput { return DeleteEnvironmentOutput() } } extension DeregisterDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeregisterDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeregisterDeviceOutput { return DeregisterDeviceOutput() } } extension GetDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2041,7 +2055,7 @@ extension GetDeviceOutput { extension GetEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2053,7 +2067,7 @@ extension GetEnvironmentOutput { extension GetSoftwareSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSoftwareSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSoftwareSetOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2065,7 +2079,7 @@ extension GetSoftwareSetOutput { extension ListDevicesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListDevicesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDevicesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2078,7 +2092,7 @@ extension ListDevicesOutput { extension ListEnvironmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListEnvironmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListEnvironmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2091,7 +2105,7 @@ extension ListEnvironmentsOutput { extension ListSoftwareSetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListSoftwareSetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSoftwareSetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2104,7 +2118,7 @@ extension ListSoftwareSetsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2116,21 +2130,21 @@ extension ListTagsForResourceOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateDeviceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateDeviceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDeviceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2142,7 +2156,7 @@ extension UpdateDeviceOutput { extension UpdateEnvironmentOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateEnvironmentOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateEnvironmentOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -2154,14 +2168,14 @@ extension UpdateEnvironmentOutput { extension UpdateSoftwareSetOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSoftwareSetOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSoftwareSetOutput { return UpdateSoftwareSetOutput() } } enum CreateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2181,7 +2195,7 @@ enum CreateEnvironmentOutputError { enum DeleteDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2200,7 +2214,7 @@ enum DeleteDeviceOutputError { enum DeleteEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2219,7 +2233,7 @@ enum DeleteEnvironmentOutputError { enum DeregisterDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2238,7 +2252,7 @@ enum DeregisterDeviceOutputError { enum GetDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2256,7 +2270,7 @@ enum GetDeviceOutputError { enum GetEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2274,7 +2288,7 @@ enum GetEnvironmentOutputError { enum GetSoftwareSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2292,7 +2306,7 @@ enum GetSoftwareSetOutputError { enum ListDevicesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2309,7 +2323,7 @@ enum ListDevicesOutputError { enum ListEnvironmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2326,7 +2340,7 @@ enum ListEnvironmentsOutputError { enum ListSoftwareSetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2343,7 +2357,7 @@ enum ListSoftwareSetsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2361,7 +2375,7 @@ enum ListTagsForResourceOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2380,7 +2394,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2399,7 +2413,7 @@ enum UntagResourceOutputError { enum UpdateDeviceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2417,7 +2431,7 @@ enum UpdateDeviceOutputError { enum UpdateEnvironmentOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2435,7 +2449,7 @@ enum UpdateEnvironmentOutputError { enum UpdateSoftwareSetOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -2666,6 +2680,7 @@ extension WorkSpacesThinClientClientTypes.Environment { value.arn = try reader["arn"].readIfPresent() value.kmsKeyArn = try reader["kmsKeyArn"].readIfPresent() value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.deviceCreationTags = try reader["deviceCreationTags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } } diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift index 4bb829696eb..6884f3e21c0 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -35,7 +35,7 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -63,7 +63,7 @@ public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AW public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -93,7 +93,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .server } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -123,7 +123,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -157,7 +157,7 @@ public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -248,7 +248,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -529,7 +529,7 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -608,7 +608,7 @@ public struct CreateBrowserSettingsInput { extension CreateBrowserSettingsInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateBrowserSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), tags: \(Swift.String(describing: tags)), browserPolicy: \"CONTENT_REDACTED\")"} + "CreateBrowserSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), browserPolicy: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } public struct CreateBrowserSettingsOutput { @@ -923,13 +923,16 @@ public struct CreateIdentityProviderInput { /// The ARN of the web portal. /// This member is required. public var portalArn: Swift.String? + /// The tags to add to the identity provider resource. A tag is a key-value pair. + public var tags: [WorkSpacesWebClientTypes.Tag]? public init( clientToken: Swift.String? = nil, identityProviderDetails: [Swift.String: Swift.String]? = nil, identityProviderName: Swift.String? = nil, identityProviderType: WorkSpacesWebClientTypes.IdentityProviderType? = nil, - portalArn: Swift.String? = nil + portalArn: Swift.String? = nil, + tags: [WorkSpacesWebClientTypes.Tag]? = nil ) { self.clientToken = clientToken @@ -937,12 +940,13 @@ public struct CreateIdentityProviderInput { self.identityProviderName = identityProviderName self.identityProviderType = identityProviderType self.portalArn = portalArn + self.tags = tags } } extension CreateIdentityProviderInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateIdentityProviderInput(clientToken: \(Swift.String(describing: clientToken)), identityProviderType: \(Swift.String(describing: identityProviderType)), portalArn: \(Swift.String(describing: portalArn)), identityProviderDetails: \"CONTENT_REDACTED\", identityProviderName: \"CONTENT_REDACTED\")"} + "CreateIdentityProviderInput(clientToken: \(Swift.String(describing: clientToken)), identityProviderType: \(Swift.String(describing: identityProviderType)), portalArn: \(Swift.String(describing: portalArn)), identityProviderDetails: \"CONTENT_REDACTED\", identityProviderName: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } public struct CreateIdentityProviderOutput { @@ -1337,7 +1341,7 @@ public struct CreateIpAccessSettingsInput { /// The IP rules of the IP access settings. /// This member is required. public var ipRules: [WorkSpacesWebClientTypes.IpRule]? - /// The tags to add to the browser settings resource. A tag is a key-value pair. + /// The tags to add to the IP access settings resource. A tag is a key-value pair. public var tags: [WorkSpacesWebClientTypes.Tag]? public init( @@ -1362,7 +1366,7 @@ public struct CreateIpAccessSettingsInput { extension CreateIpAccessSettingsInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateIpAccessSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), tags: \(Swift.String(describing: tags)), description: \"CONTENT_REDACTED\", displayName: \"CONTENT_REDACTED\", ipRules: \"CONTENT_REDACTED\")"} + "CreateIpAccessSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), description: \"CONTENT_REDACTED\", displayName: \"CONTENT_REDACTED\", ipRules: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } public struct CreateIpAccessSettingsOutput { @@ -1609,6 +1613,11 @@ public struct ListTagsForResourceOutput { } } +extension ListTagsForResourceOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "ListTagsForResourceOutput(tags: \"CONTENT_REDACTED\")"} +} + public struct CreateNetworkSettingsInput { /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK. public var clientToken: Swift.String? @@ -1640,6 +1649,11 @@ public struct CreateNetworkSettingsInput { } } +extension CreateNetworkSettingsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateNetworkSettingsInput(clientToken: \(Swift.String(describing: clientToken)), securityGroupIds: \(Swift.String(describing: securityGroupIds)), subnetIds: \(Swift.String(describing: subnetIds)), vpcId: \(Swift.String(describing: vpcId)), tags: \"CONTENT_REDACTED\")"} +} + public struct CreateNetworkSettingsOutput { /// The ARN of the network settings. /// This member is required. @@ -1924,7 +1938,7 @@ public struct CreatePortalInput { extension CreatePortalInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreatePortalInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), authenticationType: \(Swift.String(describing: authenticationType)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), instanceType: \(Swift.String(describing: instanceType)), maxConcurrentSessions: \(Swift.String(describing: maxConcurrentSessions)), tags: \(Swift.String(describing: tags)), displayName: \"CONTENT_REDACTED\")"} + "CreatePortalInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), authenticationType: \(Swift.String(describing: authenticationType)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), instanceType: \(Swift.String(describing: instanceType)), maxConcurrentSessions: \(Swift.String(describing: maxConcurrentSessions)), displayName: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } public struct CreatePortalOutput { @@ -2452,7 +2466,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2488,6 +2502,11 @@ public struct TagResourceInput { } } +extension TagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TagResourceInput(clientToken: \(Swift.String(describing: clientToken)), resourceArn: \(Swift.String(describing: resourceArn)), tags: \"CONTENT_REDACTED\")"} +} + public struct TagResourceOutput { public init() { } @@ -2546,6 +2565,11 @@ public struct CreateTrustStoreInput { } } +extension CreateTrustStoreInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateTrustStoreInput(certificateList: \(Swift.String(describing: certificateList)), clientToken: \(Swift.String(describing: clientToken)), tags: \"CONTENT_REDACTED\")"} +} + public struct CreateTrustStoreOutput { /// The ARN of the trust store. /// This member is required. @@ -2840,6 +2864,11 @@ public struct UntagResourceInput { } } +extension UntagResourceInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UntagResourceInput(resourceArn: \(Swift.String(describing: resourceArn)), tagKeys: \"CONTENT_REDACTED\")"} +} + public struct UntagResourceOutput { public init() { } @@ -2866,6 +2895,11 @@ public struct CreateUserAccessLoggingSettingsInput { } } +extension CreateUserAccessLoggingSettingsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateUserAccessLoggingSettingsInput(clientToken: \(Swift.String(describing: clientToken)), kinesisStreamArn: \(Swift.String(describing: kinesisStreamArn)), tags: \"CONTENT_REDACTED\")"} +} + public struct CreateUserAccessLoggingSettingsOutput { /// The ARN of the user access logging settings. /// This member is required. @@ -3132,6 +3166,8 @@ public struct CreateUserSettingsInput { public var copyAllowed: WorkSpacesWebClientTypes.EnabledType? /// The customer managed key used to encrypt sensitive information in the user settings. public var customerManagedKey: Swift.String? + /// Specifies whether the user can use deep links that open automatically when connecting to a session. + public var deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? /// The amount of time that a streaming session remains active after users disconnect. public var disconnectTimeoutInMinutes: Swift.Int? /// Specifies whether the user can download files from the streaming session to the local device. @@ -3157,6 +3193,7 @@ public struct CreateUserSettingsInput { cookieSynchronizationConfiguration: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration? = nil, copyAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, customerManagedKey: Swift.String? = nil, + deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, disconnectTimeoutInMinutes: Swift.Int? = nil, downloadAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, idleDisconnectTimeoutInMinutes: Swift.Int? = nil, @@ -3171,6 +3208,7 @@ public struct CreateUserSettingsInput { self.cookieSynchronizationConfiguration = cookieSynchronizationConfiguration self.copyAllowed = copyAllowed self.customerManagedKey = customerManagedKey + self.deepLinkAllowed = deepLinkAllowed self.disconnectTimeoutInMinutes = disconnectTimeoutInMinutes self.downloadAllowed = downloadAllowed self.idleDisconnectTimeoutInMinutes = idleDisconnectTimeoutInMinutes @@ -3183,7 +3221,7 @@ public struct CreateUserSettingsInput { extension CreateUserSettingsInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateUserSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), copyAllowed: \(Swift.String(describing: copyAllowed)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), tags: \(Swift.String(describing: tags)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} + "CreateUserSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), copyAllowed: \(Swift.String(describing: copyAllowed)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), deepLinkAllowed: \(Swift.String(describing: deepLinkAllowed)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} } public struct CreateUserSettingsOutput { @@ -3243,6 +3281,8 @@ extension WorkSpacesWebClientTypes { public var copyAllowed: WorkSpacesWebClientTypes.EnabledType? /// The customer managed key used to encrypt sensitive information in the user settings. public var customerManagedKey: Swift.String? + /// Specifies whether the user can use deep links that open automatically when connecting to a session. + public var deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? /// The amount of time that a streaming session remains active after users disconnect. public var disconnectTimeoutInMinutes: Swift.Int? /// Specifies whether the user can download files from the streaming session to the local device. @@ -3265,6 +3305,7 @@ extension WorkSpacesWebClientTypes { cookieSynchronizationConfiguration: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration? = nil, copyAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, customerManagedKey: Swift.String? = nil, + deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, disconnectTimeoutInMinutes: Swift.Int? = nil, downloadAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, idleDisconnectTimeoutInMinutes: Swift.Int? = nil, @@ -3279,6 +3320,7 @@ extension WorkSpacesWebClientTypes { self.cookieSynchronizationConfiguration = cookieSynchronizationConfiguration self.copyAllowed = copyAllowed self.customerManagedKey = customerManagedKey + self.deepLinkAllowed = deepLinkAllowed self.disconnectTimeoutInMinutes = disconnectTimeoutInMinutes self.downloadAllowed = downloadAllowed self.idleDisconnectTimeoutInMinutes = idleDisconnectTimeoutInMinutes @@ -3293,7 +3335,7 @@ extension WorkSpacesWebClientTypes { extension WorkSpacesWebClientTypes.UserSettings: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UserSettings(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), associatedPortalArns: \(Swift.String(describing: associatedPortalArns)), copyAllowed: \(Swift.String(describing: copyAllowed)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} + "UserSettings(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), associatedPortalArns: \(Swift.String(describing: associatedPortalArns)), copyAllowed: \(Swift.String(describing: copyAllowed)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), deepLinkAllowed: \(Swift.String(describing: deepLinkAllowed)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} } public struct GetUserSettingsOutput { @@ -3331,6 +3373,8 @@ extension WorkSpacesWebClientTypes { public var cookieSynchronizationConfiguration: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration? /// Specifies whether the user can copy text from the streaming session to the local device. public var copyAllowed: WorkSpacesWebClientTypes.EnabledType? + /// Specifies whether the user can use deep links that open automatically when connecting to a session. + public var deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? /// The amount of time that a streaming session remains active after users disconnect. public var disconnectTimeoutInMinutes: Swift.Int? /// Specifies whether the user can download files from the streaming session to the local device. @@ -3350,6 +3394,7 @@ extension WorkSpacesWebClientTypes { public init( cookieSynchronizationConfiguration: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration? = nil, copyAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, + deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, disconnectTimeoutInMinutes: Swift.Int? = nil, downloadAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, idleDisconnectTimeoutInMinutes: Swift.Int? = nil, @@ -3361,6 +3406,7 @@ extension WorkSpacesWebClientTypes { { self.cookieSynchronizationConfiguration = cookieSynchronizationConfiguration self.copyAllowed = copyAllowed + self.deepLinkAllowed = deepLinkAllowed self.disconnectTimeoutInMinutes = disconnectTimeoutInMinutes self.downloadAllowed = downloadAllowed self.idleDisconnectTimeoutInMinutes = idleDisconnectTimeoutInMinutes @@ -3375,7 +3421,7 @@ extension WorkSpacesWebClientTypes { extension WorkSpacesWebClientTypes.UserSettingsSummary: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UserSettingsSummary(copyAllowed: \(Swift.String(describing: copyAllowed)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} + "UserSettingsSummary(copyAllowed: \(Swift.String(describing: copyAllowed)), deepLinkAllowed: \(Swift.String(describing: deepLinkAllowed)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} } public struct ListUserSettingsOutput { @@ -3401,6 +3447,8 @@ public struct UpdateUserSettingsInput { public var cookieSynchronizationConfiguration: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration? /// Specifies whether the user can copy text from the streaming session to the local device. public var copyAllowed: WorkSpacesWebClientTypes.EnabledType? + /// Specifies whether the user can use deep links that open automatically when connecting to a session. + public var deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? /// The amount of time that a streaming session remains active after users disconnect. public var disconnectTimeoutInMinutes: Swift.Int? /// Specifies whether the user can download files from the streaming session to the local device. @@ -3421,6 +3469,7 @@ public struct UpdateUserSettingsInput { clientToken: Swift.String? = nil, cookieSynchronizationConfiguration: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration? = nil, copyAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, + deepLinkAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, disconnectTimeoutInMinutes: Swift.Int? = nil, downloadAllowed: WorkSpacesWebClientTypes.EnabledType? = nil, idleDisconnectTimeoutInMinutes: Swift.Int? = nil, @@ -3433,6 +3482,7 @@ public struct UpdateUserSettingsInput { self.clientToken = clientToken self.cookieSynchronizationConfiguration = cookieSynchronizationConfiguration self.copyAllowed = copyAllowed + self.deepLinkAllowed = deepLinkAllowed self.disconnectTimeoutInMinutes = disconnectTimeoutInMinutes self.downloadAllowed = downloadAllowed self.idleDisconnectTimeoutInMinutes = idleDisconnectTimeoutInMinutes @@ -3445,7 +3495,7 @@ public struct UpdateUserSettingsInput { extension UpdateUserSettingsInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateUserSettingsInput(clientToken: \(Swift.String(describing: clientToken)), copyAllowed: \(Swift.String(describing: copyAllowed)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} + "UpdateUserSettingsInput(clientToken: \(Swift.String(describing: clientToken)), copyAllowed: \(Swift.String(describing: copyAllowed)), deepLinkAllowed: \(Swift.String(describing: deepLinkAllowed)), disconnectTimeoutInMinutes: \(Swift.String(describing: disconnectTimeoutInMinutes)), downloadAllowed: \(Swift.String(describing: downloadAllowed)), idleDisconnectTimeoutInMinutes: \(Swift.String(describing: idleDisconnectTimeoutInMinutes)), pasteAllowed: \(Swift.String(describing: pasteAllowed)), printAllowed: \(Swift.String(describing: printAllowed)), uploadAllowed: \(Swift.String(describing: uploadAllowed)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), cookieSynchronizationConfiguration: \"CONTENT_REDACTED\")"} } public struct UpdateUserSettingsOutput { @@ -4275,6 +4325,7 @@ extension CreateIdentityProviderInput { try writer["identityProviderName"].write(value.identityProviderName) try writer["identityProviderType"].write(value.identityProviderType) try writer["portalArn"].write(value.portalArn) + try writer["tags"].writeList(value.tags, memberWritingClosure: WorkSpacesWebClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } @@ -4348,6 +4399,7 @@ extension CreateUserSettingsInput { try writer["cookieSynchronizationConfiguration"].write(value.cookieSynchronizationConfiguration, with: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration.write(value:to:)) try writer["copyAllowed"].write(value.copyAllowed) try writer["customerManagedKey"].write(value.customerManagedKey) + try writer["deepLinkAllowed"].write(value.deepLinkAllowed) try writer["disconnectTimeoutInMinutes"].write(value.disconnectTimeoutInMinutes) try writer["downloadAllowed"].write(value.downloadAllowed) try writer["idleDisconnectTimeoutInMinutes"].write(value.idleDisconnectTimeoutInMinutes) @@ -4446,6 +4498,7 @@ extension UpdateUserSettingsInput { try writer["clientToken"].write(value.clientToken) try writer["cookieSynchronizationConfiguration"].write(value.cookieSynchronizationConfiguration, with: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration.write(value:to:)) try writer["copyAllowed"].write(value.copyAllowed) + try writer["deepLinkAllowed"].write(value.deepLinkAllowed) try writer["disconnectTimeoutInMinutes"].write(value.disconnectTimeoutInMinutes) try writer["downloadAllowed"].write(value.downloadAllowed) try writer["idleDisconnectTimeoutInMinutes"].write(value.idleDisconnectTimeoutInMinutes) @@ -4457,7 +4510,7 @@ extension UpdateUserSettingsInput { extension AssociateBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateBrowserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4470,7 +4523,7 @@ extension AssociateBrowserSettingsOutput { extension AssociateIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIpAccessSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4483,7 +4536,7 @@ extension AssociateIpAccessSettingsOutput { extension AssociateNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateNetworkSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4496,7 +4549,7 @@ extension AssociateNetworkSettingsOutput { extension AssociateTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateTrustStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4509,7 +4562,7 @@ extension AssociateTrustStoreOutput { extension AssociateUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateUserAccessLoggingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4522,7 +4575,7 @@ extension AssociateUserAccessLoggingSettingsOutput { extension AssociateUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> AssociateUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateUserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4535,7 +4588,7 @@ extension AssociateUserSettingsOutput { extension CreateBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateBrowserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4547,7 +4600,7 @@ extension CreateBrowserSettingsOutput { extension CreateIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4559,7 +4612,7 @@ extension CreateIdentityProviderOutput { extension CreateIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIpAccessSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4571,7 +4624,7 @@ extension CreateIpAccessSettingsOutput { extension CreateNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateNetworkSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4583,7 +4636,7 @@ extension CreateNetworkSettingsOutput { extension CreatePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreatePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreatePortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4596,7 +4649,7 @@ extension CreatePortalOutput { extension CreateTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateTrustStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4608,7 +4661,7 @@ extension CreateTrustStoreOutput { extension CreateUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserAccessLoggingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4620,7 +4673,7 @@ extension CreateUserAccessLoggingSettingsOutput { extension CreateUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateUserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4632,105 +4685,105 @@ extension CreateUserSettingsOutput { extension DeleteBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteBrowserSettingsOutput { return DeleteBrowserSettingsOutput() } } extension DeleteIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityProviderOutput { return DeleteIdentityProviderOutput() } } extension DeleteIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIpAccessSettingsOutput { return DeleteIpAccessSettingsOutput() } } extension DeleteNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteNetworkSettingsOutput { return DeleteNetworkSettingsOutput() } } extension DeletePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeletePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeletePortalOutput { return DeletePortalOutput() } } extension DeleteTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteTrustStoreOutput { return DeleteTrustStoreOutput() } } extension DeleteUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserAccessLoggingSettingsOutput { return DeleteUserAccessLoggingSettingsOutput() } } extension DeleteUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteUserSettingsOutput { return DeleteUserSettingsOutput() } } extension DisassociateBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateBrowserSettingsOutput { return DisassociateBrowserSettingsOutput() } } extension DisassociateIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIpAccessSettingsOutput { return DisassociateIpAccessSettingsOutput() } } extension DisassociateNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateNetworkSettingsOutput { return DisassociateNetworkSettingsOutput() } } extension DisassociateTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateTrustStoreOutput { return DisassociateTrustStoreOutput() } } extension DisassociateUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateUserAccessLoggingSettingsOutput { return DisassociateUserAccessLoggingSettingsOutput() } } extension DisassociateUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DisassociateUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateUserSettingsOutput { return DisassociateUserSettingsOutput() } } extension GetBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetBrowserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4742,7 +4795,7 @@ extension GetBrowserSettingsOutput { extension GetIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4754,7 +4807,7 @@ extension GetIdentityProviderOutput { extension GetIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIpAccessSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4766,7 +4819,7 @@ extension GetIpAccessSettingsOutput { extension GetNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetNetworkSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4778,7 +4831,7 @@ extension GetNetworkSettingsOutput { extension GetPortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4790,7 +4843,7 @@ extension GetPortalOutput { extension GetPortalServiceProviderMetadataOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetPortalServiceProviderMetadataOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetPortalServiceProviderMetadataOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4803,7 +4856,7 @@ extension GetPortalServiceProviderMetadataOutput { extension GetTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrustStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4815,7 +4868,7 @@ extension GetTrustStoreOutput { extension GetTrustStoreCertificateOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTrustStoreCertificateOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTrustStoreCertificateOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4828,7 +4881,7 @@ extension GetTrustStoreCertificateOutput { extension GetUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserAccessLoggingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4840,7 +4893,7 @@ extension GetUserAccessLoggingSettingsOutput { extension GetUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetUserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4852,7 +4905,7 @@ extension GetUserSettingsOutput { extension ListBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListBrowserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4865,7 +4918,7 @@ extension ListBrowserSettingsOutput { extension ListIdentityProvidersOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIdentityProvidersOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityProvidersOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4878,7 +4931,7 @@ extension ListIdentityProvidersOutput { extension ListIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIpAccessSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4891,7 +4944,7 @@ extension ListIpAccessSettingsOutput { extension ListNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListNetworkSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4904,7 +4957,7 @@ extension ListNetworkSettingsOutput { extension ListPortalsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListPortalsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPortalsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4917,7 +4970,7 @@ extension ListPortalsOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4929,7 +4982,7 @@ extension ListTagsForResourceOutput { extension ListTrustStoreCertificatesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrustStoreCertificatesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrustStoreCertificatesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4943,7 +4996,7 @@ extension ListTrustStoreCertificatesOutput { extension ListTrustStoresOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTrustStoresOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTrustStoresOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4956,7 +5009,7 @@ extension ListTrustStoresOutput { extension ListUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserAccessLoggingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4969,7 +5022,7 @@ extension ListUserAccessLoggingSettingsOutput { extension ListUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListUserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4982,21 +5035,21 @@ extension ListUserSettingsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateBrowserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateBrowserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateBrowserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5008,7 +5061,7 @@ extension UpdateBrowserSettingsOutput { extension UpdateIdentityProviderOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIdentityProviderOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityProviderOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5020,7 +5073,7 @@ extension UpdateIdentityProviderOutput { extension UpdateIpAccessSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateIpAccessSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIpAccessSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5032,7 +5085,7 @@ extension UpdateIpAccessSettingsOutput { extension UpdateNetworkSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateNetworkSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateNetworkSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5044,7 +5097,7 @@ extension UpdateNetworkSettingsOutput { extension UpdatePortalOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdatePortalOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdatePortalOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5056,7 +5109,7 @@ extension UpdatePortalOutput { extension UpdateTrustStoreOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateTrustStoreOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTrustStoreOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5068,7 +5121,7 @@ extension UpdateTrustStoreOutput { extension UpdateUserAccessLoggingSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserAccessLoggingSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserAccessLoggingSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5080,7 +5133,7 @@ extension UpdateUserAccessLoggingSettingsOutput { extension UpdateUserSettingsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateUserSettingsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateUserSettingsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -5092,7 +5145,7 @@ extension UpdateUserSettingsOutput { enum AssociateBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5111,7 +5164,7 @@ enum AssociateBrowserSettingsOutputError { enum AssociateIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5130,7 +5183,7 @@ enum AssociateIpAccessSettingsOutputError { enum AssociateNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5149,13 +5202,14 @@ enum AssociateNetworkSettingsOutputError { enum AssociateTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5167,7 +5221,7 @@ enum AssociateTrustStoreOutputError { enum AssociateUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5186,7 +5240,7 @@ enum AssociateUserAccessLoggingSettingsOutputError { enum AssociateUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5205,7 +5259,7 @@ enum AssociateUserSettingsOutputError { enum CreateBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5225,7 +5279,7 @@ enum CreateBrowserSettingsOutputError { enum CreateIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5245,7 +5299,7 @@ enum CreateIdentityProviderOutputError { enum CreateIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5264,7 +5318,7 @@ enum CreateIpAccessSettingsOutputError { enum CreateNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5283,7 +5337,7 @@ enum CreateNetworkSettingsOutputError { enum CreatePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5303,7 +5357,7 @@ enum CreatePortalOutputError { enum CreateTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5322,7 +5376,7 @@ enum CreateTrustStoreOutputError { enum CreateUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5341,7 +5395,7 @@ enum CreateUserAccessLoggingSettingsOutputError { enum CreateUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5360,7 +5414,7 @@ enum CreateUserSettingsOutputError { enum DeleteBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5378,7 +5432,7 @@ enum DeleteBrowserSettingsOutputError { enum DeleteIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5396,7 +5450,7 @@ enum DeleteIdentityProviderOutputError { enum DeleteIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5414,7 +5468,7 @@ enum DeleteIpAccessSettingsOutputError { enum DeleteNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5432,7 +5486,7 @@ enum DeleteNetworkSettingsOutputError { enum DeletePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5450,7 +5504,7 @@ enum DeletePortalOutputError { enum DeleteTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5468,7 +5522,7 @@ enum DeleteTrustStoreOutputError { enum DeleteUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5486,7 +5540,7 @@ enum DeleteUserAccessLoggingSettingsOutputError { enum DeleteUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5504,13 +5558,14 @@ enum DeleteUserSettingsOutputError { enum DisassociateBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5522,13 +5577,14 @@ enum DisassociateBrowserSettingsOutputError { enum DisassociateIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5540,13 +5596,14 @@ enum DisassociateIpAccessSettingsOutputError { enum DisassociateNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5558,13 +5615,14 @@ enum DisassociateNetworkSettingsOutputError { enum DisassociateTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5576,13 +5634,14 @@ enum DisassociateTrustStoreOutputError { enum DisassociateUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5594,13 +5653,14 @@ enum DisassociateUserAccessLoggingSettingsOutputError { enum DisassociateUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) if let error = baseError.customError() { return error } switch baseError.code { case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) @@ -5612,7 +5672,7 @@ enum DisassociateUserSettingsOutputError { enum GetBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5630,7 +5690,7 @@ enum GetBrowserSettingsOutputError { enum GetIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5648,7 +5708,7 @@ enum GetIdentityProviderOutputError { enum GetIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5666,7 +5726,7 @@ enum GetIpAccessSettingsOutputError { enum GetNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5684,7 +5744,7 @@ enum GetNetworkSettingsOutputError { enum GetPortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5702,7 +5762,7 @@ enum GetPortalOutputError { enum GetPortalServiceProviderMetadataOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5720,7 +5780,7 @@ enum GetPortalServiceProviderMetadataOutputError { enum GetTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5738,7 +5798,7 @@ enum GetTrustStoreOutputError { enum GetTrustStoreCertificateOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5756,7 +5816,7 @@ enum GetTrustStoreCertificateOutputError { enum GetUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5774,7 +5834,7 @@ enum GetUserAccessLoggingSettingsOutputError { enum GetUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5792,7 +5852,7 @@ enum GetUserSettingsOutputError { enum ListBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5809,7 +5869,7 @@ enum ListBrowserSettingsOutputError { enum ListIdentityProvidersOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5826,7 +5886,7 @@ enum ListIdentityProvidersOutputError { enum ListIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5843,7 +5903,7 @@ enum ListIpAccessSettingsOutputError { enum ListNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5860,7 +5920,7 @@ enum ListNetworkSettingsOutputError { enum ListPortalsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5877,7 +5937,7 @@ enum ListPortalsOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5895,7 +5955,7 @@ enum ListTagsForResourceOutputError { enum ListTrustStoreCertificatesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5913,7 +5973,7 @@ enum ListTrustStoreCertificatesOutputError { enum ListTrustStoresOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5930,7 +5990,7 @@ enum ListTrustStoresOutputError { enum ListUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5947,7 +6007,7 @@ enum ListUserAccessLoggingSettingsOutputError { enum ListUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5964,7 +6024,7 @@ enum ListUserSettingsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -5983,7 +6043,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6001,7 +6061,7 @@ enum UntagResourceOutputError { enum UpdateBrowserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6019,7 +6079,7 @@ enum UpdateBrowserSettingsOutputError { enum UpdateIdentityProviderOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6037,7 +6097,7 @@ enum UpdateIdentityProviderOutputError { enum UpdateIpAccessSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6055,7 +6115,7 @@ enum UpdateIpAccessSettingsOutputError { enum UpdateNetworkSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6073,7 +6133,7 @@ enum UpdateNetworkSettingsOutputError { enum UpdatePortalOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6093,7 +6153,7 @@ enum UpdatePortalOutputError { enum UpdateTrustStoreOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6112,7 +6172,7 @@ enum UpdateTrustStoreOutputError { enum UpdateUserAccessLoggingSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6130,7 +6190,7 @@ enum UpdateUserAccessLoggingSettingsOutputError { enum UpdateUserSettingsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -6429,6 +6489,7 @@ extension WorkSpacesWebClientTypes.UserSettings { value.cookieSynchronizationConfiguration = try reader["cookieSynchronizationConfiguration"].readIfPresent(with: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration.read(from:)) value.customerManagedKey = try reader["customerManagedKey"].readIfPresent() value.additionalEncryptionContext = try reader["additionalEncryptionContext"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + value.deepLinkAllowed = try reader["deepLinkAllowed"].readIfPresent() return value } } @@ -6606,6 +6667,7 @@ extension WorkSpacesWebClientTypes.UserSettingsSummary { value.disconnectTimeoutInMinutes = try reader["disconnectTimeoutInMinutes"].readIfPresent() value.idleDisconnectTimeoutInMinutes = try reader["idleDisconnectTimeoutInMinutes"].readIfPresent() value.cookieSynchronizationConfiguration = try reader["cookieSynchronizationConfiguration"].readIfPresent(with: WorkSpacesWebClientTypes.CookieSynchronizationConfiguration.read(from:)) + value.deepLinkAllowed = try reader["deepLinkAllowed"].readIfPresent() return value } } diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift index 29d68e6e8d0..350b1540974 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift @@ -345,6 +345,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. @@ -1324,6 +1325,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. @@ -1373,6 +1375,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. @@ -1422,6 +1425,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. @@ -1471,6 +1475,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. @@ -1520,6 +1525,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. @@ -1569,6 +1575,7 @@ extension WorkSpacesWebClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. /// - `InternalServerException` : There is an internal server error. /// - `ResourceNotFoundException` : The resource cannot be found. /// - `ThrottlingException` : There is a throttling error. diff --git a/Sources/Services/AWSXRay/Sources/AWSXRay/Models.swift b/Sources/Services/AWSXRay/Sources/AWSXRay/Models.swift index 88259371f26..08051c87684 100644 --- a/Sources/Services/AWSXRay/Sources/AWSXRay/Models.swift +++ b/Sources/Services/AWSXRay/Sources/AWSXRay/Models.swift @@ -8,7 +8,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! import Foundation -import class SmithyHTTPAPI.HttpResponse +import class SmithyHTTPAPI.HTTPResponse import class SmithyJSON.Reader import class SmithyJSON.Writer import enum ClientRuntime.ErrorFault @@ -154,7 +154,7 @@ public struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRunt public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -178,7 +178,7 @@ public struct ThrottledException: ClientRuntime.ModeledError, AWSClientRuntime.A public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -420,7 +420,7 @@ public struct RuleLimitExceededException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -604,7 +604,7 @@ public struct InvalidPolicyRevisionIdException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2646,7 +2646,7 @@ public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRu public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2743,7 +2743,7 @@ public struct LockoutPreventionException: ClientRuntime.ModeledError, AWSClientR public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2767,7 +2767,7 @@ public struct MalformedPolicyDocumentException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2791,7 +2791,7 @@ public struct PolicyCountLimitExceededException: ClientRuntime.ModeledError, AWS public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -2815,7 +2815,7 @@ public struct PolicySizeLimitExceededException: ClientRuntime.ModeledError, AWSC public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3030,7 +3030,7 @@ public struct TooManyTagsException: ClientRuntime.ModeledError, AWSClientRuntime public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HttpResponse() + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() public internal(set) var message: Swift.String? public internal(set) var requestID: Swift.String? @@ -3722,7 +3722,7 @@ extension UpdateSamplingRuleInput { extension BatchGetTracesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> BatchGetTracesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> BatchGetTracesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3736,7 +3736,7 @@ extension BatchGetTracesOutput { extension CreateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3748,7 +3748,7 @@ extension CreateGroupOutput { extension CreateSamplingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> CreateSamplingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSamplingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3760,21 +3760,21 @@ extension CreateSamplingRuleOutput { extension DeleteGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteGroupOutput { return DeleteGroupOutput() } } extension DeleteResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteResourcePolicyOutput { return DeleteResourcePolicyOutput() } } extension DeleteSamplingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> DeleteSamplingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSamplingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3786,7 +3786,7 @@ extension DeleteSamplingRuleOutput { extension GetEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetEncryptionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3798,7 +3798,7 @@ extension GetEncryptionConfigOutput { extension GetGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3810,7 +3810,7 @@ extension GetGroupOutput { extension GetGroupsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetGroupsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetGroupsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3823,7 +3823,7 @@ extension GetGroupsOutput { extension GetInsightOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3835,7 +3835,7 @@ extension GetInsightOutput { extension GetInsightEventsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightEventsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightEventsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3848,7 +3848,7 @@ extension GetInsightEventsOutput { extension GetInsightImpactGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightImpactGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightImpactGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3866,7 +3866,7 @@ extension GetInsightImpactGraphOutput { extension GetInsightSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetInsightSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInsightSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3879,7 +3879,7 @@ extension GetInsightSummariesOutput { extension GetSamplingRulesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSamplingRulesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSamplingRulesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3892,7 +3892,7 @@ extension GetSamplingRulesOutput { extension GetSamplingStatisticSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSamplingStatisticSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSamplingStatisticSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3905,7 +3905,7 @@ extension GetSamplingStatisticSummariesOutput { extension GetSamplingTargetsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetSamplingTargetsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSamplingTargetsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3919,7 +3919,7 @@ extension GetSamplingTargetsOutput { extension GetServiceGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetServiceGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetServiceGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3935,7 +3935,7 @@ extension GetServiceGraphOutput { extension GetTimeSeriesServiceStatisticsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTimeSeriesServiceStatisticsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTimeSeriesServiceStatisticsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3949,7 +3949,7 @@ extension GetTimeSeriesServiceStatisticsOutput { extension GetTraceGraphOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTraceGraphOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTraceGraphOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3962,7 +3962,7 @@ extension GetTraceGraphOutput { extension GetTraceSummariesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> GetTraceSummariesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetTraceSummariesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3977,7 +3977,7 @@ extension GetTraceSummariesOutput { extension ListResourcePoliciesOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListResourcePoliciesOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListResourcePoliciesOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -3990,7 +3990,7 @@ extension ListResourcePoliciesOutput { extension ListTagsForResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> ListTagsForResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4003,7 +4003,7 @@ extension ListTagsForResourceOutput { extension PutEncryptionConfigOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutEncryptionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutEncryptionConfigOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4015,7 +4015,7 @@ extension PutEncryptionConfigOutput { extension PutResourcePolicyOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutResourcePolicyOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutResourcePolicyOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4027,14 +4027,14 @@ extension PutResourcePolicyOutput { extension PutTelemetryRecordsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutTelemetryRecordsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutTelemetryRecordsOutput { return PutTelemetryRecordsOutput() } } extension PutTraceSegmentsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> PutTraceSegmentsOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutTraceSegmentsOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4046,21 +4046,21 @@ extension PutTraceSegmentsOutput { extension TagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> TagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { return TagResourceOutput() } } extension UntagResourceOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UntagResourceOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { return UntagResourceOutput() } } extension UpdateGroupOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateGroupOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateGroupOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4072,7 +4072,7 @@ extension UpdateGroupOutput { extension UpdateSamplingRuleOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> UpdateSamplingRuleOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSamplingRuleOutput { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader @@ -4084,7 +4084,7 @@ extension UpdateSamplingRuleOutput { enum BatchGetTracesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4099,7 +4099,7 @@ enum BatchGetTracesOutputError { enum CreateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4114,7 +4114,7 @@ enum CreateGroupOutputError { enum CreateSamplingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4130,7 +4130,7 @@ enum CreateSamplingRuleOutputError { enum DeleteGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4145,7 +4145,7 @@ enum DeleteGroupOutputError { enum DeleteResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4161,7 +4161,7 @@ enum DeleteResourcePolicyOutputError { enum DeleteSamplingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4176,7 +4176,7 @@ enum DeleteSamplingRuleOutputError { enum GetEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4191,7 +4191,7 @@ enum GetEncryptionConfigOutputError { enum GetGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4206,7 +4206,7 @@ enum GetGroupOutputError { enum GetGroupsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4221,7 +4221,7 @@ enum GetGroupsOutputError { enum GetInsightOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4236,7 +4236,7 @@ enum GetInsightOutputError { enum GetInsightEventsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4251,7 +4251,7 @@ enum GetInsightEventsOutputError { enum GetInsightImpactGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4266,7 +4266,7 @@ enum GetInsightImpactGraphOutputError { enum GetInsightSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4281,7 +4281,7 @@ enum GetInsightSummariesOutputError { enum GetSamplingRulesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4296,7 +4296,7 @@ enum GetSamplingRulesOutputError { enum GetSamplingStatisticSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4311,7 +4311,7 @@ enum GetSamplingStatisticSummariesOutputError { enum GetSamplingTargetsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4326,7 +4326,7 @@ enum GetSamplingTargetsOutputError { enum GetServiceGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4341,7 +4341,7 @@ enum GetServiceGraphOutputError { enum GetTimeSeriesServiceStatisticsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4356,7 +4356,7 @@ enum GetTimeSeriesServiceStatisticsOutputError { enum GetTraceGraphOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4371,7 +4371,7 @@ enum GetTraceGraphOutputError { enum GetTraceSummariesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4386,7 +4386,7 @@ enum GetTraceSummariesOutputError { enum ListResourcePoliciesOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4401,7 +4401,7 @@ enum ListResourcePoliciesOutputError { enum ListTagsForResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4417,7 +4417,7 @@ enum ListTagsForResourceOutputError { enum PutEncryptionConfigOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4432,7 +4432,7 @@ enum PutEncryptionConfigOutputError { enum PutResourcePolicyOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4451,7 +4451,7 @@ enum PutResourcePolicyOutputError { enum PutTelemetryRecordsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4466,7 +4466,7 @@ enum PutTelemetryRecordsOutputError { enum PutTraceSegmentsOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4481,7 +4481,7 @@ enum PutTraceSegmentsOutputError { enum TagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4498,7 +4498,7 @@ enum TagResourceOutputError { enum UntagResourceOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4514,7 +4514,7 @@ enum UntagResourceOutputError { enum UpdateGroupOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) @@ -4529,7 +4529,7 @@ enum UpdateGroupOutputError { enum UpdateSamplingRuleOutputError { - static func httpError(from httpResponse: SmithyHTTPAPI.HttpResponse) async throws -> Swift.Error { + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { let data = try await httpResponse.data() let responseReader = try SmithyJSON.Reader.from(data: data) let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) From e0fa51026113a8d28e98d5f69d2c4bd85c931822 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Tue, 30 Jul 2024 12:45:36 -0500 Subject: [PATCH 36/45] Move bearer token resolvers to correct location --- .../DefaultBearerTokenIdentityResolverChain.swift | 0 .../SSOBearerTokenIdentityResolver.swift | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Sources/Core/aws-sdk-swift.AWSSDKIdentity/{AWSSDKIdentity => }/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/DefaultBearerTokenIdentityResolverChain.swift (100%) rename Sources/Core/aws-sdk-swift.AWSSDKIdentity/{AWSSDKIdentity => }/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/SSOBearerTokenIdentityResolver.swift (100%) diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/DefaultBearerTokenIdentityResolverChain.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/DefaultBearerTokenIdentityResolverChain.swift similarity index 100% rename from Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/DefaultBearerTokenIdentityResolverChain.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/DefaultBearerTokenIdentityResolverChain.swift diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/SSOBearerTokenIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/SSOBearerTokenIdentityResolver.swift similarity index 100% rename from Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/SSOBearerTokenIdentityResolver.swift rename to Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources/AWSSDKIdentity/BearerTokenIdentityResolvers/SSOBearerTokenIdentityResolver.swift From 6e4bfa5c0fe2a7ca05c6b9915b3a98030bbe13b7 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Tue, 30 Jul 2024 13:03:21 -0500 Subject: [PATCH 37/45] Remove unused AWSSDKIdentity source files --- .../CachedAWSCredentialIdentityResolver.swift | 32 ------ ...ltAWSCredentialIdentityResolverChain.swift | 45 --------- .../ECSAWSCredentialIdentityResolver.swift | 99 ------------------- ...ronmentAWSCredentialIdentityResolver.swift | 21 ---- .../IMDSAWSCredentialIdentityResolver.swift | 24 ----- ...ProcessAWSCredentialIdentityResolver.swift | 51 ---------- ...ProfileAWSCredentialIdentityResolver.swift | 67 ------------- .../SSOAWSCredentialIdentityResolver.swift | 38 ------- ...umeRoleAWSCredentialIdentityResolver.swift | 50 ---------- ...dentityAWSCredentialIdentityResolver.swift | 62 ------------ ...SSOBearerTokenIdentitiyResolverTests.swift | 41 -------- 11 files changed, 530 deletions(-) delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/CachedAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ECSAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/EnvironmentAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/IMDSAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProcessAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProfileAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/SSOAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSAssumeRoleAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSWebIdentityAWSCredentialIdentityResolver.swift delete mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Tests/AWSSDKIdentityTests/BearerTokenIdentityResolverTests/SSOBearerTokenIdentitiyResolverTests.swift diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/CachedAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/CachedAWSCredentialIdentityResolver.swift deleted file mode 100644 index 7465155e23c..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/CachedAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import protocol SmithyIdentity.AWSCredentialIdentityResolver -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -import struct Foundation.TimeInterval - -/// A credential identity resolver that caches the credentials sourced from the provided resolver. -public struct CachedAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// Credentials resolved through this resolver will be cached within it until their expiration time. - /// When the cached credentials expire, new credentials will be fetched when next queried. - /// - /// - Parameters: - /// - source: The source credential identity resolver to get the credentials. - /// - refreshTime: The number of seconds that must pass before new credentials will be fetched again. - public init( - source: any AWSCredentialIdentityResolver, - refreshTime: TimeInterval - ) throws { - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .cached( - source: try source.getCRTAWSCredentialIdentityResolver(), - refreshTime: refreshTime - )) - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift deleted file mode 100644 index e6e7123972d..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/DefaultAWSCredentialIdentityResolverChain.swift +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -@_spi(FileBasedConfig) import AWSSDKCommon - -// swiftlint:disable type_name -// ^ Required to mute swiftlint warning about type name being too long. - -/// A credential identity resolver that uses the default AWS credential identity resolver chain used by most AWS SDKs. -/// This is the default resolver when no credential identity resolver is provided by the user. -/// -/// The chain resolves the credneital identity in the following order: -/// 1. Environment -/// 2. Profile -/// 3. Web Identity Tokens (STS Web Identity) -/// 4. ECS (IAM roles for tasks) -/// 5. EC2 Instance Metadata (IMDSv2) -/// -/// The credentials retrieved from the chain are cached for 15 minutes. -public struct DefaultAWSCredentialIdentityResolverChain: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// Creates a credential identity resolver that uses the default AWS credential identity resolver chain used by most AWS SDKs. - public init() throws { - let fileBasedConfig = try CRTFileBasedConfiguration() - try self.init(fileBasedConfig: fileBasedConfig) - } - - @_spi(DefaultAWSCredentialIdentityResolverChain) - public init(fileBasedConfig: CRTFileBasedConfiguration) throws { - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .defaultChain( - bootstrap: SDKDefaultIO.shared.clientBootstrap, - fileBasedConfiguration: fileBasedConfig - )) - } -} - -// swiftlint:enable type_name diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ECSAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ECSAWSCredentialIdentityResolver.swift deleted file mode 100644 index 42be28ec103..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ECSAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,99 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import class Foundation.ProcessInfo -import enum Smithy.ClientError -import enum SmithyHTTPAPI.HTTPClientError -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -import struct Foundation.URL -import struct Foundation.URLComponents - -/// A credential identity resolver that sources credentials from ECS container metadata -public struct ECSAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - /// Creates a credential identity resolver that resolves credentials from ECS container metadata. - /// ECS creds provider can be used to access creds via either relative uri to a fixed endpoint http://169.254.170.2, - /// or via a full uri specified by environment variables: - /// - AWS_CONTAINER_CREDENTIALS_RELATIVE_URI - /// - AWS_CONTAINER_CREDENTIALS_FULL_URI - /// - AWS_CONTAINER_AUTHORIZATION_TOKEN - /// - /// If both relative uri and absolute uri are set, relative uri has higher priority. - /// Token is used in auth header but only for absolute uri. - /// - Throws: CommonRuntimeError.crtError or InitializationError.missingURIs - public init( - relativeURI: String? = nil, - absoluteURI: String? = nil, - authorizationToken: String? = nil - ) throws { - let env = ProcessEnvironment() - - let resolvedRelativeURI = relativeURI ?? env.environmentVariable(key: "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI") - let resolvedAbsoluteURI = absoluteURI ?? env.environmentVariable(key: "AWS_CONTAINER_CREDENTIALS_FULL_URI") - - guard resolvedRelativeURI != nil || isValidAbsoluteURI(resolvedAbsoluteURI) else { - throw ClientError.dataNotFound( - "Please configure either the relative or absolute URI environment variable!" - ) - } - - let defaultHost = "169.254.170.2" - var host = defaultHost - var pathAndQuery = resolvedRelativeURI ?? "" - - if let relative = resolvedRelativeURI { - pathAndQuery = relative - } else if let absolute = resolvedAbsoluteURI, let absoluteURL = URL(string: absolute) { - let (absoluteHost, absolutePathAndQuery) = try retrieveHostPathAndQuery(from: absoluteURL) - host = absoluteHost - pathAndQuery = absolutePathAndQuery - } else { - throw HTTPClientError.pathCreationFailed( - "Failed to retrieve either relative or absolute URI! URI may be malformed." - ) - } - - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .ecs( - bootstrap: SDKDefaultIO.shared.clientBootstrap, - pathAndQuery: pathAndQuery, - host: host - )) - } -} - -private func retrieveHostPathAndQuery(from url: URL) throws -> (String, String) { - guard var components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { - let message = "Absolute URI is malformed! Could not instantiate URLComponents from URL." - throw HTTPClientError.pathCreationFailed(message) - } - guard let hostComponent = components.host else { - throw HTTPClientError.pathCreationFailed("Absolute URI is malformed! Could not retrieve host from URL.") - } - components.scheme = nil - components.host = nil - guard let pathQueryFragment = components.url else { - throw HTTPClientError.pathCreationFailed("Could not retrieve path from URL!") - } - return (hostComponent, pathQueryFragment.absoluteString) -} - -private func isValidAbsoluteURI(_ uri: String?) -> Bool { - guard let validUri = uri, URL(string: validUri)?.host != nil else { - return false - } - return true -} - -private struct ProcessEnvironment { - public init() {} - - public func environmentVariable(key: String) -> String? { - return ProcessInfo.processInfo.environment[key] - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/EnvironmentAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/EnvironmentAWSCredentialIdentityResolver.swift deleted file mode 100644 index 0b40432587b..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/EnvironmentAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT - -/// A credential identity resolver that resolves credentials from the following environment variables: -/// - `AWS_ACCESS_KEY_ID` -/// - `AWS_SECRET_ACCESS_KEY` -/// - `AWS_SESSION_TOKEN` -public struct EnvironmentAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - public init() throws { - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .environment()) - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/IMDSAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/IMDSAWSCredentialIdentityResolver.swift deleted file mode 100644 index 0a118fcf75c..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/IMDSAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT - -/// A credentials provider that uses IMDSv2 to fetch credentials within an EC2 instance. -public struct IMDSAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - /// Creates a credentials provider that sources credentials from ec2 instance metadata. - /// It will use IMDSv2 to fetch the credentials. - public init() throws { - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider( - source: .imds( - bootstrap: SDKDefaultIO.shared.clientBootstrap - ) - ) - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProcessAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProcessAWSCredentialIdentityResolver.swift deleted file mode 100644 index a6947677300..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProcessAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -@_spi(FileBasedConfig) import AWSSDKCommon - -/// The process credential identity resolver resolves credentials from running a command or process. -/// The command to run is sourced from a profile in the AWS config file, using the standard -/// profile selection rules. The profile key the command is read from is "credential_process." -/// E.g.: -/// [default] -/// credential_process=/opt/amazon/bin/my-credential-fetcher --argsA=abc -/// On successfully running the command, the output should be a json data with the following -/// format: -/// { -/// "Version": 1, -/// "AccessKeyId": "accesskey", -/// "SecretAccessKey": "secretAccessKey" -/// "SessionToken": "....", -/// "Expiration": "2019-05-29T00:21:43Z" -/// } -/// Version here identifies the command output format version. -public struct ProcessAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// Creates a credentials provider that gets credentials from running a command or process. - /// - /// - Parameters: - /// - profileName: The profile name to use. If not provided it will be resolved internally via the `AWS_PROFILE` environment variable or defaulted to `default` if not configured. - /// - configFilePath: The path to the configuration file to use. If not provided it will be resolved internally via the `AWS_CONFIG_FILE` environment variable or defaulted to `~/.aws/config` if not configured. - /// - credentialsFilePath: The path to the shared credentials file to use. If not provided it will be resolved internally via the `AWS_SHARED_CREDENTIALS_FILE` environment variable or defaulted `~/.aws/credentials` if not configured. - public init( - profileName: String? = nil, - configFilePath: String? = nil, - credentialsFilePath: String? = nil - ) throws { - let fileBasedConfig = try CRTFileBasedConfiguration( - configFilePath: configFilePath, - credentialsFilePath: credentialsFilePath - ) - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .process( - fileBasedConfiguration: fileBasedConfig, - profileFileNameOverride: profileName - )) - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProfileAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProfileAWSCredentialIdentityResolver.swift deleted file mode 100644 index 5ee086ac607..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/ProfileAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -@_spi(FileBasedConfig) import AWSSDKCommon - -/// A credential identity resolver that resolves credentials from a profile in `~/.aws/config` or the shared credentials file `~/.aws/credentials`. -/// The profile name and the locations of these files are configurable via the initializer and environment variables -/// -/// This resolver supports several credentials formats: -/// ### Credentials defined explicitly within the file -/// ```ini -/// [default] -/// aws_access_key_id = my-access-key -/// aws_secret_access_key = my-secret -/// ``` -/// -/// ### Assumed role credentials loaded from a credential source -/// ```ini -/// [default] -/// role_arn = arn:aws:iam:123456789:role/RoleA -/// credential_source = Environment -/// ``` -/// -/// ### Assumed role credentials from a source profile -/// ```ini -/// [default] -/// role_arn = arn:aws:iam:123456789:role/RoleA -/// source_profile = base -/// -/// [profile base] -/// aws_access_key_id = my-access-key -/// aws_secret_access_key = my-secret -/// ``` -/// -/// For more complex configurations see [Configuration and credential file settings](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) -public struct ProfileAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// Creates a credential identity resolver that resolves credentials from a profile in `~/.aws/config` or the shared credentials file `~/.aws/credentials`. - /// - /// - Parameters: - /// - profileName: The profile name to use. If not provided it will be resolved internally via the `AWS_PROFILE` environment variable or defaulted to `default` if not configured. - /// - configFilePath: The path to the configuration file to use. If not provided it will be resolved internally via the `AWS_CONFIG_FILE` environment variable or defaulted to `~/.aws/config` if not configured. - /// - credentialsFilePath: The path to the shared credentials file to use. If not provided it will be resolved internally via the `AWS_SHARED_CREDENTIALS_FILE` environment variable or defaulted `~/.aws/credentials` if not configured. - public init( - profileName: String? = nil, - configFilePath: String? = nil, - credentialsFilePath: String? = nil - ) throws { - let fileBasedConfig = try CRTFileBasedConfiguration( - configFilePath: configFilePath, - credentialsFilePath: credentialsFilePath - ) - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .profile( - bootstrap: SDKDefaultIO.shared.clientBootstrap, - fileBasedConfiguration: fileBasedConfig, - profileFileNameOverride: profileName - )) - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/SSOAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/SSOAWSCredentialIdentityResolver.swift deleted file mode 100644 index c1763fb4b30..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/SSOAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -@_spi(FileBasedConfig) import AWSSDKCommon - -/// A credential identity resolver that resolves credentials using GetRoleCredentialsRequest to the AWS Single Sign-On Service to maintain short-lived sessions. -/// [Details link](https://docs.aws.amazon.com/sdkref/latest/guide/feature-sso-credentials.html) -public struct SSOAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// - Parameters: - /// - profileName: The profile name to use. If not provided it will be resolved internally via the `AWS_PROFILE` environment variable or defaulted to `default` if not configured. - /// - configFilePath: The path to the configuration file to use. If not provided it will be resolved internally via the `AWS_CONFIG_FILE` environment variable or defaulted to `~/.aws/config` if not configured. - /// - credentialsFilePath: The path to the shared credentials file to use. If not provided it will be resolved internally via the `AWS_SHARED_CREDENTIALS_FILE` environment variable or defaulted `~/.aws/credentials` if not configured. - public init( - profileName: String? = nil, - configFilePath: String? = nil, - credentialsFilePath: String? = nil - ) throws { - let fileBasedConfig = try CRTFileBasedConfiguration( - configFilePath: configFilePath, - credentialsFilePath: credentialsFilePath - ) - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .sso( - bootstrap: SDKDefaultIO.shared.clientBootstrap, - tlsContext: SDKDefaultIO.shared.tlsContext, - fileBasedConfiguration: fileBasedConfig, - profileFileNameOverride: profileName - )) - } -} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSAssumeRoleAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSAssumeRoleAWSCredentialIdentityResolver.swift deleted file mode 100644 index 3157e87ede7..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSAssumeRoleAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,50 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import protocol SmithyIdentity.AWSCredentialIdentityResolver -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -import struct Foundation.TimeInterval - -// swiftlint:disable type_name -// ^ Required to mute swiftlint warning about type name being too long. - -/// A credential identity resolver that uses another resolver to assume a role from the AWS Security Token Service (STS). -/// -/// When asked to resolve credentials, this resolver will first invoke the inner credential identity resolver to get AWS credentials for STS. -/// Then, it will call STS to get assumed credentials for the desired role. -/// -/// For more information see [Assume role credential provider](https://docs.aws.amazon.com/sdkref/latest/guide/feature-assume-role-credentials.html) -public struct STSAssumeRoleAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// Creates a credential identity resolver that uses another resolver to assume a role from the AWS Security Token Service (STS). - /// - /// - Parameters: - /// - awsCredentialIdentityResolver: The underlying credential identity resolver to be used to sign the requests made to STS - /// - roleArn: The ARN of the target role to assume, e.g. `arn:aws:iam:123456789:role/example` - /// - sessionName: The name to associate with the session. This is used to uniquely identify a session when the same role is assumed by different principals or for different reasons. In cross-account scenarios, the session name is visible to, and can be logged by the account that owns the role. The role session name is also in the ARN of the assumed role principal. - /// - durationSeconds: The expiry duration of the STS credentials. Defaults to 15 minutes if not set. - public init( - awsCredentialIdentityResolver: any AWSCredentialIdentityResolver, - roleArn: String, - sessionName: String, - durationSeconds: TimeInterval = 900 - ) throws { - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .sts( - bootstrap: SDKDefaultIO.shared.clientBootstrap, - tlsContext: SDKDefaultIO.shared.tlsContext, - credentialsProvider: try awsCredentialIdentityResolver.getCRTAWSCredentialIdentityResolver(), - roleArn: roleArn, - sessionName: sessionName, - duration: durationSeconds - )) - } -} - -// swiftlint:enable type_name diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSWebIdentityAWSCredentialIdentityResolver.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSWebIdentityAWSCredentialIdentityResolver.swift deleted file mode 100644 index 054fdea5833..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentityResolvers/STSWebIdentityAWSCredentialIdentityResolver.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import class AwsCommonRuntimeKit.CredentialsProvider -import ClientRuntime -import protocol SmithyIdentity.AWSCredentialIdentityResolvedByCRT -@_spi(FileBasedConfig) import AWSSDKCommon - -// swiftlint:disable type_name -// ^ Required to mute swiftlint warning about type name being too long. - -/// A credential identity resolver that exchanges a Web Identity Token for credentials from the AWS Security Token Service (STS). -/// -/// It depends on the following values sourced from either environment variables or the configuration file" -/// - region: `AWS_DEFAULT_REGION` environment variable or `region` in a configuration file -/// - role arn: `AWS_ROLE_ARN` environment variable or `role_arn` in a configuration file -/// - role session name: `AWS_ROLE_SESSION_NAME` environment variable or `role_session_name` in a configuration file -/// - token file path: `AWS_WEB_IDENTITY_TOKEN_FILE` environment variable or `web_identity_token_file` in a configuration file -/// -/// For more information see [AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html) -public struct STSWebIdentityAWSCredentialIdentityResolver: AWSCredentialIdentityResolvedByCRT { - public let crtAWSCredentialIdentityResolver: AwsCommonRuntimeKit.CredentialsProvider - - /// Creates a credential identity resolver that exchanges a Web Identity Token for credentials from the AWS Security Token Service (STS). - /// - /// - Parameters: - /// - configFilePath: The path to the configuration file to use. If not provided it will be resolved internally via the `AWS_CONFIG_FILE` environment variable or defaulted to `~/.aws/config` if not configured. - /// - credentialsFilePath: The path to the shared credentials file to use. If not provided it will be resolved internally via the `AWS_SHARED_CREDENTIALS_FILE` environment variable or defaulted `~/.aws/credentials` if not configured. - /// - region: (Optional) region override. - /// - roleArn: (Optional) roleArn override. - /// - roleSessionName: (Optional) roleSessionName override. - /// - tokenFilePath: (Optional) tokenFilePath override. - public init( - configFilePath: String? = nil, - credentialsFilePath: String? = nil, - region: String? = nil, - roleArn: String? = nil, - roleSessionName: String? = nil, - tokenFilePath: String? = nil - ) throws { - let fileBasedConfig = try CRTFileBasedConfiguration( - configFilePath: configFilePath, - credentialsFilePath: credentialsFilePath - ) - self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .stsWebIdentity( - bootstrap: SDKDefaultIO.shared.clientBootstrap, - tlsContext: SDKDefaultIO.shared.tlsContext, - fileBasedConfiguration: fileBasedConfig, - region: region, - roleArn: roleArn, - roleSessionName: roleSessionName, - tokenFilePath: tokenFilePath, - shutdownCallback: nil - )) - } -} - -// swiftlint:enable type_name diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Tests/AWSSDKIdentityTests/BearerTokenIdentityResolverTests/SSOBearerTokenIdentitiyResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Tests/AWSSDKIdentityTests/BearerTokenIdentityResolverTests/SSOBearerTokenIdentitiyResolverTests.swift deleted file mode 100644 index 4c012c35c27..00000000000 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/AWSSDKIdentity/Tests/AWSSDKIdentityTests/BearerTokenIdentityResolverTests/SSOBearerTokenIdentitiyResolverTests.swift +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import struct AWSSDKIdentity.SSOBearerTokenIdentityResolver -import func AWSSDKIdentity.loadTokenFile -import struct Smithy.Attributes -import XCTest - -class SSOBearerTokenIdentityResolverTests: XCTestCase { - let configPath = Bundle.module.path(forResource: "sso_tests", ofType: nil)! - let expectedAccessToken = "ACCESS_TOKEN_STRING" - - func testLoadTokenFile() throws { - // Load the test token file under Resources/ - let testTokenFileURL = Bundle.module.url( - forResource: "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", withExtension: "json" - ) - let tokenString = try loadTokenFile(fileURL: testTokenFileURL!) - XCTAssertEqual(expectedAccessToken, tokenString) - } - - func testCreateSSOBearerTokenIdentityResolverLegacyProfile() async throws { - _ = try SSOBearerTokenIdentityResolver( - profileName: "user", - configFilePath: configPath - ) - // SUCCESS: creation didn't throw error - } - - func testCreateSSOBearerTokenIdentityResolverTokenProviderProfile() async throws { - _ = try SSOBearerTokenIdentityResolver( - profileName: "dev", - configFilePath: configPath - ) - // SUCCESS: creation didn't throw error - } -} From ab3ea5f42a28b9c449ddbdd3e4481bca027a8934 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Tue, 30 Jul 2024 13:28:30 -0500 Subject: [PATCH 38/45] Re-add bearer token test, copy manifest when running codegen script --- .../SSOBearerTokenIdentityResolverTests.swift | 41 +++++++++++++++++++ scripts/codegen.sh | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/SSOBearerTokenIdentityResolverTests.swift diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/SSOBearerTokenIdentityResolverTests.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/SSOBearerTokenIdentityResolverTests.swift new file mode 100644 index 00000000000..4c012c35c27 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests/SSOBearerTokenIdentityResolverTests.swift @@ -0,0 +1,41 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import struct AWSSDKIdentity.SSOBearerTokenIdentityResolver +import func AWSSDKIdentity.loadTokenFile +import struct Smithy.Attributes +import XCTest + +class SSOBearerTokenIdentityResolverTests: XCTestCase { + let configPath = Bundle.module.path(forResource: "sso_tests", ofType: nil)! + let expectedAccessToken = "ACCESS_TOKEN_STRING" + + func testLoadTokenFile() throws { + // Load the test token file under Resources/ + let testTokenFileURL = Bundle.module.url( + forResource: "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", withExtension: "json" + ) + let tokenString = try loadTokenFile(fileURL: testTokenFileURL!) + XCTAssertEqual(expectedAccessToken, tokenString) + } + + func testCreateSSOBearerTokenIdentityResolverLegacyProfile() async throws { + _ = try SSOBearerTokenIdentityResolver( + profileName: "user", + configFilePath: configPath + ) + // SUCCESS: creation didn't throw error + } + + func testCreateSSOBearerTokenIdentityResolverTokenProviderProfile() async throws { + _ = try SSOBearerTokenIdentityResolver( + profileName: "dev", + configFilePath: configPath + ) + // SUCCESS: creation didn't throw error + } +} diff --git a/scripts/codegen.sh b/scripts/codegen.sh index e04596ab867..97568bc686e 100755 --- a/scripts/codegen.sh +++ b/scripts/codegen.sh @@ -28,7 +28,7 @@ rm -rf Tests/Services/* ./gradlew -p codegen/sdk-codegen build # Move generated Swift code into place in the Sources/ dir -./gradlew -p codegen/sdk-codegen stageSdks +./gradlew -p codegen/sdk-codegen stageSdks -PwithManifests # Regenerate the package manifest and doc index, with args passed into this script cd AWSSDKSwiftCLI From 8cc52187e41cde8810d3a5f76f1670295e6b8831 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 2 Aug 2024 13:52:37 -0500 Subject: [PATCH 39/45] Handle URL with path components correctly --- Package.swift | 387 +----------------- SPRCLI/Sources/SPR/Invalidate.swift | 21 +- SPRCLI/Sources/SPR/SPRPublisher.swift | 14 +- SPRCLI/Sources/SPR/UpdateList.swift | 7 +- SPRCLI/Sources/SPR/UploadArchive.swift | 2 +- SPRCLI/Sources/SPR/UploadManifest.swift | 2 +- SPRCLI/Sources/SPR/UploadMetadata.swift | 8 +- .../spr-multi-publish/SPRMultiPublish.swift | 11 +- SPRCLI/Sources/spr-publish/SPRPublish.swift | 2 +- .../.swiftpm/configuration/registries.json | 8 +- .../Package.swift | 4 +- .../.swiftpm/configuration/registries.json | 8 +- .../Package.swift | 4 +- .../.swiftpm/configuration/registries.json | 18 + .../aws-sdk-swift.AWSSDKCommon/Package.swift | 4 +- .../.swiftpm/configuration/registries.json | 8 +- .../Package.swift | 4 +- .../.swiftpm/configuration/registries.json | 8 +- .../Package.swift | 4 +- .../.swiftpm/configuration/registries.json | 8 +- .../Package.swift | 4 +- .../aws/swift/codegen/AWSSwiftDependency.kt | 2 +- .../RegistryConfigIntegration.kt | 3 +- 23 files changed, 91 insertions(+), 450 deletions(-) create mode 100644 Sources/Core/aws-sdk-swift.AWSSDKCommon/.swiftpm/configuration/registries.json diff --git a/Package.swift b/Package.swift index 6209db5e059..e2ec3dde82c 100644 --- a/Package.swift +++ b/Package.swift @@ -265,391 +265,6 @@ addDependencies( // excludeRuntimeUnitTests() let serviceTargets: [String] = [ - "AWSACM", - "AWSACMPCA", - "AWSAPIGateway", - "AWSARCZonalShift", - "AWSAccessAnalyzer", - "AWSAccount", - "AWSAmp", - "AWSAmplify", - "AWSAmplifyBackend", - "AWSAmplifyUIBuilder", - "AWSApiGatewayManagementApi", - "AWSApiGatewayV2", - "AWSAppConfig", - "AWSAppConfigData", - "AWSAppFabric", - "AWSAppIntegrations", - "AWSAppMesh", - "AWSAppRunner", - "AWSAppStream", - "AWSAppSync", - "AWSAppTest", - "AWSAppflow", - "AWSApplicationAutoScaling", - "AWSApplicationCostProfiler", - "AWSApplicationDiscoveryService", - "AWSApplicationInsights", - "AWSApplicationSignals", - "AWSArtifact", - "AWSAthena", - "AWSAuditManager", - "AWSAutoScaling", - "AWSAutoScalingPlans", - "AWSB2bi", - "AWSBCMDataExports", - "AWSBackup", - "AWSBackupGateway", - "AWSBatch", - "AWSBedrock", - "AWSBedrockAgent", - "AWSBedrockAgentRuntime", - "AWSBedrockRuntime", - "AWSBillingconductor", - "AWSBraket", - "AWSBudgets", - "AWSChatbot", - "AWSChime", - "AWSChimeSDKIdentity", - "AWSChimeSDKMediaPipelines", - "AWSChimeSDKMeetings", - "AWSChimeSDKMessaging", - "AWSChimeSDKVoice", - "AWSCleanRooms", - "AWSCleanRoomsML", - "AWSCloud9", - "AWSCloudControl", - "AWSCloudDirectory", - "AWSCloudFormation", - "AWSCloudFront", - "AWSCloudFrontKeyValueStore", - "AWSCloudHSM", - "AWSCloudHSMV2", - "AWSCloudSearch", - "AWSCloudSearchDomain", - "AWSCloudTrail", - "AWSCloudTrailData", - "AWSCloudWatch", - "AWSCloudWatchEvents", - "AWSCloudWatchLogs", - "AWSCodeBuild", - "AWSCodeCatalyst", - "AWSCodeCommit", - "AWSCodeConnections", - "AWSCodeDeploy", - "AWSCodeGuruProfiler", - "AWSCodeGuruReviewer", - "AWSCodeGuruSecurity", - "AWSCodePipeline", - "AWSCodeStar", - "AWSCodeStarconnections", - "AWSCodeartifact", - "AWSCodestarnotifications", - "AWSCognitoIdentity", - "AWSCognitoIdentityProvider", - "AWSCognitoSync", - "AWSComprehend", - "AWSComprehendMedical", - "AWSComputeOptimizer", - "AWSConfigService", - "AWSConnect", - "AWSConnectCampaigns", - "AWSConnectCases", - "AWSConnectContactLens", - "AWSConnectParticipant", - "AWSControlCatalog", - "AWSControlTower", - "AWSCostExplorer", - "AWSCostOptimizationHub", - "AWSCostandUsageReportService", - "AWSCustomerProfiles", - "AWSDAX", - "AWSDLM", - "AWSDataBrew", - "AWSDataExchange", - "AWSDataPipeline", - "AWSDataSync", - "AWSDataZone", - "AWSDatabaseMigrationService", - "AWSDeadline", - "AWSDetective", - "AWSDevOpsGuru", - "AWSDeviceFarm", - "AWSDirectConnect", - "AWSDirectoryService", - "AWSDocDB", - "AWSDocDBElastic", - "AWSDrs", - "AWSDynamoDB", - "AWSDynamoDBStreams", - "AWSEBS", - "AWSEC2", - "AWSEC2InstanceConnect", - "AWSECR", - "AWSECRPUBLIC", - "AWSECS", - "AWSEFS", - "AWSEKS", - "AWSEKSAuth", - "AWSEMR", - "AWSEMRServerless", - "AWSEMRcontainers", - "AWSElastiCache", - "AWSElasticBeanstalk", - "AWSElasticInference", - "AWSElasticLoadBalancing", - "AWSElasticLoadBalancingv2", - "AWSElasticTranscoder", - "AWSElasticsearchService", - "AWSEntityResolution", - "AWSEventBridge", - "AWSEvidently", - "AWSFMS", - "AWSFSx", - "AWSFinspace", - "AWSFinspacedata", - "AWSFirehose", - "AWSFis", - "AWSForecast", - "AWSForecastquery", - "AWSFraudDetector", - "AWSFreeTier", - "AWSGameLift", - "AWSGlacier", - "AWSGlobalAccelerator", - "AWSGlue", - "AWSGrafana", - "AWSGreengrass", - "AWSGreengrassV2", - "AWSGroundStation", - "AWSGuardDuty", - "AWSHealth", - "AWSHealthLake", - "AWSIAM", - "AWSIVSRealTime", - "AWSIdentitystore", - "AWSImagebuilder", - "AWSInspector", - "AWSInspector2", - "AWSInspectorScan", - "AWSInternetMonitor", - "AWSIoT", - "AWSIoT1ClickDevicesService", - "AWSIoT1ClickProjects", - "AWSIoTAnalytics", - "AWSIoTDataPlane", - "AWSIoTEvents", - "AWSIoTEventsData", - "AWSIoTFleetHub", - "AWSIoTFleetWise", - "AWSIoTJobsDataPlane", - "AWSIoTSecureTunneling", - "AWSIoTSiteWise", - "AWSIoTThingsGraph", - "AWSIoTTwinMaker", - "AWSIoTWireless", - "AWSIotDeviceAdvisor", - "AWSIvs", - "AWSIvschat", - "AWSKMS", - "AWSKafka", - "AWSKafkaConnect", - "AWSKendra", - "AWSKendraRanking", - "AWSKeyspaces", - "AWSKinesis", - "AWSKinesisAnalytics", - "AWSKinesisAnalyticsV2", - "AWSKinesisVideo", - "AWSKinesisVideoArchivedMedia", - "AWSKinesisVideoMedia", - "AWSKinesisVideoSignaling", - "AWSKinesisVideoWebRTCStorage", - "AWSLakeFormation", - "AWSLambda", - "AWSLaunchWizard", - "AWSLexModelBuildingService", - "AWSLexModelsV2", - "AWSLexRuntimeService", - "AWSLexRuntimeV2", - "AWSLicenseManager", - "AWSLicenseManagerLinuxSubscriptions", - "AWSLicenseManagerUserSubscriptions", - "AWSLightsail", - "AWSLocation", - "AWSLookoutEquipment", - "AWSLookoutMetrics", - "AWSLookoutVision", - "AWSM2", - "AWSMTurk", - "AWSMWAA", - "AWSMachineLearning", - "AWSMacie2", - "AWSMailManager", - "AWSManagedBlockchain", - "AWSManagedBlockchainQuery", - "AWSMarketplaceAgreement", - "AWSMarketplaceCatalog", - "AWSMarketplaceCommerceAnalytics", - "AWSMarketplaceDeployment", - "AWSMarketplaceEntitlementService", - "AWSMarketplaceMetering", - "AWSMediaConnect", - "AWSMediaConvert", - "AWSMediaLive", - "AWSMediaPackage", - "AWSMediaPackageV2", - "AWSMediaPackageVod", - "AWSMediaStore", - "AWSMediaStoreData", - "AWSMediaTailor", - "AWSMedicalImaging", - "AWSMemoryDB", - "AWSMgn", - "AWSMigrationHub", - "AWSMigrationHubConfig", - "AWSMigrationHubOrchestrator", - "AWSMigrationHubRefactorSpaces", - "AWSMigrationHubStrategy", - "AWSMq", - "AWSNeptune", - "AWSNeptuneGraph", - "AWSNeptunedata", - "AWSNetworkFirewall", - "AWSNetworkManager", - "AWSNetworkMonitor", - "AWSNimble", - "AWSOAM", - "AWSOSIS", - "AWSOmics", - "AWSOpenSearch", - "AWSOpenSearchServerless", - "AWSOpsWorks", - "AWSOpsWorksCM", - "AWSOrganizations", - "AWSOutposts", - "AWSPI", - "AWSPanorama", - "AWSPaymentCryptography", - "AWSPaymentCryptographyData", - "AWSPcaConnectorAd", - "AWSPcaConnectorScep", - "AWSPersonalize", - "AWSPersonalizeEvents", - "AWSPersonalizeRuntime", - "AWSPinpoint", - "AWSPinpointEmail", - "AWSPinpointSMSVoice", - "AWSPinpointSMSVoiceV2", - "AWSPipes", - "AWSPolly", - "AWSPricing", - "AWSPrivateNetworks", - "AWSProton", - "AWSQApps", - "AWSQBusiness", - "AWSQConnect", - "AWSQLDB", - "AWSQLDBSession", - "AWSQuickSight", - "AWSRAM", - "AWSRDS", - "AWSRDSData", - "AWSRUM", - "AWSRbin", - "AWSRedshift", - "AWSRedshiftData", - "AWSRedshiftServerless", - "AWSRekognition", - "AWSRepostspace", - "AWSResiliencehub", - "AWSResourceExplorer2", - "AWSResourceGroups", - "AWSResourceGroupsTaggingAPI", - "AWSRoboMaker", - "AWSRolesAnywhere", - "AWSRoute53", - "AWSRoute53Domains", - "AWSRoute53Profiles", - "AWSRoute53RecoveryCluster", - "AWSRoute53RecoveryControlConfig", - "AWSRoute53RecoveryReadiness", - "AWSRoute53Resolver", - "AWSS3", - "AWSS3Control", - "AWSS3Outposts", - "AWSSES", - "AWSSESv2", - "AWSSFN", - "AWSSMS", - "AWSSNS", - "AWSSQS", - "AWSSSM", - "AWSSSMContacts", - "AWSSSMIncidents", - "AWSSSMQuickSetup", - "AWSSSO", - "AWSSSOAdmin", - "AWSSSOOIDC", - "AWSSTS", - "AWSSWF", - "AWSSageMaker", - "AWSSageMakerA2IRuntime", - "AWSSageMakerFeatureStoreRuntime", - "AWSSageMakerGeospatial", - "AWSSageMakerMetrics", - "AWSSageMakerRuntime", - "AWSSagemakerEdge", - "AWSSavingsplans", - "AWSScheduler", - "AWSSchemas", - "AWSSecretsManager", - "AWSSecurityHub", - "AWSSecurityLake", - "AWSServerlessApplicationRepository", - "AWSServiceCatalog", - "AWSServiceCatalogAppRegistry", - "AWSServiceDiscovery", - "AWSServiceQuotas", - "AWSShield", - "AWSSigner", - "AWSSimSpaceWeaver", - "AWSSnowDeviceManagement", - "AWSSnowball", - "AWSSsmSap", - "AWSStorageGateway", - "AWSSupplyChain", - "AWSSupport", - "AWSSupportApp", - "AWSSynthetics", - "AWSTaxSettings", - "AWSTextract", - "AWSTimestreamInfluxDB", - "AWSTimestreamQuery", - "AWSTimestreamWrite", - "AWSTnb", - "AWSTranscribe", - "AWSTranscribeStreaming", - "AWSTransfer", - "AWSTranslate", - "AWSTrustedAdvisor", - "AWSVPCLattice", - "AWSVerifiedPermissions", - "AWSVoiceID", - "AWSWAF", - "AWSWAFRegional", - "AWSWAFV2", - "AWSWellArchitected", - "AWSWisdom", - "AWSWorkDocs", - "AWSWorkLink", - "AWSWorkMail", - "AWSWorkMailMessageFlow", - "AWSWorkSpaces", - "AWSWorkSpacesThinClient", - "AWSWorkSpacesWeb", - "AWSXRay", "aws-sdk-swift.AWSACM", "aws-sdk-swift.AWSACMPCA", "aws-sdk-swift.AWSAPIGateway", @@ -897,7 +512,6 @@ let serviceTargets: [String] = [ "aws-sdk-swift.AWSMigrationHubOrchestrator", "aws-sdk-swift.AWSMigrationHubRefactorSpaces", "aws-sdk-swift.AWSMigrationHubStrategy", - "aws-sdk-swift.AWSMobile", "aws-sdk-swift.AWSMq", "aws-sdk-swift.AWSNeptune", "aws-sdk-swift.AWSNeptuneGraph", @@ -974,6 +588,7 @@ let serviceTargets: [String] = [ "aws-sdk-swift.AWSSSM", "aws-sdk-swift.AWSSSMContacts", "aws-sdk-swift.AWSSSMIncidents", + "aws-sdk-swift.AWSSSMQuickSetup", "aws-sdk-swift.AWSSSO", "aws-sdk-swift.AWSSSOAdmin", "aws-sdk-swift.AWSSSOOIDC", diff --git a/SPRCLI/Sources/SPR/Invalidate.swift b/SPRCLI/Sources/SPR/Invalidate.swift index 6c3be477e3c..6e0db13cff2 100644 --- a/SPRCLI/Sources/SPR/Invalidate.swift +++ b/SPRCLI/Sources/SPR/Invalidate.swift @@ -12,14 +12,19 @@ import AWSCloudFront extension SPRPublisher { public static func invalidate(region: String, distributionID: String?, invalidations: [String]) async throws { - let cloudFrontClient = try CloudFrontClient(region: region) - let resolvedDistributionID = resolvedDistributionID(from: distributionID) - guard let resolvedDistributionID, !resolvedDistributionID.isEmpty else { - throw Error("CloudFront DistributionID not provided") + if let distributionID { + print("Finishing & invalidating \(invalidations.count) package lists.") + let cloudFrontClient = try CloudFrontClient(region: region) + let resolvedDistributionID = resolvedDistributionID(from: distributionID) + guard let resolvedDistributionID, !resolvedDistributionID.isEmpty else { + throw Error("CloudFront DistributionID not provided") + } + let invalidationPaths = invalidations.map { "/\($0)" } + let invalidationBatch = CloudFrontClientTypes.InvalidationBatch(callerReference: UUID().uuidString, paths: CloudFrontClientTypes.Paths(items: invalidationPaths, quantity: invalidationPaths.count)) + let input = CreateInvalidationInput(distributionId: distributionID, invalidationBatch: invalidationBatch) + _ = try await cloudFrontClient.createInvalidation(input: input) + } else { + print("Distribution ID not provided, skipping invalidation.") } - let invalidationPaths = invalidations.map { "/\($0)" } - let invalidationBatch = CloudFrontClientTypes.InvalidationBatch(callerReference: UUID().uuidString, paths: CloudFrontClientTypes.Paths(items: invalidationPaths, quantity: invalidationPaths.count)) - let input = CreateInvalidationInput(distributionId: distributionID, invalidationBatch: invalidationBatch) - _ = try await cloudFrontClient.createInvalidation(input: input) } } diff --git a/SPRCLI/Sources/SPR/SPRPublisher.swift b/SPRCLI/Sources/SPR/SPRPublisher.swift index ccf0fc5867b..4ae296beeb5 100644 --- a/SPRCLI/Sources/SPR/SPRPublisher.swift +++ b/SPRCLI/Sources/SPR/SPRPublisher.swift @@ -5,6 +5,9 @@ // SPDX-License-Identifier: Apache-2.0 // +import Foundation +import AWSCLIUtils + public struct SPRPublisher { public var scope: String @@ -13,7 +16,7 @@ public struct SPRPublisher { public var path: String public var region: String public var bucket: String - public var url: String + public var url: URL public var distributionID: String? public var replace = false @@ -30,7 +33,10 @@ public struct SPRPublisher { url: String, distributionID: String?, replace: Bool - ) { + ) throws { + guard let url = URL(string: url) else { + throw Error("`url` param is not a valid URL") + } self.scope = scope self.name = name self.version = version @@ -59,4 +65,8 @@ public struct SPRPublisher { try await updateList() print("[done]") } + + var keyPrefix: [String] { + url.pathComponents.filter { $0 != "/" } + } } diff --git a/SPRCLI/Sources/SPR/UpdateList.swift b/SPRCLI/Sources/SPR/UpdateList.swift index 0705523fa62..a713ab12398 100644 --- a/SPRCLI/Sources/SPR/UpdateList.swift +++ b/SPRCLI/Sources/SPR/UpdateList.swift @@ -54,15 +54,12 @@ extension SPRPublisher { } var listKey: String { - "\(scope)/\(name)" + (keyPrefix + [scope, name]).joined(separator: "/") } private var releaseURL: URL { get throws { - guard let baseURL = URL(string: url) else { - throw Error("URL is invalid") - } - return baseURL + return url .appending(component: scope) .appending(component: name) .appending(component: version) diff --git a/SPRCLI/Sources/SPR/UploadArchive.swift b/SPRCLI/Sources/SPR/UploadArchive.swift index a047d4fbfb2..29f29d2544a 100644 --- a/SPRCLI/Sources/SPR/UploadArchive.swift +++ b/SPRCLI/Sources/SPR/UploadArchive.swift @@ -55,6 +55,6 @@ extension SPRPublisher { } private var archiveKey: String { - "\(scope)/\(name)/\(version).zip" + (keyPrefix + [scope, name, "\(version).zip"]).joined(separator: "/") } } diff --git a/SPRCLI/Sources/SPR/UploadManifest.swift b/SPRCLI/Sources/SPR/UploadManifest.swift index e504e2eb989..0c350fe59a0 100644 --- a/SPRCLI/Sources/SPR/UploadManifest.swift +++ b/SPRCLI/Sources/SPR/UploadManifest.swift @@ -43,6 +43,6 @@ extension SPRPublisher { } private var manifestKey: String { - "\(scope)/\(name)/\(version)/Package.swift" + (keyPrefix + [scope, name, version, "Package.swift"]).joined(separator: "/") } } diff --git a/SPRCLI/Sources/SPR/UploadMetadata.swift b/SPRCLI/Sources/SPR/UploadMetadata.swift index 9fd58970d66..c24e7756c02 100644 --- a/SPRCLI/Sources/SPR/UploadMetadata.swift +++ b/SPRCLI/Sources/SPR/UploadMetadata.swift @@ -42,10 +42,6 @@ extension SPRPublisher { _ = try await s3Client.putObject(input: input) } - private var metadataKey: String { - "\(scope)/\(name)/\(version)" - } - private func createMetadata() -> PackageInfo { let now = Date().ISO8601Format() let organization = PackageInfo.Metadata.Author.Organization(name: "Amazon Web Services", email: nil, description: nil, url: URL(string: "https://aws.amazon.com/")!) @@ -54,4 +50,8 @@ extension SPRPublisher { let metadata = PackageInfo.Metadata(author: author, description: "A Swift package, what can I say?", licenseURL: nil, originalPublicationTime: now, readmeURL: nil, repositoryURLs: nil) return PackageInfo(id: "\(scope).\(name)", version: version, resources: [resource], metadata: metadata, publishedAt: now) } + + private var metadataKey: String { + (keyPrefix + [scope, name, version]).joined(separator: "/") + } } diff --git a/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift b/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift index 1bd1d0e8358..189f8991ece 100644 --- a/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift +++ b/SPRCLI/Sources/spr-multi-publish/SPRMultiPublish.swift @@ -48,7 +48,7 @@ struct SPRMultiPublish: AsyncParsableCommand, Configurable { do { for (name, path) in allPackages { print("Package: \(name)") - var publisher = SPRPublisher( + var publisher = try SPRPublisher( scope: scope, name: name, version: version, @@ -63,10 +63,10 @@ struct SPRMultiPublish: AsyncParsableCommand, Configurable { allInvalidations.append(contentsOf: publisher.invalidations) print("") } - try await invalidate(allInvalidations) + try await SPRPublisher.invalidate(region: region, distributionID: distributionID, invalidations: allInvalidations) } catch { try printError("Error caught while publishing.") - try await invalidate(allInvalidations) + try await SPRPublisher.invalidate(region: region, distributionID: distributionID, invalidations: allInvalidations) throw error } @@ -74,11 +74,6 @@ struct SPRMultiPublish: AsyncParsableCommand, Configurable { print("Time elapsed: \(String(format: "%.2f", elapsed)) sec") } - private func invalidate(_ invalidations: [String]) async throws { - print("Finishing & invalidating \(invalidations.count) package lists.") - try await SPRPublisher.invalidate(region: region, distributionID: distributionID, invalidations: invalidations) - } - private var runtimePackages: [(String, String)] { return [ awsRuntimePackage("aws-sdk-swift.AWSClientRuntime"), diff --git a/SPRCLI/Sources/spr-publish/SPRPublish.swift b/SPRCLI/Sources/spr-publish/SPRPublish.swift index b94ae9ac72b..18caa639c6f 100644 --- a/SPRCLI/Sources/spr-publish/SPRPublish.swift +++ b/SPRCLI/Sources/spr-publish/SPRPublish.swift @@ -49,7 +49,7 @@ struct SPRPublish: AsyncParsableCommand, Configurable { try await setOptions() let start = Date() print("Package: \(name)") - var publisher = SPRPublisher( + var publisher = try SPRPublisher( scope: scope, name: name, version: version, diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json index 4e5869e2122..1e6eb155702 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/.swiftpm/configuration/registries.json @@ -2,17 +2,17 @@ "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, - "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + "url" : "https://sdk.amazonaws.com/swift/registry/" } }, "security": { "scopeOverrides": { "aws-sdk-swift": { - "signing": { - "onUnsigned": "silentAllow" + "signing": { + "onUnsigned": "silentAllow" + } } } - } }, "version" : 1 } diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index fc68645ded1..cc1b32888ff 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -2,8 +2,8 @@ import PackageDescription -let sdkVersion: Version = "0.0.15" -let smithySwiftVersion: Version = "0.100.0" +let sdkVersion: Version = "0.15.1" +let smithySwiftVersion: Version = "0.54.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json index 4e5869e2122..1e6eb155702 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/.swiftpm/configuration/registries.json @@ -2,17 +2,17 @@ "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, - "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + "url" : "https://sdk.amazonaws.com/swift/registry/" } }, "security": { "scopeOverrides": { "aws-sdk-swift": { - "signing": { - "onUnsigned": "silentAllow" + "signing": { + "onUnsigned": "silentAllow" + } } } - } }, "version" : 1 } diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index 1cfd0d094b6..d9b32997f71 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -2,8 +2,8 @@ import PackageDescription -let sdkVersion: Version = "0.0.15" -let smithySwiftVersion: Version = "0.100.0" +let sdkVersion: Version = "0.15.1" +let smithySwiftVersion: Version = "0.54.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKCommon/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKCommon/.swiftpm/configuration/registries.json new file mode 100644 index 00000000000..1e6eb155702 --- /dev/null +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/.swiftpm/configuration/registries.json @@ -0,0 +1,18 @@ +{ + "registries" : { + "aws-sdk-swift" : { + "supportsAvailability" : false, + "url" : "https://sdk.amazonaws.com/swift/registry/" + } + }, + "security": { + "scopeOverrides": { + "aws-sdk-swift": { + "signing": { + "onUnsigned": "silentAllow" + } + } + } + }, + "version" : 1 +} diff --git a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift index 5c333a43ddd..85df34e9ca2 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKCommon/Package.swift @@ -2,8 +2,8 @@ import PackageDescription -let sdkVersion: Version = "0.0.15" -let smithySwiftVersion: Version = "0.100.0" +let sdkVersion: Version = "0.15.1" +let smithySwiftVersion: Version = "0.54.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json index 4e5869e2122..1e6eb155702 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/.swiftpm/configuration/registries.json @@ -2,17 +2,17 @@ "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, - "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + "url" : "https://sdk.amazonaws.com/swift/registry/" } }, "security": { "scopeOverrides": { "aws-sdk-swift": { - "signing": { - "onUnsigned": "silentAllow" + "signing": { + "onUnsigned": "silentAllow" + } } } - } }, "version" : 1 } diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index 0269de2fa6e..3130b3c011a 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -2,8 +2,8 @@ import PackageDescription -let sdkVersion: Version = "0.0.15" -let smithySwiftVersion: Version = "0.100.0" +let sdkVersion: Version = "0.15.1" +let smithySwiftVersion: Version = "0.54.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json index 4e5869e2122..1e6eb155702 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/.swiftpm/configuration/registries.json @@ -2,17 +2,17 @@ "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, - "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + "url" : "https://sdk.amazonaws.com/swift/registry/" } }, "security": { "scopeOverrides": { "aws-sdk-swift": { - "signing": { - "onUnsigned": "silentAllow" + "signing": { + "onUnsigned": "silentAllow" + } } } - } }, "version" : 1 } diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index 99c0e70546d..ebad9c2795e 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -2,8 +2,8 @@ import PackageDescription -let sdkVersion: Version = "0.0.15" -let smithySwiftVersion: Version = "0.100.0" +let sdkVersion: Version = "0.15.1" +let smithySwiftVersion: Version = "0.54.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json index 4e5869e2122..1e6eb155702 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/.swiftpm/configuration/registries.json @@ -2,17 +2,17 @@ "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, - "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + "url" : "https://sdk.amazonaws.com/swift/registry/" } }, "security": { "scopeOverrides": { "aws-sdk-swift": { - "signing": { - "onUnsigned": "silentAllow" + "signing": { + "onUnsigned": "silentAllow" + } } } - } }, "version" : 1 } diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index 01c5789f5aa..2854bd7a65c 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -2,8 +2,8 @@ import PackageDescription -let sdkVersion: Version = "0.0.15" -let smithySwiftVersion: Version = "0.100.0" +let sdkVersion: Version = "0.15.1" +let smithySwiftVersion: Version = "0.54.0" let crtVersion: Version = "0.32.0" let package = Package( diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt index 48e726a89ae..253e009f0ca 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSSwiftDependency.kt @@ -18,7 +18,7 @@ class AWSSwiftDependency { return SwiftDependency( name, "main", - "0.0.15", + "0.15.1", "aws-sdk-swift", "../../../aws-sdk-swift", name, diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt index 2c49b72c557..a75880a1266 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt @@ -17,12 +17,13 @@ class RegistryConfigIntegration : SwiftIntegration { delegator: SwiftDelegator ) { protocolGenerationContext.delegator.useFileWriter(".swiftpm/configuration/registries.json") { writer -> + /// "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" val json = """ { "registries" : { "aws-sdk-swift" : { "supportsAvailability" : false, - "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" + "url" : "https://sdk.amazonaws.com/swift/registry/" } }, "security": { From 666cb138b39a7a2fc5a86935b37b5db9591b4a3f Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Mon, 5 Aug 2024 08:44:51 -0400 Subject: [PATCH 40/45] Update package versions --- Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift | 2 +- .../aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift | 2 +- Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift | 2 +- .../codegen/swiftintegrations/RegistryConfigIntegration.kt | 7 +++---- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift index cc1b32888ff..020fa65765e 100644 --- a/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSClientRuntime/Package.swift @@ -22,7 +22,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: sdkVersion), .package(id: "aws-sdk-swift.AWSSDKIdentity", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/awslabs/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift index d9b32997f71..517aded5f32 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKChecksums/Package.swift @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/awslabs/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift index 3130b3c011a..5faff0bc2ab 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Package.swift @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/awslabs/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift index ebad9c2795e..7037d544eba 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Package.swift @@ -21,7 +21,7 @@ let package = Package( .package(id: "aws-sdk-swift.AWSSDKIdentity", exact: sdkVersion), .package(id: "aws-sdk-swift.AWSSDKChecksums", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/awslabs/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift index 2854bd7a65c..ca789b74ba9 100644 --- a/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift +++ b/Sources/Core/aws-sdk-swift.AWSSDKIdentity/Package.swift @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package(id: "aws-sdk-swift.AWSSDKCommon", exact: sdkVersion), .package(url: "https://github.com/awslabs/aws-crt-swift", exact: crtVersion), - .package(url: "https://github.com/jbelkins/smithy-swift", exact: smithySwiftVersion), + .package(url: "https://github.com/awslabs/smithy-swift", exact: smithySwiftVersion), ], targets: [ .target( diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt index a75880a1266..688187b7378 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/RegistryConfigIntegration.kt @@ -17,7 +17,6 @@ class RegistryConfigIntegration : SwiftIntegration { delegator: SwiftDelegator ) { protocolGenerationContext.delegator.useFileWriter(".swiftpm/configuration/registries.json") { writer -> - /// "url" : "https://d1b0xmm48lrxf5.cloudfront.net/" val json = """ { "registries" : { @@ -29,11 +28,11 @@ class RegistryConfigIntegration : SwiftIntegration { "security": { "scopeOverrides": { "aws-sdk-swift": { - "signing": { - "onUnsigned": "silentAllow" + "signing": { + "onUnsigned": "silentAllow" + } } } - } }, "version" : 1 } From f76483c0f8e81cb0d0526a5782695927cea47a10 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 17 Oct 2024 10:30:37 -0500 Subject: [PATCH 41/45] Adapt to new paths --- .../AWSSDKSwiftCLI/Resources/Package.Base.txt | 30 +- Package.swift | 804 +++++++++--------- .../Documentation.docc/AWSSDKForSwift.md | 12 +- 3 files changed, 423 insertions(+), 423 deletions(-) diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt index dd7afe70594..d2c88ff899c 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt @@ -63,7 +63,7 @@ private var runtimeProducts: [Product] { } private func productForService(_ service: String) -> Product { - .library(name: service, targets: [service]) + .library(name: service, targets: [String(service.trimmingPrefix("aws-sdk-swift."))]) } // MARK: Dependencies @@ -105,7 +105,7 @@ private var runtimeTargets: [Target] { .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime", resources: [ .process("Resources"), ] @@ -113,27 +113,27 @@ private var runtimeTargets: [Target] { .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "Sources/Core/AWSSDKCommon/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "Sources/Core/AWSSDKEventStreamsAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "Sources/Core/AWSSDKHTTPAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "Sources/Core/AWSSDKIdentity/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "Sources/Core/AWSSDKChecksums/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources" ) ] } @@ -144,23 +144,23 @@ private var runtimeTestTargets: [Target] { .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams, .smithyTestUtils], - path: "Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests", + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ), ] @@ -168,7 +168,7 @@ private var runtimeTestTargets: [Target] { private func target(_ service: String) -> Target { .target( - name: service, + name: String(service.trimmingPrefix("aws-sdk-swift.")), dependencies: [ .clientRuntime, .awsClientRuntime, @@ -189,16 +189,16 @@ private func target(_ service: String) -> Target { .awsSDKEventStreamsAuth, .awsSDKChecksums, ], - path: "Sources/Services/\(service)/Sources/\(service)", + path: "Sources/Services/\(service)/Sources/\(service.trimmingPrefix("aws-sdk-swift."))", resources: [.process("Resources")] ) } private func unitTestTarget(_ service: String) -> Target { - let testName = "\(service)Tests" + let testName = "\(service)Tests".trimmingPrefix("aws-sdk-swift.") return .testTarget( name: "\(testName)", - dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: service), .smithyTestUtils], + dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: String(service.trimmingPrefix("aws-sdk-swift."))), .smithyTestUtils], path: "Sources/Services/\(service)/Tests/\(testName)" ) } diff --git a/Package.swift b/Package.swift index 28bfc86ddb5..b151d8f5163 100644 --- a/Package.swift +++ b/Package.swift @@ -21,393 +21,393 @@ let crtVersion: Version = "0.36.0" let excludeRuntimeUnitTests = false let serviceTargets: [String] = [ - "AWSACM", - "AWSACMPCA", - "AWSAPIGateway", - "AWSARCZonalShift", - "AWSAccessAnalyzer", - "AWSAccount", - "AWSAmp", - "AWSAmplify", - "AWSAmplifyBackend", - "AWSAmplifyUIBuilder", - "AWSApiGatewayManagementApi", - "AWSApiGatewayV2", - "AWSAppConfig", - "AWSAppConfigData", - "AWSAppFabric", - "AWSAppIntegrations", - "AWSAppMesh", - "AWSAppRunner", - "AWSAppStream", - "AWSAppSync", - "AWSAppTest", - "AWSAppflow", - "AWSApplicationAutoScaling", - "AWSApplicationCostProfiler", - "AWSApplicationDiscoveryService", - "AWSApplicationInsights", - "AWSApplicationSignals", - "AWSArtifact", - "AWSAthena", - "AWSAuditManager", - "AWSAutoScaling", - "AWSAutoScalingPlans", - "AWSB2bi", - "AWSBCMDataExports", - "AWSBackup", - "AWSBackupGateway", - "AWSBatch", - "AWSBedrock", - "AWSBedrockAgent", - "AWSBedrockAgentRuntime", - "AWSBedrockRuntime", - "AWSBillingconductor", - "AWSBraket", - "AWSBudgets", - "AWSChatbot", - "AWSChime", - "AWSChimeSDKIdentity", - "AWSChimeSDKMediaPipelines", - "AWSChimeSDKMeetings", - "AWSChimeSDKMessaging", - "AWSChimeSDKVoice", - "AWSCleanRooms", - "AWSCleanRoomsML", - "AWSCloud9", - "AWSCloudControl", - "AWSCloudDirectory", - "AWSCloudFormation", - "AWSCloudFront", - "AWSCloudFrontKeyValueStore", - "AWSCloudHSM", - "AWSCloudHSMV2", - "AWSCloudSearch", - "AWSCloudSearchDomain", - "AWSCloudTrail", - "AWSCloudTrailData", - "AWSCloudWatch", - "AWSCloudWatchEvents", - "AWSCloudWatchLogs", - "AWSCodeBuild", - "AWSCodeCatalyst", - "AWSCodeCommit", - "AWSCodeConnections", - "AWSCodeDeploy", - "AWSCodeGuruProfiler", - "AWSCodeGuruReviewer", - "AWSCodeGuruSecurity", - "AWSCodePipeline", - "AWSCodeStarconnections", - "AWSCodeartifact", - "AWSCodestarnotifications", - "AWSCognitoIdentity", - "AWSCognitoIdentityProvider", - "AWSCognitoSync", - "AWSComprehend", - "AWSComprehendMedical", - "AWSComputeOptimizer", - "AWSConfigService", - "AWSConnect", - "AWSConnectCampaigns", - "AWSConnectCases", - "AWSConnectContactLens", - "AWSConnectParticipant", - "AWSControlCatalog", - "AWSControlTower", - "AWSCostExplorer", - "AWSCostOptimizationHub", - "AWSCostandUsageReportService", - "AWSCustomerProfiles", - "AWSDAX", - "AWSDLM", - "AWSDataBrew", - "AWSDataExchange", - "AWSDataPipeline", - "AWSDataSync", - "AWSDataZone", - "AWSDatabaseMigrationService", - "AWSDeadline", - "AWSDetective", - "AWSDevOpsGuru", - "AWSDeviceFarm", - "AWSDirectConnect", - "AWSDirectoryService", - "AWSDirectoryServiceData", - "AWSDocDB", - "AWSDocDBElastic", - "AWSDrs", - "AWSDynamoDB", - "AWSDynamoDBStreams", - "AWSEBS", - "AWSEC2", - "AWSEC2InstanceConnect", - "AWSECR", - "AWSECRPUBLIC", - "AWSECS", - "AWSEFS", - "AWSEKS", - "AWSEKSAuth", - "AWSEMR", - "AWSEMRServerless", - "AWSEMRcontainers", - "AWSElastiCache", - "AWSElasticBeanstalk", - "AWSElasticInference", - "AWSElasticLoadBalancing", - "AWSElasticLoadBalancingv2", - "AWSElasticTranscoder", - "AWSElasticsearchService", - "AWSEntityResolution", - "AWSEventBridge", - "AWSEvidently", - "AWSFMS", - "AWSFSx", - "AWSFinspace", - "AWSFinspacedata", - "AWSFirehose", - "AWSFis", - "AWSForecast", - "AWSForecastquery", - "AWSFraudDetector", - "AWSFreeTier", - "AWSGameLift", - "AWSGlacier", - "AWSGlobalAccelerator", - "AWSGlue", - "AWSGrafana", - "AWSGreengrass", - "AWSGreengrassV2", - "AWSGroundStation", - "AWSGuardDuty", - "AWSHealth", - "AWSHealthLake", - "AWSIAM", - "AWSIVSRealTime", - "AWSIdentitystore", - "AWSImagebuilder", - "AWSInspector", - "AWSInspector2", - "AWSInspectorScan", - "AWSInternetMonitor", - "AWSIoT", - "AWSIoT1ClickDevicesService", - "AWSIoT1ClickProjects", - "AWSIoTAnalytics", - "AWSIoTDataPlane", - "AWSIoTEvents", - "AWSIoTEventsData", - "AWSIoTFleetHub", - "AWSIoTFleetWise", - "AWSIoTJobsDataPlane", - "AWSIoTSecureTunneling", - "AWSIoTSiteWise", - "AWSIoTThingsGraph", - "AWSIoTTwinMaker", - "AWSIoTWireless", - "AWSIotDeviceAdvisor", - "AWSIvs", - "AWSIvschat", - "AWSKMS", - "AWSKafka", - "AWSKafkaConnect", - "AWSKendra", - "AWSKendraRanking", - "AWSKeyspaces", - "AWSKinesis", - "AWSKinesisAnalytics", - "AWSKinesisAnalyticsV2", - "AWSKinesisVideo", - "AWSKinesisVideoArchivedMedia", - "AWSKinesisVideoMedia", - "AWSKinesisVideoSignaling", - "AWSKinesisVideoWebRTCStorage", - "AWSLakeFormation", - "AWSLambda", - "AWSLaunchWizard", - "AWSLexModelBuildingService", - "AWSLexModelsV2", - "AWSLexRuntimeService", - "AWSLexRuntimeV2", - "AWSLicenseManager", - "AWSLicenseManagerLinuxSubscriptions", - "AWSLicenseManagerUserSubscriptions", - "AWSLightsail", - "AWSLocation", - "AWSLookoutEquipment", - "AWSLookoutMetrics", - "AWSLookoutVision", - "AWSM2", - "AWSMTurk", - "AWSMWAA", - "AWSMachineLearning", - "AWSMacie2", - "AWSMailManager", - "AWSManagedBlockchain", - "AWSManagedBlockchainQuery", - "AWSMarketplaceAgreement", - "AWSMarketplaceCatalog", - "AWSMarketplaceCommerceAnalytics", - "AWSMarketplaceDeployment", - "AWSMarketplaceEntitlementService", - "AWSMarketplaceMetering", - "AWSMarketplaceReporting", - "AWSMediaConnect", - "AWSMediaConvert", - "AWSMediaLive", - "AWSMediaPackage", - "AWSMediaPackageV2", - "AWSMediaPackageVod", - "AWSMediaStore", - "AWSMediaStoreData", - "AWSMediaTailor", - "AWSMedicalImaging", - "AWSMemoryDB", - "AWSMgn", - "AWSMigrationHub", - "AWSMigrationHubConfig", - "AWSMigrationHubOrchestrator", - "AWSMigrationHubRefactorSpaces", - "AWSMigrationHubStrategy", - "AWSMq", - "AWSNeptune", - "AWSNeptuneGraph", - "AWSNeptunedata", - "AWSNetworkFirewall", - "AWSNetworkManager", - "AWSNetworkMonitor", - "AWSNimble", - "AWSOAM", - "AWSOSIS", - "AWSOmics", - "AWSOpenSearch", - "AWSOpenSearchServerless", - "AWSOpsWorks", - "AWSOpsWorksCM", - "AWSOrganizations", - "AWSOutposts", - "AWSPCS", - "AWSPI", - "AWSPanorama", - "AWSPaymentCryptography", - "AWSPaymentCryptographyData", - "AWSPcaConnectorAd", - "AWSPcaConnectorScep", - "AWSPersonalize", - "AWSPersonalizeEvents", - "AWSPersonalizeRuntime", - "AWSPinpoint", - "AWSPinpointEmail", - "AWSPinpointSMSVoice", - "AWSPinpointSMSVoiceV2", - "AWSPipes", - "AWSPolly", - "AWSPricing", - "AWSPrivateNetworks", - "AWSProton", - "AWSQApps", - "AWSQBusiness", - "AWSQConnect", - "AWSQLDB", - "AWSQLDBSession", - "AWSQuickSight", - "AWSRAM", - "AWSRDS", - "AWSRDSData", - "AWSRUM", - "AWSRbin", - "AWSRedshift", - "AWSRedshiftData", - "AWSRedshiftServerless", - "AWSRekognition", - "AWSRepostspace", - "AWSResiliencehub", - "AWSResourceExplorer2", - "AWSResourceGroups", - "AWSResourceGroupsTaggingAPI", - "AWSRoboMaker", - "AWSRolesAnywhere", - "AWSRoute53", - "AWSRoute53Domains", - "AWSRoute53Profiles", - "AWSRoute53RecoveryCluster", - "AWSRoute53RecoveryControlConfig", - "AWSRoute53RecoveryReadiness", - "AWSRoute53Resolver", - "AWSS3", - "AWSS3Control", - "AWSS3Outposts", - "AWSSES", - "AWSSESv2", - "AWSSFN", - "AWSSMS", - "AWSSNS", - "AWSSQS", - "AWSSSM", - "AWSSSMContacts", - "AWSSSMIncidents", - "AWSSSMQuickSetup", - "AWSSSO", - "AWSSSOAdmin", - "AWSSSOOIDC", - "AWSSTS", - "AWSSWF", - "AWSSageMaker", - "AWSSageMakerA2IRuntime", - "AWSSageMakerFeatureStoreRuntime", - "AWSSageMakerGeospatial", - "AWSSageMakerMetrics", - "AWSSageMakerRuntime", - "AWSSagemakerEdge", - "AWSSavingsplans", - "AWSScheduler", - "AWSSchemas", - "AWSSecretsManager", - "AWSSecurityHub", - "AWSSecurityLake", - "AWSServerlessApplicationRepository", - "AWSServiceCatalog", - "AWSServiceCatalogAppRegistry", - "AWSServiceDiscovery", - "AWSServiceQuotas", - "AWSShield", - "AWSSigner", - "AWSSimSpaceWeaver", - "AWSSnowDeviceManagement", - "AWSSnowball", - "AWSSocialMessaging", - "AWSSsmSap", - "AWSStorageGateway", - "AWSSupplyChain", - "AWSSupport", - "AWSSupportApp", - "AWSSynthetics", - "AWSTaxSettings", - "AWSTextract", - "AWSTimestreamInfluxDB", - "AWSTimestreamQuery", - "AWSTimestreamWrite", - "AWSTnb", - "AWSTranscribe", - "AWSTranscribeStreaming", - "AWSTransfer", - "AWSTranslate", - "AWSTrustedAdvisor", - "AWSVPCLattice", - "AWSVerifiedPermissions", - "AWSVoiceID", - "AWSWAF", - "AWSWAFRegional", - "AWSWAFV2", - "AWSWellArchitected", - "AWSWisdom", - "AWSWorkDocs", - "AWSWorkMail", - "AWSWorkMailMessageFlow", - "AWSWorkSpaces", - "AWSWorkSpacesThinClient", - "AWSWorkSpacesWeb", - "AWSXRay", + "aws-sdk-swift.AWSACM", + "aws-sdk-swift.AWSACMPCA", + "aws-sdk-swift.AWSAPIGateway", + "aws-sdk-swift.AWSARCZonalShift", + "aws-sdk-swift.AWSAccessAnalyzer", + "aws-sdk-swift.AWSAccount", + "aws-sdk-swift.AWSAmp", + "aws-sdk-swift.AWSAmplify", + "aws-sdk-swift.AWSAmplifyBackend", + "aws-sdk-swift.AWSAmplifyUIBuilder", + "aws-sdk-swift.AWSApiGatewayManagementApi", + "aws-sdk-swift.AWSApiGatewayV2", + "aws-sdk-swift.AWSAppConfig", + "aws-sdk-swift.AWSAppConfigData", + "aws-sdk-swift.AWSAppFabric", + "aws-sdk-swift.AWSAppIntegrations", + "aws-sdk-swift.AWSAppMesh", + "aws-sdk-swift.AWSAppRunner", + "aws-sdk-swift.AWSAppStream", + "aws-sdk-swift.AWSAppSync", + "aws-sdk-swift.AWSAppTest", + "aws-sdk-swift.AWSAppflow", + "aws-sdk-swift.AWSApplicationAutoScaling", + "aws-sdk-swift.AWSApplicationCostProfiler", + "aws-sdk-swift.AWSApplicationDiscoveryService", + "aws-sdk-swift.AWSApplicationInsights", + "aws-sdk-swift.AWSApplicationSignals", + "aws-sdk-swift.AWSArtifact", + "aws-sdk-swift.AWSAthena", + "aws-sdk-swift.AWSAuditManager", + "aws-sdk-swift.AWSAutoScaling", + "aws-sdk-swift.AWSAutoScalingPlans", + "aws-sdk-swift.AWSB2bi", + "aws-sdk-swift.AWSBCMDataExports", + "aws-sdk-swift.AWSBackup", + "aws-sdk-swift.AWSBackupGateway", + "aws-sdk-swift.AWSBatch", + "aws-sdk-swift.AWSBedrock", + "aws-sdk-swift.AWSBedrockAgent", + "aws-sdk-swift.AWSBedrockAgentRuntime", + "aws-sdk-swift.AWSBedrockRuntime", + "aws-sdk-swift.AWSBillingconductor", + "aws-sdk-swift.AWSBraket", + "aws-sdk-swift.AWSBudgets", + "aws-sdk-swift.AWSChatbot", + "aws-sdk-swift.AWSChime", + "aws-sdk-swift.AWSChimeSDKIdentity", + "aws-sdk-swift.AWSChimeSDKMediaPipelines", + "aws-sdk-swift.AWSChimeSDKMeetings", + "aws-sdk-swift.AWSChimeSDKMessaging", + "aws-sdk-swift.AWSChimeSDKVoice", + "aws-sdk-swift.AWSCleanRooms", + "aws-sdk-swift.AWSCleanRoomsML", + "aws-sdk-swift.AWSCloud9", + "aws-sdk-swift.AWSCloudControl", + "aws-sdk-swift.AWSCloudDirectory", + "aws-sdk-swift.AWSCloudFormation", + "aws-sdk-swift.AWSCloudFront", + "aws-sdk-swift.AWSCloudFrontKeyValueStore", + "aws-sdk-swift.AWSCloudHSM", + "aws-sdk-swift.AWSCloudHSMV2", + "aws-sdk-swift.AWSCloudSearch", + "aws-sdk-swift.AWSCloudSearchDomain", + "aws-sdk-swift.AWSCloudTrail", + "aws-sdk-swift.AWSCloudTrailData", + "aws-sdk-swift.AWSCloudWatch", + "aws-sdk-swift.AWSCloudWatchEvents", + "aws-sdk-swift.AWSCloudWatchLogs", + "aws-sdk-swift.AWSCodeBuild", + "aws-sdk-swift.AWSCodeCatalyst", + "aws-sdk-swift.AWSCodeCommit", + "aws-sdk-swift.AWSCodeConnections", + "aws-sdk-swift.AWSCodeDeploy", + "aws-sdk-swift.AWSCodeGuruProfiler", + "aws-sdk-swift.AWSCodeGuruReviewer", + "aws-sdk-swift.AWSCodeGuruSecurity", + "aws-sdk-swift.AWSCodePipeline", + "aws-sdk-swift.AWSCodeStarconnections", + "aws-sdk-swift.AWSCodeartifact", + "aws-sdk-swift.AWSCodestarnotifications", + "aws-sdk-swift.AWSCognitoIdentity", + "aws-sdk-swift.AWSCognitoIdentityProvider", + "aws-sdk-swift.AWSCognitoSync", + "aws-sdk-swift.AWSComprehend", + "aws-sdk-swift.AWSComprehendMedical", + "aws-sdk-swift.AWSComputeOptimizer", + "aws-sdk-swift.AWSConfigService", + "aws-sdk-swift.AWSConnect", + "aws-sdk-swift.AWSConnectCampaigns", + "aws-sdk-swift.AWSConnectCases", + "aws-sdk-swift.AWSConnectContactLens", + "aws-sdk-swift.AWSConnectParticipant", + "aws-sdk-swift.AWSControlCatalog", + "aws-sdk-swift.AWSControlTower", + "aws-sdk-swift.AWSCostExplorer", + "aws-sdk-swift.AWSCostOptimizationHub", + "aws-sdk-swift.AWSCostandUsageReportService", + "aws-sdk-swift.AWSCustomerProfiles", + "aws-sdk-swift.AWSDAX", + "aws-sdk-swift.AWSDLM", + "aws-sdk-swift.AWSDataBrew", + "aws-sdk-swift.AWSDataExchange", + "aws-sdk-swift.AWSDataPipeline", + "aws-sdk-swift.AWSDataSync", + "aws-sdk-swift.AWSDataZone", + "aws-sdk-swift.AWSDatabaseMigrationService", + "aws-sdk-swift.AWSDeadline", + "aws-sdk-swift.AWSDetective", + "aws-sdk-swift.AWSDevOpsGuru", + "aws-sdk-swift.AWSDeviceFarm", + "aws-sdk-swift.AWSDirectConnect", + "aws-sdk-swift.AWSDirectoryService", + "aws-sdk-swift.AWSDirectoryServiceData", + "aws-sdk-swift.AWSDocDB", + "aws-sdk-swift.AWSDocDBElastic", + "aws-sdk-swift.AWSDrs", + "aws-sdk-swift.AWSDynamoDB", + "aws-sdk-swift.AWSDynamoDBStreams", + "aws-sdk-swift.AWSEBS", + "aws-sdk-swift.AWSEC2", + "aws-sdk-swift.AWSEC2InstanceConnect", + "aws-sdk-swift.AWSECR", + "aws-sdk-swift.AWSECRPUBLIC", + "aws-sdk-swift.AWSECS", + "aws-sdk-swift.AWSEFS", + "aws-sdk-swift.AWSEKS", + "aws-sdk-swift.AWSEKSAuth", + "aws-sdk-swift.AWSEMR", + "aws-sdk-swift.AWSEMRServerless", + "aws-sdk-swift.AWSEMRcontainers", + "aws-sdk-swift.AWSElastiCache", + "aws-sdk-swift.AWSElasticBeanstalk", + "aws-sdk-swift.AWSElasticInference", + "aws-sdk-swift.AWSElasticLoadBalancing", + "aws-sdk-swift.AWSElasticLoadBalancingv2", + "aws-sdk-swift.AWSElasticTranscoder", + "aws-sdk-swift.AWSElasticsearchService", + "aws-sdk-swift.AWSEntityResolution", + "aws-sdk-swift.AWSEventBridge", + "aws-sdk-swift.AWSEvidently", + "aws-sdk-swift.AWSFMS", + "aws-sdk-swift.AWSFSx", + "aws-sdk-swift.AWSFinspace", + "aws-sdk-swift.AWSFinspacedata", + "aws-sdk-swift.AWSFirehose", + "aws-sdk-swift.AWSFis", + "aws-sdk-swift.AWSForecast", + "aws-sdk-swift.AWSForecastquery", + "aws-sdk-swift.AWSFraudDetector", + "aws-sdk-swift.AWSFreeTier", + "aws-sdk-swift.AWSGameLift", + "aws-sdk-swift.AWSGlacier", + "aws-sdk-swift.AWSGlobalAccelerator", + "aws-sdk-swift.AWSGlue", + "aws-sdk-swift.AWSGrafana", + "aws-sdk-swift.AWSGreengrass", + "aws-sdk-swift.AWSGreengrassV2", + "aws-sdk-swift.AWSGroundStation", + "aws-sdk-swift.AWSGuardDuty", + "aws-sdk-swift.AWSHealth", + "aws-sdk-swift.AWSHealthLake", + "aws-sdk-swift.AWSIAM", + "aws-sdk-swift.AWSIVSRealTime", + "aws-sdk-swift.AWSIdentitystore", + "aws-sdk-swift.AWSImagebuilder", + "aws-sdk-swift.AWSInspector", + "aws-sdk-swift.AWSInspector2", + "aws-sdk-swift.AWSInspectorScan", + "aws-sdk-swift.AWSInternetMonitor", + "aws-sdk-swift.AWSIoT", + "aws-sdk-swift.AWSIoT1ClickDevicesService", + "aws-sdk-swift.AWSIoT1ClickProjects", + "aws-sdk-swift.AWSIoTAnalytics", + "aws-sdk-swift.AWSIoTDataPlane", + "aws-sdk-swift.AWSIoTEvents", + "aws-sdk-swift.AWSIoTEventsData", + "aws-sdk-swift.AWSIoTFleetHub", + "aws-sdk-swift.AWSIoTFleetWise", + "aws-sdk-swift.AWSIoTJobsDataPlane", + "aws-sdk-swift.AWSIoTSecureTunneling", + "aws-sdk-swift.AWSIoTSiteWise", + "aws-sdk-swift.AWSIoTThingsGraph", + "aws-sdk-swift.AWSIoTTwinMaker", + "aws-sdk-swift.AWSIoTWireless", + "aws-sdk-swift.AWSIotDeviceAdvisor", + "aws-sdk-swift.AWSIvs", + "aws-sdk-swift.AWSIvschat", + "aws-sdk-swift.AWSKMS", + "aws-sdk-swift.AWSKafka", + "aws-sdk-swift.AWSKafkaConnect", + "aws-sdk-swift.AWSKendra", + "aws-sdk-swift.AWSKendraRanking", + "aws-sdk-swift.AWSKeyspaces", + "aws-sdk-swift.AWSKinesis", + "aws-sdk-swift.AWSKinesisAnalytics", + "aws-sdk-swift.AWSKinesisAnalyticsV2", + "aws-sdk-swift.AWSKinesisVideo", + "aws-sdk-swift.AWSKinesisVideoArchivedMedia", + "aws-sdk-swift.AWSKinesisVideoMedia", + "aws-sdk-swift.AWSKinesisVideoSignaling", + "aws-sdk-swift.AWSKinesisVideoWebRTCStorage", + "aws-sdk-swift.AWSLakeFormation", + "aws-sdk-swift.AWSLambda", + "aws-sdk-swift.AWSLaunchWizard", + "aws-sdk-swift.AWSLexModelBuildingService", + "aws-sdk-swift.AWSLexModelsV2", + "aws-sdk-swift.AWSLexRuntimeService", + "aws-sdk-swift.AWSLexRuntimeV2", + "aws-sdk-swift.AWSLicenseManager", + "aws-sdk-swift.AWSLicenseManagerLinuxSubscriptions", + "aws-sdk-swift.AWSLicenseManagerUserSubscriptions", + "aws-sdk-swift.AWSLightsail", + "aws-sdk-swift.AWSLocation", + "aws-sdk-swift.AWSLookoutEquipment", + "aws-sdk-swift.AWSLookoutMetrics", + "aws-sdk-swift.AWSLookoutVision", + "aws-sdk-swift.AWSM2", + "aws-sdk-swift.AWSMTurk", + "aws-sdk-swift.AWSMWAA", + "aws-sdk-swift.AWSMachineLearning", + "aws-sdk-swift.AWSMacie2", + "aws-sdk-swift.AWSMailManager", + "aws-sdk-swift.AWSManagedBlockchain", + "aws-sdk-swift.AWSManagedBlockchainQuery", + "aws-sdk-swift.AWSMarketplaceAgreement", + "aws-sdk-swift.AWSMarketplaceCatalog", + "aws-sdk-swift.AWSMarketplaceCommerceAnalytics", + "aws-sdk-swift.AWSMarketplaceDeployment", + "aws-sdk-swift.AWSMarketplaceEntitlementService", + "aws-sdk-swift.AWSMarketplaceMetering", + "aws-sdk-swift.AWSMarketplaceReporting", + "aws-sdk-swift.AWSMediaConnect", + "aws-sdk-swift.AWSMediaConvert", + "aws-sdk-swift.AWSMediaLive", + "aws-sdk-swift.AWSMediaPackage", + "aws-sdk-swift.AWSMediaPackageV2", + "aws-sdk-swift.AWSMediaPackageVod", + "aws-sdk-swift.AWSMediaStore", + "aws-sdk-swift.AWSMediaStoreData", + "aws-sdk-swift.AWSMediaTailor", + "aws-sdk-swift.AWSMedicalImaging", + "aws-sdk-swift.AWSMemoryDB", + "aws-sdk-swift.AWSMgn", + "aws-sdk-swift.AWSMigrationHub", + "aws-sdk-swift.AWSMigrationHubConfig", + "aws-sdk-swift.AWSMigrationHubOrchestrator", + "aws-sdk-swift.AWSMigrationHubRefactorSpaces", + "aws-sdk-swift.AWSMigrationHubStrategy", + "aws-sdk-swift.AWSMq", + "aws-sdk-swift.AWSNeptune", + "aws-sdk-swift.AWSNeptuneGraph", + "aws-sdk-swift.AWSNeptunedata", + "aws-sdk-swift.AWSNetworkFirewall", + "aws-sdk-swift.AWSNetworkManager", + "aws-sdk-swift.AWSNetworkMonitor", + "aws-sdk-swift.AWSNimble", + "aws-sdk-swift.AWSOAM", + "aws-sdk-swift.AWSOSIS", + "aws-sdk-swift.AWSOmics", + "aws-sdk-swift.AWSOpenSearch", + "aws-sdk-swift.AWSOpenSearchServerless", + "aws-sdk-swift.AWSOpsWorks", + "aws-sdk-swift.AWSOpsWorksCM", + "aws-sdk-swift.AWSOrganizations", + "aws-sdk-swift.AWSOutposts", + "aws-sdk-swift.AWSPCS", + "aws-sdk-swift.AWSPI", + "aws-sdk-swift.AWSPanorama", + "aws-sdk-swift.AWSPaymentCryptography", + "aws-sdk-swift.AWSPaymentCryptographyData", + "aws-sdk-swift.AWSPcaConnectorAd", + "aws-sdk-swift.AWSPcaConnectorScep", + "aws-sdk-swift.AWSPersonalize", + "aws-sdk-swift.AWSPersonalizeEvents", + "aws-sdk-swift.AWSPersonalizeRuntime", + "aws-sdk-swift.AWSPinpoint", + "aws-sdk-swift.AWSPinpointEmail", + "aws-sdk-swift.AWSPinpointSMSVoice", + "aws-sdk-swift.AWSPinpointSMSVoiceV2", + "aws-sdk-swift.AWSPipes", + "aws-sdk-swift.AWSPolly", + "aws-sdk-swift.AWSPricing", + "aws-sdk-swift.AWSPrivateNetworks", + "aws-sdk-swift.AWSProton", + "aws-sdk-swift.AWSQApps", + "aws-sdk-swift.AWSQBusiness", + "aws-sdk-swift.AWSQConnect", + "aws-sdk-swift.AWSQLDB", + "aws-sdk-swift.AWSQLDBSession", + "aws-sdk-swift.AWSQuickSight", + "aws-sdk-swift.AWSRAM", + "aws-sdk-swift.AWSRDS", + "aws-sdk-swift.AWSRDSData", + "aws-sdk-swift.AWSRUM", + "aws-sdk-swift.AWSRbin", + "aws-sdk-swift.AWSRedshift", + "aws-sdk-swift.AWSRedshiftData", + "aws-sdk-swift.AWSRedshiftServerless", + "aws-sdk-swift.AWSRekognition", + "aws-sdk-swift.AWSRepostspace", + "aws-sdk-swift.AWSResiliencehub", + "aws-sdk-swift.AWSResourceExplorer2", + "aws-sdk-swift.AWSResourceGroups", + "aws-sdk-swift.AWSResourceGroupsTaggingAPI", + "aws-sdk-swift.AWSRoboMaker", + "aws-sdk-swift.AWSRolesAnywhere", + "aws-sdk-swift.AWSRoute53", + "aws-sdk-swift.AWSRoute53Domains", + "aws-sdk-swift.AWSRoute53Profiles", + "aws-sdk-swift.AWSRoute53RecoveryCluster", + "aws-sdk-swift.AWSRoute53RecoveryControlConfig", + "aws-sdk-swift.AWSRoute53RecoveryReadiness", + "aws-sdk-swift.AWSRoute53Resolver", + "aws-sdk-swift.AWSS3", + "aws-sdk-swift.AWSS3Control", + "aws-sdk-swift.AWSS3Outposts", + "aws-sdk-swift.AWSSES", + "aws-sdk-swift.AWSSESv2", + "aws-sdk-swift.AWSSFN", + "aws-sdk-swift.AWSSMS", + "aws-sdk-swift.AWSSNS", + "aws-sdk-swift.AWSSQS", + "aws-sdk-swift.AWSSSM", + "aws-sdk-swift.AWSSSMContacts", + "aws-sdk-swift.AWSSSMIncidents", + "aws-sdk-swift.AWSSSMQuickSetup", + "aws-sdk-swift.AWSSSO", + "aws-sdk-swift.AWSSSOAdmin", + "aws-sdk-swift.AWSSSOOIDC", + "aws-sdk-swift.AWSSTS", + "aws-sdk-swift.AWSSWF", + "aws-sdk-swift.AWSSageMaker", + "aws-sdk-swift.AWSSageMakerA2IRuntime", + "aws-sdk-swift.AWSSageMakerFeatureStoreRuntime", + "aws-sdk-swift.AWSSageMakerGeospatial", + "aws-sdk-swift.AWSSageMakerMetrics", + "aws-sdk-swift.AWSSageMakerRuntime", + "aws-sdk-swift.AWSSagemakerEdge", + "aws-sdk-swift.AWSSavingsplans", + "aws-sdk-swift.AWSScheduler", + "aws-sdk-swift.AWSSchemas", + "aws-sdk-swift.AWSSecretsManager", + "aws-sdk-swift.AWSSecurityHub", + "aws-sdk-swift.AWSSecurityLake", + "aws-sdk-swift.AWSServerlessApplicationRepository", + "aws-sdk-swift.AWSServiceCatalog", + "aws-sdk-swift.AWSServiceCatalogAppRegistry", + "aws-sdk-swift.AWSServiceDiscovery", + "aws-sdk-swift.AWSServiceQuotas", + "aws-sdk-swift.AWSShield", + "aws-sdk-swift.AWSSigner", + "aws-sdk-swift.AWSSimSpaceWeaver", + "aws-sdk-swift.AWSSnowDeviceManagement", + "aws-sdk-swift.AWSSnowball", + "aws-sdk-swift.AWSSocialMessaging", + "aws-sdk-swift.AWSSsmSap", + "aws-sdk-swift.AWSStorageGateway", + "aws-sdk-swift.AWSSupplyChain", + "aws-sdk-swift.AWSSupport", + "aws-sdk-swift.AWSSupportApp", + "aws-sdk-swift.AWSSynthetics", + "aws-sdk-swift.AWSTaxSettings", + "aws-sdk-swift.AWSTextract", + "aws-sdk-swift.AWSTimestreamInfluxDB", + "aws-sdk-swift.AWSTimestreamQuery", + "aws-sdk-swift.AWSTimestreamWrite", + "aws-sdk-swift.AWSTnb", + "aws-sdk-swift.AWSTranscribe", + "aws-sdk-swift.AWSTranscribeStreaming", + "aws-sdk-swift.AWSTransfer", + "aws-sdk-swift.AWSTranslate", + "aws-sdk-swift.AWSTrustedAdvisor", + "aws-sdk-swift.AWSVPCLattice", + "aws-sdk-swift.AWSVerifiedPermissions", + "aws-sdk-swift.AWSVoiceID", + "aws-sdk-swift.AWSWAF", + "aws-sdk-swift.AWSWAFRegional", + "aws-sdk-swift.AWSWAFV2", + "aws-sdk-swift.AWSWellArchitected", + "aws-sdk-swift.AWSWisdom", + "aws-sdk-swift.AWSWorkDocs", + "aws-sdk-swift.AWSWorkMail", + "aws-sdk-swift.AWSWorkMailMessageFlow", + "aws-sdk-swift.AWSWorkSpaces", + "aws-sdk-swift.AWSWorkSpacesThinClient", + "aws-sdk-swift.AWSWorkSpacesWeb", + "aws-sdk-swift.AWSXRay", ] // MARK: - Static Content @@ -475,7 +475,7 @@ private var runtimeProducts: [Product] { } private func productForService(_ service: String) -> Product { - .library(name: service, targets: [service]) + .library(name: service, targets: [String(service.trimmingPrefix("aws-sdk-swift."))]) } // MARK: Dependencies @@ -517,7 +517,7 @@ private var runtimeTargets: [Target] { .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime", resources: [ .process("Resources"), ] @@ -525,27 +525,27 @@ private var runtimeTargets: [Target] { .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "Sources/Core/AWSSDKCommon/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "Sources/Core/AWSSDKEventStreamsAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "Sources/Core/AWSSDKHTTPAuth/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "Sources/Core/AWSSDKIdentity/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "Sources/Core/AWSSDKChecksums/Sources" + path: "Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources" ) ] } @@ -556,23 +556,23 @@ private var runtimeTestTargets: [Target] { .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests", + path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams, .smithyTestUtils], - path: "Sources/Core/AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "Sources/Core/AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" + path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "Sources/Core/AWSSDKIdentity/Tests/AWSSDKIdentityTests", + path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ), ] @@ -580,7 +580,7 @@ private var runtimeTestTargets: [Target] { private func target(_ service: String) -> Target { .target( - name: service, + name: String(service.trimmingPrefix("aws-sdk-swift.")), dependencies: [ .clientRuntime, .awsClientRuntime, @@ -601,16 +601,16 @@ private func target(_ service: String) -> Target { .awsSDKEventStreamsAuth, .awsSDKChecksums, ], - path: "Sources/Services/\(service)/Sources/\(service)", + path: "Sources/Services/\(service)/Sources/\(service.trimmingPrefix("aws-sdk-swift."))", resources: [.process("Resources")] ) } private func unitTestTarget(_ service: String) -> Target { - let testName = "\(service)Tests" + let testName = "\(service)Tests".trimmingPrefix("aws-sdk-swift.") return .testTarget( name: "\(testName)", - dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: service), .smithyTestUtils], + dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: String(service.trimmingPrefix("aws-sdk-swift."))), .smithyTestUtils], path: "Sources/Services/\(service)/Tests/\(testName)" ) } diff --git a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md index 34f2b35a440..d2ab00b7a6c 100644 --- a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md +++ b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md @@ -60,17 +60,17 @@ This SDK is open-source. Code is available on Github [here](https://github.com/ ## AWS Runtime Module Documentation -[AWSClientRuntime](../../../../../swift/api/awsclientruntime/latest) +[aws-sdk-swift.AWSClientRuntime](../../../../../swift/api/aws-sdk-swift.awsclientruntime/latest) -[AWSSDKChecksums](../../../../../swift/api/awssdkchecksums/latest) +[aws-sdk-swift.AWSSDKChecksums](../../../../../swift/api/aws-sdk-swift.awssdkchecksums/latest) -[AWSSDKCommon](../../../../../swift/api/awssdkcommon/latest) +[aws-sdk-swift.AWSSDKCommon](../../../../../swift/api/aws-sdk-swift.awssdkcommon/latest) -[AWSSDKEventStreamsAuth](../../../../../swift/api/awssdkeventstreamsauth/latest) +[aws-sdk-swift.AWSSDKEventStreamsAuth](../../../../../swift/api/aws-sdk-swift.awssdkeventstreamsauth/latest) -[AWSSDKHTTPAuth](../../../../../swift/api/awssdkhttpauth/latest) +[aws-sdk-swift.AWSSDKHTTPAuth](../../../../../swift/api/aws-sdk-swift.awssdkhttpauth/latest) -[AWSSDKIdentity](../../../../../swift/api/awssdkidentity/latest) +[aws-sdk-swift.AWSSDKIdentity](../../../../../swift/api/aws-sdk-swift.awssdkidentity/latest) ## Service Documentation From 7d08048fcaf7a78869ca9dac04fbc39af18a7747 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Tue, 22 Oct 2024 14:56:36 -0500 Subject: [PATCH 42/45] Add manifest regen script --- scripts/manifestgen.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 scripts/manifestgen.sh diff --git a/scripts/manifestgen.sh b/scripts/manifestgen.sh new file mode 100755 index 00000000000..9ca0d3d3bbb --- /dev/null +++ b/scripts/manifestgen.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# Stop on any failed step of this script +set -eo pipefail + +# Regenerates the SDK package manifest. For use during development only. + +# May be used on Mac or Linux. +# When run on Mac, kills Xcode before codegen & restarts it after. + +# Run this script from the SDK project root directory. + +# If on Mac, quit Xcode so it doesn't get overwhelmed by source file changes. +if [ -x "$(command -v osascript)" ]; then + osascript -e 'quit app "Xcode"' +fi + +# Regenerate the package manifest and doc index, with args passed into this script +cd AWSSDKSwiftCLI +unset AWS_SWIFT_SDK_USE_LOCAL_DEPS +swift run AWSSDKSwiftCLI generate-package-manifest "$@" .. +swift run AWSSDKSwiftCLI generate-doc-index .. +cd .. + +# If on Mac, open Xcode to the newly refreshed SDK +if [ -x "$(command -v osascript)" ]; then + open -a Xcode +fi From 4ed4e5e334ac969de1c35ac7776a3e00a7e09e1c Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Wed, 23 Oct 2024 20:12:56 -0500 Subject: [PATCH 43/45] Parameterize Package.scope --- .../Subcommands/GeneratePackageManifest.swift | 33 +- .../Models/PackageManifestBuilder.swift | 14 +- .../AWSSDKSwiftCLI/Resources/Package.Base.txt | 41 +- .../GeneratePackageManifestTests.swift | 18 +- .../Models/PackageManifestBuilderTests.swift | 3 + Package.scope | 1 + Package.swift | 817 +++++++++--------- SPRCLI/Package.resolved | 27 - ServiceClientVersions.json | 3 - codegen/sdk-codegen/build.gradle.kts | 18 +- .../PackageVersionIntegration.kt | 24 - ...swift.codegen.integration.SwiftIntegration | 1 - 12 files changed, 500 insertions(+), 500 deletions(-) create mode 100644 Package.scope delete mode 100644 ServiceClientVersions.json delete mode 100644 codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift index 376b0cf8c36..4263fc29739 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Commands/AWSSDKSwiftCLI/Subcommands/GeneratePackageManifest.swift @@ -38,6 +38,7 @@ struct GeneratePackageManifestCommand: ParsableCommand { func run() throws { let generatePackageManifest = GeneratePackageManifest.standard( repoPath: repoPath, + packageScope: nil, packageFileName: packageFileName, clientRuntimeVersion: clientRuntimeVersion, crtVersion: crtVersion, @@ -54,6 +55,8 @@ struct GeneratePackageManifestCommand: ParsableCommand { struct GeneratePackageManifest { /// The path to the package repository let repoPath: String + /// The package scope. Used for Swift Package Registry. + let packageScope: String? /// The name of the package manifest file, usually `Package.swift` let packageFileName: String /// The version to set for the ClientRuntime dependency @@ -69,6 +72,7 @@ struct GeneratePackageManifest { let excludeRuntimeTests: Bool typealias BuildPackageManifest = ( + _ packageScope: String, _ clientRuntimeVersion: Version, _ crtVersion: Version, _ services: [PackageManifestBuilder.Service] @@ -90,10 +94,11 @@ struct GeneratePackageManifest { /// /// - Returns: The contents of the generated package manifest. func generatePackageManifestContents() throws -> String { + let packageScope = try resolvePackageScope() let versions = try resolveVersions() - let services = try resolveServices().map { PackageManifestBuilder.Service(name: $0) } + let services = try resolveServices(packageScope: packageScope).map { PackageManifestBuilder.Service(name: $0) } log("Creating package manifest contents...") - let contents = try buildPackageManifest(versions.clientRuntime, versions.crt, services) + let contents = try buildPackageManifest(packageScope, versions.clientRuntime, versions.crt, services) log("Successfully created package manifest contents") return contents } @@ -112,6 +117,21 @@ struct GeneratePackageManifest { log("Successfully saved package manifest to \(packageFileName)") } + func resolvePackageScope() throws -> String { + log("Resolving package scope...") + if let packageScope { + log("Using package scope provided: \(packageScope)") + return packageScope + } + let filename = "Package.scope" + let data = try FileManager.default.loadContents(atPath: filename) + guard let scope = String(data: data, encoding: .utf8) else { + throw Error("Package scope in file \(filename) is not valid UTF-8") + } + log("Using package scope loaded from file \(filename): \(scope)") + return scope + } + /// Returns the versions for ClientRuntime and CRT. /// If explcit versions are provided by the command, then this returns the specified versions. /// Otherwise, this returns the versions defined in `packageDependencies.plist`. @@ -163,7 +183,7 @@ struct GeneratePackageManifest { /// Otherwise, this returns the list of services that exist within `Sources/Services` /// /// - Returns: The list of services to include in the package manifest - func resolveServices() throws -> [String] { + func resolveServices(packageScope: String) throws -> [String] { log("Resolving services...") let resolvedServices: [String] if let services = self.services { @@ -174,7 +194,7 @@ struct GeneratePackageManifest { resolvedServices = try FileManager.default.enabledServices() } log("Resolved list of services: \(resolvedServices.count)") - return resolvedServices + return resolvedServices.map { $0.trimmingPrefix("\(packageScope).") }.map(String.init) } } @@ -194,6 +214,7 @@ extension GeneratePackageManifest { /// - Returns: the standard package manifest generator static func standard( repoPath: String, + packageScope: String? = nil, packageFileName: String, clientRuntimeVersion: Version? = nil, crtVersion: Version? = nil, @@ -203,13 +224,15 @@ extension GeneratePackageManifest { ) -> Self { GeneratePackageManifest( repoPath: repoPath, + packageScope: packageScope, packageFileName: packageFileName, clientRuntimeVersion: clientRuntimeVersion, crtVersion: crtVersion, services: services, excludeRuntimeTests: excludeRuntimeTests - ) { _clientRuntimeVersion, _crtVersion, _services in + ) { _packageScope, _clientRuntimeVersion, _crtVersion, _services in let builder = PackageManifestBuilder( + packageScope: _packageScope, clientRuntimeVersion: _clientRuntimeVersion, crtVersion: _crtVersion, services: _services, diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift index a8a8ba68936..d6af608b41a 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Models/PackageManifestBuilder.swift @@ -14,14 +14,16 @@ struct PackageManifestBuilder { let name: String } + let packageScope: String let clientRuntimeVersion: Version let crtVersion: Version let services: [Service] let excludeRuntimeTests: Bool let prefixContents: () throws -> String let basePackageContents: () throws -> String - + init( + packageScope: String, clientRuntimeVersion: Version, crtVersion: Version, services: [Service], @@ -29,6 +31,7 @@ struct PackageManifestBuilder { prefixContents: @escaping () throws -> String, basePackageContents: @escaping () throws -> String ) { + self.packageScope = packageScope self.clientRuntimeVersion = clientRuntimeVersion self.crtVersion = crtVersion self.services = services @@ -38,12 +41,14 @@ struct PackageManifestBuilder { } init( + packageScope: String, clientRuntimeVersion: Version, crtVersion: Version, services: [Service], excludeRuntimeTests: Bool ) { self.init( + packageScope: packageScope, clientRuntimeVersion: clientRuntimeVersion, crtVersion: crtVersion, services: services, @@ -93,6 +98,9 @@ struct PackageManifestBuilder { // Add the generated content that defines the dependencies' versions buildDependencies(), "", + // Add the package scope + buildPackageScope(), + "", // Remove the runtime tests if needed buildRuntimeTests(), "", @@ -119,6 +127,10 @@ struct PackageManifestBuilder { """ } + private func buildPackageScope() -> String { + "let packageScope = \(packageScope.wrappedInQuotes())" + } + private func buildRuntimeTests() -> String { "let excludeRuntimeUnitTests = \(excludeRuntimeTests)" } diff --git a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt index d2c88ff899c..9c01a31ad53 100644 --- a/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt +++ b/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Resources/Package.Base.txt @@ -63,7 +63,7 @@ private var runtimeProducts: [Product] { } private func productForService(_ service: String) -> Product { - .library(name: service, targets: [String(service.trimmingPrefix("aws-sdk-swift."))]) + .library(name: service, targets: [service]) } // MARK: Dependencies @@ -105,7 +105,7 @@ private var runtimeTargets: [Target] { .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime", + path: "Sources/Core/\("AWSClientRuntime".withScope)/Sources/AWSClientRuntime", resources: [ .process("Resources"), ] @@ -113,27 +113,27 @@ private var runtimeTargets: [Target] { .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources" + path: "Sources/Core/\("AWSSDKCommon".withScope)/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources" + path: "Sources/Core/\("AWSSDKEventStreamsAuth".withScope)/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources" + path: "Sources/Core/\("AWSSDKHTTPAuth".withScope)/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources" + path: "Sources/Core/\("AWSSDKIdentity".withScope)/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources" + path: "Sources/Core/\("AWSSDKChecksums".withScope)/Sources" ) ] } @@ -144,23 +144,23 @@ private var runtimeTestTargets: [Target] { .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests", + path: "Sources/Core/\("AWSClientRuntime".withScope)/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams, .smithyTestUtils], - path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/\("AWSSDKEventStreamsAuth".withScope)/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" + path: "Sources/Core/\("AWSSDKHTTPAuth".withScope)/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests", + path: "Sources/Core/\("AWSSDKIdentity".withScope)/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ), ] @@ -168,7 +168,7 @@ private var runtimeTestTargets: [Target] { private func target(_ service: String) -> Target { .target( - name: String(service.trimmingPrefix("aws-sdk-swift.")), + name: service, dependencies: [ .clientRuntime, .awsClientRuntime, @@ -189,16 +189,23 @@ private func target(_ service: String) -> Target { .awsSDKEventStreamsAuth, .awsSDKChecksums, ], - path: "Sources/Services/\(service)/Sources/\(service.trimmingPrefix("aws-sdk-swift."))", - resources: [.process("Resources")] + path: "Sources/Services/\(service.withScope)/Sources/\(service)" ) } private func unitTestTarget(_ service: String) -> Target { - let testName = "\(service)Tests".trimmingPrefix("aws-sdk-swift.") + let testName = "\(service)Tests" return .testTarget( name: "\(testName)", - dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: String(service.trimmingPrefix("aws-sdk-swift."))), .smithyTestUtils], - path: "Sources/Services/\(service)/Tests/\(testName)" + dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: service), .smithyTestUtils], + path: "Sources/Services/\(service.withScope)/Tests/\(testName)" ) } + +private extension String { + + var withScope: String { + guard !packageScope.isEmpty else { return self } + return "\(packageScope).\(self)" + } +} diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift index a0bc5b4cb02..15209c2ac53 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Commands/GeneratePackageManifestTests.swift @@ -42,6 +42,7 @@ class GeneratePackageManifestTests: CLITestCase { // MARK: Golden Path func testGoldenPath() throws { + let packageScope = "abc-def-ghi" let clientRuntimeVersion = "1.2.3" let crtVersion = "3.2.1" let services = ["EC2", "S3"] @@ -51,12 +52,12 @@ class GeneratePackageManifestTests: CLITestCase { ) createServiceFolders(services) - let subject = GeneratePackageManifest.mock(buildPackageManifest: { _clientRuntimeVersion, _crtVersion, services in - "\(_clientRuntimeVersion)-\(_crtVersion)-\(services.map(\.name).joined(separator: "-"))" + let subject = GeneratePackageManifest.mock(packageScope: packageScope, buildPackageManifest: { _packageScope, _clientRuntimeVersion, _crtVersion, services in + "\(_packageScope)-\(_clientRuntimeVersion)-\(_crtVersion)-\(services.map(\.name).joined(separator: "-"))" }) try! subject.run() let result = try! String(contentsOfFile: "Package.swift", encoding: .utf8) - XCTAssertEqual(result, "1.2.3-3.2.1-EC2-S3") + XCTAssertEqual(result, "abc-def-ghi-1.2.3-3.2.1-EC2-S3") } // MARK: resolveVersions() @@ -89,18 +90,20 @@ class GeneratePackageManifestTests: CLITestCase { // MARK: resolveServices() func testResolveServicesRetrievesServicesFromDisk() { + let packageScope = "" let services = ["EC2", "S3"] createServiceFolders(services) let subject = GeneratePackageManifest.mock() - let result = try! subject.resolveServices() + let result = try! subject.resolveServices(packageScope: packageScope) XCTAssertEqual(result, services) } func testResolveServicesWithExplicitServices() { + let packageScope = "" let services = ["One", "Two", "Three"] let subject = GeneratePackageManifest.mock(services: services) - let result = try! subject.resolveServices() + let result = try! subject.resolveServices(packageScope: packageScope) XCTAssertEqual(result, services) } } @@ -110,15 +113,16 @@ class GeneratePackageManifestTests: CLITestCase { extension GeneratePackageManifest { static func mock( repoPath: String = ".", + packageScope: String = "", packageFileName: String = "Package.swift", clientRuntimeVersion: Version? = nil, crtVersion: Version? = nil, services: [String]? = nil, excludeRuntimeTests: Bool = false, - buildPackageManifest: @escaping BuildPackageManifest = { (_,_,_) throws -> String in "" } + buildPackageManifest: @escaping BuildPackageManifest = { (_,_,_,_) throws -> String in "" } ) -> GeneratePackageManifest { GeneratePackageManifest( - repoPath: repoPath, + repoPath: repoPath, packageScope: packageScope, packageFileName: packageFileName, clientRuntimeVersion: clientRuntimeVersion, crtVersion: crtVersion, diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift index ecb12da89a5..efa155a4efe 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Models/PackageManifestBuilderTests.swift @@ -17,6 +17,8 @@ class PackageManifestBuilderTests: XCTestCase { let clientRuntimeVersion: Version = "1.2.3" let crtVersion: Version = "4.5.6" +let packageScope = "abc-def-ghi" + let excludeRuntimeUnitTests = false let serviceTargets: [String] = [ @@ -32,6 +34,7 @@ let serviceTargets: [String] = [ func testBuild() throws { let subject = try PackageManifestBuilder( + packageScope: "abc-def-ghi", clientRuntimeVersion: .init("1.2.3"), crtVersion: .init("4.5.6"), services: ["A","B","C","D","E"].map { PackageManifestBuilder.Service(name: $0) }, diff --git a/Package.scope b/Package.scope new file mode 100644 index 00000000000..f57647c1ee8 --- /dev/null +++ b/Package.scope @@ -0,0 +1 @@ +aws-sdk-swift \ No newline at end of file diff --git a/Package.swift b/Package.swift index fc632735616..7b583a9a201 100644 --- a/Package.swift +++ b/Package.swift @@ -18,396 +18,398 @@ import PackageDescription let clientRuntimeVersion: Version = "0.82.0" let crtVersion: Version = "0.36.0" +let packageScope = "aws-sdk-swift" + let excludeRuntimeUnitTests = false let serviceTargets: [String] = [ - "aws-sdk-swift.AWSACM", - "aws-sdk-swift.AWSACMPCA", - "aws-sdk-swift.AWSAPIGateway", - "aws-sdk-swift.AWSARCZonalShift", - "aws-sdk-swift.AWSAccessAnalyzer", - "aws-sdk-swift.AWSAccount", - "aws-sdk-swift.AWSAmp", - "aws-sdk-swift.AWSAmplify", - "aws-sdk-swift.AWSAmplifyBackend", - "aws-sdk-swift.AWSAmplifyUIBuilder", - "aws-sdk-swift.AWSApiGatewayManagementApi", - "aws-sdk-swift.AWSApiGatewayV2", - "aws-sdk-swift.AWSAppConfig", - "aws-sdk-swift.AWSAppConfigData", - "aws-sdk-swift.AWSAppFabric", - "aws-sdk-swift.AWSAppIntegrations", - "aws-sdk-swift.AWSAppMesh", - "aws-sdk-swift.AWSAppRunner", - "aws-sdk-swift.AWSAppStream", - "aws-sdk-swift.AWSAppSync", - "aws-sdk-swift.AWSAppTest", - "aws-sdk-swift.AWSAppflow", - "aws-sdk-swift.AWSApplicationAutoScaling", - "aws-sdk-swift.AWSApplicationCostProfiler", - "aws-sdk-swift.AWSApplicationDiscoveryService", - "aws-sdk-swift.AWSApplicationInsights", - "aws-sdk-swift.AWSApplicationSignals", - "aws-sdk-swift.AWSArtifact", - "aws-sdk-swift.AWSAthena", - "aws-sdk-swift.AWSAuditManager", - "aws-sdk-swift.AWSAutoScaling", - "aws-sdk-swift.AWSAutoScalingPlans", - "aws-sdk-swift.AWSB2bi", - "aws-sdk-swift.AWSBCMDataExports", - "aws-sdk-swift.AWSBackup", - "aws-sdk-swift.AWSBackupGateway", - "aws-sdk-swift.AWSBatch", - "aws-sdk-swift.AWSBedrock", - "aws-sdk-swift.AWSBedrockAgent", - "aws-sdk-swift.AWSBedrockAgentRuntime", - "aws-sdk-swift.AWSBedrockRuntime", - "aws-sdk-swift.AWSBillingconductor", - "aws-sdk-swift.AWSBraket", - "aws-sdk-swift.AWSBudgets", - "aws-sdk-swift.AWSChatbot", - "aws-sdk-swift.AWSChime", - "aws-sdk-swift.AWSChimeSDKIdentity", - "aws-sdk-swift.AWSChimeSDKMediaPipelines", - "aws-sdk-swift.AWSChimeSDKMeetings", - "aws-sdk-swift.AWSChimeSDKMessaging", - "aws-sdk-swift.AWSChimeSDKVoice", - "aws-sdk-swift.AWSCleanRooms", - "aws-sdk-swift.AWSCleanRoomsML", - "aws-sdk-swift.AWSCloud9", - "aws-sdk-swift.AWSCloudControl", - "aws-sdk-swift.AWSCloudDirectory", - "aws-sdk-swift.AWSCloudFormation", - "aws-sdk-swift.AWSCloudFront", - "aws-sdk-swift.AWSCloudFrontKeyValueStore", - "aws-sdk-swift.AWSCloudHSM", - "aws-sdk-swift.AWSCloudHSMV2", - "aws-sdk-swift.AWSCloudSearch", - "aws-sdk-swift.AWSCloudSearchDomain", - "aws-sdk-swift.AWSCloudTrail", - "aws-sdk-swift.AWSCloudTrailData", - "aws-sdk-swift.AWSCloudWatch", - "aws-sdk-swift.AWSCloudWatchEvents", - "aws-sdk-swift.AWSCloudWatchLogs", - "aws-sdk-swift.AWSCodeBuild", - "aws-sdk-swift.AWSCodeCatalyst", - "aws-sdk-swift.AWSCodeCommit", - "aws-sdk-swift.AWSCodeConnections", - "aws-sdk-swift.AWSCodeDeploy", - "aws-sdk-swift.AWSCodeGuruProfiler", - "aws-sdk-swift.AWSCodeGuruReviewer", - "aws-sdk-swift.AWSCodeGuruSecurity", - "aws-sdk-swift.AWSCodePipeline", - "aws-sdk-swift.AWSCodeStarconnections", - "aws-sdk-swift.AWSCodeartifact", - "aws-sdk-swift.AWSCodestarnotifications", - "aws-sdk-swift.AWSCognitoIdentity", - "aws-sdk-swift.AWSCognitoIdentityProvider", - "aws-sdk-swift.AWSCognitoSync", - "aws-sdk-swift.AWSComprehend", - "aws-sdk-swift.AWSComprehendMedical", - "aws-sdk-swift.AWSComputeOptimizer", - "aws-sdk-swift.AWSConfigService", - "aws-sdk-swift.AWSConnect", - "aws-sdk-swift.AWSConnectCampaigns", - "aws-sdk-swift.AWSConnectCases", - "aws-sdk-swift.AWSConnectContactLens", - "aws-sdk-swift.AWSConnectParticipant", - "aws-sdk-swift.AWSControlCatalog", - "aws-sdk-swift.AWSControlTower", - "aws-sdk-swift.AWSCostExplorer", - "aws-sdk-swift.AWSCostOptimizationHub", - "aws-sdk-swift.AWSCostandUsageReportService", - "aws-sdk-swift.AWSCustomerProfiles", - "aws-sdk-swift.AWSDAX", - "aws-sdk-swift.AWSDLM", - "aws-sdk-swift.AWSDataBrew", - "aws-sdk-swift.AWSDataExchange", - "aws-sdk-swift.AWSDataPipeline", - "aws-sdk-swift.AWSDataSync", - "aws-sdk-swift.AWSDataZone", - "aws-sdk-swift.AWSDatabaseMigrationService", - "aws-sdk-swift.AWSDeadline", - "aws-sdk-swift.AWSDetective", - "aws-sdk-swift.AWSDevOpsGuru", - "aws-sdk-swift.AWSDeviceFarm", - "aws-sdk-swift.AWSDirectConnect", - "aws-sdk-swift.AWSDirectoryService", - "aws-sdk-swift.AWSDirectoryServiceData", - "aws-sdk-swift.AWSDocDB", - "aws-sdk-swift.AWSDocDBElastic", - "aws-sdk-swift.AWSDrs", - "aws-sdk-swift.AWSDynamoDB", - "aws-sdk-swift.AWSDynamoDBStreams", - "aws-sdk-swift.AWSEBS", - "aws-sdk-swift.AWSEC2", - "aws-sdk-swift.AWSEC2InstanceConnect", - "aws-sdk-swift.AWSECR", - "aws-sdk-swift.AWSECRPUBLIC", - "aws-sdk-swift.AWSECS", - "aws-sdk-swift.AWSEFS", - "aws-sdk-swift.AWSEKS", - "aws-sdk-swift.AWSEKSAuth", - "aws-sdk-swift.AWSEMR", - "aws-sdk-swift.AWSEMRServerless", - "aws-sdk-swift.AWSEMRcontainers", - "aws-sdk-swift.AWSElastiCache", - "aws-sdk-swift.AWSElasticBeanstalk", - "aws-sdk-swift.AWSElasticInference", - "aws-sdk-swift.AWSElasticLoadBalancing", - "aws-sdk-swift.AWSElasticLoadBalancingv2", - "aws-sdk-swift.AWSElasticTranscoder", - "aws-sdk-swift.AWSElasticsearchService", - "aws-sdk-swift.AWSEntityResolution", - "aws-sdk-swift.AWSEventBridge", - "aws-sdk-swift.AWSEvidently", - "aws-sdk-swift.AWSFMS", - "aws-sdk-swift.AWSFSx", - "aws-sdk-swift.AWSFinspace", - "aws-sdk-swift.AWSFinspacedata", - "aws-sdk-swift.AWSFirehose", - "aws-sdk-swift.AWSFis", - "aws-sdk-swift.AWSForecast", - "aws-sdk-swift.AWSForecastquery", - "aws-sdk-swift.AWSFraudDetector", - "aws-sdk-swift.AWSFreeTier", - "aws-sdk-swift.AWSGameLift", - "aws-sdk-swift.AWSGlacier", - "aws-sdk-swift.AWSGlobalAccelerator", - "aws-sdk-swift.AWSGlue", - "aws-sdk-swift.AWSGrafana", - "aws-sdk-swift.AWSGreengrass", - "aws-sdk-swift.AWSGreengrassV2", - "aws-sdk-swift.AWSGroundStation", - "aws-sdk-swift.AWSGuardDuty", - "aws-sdk-swift.AWSHealth", - "aws-sdk-swift.AWSHealthLake", - "aws-sdk-swift.AWSIAM", - "aws-sdk-swift.AWSIVSRealTime", - "aws-sdk-swift.AWSIdentitystore", - "aws-sdk-swift.AWSImagebuilder", - "aws-sdk-swift.AWSInspector", - "aws-sdk-swift.AWSInspector2", - "aws-sdk-swift.AWSInspectorScan", - "aws-sdk-swift.AWSInternetMonitor", - "aws-sdk-swift.AWSIoT", - "aws-sdk-swift.AWSIoT1ClickDevicesService", - "aws-sdk-swift.AWSIoT1ClickProjects", - "aws-sdk-swift.AWSIoTAnalytics", - "aws-sdk-swift.AWSIoTDataPlane", - "aws-sdk-swift.AWSIoTEvents", - "aws-sdk-swift.AWSIoTEventsData", - "aws-sdk-swift.AWSIoTFleetHub", - "aws-sdk-swift.AWSIoTFleetWise", - "aws-sdk-swift.AWSIoTJobsDataPlane", - "aws-sdk-swift.AWSIoTSecureTunneling", - "aws-sdk-swift.AWSIoTSiteWise", - "aws-sdk-swift.AWSIoTThingsGraph", - "aws-sdk-swift.AWSIoTTwinMaker", - "aws-sdk-swift.AWSIoTWireless", - "aws-sdk-swift.AWSIotDeviceAdvisor", - "aws-sdk-swift.AWSIvs", - "aws-sdk-swift.AWSIvschat", - "aws-sdk-swift.AWSKMS", - "aws-sdk-swift.AWSKafka", - "aws-sdk-swift.AWSKafkaConnect", - "aws-sdk-swift.AWSKendra", - "aws-sdk-swift.AWSKendraRanking", - "aws-sdk-swift.AWSKeyspaces", - "aws-sdk-swift.AWSKinesis", - "aws-sdk-swift.AWSKinesisAnalytics", - "aws-sdk-swift.AWSKinesisAnalyticsV2", - "aws-sdk-swift.AWSKinesisVideo", - "aws-sdk-swift.AWSKinesisVideoArchivedMedia", - "aws-sdk-swift.AWSKinesisVideoMedia", - "aws-sdk-swift.AWSKinesisVideoSignaling", - "aws-sdk-swift.AWSKinesisVideoWebRTCStorage", - "aws-sdk-swift.AWSLakeFormation", - "aws-sdk-swift.AWSLambda", - "aws-sdk-swift.AWSLaunchWizard", - "aws-sdk-swift.AWSLexModelBuildingService", - "aws-sdk-swift.AWSLexModelsV2", - "aws-sdk-swift.AWSLexRuntimeService", - "aws-sdk-swift.AWSLexRuntimeV2", - "aws-sdk-swift.AWSLicenseManager", - "aws-sdk-swift.AWSLicenseManagerLinuxSubscriptions", - "aws-sdk-swift.AWSLicenseManagerUserSubscriptions", - "aws-sdk-swift.AWSLightsail", - "aws-sdk-swift.AWSLocation", - "aws-sdk-swift.AWSLookoutEquipment", - "aws-sdk-swift.AWSLookoutMetrics", - "aws-sdk-swift.AWSLookoutVision", - "aws-sdk-swift.AWSM2", - "aws-sdk-swift.AWSMTurk", - "aws-sdk-swift.AWSMWAA", - "aws-sdk-swift.AWSMachineLearning", - "aws-sdk-swift.AWSMacie2", - "aws-sdk-swift.AWSMailManager", - "aws-sdk-swift.AWSManagedBlockchain", - "aws-sdk-swift.AWSManagedBlockchainQuery", - "aws-sdk-swift.AWSMarketplaceAgreement", - "aws-sdk-swift.AWSMarketplaceCatalog", - "aws-sdk-swift.AWSMarketplaceCommerceAnalytics", - "aws-sdk-swift.AWSMarketplaceDeployment", - "aws-sdk-swift.AWSMarketplaceEntitlementService", - "aws-sdk-swift.AWSMarketplaceMetering", - "aws-sdk-swift.AWSMarketplaceReporting", - "aws-sdk-swift.AWSMediaConnect", - "aws-sdk-swift.AWSMediaConvert", - "aws-sdk-swift.AWSMediaLive", - "aws-sdk-swift.AWSMediaPackage", - "aws-sdk-swift.AWSMediaPackageV2", - "aws-sdk-swift.AWSMediaPackageVod", - "aws-sdk-swift.AWSMediaStore", - "aws-sdk-swift.AWSMediaStoreData", - "aws-sdk-swift.AWSMediaTailor", - "aws-sdk-swift.AWSMedicalImaging", - "aws-sdk-swift.AWSMemoryDB", - "aws-sdk-swift.AWSMgn", - "aws-sdk-swift.AWSMigrationHub", - "aws-sdk-swift.AWSMigrationHubConfig", - "aws-sdk-swift.AWSMigrationHubOrchestrator", - "aws-sdk-swift.AWSMigrationHubRefactorSpaces", - "aws-sdk-swift.AWSMigrationHubStrategy", - "aws-sdk-swift.AWSMq", - "aws-sdk-swift.AWSNeptune", - "aws-sdk-swift.AWSNeptuneGraph", - "aws-sdk-swift.AWSNeptunedata", - "aws-sdk-swift.AWSNetworkFirewall", - "aws-sdk-swift.AWSNetworkManager", - "aws-sdk-swift.AWSNetworkMonitor", - "aws-sdk-swift.AWSNimble", - "aws-sdk-swift.AWSOAM", - "aws-sdk-swift.AWSOSIS", - "aws-sdk-swift.AWSOmics", - "aws-sdk-swift.AWSOpenSearch", - "aws-sdk-swift.AWSOpenSearchServerless", - "aws-sdk-swift.AWSOpsWorks", - "aws-sdk-swift.AWSOpsWorksCM", - "aws-sdk-swift.AWSOrganizations", - "aws-sdk-swift.AWSOutposts", - "aws-sdk-swift.AWSPCS", - "aws-sdk-swift.AWSPI", - "aws-sdk-swift.AWSPanorama", - "aws-sdk-swift.AWSPaymentCryptography", - "aws-sdk-swift.AWSPaymentCryptographyData", - "aws-sdk-swift.AWSPcaConnectorAd", - "aws-sdk-swift.AWSPcaConnectorScep", - "aws-sdk-swift.AWSPersonalize", - "aws-sdk-swift.AWSPersonalizeEvents", - "aws-sdk-swift.AWSPersonalizeRuntime", - "aws-sdk-swift.AWSPinpoint", - "aws-sdk-swift.AWSPinpointEmail", - "aws-sdk-swift.AWSPinpointSMSVoice", - "aws-sdk-swift.AWSPinpointSMSVoiceV2", - "aws-sdk-swift.AWSPipes", - "aws-sdk-swift.AWSPolly", - "aws-sdk-swift.AWSPricing", - "aws-sdk-swift.AWSPrivateNetworks", - "aws-sdk-swift.AWSProton", - "aws-sdk-swift.AWSQApps", - "aws-sdk-swift.AWSQBusiness", - "aws-sdk-swift.AWSQConnect", - "aws-sdk-swift.AWSQLDB", - "aws-sdk-swift.AWSQLDBSession", - "aws-sdk-swift.AWSQuickSight", - "aws-sdk-swift.AWSRAM", - "aws-sdk-swift.AWSRDS", - "aws-sdk-swift.AWSRDSData", - "aws-sdk-swift.AWSRUM", - "aws-sdk-swift.AWSRbin", - "aws-sdk-swift.AWSRedshift", - "aws-sdk-swift.AWSRedshiftData", - "aws-sdk-swift.AWSRedshiftServerless", - "aws-sdk-swift.AWSRekognition", - "aws-sdk-swift.AWSRepostspace", - "aws-sdk-swift.AWSResiliencehub", - "aws-sdk-swift.AWSResourceExplorer2", - "aws-sdk-swift.AWSResourceGroups", - "aws-sdk-swift.AWSResourceGroupsTaggingAPI", - "aws-sdk-swift.AWSRoboMaker", - "aws-sdk-swift.AWSRolesAnywhere", - "aws-sdk-swift.AWSRoute53", - "aws-sdk-swift.AWSRoute53Domains", - "aws-sdk-swift.AWSRoute53Profiles", - "aws-sdk-swift.AWSRoute53RecoveryCluster", - "aws-sdk-swift.AWSRoute53RecoveryControlConfig", - "aws-sdk-swift.AWSRoute53RecoveryReadiness", - "aws-sdk-swift.AWSRoute53Resolver", - "aws-sdk-swift.AWSS3", - "aws-sdk-swift.AWSS3Control", - "aws-sdk-swift.AWSS3Outposts", - "aws-sdk-swift.AWSSES", - "aws-sdk-swift.AWSSESv2", - "aws-sdk-swift.AWSSFN", - "aws-sdk-swift.AWSSMS", - "aws-sdk-swift.AWSSNS", - "aws-sdk-swift.AWSSQS", - "aws-sdk-swift.AWSSSM", - "aws-sdk-swift.AWSSSMContacts", - "aws-sdk-swift.AWSSSMIncidents", - "aws-sdk-swift.AWSSSMQuickSetup", - "aws-sdk-swift.AWSSSO", - "aws-sdk-swift.AWSSSOAdmin", - "aws-sdk-swift.AWSSSOOIDC", - "aws-sdk-swift.AWSSTS", - "aws-sdk-swift.AWSSWF", - "aws-sdk-swift.AWSSageMaker", - "aws-sdk-swift.AWSSageMakerA2IRuntime", - "aws-sdk-swift.AWSSageMakerFeatureStoreRuntime", - "aws-sdk-swift.AWSSageMakerGeospatial", - "aws-sdk-swift.AWSSageMakerMetrics", - "aws-sdk-swift.AWSSageMakerRuntime", - "aws-sdk-swift.AWSSagemakerEdge", - "aws-sdk-swift.AWSSavingsplans", - "aws-sdk-swift.AWSScheduler", - "aws-sdk-swift.AWSSchemas", - "aws-sdk-swift.AWSSecretsManager", - "aws-sdk-swift.AWSSecurityHub", - "aws-sdk-swift.AWSSecurityLake", - "aws-sdk-swift.AWSServerlessApplicationRepository", - "aws-sdk-swift.AWSServiceCatalog", - "aws-sdk-swift.AWSServiceCatalogAppRegistry", - "aws-sdk-swift.AWSServiceDiscovery", - "aws-sdk-swift.AWSServiceQuotas", - "aws-sdk-swift.AWSShield", - "aws-sdk-swift.AWSSigner", - "aws-sdk-swift.AWSSimSpaceWeaver", - "aws-sdk-swift.AWSSnowDeviceManagement", - "aws-sdk-swift.AWSSnowball", - "aws-sdk-swift.AWSSocialMessaging", - "aws-sdk-swift.AWSSsmSap", - "aws-sdk-swift.AWSStorageGateway", - "aws-sdk-swift.AWSSupplyChain", - "aws-sdk-swift.AWSSupport", - "aws-sdk-swift.AWSSupportApp", - "aws-sdk-swift.AWSSynthetics", - "aws-sdk-swift.AWSTaxSettings", - "aws-sdk-swift.AWSTextract", - "aws-sdk-swift.AWSTimestreamInfluxDB", - "aws-sdk-swift.AWSTimestreamQuery", - "aws-sdk-swift.AWSTimestreamWrite", - "aws-sdk-swift.AWSTnb", - "aws-sdk-swift.AWSTranscribe", - "aws-sdk-swift.AWSTranscribeStreaming", - "aws-sdk-swift.AWSTransfer", - "aws-sdk-swift.AWSTranslate", - "aws-sdk-swift.AWSTrustedAdvisor", - "aws-sdk-swift.AWSVPCLattice", - "aws-sdk-swift.AWSVerifiedPermissions", - "aws-sdk-swift.AWSVoiceID", - "aws-sdk-swift.AWSWAF", - "aws-sdk-swift.AWSWAFRegional", - "aws-sdk-swift.AWSWAFV2", - "aws-sdk-swift.AWSWellArchitected", - "aws-sdk-swift.AWSWisdom", - "aws-sdk-swift.AWSWorkDocs", - "aws-sdk-swift.AWSWorkMail", - "aws-sdk-swift.AWSWorkMailMessageFlow", - "aws-sdk-swift.AWSWorkSpaces", - "aws-sdk-swift.AWSWorkSpacesThinClient", - "aws-sdk-swift.AWSWorkSpacesWeb", - "aws-sdk-swift.AWSXRay", + "AWSACM", + "AWSACMPCA", + "AWSAPIGateway", + "AWSARCZonalShift", + "AWSAccessAnalyzer", + "AWSAccount", + "AWSAmp", + "AWSAmplify", + "AWSAmplifyBackend", + "AWSAmplifyUIBuilder", + "AWSApiGatewayManagementApi", + "AWSApiGatewayV2", + "AWSAppConfig", + "AWSAppConfigData", + "AWSAppFabric", + "AWSAppIntegrations", + "AWSAppMesh", + "AWSAppRunner", + "AWSAppStream", + "AWSAppSync", + "AWSAppTest", + "AWSAppflow", + "AWSApplicationAutoScaling", + "AWSApplicationCostProfiler", + "AWSApplicationDiscoveryService", + "AWSApplicationInsights", + "AWSApplicationSignals", + "AWSArtifact", + "AWSAthena", + "AWSAuditManager", + "AWSAutoScaling", + "AWSAutoScalingPlans", + "AWSB2bi", + "AWSBCMDataExports", + "AWSBackup", + "AWSBackupGateway", + "AWSBatch", + "AWSBedrock", + "AWSBedrockAgent", + "AWSBedrockAgentRuntime", + "AWSBedrockRuntime", + "AWSBillingconductor", + "AWSBraket", + "AWSBudgets", + "AWSChatbot", + "AWSChime", + "AWSChimeSDKIdentity", + "AWSChimeSDKMediaPipelines", + "AWSChimeSDKMeetings", + "AWSChimeSDKMessaging", + "AWSChimeSDKVoice", + "AWSCleanRooms", + "AWSCleanRoomsML", + "AWSCloud9", + "AWSCloudControl", + "AWSCloudDirectory", + "AWSCloudFormation", + "AWSCloudFront", + "AWSCloudFrontKeyValueStore", + "AWSCloudHSM", + "AWSCloudHSMV2", + "AWSCloudSearch", + "AWSCloudSearchDomain", + "AWSCloudTrail", + "AWSCloudTrailData", + "AWSCloudWatch", + "AWSCloudWatchEvents", + "AWSCloudWatchLogs", + "AWSCodeBuild", + "AWSCodeCatalyst", + "AWSCodeCommit", + "AWSCodeConnections", + "AWSCodeDeploy", + "AWSCodeGuruProfiler", + "AWSCodeGuruReviewer", + "AWSCodeGuruSecurity", + "AWSCodePipeline", + "AWSCodeStarconnections", + "AWSCodeartifact", + "AWSCodestarnotifications", + "AWSCognitoIdentity", + "AWSCognitoIdentityProvider", + "AWSCognitoSync", + "AWSComprehend", + "AWSComprehendMedical", + "AWSComputeOptimizer", + "AWSConfigService", + "AWSConnect", + "AWSConnectCampaigns", + "AWSConnectCases", + "AWSConnectContactLens", + "AWSConnectParticipant", + "AWSControlCatalog", + "AWSControlTower", + "AWSCostExplorer", + "AWSCostOptimizationHub", + "AWSCostandUsageReportService", + "AWSCustomerProfiles", + "AWSDAX", + "AWSDLM", + "AWSDataBrew", + "AWSDataExchange", + "AWSDataPipeline", + "AWSDataSync", + "AWSDataZone", + "AWSDatabaseMigrationService", + "AWSDeadline", + "AWSDetective", + "AWSDevOpsGuru", + "AWSDeviceFarm", + "AWSDirectConnect", + "AWSDirectoryService", + "AWSDirectoryServiceData", + "AWSDocDB", + "AWSDocDBElastic", + "AWSDrs", + "AWSDynamoDB", + "AWSDynamoDBStreams", + "AWSEBS", + "AWSEC2", + "AWSEC2InstanceConnect", + "AWSECR", + "AWSECRPUBLIC", + "AWSECS", + "AWSEFS", + "AWSEKS", + "AWSEKSAuth", + "AWSEMR", + "AWSEMRServerless", + "AWSEMRcontainers", + "AWSElastiCache", + "AWSElasticBeanstalk", + "AWSElasticInference", + "AWSElasticLoadBalancing", + "AWSElasticLoadBalancingv2", + "AWSElasticTranscoder", + "AWSElasticsearchService", + "AWSEntityResolution", + "AWSEventBridge", + "AWSEvidently", + "AWSFMS", + "AWSFSx", + "AWSFinspace", + "AWSFinspacedata", + "AWSFirehose", + "AWSFis", + "AWSForecast", + "AWSForecastquery", + "AWSFraudDetector", + "AWSFreeTier", + "AWSGameLift", + "AWSGlacier", + "AWSGlobalAccelerator", + "AWSGlue", + "AWSGrafana", + "AWSGreengrass", + "AWSGreengrassV2", + "AWSGroundStation", + "AWSGuardDuty", + "AWSHealth", + "AWSHealthLake", + "AWSIAM", + "AWSIVSRealTime", + "AWSIdentitystore", + "AWSImagebuilder", + "AWSInspector", + "AWSInspector2", + "AWSInspectorScan", + "AWSInternetMonitor", + "AWSIoT", + "AWSIoT1ClickDevicesService", + "AWSIoT1ClickProjects", + "AWSIoTAnalytics", + "AWSIoTDataPlane", + "AWSIoTEvents", + "AWSIoTEventsData", + "AWSIoTFleetHub", + "AWSIoTFleetWise", + "AWSIoTJobsDataPlane", + "AWSIoTSecureTunneling", + "AWSIoTSiteWise", + "AWSIoTThingsGraph", + "AWSIoTTwinMaker", + "AWSIoTWireless", + "AWSIotDeviceAdvisor", + "AWSIvs", + "AWSIvschat", + "AWSKMS", + "AWSKafka", + "AWSKafkaConnect", + "AWSKendra", + "AWSKendraRanking", + "AWSKeyspaces", + "AWSKinesis", + "AWSKinesisAnalytics", + "AWSKinesisAnalyticsV2", + "AWSKinesisVideo", + "AWSKinesisVideoArchivedMedia", + "AWSKinesisVideoMedia", + "AWSKinesisVideoSignaling", + "AWSKinesisVideoWebRTCStorage", + "AWSLakeFormation", + "AWSLambda", + "AWSLaunchWizard", + "AWSLexModelBuildingService", + "AWSLexModelsV2", + "AWSLexRuntimeService", + "AWSLexRuntimeV2", + "AWSLicenseManager", + "AWSLicenseManagerLinuxSubscriptions", + "AWSLicenseManagerUserSubscriptions", + "AWSLightsail", + "AWSLocation", + "AWSLookoutEquipment", + "AWSLookoutMetrics", + "AWSLookoutVision", + "AWSM2", + "AWSMTurk", + "AWSMWAA", + "AWSMachineLearning", + "AWSMacie2", + "AWSMailManager", + "AWSManagedBlockchain", + "AWSManagedBlockchainQuery", + "AWSMarketplaceAgreement", + "AWSMarketplaceCatalog", + "AWSMarketplaceCommerceAnalytics", + "AWSMarketplaceDeployment", + "AWSMarketplaceEntitlementService", + "AWSMarketplaceMetering", + "AWSMarketplaceReporting", + "AWSMediaConnect", + "AWSMediaConvert", + "AWSMediaLive", + "AWSMediaPackage", + "AWSMediaPackageV2", + "AWSMediaPackageVod", + "AWSMediaStore", + "AWSMediaStoreData", + "AWSMediaTailor", + "AWSMedicalImaging", + "AWSMemoryDB", + "AWSMgn", + "AWSMigrationHub", + "AWSMigrationHubConfig", + "AWSMigrationHubOrchestrator", + "AWSMigrationHubRefactorSpaces", + "AWSMigrationHubStrategy", + "AWSMq", + "AWSNeptune", + "AWSNeptuneGraph", + "AWSNeptunedata", + "AWSNetworkFirewall", + "AWSNetworkManager", + "AWSNetworkMonitor", + "AWSNimble", + "AWSOAM", + "AWSOSIS", + "AWSOmics", + "AWSOpenSearch", + "AWSOpenSearchServerless", + "AWSOpsWorks", + "AWSOpsWorksCM", + "AWSOrganizations", + "AWSOutposts", + "AWSPCS", + "AWSPI", + "AWSPanorama", + "AWSPaymentCryptography", + "AWSPaymentCryptographyData", + "AWSPcaConnectorAd", + "AWSPcaConnectorScep", + "AWSPersonalize", + "AWSPersonalizeEvents", + "AWSPersonalizeRuntime", + "AWSPinpoint", + "AWSPinpointEmail", + "AWSPinpointSMSVoice", + "AWSPinpointSMSVoiceV2", + "AWSPipes", + "AWSPolly", + "AWSPricing", + "AWSPrivateNetworks", + "AWSProton", + "AWSQApps", + "AWSQBusiness", + "AWSQConnect", + "AWSQLDB", + "AWSQLDBSession", + "AWSQuickSight", + "AWSRAM", + "AWSRDS", + "AWSRDSData", + "AWSRUM", + "AWSRbin", + "AWSRedshift", + "AWSRedshiftData", + "AWSRedshiftServerless", + "AWSRekognition", + "AWSRepostspace", + "AWSResiliencehub", + "AWSResourceExplorer2", + "AWSResourceGroups", + "AWSResourceGroupsTaggingAPI", + "AWSRoboMaker", + "AWSRolesAnywhere", + "AWSRoute53", + "AWSRoute53Domains", + "AWSRoute53Profiles", + "AWSRoute53RecoveryCluster", + "AWSRoute53RecoveryControlConfig", + "AWSRoute53RecoveryReadiness", + "AWSRoute53Resolver", + "AWSS3", + "AWSS3Control", + "AWSS3Outposts", + "AWSSES", + "AWSSESv2", + "AWSSFN", + "AWSSMS", + "AWSSNS", + "AWSSQS", + "AWSSSM", + "AWSSSMContacts", + "AWSSSMIncidents", + "AWSSSMQuickSetup", + "AWSSSO", + "AWSSSOAdmin", + "AWSSSOOIDC", + "AWSSTS", + "AWSSWF", + "AWSSageMaker", + "AWSSageMakerA2IRuntime", + "AWSSageMakerFeatureStoreRuntime", + "AWSSageMakerGeospatial", + "AWSSageMakerMetrics", + "AWSSageMakerRuntime", + "AWSSagemakerEdge", + "AWSSavingsplans", + "AWSScheduler", + "AWSSchemas", + "AWSSecretsManager", + "AWSSecurityHub", + "AWSSecurityLake", + "AWSServerlessApplicationRepository", + "AWSServiceCatalog", + "AWSServiceCatalogAppRegistry", + "AWSServiceDiscovery", + "AWSServiceQuotas", + "AWSShield", + "AWSSigner", + "AWSSimSpaceWeaver", + "AWSSnowDeviceManagement", + "AWSSnowball", + "AWSSocialMessaging", + "AWSSsmSap", + "AWSStorageGateway", + "AWSSupplyChain", + "AWSSupport", + "AWSSupportApp", + "AWSSynthetics", + "AWSTaxSettings", + "AWSTextract", + "AWSTimestreamInfluxDB", + "AWSTimestreamQuery", + "AWSTimestreamWrite", + "AWSTnb", + "AWSTranscribe", + "AWSTranscribeStreaming", + "AWSTransfer", + "AWSTranslate", + "AWSTrustedAdvisor", + "AWSVPCLattice", + "AWSVerifiedPermissions", + "AWSVoiceID", + "AWSWAF", + "AWSWAFRegional", + "AWSWAFV2", + "AWSWellArchitected", + "AWSWisdom", + "AWSWorkDocs", + "AWSWorkMail", + "AWSWorkMailMessageFlow", + "AWSWorkSpaces", + "AWSWorkSpacesThinClient", + "AWSWorkSpacesWeb", + "AWSXRay", ] // MARK: - Static Content @@ -475,7 +477,7 @@ private var runtimeProducts: [Product] { } private func productForService(_ service: String) -> Product { - .library(name: service, targets: [String(service.trimmingPrefix("aws-sdk-swift."))]) + .library(name: service, targets: [service]) } // MARK: Dependencies @@ -517,7 +519,7 @@ private var runtimeTargets: [Target] { .awsSDKHTTPAuth, .awsSDKIdentity ], - path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Sources/AWSClientRuntime", + path: "Sources/Core/\("AWSClientRuntime".withScope)/Sources/AWSClientRuntime", resources: [ .process("Resources"), ] @@ -525,27 +527,27 @@ private var runtimeTargets: [Target] { .target( name: "AWSSDKCommon", dependencies: [.crt], - path: "Sources/Core/aws-sdk-swift.AWSSDKCommon/Sources" + path: "Sources/Core/\("AWSSDKCommon".withScope)/Sources" ), .target( name: "AWSSDKEventStreamsAuth", dependencies: [.smithyEventStreamsAPI, .smithyEventStreamsAuthAPI, .smithyEventStreams, .crt, .clientRuntime, "AWSSDKHTTPAuth"], - path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Sources" + path: "Sources/Core/\("AWSSDKEventStreamsAuth".withScope)/Sources" ), .target( name: "AWSSDKHTTPAuth", dependencies: [.crt, .smithy, .clientRuntime, .smithyHTTPAuth, "AWSSDKIdentity", "AWSSDKChecksums"], - path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Sources" + path: "Sources/Core/\("AWSSDKHTTPAuth".withScope)/Sources" ), .target( name: "AWSSDKIdentity", dependencies: [.crt, .smithy, .clientRuntime, .smithyIdentity, .smithyIdentityAPI, .smithyHTTPAPI, .awsSDKCommon], - path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Sources" + path: "Sources/Core/\("AWSSDKIdentity".withScope)/Sources" ), .target( name: "AWSSDKChecksums", dependencies: [.crt, .smithy, .clientRuntime, .smithyChecksumsAPI, .smithyChecksums, .smithyHTTPAPI], - path: "Sources/Core/aws-sdk-swift.AWSSDKChecksums/Sources" + path: "Sources/Core/\("AWSSDKChecksums".withScope)/Sources" ) ] } @@ -556,23 +558,23 @@ private var runtimeTestTargets: [Target] { .testTarget( name: "AWSClientRuntimeTests", dependencies: [.awsClientRuntime, .clientRuntime, .smithyTestUtils, .awsSDKCommon], - path: "Sources/Core/aws-sdk-swift.AWSClientRuntime/Tests/AWSClientRuntimeTests", + path: "Sources/Core/\("AWSClientRuntime".withScope)/Tests/AWSClientRuntimeTests", resources: [.process("Resources")] ), .testTarget( name: "AWSSDKEventStreamsAuthTests", dependencies: ["AWSClientRuntime", "AWSSDKEventStreamsAuth", .smithyStreams, .smithyTestUtils], - path: "Sources/Core/aws-sdk-swift.AWSSDKEventStreamsAuth/Tests/AWSSDKEventStreamsAuthTests" + path: "Sources/Core/\("AWSSDKEventStreamsAuth".withScope)/Tests/AWSSDKEventStreamsAuthTests" ), .testTarget( name: "AWSSDKHTTPAuthTests", dependencies: ["AWSSDKHTTPAuth", "AWSClientRuntime", "AWSSDKEventStreamsAuth", .crt, .clientRuntime, .smithyTestUtils], - path: "Sources/Core/aws-sdk-swift.AWSSDKHTTPAuth/Tests/AWSSDKHTTPAuthTests" + path: "Sources/Core/\("AWSSDKHTTPAuth".withScope)/Tests/AWSSDKHTTPAuthTests" ), .testTarget( name: "AWSSDKIdentityTests", dependencies: [.smithy, .smithyIdentity, "AWSSDKIdentity", .awsClientRuntime], - path: "Sources/Core/aws-sdk-swift.AWSSDKIdentity/Tests/AWSSDKIdentityTests", + path: "Sources/Core/\("AWSSDKIdentity".withScope)/Tests/AWSSDKIdentityTests", resources: [.process("Resources")] ), ] @@ -580,7 +582,7 @@ private var runtimeTestTargets: [Target] { private func target(_ service: String) -> Target { .target( - name: String(service.trimmingPrefix("aws-sdk-swift.")), + name: service, dependencies: [ .clientRuntime, .awsClientRuntime, @@ -601,16 +603,23 @@ private func target(_ service: String) -> Target { .awsSDKEventStreamsAuth, .awsSDKChecksums, ], - path: "Sources/Services/\(service)/Sources/\(service.trimmingPrefix("aws-sdk-swift."))", - resources: [.process("Resources")] + path: "Sources/Services/\(service.withScope)/Sources/\(service)" ) } private func unitTestTarget(_ service: String) -> Target { - let testName = "\(service)Tests".trimmingPrefix("aws-sdk-swift.") + let testName = "\(service)Tests" return .testTarget( name: "\(testName)", - dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: String(service.trimmingPrefix("aws-sdk-swift."))), .smithyTestUtils], - path: "Sources/Services/\(service)/Tests/\(testName)" + dependencies: [.clientRuntime, .awsClientRuntime, .byName(name: service), .smithyTestUtils], + path: "Sources/Services/\(service.withScope)/Tests/\(testName)" ) } + +private extension String { + + var withScope: String { + guard !packageScope.isEmpty else { return self } + return "\(packageScope).\(self)" + } +} diff --git a/SPRCLI/Package.resolved b/SPRCLI/Package.resolved index 755a667afcb..b1407f7c4e5 100644 --- a/SPRCLI/Package.resolved +++ b/SPRCLI/Package.resolved @@ -36,15 +36,6 @@ "version" : "1.4.0" } }, - { - "identity" : "swift-llbuild", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-llbuild.git", - "state" : { - "revision" : "fb7ebf0b06c0d7c45ca8e18b3371424503a38b5c", - "version" : "0.3.0" - } - }, { "identity" : "swift-log", "kind" : "remoteSourceControl", @@ -53,24 +44,6 @@ "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", "version" : "1.6.1" } - }, - { - "identity" : "swift-package-manager", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-package-manager", - "state" : { - "revision" : "f5ea3972d7d6c574e8bb16a19b2a7bca98ea131b", - "version" : "0.6.0" - } - }, - { - "identity" : "swift-tools-support-core", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-tools-support-core.git", - "state" : { - "revision" : "98a5916a811fcaaed770f1ed812e9405be762945", - "version" : "0.1.0" - } } ], "version" : 2 diff --git a/ServiceClientVersions.json b/ServiceClientVersions.json deleted file mode 100644 index 3300e0601f0..00000000000 --- a/ServiceClientVersions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "sdk": "1.0" -} diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index 4c6e0bad90c..e9a8ea00fb2 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -8,12 +8,9 @@ import software.amazon.smithy.gradle.tasks.SmithyBuild import software.amazon.smithy.model.Model -import software.amazon.smithy.model.node.Node -import software.amazon.smithy.model.node.ObjectNode import software.amazon.smithy.model.shapes.ServiceShape import java.nio.charset.Charset import java.util.Properties -import kotlin.streams.toList plugins { id("software.amazon.smithy") version "0.5.3" @@ -166,8 +163,6 @@ fun discoverServices(): List { ?: error { "Expected aws.api#service trait attached to model ${file.absolutePath}" } val (name, version, _) = file.name.split(".") val packageName = "AWS${serviceApi.sdkId.filterNot { it.isWhitespace() }.capitalize()}" - val packageVersion = serviceClientVersions.getStringMember(name).orNull()?.value ?: - serviceClientVersions.getStringMember("sdk").get().value logger.info("discovered service: ${serviceApi.sdkId}") @@ -183,24 +178,25 @@ fun discoverServices(): List { } val discoveredServices: List by lazy { discoverServices() } -val serviceClientVersions: ObjectNode by lazy { - val json = rootProject.file("ServiceClientVersions.json").readText(Charset.forName("UTF-8")) - Node.parse(json).expectObjectNode() -} +val packageVersion = rootProject.file("Package.version.next").readText(Charset.forName("UTF-8")) +val packageScope = rootProject.file("Package.scope").readText(Charset.forName("UTF-8")) + +val AwsService.scopedPackageName: String + get() = packageName.takeIf { packageScope.isEmpty() } ?: (packageScope + "." + packageName) val AwsService.outputDir: String get() = project.file("${project.buildDir}/smithyprojections/${project.name}/${projectionName}/swift-codegen").absolutePath val AwsService.sourcesDir: String get(){ - return rootProject.file("Sources/Services/aws-sdk-swift.$packageName").absolutePath + return rootProject.file("Sources/Services/$scopedPackageName").absolutePath } /** * Service specific model extras */ val AwsService.modelExtrasDir: String - get() = rootProject.file("Tests/AdditionalServiceTests/$packageName/models").absolutePath + get() = rootProject.file("Tests/AdditionalServiceTests/$scopedPackageName/models").absolutePath task("stageSdks") { group = "codegen" diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt deleted file mode 100644 index fb16f7820b7..00000000000 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftintegrations/PackageVersionIntegration.kt +++ /dev/null @@ -1,24 +0,0 @@ -package software.amazon.smithy.aws.swift.codegen.swiftintegrations - -import software.amazon.smithy.model.Model -import software.amazon.smithy.swift.codegen.SwiftDelegator -import software.amazon.smithy.swift.codegen.SwiftSettings -import software.amazon.smithy.swift.codegen.core.SwiftCodegenContext -import software.amazon.smithy.swift.codegen.integration.ProtocolGenerator -import software.amazon.smithy.swift.codegen.integration.SwiftIntegration - -class PackageVersionIntegration : SwiftIntegration { - - override fun enabledForService(model: Model, settings: SwiftSettings): Boolean = true - - override fun writeAdditionalFiles( - ctx: SwiftCodegenContext, - protocolGenerationContext: ProtocolGenerator.GenerationContext, - delegator: SwiftDelegator - ) { - val path = "Sources/${ctx.settings.moduleName}/Resources/Package.version" - protocolGenerationContext.delegator.useFileWriter(path) { writer -> - writer.writeInline(ctx.settings.moduleVersion) - } - } -} diff --git a/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration b/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration index c55f9592629..c88312ddd1c 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration +++ b/codegen/smithy-aws-swift-codegen/src/main/resources/META-INF/services/software.amazon.smithy.swift.codegen.integration.SwiftIntegration @@ -24,5 +24,4 @@ software.amazon.smithy.aws.swift.codegen.model.AWSDeprecatedShapeRemover software.amazon.smithy.aws.swift.codegen.AWSClientConfigurationIntegration software.amazon.smithy.swift.codegen.swiftintegrations.InitialRequestIntegration software.amazon.smithy.aws.swift.codegen.swiftintegrations.RegistryConfigIntegration -software.amazon.smithy.aws.swift.codegen.swiftintegrations.PackageVersionIntegration software.amazon.smithy.aws.swift.codegen.swiftintegrations.AmzSdkRetryHeadersIntegration From 882ae39e858505b2a760ef427bec40a176145917 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 24 Oct 2024 14:30:21 -0500 Subject: [PATCH 44/45] Restore Kotlin toList import --- codegen/sdk-codegen/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index e9a8ea00fb2..86839f5702c 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -11,6 +11,7 @@ import software.amazon.smithy.model.Model import software.amazon.smithy.model.shapes.ServiceShape import java.nio.charset.Charset import java.util.Properties +import kotlin.streams.toList plugins { id("software.amazon.smithy") version "0.5.3" From 6842a8116ba3b46e7b7afa5237e30b01912f0060 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Fri, 1 Nov 2024 15:47:10 -0500 Subject: [PATCH 45/45] Fix SPRCLI build --- SPRCLI/Package.resolved | 12 ++++++------ SPRCLI/Sources/SPR/Configurable.swift | 5 +---- SPRCLI/Sources/SPR/SPRPublisher.swift | 8 ++++++-- SPRCLI/Sources/SPR/UpdateList.swift | 5 +---- SPRCLI/Sources/spr-publish/SPRPublish.swift | 2 +- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/SPRCLI/Package.resolved b/SPRCLI/Package.resolved index b1407f7c4e5..971d51ba6ba 100644 --- a/SPRCLI/Package.resolved +++ b/SPRCLI/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/awslabs/aws-crt-swift", "state" : { - "revision" : "b6380f683b31072d77b601c88674461c11bcad5a", - "version" : "0.30.0" + "revision" : "3f844bef042cc0a4c3381f7090414ce3f9a7e935", + "version" : "0.37.0" } }, { @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/awslabs/aws-sdk-swift", "state" : { - "revision" : "3c20e0be8c8246de8b8e04372404ef1f90be71b6", - "version" : "0.46.0" + "revision" : "54a459ed4d9af2cb2d8e6fdcd96b72543bebb88a", + "version" : "1.0.33" } }, { @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/smithy-lang/smithy-swift", "state" : { - "revision" : "b2322a067f85c230f17c80be8a67dd543454b081", - "version" : "0.51.0" + "revision" : "0d4d3eae8cfb04f3e0cbc4e7740e7344cc9fac55", + "version" : "0.87.0" } }, { diff --git a/SPRCLI/Sources/SPR/Configurable.swift b/SPRCLI/Sources/SPR/Configurable.swift index fea69570061..dd38710047a 100644 --- a/SPRCLI/Sources/SPR/Configurable.swift +++ b/SPRCLI/Sources/SPR/Configurable.swift @@ -18,14 +18,11 @@ public protocol Configurable { public extension Configurable { mutating func setOptions() async throws { - await SDKLoggingSystem.initialize(logLevel: .error) + await SDKLoggingSystem().initialize(logLevel: .error) let env = ProcessInfo.processInfo.environment if bucket.isEmpty { bucket = env["AWS_SDK_SPR_BUCKET"] ?? "" } - if bucket.isEmpty { - throw Error("Bucket is not set") - } if region.isEmpty { region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" } diff --git a/SPRCLI/Sources/SPR/SPRPublisher.swift b/SPRCLI/Sources/SPR/SPRPublisher.swift index a099a6457fc..c2974b61a23 100644 --- a/SPRCLI/Sources/SPR/SPRPublisher.swift +++ b/SPRCLI/Sources/SPR/SPRPublisher.swift @@ -7,6 +7,7 @@ import Foundation import AWSCLIUtils +import ClientRuntime public struct SPRPublisher { @@ -29,14 +30,18 @@ public struct SPRPublisher { version: String, path: String, region: String, - bucket: String, + bucket: String?, url: String, distributionID: String?, replace: Bool ) throws { + let env = ProcessInfo.processInfo.environment guard let url = URL(string: url) else { throw Error("`url` param is not a valid URL") } + guard let bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"], !bucket.isEmpty else { + throw Error("`bucket` param was not provided") + } self.scope = scope self.name = name self.version = version @@ -73,7 +78,6 @@ public struct SPRPublisher { private mutating func setOptions() async { await SDKLoggingSystem().initialize(logLevel: .error) let env = ProcessInfo.processInfo.environment - bucket = bucket ?? env["AWS_SDK_SPR_BUCKET"] if region.isEmpty { region = env["AWS_SDK_SPR_REGION"] ?? "us-east-1" } diff --git a/SPRCLI/Sources/SPR/UpdateList.swift b/SPRCLI/Sources/SPR/UpdateList.swift index e96b00e2efb..86783b859c3 100644 --- a/SPRCLI/Sources/SPR/UpdateList.swift +++ b/SPRCLI/Sources/SPR/UpdateList.swift @@ -59,10 +59,7 @@ extension SPRPublisher { private var releaseURL: URL { get throws { - guard let baseURL = URL(string: url) else { - throw Error("URL is invalid") - } - return baseURL + return url .appendingPathComponent(scope) .appendingPathComponent(name) .appendingPathComponent(version) diff --git a/SPRCLI/Sources/spr-publish/SPRPublish.swift b/SPRCLI/Sources/spr-publish/SPRPublish.swift index 18caa639c6f..320a2d92996 100644 --- a/SPRCLI/Sources/spr-publish/SPRPublish.swift +++ b/SPRCLI/Sources/spr-publish/SPRPublish.swift @@ -34,7 +34,7 @@ struct SPRPublish: AsyncParsableCommand, Configurable { var region: String = "" @Option(help: "The bucket name for the S3 bucket hosting the Registry. Alternate to this option, the bucket may be obtained from environment var AWS_SDK_SPR_BUCKET.") - public var bucket: String = "" + public var bucket: String @Option(help: "The base URL for the registry.") var url: String